/* =========================================================================
   TOESY — waitlist landing
   Aesthetic: clean toy-precise light · warm near-white · spring-green accent
   Display: Bricolage Grotesque · Body: Geist · Numerals: Geist Mono
   ========================================================================= */

/* ----------------------------------------------------------------- tokens */
:root {
  --bg:        #FBFBF9;
  --bg-2:      #F1F1EA;
  --ink:       #0B0B0B;
  --ink-2:     #57574F;
  --ink-3:     #8A8A80;
  --line:      rgba(11, 11, 11, 0.10);
  --line-2:    rgba(11, 11, 11, 0.06);
  --card:      #FFFFFF;

  --accent:    #16E07A;   /* spring green — scan / certified */
  --accent-d:  #0FB763;   /* gradients / borders only (not text on light) */
  --accent-text:#0B6E3A;  /* AA-contrast green for text on near-white */
  --accent-ink:#04130A;
  --accent-wash:#E7FBF0;

  --cooked:    #FF4D4D;
  --mid:       #FFC53D;
  --certified: #16E07A;

  --font-display: "Bricolage Grotesque", "Geist", system-ui, sans-serif;
  --font-body:    "Geist", system-ui, -apple-system, sans-serif;
  --font-mono:    "Geist Mono", ui-monospace, "SF Mono", monospace;

  --r:    16px;
  --r-lg: 30px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(11,11,11,.06), 0 6px 16px -8px rgba(11,11,11,.16);
  --shadow-lg: 0 30px 60px -24px rgba(11,11,11,.30), 0 8px 20px -12px rgba(11,11,11,.18);
  --shadow-phone: 0 40px 80px -30px rgba(11,11,11,.45), 0 12px 28px -16px rgba(11,11,11,.30);

  --maxw: 1180px;
}

/* ------------------------------------------------------------------ reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
input { font: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

.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;
}
/* honeypot — off-screen, never shown to real users */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* film grain over everything for tactile depth */
.grain {
  position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  opacity: .035; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ------------------------------------------------------------- typography */
h1, h2, h3 { font-family: var(--font-display); font-weight: 800; letter-spacing: -.02em; line-height: .98; }
.kicker {
  display: inline-block; font-family: var(--font-mono); font-size: .74rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3);
  margin-bottom: 1.1rem;
}
.kicker--light { color: rgba(255,255,255,.55); }
.section-head { max-width: 720px; margin: 0 auto 3.2rem; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 5.2vw, 3.4rem); }
.section-lead { margin-top: 1rem; color: var(--ink-2); font-size: 1.1rem; }

/* --------------------------------------------------------------- buttons */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  padding: .92em 1.4em; border: 0; border-radius: var(--r-pill);
  white-space: nowrap; transition: transform .18s cubic-bezier(.2,.8,.2,1), box-shadow .18s, background .18s;
}
.btn--solid { background: var(--ink); color: #fff; box-shadow: var(--shadow-sm); }
.btn--solid:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn--solid:active { transform: translateY(0); }
.btn--solid .btn__arrow { transition: transform .2s; }
.btn--solid:hover .btn__arrow { transform: translateX(3px); }
.btn--ghost {
  background: transparent; color: var(--ink); padding: .6em 1.1em;
  border: 1.5px solid var(--line); border-radius: var(--r-pill); font-size: .92rem;
}
.btn--ghost:hover { border-color: var(--ink); }
.btn--block { width: 100%; justify-content: center; }
.btn[data-loading] { opacity: .65; pointer-events: none; }

/* ---------------------------------------------------------------- header */
.site-head {
  position: sticky; top: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem clamp(1rem, 4vw, 2.5rem);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.site-head.is-stuck { border-color: var(--line-2); }
.wordmark { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; letter-spacing: -.04em; }
.wordmark__mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: var(--accent); color: var(--accent-ink); box-shadow: inset 0 0 0 1px rgba(4,19,10,.12); transform: rotate(-6deg); }
.wordmark__text { line-height: 1; }

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative;
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1rem, 4vw, 2.5rem) clamp(2rem, 5vw, 3rem);
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
/* soft radial glow behind hero */
.hero::before {
  content: ""; position: absolute; z-index: -1; inset: -10% -20% auto auto;
  width: 60vw; height: 60vw; max-width: 720px; max-height: 720px;
  background: radial-gradient(circle at 70% 30%, var(--accent-wash), transparent 62%);
  filter: blur(8px);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-mono); font-size: .76rem; letter-spacing: .04em;
  text-transform: uppercase; color: var(--ink-2);
  padding: .42rem .8rem; border: 1px solid var(--line); border-radius: var(--r-pill);
  background: color-mix(in srgb, var(--card) 70%, transparent);
}
.eyebrow__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--accent); animation: pulse 2s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(22,224,122,.6)} 70%{box-shadow:0 0 0 7px rgba(22,224,122,0)} 100%{box-shadow:0 0 0 0 rgba(22,224,122,0)} }

