/* ==========================================================================
   FLINT — non-custodial card for hardware wallet owners
   Design system: "Bone & Ink" — warm paper, ink, one deep accent, champagne
   gold as the single metallic thread. Editorial luxury, private-bank register.
   ========================================================================== */

:root {
  /* ---- Color ---- */
  --bg:            #F5F1EA;  /* warm paper, page background */
  --surface:       #FBF9F5;  /* raised surfaces */
  --surface-sunk:  #ECE5D8;  /* alternating / sunken sections */
  --ink:           #1C1813;  /* primary text, warm near-black */
  --ink-soft:      #4A4238;  /* secondary text */
  --ink-muted:     #6F6558;  /* tertiary text — darkened from spec for AA on bone */
  --line:          #DCD3C3;  /* hairline borders */
  --line-strong:   #C8BCA6;  /* hairlines that must read on --surface-sunk */
  --accent:        #34433A;  /* deep refined green — primary accent */
  --accent-hover:  #283429;
  --on-accent:     #F5F1EA;
  /* Brand mark facets — bright face + deep face. Both are mid-luminance golds,
     so the mark reads on the bone header and the ink footer without a per-theme
     swap. Decorative, so they don't answer to the text-contrast rules. */
  --mark-hi:       #C6A468;
  --mark-lo:       #8C7043;

  --gold:          #A98B5D;  /* metallic — decorative only (rules, marks, borders) */
  --gold-dark:     #745D3A;  /* the gold used for TEXT: 5.58:1 on --bg, 5.01:1 on
                                --surface-sunk. #8A6F45 read nicer but landed at
                                4.2:1 and failed AA on both. */
  --danger:        #7A2E22;  /* form errors — warm, not fire-engine red */
  --focus:         #34433A;

  /* Dark luxe — the one dramatic section + final CTA */
  --d-bg:          #14110D;
  --d-surface:     #1C1813;
  --d-ink:         #F1EBDF;
  --d-ink-soft:    #C9C0B0;
  --d-ink-muted:   #948A79;
  --d-line:        #332C22;
  --d-accent:      #C7A06A;

  /* ---- Typography ----
     One family, two roles. A display serif was tried and rejected: high stroke
     contrast costs legibility, and the premium fintech reference set (Ramp,
     Linear, Vercel, Mercury) sets headlines in a grotesque anyway — their
     confidence comes from size, tight leading and negative tracking, not from a
     decorative face. The luxury here is carried by the photography and the
     palette, so the type is free to just be readable. */
  --font-display: 'Geist', system-ui, -apple-system, sans-serif;
  --font-body:    'Geist', system-ui, -apple-system, sans-serif;

  --step--2: clamp(0.72rem, 0.70rem + 0.10vw, 0.79rem);
  --step--1: clamp(0.83rem, 0.80rem + 0.15vw, 0.94rem);
  --step-0:  clamp(1.00rem, 0.95rem + 0.25vw, 1.13rem);
  --step-1:  clamp(1.25rem, 1.15rem + 0.50vw, 1.50rem);
  --step-2:  clamp(1.56rem, 1.40rem + 0.85vw, 2.00rem);
  --step-3:  clamp(1.95rem, 1.70rem + 1.30vw, 2.67rem);
  --step-4:  clamp(2.44rem, 2.05rem + 2.00vw, 3.55rem);
  --step-5:  clamp(3.05rem, 2.45rem + 3.05vw, 4.74rem);
  --step-6:  clamp(3.81rem, 2.85rem + 4.80vw, 6.31rem);

  /* Measured against Linear / Vercel / Ramp / Mercury: premium display type sets
     at line-height 1.0 with negative tracking; body stays at normal tracking. */
  --leading-tight: 1.0;
  --leading-snug:  1.2;
  --leading-body:  1.6;
  --tracking-tight: -0.035em;  /* display only — body stays at normal */
  --tracking-wide:  0.12em;
  /* Intermediate variable weights, never round ones — the strongest "expensive"
     tell measured across premium sites (Linear h1 510, Mercury h1 480). */
  --w-display: 500;
  --w-wordmark: 500;

  /* ---- Spacing ---- */
  --space-1: 0.25rem; --space-2: 0.5rem;  --space-3: 0.75rem;
  --space-4: 1rem;    --space-5: 1.5rem;  --space-6: 2rem;
  --space-7: 3rem;    --space-8: 4rem;    --space-9: 6rem;
  --section-y: clamp(4.5rem, 3rem + 7vw, 10rem);
  --gutter:    clamp(1.25rem, 0.5rem + 3vw, 3rem);
  --measure:   68ch;
  --maxw:      1240px;

  /* ---- Radii — small and sharp reads premium ---- */
  --radius-sm: 2px; --radius: 6px; --radius-lg: 14px;

  /* ---- Shadows — one soft warm layer, never heavy ---- */
  --shadow-sm: 0 1px 2px rgba(28,24,19,0.04), 0 2px 6px rgba(28,24,19,0.05);
  --shadow:    0 6px 24px rgba(28,24,19,0.07), 0 2px 8px rgba(28,24,19,0.05);
  --shadow-lg: 0 24px 60px rgba(28,24,19,0.12);

  /* ---- Motion ---- */
  --ease:      cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-1: 200ms; --dur-2: 450ms; --dur-3: 750ms;

  --header-h: 72px;
}

