/* =========================================================================
   ADDED TIME — support site
   "Analog Kit": warm paper, ink text, one rationed safety-orange accent,
   muted teal controls, Oswald uppercase + DM Mono, tally & split-flap motifs.
   One stylesheet, no build step. Honors prefers-color-scheme + reduced-motion.
   ========================================================================= */

/* ---- Fonts (self-hosted from /fonts, OFL) ------------------------------ */
@font-face {
  font-family: "Oswald";
  src: url("fonts/Oswald.ttf") format("truetype");
  font-weight: 200 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Mono";
  src: url("fonts/DMMono-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Mono";
  src: url("fonts/DMMono-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ---- Tokens ------------------------------------------------------------- */
:root {
  --ground:       #EAE6DC;   /* warm paper page */
  --surface:      #F5F2EA;   /* cards */
  --surface-sink: #EEEADF;   /* nested wells */
  --ink:          #1A1712;   /* text */
  --ink-muted:    #6B665C;   /* secondary text — 4.58:1 on ground, 5.10:1 on surface (AA) */
  --hairline:     #D8D3C7;   /* dividers */
  --accent:       #E8611A;   /* orange — the "added time" hue, rationed. FILLS + SHAPES ONLY */
  --accent-text:  #B04206;   /* the same hue darkened for TEXT on paper — 4.64:1 (AA) */
  --accent-ink:   #1A0E06;   /* text ON the orange fill — 5.55:1. Ink, not cream:
                                cream read 3.2:1 and failed AA on the primary CTA, and
                                dark-on-safety-orange is the more honest engraved look. */
  --teal:         #2E8B7E;   /* controls / links */
  --teal-ink:     #226B60;   /* teal text on paper, AA */
  --teal-soft:    rgba(46,139,126,.12);
  --plate:        #17161A;   /* dark split-flap tile */
  --plate-2:      #201F24;   /* raised flap face */
  --plate-ink:    #EDEAE1;   /* text on the plate */
  --plate-line:   rgba(0,0,0,.6);
  --band-bg:      var(--plate);   /* dark band: pops against paper in light mode */
  --band-border:  transparent;

  --font-head: "Oswald", "Arial Narrow", system-ui, sans-serif;
  --font-mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", "Work Sans", system-ui, sans-serif;

  --wrap: 1080px;
  --gap: clamp(1.1rem, 4vw, 2rem);

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 22px;

  --shadow-card: 0 1px 0 rgba(255,255,255,.6) inset, 0 -1px 0 rgba(0,0,0,.045) inset,
                 0 12px 30px -20px rgba(26,23,18,.55);
  --shadow-lift: 0 1px 0 rgba(255,255,255,.6) inset,
                 0 22px 45px -22px rgba(26,23,18,.6);
  --shadow-plate: 0 2px 0 rgba(255,255,255,.05) inset,
                  0 24px 50px -26px rgba(0,0,0,.7);
}

@media (prefers-color-scheme: dark) {
  :root {
    --ground:       #0F0F10;
    --surface:      #1B1B1D;
    --surface-sink: #151517;
    --ink:          #EDEAE1;
    --ink-muted:    #9A948A;   /* 6.37:1 on ground — already AA on dark */
    --hairline:     #2A2A2C;
    --accent:       #E8611A;
    --accent-text:  #F0752F;   /* on dark, lift instead of darken — 6.65:1 */
    /* --accent-ink is identical in both schemes now; inherited from :root */
    --teal:         #46A093;
    --teal-ink:     #7FC7BB;
    --teal-soft:    rgba(70,160,147,.16);
    --plate:        #131217;
    --plate-2:      #1E1D23;
    --plate-ink:    #EDEAE1;
    --plate-line:   rgba(0,0,0,.75);
    --band-bg:      #191820;   /* dark mode: raised, delineated panel instead */
    --band-border:  #2E2D33;
    --shadow-card:  0 1px 0 rgba(255,255,255,.05) inset,
                    0 14px 34px -22px rgba(0,0,0,.85);
    --shadow-lift:  0 1px 0 rgba(255,255,255,.06) inset,
                    0 22px 45px -20px rgba(0,0,0,.9);
    --shadow-plate: 0 1px 0 rgba(255,255,255,.05) inset,
                    0 24px 50px -26px rgba(0,0,0,.9);
  }
}

/* ---- Reset & base ------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1rem, .97rem + .18vw, 1.075rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--teal-ink); text-underline-offset: .18em; text-decoration-thickness: .07em; }
a:hover { text-decoration-color: var(--accent); }
::selection { background: var(--teal-soft); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 3px; }
hr { border: 0; height: 1px; background: var(--hairline); margin: 0; }

/* ---- Layout helpers ----------------------------------------------------- */
.wrap { width: min(100% - 2 * var(--gap), var(--wrap)); margin-inline: auto; }
.wrap--narrow { --wrap: 760px; }
/* A wrap nested inside a wrap already sits within the page gutter —
   don't subtract it twice. */
.wrap .wrap { width: min(100%, var(--wrap)); }
.section { padding-block: clamp(3rem, 8vw, 6rem); }
.section--tight { padding-block: clamp(2rem, 5vw, 3.5rem); }
.stack > * + * { margin-top: 1.1rem; }
.center { text-align: center; }
.skip {
  position: absolute; left: .6rem; top: -3rem;
  background: var(--ink); color: var(--ground);
  padding: .6rem 1rem; border-radius: var(--r-sm);
  z-index: 100; transition: top .2s ease;
}
.skip:focus { top: .6rem; }
.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;
}

/* ---- Typography --------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.03;
  letter-spacing: .01em;
  margin: 0;
}
h1 { font-size: clamp(2.4rem, 1.6rem + 4vw, 4rem); letter-spacing: .005em; }
h2 { font-size: clamp(1.7rem, 1.3rem + 1.8vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 1rem + .6vw, 1.4rem); letter-spacing: .03em; }
p  { margin: 0; max-width: 65ch; }
.lead { font-size: clamp(1.1rem, 1.03rem + .4vw, 1.3rem); color: var(--ink); line-height: 1.55; }
.muted { color: var(--ink-muted); }
.overline {
  font-family: var(--font-mono);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .72rem;
  color: var(--ink-muted);
  display: inline-block;
}
.mono { font-family: var(--font-mono); }
.num  { font-family: var(--font-mono); font-feature-settings: "tnum" 1; }
.accent { color: var(--accent-text); }

/* ---- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--font-head); font-weight: 600;
  text-transform: uppercase; letter-spacing: .06em; font-size: .95rem;
  padding: .72em 1.25em; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  text-decoration: none; white-space: nowrap;
  transition: transform .15s ease, filter .2s ease, background-color .2s ease, border-color .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 24px -14px var(--accent); }
.btn--primary:hover { filter: brightness(1.06); }
.btn--ghost {
  background: transparent; color: var(--teal-ink);
  border-color: var(--teal);          /* 3.30:1 light, 6.12:1 dark — clears SC 1.4.11 in both */
}
.btn--ghost:hover { background: var(--teal-soft); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }

/* ---- Header / nav ------------------------------------------------------- */
.site-head {
  position: sticky; top: 0; z-index: 40;
  background: var(--ground);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.site-head.is-stuck {
  border-bottom-color: var(--hairline);
  box-shadow: 0 10px 30px -26px rgba(0,0,0,.5);
}
.site-head__inner {
  display: flex; align-items: center; gap: 1rem;
  padding-block: .7rem;
}
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); }
.brand__mark { width: 30px; height: 30px; flex: none; border-radius: 8px; box-shadow: var(--shadow-card); }
.brand__word {
  font-family: var(--font-head); font-weight: 600; text-transform: uppercase;
  letter-spacing: .12em; font-size: 1.02rem;
}
.nav { margin-left: auto; display: flex; align-items: center; gap: clamp(.6rem, 2vw, 1.4rem); }
.nav a { color: var(--ink); text-decoration: none; font-family: var(--font-mono); font-size: .82rem;
         text-transform: uppercase; letter-spacing: .12em; }
