/* Offloader — "the cost of repetition". Type-led editorial, restrained, self-contained. */

/* ── fonts (self-hosted, offline) ───────────────────────────────────── */
@font-face { font-family: "Space Grotesk"; font-weight: 500; font-display: swap; src: url("fonts/SpaceGrotesk-500.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-weight: 600; font-display: swap; src: url("fonts/SpaceGrotesk-600.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-weight: 700; font-display: swap; src: url("fonts/SpaceGrotesk-700.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 400; font-display: swap; src: url("fonts/JetBrainsMono-400.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 500; font-display: swap; src: url("fonts/JetBrainsMono-500.woff2") format("woff2"); }

/* ── tokens ─────────────────────────────────────────────────────────── */
:root {
  --display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --paper:   #FBFAF7;
  --paper-2: #F2F0E8;
  --ink:     #17171B;
  --ink-2:   #3A3A40;
  --muted:   #5E5E58;
  --line:    rgba(23, 23, 27, 0.14);
  --line-2:  rgba(23, 23, 27, 0.07);
  --accent:  #B24A28;   /* terracotta — the one color that isn't ink */
  --accent-2:#973E1F;   /* darker, for small text on paper */
  --ok:      #2C6A4F;
  --term-bg: #101015;

  --measure: 62ch;
  --gutter: clamp(1.25rem, 5vw, 6rem);
  --band-y: clamp(4.5rem, 9vw, 9rem);

  --fs-display: clamp(2.1rem, 0.72rem + 5.15vw, 5.5rem);
  --fs-h2:      clamp(1.85rem, 1.15rem + 2.7vw, 3.05rem);
  --fs-h3:      1.12rem;
  --fs-lede:    clamp(1.14rem, 1.03rem + 0.5vw, 1.4rem);
  --fs-body:    1.0625rem;
  --fs-small:   0.92rem;
  --fs-mono:    0.86rem;
  --fs-label:   0.77rem;   /* every uppercase mono micro-label */
  --track-label: 0.14em;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper:   #0E0E11;
    --paper-2: #16161B;
    --ink:     #ECEAE4;
    --ink-2:   #BEBCB4;
    --muted:   #97958B;
    --line:    rgba(255, 255, 255, 0.15);
    --line-2:  rgba(255, 255, 255, 0.11);
    --accent:  #E0714B;
    --accent-2:#E88961;
    --ok:      #74C79C;
    --term-bg: #08080A;
  }
}

/* ── reset / base ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.62;
  font-feature-settings: "kern" 1, "liga" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 600; letter-spacing: -0.02em; line-height: 1.06; text-wrap: pretty; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
em { font-style: normal; color: var(--accent-2); }
sup { font-size: 0.66em; }
sup a { color: var(--muted); text-decoration: none; }
strong { font-weight: 600; }
::selection { background: var(--accent); color: #fff; }
@media (prefers-color-scheme: dark) { ::selection { color: #17171B; } }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.skip { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--ink); color: var(--paper); padding: 0.6rem 1rem; border-radius: 0 0 6px 0; }
.skip:focus { left: 0; }

.wrap { width: min(74rem, 100%); margin-inline: auto; padding-inline: var(--gutter); }

/* ── header / nav ───────────────────────────────────────────────────── */
.site {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 84%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line-2);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 4.25rem; }
.brand { display: inline-flex; align-items: center; gap: 0.55rem; font-family: var(--display); font-weight: 600; letter-spacing: -0.02em; }
.brand-mark { color: var(--accent); }
.brand-word { font-size: 1.08rem; }
.nav-links { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.1rem); margin: 0; padding: 0; list-style: none; }
.nav-links a { font-size: 0.95rem; color: var(--ink-2); transition: color 0.15s var(--ease); }
.nav-links a:hover { color: var(--ink); }
.nav-cta { color: var(--paper) !important; background: var(--ink); font-weight: 550; border: 1px solid var(--ink); border-radius: 999px; padding: 0.42rem 0.95rem; transition: background 0.15s var(--ease), border-color 0.15s var(--ease); }
.nav-cta:hover { background: var(--accent); border-color: var(--accent); }
@media (max-width: 700px) {
  .nav-links { gap: 1rem; }
  .nav-links a { font-size: 0.88rem; }
  /* keep the high-intent links (How it works · Pricing · Docs · Book a call); drop Proof/Fit */
  .nav-links li:nth-child(2), .nav-links li:nth-child(4) { display: none; }
}
/* tiny screens: the mark alone stands in for the wordmark so all four links + CTA fit */
@media (max-width: 480px) { .brand-word { display: none; } .nav-links { gap: 0.8rem; } }