.hero__title {
  font-size: clamp(2.9rem, 9.2vw, 5.6rem);
  margin: 1.3rem 0 1.2rem; letter-spacing: -.04em;
}
.hero__title-accent { position: relative; display: inline-block; }
.hero__title-accent::after {
  content: ""; position: absolute; left: -.04em; right: -.04em; bottom: .07em; height: .34em; z-index: -1;
  background: var(--accent); border-radius: 4px; transform: rotate(-1.2deg) scaleX(0);
  transform-origin: left; animation: swipe .7s .55s cubic-bezier(.2,.8,.2,1) forwards;
}
@keyframes swipe { to { transform: rotate(-1.2deg) scaleX(1); } }
.hero__sub { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--ink-2); max-width: 30ch; margin-bottom: 1.8rem; }
.hero__sub strong { color: var(--ink); font-weight: 600; }

/* signup form */
.signup { max-width: 460px; }
.signup__row {
  display: flex; gap: .5rem; padding: .4rem; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--r-pill); box-shadow: var(--shadow-sm);
  transition: border-color .2s, box-shadow .2s;
}
.signup__row:focus-within { border-color: var(--ink); box-shadow: var(--shadow-lg); }
.signup__input { flex: 1; min-width: 0; border: 0; background: transparent; padding: .6rem 1rem; font-size: 1rem; color: var(--ink); }
.signup__input::placeholder { color: var(--ink-3); }
.signup__input:focus-visible { outline: 0; }
.signup__row .btn { flex-shrink: 0; }
.signup__micro { margin-top: .7rem; padding-left: .4rem; font-size: .82rem; color: var(--ink-3); }
.signup__micro strong { color: var(--ink-2); font-weight: 600; }
.signup__error { margin-top: .5rem; padding-left: .4rem; font-size: .85rem; color: var(--cooked); font-weight: 500; }

