/* Ehfly website (apps/web). Layout: left-aligned column (max 1160px). Hero split: claim left,
   customer check right on top of real EHF XML. Bands alternate paper and surface; one dark code
   panel; one signal color, used only for the deadline. Fonts are served from /fonts (OFL). */

@font-face {
  font-family: "Schibsted Grotesk";
  src: url("/fonts/schibsted-grotesk.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("/fonts/ibm-plex-sans.woff2") format("woff2");
  font-weight: 100 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/fonts/ibm-plex-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/fonts/ibm-plex-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
:root {
  --paper: #f4f6f3;
  --surface: #ffffff;
  --ink: #101814;
  --muted: #55615b;
  --rule: #d6ddd8;
  --spruce: #0c5a47;
  --spruce-ink: #ffffff;
  --spruce-soft: #e0ede7;
  --signal: #985600;
  --signal-soft: #faefd9;
  --bad: #a3261d;
  --bad-soft: #fbe6e2;
  --xml: #c3ccc6;
  --shadow: 0 1px 0 rgba(16, 24, 20, 0.03), 0 22px 44px -22px rgba(12, 60, 45, 0.28);
  --code-bg: #0f1613;
  --code-fg: #d9e4de;
  --code-muted: #7e9088;
  --code-key: #86d5b8;
  --code-str: #eac67e;
  --code-rule: #23302b;
  --font-display: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0d1311;
    --surface: #141c19;
    --ink: #e5ece8;
    --muted: #9aa7a0;
    --rule: #27322d;
    --spruce: #5bc3a0;
    --spruce-ink: #05231a;
    --spruce-soft: #15302a;
    --signal: #e6a853;
    --signal-soft: #2d2312;
    --bad: #f2897e;
    --bad-soft: #3a1915;
    --xml: #24302b;
    --shadow: 0 1px 0 rgba(0, 0, 0, 0.3), 0 22px 44px -22px rgba(0, 0, 0, 0.7);
    --code-bg: #080d0b;
    --code-fg: #d9e4de;
    --code-muted: #73857d;
    --code-key: #86d5b8;
    --code-str: #eac67e;
    --code-rule: #1e2925;
    color-scheme: dark;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
html,
body {
  margin: 0;
}
[hidden] {
  display: none;
}
img {
  max-width: 100%;
}
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 30;
  background: var(--paper);
}
a {
  color: var(--spruce);
  text-underline-offset: 3px;
}
code,
.mono {
  font-family: var(--font-mono);
}
p code,
li code {
  font-size: 0.875em;
  background: var(--spruce-soft);
  color: var(--ink);
  padding: 1px 5px;
  border-radius: 4px;
}
:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--spruce) 55%, transparent);
  outline-offset: 2px;
  border-radius: 4px;
}
.skip {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 50;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}
.skip:focus {
  top: calc(12px + env(safe-area-inset-top, 0px));
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  max-width: 1160px;
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: 600 1rem / 1 var(--font-body);
  padding: 15px 22px;
  border-radius: 8px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.15s,
    border-color 0.15s,
    color 0.15s;
}
.btn-primary {
  background: var(--spruce);
  color: var(--spruce-ink);
}
.btn-primary:hover {
  background: color-mix(in srgb, var(--spruce) 86%, var(--ink));
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--rule);
}
.btn-ghost:hover {
  border-color: var(--ink);
}
.btn-sm {
  padding: 10px 14px;
  font-size: 0.875rem;
}

/* Header */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  -webkit-backdrop-filter: saturate(1.3) blur(10px);
  backdrop-filter: saturate(1.3) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.site-header.scrolled {
  border-bottom-color: var(--rule);
}
.hdr {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 66px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  text-decoration: none;
  font: 800 1.3rem / 1 var(--font-display);
  letter-spacing: -0.03em;
}
.brand svg {
  width: 24px;
  height: 24px;
  flex: none;
}
.nav {
  display: flex;
  gap: 22px;
}
.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
}
.nav a:hover {
  color: var(--ink);
}
.hdr-right {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}
.lang {
  display: inline-flex;
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 2px;
}
.lang a {
  font: 600 0.75rem / 1 var(--font-body);
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--muted);
  padding: 7px 10px;
  border-radius: 999px;
}
.lang a[aria-current="page"] {
  background: var(--ink);
  color: var(--paper);
}
@media (max-width: 900px) {
  .nav {
    display: none;
  }
}
@media (max-width: 420px) {
  .hdr .btn-sm {
    padding: 9px 11px;
  }
  .hdr {
    gap: 12px;
  }
}