/* ── shared section furniture ───────────────────────────────────────── */
.band { padding-block: var(--band-y); border-top: 1px solid var(--line-2); }
.section-head { max-width: 46ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.kicker { font-family: var(--mono); font-size: var(--fs-label); font-weight: 500; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--accent-2); margin: 0 0 1.1rem; }
.kicker::before { content: "— "; opacity: 0.5; }
.h2 { font-size: var(--fs-h2); }
.section-sub { margin-top: 1.15rem; max-width: var(--measure); color: var(--ink-2); font-size: var(--fs-lede); line-height: 1.5; }

/* buttons */
.cta-row { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }
.btn { display: inline-flex; align-items: center; gap: 0.5ch; font-size: 0.98rem; font-weight: 550; letter-spacing: -0.01em; padding: 0.74rem 1.4rem; border-radius: 999px; border: 1px solid transparent; transition: transform 0.15s var(--ease), background 0.15s var(--ease), border-color 0.15s var(--ease); }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--accent); transform: translateY(-1px); }
.btn-ghost { border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-1px); }

/* closing call-to-action band */
.cta-band { text-align: center; }
.cta-band-inner { max-width: 54ch; margin-inline: auto; }
.cta-band-sub { margin-top: 1.15rem; color: var(--ink-2); font-size: var(--fs-lede); line-height: 1.55; }
.cta-band-row { justify-content: center; margin-top: 2.25rem; }

/* ── hero ───────────────────────────────────────────────────────────── */
.hero { padding-top: clamp(2.75rem, 6vw, 5rem); padding-bottom: clamp(3.5rem, 7vw, 6rem); }
.eyebrow { font-family: var(--mono); font-size: var(--fs-label); font-weight: 500; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--muted); margin: 0 0 1.5rem; }
.display { font-size: var(--fs-display); font-weight: 700; letter-spacing: -0.035em; line-height: 0.97; max-width: 16ch; }
.display em { color: var(--accent); }

.hero-body {
  display: grid; grid-template-columns: 1fr 1.02fr; gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start; margin-top: clamp(2.5rem, 5vw, 3.75rem);
}
.hero-copy { align-self: start; }
/* the cost ledger sits level with the lede, not sunk to the bottom of the hero */
.hero-body .ledger { align-self: start; }
.lede { max-width: 48ch; font-size: var(--fs-lede); line-height: 1.5; color: var(--ink-2); }
.lede strong { color: var(--ink); }
.hero-proof { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line-2); max-width: 48ch; font-size: var(--fs-small); color: var(--muted); line-height: 1.55; }
.hero-proof b { color: var(--ink); font-weight: 550; }