/* ==========================================================================
   Reset & base
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--space-4));
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: var(--leading-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, picture, svg { display: block; max-width: 100%; }

button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: var(--w-display);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  text-wrap: balance;
}

p { text-wrap: pretty; }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}
/* The green --focus ring is ~1.8:1 on the near-black sections — invisible. On any
   dark ground, switch to the gold accent (~7.8:1). */
.section--dark :focus-visible,
.footer :focus-visible,
.showcase :focus-visible {
  outline-color: var(--d-accent);
}
/* The compare scroller is keyboard-scrollable, so its focus must read. */
.compare-wrap:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

::selection { background: var(--accent); color: var(--on-accent); }

/* Page-wide film grain — depth instead of flat colour blocks. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ==========================================================================
   Layout primitives
   ========================================================================== */

.shell {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); position: relative; }
.section--sunk { background: var(--surface-sunk); }
.section--dark { background: var(--d-bg); color: var(--d-ink); }

.skip-link {
  position: absolute;
  top: -100px;
  left: var(--gutter);
  z-index: 100;
  background: var(--accent);
  color: var(--on-accent);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius);
  transition: top var(--dur-1) var(--ease);
}
.skip-link:focus { top: var(--space-4); }

/* ---- Eyebrow ---- */
.eyebrow {
  display: block;
  font-size: var(--step--1);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold-dark);
  margin-bottom: var(--space-5);
}
.section--dark .eyebrow { color: var(--d-accent); }
/* The showcase sits on a near-black photo but isn't .section--dark; its gold-dark
   eyebrow reads muddy (~2.5:1). Use the light gold. */
.showcase .eyebrow { color: var(--d-accent); }

/* A hairline + eyebrow together — the recurring section mark. */
.eyebrow--ruled {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.eyebrow--ruled::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
  max-width: 120px;
}
.section--dark .eyebrow--ruled::after { background: var(--d-line); }

.lede {
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 54ch;
}
.section--dark .lede { color: var(--d-ink-soft); }

.prose { max-width: var(--measure); color: var(--ink-soft); }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 48px;
  padding: 0.9em 1.6em;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: var(--step-0);
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--dur-1) var(--ease),
              color var(--dur-1) var(--ease),
              border-color var(--dur-1) var(--ease),
              transform var(--dur-1) var(--ease),
              box-shadow var(--dur-1) var(--ease);
}

/* Flat solid fill, no gradient, no shadow — every premium CTA measured had
   box-shadow: none. The lift-and-shadow button is a cheap tell. */
.btn--primary {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: none;
}
.btn--primary:hover { background: var(--accent-hover); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover { border-color: var(--ink); background: rgba(28,24,19,0.03); }

.section--dark .btn--primary { background: var(--d-accent); color: var(--d-bg); }
.section--dark .btn--primary:hover { background: #D8B27C; }

.btn--sm { min-height: 44px; padding: 0.6em 1.1em; font-size: var(--step--1); }

.btn[disabled] { opacity: 0.5; cursor: not-allowed; transform: none; }

/* Quiet secondary action — a link whose underline draws in on hover. */
.link-quiet {
  display: inline-flex;
  align-items: center;
  min-height: 44px; /* comfortable tap target, not just a text run */
  gap: var(--space-2);
  font-weight: 500;
  text-decoration: none;
  color: var(--ink-soft);
  background-image: linear-gradient(var(--ink), var(--ink));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 1px;
  transition: background-size var(--dur-2) var(--ease), color var(--dur-1) var(--ease);
  padding-bottom: 2px;
}
.link-quiet:hover { color: var(--ink); background-size: 100% 1px; }

/* ==========================================================================
   Header
   ========================================================================== */

.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background var(--dur-1) var(--ease),
              border-color var(--dur-1) var(--ease),
              backdrop-filter var(--dur-1) var(--ease);
  border-bottom: 1px solid transparent;
}
.header.is-stuck {
  background: rgba(245, 241, 234, 0.86);
  backdrop-filter: blur(12px) saturate(1.2);
  border-bottom-color: var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  width: 100%;
}

/* The lockup: mark + wordmark. The link carries the tap target. */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  min-height: 44px;
  text-decoration: none;
  color: var(--ink);
}
.brand__mark {
  width: 1.35em;
  height: 1.35em;
  flex-shrink: 0;
  /* A hair of rotation so the spark reads as struck, not as a stamped icon. */
  transform: rotate(-8deg);
  transition: transform var(--dur-2) var(--ease);
}
.brand:hover .brand__mark { transform: rotate(0deg); }