/* Hero */
.hero {
  padding-block: 56px 88px;
  overflow-x: clip;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 64px;
  align-items: center;
}
@media (max-width: 940px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
  }
  .hero {
    padding-block: 36px 64px;
  }
}
.deadline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  background: var(--signal-soft);
  color: var(--signal);
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 1.3;
  padding: 6px 14px 6px 6px;
  border-radius: 999px;
}
.deadline .days {
  font: 500 0.8125rem / 1 var(--font-mono);
  background: var(--signal);
  color: var(--paper);
  border-radius: 999px;
  padding: 5px 9px;
  font-variant-numeric: tabular-nums;
}
h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.7rem, 6.4vw, 4.75rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 22px 0 0;
  text-wrap: balance;
}
.strike {
  position: relative;
  display: inline-block;
  color: var(--muted);
  font-weight: 700;
}
.strike::after {
  content: "";
  position: absolute;
  left: -3%;
  right: -3%;
  top: 50%;
  height: 0.085em;
  border-radius: 2px;
  background: var(--signal);
  transform: rotate(-4deg) scaleX(1);
  transform-origin: left center;
  animation: strike 0.65s 0.35s cubic-bezier(0.65, 0, 0.25, 1) backwards;
}
@keyframes strike {
  from {
    transform: rotate(-4deg) scaleX(0);
  }
}
.ehf {
  color: var(--spruce);
}
.lead {
  font-size: 1.1875rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: 33em;
  margin: 26px 0 0;
}
.lead strong {
  color: var(--ink);
  font-weight: 600;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}
.reassure {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 16px 0 0;
}

.hero-visual {
  position: relative;
  min-width: 0;
}
.xml-bg {
  position: absolute;
  inset: -36px -48px -36px 36px;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
  font: 400 12px / 1.75 var(--font-mono);
  color: var(--xml);
  white-space: pre;
  -webkit-mask-image: radial-gradient(ellipse 70% 62% at 62% 50%, #000 35%, transparent 78%);
  mask-image: radial-gradient(ellipse 70% 62% at 62% 50%, #000 35%, transparent 78%);
}
@media (max-width: 940px) {
  .xml-bg {
    display: none;
  }
}

.checker {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 28px;
  box-shadow: var(--shadow);
}
@media (max-width: 420px) {
  .checker {
    padding: 22px 18px;
  }
}
.checker h2 {
  font: 700 1.375rem / 1.25 var(--font-display);
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}
.checker .sub {
  color: var(--muted);
  font-size: 0.9375rem;
  margin: 6px 0 18px;
}
.chk-row {
  display: flex;
  gap: 8px;
}
.chk-row input {
  flex: 1;
  min-width: 0;
  font: 500 1.125rem / 1.2 var(--font-mono);
  letter-spacing: 0.06em;
  padding: 13px 14px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
}
.chk-row input:focus {
  outline: none;
  border-color: var(--spruce);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--spruce) 22%, transparent);
}
.chk-row input[aria-invalid="true"] {
  border-color: var(--bad);
}
.chk-result {
  margin-top: 16px;
}
.res {
  border-radius: 10px;
  padding: 16px 18px;
}
.res-yes {
  background: var(--spruce-soft);
}
.res-no {
  background: var(--paper);
  border: 1px solid var(--rule);
}
.res-err {
  background: var(--bad-soft);
  color: var(--bad);
  font-size: 0.9375rem;
  font-weight: 500;
}
.res-head {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  font-size: 0.9375rem;
}
.pill svg {
  width: 18px;
  height: 18px;
  flex: none;
}
.res-yes .pill {
  color: var(--spruce);
}
.res-no .pill {
  color: var(--ink);
}
.res-org {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--muted);
  margin-left: auto;
}
.res p {
  margin: 10px 0 0;
  font-size: 0.9375rem;
  line-height: 1.5;
}
.res-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  margin: 12px 0 0;
  font-size: 0.8125rem;
}
.res-facts div {
  display: flex;
  gap: 6px;
}
.res-facts dt {
  color: var(--muted);
}
.res-facts dd {
  margin: 0;
  font-weight: 600;
}
.res-cta {
  display: inline-block;
  margin-top: 12px;
  font-weight: 600;
  font-size: 0.9375rem;
}
.demo-tag {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.75rem;
  color: var(--muted);
  margin: 12px 0 0;
}
.demo-tag::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--signal);
  flex: none;
}
.chk-foot {
  font-size: 0.8125rem;
  color: var(--muted);
  margin: 16px 0 0;
}
.res-wait {
  color: var(--muted);
  font-size: 0.9375rem;
  padding: 4px 2px;
}