.nav a:hover { color: var(--teal-ink); }
.nav__link { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 620px) {
  /* Privacy, Terms and Support all live in the footer; the mobile header keeps
     the mark and one action, which also stops the lockup wrapping to two lines. */
  .brand__word { font-size: .92rem; white-space: nowrap; }
  .nav { gap: .8rem; }
  .nav__link { display: none; }
  .nav .btn {
    display: inline-flex;
    padding: .5em .85em; font-size: .76rem; letter-spacing: .05em;
  }
}
@media (max-width: 380px) {
  .brand__word { display: none; }  /* keep just the mark + legal links on tiny screens */
}

/* ---- The split-flap plate (logo mark + hero board) ---------------------- */
.plate {
  background: var(--plate); color: var(--plate-ink);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-plate);
  position: relative;
}

/* Hero board -------------------------------------------------------------- */
.hero { text-align: center; padding-top: clamp(2.5rem, 7vw, 4.5rem); }
.hero__kicker {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--font-mono); font-weight: 500; font-size: .8rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--ink-muted);
  margin-bottom: 1.4rem;
}
.hero__kicker b { color: var(--accent-text); font-weight: 500; }
.hero__kicker .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }

.board {
  --seam: 50%;
  display: inline-flex; align-items: center; gap: clamp(.5rem, 2vw, 1rem);
  padding: clamp(.9rem, 3vw, 1.6rem) clamp(1.1rem, 3.5vw, 2rem);
  margin-inline: auto;
  background: var(--plate);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-plate);
  perspective: 700px;
}
.board__tab {
  width: clamp(11px, 2.3vw, 16px); height: clamp(23px, 6vw, 38px);
  border-radius: 5px; background: var(--accent); flex: none;
  box-shadow: 0 6px 16px -8px var(--accent);
}
.board__rows { display: flex; flex-direction: column; gap: clamp(.4rem, 1.4vw, .7rem); }
.flaps { display: flex; gap: clamp(.28rem, 1.1vw, .5rem); justify-content: center; }
.flap {
  --i: 0;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  min-width: clamp(1.45rem, 5.4vw, 2.5rem);
  padding: clamp(.15rem, .8vw, .4rem) clamp(.2rem, .8vw, .45rem);
  font-family: var(--font-head); font-weight: 600;
  font-size: clamp(1.35rem, 5vw, 2.25rem); line-height: 1;
  color: var(--plate-ink);
  background: linear-gradient(#26252b 0 50%, #191820 50% 100%);
  border-radius: 7px;
  box-shadow: 0 1px 0 rgba(255,255,255,.05) inset, 0 8px 18px -12px #000;
}
.flap::after { /* the split-flap center seam */
  content: ""; position: absolute; left: 0; right: 0; top: 50%;
  height: 2px; transform: translateY(-1px);
  background: var(--plate-line);
}
.flap--space { min-width: clamp(.6rem, 2vw, 1rem); background: none; box-shadow: none; }
.flap--space::after { display: none; }

.hero__claim {
  display: block; margin: 1.6rem auto 0; max-width: 16ch;
  font-size: clamp(2.05rem, 1.35rem + 2.6vw, 3.3rem);
  line-height: 1.04; letter-spacing: .005em;
}
.hero__sub  { margin: 1.9rem auto 0; max-width: 34ch;
              font-size: clamp(1.2rem, 1rem + .85vw, 1.6rem); line-height: 1.3; }
.hero__sub2 { margin: .9rem auto 0; max-width: 48ch; color: var(--ink-muted);
              font-size: 1.02rem; line-height: 1.55; }
.hero__origin { margin: 1rem auto 0; font-size: .95rem; color: var(--ink-muted); font-style: italic; }
.hero__actions {
  display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center;
  margin-top: 1.9rem;
}

/* ---- Device frame (pure CSS phone bezel) -------------------------------- */
.device {
  --bezel: 11px;
  width: min(300px, 74vw);
  padding: var(--bezel);
  margin-inline: auto;
  background: linear-gradient(150deg, #2b2a30, #131217);
  border-radius: 42px;
  box-shadow: 0 0 0 1px rgba(0,0,0,.35), var(--shadow-lift);
  position: relative;
}
.device::before { /* notch / speaker */
  content: ""; position: absolute; top: calc(var(--bezel) + 9px); left: 50%;
  width: 34%; height: 15px; transform: translateX(-50%);
  background: #0c0b0f; border-radius: 0 0 12px 12px; z-index: 2;
}
.device img { border-radius: 31px; width: 100%; height: auto; }
.device::after {
  content: ""; position: absolute; inset: var(--bezel); border-radius: 31px;
  box-shadow: inset 0 0 0 1px rgba(26,23,18,.12),
              inset 0 22px 44px -34px rgba(26,23,18,.55);
  pointer-events: none; z-index: 1;
}
@media (prefers-color-scheme: dark) {
  .device::after { box-shadow: inset 0 0 0 1px rgba(237,234,225,.08); }
}
.device--crop img { aspect-ratio: 750 / 1220; object-fit: cover; object-position: top center; }
.device--sm { width: min(230px, 62vw); }

/* ---- Cards -------------------------------------------------------------- */
.cards { display: grid; gap: clamp(1rem, 2.5vw, 1.4rem); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card {
  background: var(--surface); border-radius: var(--r-lg);
  padding: clamp(1.3rem, 3vw, 1.8rem);
  box-shadow: var(--shadow-card);
  border: 1px solid color-mix(in srgb, var(--hairline) 60%, transparent);
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.card__icon {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid color-mix(in srgb, var(--teal) 55%, transparent);
  color: var(--teal-ink); margin-bottom: 1rem;
}
.card__icon svg { width: 22px; height: 22px; }
.card__flag { display: block; margin: -.25rem 0 .5rem; }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--ink-muted); font-size: .96rem; }

/* ---- Chips / meta ------------------------------------------------------- */
.chip {
  display: inline-flex; align-items: center; gap: .45em;
  font-family: var(--font-mono); font-size: .78rem; letter-spacing: .04em;
  padding: .32em .7em; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--hairline); color: var(--ink);
}

/* ---- Tally marks (inline SVG) ------------------------------------------- */
.tally { display: inline-flex; gap: .35em; align-items: center; color: currentColor; }
.tally svg { width: clamp(20px, 5vw, 30px); height: auto; overflow: visible; }
.tally path { fill: none; stroke: currentColor; stroke-width: 9; stroke-linecap: round; }
.tally .faint { opacity: .28; }

/* ---- Privacy promise band (dark plate section) -------------------------- */
.band { background: var(--band-bg); color: var(--plate-ink); border-block: 1px solid var(--band-border); }
.band .overline { color: color-mix(in srgb, var(--plate-ink) 60%, transparent); }
.band h2 { color: var(--plate-ink); }
.band__grid {
  display: grid; gap: clamp(1rem, 3vw, 1.6rem);
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  margin-top: 2rem;
}
.pledge {
  border: 1px solid rgba(237,234,225,.14); border-radius: var(--r-md);
  padding: 1.2rem 1.3rem; background: rgba(237,234,225,.03);
}
.pledge .num { color: color-mix(in srgb, var(--plate-ink) 60%, transparent); font-size: 1.05rem; }
.pledge h3 { color: var(--plate-ink); margin: .5rem 0 .35rem; font-size: 1.05rem; letter-spacing: .04em; }
.pledge p { color: color-mix(in srgb, var(--plate-ink) 66%, transparent); font-size: .9rem; }

/* ---- Showcase ----------------------------------------------------------- */
.showcase { display: grid; gap: clamp(2rem, 6vw, 4rem); }
.shot {
  display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .shot { grid-template-columns: 1fr 1fr; }
  .shot--flip .shot__media { order: 2; }
}
.shot__body { max-width: 46ch; }
.shot__body h2 { font-size: clamp(1.15rem, 1rem + .6vw, 1.4rem); letter-spacing: .03em; margin-bottom: .7rem; }
.shot__body p { color: var(--ink-muted); }
.shot__cap { margin-top: 1rem; }

/* ---- Focus-ratio line (echo of History) --------------------------------- */
.ratio { background: var(--surface); border-radius: var(--r-lg); padding: clamp(1.2rem, 3vw, 1.8rem);
         box-shadow: var(--shadow-card); border: 1px solid color-mix(in srgb, var(--hairline) 60%, transparent); }
.ratio svg { width: 100%; height: auto; overflow: visible; }
.ratio .grid-line { stroke: var(--hairline); stroke-width: 1; stroke-dasharray: 2 5; }
.ratio .axis { stroke: var(--hairline); stroke-width: 1; }
.ratio .line { fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.ratio .node { fill: var(--ink); }
.ratio .node:last-of-type { fill: var(--accent); }
.ratio .tick { font-family: var(--font-mono); font-size: 11px; fill: var(--ink-muted); }

/* ---- Legal / prose pages ------------------------------------------------ */
.prose { max-width: 68ch; }
.prose h2 { margin-top: 2.6rem; margin-bottom: .8rem; font-size: clamp(1.3rem, 1.1rem + 1vw, 1.7rem); }
.prose h3 { margin-top: 1.8rem; margin-bottom: .5rem; }
.prose p, .prose li { color: var(--ink); }
.prose ul { padding-left: 1.2rem; }
.prose li { margin: .4rem 0; }
.prose a { font-weight: 500; }
.placeholder {
  border: 1.5px dashed color-mix(in srgb, var(--accent) 55%, var(--hairline));
  background: color-mix(in srgb, var(--accent) 6%, var(--surface));
  border-radius: var(--r-md); padding: 1rem 1.2rem; margin: 1.4rem 0;
}
.placeholder .overline { color: var(--accent-text); }
.placeholder p { color: var(--ink-muted); font-size: .92rem; margin-top: .4rem; }

/* ---- FAQ ---------------------------------------------------------------- */
.faq { border-top: 1px solid var(--hairline); }
.faq details { border-bottom: 1px solid var(--hairline); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.1rem .2rem;
  display: flex; align-items: center; gap: .8rem;
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: .04em;
  font-size: 1.05rem; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; margin-left: auto; color: var(--teal-ink);
  font-family: var(--font-mono); font-size: 1.3rem; transition: transform .2s ease;
}
.faq details[open] summary::after { content: "\2013"; }
.faq details > *:not(summary) { padding: 0 .2rem 1.2rem; color: var(--ink-muted); max-width: 64ch; }

/* ---- Contact block ------------------------------------------------------ */
.contact { background: var(--surface); border-radius: var(--r-lg); padding: clamp(1.4rem, 4vw, 2.2rem);
           box-shadow: var(--shadow-card); border: 1px solid color-mix(in srgb, var(--hairline) 60%, transparent); }

/* ---- Footer ------------------------------------------------------------- */
.site-foot { border-top: 1px solid var(--hairline); margin-top: 2rem; }
.site-foot__inner { display: flex; flex-wrap: wrap; gap: 1.5rem 2rem; align-items: flex-start;
                    padding-block: 2.5rem; }
.site-foot .brand { margin-right: auto; }
.foot-links { display: flex; flex-direction: column; gap: .1rem; }
.foot-links a { display: inline-flex; align-items: center; min-height: 32px;
                color: var(--ink-muted); text-decoration: none; font-family: var(--font-mono);
                font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; }
.foot-links a:hover { color: var(--teal-ink); }
.foot-note { flex-basis: 100%; color: var(--ink-muted); font-size: .78rem; font-family: var(--font-mono);
             border-top: 1px solid var(--hairline); padding-top: 1.4rem; margin-top: .5rem; }

/* ---- Section rule (a hairline between adjacent showcase sections) ------- */
.section--rule { border-top: 0; position: relative; }
.section--rule::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: min(100% - 2 * var(--gap), var(--wrap)); height: 1px; background: var(--hairline);
}
.section--rule::after {
  content: ""; position: absolute; top: -5px; left: 50%; transform: translateX(-50%);
  width: 11px; height: 11px;
  background-color: var(--ground);
  background-image:
    linear-gradient(to bottom right, transparent 44%, var(--hairline) 44%, var(--hairline) 56%, transparent 56%),
    linear-gradient(to bottom left,  transparent 44%, var(--hairline) 44%, var(--hairline) 56%, transparent 56%);
  box-shadow: 0 0 0 6px var(--ground);
}

/* ---- Fine print (a quieter aside beneath body copy) --------------------- */
.fineprint {
  margin-top: 1rem; max-width: 58ch;
  font-size: .87rem; line-height: 1.6; color: var(--ink-muted);
}

/* ---- Added-time chip — with the board tabs, the CTAs and 90:00+, the whole orange budget ---- */
.shot__cap { display: flex; flex-wrap: wrap; gap: .5rem; }
.shot__cap--center { max-width: none; justify-content: center; }
.chip--added {
  color: var(--accent-text);
  border-color: color-mix(in srgb, var(--accent) 40%, var(--hairline));
  background: color-mix(in srgb, var(--accent) 7%, var(--surface));
}

/* ---- Diptych (two device shots telling one story) ----------------------- */
.diptych {
  display: grid; gap: clamp(1.6rem, 5vw, 3rem);
  grid-template-columns: 1fr;
  margin-top: 2.6rem;
}
@media (min-width: 720px) { .diptych { grid-template-columns: 1fr 1fr; } }
.diptych__half { margin: 0; }
.diptych__half figcaption {
  margin-top: 1.2rem; max-width: 40ch; margin-inline: auto;
  color: var(--ink-muted); font-size: .92rem; text-align: center;
}
.diptych__half figcaption .overline { display: block; margin-bottom: .35rem; color: var(--teal-ink); }

/* ---- Mini cards (borderless notes under a showcase) --------------------- */
.cards--three { grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }
/* Four minis resolve to 3-up between 742 and 991px, stranding the fourth. Hold a
   2x2 through that band — it also matches the Record's grid below. Four-across
   returns at 992px, where auto-fit fits it. */
@media (min-width: 742px) and (max-width: 991px) {
  .cards--three { grid-template-columns: 1fr 1fr; }
}
/* Four stat cards read as a square, echoing the app's own four-stat tile —
   auto-fit would give 3-up in a narrow column and strand the fourth. */
.cards--pair { grid-template-columns: 1fr; }
@media (min-width: 485px) { .cards--pair { grid-template-columns: 1fr 1fr; } }
.mini { border-top: 2px solid color-mix(in srgb, var(--teal) 40%, transparent); padding-top: .9rem; }
.mini h3 {
  font-family: var(--font-head); font-weight: 600; text-transform: uppercase;
  letter-spacing: .04em; font-size: 1rem; margin: 0 0 .4rem;
}
.mini p { color: var(--ink-muted); font-size: .92rem; }

/* ---- The plain walkthrough (What it does, index #how) ------------------- */
.steps { list-style: none; margin: 2.2rem 0 0; padding: 0; display: grid; gap: 1.6rem; }
@media (min-width: 760px) {
  .steps { grid-template-columns: 1fr 1fr; gap: 2rem clamp(2rem, 5vw, 3.5rem); }
}
.step { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; align-items: start; }
.step__n {
  font-family: var(--font-mono); font-weight: 500; font-size: .78rem;
  letter-spacing: .12em; color: var(--ink-muted); padding-top: .3rem;
}
.step h3 { font-size: 1.08rem; letter-spacing: .04em; margin: 0 0 .35rem; }
.step p { color: var(--ink-muted); font-size: .97rem; }
.step .shot__cap { margin-top: .65rem; }

/* ---- Comparison table (the vs pages) ------------------------------------ */
.compare-scroll { overflow-x: auto; margin-top: 1.8rem; }
.compare { width: 100%; min-width: 540px; border-collapse: collapse; font-size: .95rem; }
.compare th, .compare td {
  text-align: left; vertical-align: top;
  padding: .8rem .9rem; border-bottom: 1px solid var(--hairline);
}
.compare thead th {
  font-family: var(--font-mono); font-weight: 500; font-size: .72rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--ink-muted);
}
.compare tbody th {
  font-family: var(--font-head); font-weight: 600; text-transform: uppercase;
  letter-spacing: .03em; font-size: .92rem; color: var(--ink);
}
.compare td:nth-child(2) { background: color-mix(in srgb, var(--surface) 60%, transparent); }
.compare td .mono { font-size: .88rem; }