.wordmark {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: var(--w-wordmark);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: inherit;
  padding-left: 0.22em; /* optical: compensate the tracking on the last letter */
}

/* Footer lockup sits on the dark ground; nudge the deep facet lighter so it
   doesn't vanish into the near-black. */
.brand--footer { color: var(--d-ink); }
.brand--footer .brand__mark { --mark-lo: #A07E48; }

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}
.nav__link {
  font-size: var(--step--1);
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color var(--dur-1) var(--ease);
}
.nav__link:hover { color: var(--ink); }

@media (max-width: 860px) {
  .nav { display: none; }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  padding-top: calc(var(--header-h) + clamp(2.5rem, 1rem + 6vw, 6rem));
  padding-bottom: var(--section-y);
  position: relative;
  overflow: hidden;
}

/* Soft warm radial — atmosphere, not a gradient blob. */
.hero::after {
  content: '';
  position: absolute;
  top: -20%; right: -10%;
  width: 70vw; height: 70vw;
  max-width: 900px; max-height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(169,139,93,0.10) 0%, rgba(169,139,93,0) 68%);
  pointer-events: none;
  z-index: 0;
}

.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: center;
}

.hero__title {
  font-size: var(--step-5);
  margin-bottom: var(--space-5);
}
/* The emphasis a serif would carry with an italic, a grotesque carries with the
   accent — the one place the accent appears outside a button. */
.hero__title em {
  font-style: normal;
  color: var(--accent);
}

.hero__sub {
  font-size: var(--step-1);
  line-height: 1.45;
  color: var(--ink-soft);
  max-width: 46ch;
  margin-bottom: var(--space-7);
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  flex-wrap: wrap;
  margin-bottom: var(--space-6);
}

.hero__figure { position: relative; }
.hero__img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: var(--space-6); }
  /* The photo used to lead here and ate half the first screen, pushing the offer
     and the CTA below the fold. On a phone the first thing has to be the claim;
     the card is the reward for reading it. */
  .hero__figure {
    order: 0;
    max-width: 360px;
    margin-inline: auto;
  }
  .hero { padding-top: calc(var(--header-h) + 2rem); }
  .hero__sub { margin-bottom: var(--space-5); }
  .hero__actions { margin-bottom: var(--space-4); }
  .hero__bullets { margin-bottom: var(--space-2); }
}

/* Inline trust bullets under the CTA — hairline-separated, never checkmark emoji. */
.hero__bullets {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-4);
  font-size: var(--step--1);
  color: var(--ink-muted);
}
.hero__bullets li { display: flex; align-items: center; gap: var(--space-4); }
.hero__bullets li:not(:last-child)::after {
  content: '';
  width: 1px;
  height: 12px;
  background: var(--line-strong);
}

/* ==========================================================================
   Footnote markers — visible legal markers read as legitimate, not as clutter
   ========================================================================== */

.fn {
  font-size: 0.62em;
  vertical-align: super;
  line-height: 0;
  margin-left: 0.15em;
  color: var(--gold-dark);
  text-decoration: none;
  font-weight: 600;
  font-variant-numeric: lining-nums;
}
.fn:hover { text-decoration: underline; }

.notes {
  margin: 0 0 var(--space-7);
  padding: var(--space-6) 0 0;
  border-top: 1px solid var(--d-line);
  list-style: decimal;
  padding-left: 1.2em;
  display: grid;
  gap: var(--space-3);
  font-size: var(--step--2);
  color: var(--d-ink-muted);
  line-height: 1.6;
  max-width: 92ch;
}
.notes a { color: var(--d-ink-soft); }
.notes li::marker { color: var(--d-accent); }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   The honest caveat — the page's conscience, so it gets its own weight
   ========================================================================== */

