/* Geist, self-hosted by the site in /fonts (same files as brand/templates/fonts). No Google Fonts request. */
@font-face { font-family: 'Geist'; src: url('/fonts/Geist-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Geist'; src: url('/fonts/Geist-Medium.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Geist'; src: url('/fonts/Geist-SemiBold.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Geist'; src: url('/fonts/Geist-Bold.woff2') format('woff2'); font-weight: 700 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url('/fonts/GeistMono-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url('/fonts/GeistMono-Medium.woff2') format('woff2'); font-weight: 500 700; font-style: normal; font-display: swap; }

/* 127 funnels: Founder Score, Day One Stack, Idea Test.
   Tokens mirror /brand/tokens.css so these pages work standalone (ads, bio link)
   and inside the main site. Phone first. */
:root {
  --c-void: #060607; --c-void-2: #0a0a0c; --c-carbon: #0e0e11; --c-graphite: #141418; --c-iron: #1b1b20;
  --c-line: rgba(255,255,255,.08); --c-line-strong: rgba(255,255,255,.14);
  --c-ink: #ededf2; --c-fog: #b3b3bd; --c-slate: #7b7b86;
  --c-halo: #e3e6f1; --c-halo-ink: #0a0a0c; --c-lilac: #7cebf6; --c-lilac-soft: rgba(124, 235, 246,.09);
  --c-gold: #3ee6a0; --c-signal: #7cebf6; --c-signal-soft: rgba(124, 235, 246,.1); --c-ember: #f09b8a;
  --g-steel: linear-gradient(180deg, #ffffff 0%, #c9cad3 55%, #7f808c 100%);
  --g-sheen: linear-gradient(100deg, #7d7e8a 0%, #f1f1f5 45%, #a7a1b4 100%);
  --g-glow: radial-gradient(closest-side, rgba(124, 235, 246,.16), transparent);
  --f-sans: 'Geist', 'Helvetica Neue', Helvetica, Inter, Arial, sans-serif;
  --f-mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --r-sm: 10px; --r-md: 16px; --r-lg: 20px;
  --ease: cubic-bezier(.2,.7,.2,1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; min-height: 100dvh; background: var(--c-void); color: var(--c-ink);
  font: 400 16px/1.6 var(--f-sans); letter-spacing: -.005em; -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
::selection { background: rgba(124, 235, 246,.3); }
:focus-visible { outline: 2px solid var(--c-lilac); outline-offset: 2px; }
[hidden] { display: none !important; }

.bg-grid {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--c-line) 1px, transparent 1px), linear-gradient(90deg, var(--c-line) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 20%, transparent 75%);
  opacity: .55;
}
.glow { position: fixed; z-index: -1; pointer-events: none; width: 720px; height: 720px; left: 50%; top: -360px; transform: translateX(-50%); background: var(--g-glow); }

/* ---------- top bar ---------- */
.f-top { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; max-width: 1080px; margin: 0 auto; }
.mark { display: inline-flex; align-items: baseline; gap: 9px; text-decoration: none; }
.mark .num { font-weight: 700; font-size: 22px; line-height: 1; letter-spacing: -.06em; background: var(--g-steel); -webkit-background-clip: text; background-clip: text; color: transparent; }
.f-top .aside { font-size: 13px; color: var(--c-slate); text-decoration: none; }
.f-top .aside:hover { color: var(--c-ink); }

/* ---------- type ---------- */
.label { font-size: 11px; line-height: 1.2; letter-spacing: .22em; text-transform: uppercase; color: var(--c-slate); font-weight: 500; }
.label.lilac { color: var(--c-lilac); }
.label.signal { color: var(--c-signal); }
.steel { background: var(--g-steel); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sheen { background: var(--g-sheen); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mono { font-family: var(--f-mono); letter-spacing: 0; }
h1, h2, h3 { margin: 0; font-weight: 700; }
.h-display { font-size: clamp(44px, 11vw, 92px); line-height: .92; letter-spacing: -.055em; }
.h1 { font-size: clamp(36px, 8vw, 60px); line-height: .98; letter-spacing: -.045em; }
.h2 { font-size: clamp(28px, 6vw, 40px); line-height: 1.02; letter-spacing: -.045em; }
.h3 { font-size: 22px; line-height: 1.12; letter-spacing: -.035em; font-weight: 600; }
.lede { font-size: 18px; line-height: 1.55; color: var(--c-fog); margin: 0; }
.fog { color: var(--c-fog); }
.slate { color: var(--c-slate); }
.small { font-size: 14px; }
.tiny { font-size: 12px; }
p { margin: 0 0 12px; }

/* ---------- layout ---------- */
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 640px; margin: 0 auto; padding: 0 20px; }
.stack-s > * + * { margin-top: 10px; }
.stack-m > * + * { margin-top: 18px; }
.stack-l > * + * { margin-top: 32px; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.center { text-align: center; }
.section { padding-top: 56px; padding-bottom: 56px; }
.divider { height: 1px; background: var(--c-line); border: 0; margin: 40px 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px;
  border-radius: var(--r-sm); border: 1px solid var(--c-halo); background: var(--c-halo); color: var(--c-halo-ink);
  font-weight: 600; font-size: 16px; letter-spacing: -.01em; text-decoration: none; cursor: pointer;
  transition: transform .15s var(--ease), box-shadow .2s, background .15s, border-color .15s; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 30px -8px rgba(227,230,241,.35); }
.btn:active { transform: none; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn.block { width: 100%; }
.btn.ghost { background: var(--c-carbon); color: var(--c-ink); border-color: var(--c-line-strong); }
.btn.ghost:hover { background: var(--c-graphite); border-color: rgba(255,255,255,.3); box-shadow: none; }
.btn.pill { border-radius: 999px; background: transparent; color: var(--c-fog); border-color: var(--c-line-strong); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; min-height: 40px; padding: 0 18px; }
.btn.pill:hover { color: var(--c-ink); box-shadow: none; }
.btn .arrow::after { content: '→'; font-weight: 500; }
.link { color: var(--c-fog); text-decoration: underline; text-decoration-color: var(--c-line-strong); text-underline-offset: 3px; background: none; border: 0; padding: 0; cursor: pointer; font-size: 14px; }
.link:hover { color: var(--c-ink); }

/* ---------- cards ---------- */
.card { background: var(--c-carbon); border: 1px solid var(--c-line); border-radius: var(--r-md); padding: 22px; position: relative; }
.card.raised { background: var(--c-graphite); }
.card.halo { box-shadow: 0 0 0 1px var(--c-line), 0 30px 80px -30px rgba(0,0,0,.9); }
.card.accent { border-color: rgba(124, 235, 246,.28); background: linear-gradient(180deg, rgba(124, 235, 246,.06), rgba(124, 235, 246,0) 60%), var(--c-carbon); }
.card.win { border-color: rgba(124, 235, 246,.25); }

.chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--c-line-strong); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--c-fog); font-weight: 500; }
.chip.signal { color: var(--c-signal); border-color: rgba(124, 235, 246,.3); }
.chip.lilac { color: var(--c-lilac); border-color: rgba(124, 235, 246,.3); }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--c-signal); box-shadow: 0 0 0 4px var(--c-signal-soft); }

/* ---------- forms ---------- */
.field { display: block; }
.field > span { display: block; font-size: 13px; color: var(--c-fog); margin-bottom: 8px; }
.input, .textarea {
  width: 100%; min-height: 52px; padding: 14px 16px; border-radius: var(--r-sm); background: var(--c-graphite);
  border: 1px solid var(--c-line-strong); color: var(--c-ink); font-size: 16px; outline: none; transition: border-color .15s, background .15s;
}
.textarea { min-height: 96px; resize: vertical; line-height: 1.5; }
.input::placeholder, .textarea::placeholder { color: #5d5d67; }
.input:focus, .textarea:focus { border-color: rgba(124, 235, 246,.55); background: var(--c-iron); }
/* Legal L103: the lines under a form (not advice, what's read, what's free) are readable copy, never gray fine print. */
.form-note { font-size: 15px; line-height: 1.5; color: var(--c-ink); margin-top: 10px; }
.form-err { font-size: 14px; color: var(--c-ember); margin-top: 10px; }
.inline-form { display: flex; gap: 10px; flex-wrap: wrap; }
.inline-form .input { flex: 1 1 220px; }
.inline-form .btn { flex: 0 0 auto; }
@media (max-width: 520px) { .inline-form .btn { width: 100%; } }

/* ---------- quiz stepper ---------- */
.q-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: var(--c-line); z-index: 10; }
.q-progress span { display: block; height: 100%; width: 0; background: var(--c-halo); transition: width .4s var(--ease); }
.q-shell { min-height: calc(100dvh - 70px); display: flex; flex-direction: column; justify-content: flex-start; padding: 9vh 20px 40px; max-width: 640px; margin: 0 auto; }
.q-count { font-family: var(--f-mono); font-size: 12px; color: var(--c-slate); margin-bottom: 14px; }
.q-title { font-size: clamp(28px, 6.4vw, 40px); line-height: 1.04; letter-spacing: -.045em; font-weight: 700; margin-bottom: 8px; }
.q-sub { color: var(--c-fog); font-size: 16px; margin-bottom: 22px; }
.opts { display: grid; gap: 10px; margin-top: 18px; }
.opt {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; padding: 15px 16px; min-height: 58px;
  border-radius: 12px; background: var(--c-carbon); border: 1px solid var(--c-line-strong); cursor: pointer;
  transition: border-color .15s, background .15s, transform .15s var(--ease);
}
.opt:hover { border-color: rgba(255,255,255,.3); background: var(--c-graphite); }
.opt:active { transform: scale(.99); }
.opt.on { border-color: var(--c-halo); background: var(--c-iron); }
.opt .key { flex: 0 0 26px; height: 26px; border-radius: 7px; border: 1px solid var(--c-line-strong); display: grid; place-items: center; font-family: var(--f-mono); font-size: 12px; color: var(--c-slate); }
.opt.on .key { background: var(--c-halo); color: var(--c-halo-ink); border-color: var(--c-halo); }
.opt .lbl { display: block; font-weight: 500; font-size: 16px; line-height: 1.3; }
.opt .sub { display: block; font-size: 13px; color: var(--c-slate); margin-top: 2px; line-height: 1.35; }
.q-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 22px; min-height: 40px; }
.q-back { background: none; border: 0; color: var(--c-slate); cursor: pointer; font-size: 14px; padding: 8px 0; }
.q-back:hover { color: var(--c-ink); }
.fade-in { animation: fadeIn .35s var(--ease) both; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .fade-in { animation: none; } .q-progress span { transition: none; } }

/* ---------- intro / hero ---------- */
.hero { padding-top: 40px; padding-bottom: 24px; }
.hero .h-display { margin: 18px 0 18px; }
.proof-row { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--c-slate); font-size: 13px; margin-top: 18px; }
.proof-row b { color: var(--c-fog); font-weight: 500; font-family: var(--f-mono); }

/* ---------- results ---------- */
.score-hero { padding-top: 28px; padding-bottom: 8px; }
.score-num { font-family: var(--f-mono); font-size: 15px; color: var(--c-fog); }
.score-big { font-weight: 700; font-size: clamp(64px, 18vw, 120px); line-height: .88; letter-spacing: -.06em; }
.score-big small { font-size: .3em; letter-spacing: -.02em; color: var(--c-slate); font-weight: 500; margin-left: 4px; }
.bars { display: grid; gap: 14px; }
.bar-row { display: grid; grid-template-columns: 96px 1fr 42px; gap: 12px; align-items: center; font-size: 14px; }
.bar-row .name { color: var(--c-fog); }
.bar-row .val { font-family: var(--f-mono); font-size: 13px; color: var(--c-slate); text-align: right; }
.bar { height: 6px; border-radius: 6px; background: var(--c-iron); overflow: hidden; }
.bar span { display: block; height: 100%; border-radius: 6px; background: var(--c-halo); width: 0; transition: width 1s var(--ease); }
.bar-row.low .bar span { background: var(--c-lilac); }
.bar-row.low .name { color: var(--c-ink); }
.grid-2 { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.quote { font-size: 20px; line-height: 1.35; letter-spacing: -.02em; font-weight: 500; }
.quote::before { content: '“'; } .quote::after { content: '”'; }
.task { display: flex; gap: 14px; padding: 16px 0; border-top: 1px solid var(--c-line); }
.task:first-child { border-top: 0; padding-top: 4px; }
.task .n { flex: 0 0 28px; height: 28px; border-radius: 8px; border: 1px solid var(--c-line-strong); display: grid; place-items: center; font-family: var(--f-mono); font-size: 12px; color: var(--c-fog); }
.task .t { font-weight: 500; line-height: 1.35; }
.task .d { font-size: 14px; color: var(--c-slate); margin-top: 3px; }
.week-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 6px; }
.locked { position: relative; }
.locked .blur { filter: blur(5px); opacity: .5; pointer-events: none; user-select: none; }
.share-preview { width: 100%; max-width: 260px; aspect-ratio: 9/16; border-radius: 14px; border: 1px solid var(--c-line-strong); display: block; margin: 0 auto; background: var(--c-carbon); }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); background: var(--c-halo); color: var(--c-halo-ink); padding: 10px 16px; border-radius: 10px; font-size: 14px; font-weight: 500; opacity: 0; transition: all .25s var(--ease); z-index: 20; pointer-events: none; }
.toast.on { opacity: 1; transform: translateX(-50%); }

/* ---------- guide (Day One Stack) ---------- */
.toc { display: flex; gap: 8px; flex-wrap: wrap; }
.toc a { text-decoration: none; }
.tool { display: grid; gap: 14px; }
.tool-head { display: flex; align-items: center; gap: 14px; }
.tool-logo { flex: 0 0 44px; height: 44px; border-radius: 12px; background: var(--c-iron); border: 1px solid var(--c-line-strong); display: grid; place-items: center; font-weight: 700; letter-spacing: -.04em; font-size: 17px; }
.tool-meta { display: flex; gap: 6px; flex-wrap: wrap; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 0 0 10px 34px; color: var(--c-fog); font-size: 15px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 6px; border: 1px solid var(--c-line-strong); font-family: var(--f-mono); font-size: 11px; display: grid; place-items: center; color: var(--c-slate); }
.kv { display: grid; grid-template-columns: 92px 1fr; gap: 6px 12px; font-size: 14px; }
.kv dt { color: var(--c-slate); }
.kv dd { margin: 0; color: var(--c-fog); }
.prompt { position: relative; }
.prompt pre { margin: 10px 0 0; white-space: pre-wrap; word-wrap: break-word; font: 400 13.5px/1.6 var(--f-mono); color: var(--c-fog); background: var(--c-void-2); border: 1px solid var(--c-line); border-radius: 10px; padding: 14px 14px; }
.prompt .copy { position: absolute; top: 18px; right: 18px; }
.prompt h4 { margin: 0; font-size: 16px; font-weight: 600; letter-spacing: -.02em; padding-right: 90px; }
.prompt .when { font-size: 13px; color: var(--c-slate); margin-top: 2px; padding-right: 90px; }
.layer-num { font-family: var(--f-mono); font-size: 12px; color: var(--c-slate); }
.flow { display: grid; gap: 8px; }
.flow .step { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--c-fog); }
.flow .step b { color: var(--c-ink); font-weight: 600; }

