/* UNINKD site-v1. Dark mode (8 Nov, your call): black ground, light type, violet taken from the hero chrome. Palette = this one block. */
/* fonts: self-hosted Inter + Inter Tight (SIL OFL 1.1, licences in fonts/) */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/inter-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter Tight'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/inter-tight-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter Tight'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/inter-tight-latin-600-normal.woff2') format('woff2'); }
:root {
  color-scheme: dark;
  --bg: #000000;
  --ink: #EDEDED;     /* 17.9:1 on black; not pure white, less glare */
  --muted: #9A9A9A;   /* 7.4:1 */
  --rule: #1E1E1E;    /* hairlines */
  --line: #3A3A3A;    /* timeline base + inactive indicator dashes */
  --surface: #0E0E0E; /* placeholders, cards */
  --violet: #A44FB9;  /* sampled from the hero chrome rim light; lines, marks, dots (4.2:1, not for small text) */
  --violet-hi: #C88BDC; /* text-safe violet (8.1:1): hover, focus */
  --accent: var(--violet-hi);

  --font-display: 'Inter Tight', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --gutter: 16px;
  --gap: 16px;
  --max: 1600px;
  --hero-pad-top: 16px;
  --hero-pad-bottom: 32px;
  --section-pad: 80px;
}
@media (min-width: 521px) { :root { --gutter: 24px; --hero-pad-top: 24px; --hero-pad-bottom: 40px; } }
@media (min-width: 1025px) { :root { --gutter: 40px; --gap: 24px; --hero-pad-top: 40px; --hero-pad-bottom: 56px; --section-pad: 120px; } }
@media (min-width: 1280px) { :root { --gutter: 64px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.5;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 1025px) { body { font-size: 18px; } }
h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--violet-hi); }
::selection { background: var(--violet); color: #000; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 2px; }
[tabindex="-1"]:focus-visible { outline: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip {
  position: absolute; left: var(--gutter); top: 8px; z-index: 100;
  padding: 12px 16px; background: var(--bg); border: 1px solid var(--ink);
  transform: translateY(-200%);
}
.skip:focus-visible { transform: none; }

.container { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

/* ---------- type ---------- */
.h2 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(36px, 16.69px + 4.952vw, 104px); line-height: 1.02; letter-spacing: -0.03em;
}
.lead { color: var(--muted); max-width: 30em; }

/* ---------- header / nav (sits over the hero, not fixed) ---------- */
.site-header {
  position: absolute; top: var(--hero-pad-top); left: 0; right: 0; z-index: 10;
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 24px;
}
.wordmark {
  font-family: var(--font-display); font-weight: 600; font-size: 18px; letter-spacing: 0.14em;
  display: inline-flex; align-items: center; min-height: 44px;
}
@media (min-width: 521px) { .wordmark { font-size: 20px; } }
.nav-list { display: flex; flex-wrap: wrap; gap: 0 24px; font-size: 15px; }
.nav-list a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
@media (min-width: 1025px) { .nav-list { gap: 0 40px; } }
@media (max-width: 640px) {
  .site-header { flex-wrap: nowrap; gap: 12px; }
  .wordmark { font-size: 16px; letter-spacing: 0.12em; flex-shrink: 0; }
  .nav-list { flex-wrap: nowrap; gap: 0 12px; font-size: 14px; white-space: nowrap; }
}
@media (max-width: 359px) {
  .site-header { flex-wrap: wrap; }
  .nav-list { flex-wrap: wrap; }
}

/* ---------- 1. hero ---------- */
.hero {
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--hero-pad-top) + 120px) 0 var(--hero-pad-bottom);
}
@media (max-width: 640px) {
  .hero { min-height: 80vh; min-height: 80svh; padding-top: calc(var(--hero-pad-top) + 88px); }
}
.hero-content { display: flex; flex-direction: column; gap: 32px; }
@media (min-width: 1025px) { .hero-content { gap: 40px; } }
.hero-title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(44px, 18.74px + 6.476vw, 132px); line-height: 0.98; letter-spacing: -0.035em;
  max-width: 11.2em; text-wrap: balance;
}
.hero-row {
  display: flex; flex-direction: column; gap: 16px;
  border-top: 1px solid var(--rule); padding-top: 24px;
}
@media (min-width: 641px) { .hero-row { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 40px; } }
.hero-sub { color: var(--muted); max-width: 460px; text-wrap: pretty; }  /* no lone last word (10 Nov) */
@media (min-width: 1025px) { .hero-sub { font-size: 18px; } }
.arrow-link {
  font-size: 15px; font-weight: 500;
  display: inline-flex; align-items: center; gap: 12px; min-height: 44px; flex-shrink: 0;
}
.arrow-link svg { transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.arrow-link:hover svg { transform: translateX(4px); }

/* ---------- 2. the life of a tattoo (stacked = base) ---------- */
.life { overflow: clip; }
.life-head { padding: var(--section-pad) 0 24px; }
.life-track { display: flex; flex-direction: column; }
.panel { border-top: 1px solid var(--rule); }
.panel-inner { padding: 40px 0 48px; display: flex; flex-direction: column; }
@media (min-width: 521px) { .panel-inner { padding: 56px 0 64px; } }
.panel-index {
  font-size: 13px; font-weight: 500; letter-spacing: 0.08em; color: var(--muted);
  margin-bottom: 24px; font-variant-numeric: tabular-nums;
}
.stage {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(56px, 29.26px + 6.857vw, 152px); line-height: 0.95; letter-spacing: -0.035em;
  margin-bottom: 32px;
}
.panel-row {
  display: grid; grid-template-columns: 1fr; gap: 12px;
  border-top: 1px solid var(--rule); padding-top: 24px;
}
@media (min-width: 641px) { .panel-row { grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); } .what { grid-column: 1 / 7; } .keep { grid-column: 7 / 13; } }
.what { max-width: 32em; }
.keep { color: var(--muted); max-width: 32em; }
.keep strong { color: var(--ink); font-weight: 500; }