.honest {
  margin-top: clamp(2.5rem, 1.5rem + 3vw, 4rem);
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  border-left: 2px solid var(--gold);
  background: rgba(169, 139, 93, 0.06);
  border-radius: 0 var(--radius) var(--radius) 0;
  max-width: 74ch;
}
.honest__title {
  font-size: var(--step-1);
  margin-bottom: var(--space-4);
}
.honest__body { color: var(--ink-soft); }
.honest__body + .honest__body { margin-top: var(--space-3); }

/* ==========================================================================
   Queue explainer
   ========================================================================== */

.queue {
  list-style: none;
  padding: 0;
  margin-top: var(--space-7);
  border-top: 1px solid var(--line-strong);
}
.queue__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-4);
  border-bottom: 1px solid var(--line-strong);
  font-size: var(--step--1);
}
.queue__k { font-weight: 600; font-variant-numeric: tabular-nums; }
.queue__v { color: var(--ink-muted); text-align: right; }
.queue__row--hi .queue__k { color: var(--accent); }
.queue__row--hi .queue__v { color: var(--accent); font-weight: 600; }

/* The no-device gate — a refusal, styled as one. */
.gate-note {
  padding: var(--space-4) var(--space-5);
  border-left: 2px solid var(--danger);
  background: rgba(122, 46, 34, 0.05);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: var(--space-5);
  font-size: var(--step--1);
  color: var(--ink-soft);
}

/* Not a refusal and not an error — an expectation being set. */
.note-soft {
  padding: var(--space-4) var(--space-5);
  border-left: 2px solid var(--gold);
  background: rgba(169, 139, 93, 0.07);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: var(--space-5);
  font-size: var(--step--1);
  color: var(--ink-soft);
}

/* Submit-level failure. Must never be mistaken for the success panel. */
.form-error {
  padding: var(--space-4) var(--space-5);
  border-left: 2px solid var(--danger);
  background: rgba(122, 46, 34, 0.07);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: var(--space-5);
  font-size: var(--step--1);
  color: var(--danger);
  font-weight: 500;
}

/* ==========================================================================
   Trust strip — hardware wallets
   ========================================================================== */

.trust {
  padding-block: var(--space-7);
  border-block: 1px solid var(--line);
}
.trust__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  gap: var(--space-3) clamp(1.5rem, 0.5rem + 3vw, 3rem);
}
.trust__label {
  font-size: var(--step--2);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 600;
  white-space: nowrap;
}
.trust__list {
  display: flex;
  align-items: baseline;
  gap: clamp(0.75rem, 0.3rem + 1.6vw, 1.75rem);
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
}
/* This is the entry requirement, so it is set at ink weight like a spec — as
   tertiary grey at body size it read as a photo caption and got skipped. */
.trust__item {
  font-size: var(--step-1);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.015em;
}
/* No vertical dividers between items: an absolutely-positioned separator orphans
   at the start of every wrapped row. The generous gap carries the separation, and
   the strip reads as a clean spec list. */
.trust__foot {
  grid-column: 2;
  font-size: var(--step--1);
  color: var(--ink-muted);
}
@media (max-width: 640px) {
  .trust__inner { grid-template-columns: 1fr; }
  .trust__foot { grid-column: 1; }
}

/* ==========================================================================
   Section heading block
   ========================================================================== */

.head {
  max-width: 62ch;
  margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4.5rem);
}
.head__title {
  font-size: var(--step-4);
  margin-bottom: var(--space-5);
}

/* ==========================================================================
   Steps — hairline rows with display numerals (never icon cards)
   ========================================================================== */

.steps {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0;
}
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.25rem, 0.5rem + 3vw, 3rem);
  padding-block: clamp(1.75rem, 1rem + 2vw, 2.75rem);
  border-top: 1px solid var(--line);
  align-items: start;
}
.step:last-child { border-bottom: 1px solid var(--line); }
.section--sunk .step { border-color: var(--line-strong); }

.step__num {
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 300;
  color: var(--gold-dark);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  min-width: 2.5ch;
}
.step__title {
  font-size: var(--step-2);
  margin-bottom: var(--space-3);
}
.step__body { color: var(--ink-soft); max-width: 58ch; }
.step__body + .step__body { margin-top: var(--space-3); }

/* ==========================================================================
   Exhibits — the competitors' own documents.
   Deliberately NOT the numbered-step device: these are three parallel pieces of
   evidence, not an ordered process. Each is set like a filed document — source
   in the margin, quote in the body, link to the original.
   ========================================================================== */