/* the signature device */
.ledger {
  margin: 0; align-self: end;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 1px 0 var(--line-2), 0 30px 60px -34px rgba(23, 23, 27, 0.45);
}
.ledger-tape { padding: 1.65rem 1.75rem 0.75rem; overflow-x: auto; }
.ledger pre { margin: 0; font-family: var(--mono); font-size: clamp(0.8rem, 0.72rem + 0.3vw, 0.95rem); line-height: 1.9; font-variant-numeric: tabular-nums; color: var(--muted); white-space: pre; }
.ledger .js-count { display: inline-block; min-width: 9ch; }  /* reserve final width — no reflow mid-count */
.ledger .js-cost { display: inline-block; min-width: 7.2ch; } /* 7.2ch × 1.25em ≈ 9 base-ch, matching the rows above; $1,200 → $12,000 without shifting the line */
.ledger .tok { color: var(--ink); }
.ledger .rule { color: var(--line); }
.bill-line { color: var(--ink); font-weight: 500; }
.tok-cost { color: var(--accent); font-weight: 500; font-size: 1.25em; }
.ledger-cap { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; padding: 0.95rem 1.75rem; border-top: 1px dashed var(--line); font-size: 0.86rem; font-weight: 500; }
.ledger-cap .illus { font-family: var(--mono); font-size: var(--fs-label); font-weight: 500; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--muted); }
.ledger-scale { margin: 0; padding: 0.85rem 1.75rem 1.1rem; border-top: 1px dashed var(--line); font-size: var(--fs-small); color: var(--muted); line-height: 1.5; }
.ledger-scale b { color: var(--ink); font-weight: 600; }
@media (prefers-color-scheme: dark) {
  .ledger, .start-run { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 30px 60px -30px rgba(0, 0, 0, 0.8); }
}
@media (max-width: 960px) {
  .hero-body { grid-template-columns: 1fr; gap: 2.25rem; align-items: stretch; }
  .display { max-width: 20ch; }
}
@media (max-width: 480px) {
  .ledger-tape { padding: 1.15rem 1.15rem 0.6rem; }
  .ledger pre { font-size: 0.72rem; line-height: 1.85; }
  .ledger-cap { padding: 0.8rem 1.15rem; }
}

/* ── how / editorial steps ──────────────────────────────────────────── */
.steps { list-style: none; margin: 0 0 clamp(2.75rem, 5vw, 4.25rem); padding: 0; border-top: 1px solid var(--line); }
.steps li {
  /* `auto` fits the number exactly — a fixed 3.25rem column pooled its slack onto the
     number→title gap, making title→description look cramped by comparison. */
  display: grid; grid-template-columns: auto minmax(11ch, 0.72fr) 1.55fr;
  gap: clamp(1.5rem, 3.5vw, 3.25rem); align-items: baseline;
  padding: clamp(1.55rem, 3vw, 2.2rem) 0; border-bottom: 1px solid var(--line);
}
.step-n { font-family: var(--mono); font-size: 1.05rem; font-weight: 500; color: var(--accent-2); }
.steps h3 { font-size: var(--fs-h3); letter-spacing: -0.015em; }
.step-desc { font-size: 0.96rem; line-height: 1.55; color: var(--ink-2); max-width: 48ch; }
@media (max-width: 720px) {
  .steps li { grid-template-columns: auto 1fr; gap: 0.35rem 1.25rem; }
  .step-n { grid-row: 1; }
  .steps h3 { grid-column: 2; }
  .step-desc { grid-column: 2; margin-top: 0.35rem; }
}

/* code artifacts */
.artifact { margin: 0; }
.artifact-cap { font-family: var(--mono); font-size: var(--fs-label); font-weight: 500; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--muted); margin-bottom: 0.85rem; }
/* overflow-y: hidden is load-bearing — overflow-x: auto alone computes overflow-y to
   auto, so a horizontal scrollbar eats height and spawns a vertical one; the bottom
   padding absorbs the bar instead. */