/* pinned mode (JS adds .is-pinned on <html>: >1024 px and motion allowed) */
.is-pinned .life-track { flex-direction: row; width: max-content; will-change: transform; }
.is-pinned .panel {
  flex: 0 0 auto; width: var(--panel-w, 100vw); height: 100vh;
  border-top: 0; display: flex; align-items: flex-end;
}
.is-pinned .panel-inner { padding: 0 0 var(--hero-pad-bottom); }
/* same h3 y on every panel: one-line title, text row always reserves 3 lines (1025-1279) / 2 lines (>=1280) */
.is-pinned .stage { white-space: nowrap; }
.is-pinned .panel-row { min-height: calc(25px + 4.5em); align-content: start; }
@media (min-width: 1280px) { .is-pinned .panel-row { min-height: calc(25px + 3em); } }

/* progress indicator: only shown while the track is pinned */
.life-indicator {
  position: fixed; top: 24px; right: var(--gutter); z-index: 20;
  display: none; align-items: center; gap: 16px;
  font-size: 13px; font-weight: 500; letter-spacing: 0.08em; color: var(--muted); font-variant-numeric: tabular-nums;
  opacity: 0; transform: translateY(-8px); transition: opacity .3s ease, transform .3s ease;
  pointer-events: none;
}
.is-pinned .life-indicator { display: flex; }
.life-indicator.is-on { opacity: 1; transform: none; }
.li-cur { color: var(--ink); }
.li-bars { display: flex; gap: 6px; align-items: center; }
.li-bars i { display: block; width: 12px; height: 2px; background: var(--line); transition: width .3s ease, background-color .3s ease; }
.li-bars i.on { width: 24px; background: var(--violet); }