.exhibits { list-style: none; padding: 0; display: grid; gap: 0; }

.exhibit {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) minmax(0, 3fr);
  gap: clamp(1.25rem, 0.5rem + 3vw, 3.5rem);
  padding-block: clamp(2rem, 1rem + 2.5vw, 3.25rem);
  border-top: 1px solid var(--line);
  align-items: start;
}
.exhibit:last-child { border-bottom: 1px solid var(--line); }

.exhibit__src {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  position: sticky;
  top: calc(var(--header-h) + var(--space-5));
}
.exhibit__co {
  font-size: var(--step-0);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.exhibit__doc {
  font-size: var(--step--2);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 500;
}
/* The one competitor we're not attacking gets a gold rule instead of the
   default hairline — the page should look different when it's being fair. */
.exhibit--fair .exhibit__co { color: var(--gold-dark); }

.exhibit__title {
  font-size: var(--step-2);
  margin-bottom: var(--space-4);
  max-width: 24ch;
}

/* Quotes are the evidence, so they read as quoted material, not as prose. */
.exhibit q, .honest q, .compare q {
  quotes: '“' '”' '‘' '’';
  font-style: italic;
  color: var(--ink);
}

.source {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--space-2) var(--space-4);
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid var(--line);
  font-size: var(--step--2);
  color: var(--ink-muted);
}
.source a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(52, 67, 58, 0.3);
  padding-bottom: 1px;
  transition: border-color var(--dur-1) var(--ease);
}
.source a:hover { border-bottom-color: var(--accent); }

@media (max-width: 760px) {
  .exhibit { grid-template-columns: 1fr; gap: var(--space-4); }
  .exhibit__src {
    position: static;
    flex-direction: row;
    align-items: baseline;
    gap: var(--space-3);
  }
  .exhibit__doc::before { content: '· '; }
}

/* ==========================================================================
   Editorial split rows — text one side, visual the other
   ========================================================================== */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 1rem + 5vw, 6rem);
  align-items: center;
}
/* When the right column is a tall panel, centring floats it above the heading it
   belongs to — top-align instead. */
.split--top { align-items: start; }
.split__media img { width: 100%; height: auto; border-radius: var(--radius-lg); }
/* Consistent gap between stacked prose paragraphs (replaces one-off inline margins). */
.split .prose + .prose { margin-top: var(--space-4); }

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: var(--space-7); }
}

/* ==========================================================================
   Dark showcase strip
   ========================================================================== */

.showcase {
  position: relative;
  background: var(--d-bg);
  color: var(--d-ink);
  overflow: hidden;
  isolation: isolate;
}
/* Layer order matters: `isolation: isolate` above creates a stacking context, so a
   negative z-index here would drop the photo behind the section's own background
   and render it invisible. Stack upward from 0 instead. */
.showcase__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
  z-index: 0;
}
.showcase::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  /* Keep the left third legible for the overlaid line without flattening the image. */
  background: linear-gradient(100deg, rgba(20,17,13,0.95) 0%, rgba(20,17,13,0.82) 34%, rgba(20,17,13,0.28) 62%, rgba(20,17,13,0.05) 100%);
}
.showcase__inner {
  position: relative;
  z-index: 2;
  min-height: clamp(420px, 46vw, 620px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: var(--space-9);
}
.showcase__title {
  font-size: var(--step-4);
  max-width: 15ch;
  margin-bottom: var(--space-5);
  color: var(--d-ink);
}
.showcase__body { color: var(--d-ink-soft); max-width: 42ch; }

@media (max-width: 700px) {
  .showcase::after {
    background: linear-gradient(180deg, rgba(20,17,13,0.94) 0%, rgba(20,17,13,0.86) 55%, rgba(20,17,13,0.62) 100%);
  }
  .showcase__img { object-position: 62% center; }
}

/* ==========================================================================
   Tier panels
   ========================================================================== */

.tiers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 0.5rem + 3vw, 3rem);
  align-items: stretch;  /* equal panels, so the two CTAs land on one line */
}

.tier {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 1rem + 2vw, 2.75rem);
  display: flex;
  flex-direction: column;
  height: 100%;
}
/* The highlighted tier gets a thin accent rule — never a giant coloured card. */
.tier--featured {
  border-top: 2px solid var(--gold);
  box-shadow: var(--shadow);
}