/* ---- Beta quotes (real, permissioned words only — see index source) ----- */
.quote { margin: 0; }
.quote > p {
  font-size: 1.04rem; line-height: 1.55; color: var(--ink);
  font-style: normal; quotes: none;
}
.quote cite { display: block; margin-top: .95rem; font-style: normal; }
.quote cite .overline { color: var(--teal-ink); }

/* ---- The doorman's ledger line (echo of the record page) ---------------- */
.ledger {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: .3rem .55rem;
  margin-top: 1.3rem; padding: .75rem .9rem .75rem 1.8rem;
  position: relative;
  background: var(--surface-sink); border-radius: var(--r-sm);
  font-family: var(--font-mono); font-size: .8rem;
  text-transform: uppercase; letter-spacing: .07em;
}
.ledger__rail {
  position: absolute; left: .9rem; top: .75rem; bottom: .75rem;
  width: 3px; border-radius: 2px; background: var(--teal);
}
.ledger__name { color: var(--ink); }
.ledger__metric { color: var(--teal-ink); }
.ledger__exits { color: var(--ink-muted); margin-left: auto; }

/* ---- The small machinery grid ------------------------------------------- */
.machinery {
  display: grid; gap: clamp(1.2rem, 3vw, 2rem) clamp(1.4rem, 4vw, 3rem);
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  margin-top: 2rem;
}
/* 9 cards in the 2-column band would strand the last one beside an empty
   cell; let it close the section full-width until auto-fit reaches 3-up.
   (Harmless below the 2-column threshold: spanning a 1-column grid is
   identical to normal flow.) */