.code, .run-code { margin: 0; padding: 1.5rem clamp(1.25rem, 3vw, 2rem); overflow-x: auto; overflow-y: hidden; background: var(--paper-2); border: 1px solid var(--line); border-radius: 12px; font-family: var(--mono); font-size: var(--fs-mono); line-height: 1.75; font-variant-numeric: tabular-nums; color: var(--ink-2); white-space: pre; }
.code .k { color: var(--ink); }
.code .s { color: var(--accent-2); }
.code .n { color: var(--ink); }
.code .cmt { color: var(--muted); font-style: italic; }
.code .hl { background: color-mix(in srgb, var(--accent) 16%, transparent); border-radius: 3px; padding: 0.05em 0.15em; }
.code .hl.s { color: var(--accent-2); }

/* ── data-path diagram (the live read path never touches the warehouse) ── */
.flow { margin: 0 0 clamp(2.75rem, 5vw, 4.25rem); }
.flow-track { display: flex; align-items: stretch; gap: 0; }
.flow .node {
  flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 0.32rem;
  padding: 1.05rem 1.1rem; border: 1px solid var(--line); border-radius: 11px; background: var(--paper);
}
.flow .node-k { font-family: var(--mono); font-size: var(--fs-label); font-weight: 500; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--muted); line-height: 1.4; }
.flow .node strong { font-family: var(--display); font-weight: 600; font-size: 1.04rem; letter-spacing: -0.015em; color: var(--ink); }
.flow .node-sub { font-size: 0.83rem; color: var(--muted); line-height: 1.4; }
.flow .node-batch { background: transparent; border-style: dashed; }        /* the occasional feed, not the live path */
.flow .node-batch strong { color: var(--ink-2); }
.flow .node-hero { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.flow .node-hero strong { color: var(--accent-2); }
.flow .hop { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.4rem; min-width: 4.75rem; padding: 0 0.35rem; }
.flow .hop-l { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.flow .arw { position: relative; width: 100%; height: 1px; background: var(--line); }
.flow .arw::after { content: ""; position: absolute; right: 0; top: 50%; width: 6px; height: 6px; border-top: 1px solid var(--muted); border-right: 1px solid var(--muted); transform: translate(1px, -50%) rotate(45deg); }
.flow .hop-batch .arw { background: transparent; background-image: repeating-linear-gradient(90deg, var(--line) 0 4px, transparent 4px 8px); }
.flow-cap { margin-top: 1.15rem; font-size: var(--fs-small); color: var(--ink-2); line-height: 1.5; }
.flow-cap .flow-mark { font-family: var(--mono); color: var(--accent-2); }
.flow-cap b { color: var(--ink); font-weight: 600; }
/* Go vertical while the 4-across track can't give every kicker and title a single
   line — below this, nodes are too narrow and labels wrap unevenly. */
@media (max-width: 1199px) {
  .flow-track { flex-direction: column; }
  .flow .hop { flex-direction: row; min-width: 0; width: 100%; justify-content: flex-start; gap: 0.7rem; padding: 0.5rem 0 0.5rem 1.1rem; }
  .flow .arw { width: 1px; height: 1.35rem; }
  .flow .arw::after { right: auto; left: 50%; top: auto; bottom: 0; transform: translate(-50%, 1px) rotate(135deg); }
  .flow .hop-batch .arw { background-image: repeating-linear-gradient(180deg, var(--line) 0 4px, transparent 4px 8px); }
}

/* ── proof (the one grid) ───────────────────────────────────────────── */
.proof-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; }
.proof-card { background: var(--paper); padding: clamp(1.6rem, 3vw, 2.5rem); }
.proof-metric { font-family: var(--mono); font-size: clamp(1.5rem, 1rem + 1.6vw, 2.1rem); font-weight: 500; letter-spacing: -0.01em; color: var(--accent); font-variant-numeric: tabular-nums; }
.proof-card h3 { margin: 1rem 0 0.6rem; font-size: var(--fs-h3); }
.proof-card p { font-size: 0.94rem; line-height: 1.55; color: var(--ink-2); max-width: 42ch; }
.proof-foot { margin-top: 2rem; max-width: 68ch; font-size: var(--fs-small); color: var(--muted); line-height: 1.55; }
.proof-foot .fn { font-family: var(--mono); color: var(--accent-2); margin-right: 0.35rem; }
@media (max-width: 720px) { .proof-grid { grid-template-columns: 1fr; } }

/* ── what you serve (use cases) ─────────────────────────────────────── */
/* 3 fixed columns so 6 items always fill exactly two rows — no orphan hairline cells. */
.use-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; }
.use-grid li { background: var(--paper); padding: clamp(1.5rem, 3vw, 2.25rem); }
/* reserve two heading lines so a wrapping title ("Personalization & recommendations")
   doesn't push its body below the one-line cards beside it — bodies align across a row */