/* Sections */
section[id] {
  scroll-margin-top: 84px;
}
.band {
  padding-block: 96px;
}
@media (max-width: 700px) {
  .band {
    padding-block: 64px;
  }
}
.band-alt {
  background: var(--surface);
  border-block: 1px solid var(--rule);
}
.eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--spruce);
  margin: 0 0 12px;
}
.h2 {
  font: 800 clamp(1.9rem, 3.6vw, 2.7rem) / 1.06 var(--font-display);
  letter-spacing: -0.03em;
  margin: 0;
  text-wrap: balance;
  max-width: 18em;
}
.intro {
  color: var(--muted);
  max-width: 34em;
  margin: 16px 0 0;
}
h3 {
  font: 700 1.125rem / 1.3 var(--font-display);
  letter-spacing: -0.01em;
  margin: 0;
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: start;
}
@media (max-width: 900px) {
  .split {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }
}

/* Who it applies to */
.conds {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--rule);
}
.conds li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 14px;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
}
.cmark {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--spruce-soft);
  color: var(--spruce);
  display: grid;
  place-items: center;
}
.cmark svg {
  width: 16px;
  height: 16px;
}
.conds p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 1rem;
}
.fine {
  font-size: 0.9375rem;
  color: var(--muted);
  margin: 20px 0 0;
  max-width: 40em;
}
.timeline {
  list-style: none;
  margin: 72px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.timeline li {
  position: relative;
  padding-top: 26px;
  border-top: 2px solid var(--rule);
}
.timeline li::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--muted);
}
.timeline li.next {
  border-top-color: var(--signal);
}
.timeline li.next::before {
  background: var(--signal);
  border-color: var(--signal);
}
.timeline time {
  font: 700 1.25rem / 1.2 var(--font-display);
  letter-spacing: -0.015em;
  display: block;
}
.timeline li.next time {
  color: var(--signal);
}
.timeline p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 1rem;
}
@media (max-width: 760px) {
  .timeline {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    margin-top: 48px;
    border-left: 2px solid var(--rule);
  }
  .timeline li {
    border-top: 0;
    padding: 0 0 28px 24px;
  }
  .timeline li::before {
    top: 5px;
    left: -7px;
  }
  .timeline li.next {
    border-top: 0;
  }
}

/* How */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
  display: grid;
  gap: 28px;
}
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 16px;
}
.steps li::before {
  content: counter(step);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  display: grid;
  place-items: center;
  font: 600 0.9375rem / 1 var(--font-mono);
}
.steps p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 1rem;
}
.how-head {
  margin-bottom: 52px;
}

.journey {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 24px;
  box-shadow: var(--shadow);
  min-width: 0;
}
.j-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.j-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-right: 8px;
}
.j-num {
  font-weight: 500;
}
.j-amount {
  font-weight: 500;
  font-size: 1.125rem;
  font-variant-numeric: tabular-nums;
}
.j-meta {
  color: var(--muted);
  font-size: 0.875rem;
  margin-top: 4px;
}
.j-lines {
  margin: 16px 0 0;
  padding: 12px 0;
  border-block: 1px dashed var(--rule);
  display: grid;
  gap: 4px;
  font-size: 0.875rem;
}
.j-lines div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.j-lines .mono {
  font-variant-numeric: tabular-nums;
}
.j-events {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}
.j-events li {
  position: relative;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: baseline;
  padding-bottom: 14px;
  font-size: 0.9375rem;
}
.j-events li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 18px;
  bottom: -2px;
  width: 2px;
  background: var(--spruce-soft);
}
.j-events .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--spruce);
  transform: translateY(1px);
}
.j-events li:last-child .dot {
  box-shadow: 0 0 0 4px var(--spruce-soft);
}
.j-events em {
  font-style: normal;
  color: var(--muted);
  font-size: 0.8125rem;
  margin-left: 6px;
}
.j-time {
  font: 400 0.8125rem / 1 var(--font-mono);
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.journey figcaption {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid var(--rule);
}

.routes-h {
  margin: 80px 0 20px;
}
.routes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 860px) {
  .routes {
    grid-template-columns: minmax(0, 1fr);
  }
}
.route {
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 22px;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.route .tag {
  font: 500 0.8125rem / 1 var(--font-mono);
  color: var(--spruce);
}
.route p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}
.mcp-line {
  margin: 28px 0 0;
  color: var(--muted);
  max-width: 46em;
}
.mcp-line strong {
  color: var(--ink);
}