.tier__label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}
.tier__name {
  font-size: var(--step-2);
}
.tier__tag {
  font-size: var(--step--2);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold-dark);
  white-space: nowrap;
}
.tier__price {
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-variant-numeric: tabular-nums;
  margin-bottom: var(--space-2);
}
.tier__price small {
  font-family: var(--font-body);
  font-size: var(--step--1);
  color: var(--ink-muted);
  font-weight: 500;
  letter-spacing: 0;
}
.tier__gate {
  font-size: var(--step--1);
  color: var(--ink-muted);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--line);
  margin-bottom: var(--space-5);
}

.spec {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-6);
  display: grid;
  gap: 0;
}
.spec__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-3);
  border-bottom: 1px solid var(--line);
  font-size: var(--step--1);
}
.spec__row:last-child { border-bottom: none; }
.spec__k { color: var(--ink-muted); }
.spec__v {
  font-weight: 600;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.tier__cta { margin-top: auto; }

@media (max-width: 860px) {
  .tiers { grid-template-columns: 1fr; }
}

/* Card visuals inside the tier panels. A card product with no picture of a card
   in the section called "The cards" was a real omission. */
/* Both shots share one frame ratio. Inconsistent image treatment across two
   panels sitting side by side is the loudest amateur tell there is. */
.tier__shot {
  margin: calc(clamp(1.75rem, 1rem + 2vw, 2.75rem) * -1);
  margin-bottom: var(--space-6);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  background: var(--surface-sunk);
  aspect-ratio: 16 / 11;
}
.tier__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;  /* master is pre-cropped to this slot's ratio */
  display: block;
}

.tier__shot--virtual {
  display: grid;
  place-items: center;
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  background: linear-gradient(160deg, #EFE9DC 0%, #E3DACA 100%);
}

/* The virtual card face, drawn to match the machined object it mirrors. */
.vcard {
  width: 100%;
  max-width: 300px;
  aspect-ratio: 1.586;  /* ISO/IEC 7810 ID-1 — the real card ratio */
  border-radius: 12px;
  padding: clamp(0.9rem, 0.5rem + 1.2vw, 1.25rem);
  display: grid;
  grid-template-rows: auto 1fr auto;
  background:
    radial-gradient(120% 140% at 78% 8%, rgba(199,160,106,0.16) 0%, rgba(199,160,106,0) 52%),
    linear-gradient(158deg, #2A2620 0%, #14110D 58%, #1C1813 100%);
  box-shadow:
    inset 0 0 0 1px rgba(199,160,106,0.28),
    0 18px 40px rgba(28,24,19,0.28);
  color: var(--d-ink);
}
.vcard__mark {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--d-accent);
}
.vcard__chip {
  align-self: center;
  justify-self: start;
  width: 30px;
  height: 23px;
  border-radius: 4px;
  background: linear-gradient(145deg, #D8B27C 0%, #A98B5D 48%, #C7A06A 100%);
  position: relative;
  overflow: hidden;
}
/* The chip's contact pads, drawn rather than faked with a texture. */
.vcard__chip::before,
.vcard__chip::after {
  content: '';
  position: absolute;
  background: rgba(20, 17, 13, 0.42);
}
.vcard__chip::before { left: 0; right: 0; top: 50%; height: 1px; }
.vcard__chip::after  { top: 0; bottom: 0; left: 33%; width: 1px; box-shadow: 11px 0 0 rgba(20,17,13,0.42); }

.vcard__foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-3);
}
.vcard__dots {
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: var(--d-ink-muted);
  font-variant-numeric: tabular-nums;
}
.vcard__tag {
  font-size: 0.62rem;  /* was 0.55rem — under the legibility floor */
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--d-ink-muted);
}

/* ==========================================================================
   Full-width image anchor
   ========================================================================== */

.anchor {
  margin-top: clamp(2.5rem, 1.5rem + 3vw, 4rem);
}
.anchor img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
}
.anchor__cap {
  margin-top: var(--space-4);
  font-size: var(--step--2);
  color: var(--ink-muted);
  max-width: 52ch;
}

/* ==========================================================================
   Comparison table
   ========================================================================== */

/* The table scrolls inside its own box — the page never scrolls sideways.
   Two things make that survive on a phone: the row label column is sticky, so a
   scrolled-away figure still says what it measures; and the FLINT column sits
   immediately beside it, so the first thing in view is never a competitor's. */
.compare-scroller {
  position: relative;
}
.compare-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  scroll-snap-type: x proximity;
}

.compare {
  width: 100%;
  min-width: 720px;
  border-collapse: separate;  /* sticky cells need separate borders to paint */
  border-spacing: 0;
  font-size: var(--step--1);
}
.compare th, .compare td {
  padding: var(--space-4) var(--space-4);
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
  scroll-snap-align: start;
}