/* ---------- 3. product ---------- */
.product { padding: var(--section-pad) 0; border-top: 1px solid var(--rule); }
.product-grid {
  display: grid; grid-template-columns: 1fr; gap: 32px;
}
.product-text { display: flex; flex-direction: column; gap: 16px; }
.placeholder {
  aspect-ratio: 4 / 3; background: var(--surface); border: 1px solid var(--rule); color: var(--muted);
  display: flex; align-items: center; justify-content: center; font-size: 15px;
}
@media (min-width: 1025px) {
  .product-grid { grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: start; }
  .product-text { grid-column: 1 / 6; gap: 24px; }
  .placeholder { grid-column: 7 / 13; }
}

/* ---------- 4. collectors ---------- */
.collectors { border-top: 1px solid var(--rule); padding: 96px 0; }
@media (min-width: 1025px) { .collectors { padding: 160px 0; } }
.collectors-line {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(36px, 16.69px + 4.952vw, 104px); line-height: 1.02; letter-spacing: -0.03em;
  max-width: 13em; text-wrap: balance;
}

/* ---------- 5. footer ---------- */
.site-footer { border-top: 1px solid var(--rule); padding: 80px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
.footer-about { display: flex; flex-direction: column; gap: 12px; }
.footer-about p { color: var(--muted); max-width: 30em; }
.footer-title { font-family: var(--font-display); font-weight: 500; font-size: clamp(28px, 22.43px + 1.429vw, 44px); line-height: 1.1; letter-spacing: -0.02em; }
.footer-links { display: flex; flex-direction: column; font-size: 17px; }
@media (min-width: 1025px) { .footer-links { font-size: 20px; } }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; }
.copyright { border-top: 1px solid var(--rule); padding-top: 24px; font-size: 14px; color: var(--muted); }
@media (min-width: 1025px) {
  .footer-grid { grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); row-gap: 80px; }
  .footer-about { grid-column: 1 / 7; }
  .footer-links { grid-column: 8 / 13; flex-direction: row; gap: 40px; align-self: end; justify-content: flex-end; }
  .copyright { grid-column: 1 / 13; }
}