/* social proof */
.proof { display: flex; align-items: center; gap: .8rem; margin-top: 1.6rem; }
.proof__avatars { display: flex; }
.proof__avatars span {
  width: 32px; height: 32px; border-radius: 50%; margin-left: -10px;
  border: 2.5px solid var(--bg); background-size: cover;
  background:
    conic-gradient(from calc(var(--i) * 78deg), #ffd6a5, #ffadad, #bdb2ff, #a0e8c8, #ffd6a5);
}
.proof__avatars span:first-child { margin-left: 0; }
.proof__count { font-size: .92rem; color: var(--ink-2); }
.proof__count strong { color: var(--ink); font-variant-numeric: tabular-nums; }

/* hero copy load stagger */
.hero__copy > * { animation: fadeUp .65s both; }
.hero__copy > .eyebrow      { animation-delay: .02s; }
.hero__copy > .hero__title  { animation-delay: .10s; }
.hero__copy > .hero__sub    { animation-delay: .20s; }
.hero__copy > .signup       { animation-delay: .30s; }
.hero__copy > .proof        { animation-delay: .40s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------------------------------------------------------- hero demo */
.hero__demo {
  position: relative; display: flex; align-items: center; justify-content: center;
  gap: clamp(.5rem, 2vw, 1rem); padding: 1rem 0;
  animation: fadeUp .8s .35s both;
}
.demo-arrow { width: clamp(56px, 8vw, 110px); color: var(--ink); flex-shrink: 0; }
.demo-arrow__line, .demo-arrow__head { stroke-dasharray: 200; stroke-dashoffset: 200; animation: draw 1s 1.1s forwards; }
.demo-arrow__head { animation-delay: 1.5s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* phones */
.phone {
  width: clamp(150px, 22vw, 230px); aspect-ratio: 9 / 19; flex-shrink: 0;
  background: #0B0B0B; border-radius: 30px; padding: 8px;
  box-shadow: var(--shadow-phone); position: relative;
}
.phone--scan   { transform: rotate(-5deg) translateY(6px); }
.phone--result { transform: rotate(5deg) translateY(-6px); z-index: 2; }
.phone__notch { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); width: 34%; height: 6px; border-radius: 4px; background: #000; z-index: 3; }
.phone__screen { width: 100%; height: 100%; border-radius: 23px; overflow: hidden; position: relative; }

/* scan screen */
.scan { background: radial-gradient(120% 80% at 50% 0%, #14171a, #0a0c0d); color: #eafff3; padding: 14px 12px; display: flex; flex-direction: column; }
.scan__top { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-mono); font-size: .58rem; letter-spacing: .1em; }
.scan__rec { display: inline-flex; align-items: center; gap: 5px; color: var(--accent); }
.scan__rec-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.scan__pct { color: #eafff3; opacity: .8; }
.scan__stage { position: relative; flex: 1; margin: 8px 0; }
.foot { position: absolute; inset: 0; width: 100%; height: 100%; }
.foot__shape { fill: rgba(22,224,122,.06); stroke: rgba(234,255,243,.45); stroke-width: 2; stroke-dasharray: 5 6; }
.foot__toe { fill: rgba(22,224,122,.10); stroke: rgba(234,255,243,.45); stroke-width: 1.6; }
.reticle { position: absolute; width: 14px; height: 14px; border: 2px solid var(--accent); }
.reticle--tl { top: 4%; left: 6%; border-right: 0; border-bottom: 0; }
.reticle--tr { top: 4%; right: 6%; border-left: 0; border-bottom: 0; }
.reticle--bl { bottom: 4%; left: 6%; border-right: 0; border-top: 0; }
.reticle--br { bottom: 4%; right: 6%; border-left: 0; border-top: 0; }
.scanline {
  position: absolute; left: 4%; right: 4%; top: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  box-shadow: 0 0 14px 2px rgba(22,224,122,.7); border-radius: 2px;
  animation: scan 2.4s cubic-bezier(.6,0,.4,1) infinite;
}
@keyframes scan { 0%{ top: 2%; opacity: 0; } 12%{ opacity: 1; } 88%{ opacity: 1; } 100%{ top: 96%; opacity: 0; } }
.landmark {
  position: absolute; left: var(--x); top: var(--y); width: 8px; height: 8px; margin: -4px;
  border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(22,224,122,.25);
  opacity: 0; animation: pop 2.4s var(--d) infinite;
}
@keyframes pop { 0%,8%{opacity:0;transform:scale(.2)} 18%{opacity:1;transform:scale(1)} 80%{opacity:1} 92%,100%{opacity:0} }
.scan__ticker { font-family: var(--font-mono); font-size: .6rem; letter-spacing: .04em; color: rgba(234,255,243,.7); text-align: center; }

/* result screen */
.result { background: #fff; color: var(--ink); padding: 16px 14px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.result__label { font-family: var(--font-mono); font-size: .56rem; letter-spacing: .2em; color: var(--ink-3); margin-top: 6px; }
.result__score { display: flex; align-items: flex-end; gap: 2px; margin: 2px 0 0; }
.result__num { font-family: var(--font-mono); font-weight: 600; font-size: clamp(2.6rem, 7vw, 3.8rem); line-height: 1; font-variant-numeric: tabular-nums; }
.result__den { font-family: var(--font-mono); font-size: .8rem; color: var(--ink-3); margin-bottom: .5rem; }
.result__tier {
  font-family: var(--font-mono); font-size: .56rem; font-weight: 600; letter-spacing: .14em;
  padding: 3px 8px; border-radius: var(--r-pill); margin: 6px 0 10px;
  background: var(--accent); color: var(--accent-ink);
}
.result__metrics { list-style: none; padding: 0; width: 100%; display: grid; gap: 6px; }
.result__metrics li { display: grid; grid-template-columns: 1fr; gap: 3px; }
.result__metrics span { font-size: .56rem; color: var(--ink-2); text-align: left; }
.result__metrics i { display: block; height: 5px; border-radius: 3px; background: var(--bg-2); overflow: hidden; }
.result__metrics b { display: block; height: 100%; width: 0; border-radius: 3px; background: var(--accent); transition: width 1s cubic-bezier(.2,.8,.2,1); }
.result__caption { font-size: .58rem; color: var(--ink-2); margin-top: 10px; }

/* --------------------------------------------------------------- marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--ink); color: #fff; padding: .9rem 0; margin-top: 1rem; }
.marquee__track { display: inline-flex; align-items: center; gap: 1.4rem; white-space: nowrap; font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; letter-spacing: -.02em; animation: scrollx 26s linear infinite; }
.marquee__track .dot { color: var(--accent); }
.marquee__track .hot { color: var(--accent); }
@keyframes scrollx { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------- sections */
section { padding: clamp(3.5rem, 9vw, 7rem) clamp(1rem, 4vw, 2.5rem); }
.how, .skip, .faq { max-width: var(--maxw); margin: 0 auto; }

/* how it works */
.how__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; max-width: 1000px; margin: 0 auto; }
.step {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 2rem 1.8rem; box-shadow: var(--shadow-sm);
  opacity: 0; transform: translateY(22px);
}
.in-view .step { animation: fadeUp .6s both; animation-delay: calc(var(--i) * .12s); }
.step__no { font-family: var(--font-mono); font-size: .82rem; color: var(--accent-text); font-weight: 600; }
.step h3 { font-size: 1.7rem; margin: .8rem 0 .5rem; }
.step p { color: var(--ink-2); font-size: 1rem; }

/* verdict */
.verdict { max-width: var(--maxw); margin: 0 auto; }
.verdict__card {
  background: var(--ink); color: #fff; border-radius: clamp(24px, 4vw, 40px);
  padding: clamp(2rem, 5vw, 4rem); display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.verdict__card::before {
  content: ""; position: absolute; right: -10%; top: -30%; width: 50%; height: 160%;
  background: radial-gradient(circle, rgba(22,224,122,.22), transparent 60%);
}
.verdict__left h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); margin-bottom: 1rem; }
.verdict__left p { color: rgba(255,255,255,.7); margin-bottom: 1.8rem; max-width: 38ch; }
.bigscore { display: flex; align-items: baseline; gap: .4rem; flex-wrap: wrap; }
.bigscore__num { font-family: var(--font-mono); font-weight: 600; font-size: clamp(5rem, 16vw, 9rem); line-height: .82; font-variant-numeric: tabular-nums; letter-spacing: -.04em; }
.bigscore__den { font-family: var(--font-mono); font-size: 1.3rem; color: rgba(255,255,255,.55); }
.bigscore__tier {
  font-family: var(--font-mono); font-size: .8rem; font-weight: 600; letter-spacing: .14em;
  padding: .35em .9em; border-radius: var(--r-pill); margin-left: .3rem;
  background: var(--accent); color: var(--accent-ink); align-self: center;
}
.bars { list-style: none; padding: 0; margin-top: 2rem; display: grid; gap: .9rem; }
.bars li { display: grid; grid-template-columns: 7.5rem 1fr 2rem; align-items: center; gap: .8rem; }
.bars span { font-size: .9rem; color: rgba(255,255,255,.65); }
.bars i { height: 8px; border-radius: 5px; background: rgba(255,255,255,.12); overflow: hidden; }
.bars b { display: block; height: 100%; width: 0; border-radius: 5px; background: linear-gradient(90deg, var(--accent-d), var(--accent)); transition: width 1.1s cubic-bezier(.2,.8,.2,1); }
.bars em { font-family: var(--font-mono); font-style: normal; font-size: .9rem; color: #fff; text-align: right; }

/* skip the line */
.skip { background: var(--bg-2); border-radius: clamp(24px,4vw,40px); margin-block: 0; }
.skip__tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; max-width: 1000px; margin: 0 auto; }
.tier {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 2rem 1.8rem; box-shadow: var(--shadow-sm); position: relative;
  opacity: 0; transform: translateY(22px);
}
.in-view .tier { animation: fadeUp .6s both; animation-delay: calc(var(--i) * .12s); }
.tier--mid { background: var(--ink); color: #fff; border-color: var(--ink); transform: translateY(22px) scale(1.03); box-shadow: var(--shadow-lg); }
.in-view .tier--mid { animation: fadeUpPop .6s both; animation-delay: calc(var(--i) * .12s); }
@keyframes fadeUpPop { from{opacity:0;transform:translateY(22px) scale(1.03)} to{opacity:1;transform:translateY(0) scale(1.03)} }
.tier__friends { display: inline-block; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); background: var(--accent); padding: .3em .8em; border-radius: var(--r-pill); margin-bottom: 1rem; }
.tier--mid .tier__friends { background: var(--accent); }
.tier h3 { font-size: 1.5rem; margin-bottom: .5rem; }
.tier p { color: var(--ink-2); font-size: .98rem; }
.tier--mid p { color: rgba(255,255,255,.7); }

/* faq */
.faq__list { max-width: 760px; margin: 0 auto; display: grid; gap: .8rem; }
.qa { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.qa[open] { box-shadow: var(--shadow-sm); border-color: var(--line); }
.qa summary {
  list-style: none; cursor: pointer; padding: 1.3rem 1.5rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font-family: var(--font-display); font-weight: 700; font-size: 1.12rem;
}
.qa summary::-webkit-details-marker { display: none; }
.qa__icon { position: relative; width: 18px; height: 18px; flex-shrink: 0; }
.qa__icon::before, .qa__icon::after { content: ""; position: absolute; background: var(--ink); border-radius: 2px; transition: transform .25s; }
.qa__icon::before { top: 8px; left: 0; width: 18px; height: 2.4px; }
.qa__icon::after  { left: 8px; top: 0; width: 2.4px; height: 18px; }
.qa[open] .qa__icon::after { transform: rotate(90deg) scaleX(0); }
.qa p { padding: 0 1.5rem 1.4rem; color: var(--ink-2); }

/* final cta */
.final { background: var(--ink); color: #fff; text-align: center; position: relative; overflow: hidden; }
.final::before { content:""; position:absolute; inset:auto 0 -40% 0; height: 80%; background: radial-gradient(circle at 50% 100%, rgba(22,224,122,.25), transparent 60%); }
.final__inner { position: relative; max-width: 640px; margin: 0 auto; }
.final h2 { font-size: clamp(2.2rem, 6vw, 4rem); margin-bottom: 2rem; }
.final .signup { margin: 0 auto; }
.final .signup__row { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); }
.final .signup__row:focus-within { border-color: #fff; }
.final .signup__input { color: #fff; }
.final .signup__input::placeholder { color: rgba(255,255,255,.45); }
.final .btn--solid { background: var(--accent); color: var(--accent-ink); }
.final .signup__micro { color: rgba(255,255,255,.5); }
.final .signup__micro strong { color: rgba(255,255,255,.8); }

/* footer */
.site-foot { max-width: var(--maxw); margin: 0 auto; padding: 3rem clamp(1rem,4vw,2.5rem) 6rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; border-top: 1px solid var(--line); }
.wordmark--foot { font-size: 1.3rem; }
.site-foot__tag { color: var(--ink-2); }
.site-foot__links { margin-left: auto; display: flex; gap: 1.5rem; font-size: .92rem; color: var(--ink-2); }
.site-foot__links a:hover { color: var(--ink); }
.site-foot__copy { width: 100%; font-size: .82rem; color: var(--ink-3); }

/* ----------------------------------------------------------- legal page */
.legal { max-width: 760px; margin: 0 auto; padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1rem, 4vw, 2.5rem) 4rem; }
.legal__back { display: inline-block; font-size: .92rem; color: var(--ink-2); margin-bottom: 1.6rem; }
.legal__back:hover { color: var(--ink); }
.legal h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); margin: .4rem 0 .4rem; }
.legal__meta { font-family: var(--font-mono); font-size: .85rem; color: var(--ink-3); margin-bottom: 2.2rem; }
.legal__intro { font-size: 1.1rem; color: var(--ink); background: var(--accent-wash); border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent); border-radius: var(--r); padding: 1.3rem 1.5rem; margin-bottom: 2.4rem; }
.legal h2 { font-size: 1.5rem; margin: 2.4rem 0 .7rem; }
.legal h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; margin: 1.5rem 0 .5rem; }
.legal p { color: var(--ink-2); margin-bottom: .9rem; line-height: 1.68; }
.legal ul { padding-left: 1.25rem; margin-bottom: 1.1rem; }
.legal li { color: var(--ink-2); margin-bottom: .5rem; line-height: 1.6; }
.legal strong { color: var(--ink); font-weight: 600; }
.legal a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 2px; }
.legal a:hover { text-decoration-thickness: 2px; }

/* sticky mobile cta */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; padding: .8rem 1rem calc(.8rem + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: blur(12px); border-top: 1px solid var(--line); display: none; }
.sticky-cta[hidden] { display: none !important; }

/* ----------------------------------------------------------- overlay */
.overlay { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 1rem; background: rgba(11,11,11,.55); backdrop-filter: blur(6px); animation: fadeIn .25s; }
.overlay[hidden] { display: none; }
@keyframes fadeIn { from { opacity: 0; } }
.overlay__card {
  position: relative; width: min(420px, 100%); background: var(--card);
  border-radius: var(--r-lg); padding: 2.4rem 2rem 1.8rem; text-align: center;
  box-shadow: var(--shadow-lg); animation: popIn .35s cubic-bezier(.2,.9,.3,1.2);
  max-height: 92vh; overflow-y: auto;
}
@keyframes popIn { from { opacity: 0; transform: translateY(20px) scale(.96); } }
.overlay__close { position: absolute; top: 1rem; right: 1.1rem; width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--bg-2); font-size: 1.3rem; line-height: 1; color: var(--ink-2); }
.overlay__close:hover { background: var(--line); }
.overlay__emoji { font-size: 2.6rem; display: block; animation: tada 1s .1s; }
@keyframes tada { 0%{transform:scale(0) rotate(-20deg)} 60%{transform:scale(1.2) rotate(8deg)} 100%{transform:scale(1) rotate(0)} }
.overlay__title { font-size: 2.2rem; margin: .4rem 0 .2rem; }
.overlay__sub { color: var(--ink-2); font-size: .95rem; }
.queue { display: flex; align-items: flex-start; justify-content: center; gap: 2px; margin: 1.2rem 0 .2rem; color: var(--accent-text); }
.queue__hash { font-family: var(--font-mono); font-size: 1.6rem; margin-top: .5rem; }
.queue__pos { font-family: var(--font-mono); font-weight: 600; font-size: clamp(3.4rem, 14vw, 4.6rem); line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.queue__ahead { color: var(--ink-2); font-size: .92rem; }
.queue__ahead strong { color: var(--ink); font-variant-numeric: tabular-nums; }

.unlock { margin: 1.6rem 0 1.2rem; padding: 1.2rem; background: var(--accent-wash); border-radius: var(--r); }
.unlock__head { font-size: .95rem; color: var(--accent-ink); margin-bottom: .8rem; }
.unlock__head strong { font-weight: 700; }
.unlock__slots { display: flex; gap: .6rem; justify-content: center; }
.slot { width: 46px; height: 46px; border-radius: 12px; background: #fff; border: 2px dashed var(--accent-d); display: grid; place-items: center; transition: transform .3s, background .3s; }
.slot.filled { background: var(--accent); border-style: solid; transform: scale(1.05); }
.slot.filled::after { content: "✓"; color: var(--accent-ink); font-weight: 700; }

.reflink { display: flex; gap: .5rem; margin-bottom: 1rem; }
.reflink__input { flex: 1; min-width: 0; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--bg-2); font-size: .85rem; color: var(--ink-2); font-family: var(--font-mono); }
.btn--copy { padding: .7em 1.2em; }
.btn--copy.copied { background: var(--accent); color: var(--accent-ink); }

.share { display: flex; gap: .6rem; }
.share__btn { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .8rem; border: 1px solid var(--line); border-radius: var(--r-pill); font-size: .88rem; font-weight: 600; transition: background .2s, border-color .2s; }
.share__btn:hover { background: var(--bg-2); border-color: var(--ink); }
.overlay__done { margin-top: 1.2rem; background: transparent; border: 0; color: var(--ink-3); font-size: .9rem; text-decoration: underline; }

/* confetti */
.confetti-piece { position: fixed; top: -12px; z-index: 300; width: 9px; height: 14px; pointer-events: none; will-change: transform, opacity; }

/* ----------------------------------------------------------- responsive */
@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; text-align: left; }
  .hero__sub { max-width: 38ch; }
  .hero__demo { order: 2; margin-top: 1rem; }
  .signup, .proof { margin-inline: 0; }
  .how__grid, .skip__tiers { grid-template-columns: 1fr; }
  .verdict__card { grid-template-columns: 1fr; }
  .verdict__right { order: -1; }
  .tier--mid, .in-view .tier--mid { transform: none; }
  @keyframes fadeUpPop { from{opacity:0;transform:translateY(22px)} to{opacity:1;transform:none} }
  .site-foot__links { margin-left: 0; width: 100%; }
  .sticky-cta { display: block; }
  .head-cta { display: none; }
}
@media (max-width: 460px) {
  .signup__row { flex-direction: column; border-radius: var(--r-lg); }
  .signup__row .btn { justify-content: center; }
  .bars li { grid-template-columns: 6rem 1fr 1.8rem; }
}

/* -------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .hero__copy > *, .hero__demo, .step, .tier { opacity: 1 !important; transform: none !important; }
  .hero__title-accent::after { transform: rotate(-1.2deg) scaleX(1); }
}