/* ---------- idea test ---------- */
.verdict { display: inline-flex; align-items: center; gap: 8px; }
.crit { padding: 16px 0; border-top: 1px solid var(--c-line); }
.crit:first-child { border-top: 0; padding-top: 2px; }
.crit-head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.crit-head b { font-weight: 600; }
.crit .why { font-size: 14px; color: var(--c-fog); margin-top: 6px; }
.crit .bar { margin-top: 10px; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(10,10,12,.25); border-top-color: var(--c-halo-ink); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.thinking { display: grid; gap: 10px; }
.thinking .line { height: 12px; border-radius: 6px; background: linear-gradient(90deg, var(--c-graphite), var(--c-iron), var(--c-graphite)); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- footer ---------- */
.f-foot { padding: 40px 20px 48px; text-align: center; color: var(--c-slate); font-size: 12px; }
.f-foot a { color: var(--c-slate); }
.f-foot .verse { font-size: 12px; letter-spacing: .02em; margin-bottom: 8px; }

@media print {
  body { background: #fff; color: #000; }
}

.check-row{display:flex;gap:10px;align-items:flex-start;font-size:15px;line-height:1.45;color:var(--c-ink);text-align:left;cursor:pointer}
.check-row input{margin-top:3px;accent-color:#7cebf6;flex:none}
.consent-line{margin:0;font-size:15px;line-height:1.5;color:var(--c-ink);text-align:left}
.consent-line a{color:inherit;text-decoration:underline;text-underline-offset:2px}

/* Result screens (conversion/pages/quiz-results.md). Gate text is 15px, at full text contrast (Legal L103). */
.ink { color: var(--c-ink); }
.center { text-align: center; }

.gate-line { margin: 0 0 4px; font-size: 15px; line-height: 1.5; color: var(--c-ink); }
/* Legal L103: consent, price, refund and typicality lines sit at full contrast and readable size next to what they
   qualify. */
.gate .check-row, .gate .consent-line { color: var(--c-ink); font-size: 15px; }
.gate-small { margin: 8px 0 0; font-size: 15px; line-height: 1.5; color: var(--c-ink); }
.gate-small a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.result-block p { margin: 0 0 10px; }
.result-block p.lilac { color: var(--c-lilac); font-weight: 500; }
.offer-lines { margin-top: 14px; padding: 14px 16px; border: 1px solid var(--c-line-strong); border-radius: 12px; }
.offer-lines p { margin: 0; color: var(--c-ink); font-size: 15px; line-height: 1.55; }
.optin-ask { margin: 4px 0 6px; padding: 12px 0 2px; border-top: 1px solid var(--c-line); }
.optin-ask p { margin: 0 0 10px; }
.ref-link { padding: 12px 14px; border: 1px solid var(--c-line); border-radius: 12px; word-break: break-all; margin: 4px 0 12px; font-size: 14px; color: var(--c-ink); }
.reasons { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.reasons li { font-size: 15px; line-height: 1.5; color: var(--c-fog); padding-left: 14px; border-left: 2px solid var(--c-line-strong); }
.reasons li b { color: var(--c-ink); font-weight: 500; }
.reasons li.low { color: var(--c-lilac); border-left-color: var(--c-lilac); }
.reasons li.low b { color: var(--c-lilac); }
.who-photo { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; border: 1px solid var(--c-line-strong); }
.who-points { margin: 0; padding-left: 18px; color: var(--c-fog); font-size: 14px; line-height: 1.6; }
.sticky-ask { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 15; display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 640px; margin: 0 auto; padding: 10px 10px 10px 16px; border-radius: 16px; border: 1px solid var(--c-line-strong); background: rgba(14,14,17,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); font-size: 14px; color: var(--c-ink); transform: translateY(140%); transition: transform .3s var(--ease); }
.sticky-ask.on { transform: none; }
.sticky-ask .btn { min-height: 42px; padding: 0 16px; white-space: nowrap; }
.intro-eli { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.intro-eli img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 1px solid var(--c-line-strong); }
.intro-eli span { font-size: 14px; color: var(--c-fog); line-height: 1.35; }
.intro-eli b { display: block; color: var(--c-ink); font-weight: 500; }
.f-foot .earn { max-width: 560px; margin: 0 auto 12px; font-size: 14px; line-height: 1.5; color: var(--c-ink); }
.f-foot .earn a { color: inherit; }
.crit .why b { color: var(--c-ink); font-weight: 500; }
.crit.low .crit-head b, .crit.low .why, .crit.low .why b { color: var(--c-lilac); }
#reasons .label + .crit { border-top: 0; padding-top: 2px; }
.crit.low .bar span { background: var(--c-lilac); }
.result-block p.spots { margin-top: 12px; }