/* stage subpage link (subpages come later) */
.stage-link {
  align-self: flex-start; margin-top: 24px;
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-size: 15px; font-weight: 500;
}
.stage-link span { transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.stage-link:hover span { transform: translateX(4px); }
@media (min-width: 1025px) { .is-pinned .stage-link { margin-top: 16px; } }

/* ---------- round 3: smooth scroll shell, timeline, per-panel motion ---------- */
.stage-t { display: inline-block; }

/* timeline, stacked (base): a calm left rule beside the panels, ink dot on each index line */
.timeline { display: none; }
.life-track > .panel .panel-inner { position: relative; }
.life-track > .panel .panel-inner::before {  /* the rule sits in the gutter, text keeps the page's left edge */
  content: ''; position: absolute; top: 0; bottom: 0; left: calc(var(--gutter) / -2); width: 1px; background: var(--rule);
}
.life-track > .panel .panel-index { position: relative; }
.life-track > .panel .panel-index::before {
  content: ''; position: absolute; left: calc(var(--gutter) / -2 - 3px); top: 50%; width: 7px; height: 7px; margin-top: -3.5px;
  border-radius: 50%; background: var(--violet);
}

/* timeline, pinned: one line across the whole track, drawn by the scroll */
.is-pinned .life-track { position: relative; }
.is-pinned .life-track > .panel .panel-inner::before { content: none; }
.is-pinned .life-track > .panel .panel-index::before { content: none; }
.is-pinned .timeline {
  display: block; position: absolute; left: 0; top: 16vh; height: 1px;
  width: var(--tl-w, 100vw); pointer-events: none; z-index: 1;
}
.tl-base, .tl-ink { position: absolute; inset: 0; }
.tl-base { background: var(--line); }
.tl-ink { background: var(--violet); transform-origin: 0 50%; transform: scaleX(0); }
.tl-mark { position: absolute; top: -6px; left: 0; width: 1px; height: 12px; background: var(--line); }
.tl-mark.is-reached { background: var(--violet); }
.is-pinned .panel-inner { position: relative; z-index: 2; }
/* the lagging stage label slides out from under its own panel's edge, never peeks into the neighbour */
.is-pinned .panel { overflow: clip; }

/* F13: display tracking eased a touch at phone sizes (44-56 px type) */
@media (max-width: 640px) {
  .hero-title, .stage { letter-spacing: -0.025em; }
  .h2, .collectors-line { letter-spacing: -0.022em; }
}

/* ---------- hero art (8 Nov): the UNINKD mark in liquid chrome on black, violet rim light (brand/gemini-chrome-black-2.png) ---------- */
.hero { position: relative; overflow: clip; }
.hero-art { width: min(100vw, 620px); margin: 0 auto -24px; position: relative; left: 50%; transform: translateX(-50%); }
.hero-art img { display: block; width: 100%; height: auto; }
.hero-art .art-media { position: relative; display: block;
  /* soft edges: the image's own black/violet floor never shows a box edge against the page */
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 14%, #000 86%, transparent 100%), linear-gradient(to top, transparent 0, #000 18%, #000 92%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(to right, transparent 0, #000 14%, #000 86%, transparent 100%), linear-gradient(to top, transparent 0, #000 18%, #000 92%, transparent 100%);
          mask-composite: intersect; }
@media (min-width: 1025px) {
  .hero-art .art-media {
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 16%, #000 84%, transparent 100%), linear-gradient(to top, transparent 0, #000 20%, #000 90%, transparent 100%);
            mask-image: linear-gradient(to right, transparent 0, #000 16%, #000 84%, transparent 100%), linear-gradient(to top, transparent 0, #000 20%, #000 90%, transparent 100%); }
}
@media (min-width: 1025px) {
  /* split: headline left (5 of 12 columns), chrome right, bleeding off the edge; the two never overlap */
  .hero-art { position: absolute; left: auto; transform: translateY(-50%); top: 52%; right: -3vw; margin: 0;
    width: min(62vw, calc(100vh * 1.05), 1250px); pointer-events: none; }
  .hero-content { position: relative; z-index: 1; }
  .hero-title { font-size: clamp(56px, 6.4vw, 124px); max-width: 6.2em; }
}

/* ---------- hero motion (8 Nov): entry + mouse, see hero.js ---------- */
.intro-pending .hero-title, .intro-pending .hero-row, .intro-pending .site-header, .intro-pending .hero-art .art-media { opacity: 0; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.hero-title .line-in { display: inline-block; will-change: transform; }
.hero-art .art-media { mix-blend-mode: screen; z-index: 1; will-change: transform; }  /* black of the render = see-through */
.hero-glow { position: absolute; left: 22%; top: 30%; width: 60%; height: 55%; border-radius: 50%; z-index: 0;
  background: radial-gradient(closest-side, rgba(164, 79, 185, 0.32), rgba(164, 79, 185, 0) 100%); filter: blur(30px); }
.cursor-light { position: fixed; left: 0; top: 0; width: 720px; height: 720px; margin: -360px 0 0 -360px; z-index: 0;
  pointer-events: none; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(164, 79, 185, 0.10), rgba(164, 79, 185, 0) 100%); }
#smooth-wrapper { z-index: 1; }
@media (prefers-reduced-motion: reduce) { .cursor-light { display: none; } }
/* round 2 (8 Nov): letters, own cursor */
.hero-title .ch { display: inline-block; will-change: transform; }
.hero-title .line { padding-top: 0.5em; margin-top: -0.5em; }   /* room for letters lifting inside the mask */
.has-cursor, .has-cursor a, .has-cursor button { cursor: none; }
.cursor { position: fixed; left: 0; top: 0; width: 28px; height: 28px; margin: -14px 0 0 -14px; z-index: 50;
  border: 1.5px solid var(--violet-hi); border-radius: 50%; pointer-events: none; mix-blend-mode: difference;
  transition: width .3s cubic-bezier(.16,1,.3,1), height .3s cubic-bezier(.16,1,.3,1), margin .3s cubic-bezier(.16,1,.3,1), background-color .3s; }
.cursor::after { content: ''; position: absolute; left: 50%; top: 50%; width: 4px; height: 4px; margin: -2px 0 0 -2px; border-radius: 50%; background: var(--violet-hi); }
.cursor.is-link { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(200, 139, 220, .14); }
.cursor-light { width: 900px; height: 900px; margin: -450px 0 0 -450px;
  background: radial-gradient(closest-side, rgba(164, 79, 185, 0.16), rgba(164, 79, 185, 0) 100%); }
.hero-glow { background: radial-gradient(closest-side, rgba(164, 79, 185, 0.45), rgba(164, 79, 185, 0) 100%); }

/* liquid metal (8 Nov): WebGL canvas over the picture, see liquid.js */
.art-liquid { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.art-media.is-liquid img { visibility: hidden; }
/* hero proportions (8 Nov, measured at 1440 + 390): one text column, centred on the chrome's optical centre */
@media (min-width: 1025px) {
  .hero { justify-content: center; padding-top: calc(var(--hero-pad-top) + 88px); padding-bottom: 88px; }
  .hero-content { gap: 40px; }
  /* sub + link stacked under the headline (proximity); the rule spans the text column only, never the picture */
  .hero-row { flex-direction: column; align-items: flex-start; gap: 24px; max-width: 30rem; }
  .hero-sub { max-width: 30rem; }
}
/* text hover (8 Nov): lifted letters lean violet with the lift (--k 0..1, set by hero.js) */
/* text hover round 3 (8 Nov, after inspecting Unseen live): the block moves in depth + liquid-glass warp near the cursor */
.has-cursor .hero-title { will-change: transform; }  /* SVG warp tried + dropped 8 Nov: frayed letter edges */
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
/* liquid-glass headline (8 Nov): canvas copy of the lines, see liquid-text.js; DOM text stays for readers + selection */
.hero-title { position: relative; }
.hero-title.is-liquid .line-in { color: transparent; }
.title-liquid { position: absolute; left: -48px; top: -48px; pointer-events: none; display: block; }
/* ink-in-water cursor (8 Nov, Lusion 1:1 in behaviour): full-screen fluid layer above the page, never catches clicks */
.fluid-cursor { position: fixed; left: 0; top: 0; width: 100vw; height: 100vh; z-index: 40; pointer-events: none; display: block; }

/* ---------- 10 Nov: gallery label (chrome pieces tried + dropped 10 Nov: "they look inconsistent") ---------- */
.life-sub { color: var(--muted); margin-top: 16px; max-width: 32em; }
@media (min-width: 1025px) { .life-sub { font-size: 18px; } }
.panel-index .when { color: var(--ink); }
.source { font-size: 13px; letter-spacing: 0.04em; color: var(--muted); align-self: end; }

/* ---------- 10 Nov: B, the sentence is the hero (words light up with the scroll) ---------- */
.life-sub { color: var(--muted); margin-top: 16px; max-width: 32em; }
@media (min-width: 1025px) { .life-sub { font-size: 18px; } }
.panel-label { display: flex; align-items: baseline; gap: 16px; margin-bottom: 24px; }
.panel-label .panel-index { margin-bottom: 0; }
.panel-label .stage { font-family: var(--font-body, inherit); font-size: 13px; font-weight: 500; line-height: 1.4;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); margin: 0; }
.panel-row { grid-template-columns: 1fr !important; }
.panel-row .line-hero {
  grid-column: 1 / -1; max-width: 15em; color: var(--ink);
  font-family: var(--font-display); font-weight: 500; font-size: clamp(34px, 18px + 4.4vw, 88px);
  line-height: 1.06; letter-spacing: -0.03em; text-wrap: balance;
}
.line-hero .w { opacity: 0.16; }
.source { grid-column: 1 / -1; font-size: 13px; letter-spacing: 0.04em; color: var(--muted); margin-top: 16px; }
@media (min-width: 1025px) { .source { margin-top: 32px; } }
/* pinned: the sentence sits in the optical middle of its wall */
.is-pinned .panel { align-items: center; }
.is-pinned .panel-inner { padding: 6vh 0 0; }
.is-pinned .panel-row { min-height: 0 !important; padding-top: 32px; }
.is-pinned .stage { white-space: nowrap; }

/* ---------- 10 Nov: honesty as positioning (what you need, product promise) ---------- */
.need { grid-column: 1 / -1; margin-top: 20px; max-width: 34em; color: var(--ink); }
.need-l { display: inline-block; margin-right: 10px; font-size: 12px; font-weight: 500; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--violet-hi, #C88BDC); }
@media (min-width: 1025px) { .need { font-size: 18px; margin-top: 28px; } }
.is-pinned .need { margin-top: 24px; }
.life-foot { padding: 80px 0 var(--section-pad); border-top: 1px solid var(--rule); }
.life-foot-h { font-family: var(--font-display); font-weight: 500; font-size: clamp(28px, 18px + 2.6vw, 56px);
  line-height: 1.08; letter-spacing: -0.025em; max-width: 18em; text-wrap: balance; }
.life-foot-p { color: var(--muted); margin-top: 16px; max-width: 32em; }
@media (min-width: 1025px) { .life-foot-p { font-size: 18px; } }
.product-line { font-family: var(--font-display); font-weight: 500; font-size: clamp(26px, 16px + 2.4vw, 48px);
  line-height: 1.1; letter-spacing: -0.02em; max-width: 20em; text-wrap: balance; }
.product-promise { color: var(--muted); font-size: 15px; letter-spacing: 0.02em; }
@media (min-width: 1025px) { .product-text { grid-column: 1 / 13; } .product-promise { font-size: 17px; } }

/* ==========================================================================
   11 Nov: hub architecture (specs/ARCHITECTURE.md), sections decoded in specs/DECODE-sections.md
   ========================================================================== */
/* shared */
.sec-head { display: flex; flex-direction: column; gap: 16px; }
.sec-sub { color: var(--muted); max-width: 32em; }
@media (min-width: 1025px) { .sec-sub { font-size: 18px; } }
.h2-s { font-size: clamp(36px, 24px + 3vw, 64px); }

/* button: one accent object per screen (violet-hi ground, black text) */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 48px; padding: 0 20px; border: 0; border-radius: 4px;
  background: var(--violet-hi); color: #000; font: 500 15px/1 var(--font-body); cursor: pointer;
  transition: background-color .2s ease, opacity .2s ease;
}
.btn:hover { background: #D9A9E7; color: #000; }
.btn svg { transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.btn:hover svg { transform: translateX(4px); }
.btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.btn[disabled] { opacity: .4; cursor: not-allowed; }

/* S2 trust line (AG1 decode): 16 px under the button, 14/20 muted, violet tick */
.hero-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; flex-shrink: 0; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; line-height: 20px; color: var(--muted); }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust li::before { content: ''; width: 10px; height: 6px; margin-top: -3px; border-left: 1.5px solid var(--violet);
  border-bottom: 1.5px solid var(--violet); transform: rotate(-45deg); flex-shrink: 0; }

/* S4 the plan (Pasha Ink decode): numbered rows on hairlines, open row = the email, body indented 56 px */
.plan { padding: var(--section-pad) 0; border-top: 1px solid var(--rule); }
.plan-dots { position: relative; display: flex; gap: 0; justify-content: space-between; max-width: 400px;
  margin: 48px 0 24px; height: 7px; }
.plan-dots span { position: absolute; left: 3px; right: 3px; top: 3px; height: 1px; background: var(--line); }
.plan-dots i { position: relative; z-index: 1; width: 7px; height: 7px; border-radius: 50%; background: var(--line); transition: background-color .3s; }
.plan-dots i.on { background: var(--violet); }
.plan-rows { border-bottom: 1px solid var(--rule); }
.plan-row { border-top: 1px solid var(--rule); }
.plan-row summary {
  list-style: none; cursor: pointer; display: grid; align-items: baseline;
  grid-template-columns: 40px 1fr 24px; column-gap: 16px; row-gap: 4px; padding: 20px 0; min-height: 64px;
}
.plan-row summary::-webkit-details-marker { display: none; }
.pr-index { font-size: 13px; font-weight: 500; letter-spacing: 0.08em; color: var(--muted); font-variant-numeric: tabular-nums; }
.pr-title { font-family: var(--font-display); font-weight: 500; font-size: 20px; line-height: 1.25; letter-spacing: -0.01em; }
.pr-when { grid-column: 2; grid-row: 2; font-size: 13px; color: var(--muted); }
.pr-toggle { grid-column: 3; grid-row: 1; position: relative; width: 14px; height: 14px; justify-self: end; align-self: center; }
.pr-toggle::before, .pr-toggle::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -0.75px; background: var(--ink); transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.pr-toggle::after { transform: rotate(90deg); }
.plan-row[open] .pr-toggle::after { transform: rotate(0deg); }
.plan-row summary:hover .pr-title { color: var(--violet-hi); }
.pr-body { padding: 0 0 32px 56px; max-width: calc(62ch + 56px); display: flex; flex-direction: column; gap: 14px; font-size: 16px; line-height: 24px; }
.pr-src { font-size: 13px; line-height: 20px; letter-spacing: 0.04em; color: var(--muted); margin-top: 6px; }
@media (min-width: 641px) {
  .plan-row summary { grid-template-columns: 56px 1fr auto 24px; }
  .pr-when { grid-column: 3; grid-row: 1; }
  .pr-toggle { grid-column: 4; }
}
@media (max-width: 520px) { .pr-body { padding-left: 0; } }
@media (min-width: 1025px) {
  .plan .container { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); }
  .plan .sec-head { grid-column: 1 / 7; }
  .plan-dots { grid-column: 1 / 13; }
  .plan-rows { grid-column: 1 / 13; }
  .pr-title { font-size: 24px; }
  .pr-body { font-size: 17px; line-height: 26px; }
}

/* S5 method (Glyphic decode): 28 px number box, inactive steps at .25, active filled; then one big sourced line */
.method { padding: var(--section-pad) 0; border-top: 1px solid var(--rule); }
.method-grid { display: grid; grid-template-columns: 1fr; gap: 48px; }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 40px; }
.step { display: grid; grid-template-columns: 28px 1fr; column-gap: 16px; row-gap: 12px; align-items: center;
  opacity: .25; transition: opacity .4s ease; }
.step.is-on, .no-js .step { opacity: 1; }
.step-n { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 4px;
  font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; transition: background-color .4s, color .4s, border-color .4s; }
.step.is-on .step-n { background: var(--ink); border-color: var(--ink); color: #000; }
.step-t { font-family: var(--font-display); font-weight: 500; font-size: clamp(26px, 20px + 1.5vw, 34px); line-height: 1.1; letter-spacing: -0.02em; }
.step-p { grid-column: 2; color: var(--muted); font-size: 15px; line-height: 22px; max-width: 400px; }
.proof { margin: 0; border-top: 1px solid var(--rule); padding-top: 40px; display: flex; flex-direction: column; gap: 16px; }
.proof-line { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: clamp(28px, 18px + 2.6vw, 56px);
  line-height: 1.08; letter-spacing: -0.025em; max-width: 16em; text-wrap: balance; }
.proof-src { font-size: 13px; letter-spacing: 0.04em; color: var(--muted); max-width: 40em; }
.proof-all { align-self: flex-start; display: inline-flex; gap: 8px; align-items: center; min-height: 44px;
  font-size: 15px; font-weight: 500; border-bottom: 1px solid var(--line); }
@media (min-width: 1025px) {
  .method-grid { grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); row-gap: 80px; }
  .method .sec-head { grid-column: 1 / 6; }
  .steps { grid-column: 7 / 13; gap: 56px; }
  .proof { grid-column: 1 / 13; padding-top: 64px; }
}
@media (prefers-reduced-motion: reduce) { .step { opacity: 1; transition: none; } }

/* S7 signup (Nothing decode, no card edge on a black page) */
.signup { padding: var(--section-pad) 0; border-top: 1px solid var(--rule); }
.signup-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
.form { display: flex; flex-direction: column; gap: 24px; max-width: 448px; width: 100%; }
.field { display: flex; flex-direction: column; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field > label, .field > legend { font-size: 14px; font-weight: 500; color: var(--ink); padding: 0; margin-bottom: 0; }
.field legend { margin-bottom: 8px; }
.field input[type=email], .field input[type=date] {
  height: 48px; padding: 0 16px; border-radius: 4px; border: 1px solid var(--line); background: var(--surface);
  color: var(--ink); font: 400 16px/1 var(--font-body); color-scheme: dark; width: 100%;
}
.field input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-color: var(--accent); }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--line);
  border-radius: 4px; font-size: 15px; background: var(--surface); transition: border-color .2s, background-color .2s, color .2s; }