.use-grid h3 { font-size: var(--fs-h3); letter-spacing: -0.015em; margin-bottom: 0.55rem; line-height: 1.25; }
@media (min-width: 561px) { .use-grid h3 { min-height: 2.5em; } }
.use-grid p { font-size: 0.94rem; line-height: 1.55; color: var(--ink-2); max-width: 34ch; }
@media (max-width: 860px) { .use-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .use-grid { grid-template-columns: 1fr; } }

/* ── fit ────────────────────────────────────────────────────────────── */
.fit-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); }
.fit-col h3 { display: flex; align-items: center; gap: 0.6ch; font-size: var(--fs-h3); padding-bottom: 1rem; margin-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.fit-yes .fit-mark { color: var(--ok); font-family: var(--mono); }
.fit-no .fit-mark { color: var(--muted); font-family: var(--mono); }
.fit-col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.95rem; }
.fit-col li { position: relative; padding-left: 1.4rem; color: var(--ink-2); line-height: 1.5; }
.fit-col li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 0.5rem; height: 1px; background: var(--muted); }
.fit-no li { color: var(--muted); }
@media (max-width: 640px) { .fit-cols { grid-template-columns: 1fr; gap: 2.5rem; } }

/* ── pricing ────────────────────────────────────────────────────────── */
.pricing { background: var(--paper-2); border-top-color: var(--line); }
/* Calc left, notes right, below the header — nudged up (smaller header gap) so the
   calculator sits closer to the heading. */
.pricing .section-head { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.pricing-body { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4.25rem); align-items: start; }
.savings .save { color: var(--ink); }             /* the win — full ink */
.savings .neg { color: var(--muted); }            /* the fee — recedes */
.savings .keep { color: var(--ok); font-size: 1em; }  /* 1em keeps the $ column aligned */
.pricing-notes { display: grid; gap: clamp(1.6rem, 3vw, 2.4rem); }
.pnote { display: grid; grid-template-columns: auto 1fr; gap: 1.15rem; align-items: baseline; }
.pnote-n { font-family: var(--mono); font-size: 1rem; font-weight: 500; color: var(--accent-2); }
.pnote h3 { font-size: var(--fs-h3); letter-spacing: -0.015em; margin-bottom: 0.5rem; }
.pnote p { color: var(--ink-2); font-size: 0.96rem; line-height: 1.55; max-width: 46ch; }
.pnote a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
.pricing-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.85rem 1.4rem; margin-top: clamp(2rem, 4vw, 3rem); padding-top: clamp(1.75rem, 3vw, 2.25rem); border-top: 1px solid var(--line); }
.pricing-cta-note { font-size: var(--fs-small); color: var(--muted); max-width: 42ch; line-height: 1.5; }
@media (max-width: 860px) { .pricing-body { grid-template-columns: 1fr; gap: 2.5rem; } }

/* ── start / cta ────────────────────────────────────────────────────── */
.start { background: var(--paper-2); border-top-color: var(--line); }
/* the terminal column runs ~10% wider than the copy so the longest command line clears
   the box edge with breathing room, instead of butting against it */