@media (max-width: 901px) {
  .machinery > .mach:last-child { grid-column: 1 / -1; }
}
.mach h3 {
  font-family: var(--font-head); font-weight: 600; text-transform: uppercase;
  letter-spacing: .04em; font-size: 1rem; margin: 0 0 .4rem;
  display: flex; align-items: center; gap: .55rem; flex-wrap: wrap;
}
.mach p { color: var(--ink-muted); font-size: .93rem; }
.tag {
  font-family: var(--font-mono); font-size: .64rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--teal-ink); border: 1px solid color-mix(in srgb, var(--teal) 45%, transparent);
  border-radius: 999px; padding: .18em .6em;
}
a.tag { text-decoration: none; }
a.tag:hover { background: var(--teal-soft); }
a.tag:focus-visible { outline: 2px solid var(--teal-ink); outline-offset: 2px; }

/* ---- Pricing ------------------------------------------------------------ */
.tiers {
  display: grid; gap: clamp(1rem, 3vw, 1.6rem);
  grid-template-columns: 1fr; margin-top: 2.8rem;
}
@media (min-width: 780px) { .tiers { grid-template-columns: 1fr 1fr; } }
.tier {
  background: var(--surface); border-radius: var(--r-lg);
  padding: clamp(1.4rem, 3.4vw, 2rem);
  border: 1px solid color-mix(in srgb, var(--hairline) 70%, transparent);
  box-shadow: var(--shadow-card);
  display: flex; flex-direction: column;
}
.tier--plus { border-color: color-mix(in srgb, var(--teal) 34%, var(--hairline)); }
.tier h3 { margin: .35rem 0 0; }
.tier__price { margin-top: .9rem; display: flex; align-items: baseline; gap: .3rem; }
.tier__amount {
  font-family: var(--font-head); font-weight: 600; font-size: clamp(2rem, 1.4rem + 2vw, 2.7rem);
  line-height: 1; letter-spacing: .01em;
}
.tier__per { font-family: var(--font-mono); font-size: .9rem; color: var(--ink-muted); }
.tier__list { list-style: none; padding: 0; margin: 1.3rem 0 0; }
.tier__list li {
  position: relative; padding-left: 1.7rem; margin: .55rem 0;
  font-size: .95rem; color: var(--ink);
}
.tier__list li::before { /* an inked tally cross — already yours */
  content: ""; position: absolute; left: 0; top: .42em;
  width: 11px; height: 11px;
  background:
    linear-gradient(to bottom right, transparent 44%, currentColor 44%, currentColor 56%, transparent 56%),
    linear-gradient(to bottom left,  transparent 44%, currentColor 44%, currentColor 56%, transparent 56%);
  color: var(--ink);
}
.tier__list--plus li::before {
  background:
    linear-gradient(to bottom right, transparent 44%, currentColor 44%, currentColor 56%, transparent 56%),
    linear-gradient(to bottom left,  transparent 44%, currentColor 44%, currentColor 56%, transparent 56%);
  border: 0; border-radius: 0;
  width: 11px; height: 11px; top: .42em;
  color: var(--teal-ink);
}
.tier__foot { margin-top: auto; padding-top: 1.4rem; font-size: .87rem; color: var(--ink-muted); }