/* Developers */
.devlist {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.devlist li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  font-size: 1rem;
}
.devlist li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 9px;
  border-radius: 2px;
  background: var(--spruce);
}
.code-panel {
  background: var(--code-bg);
  color: var(--code-fg);
  border-radius: 14px;
  overflow: hidden;
  min-width: 0;
  box-shadow: var(--shadow);
}
.tabs {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 8px 8px 0;
  border-bottom: 1px solid var(--code-rule);
  overflow-x: auto;
}
.tabs button[role="tab"] {
  font: 500 0.8125rem / 1 var(--font-body);
  color: var(--code-muted);
  background: transparent;
  border: 0;
  padding: 11px 14px;
  border-radius: 8px 8px 0 0;
  cursor: pointer;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}
.tabs button[role="tab"][aria-selected="true"] {
  color: var(--code-fg);
  border-bottom-color: var(--code-key);
}
.copy {
  margin-left: auto;
  font: 500 0.75rem / 1 var(--font-body);
  color: var(--code-fg);
  background: transparent;
  border: 1px solid var(--code-rule);
  border-radius: 6px;
  padding: 7px 10px;
  cursor: pointer;
  white-space: nowrap;
  margin-bottom: 6px;
}
.copy:hover {
  border-color: var(--code-muted);
}
.code-panel pre {
  margin: 0;
  padding: 20px 22px 24px;
  overflow-x: auto;
  font: 400 0.8125rem / 1.7 var(--font-mono);
  tab-size: 2;
}
.code-panel .k {
  color: var(--code-key);
}
.code-panel .s {
  color: var(--code-str);
}
.code-panel .c {
  color: var(--code-muted);
}
.code-panel pre.prompt-text {
  white-space: pre-wrap;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* Trust */
.proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 52px;
  border-top: 1px solid var(--rule);
}
.proof > div {
  padding: 28px 28px 8px 0;
}
.proof > div + div {
  padding-left: 28px;
  border-left: 1px solid var(--rule);
}
@media (max-width: 960px) {
  .proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .proof > div:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }
  .proof > div:nth-child(n + 3) {
    border-top: 1px solid var(--rule);
  }
}
@media (max-width: 560px) {
  .proof {
    grid-template-columns: minmax(0, 1fr);
  }
  .proof > div,
  .proof > div + div {
    padding: 24px 0 4px;
    border-left: 0;
  }
  .proof > div + div {
    border-top: 1px solid var(--rule);
  }
}
.proof-num {
  font: 800 2.25rem / 1 var(--font-display);
  letter-spacing: -0.035em;
  margin: 0 0 12px;
  color: var(--spruce);
  font-variant-numeric: tabular-nums;
}
.proof h3 {
  font-size: 1rem;
}
.proof p:not(.proof-num) {
  color: var(--muted);
  font-size: 0.9375rem;
  margin: 8px 0 0;
}
.founder {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 22px;
  margin-top: 64px;
  padding: 28px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--rule);
  max-width: 760px;
}
@media (max-width: 520px) {
  .founder {
    grid-template-columns: minmax(0, 1fr);
    padding: 22px;
  }
}
.avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
}
.avatar-missing {
  border: 2px dashed var(--signal);
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  text-align: center;
}
.founder p {
  margin: 8px 0 0;
  color: var(--muted);
}
.ph {
  color: var(--signal);
  background: var(--signal-soft);
  border-radius: 4px;
  padding: 0 4px;
  font-weight: 500;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* Pricing */
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 48px;
  align-items: stretch;
}
@media (max-width: 900px) {
  .plans {
    grid-template-columns: minmax(0, 1fr);
  }
}
.plan {
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 26px;
  background: var(--paper);
  display: flex;
  flex-direction: column;
}
.plan.featured {
  background: var(--surface);
  border-color: var(--spruce);
  box-shadow: var(--shadow);
}
.plan-tag {
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--spruce);
  background: var(--spruce-soft);
  border-radius: 999px;
  padding: 4px 10px;
  margin-bottom: 14px;
}
.plan-tag.quiet {
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--rule);
}
.price {
  font: 800 2.25rem / 1 var(--font-display);
  letter-spacing: -0.03em;
  margin: 16px 0 0;
  font-variant-numeric: tabular-nums;
}
.price small {
  font: 500 0.9375rem / 1 var(--font-body);
  letter-spacing: 0;
  color: var(--muted);
  margin-left: 4px;
}
.price-sub {
  color: var(--muted);
  font-size: 0.9375rem;
  margin: 8px 0 0;
}
.plan ul {
  list-style: none;
  margin: 20px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--rule);
  display: grid;
  gap: 8px;
  font-size: 0.9375rem;
}
.plan li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 8px;
}
.plan li svg {
  width: 16px;
  height: 16px;
  margin-top: 4px;
  color: var(--spruce);
}
.plan .btn {
  margin-top: auto;
}
.plan .plan-cta {
  padding-top: 24px;
  margin-top: auto;
}
.price-note {
  color: var(--muted);
  font-size: 0.9375rem;
  margin: 20px 0 0;
  max-width: 46em;
}
.pilot-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  flex-wrap: wrap;
  margin-top: 16px;
  padding: 16px 20px;
  border-radius: 12px;
  background: var(--spruce-soft);
}
.pilot-strip p {
  margin: 0;
  font-size: 1rem;
  min-width: 0;
  flex: 1 1 22em;
}
.pilot-strip .btn-ghost {
  border-color: color-mix(in srgb, var(--spruce) 45%, transparent);
}