.compare tbody th[scope='row'],
.compare thead th:first-child {
  position: sticky;
  left: 0;
  z-index: 2;
  background: var(--surface);
  /* Hairline that stays put while the figures slide under it. */
  box-shadow: 1px 0 0 var(--line);
}
.compare thead th:first-child { z-index: 3; }

/* The scroll affordance: a fade at the right edge, shown only while there is more
   to scroll to. It defaults to OFF — JS turns it on — so that with JS disabled
   (this page's stated audience) it never sits over and washes out the last column. */
.compare-scroller::after {
  content: '';
  position: absolute;
  top: 1px; right: 1px; bottom: 1px;
  width: 56px;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(251,249,245,0) 0%, rgba(251,249,245,0.92) 78%);
  opacity: 0;
  transition: opacity var(--dur-2) var(--ease);
}
.compare-scroller[data-scrolled='more']::after { opacity: 1; }

.compare-hint {
  display: none;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-3);
  font-size: var(--step--2);
  color: var(--ink-muted);
}
@media (max-width: 860px) {
  .compare-hint { display: flex; }
}
.compare thead th {
  font-family: var(--font-body);
  font-size: var(--step--2);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 600;
  white-space: nowrap;
}
.compare tbody th {
  font-weight: 500;
  color: var(--ink-soft);
  white-space: nowrap;
}
.compare__us {
  background: rgba(52,67,58,0.04);
  border-left: 2px solid var(--accent);
  border-right: 1px solid var(--line);
  font-weight: 600;
  color: var(--ink);
}
.compare thead .compare__us {
  color: var(--accent);
  font-weight: 600;  /* the token scale tops out at 600 — no lone 700 */
}
.compare tr:last-child td, .compare tr:last-child th { border-bottom: none; }
.compare td { color: var(--ink-soft); font-variant-numeric: tabular-nums; }

.compare__note {
  font-size: var(--step--2);
  color: var(--ink-muted);
  margin-top: var(--space-4);
  max-width: var(--measure);
}

/* ==========================================================================
   Waitlist form
   ========================================================================== */

.form-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 1rem + 2.5vw, 3rem);
}

.field { margin-bottom: var(--space-5); }
.field__label {
  display: block;
  font-size: var(--step--1);
  font-weight: 600;
  margin-bottom: var(--space-2);
}
.field__hint {
  font-size: var(--step--2);
  color: var(--ink-muted);
  font-weight: 400;
  margin-left: var(--space-2);
}

.input, .select {
  width: 100%;
  min-height: 48px;
  padding: var(--space-3) var(--space-4);
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  transition: border-color var(--dur-1) var(--ease), box-shadow var(--dur-1) var(--ease);
}
.input:hover, .select:hover { border-color: var(--ink-muted); }
.input:focus, .select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(52,67,58,0.14);
}
.input[aria-invalid='true'] { border-color: var(--danger); }

.select {
  appearance: none;
  cursor: pointer;
  /* Chevron drawn inline so there is no extra request and it recolours with ink. */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8' fill='none'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%236F6558' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-4) center;
  padding-right: var(--space-8);
}

.field__error {
  display: block;
  font-size: var(--step--2);
  color: var(--danger);
  margin-top: var(--space-2);
  min-height: 1.2em;
}

.row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}
@media (max-width: 600px) { .row-2 { grid-template-columns: 1fr; } }

/* Balance tier — segmented radio group, not a dropdown. It is the qualifying
   question, so it must be visible and comparable at a glance. */
.tiers-radio {
  display: grid;
  gap: var(--space-3);
  border: none;
  padding: 0;
  margin: 0 0 var(--space-5);
}
.tiers-radio legend {
  font-size: var(--step--1);
  font-weight: 600;
  margin-bottom: var(--space-3);
  padding: 0;
}
.tier-opt { position: relative; display: block; cursor: pointer; }
.tier-opt input {
  position: absolute;
  opacity: 0;
  width: 100%; height: 100%;
  margin: 0;
  cursor: pointer;
}
.tier-opt__face {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 56px;
  padding: var(--space-3) var(--space-4);
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  transition: border-color var(--dur-1) var(--ease),
              background var(--dur-1) var(--ease);
}
.tier-opt:hover .tier-opt__face { border-color: var(--ink-muted); }
.tier-opt input:focus-visible + .tier-opt__face {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}
.tier-opt input:checked + .tier-opt__face {
  border-color: var(--accent);
  background: rgba(52,67,58,0.05);
  box-shadow: inset 0 0 0 1px var(--accent);
}
.tier-opt__k { font-weight: 600; font-variant-numeric: tabular-nums; }
.tier-opt__v {
  font-size: var(--step--2);
  color: var(--ink-muted);
  text-align: right;
}
.tier-opt input:checked + .tier-opt__face .tier-opt__v { color: var(--accent); font-weight: 600; }