.prices {
  display: grid; gap: clamp(.8rem, 2vw, 1.1rem);
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  margin-top: clamp(1rem, 3vw, 1.6rem);
}
.price {
  border: 1px solid var(--hairline); border-radius: var(--r-md);
  padding: 1.1rem 1.2rem; background: color-mix(in srgb, var(--surface) 55%, transparent);
}
.price--mid { border-color: color-mix(in srgb, var(--teal) 40%, var(--hairline)); }
.price__name {
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--ink-muted);
}
.price__amount {
  font-family: var(--font-head); font-weight: 600; font-size: 1.75rem;
  line-height: 1.15; margin-top: .35rem; letter-spacing: .01em;
}
.price__amount span { font-family: var(--font-mono); font-size: .82rem; font-weight: 400; color: var(--ink-muted); }
.price__note { margin-top: .4rem; font-size: .87rem; color: var(--ink-muted); }

.terms-note {
  margin-top: clamp(1.6rem, 4vw, 2.4rem);
  border-top: 1px solid var(--hairline); padding-top: 1.5rem;
  max-width: 68ch;
}
.terms-note p { font-size: .93rem; color: var(--ink-muted); }
.terms-note p + p { margin-top: .9rem; }
.terms-note strong { color: var(--ink); }

/* =========================================================================
   MOTION — progressive enhancement only.
   Nothing here hides content unless <html class="js"> is present, so the
   site is fully visible with JS off. All of it is disabled for users who
   prefer reduced motion.
   ========================================================================= */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