/* Waitlist */
.band-cta {
  background: var(--spruce-soft);
}
.checks {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.checks li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
}
.checks li svg {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  color: var(--spruce);
}
.small-h {
  margin-top: 32px;
  font-size: 1rem;
}
.ask {
  color: var(--muted);
  font-size: 0.9375rem;
  margin: 20px 0 0;
}
.wl-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 28px;
  box-shadow: var(--shadow);
  min-width: 0;
}
@media (max-width: 420px) {
  .wl-card {
    padding: 22px 18px;
  }
}
.field {
  display: grid;
  gap: 6px;
  margin-bottom: 18px;
}
.field > label,
.field > .flabel {
  font-weight: 600;
  font-size: 0.9375rem;
}
.opt {
  font-weight: 400;
  color: var(--muted);
}
.field input[type="email"],
.field input[type="text"],
.field select {
  font: 400 1rem / 1.3 var(--font-body);
  padding: 12px 14px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  width: 100%;
}
.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--spruce);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--spruce) 22%, transparent);
}
.field input[aria-invalid="true"] {
  border-color: var(--bad);
}
.err {
  color: var(--bad);
  font-size: 0.875rem;
  margin: 0;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border: 0;
  padding: 0;
  margin: 0;
}
.chips legend {
  padding: 0;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 0.9375rem;
}
.chip {
  position: relative;
}
.chip input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
}
.chip span {
  display: inline-block;
  padding: 9px 14px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  background: var(--paper);
}
.chip input:checked + span {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.chip input:focus-visible + span {
  outline: 3px solid color-mix(in srgb, var(--spruce) 55%, transparent);
  outline-offset: 2px;
}
.check-row {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin: 4px 0 20px;
  font-size: 0.9375rem;
}
.check-row input {
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  accent-color: var(--spruce);
}
.privacy {
  font-size: 0.8125rem;
  color: var(--muted);
  margin: 0 0 16px;
}
.wl-card .btn {
  width: 100%;
}
.btn[disabled] {
  opacity: 0.6;
  cursor: progress;
}
.form-err {
  margin-top: 12px;
}
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.success h3 {
  font-size: 1.375rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.success h3 svg {
  width: 26px;
  height: 26px;
  color: var(--spruce);
}
.success p {
  color: var(--muted);
  margin: 10px 0 0;
}
.linkbtn {
  font: inherit;
  font-weight: 600;
  color: var(--spruce);
  background: none;
  border: 0;
  padding: 0;
  margin-top: 18px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* FAQ */
.faq {
  border-top: 1px solid var(--rule);
}
.faq details {
  border-bottom: 1px solid var(--rule);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 40px 20px 0;
  position: relative;
  font: 600 1.0625rem / 1.4 var(--font-body);
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 26px;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform 0.2s;
}
.faq details[open] summary::after {
  transform: rotate(-135deg);
  top: 31px;
}
.faq details p {
  margin: 0 0 20px;
  color: var(--muted);
  max-width: 40em;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--rule);
  padding-block: 36px 56px;
  font-size: 0.875rem;
  color: var(--muted);
}
.foot {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  align-items: center;
}
.foot .brand {
  font-size: 1.05rem;
}
.foot a {
  color: var(--muted);
}
.foot-links {
  display: flex;
  gap: 20px;
  margin-left: auto;
  flex-wrap: wrap;
}

/* biome-ignore-start lint/complexity/noImportantStyles: reduced motion must win over every animation */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
/* biome-ignore-end lint/complexity/noImportantStyles: reduced motion */

/* Privacy page */
.doc .wrap {
  max-width: 760px;
}
.doc h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  margin: 0;
}
.doc h2 {
  font: 700 1.375rem / 1.25 var(--font-display);
  letter-spacing: -0.015em;
  margin: 40px 0 0;
}
.doc .wrap p {
  color: var(--muted);
  max-width: 40em;
  margin: 12px 0 0;
}
.doc .updated {
  margin-top: 12px;
  font-size: 0.9375rem;
}