.start-inner { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.start-copy p { max-width: 48ch; color: var(--ink-2); }
.start-note { margin-top: 1.7rem; font-size: var(--fs-small); color: var(--muted); }
.start-note a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
.start-run { background: var(--term-bg); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: 0 30px 60px -36px rgba(23, 23, 27, 0.55); }
.run-head { display: flex; align-items: center; gap: 0.45rem; padding: 0.75rem 1.1rem; border-bottom: 1px solid rgba(255, 255, 255, 0.09); }
.run-head .dot { width: 0.62rem; height: 0.62rem; border-radius: 50%; background: rgba(255, 255, 255, 0.2); }
.run-title { margin-left: 0.5rem; font-family: var(--mono); font-size: var(--fs-label); font-weight: 500; letter-spacing: var(--track-label); text-transform: uppercase; color: rgba(255, 255, 255, 0.5); }
.run-code { background: transparent; border: 0; border-radius: 0; color: #C9C7C7; font-size: 0.76rem; line-height: 1.7; }
.run-code .run-ok { color: #74C79C; font-weight: 500; }
/* Stack while the terminal's longest line (~59ch mono) can't fit its half — a
   side-by-side terminal with scrollbars is worse than a stacked one. */
@media (max-width: 1200px) { .start-inner { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .run-code { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 0.72rem; } }

/* ── faq (native <details>, no JS) ──────────────────────────────────── */
.faq-list { max-width: 52rem; border-top: 1px solid var(--line); }
.faq-group-h { font-family: var(--mono); font-size: var(--fs-label); font-weight: 500; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--accent-2); margin: 0; padding: 1.7rem 0 0.85rem; }
.faq-list > .faq-group-h:first-child { padding-top: 1.3rem; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item > summary {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem; cursor: pointer;
  list-style: none; padding: 1.3rem 0;
  font-family: var(--display); font-weight: 600; font-size: 1.1rem; letter-spacing: -0.015em; color: var(--ink);
  transition: color 0.15s var(--ease);
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after { content: "+"; font-family: var(--mono); font-weight: 400; font-size: 1.3rem; line-height: 1; color: var(--accent-2); }
.faq-item[open] > summary::after { content: "\2212"; }   /* − */
.faq-item > summary:hover { color: var(--accent-2); }
.faq-a { padding: 0 0 1.45rem; max-width: 62ch; }
.faq-a p { color: var(--ink-2); font-size: 0.98rem; line-height: 1.6; }
.faq-a p code { font-family: var(--mono); font-size: 0.86em; color: var(--ink); }
.faq-a a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }

/* ── footer ─────────────────────────────────────────────────────────── */
.site-foot { border-top: 1px solid var(--line); padding-top: clamp(3rem, 6vw, 4.5rem); padding-bottom: 2.5rem; }
.foot-inner { display: grid; grid-template-columns: 1.4fr 2fr; gap: clamp(2rem, 5vw, 4rem); padding-bottom: 3rem; }
.foot-word { font-family: var(--display); font-weight: 600; font-size: 1.35rem; letter-spacing: -0.02em; display: inline-flex; align-items: center; gap: 0.5rem; }
.foot-word .brand-mark { color: var(--accent); }
.foot-tag { margin-top: 0.9rem; max-width: 34ch; font-size: var(--fs-small); color: var(--muted); line-height: 1.5; }
.foot-nav { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.foot-nav h3 { font-family: var(--mono); font-size: var(--fs-label); font-weight: 500; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.foot-nav a { display: block; font-size: 0.94rem; color: var(--ink-2); padding: 0.28rem 0; transition: color 0.15s var(--ease); }
.foot-nav a:hover { color: var(--accent); }
.foot-legal { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.8rem; border-top: 1px solid var(--line-2); font-size: 0.82rem; color: var(--muted); }
@media (max-width: 700px) { .foot-inner { grid-template-columns: 1fr; } .foot-nav { grid-template-columns: repeat(2, 1fr); max-width: 26rem; } }

@media (prefers-reduced-motion: reduce) { * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; } }