.choice:hover span { border-color: var(--muted); }
.choice input:checked + span { border-color: var(--violet-hi); color: var(--ink); background: rgba(200, 139, 220, .08); }
.choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.consent { display: grid; grid-template-columns: 18px 1fr; gap: 12px; align-items: start; font-size: 13px; line-height: 20px; color: var(--muted); cursor: pointer; }
.consent input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--violet-hi); }
.consent a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.btn-submit { width: 100%; }
.form-note { font-size: 14px; color: var(--muted); min-height: 20px; }
@media (min-width: 1025px) {
  .signup-grid { grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); }
  .signup .sec-head { grid-column: 1 / 6; }
  .form { grid-column: 7 / 12; }
}

/* FAQ (Bang Bang decode): 2 columns from 1025 px, always open */
.faq { margin-top: var(--section-pad); border-top: 1px solid var(--rule); padding-top: 40px; }
.faq-title { font-size: 13px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 32px; }
.faq-list { margin: 0; display: grid; grid-template-columns: 1fr; gap: 34px; }
.faq-item dt { font-family: var(--font-display); font-weight: 500; font-size: 22px; line-height: 1.3; letter-spacing: -0.01em; }
.faq-item dd { margin: 12px 0 0; color: var(--muted); font-size: 15px; line-height: 23px; max-width: 34em; }
@media (min-width: 1025px) {
  .faq-list { grid-template-columns: 1fr 1fr; column-gap: var(--gap); row-gap: 40px; }
  .faq-item dt { font-size: 24px; line-height: 30px; }
}

/* QA 11 Nov: phone plan rows stack (index over title) so title and email body share one left edge; inactive steps readable */
@media (max-width: 520px) {
  .plan-row summary { grid-template-columns: 1fr 24px; row-gap: 6px; }
  .pr-index { grid-column: 1; grid-row: 1; }
  .pr-title { grid-column: 1; grid-row: 2; }
  .pr-when { grid-column: 1; grid-row: 3; }
  .pr-toggle { grid-column: 2; grid-row: 2; }
}
.step { opacity: .35; }
.step.is-on { opacity: 1; }