html.js [data-reveal].is-visible { opacity: 1; transform: none; will-change: auto; }

/* split-flap settle: run only when JS lights the board */
html.js .board.is-lit .flap {
  animation: flap-in .55s cubic-bezier(.2,.8,.25,1) both;
  animation-delay: calc(var(--i) * 55ms);
}
@keyframes flap-in {
  0%   { transform: rotateX(-90deg); opacity: 0; }
  55%  { transform: rotateX(14deg);  opacity: 1; }
  100% { transform: rotateX(0);      opacity: 1; }
}

/* draw-on strokes (tallies + focus line) */
html.js .draw path, html.js .draw polyline {
  stroke-dasharray: 100; stroke-dashoffset: 100;
}
html.js .draw.is-visible path, html.js .draw.is-visible polyline {
  transition: stroke-dashoffset 1s ease;
  stroke-dashoffset: 0;
}
html.js .draw .node { opacity: 0; transition: opacity .3s ease .9s; }
html.js .draw.is-visible .node { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  html.js .board .flap { animation: none !important; }
  html.js .draw path, html.js .draw polyline { stroke-dashoffset: 0 !important; }
  html.js .draw .node { opacity: 1 !important; }
  .card { transition: box-shadow .25s ease; }
  .card:hover { transform: none; }
  .btn { transition: filter .2s ease, background-color .2s ease, border-color .2s ease; }
  .btn:active { transform: none; }
  .skip { transition: none; }
  * { scroll-behavior: auto !important; }
}

/* ---- Print: reveal everything; nothing hides behind an observer ---------- */
@media print {
  html.js [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  html.js .draw path, html.js .draw polyline { stroke-dashoffset: 0 !important; }
  html.js .draw .node { opacity: 1 !important; }
  .site-head { position: static; }
  /* Dark plate surfaces: force their backgrounds to print so the cream text
     on them stays legible (backgrounds are stripped by default). */
  .band, .board, .flap, .pledge, .device {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}