.form-foot {
  font-size: var(--step--2);
  color: var(--ink-muted);
  margin-top: var(--space-4);
  max-width: 52ch;
}

/* Success state */
.form-done { text-align: left; }
.form-done__num {
  font-family: var(--font-display);
  font-size: var(--step-6);
  line-height: 1;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  margin-bottom: var(--space-4);
}
.form-done__label {
  font-size: var(--step--1);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 600;
  margin-bottom: var(--space-5);
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  padding-block: var(--space-5);
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-size: var(--step-1);
  font-weight: 500;
  color: var(--ink);
  transition: color var(--dur-1) var(--ease);
}
.faq__q:hover { color: var(--accent); }
.faq__icon {
  flex-shrink: 0;
  width: 20px; height: 20px;
  position: relative;
}
.faq__icon::before, .faq__icon::after {
  content: '';
  position: absolute;
  background: currentColor;
  transition: transform var(--dur-2) var(--ease), opacity var(--dur-2) var(--ease);
}
.faq__icon::before { top: 50%; left: 0; width: 100%; height: 1.5px; transform: translateY(-50%); }
.faq__icon::after  { left: 50%; top: 0; height: 100%; width: 1.5px; transform: translateX(-50%); }
.faq__q[aria-expanded='true'] .faq__icon::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }

.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--dur-2) var(--ease);
}
.faq__a[data-open='true'] { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p {
  color: var(--ink-soft);
  max-width: var(--measure);
  padding-bottom: var(--space-5);
  padding-right: var(--space-6);
}
.faq__a p + p { padding-top: var(--space-3); }

/* ==========================================================================
   Final CTA (dark)
   ========================================================================== */

.final { text-align: left; }
.final__title {
  font-size: var(--step-4);
  color: var(--d-ink);
  max-width: 18ch;
  margin-bottom: var(--space-5);
}
.final__body { color: var(--d-ink-soft); max-width: 48ch; margin-bottom: var(--space-7); }

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: var(--d-bg);
  color: var(--d-ink-soft);
  border-top: 1px solid var(--d-line);
  padding-block: var(--space-8) var(--space-9);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: var(--space-7);
  margin-bottom: var(--space-8);
}
.footer .wordmark { color: var(--d-ink); }
.footer__blurb {
  font-size: var(--step--1);
  color: var(--d-ink-muted);
  max-width: 32ch;
  margin-top: var(--space-4);
}
.footer__mark {
  width: 28px; height: 1px;
  background: var(--d-accent);
  margin-top: var(--space-5);
}
.footer__h {
  font-size: var(--step--2);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--d-ink-muted);
  font-weight: 600;
  margin-bottom: var(--space-4);
}
.footer__list { list-style: none; padding: 0; display: grid; }
.footer__list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px; /* these sit in a list, so each needs a real tap target */
  font-size: var(--step--1);
  color: var(--d-ink-soft);
  text-decoration: none;
  transition: color var(--dur-1) var(--ease);
}
.footer__list a:hover { color: var(--d-ink); }
/* Pre-launch legal items that aren't links yet — stated, not faked. */
.footer__soon {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: var(--step--1);
  color: var(--d-ink-muted);
}
.footer__bar {
  display: flex;
  justify-content: space-between;
  gap: var(--space-5);
  flex-wrap: wrap;
  padding-top: var(--space-6);
  border-top: 1px solid var(--d-line);
  font-size: var(--step--2);
  color: var(--d-ink-muted);
}
.footer__legal { max-width: 78ch; line-height: 1.6; }

@media (max-width: 800px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--space-6); }
}
@media (max-width: 520px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Motion — one orchestrated reveal, honoured only when motion is welcome
   ========================================================================== */

/* One orchestrated reveal. --d staggers members of a group (hero: 0/80/160/240ms);
   scroll-triggered blocks inherit the 0ms default and simply fade up on entry.
   Scoped to .js — the inline head script adds it — so that with JS off nothing is
   ever hidden in the first place. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
}
.js .is-revealed[data-reveal] {
  opacity: 1;
  transform: none;
  transition: opacity var(--dur-3) var(--ease) var(--d, 0ms),
              transform var(--dur-3) var(--ease) var(--d, 0ms);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}
