/* Buyer Radar landing page.
   Shape system: surfaces are 16px, chips and buttons are full pills. One accent (the app's blue);
   green / amber / red appear only as verdict state, the same meaning they have inside the app. */

:root {
  --bg: #f5f6f8; --surface: #ffffff; --surface-2: #eef0f4; --line: #e1e4ea;
  --ink: #14161b; --ink-2: #555b67; --ink-3: #868c97;
  --accent: #2f5bd3; --accent-ink: #ffffff; --accent-soft: #e7ecfb; --accent-line: rgba(47, 91, 211, .22);
  --good: #1f9d62; --warn: #c98a12; --bad: #c9483f;
  --good-soft: #e2f3e9;
  --shadow: 0 0 0 1px rgba(20, 26, 40, .06), 0 1px 2px -1px rgba(20, 26, 40, .08), 0 8px 24px -8px rgba(20, 26, 40, .10);
  --r: 16px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0c0e11; --surface: #14171c; --surface-2: #1a1e24; --line: #252a32;
    --ink: #eceef2; --ink-2: #a4aab5; --ink-3: #6f7682;
    --accent: #7896f2; --accent-ink: #0c0e11; --accent-soft: #19213a; --accent-line: rgba(120, 150, 242, .28);
    --good: #3fbf82; --warn: #e2a63b; --bad: #e46a61; --good-soft: #13281d;
    --shadow: 0 0 0 1px rgba(255, 255, 255, .06);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0c0e11; --surface: #14171c; --surface-2: #1a1e24; --line: #252a32;
  --ink: #eceef2; --ink-2: #a4aab5; --ink-3: #6f7682;
  --accent: #7896f2; --accent-ink: #0c0e11; --accent-soft: #19213a; --accent-line: rgba(120, 150, 242, .28);
  --good: #3fbf82; --warn: #e2a63b; --bad: #e46a61; --good-soft: #13281d;
  --shadow: 0 0 0 1px rgba(255, 255, 255, .06);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
html, body { margin: 0; }
body {
  background: var(--bg); color: var(--ink);
  font: 16px/1.55 Geist, system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; text-wrap: balance; letter-spacing: -.025em; }
p { margin: 0; text-wrap: pretty; }
.num { font-family: 'Geist Mono', ui-monospace, monospace; font-variant-numeric: tabular-nums; }
.faint { color: var(--ink-3); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 16px; }
@media (min-width: 768px) { .wrap { padding-inline: 32px; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  height: 46px; padding: 0 20px; border-radius: 999px; font-weight: 600; font-size: 15px;
  transition: transform .16s var(--ease-out), background-color .2s, box-shadow .2s, color .2s;
}
.btn i { font-size: 16px; transition: transform .25s var(--ease-out); }
.btn.sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn.primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 6px 18px -6px var(--accent-line); }
.btn.primary:hover i { transform: translateX(3px); }
.btn.ghost { color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn.ghost:hover { background: var(--surface); }
.btn:active { transform: scale(.97); }
.icon-btn {
  width: 42px; height: 42px; border-radius: 999px; border: 0; display: grid; place-items: center;
  background: var(--surface); color: var(--ink); box-shadow: var(--shadow); cursor: pointer; font-size: 18px;
  transition: transform .16s var(--ease-out), opacity .2s;
}
.icon-btn:active { transform: scale(.94); }
.icon-btn:disabled { opacity: .35; cursor: default; }

/* ---------- Nav ---------- */
.nav-sentinel { position: absolute; top: 0; height: 24px; width: 1px; }
.nav { position: sticky; top: 0; z-index: 20; transition: background-color .3s, box-shadow .3s; }
.nav.stuck { background: color-mix(in oklch, var(--bg) 82%, transparent); backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%); box-shadow: 0 1px 0 var(--line); }
.nav-in { height: 68px; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; letter-spacing: -.01em; font-size: 17px; }
.brand .mark { width: 22px; height: 22px; flex: none; }
.nav-links { display: flex; gap: 28px; margin-left: auto; font-size: 14.5px; color: var(--ink-2); }
.nav-links a { transition: color .15s; }
.nav-links a:hover { color: var(--ink); }
@media (max-width: 767px) { .nav-links { display: none; } .nav .btn { margin-left: auto; } }

/* ---------- Hero ---------- */
.hero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: 48px;
  min-height: calc(100dvh - 68px); padding-top: 24px; padding-bottom: 56px;
}
.hero h1 { font-size: clamp(2.6rem, 5.2vw, 4.5rem); line-height: 1.02; font-weight: 650; letter-spacing: -.04em; }
.hl { color: var(--accent); }
.lede { margin-top: 24px; font-size: clamp(1.05rem, 1.3vw, 1.2rem); color: var(--ink-2); max-width: 46ch; }
.cta-row { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 899px) {
  .hero { grid-template-columns: 1fr; min-height: 0; gap: 40px; padding-top: 32px; }
}

/* Load-in: materialise (opacity + rise + blur), staggered by --i */
.intro { animation: intro .8s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 110ms + 60ms); }
@keyframes intro { from { opacity: 0; transform: translateY(12px); filter: blur(6px); } }

/* ---------- Radar ---------- */
.radar-wrap { margin: 0; position: relative; justify-self: center; width: min(100%, 560px); }
.radar {
  position: relative; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, var(--surface) 0%, color-mix(in oklch, var(--surface) 60%, var(--bg)) 70%);
  box-shadow: var(--shadow); overflow: hidden; isolation: isolate;
}
.ring { position: absolute; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); inset: 0; margin: auto; }
.ring.r1 { width: 33%; height: 33%; } .ring.r2 { width: 66%; height: 66%; } .ring.r3 { width: 99%; height: 99%; }
.axis { position: absolute; background: var(--line); }
.axis.h { left: 0; right: 0; top: 50%; height: 1px; } .axis.v { top: 0; bottom: 0; left: 50%; width: 1px; }
.sweep {
  position: absolute; inset: 0; border-radius: 50%; z-index: 1;
  background: conic-gradient(from 0deg, transparent 0deg 285deg, color-mix(in oklch, var(--accent) 7%, transparent) 320deg, color-mix(in oklch, var(--accent) 30%, transparent) 359deg, transparent 360deg);
  will-change: transform;
}
.sweep::after { /* leading edge */
  content: ""; position: absolute; left: 50%; top: 0; width: 1.5px; height: 50%; transform: translateX(-50%);
  background: linear-gradient(to top, var(--accent), color-mix(in oklch, var(--accent) 10%, transparent));
}
.core { position: absolute; inset: 0; margin: auto; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); z-index: 3; box-shadow: 0 0 0 5px var(--accent-soft); }
.dots { position: absolute; inset: 0; z-index: 2; }
.dot {
  position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%;
  background: var(--c); opacity: 0;
}
.dot.no { width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; }
.dot .ping { position: absolute; inset: -1px; border-radius: 50%; box-shadow: 0 0 0 1.5px var(--c); opacity: 0; }
.dot.sel::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; box-shadow: 0 0 0 1.5px var(--c); }

.hit {
  position: absolute; z-index: 4; left: -6%; bottom: 7%; width: min(330px, 74%);
  background: var(--surface); border-radius: var(--r); padding: 14px 16px 12px; box-shadow: var(--shadow), 0 24px 48px -20px rgba(20, 26, 40, .25);
  opacity: 0; transform: translateY(10px); filter: blur(4px);
  transition: opacity .45s var(--ease-out), transform .45s var(--ease-out), filter .45s var(--ease-out);
}
.hit.show { opacity: 1; transform: none; filter: none; }
.hit.hide { opacity: 0; transform: translateY(-6px); filter: blur(3px); transition-duration: .25s; }
.hit header { display: flex; align-items: center; gap: 7px; font-size: 13.5px; }
.hit header i { font-size: 16px; color: var(--ink-2); }
.hit header .verdict { margin-left: auto; }
.hit p { margin-top: 8px; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.scores { display: grid; grid-template-columns: auto auto 1fr; gap: 16px; margin: 12px 0 0; padding-top: 10px; box-shadow: 0 -1px 0 var(--line); }
.scores dt { font-size: 11.5px; color: var(--ink-3); }
.scores dd { margin: 0; font-size: 14px; font-weight: 600; }
.scores #hitSignal { font-family: Geist, sans-serif; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.verdict { font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.verdict.good { color: var(--good); background: var(--good-soft); }
.verdict.big { font-size: 13.5px; padding: 6px 13px; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: center; margin-top: 22px; font-size: 13px; color: var(--ink-2); }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.key { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.key.good { background: var(--good); } .key.warn { background: var(--warn); } .key.bad { background: var(--bad); }
@media (max-width: 899px) { .hit { position: relative; left: auto; bottom: auto; width: 92%; margin: -56px auto 0; } .legend { margin-top: 20px; } }

/* ---------- Reveal on scroll ---------- */
.js .rv { opacity: 0; transform: translateY(14px); filter: blur(4px); }
.js .rv.in {
  opacity: 1; transform: none; filter: none;
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out), filter .7s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 70ms);
}

/* ---------- Sources ---------- */
.sources { padding-block: 40px 24px; display: grid; gap: 22px; justify-items: center; }
.sources-label { font-size: 14px; color: var(--ink-3); }
.source-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; }
.source-list li { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 550; color: var(--ink-2); }
.source-list i { font-size: 24px; }
.si-yc { /* Hacker News mark, Simple Icons, tinted to currentColor */
  display: inline-block; width: 1em; height: 1em; font-size: 22px; background: currentColor;
  -webkit-mask: url(https://cdn.simpleicons.org/ycombinator) center / contain no-repeat;
  mask: url(https://cdn.simpleicons.org/ycombinator) center / contain no-repeat;
}

/* ---------- Story (pinned) ---------- */
.story { padding-block: 120px 40px; }
.story-title { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.08; max-width: 18ch; font-weight: 650; }
.story-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: 64px; margin-top: 24px; }
.story-steps { padding-bottom: 20vh; }
.step { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; gap: 12px; max-width: 420px; opacity: .3; transition: opacity .5s var(--ease-out); }
.step.on { opacity: 1; }
.step h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); font-weight: 650; }
.step p { color: var(--ink-2); font-size: 17px; }
.step-ic { width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-size: 20px; }
.no-js .step, html:not(.js) .step { opacity: 1; }

.story-stage {
  position: sticky; top: calc(50dvh - 230px); height: 460px; align-self: start; margin-top: 18vh;
  background: var(--surface); border-radius: 24px; box-shadow: var(--shadow); overflow: hidden;
  background-image: radial-gradient(circle at 100% 0%, var(--accent-soft), transparent 55%);
}
.stage-dots { position: absolute; top: 20px; left: 24px; display: flex; gap: 6px; z-index: 2; }
.stage-dots i { width: 6px; height: 6px; border-radius: 999px; background: var(--line); transition: width .4s var(--ease-out), background-color .3s; }
.stage-dots i.on { width: 22px; background: var(--accent); }
.layer {
  position: absolute; inset: 0; padding: 56px 28px 28px; display: flex; flex-direction: column; justify-content: center; gap: 18px;
  opacity: 0; transform: translateY(16px) scale(.985); filter: blur(6px); pointer-events: none;
  transition: opacity .5s var(--ease-out), transform .6s var(--ease-out), filter .5s var(--ease-out);
}
.layer.on { opacity: 1; transform: none; filter: none; }
.layer.past { transform: translateY(-10px) scale(.99); transition-duration: .3s; }

.feed { display: grid; gap: 8px; }
.feed-row {
  display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 12px; background: var(--bg);
  font-size: 14px; color: var(--ink-2); white-space: nowrap; overflow: hidden;
  opacity: 0; transform: translateX(-10px);
}
.feed-row span { overflow: hidden; text-overflow: ellipsis; }
.feed-row i, .feed-row .si-yc { font-size: 18px; flex: none; }
.feed-row .si-yc { font-size: 16px; }
.layer.on .feed-row { opacity: 1; transform: none; transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }
.layer.on .feed-row:nth-child(1) { transition-delay: .10s; } .layer.on .feed-row:nth-child(2) { transition-delay: .17s; }
.layer.on .feed-row:nth-child(3) { transition-delay: .24s; } .layer.on .feed-row:nth-child(4) { transition-delay: .31s; }
.layer.on .feed-row:nth-child(5) { transition-delay: .38s; }
.feed-row:nth-child(1) { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--accent-line); background: var(--surface); }
.tally { display: flex; align-items: baseline; gap: 10px; color: var(--ink-2); font-size: 14px; }
.tally b { font-size: 34px; color: var(--ink); font-weight: 600; letter-spacing: -.02em; }

.post { background: var(--bg); border-radius: 14px; padding: 14px 16px; }
.post header { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.post p { margin-top: 8px; font-size: 14.5px; color: var(--ink-2); }
.judge { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.metric span { display: block; font-size: 12.5px; color: var(--ink-3); }
.metric b { display: block; font-size: 26px; font-weight: 600; letter-spacing: -.02em; }
.metric i { display: block; height: 3px; border-radius: 999px; background: var(--accent); margin-top: 6px; width: 100%; transform-origin: left; transform: scaleX(0); }
.layer.on .metric i { transform: scaleX(var(--w)); transition: transform .9s var(--ease-out) .15s; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 500; background: var(--good-soft); color: var(--good); opacity: 0; transform: scale(.94); }
.chip.off { background: transparent; color: var(--ink-3); box-shadow: inset 0 0 0 1px var(--line); }
.layer.on .chip { opacity: 1; transform: none; transition: opacity .35s var(--ease-out), transform .35s var(--ease-out); transition-delay: calc(.45s + var(--i) * 90ms); }
.layer[data-layer="1"] .verdict { align-self: flex-start; }

.dm { background: var(--bg); border-radius: 14px; padding: 16px; }
.dm header { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.avatar { width: 30px; height: 30px; border-radius: 999px; display: grid; place-items: center; font-size: 11px; font-weight: 700; background: var(--accent-soft); color: var(--accent); }
.dm-body { margin-top: 12px; padding: 12px 14px; border-radius: 14px 14px 14px 4px; background: var(--accent); color: var(--accent-ink); font-size: 15px; line-height: 1.5; }
.dm-body .w { opacity: .0; transition: opacity .25s linear; }
.dm-body .w.on { opacity: 1; }
.dm-meta { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-2); }

.goal { display: grid; gap: 12px; }
.goal-dots { display: flex; gap: 10px; }
.goal-dots i { width: 36px; height: 36px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line); }
.goal-dots i.on { box-shadow: none; background: var(--accent); transform: scale(.85); opacity: 0; }
.layer.on .goal-dots i.on { transform: none; opacity: 1; transition: transform .45s var(--ease-out), opacity .3s; }
.layer.on .goal-dots i.on:nth-child(2) { transition-delay: .1s; } .layer.on .goal-dots i.on:nth-child(3) { transition-delay: .2s; }
.goal p { color: var(--ink-2); font-size: 15px; } .goal p b { color: var(--ink); }
.script { background: var(--bg); border-radius: 14px; padding: 16px 18px; }
.script span { font-size: 12.5px; color: var(--ink-3); }
.script p { margin-top: 6px; font-size: 18px; line-height: 1.4; font-weight: 500; letter-spacing: -.01em; }

@media (max-width: 899px) {
  .story { padding-top: 80px; }
  .story-grid { grid-template-columns: 1fr; gap: 0; }
  .story-stage { order: -1; top: 68px; height: 420px; margin-top: 24px; z-index: 1; box-shadow: var(--shadow), 0 -16px 0 var(--bg); }
  .step { min-height: 70vh; justify-content: flex-start; padding-top: 32px; }
  .feed-row:nth-child(5) { display: none; }
  .post p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .layer { gap: 14px; }
  .layer { padding: 48px 18px 18px; }
  .judge .metric b { font-size: 22px; }
}

/* ---------- Signals (bento) ---------- */
.signals { padding-block: 120px; }
.signals h2 { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.08; max-width: 20ch; font-weight: 650; }
.signals .sub { margin-top: 16px; color: var(--ink-2); font-size: 17px; max-width: 58ch; }
.bento { margin-top: 48px; display: grid; gap: 14px; grid-template-columns: repeat(12, minmax(0, 1fr)); }
.cell {
  grid-column: span 3; background: var(--surface); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 10px; min-height: 190px;
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
.cell:hover { transform: translateY(-3px); }
.cell > i { font-size: 22px; color: var(--accent); }
.cell h3 { font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.cell q { margin-top: auto; font-size: 14.5px; color: var(--ink-2); line-height: 1.45; quotes: "“" "”"; }
.cell.silent { grid-column: span 4; background: var(--accent); color: var(--accent-ink); box-shadow: none; min-height: 220px; }
.cell.silent > i { color: var(--accent-ink); opacity: .85; }
.cell.silent q { color: color-mix(in oklch, var(--accent-ink) 82%, transparent); }
.cell.silent:nth-child(6) { background: color-mix(in oklch, var(--accent) 86%, var(--ink)); }
.cell.silent:nth-child(7) { background: color-mix(in oklch, var(--accent) 72%, var(--ink)); }
@media (max-width: 1023px) { .cell { grid-column: span 6; } .cell.silent { grid-column: span 12; min-height: 0; } }
@media (max-width: 559px) { .cell { grid-column: span 12; min-height: 0; } }

/* ---------- Manifesto (scroll-linked read-along) ---------- */
.manifesto { padding-block: 120px 160px; view-timeline-name: --mf; }
.mf { font-size: clamp(1.9rem, 4.2vw, 3.6rem); line-height: 1.12; font-weight: 600; letter-spacing: -.035em; max-width: 1100px; }
.mf .w { display: inline; }
.mf .w.key { color: var(--accent); }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .js .mf .w {
      animation: mf-word linear both; animation-timeline: --mf;
      animation-range: cover calc(18% + var(--p) * 30%) cover calc(22% + var(--p) * 30%);
    }
  }
}
@keyframes mf-word { from { opacity: .16; } to { opacity: 1; } }

/* ---------- Theory carousel ---------- */
.theory { padding-block: 40px 56px; }
.theory-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.theory-head h2 { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.08; font-weight: 650; }
.arrows { display: flex; gap: 8px; }
.track {
  margin-top: 40px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 300px); gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
  --gut: 16px;
  padding: 6px max(var(--gut), calc((100vw - 1200px) / 2 + var(--gut))) 16px;
  scroll-padding-inline: max(var(--gut), calc((100vw - 1200px) / 2 + var(--gut)));
}
.track::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { .track { --gut: 32px; } }
.tcard {
  scroll-snap-align: start; background: var(--surface); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 6px; min-height: 220px;
}
.tcard .where { font-size: 12.5px; color: var(--accent); font-weight: 600; }
.tcard h3 { font-size: 19px; font-weight: 600; letter-spacing: -.015em; margin-top: 6px; }
.tcard .by { font-size: 14px; color: var(--ink-3); }
.tcard .decides { margin-top: auto; padding-top: 14px; box-shadow: 0 -1px 0 var(--line); font-size: 15px; color: var(--ink-2); }
.tcard .decides b { color: var(--ink); font-weight: 600; }
@media (max-width: 559px) { .arrows { display: none; } }

/* ---------- Launch pill (hero) ---------- */
.launch-pill {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 28px; padding: 5px 14px 5px 5px; border-radius: 999px;
  font-size: 14px; font-weight: 500; color: var(--ink-2); background: var(--surface); box-shadow: var(--shadow);
  transition: color .2s, transform .16s var(--ease-out);
}
.launch-pill span { padding: 3px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-weight: 600; font-size: 13px; }
.launch-pill i { font-size: 14px; transition: transform .25s var(--ease-out); }
.launch-pill:hover { color: var(--ink); }
.launch-pill:hover i { transform: translateX(3px); }
.launch-pill:active { transform: scale(.98); }

/* ---------- Pricing ---------- */
.pricing { padding-block: 100px 40px; scroll-margin-top: 40px; }
.pricing-head { display: grid; justify-items: center; text-align: center; gap: 16px; }
.pricing h2 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); line-height: 1.05; font-weight: 650; letter-spacing: -.04em; }
.pricing .sub { color: var(--ink-2); font-size: 17px; max-width: 54ch; }
.early .launch-pill { cursor: default; }
.early-card { max-width: 420px; margin: 40px auto 0; background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); padding: 28px; display: grid; gap: 18px; }
.early-card h3 { font-size: 20px; font-weight: 650; letter-spacing: -.02em; }
.early-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; color: var(--ink-2); }
.early-card li { display: flex; gap: 10px; align-items: center; }
.early-card li i { color: var(--good); }
.early-card .faint { color: var(--ink-3); font-size: 13px; text-align: center; margin: 0; }
.billing {
  position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; margin-top: 12px; padding: 4px;
  border-radius: 999px; background: var(--surface); box-shadow: var(--shadow);
}
.billing button {
  position: relative; z-index: 1; border: 0; background: none; cursor: pointer; height: 38px; padding: 0 20px;
  border-radius: 999px; font: 600 14px Geist, sans-serif; color: var(--ink-2); display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: color .25s;
}
.billing button[aria-checked="true"] { color: var(--accent-ink); }
.billing small { font-size: 11.5px; font-weight: 600; color: var(--good); }
.billing button[aria-checked="true"] small { color: inherit; opacity: .85; }
.billing-thumb {
  position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--accent);
  transition: transform .45s var(--ease-out);
}
.billing[data-period="year"] .billing-thumb { transform: translateX(100%); }

.plans { margin-top: 64px; display: grid; grid-template-columns: 1fr 1.12fr 1fr; gap: 16px; align-items: stretch; }
.plan {
  position: relative; background: var(--surface); border-radius: 20px; padding: 28px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 14px;
}
.plan.pick { margin-block: -14px; padding-block: 42px; box-shadow: 0 0 0 1.5px var(--accent), 0 30px 60px -30px var(--accent-line); }
.pick-tag { position: absolute; top: -13px; left: 28px; padding: 4px 12px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 12.5px; font-weight: 600; }
.plan h3 { font-size: 20px; font-weight: 650; }
.plan-for { color: var(--ink-2); font-size: 15px; min-height: 2.9em; }
.price { display: grid; gap: 2px; transition: opacity .16s, transform .16s var(--ease-out), filter .16s; }
.price.swap { opacity: 0; transform: translateY(-6px); filter: blur(3px); }
.price .was { font-size: 15px; color: var(--ink-3); }
.price .now { display: flex; align-items: baseline; gap: 4px; color: var(--ink-2); font-size: 15px; }
.price .now b { font-family: Geist, sans-serif; font-size: 46px; font-weight: 600; letter-spacing: -.04em; color: var(--ink); line-height: 1.1; }
.price .note { font-size: 13.5px; color: var(--ink-3); }
.btn.block { width: 100%; justify-content: center; margin-top: 6px; }
.plan ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; font-size: 14.5px; color: var(--ink-2); }
.plan li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; }
.plan li i { color: var(--accent); font-size: 16px; margin-top: 2px; }
.trial-note { margin: 40px auto 0; text-align: center; font-size: 15.5px; color: var(--ink-2); }
.trial-note a { color: var(--accent); font-weight: 600; }
.trial-note + .credits-note { margin-top: 10px; }
.credits-note { margin: 40px auto 0; max-width: 62ch; text-align: center; font-size: 14.5px; color: var(--ink-3); }
.assurances { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.assurances li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; color: var(--ink-2); font-size: 15px; }
.assurances li i { font-size: 20px; color: var(--accent); margin-top: 2px; }
.assurances b { color: var(--ink); font-weight: 600; }
@media (max-width: 899px) {
  .plans { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .plan.pick { order: -1; margin-block: 0 8px; padding-block: 32px; }
  .assurances { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .plan-for { min-height: 0; }
}

/* ---------- Final + footer ---------- */
.final { padding-block: 100px 120px; display: grid; justify-items: start; gap: 28px; }
.final h2 { font-size: clamp(2.2rem, 4.6vw, 4rem); line-height: 1.04; font-weight: 650; letter-spacing: -.04em; max-width: 16ch; }
.foot-link { color: var(--ink-2); } .foot-link:hover { color: var(--ink); }
.foot { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; padding-block: 28px 40px; box-shadow: 0 -1px 0 var(--line); font-size: 14px; }

/* ---------- Free-day dialog ---------- */
.try {
  width: min(440px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: 22px; background: var(--surface); color: var(--ink);
  box-shadow: var(--shadow), 0 40px 80px -30px rgba(10, 14, 22, .45);
}
.try::backdrop { background: rgba(12, 14, 17, .45); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.try[open] { animation: try-in .45s var(--ease-out); }
.try[open]::backdrop { animation: fade-in .3s var(--ease-out); }
@keyframes try-in { from { opacity: 0; transform: translateY(12px) scale(.97); filter: blur(4px); } }
@keyframes fade-in { from { opacity: 0; } }
.try form { position: relative; padding: 30px 28px 26px; display: grid; gap: 10px; }
.try h2 { font-size: 26px; font-weight: 650; letter-spacing: -.03em; padding-right: 32px; }
.try p { color: var(--ink-2); font-size: 15px; margin-bottom: 8px; }
.try label { font-size: 14px; font-weight: 600; }
.try input {
  height: 48px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--ink);
  font: 16px Geist, sans-serif; transition: border-color .2s, box-shadow .2s;
}
.try input::placeholder { color: var(--ink-3); }
.try input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.try-err { min-height: 1.2em; margin: 0 !important; font-size: 13.5px !important; color: var(--bad) !important; }
.try .btn.block { height: 48px; margin-top: 2px; border: 0; cursor: pointer; font-family: Geist, sans-serif; }
.try .btn[disabled] { opacity: .6; cursor: default; }
.try-close { position: absolute; top: 18px; right: 18px; width: 34px; height: 34px; border: 0; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); display: grid; place-items: center; cursor: pointer; font-size: 16px; }
.try-close:hover { color: var(--ink); }

/* ---------- Free day ended ---------- */
.ended { min-height: 100dvh; display: flex; flex-direction: column; justify-content: center; gap: 0; padding-block: 48px; }
.ended .brand { margin-bottom: 40px; }
.ended h1 { font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.04; font-weight: 650; letter-spacing: -.04em; max-width: 14ch; }

/* ---------- Reduced motion: everything lands in its final state ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .intro { animation: none; }
  .js .rv, .layer, .feed-row, .chip, .goal-dots i.on, .hit, .metric i {
    transition: none !important; filter: none !important;
  }
  .js .rv { opacity: 1; transform: none; }
  .layer { transform: none; }
  .btn:active, .icon-btn:active, .cell:hover { transform: none; }
  .billing-thumb, .price { transition: none; }
  .try[open], .try[open]::backdrop { animation: none; }
}

/* ---------- The twist: who your customer really is ---------- */
.twist { padding-block: clamp(64px, 10vw, 120px); }
.twist-in { max-width: 860px; margin: 0 auto; text-align: center; }
.twist h2 { font-size: clamp(30px, 4.4vw, 52px); line-height: 1.06; letter-spacing: -.035em; margin: 0 0 18px; text-wrap: balance; }
.twist .sub { max-width: 640px; margin: 0 auto 30px; color: var(--ink-2); font-size: 17px; line-height: 1.55; }
.vs-demo { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 14px; align-items: center; text-align: left; margin-bottom: 14px; }
.vs-demo > i { font-size: 22px; color: var(--ink-3); }
.vs-c { background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); padding: 20px 22px; }
.vs-c.says { box-shadow: 0 0 0 1.5px var(--accent-line), var(--shadow); }
.vs-c span { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.vs-c.says span { color: var(--accent); }
.vs-c > b { display: block; margin: 8px 0 10px; font-size: 17px; line-height: 1.35; }
.vs-c em { font-style: normal; font-size: 14px; color: var(--ink-2); }
.vs-c em b { font-size: 30px; letter-spacing: -.03em; color: var(--ink); margin-right: 6px; }
.vs-c.says em b { color: var(--accent); }
.twist-bars .metric span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 700px) { .vs-demo { grid-template-columns: 1fr; } .vs-demo > i { transform: rotate(90deg); justify-self: center; } }

/* ---------- The Monday scorecard ---------- */
.scorecard { max-width: 640px; margin: 0 auto 14px; text-align: left; background: var(--surface); border-radius: var(--r); box-shadow: 0 0 0 1.5px var(--accent-line), var(--shadow); padding: 20px 22px; }
.sc-head { display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--accent); }
.sc-head em { font-style: normal; text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--ink-3); }
.scorecard h3 { margin: 8px 0 14px; font-size: 20px; line-height: 1.25; letter-spacing: -.02em; }
.sc-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sc-stats b { display: block; font-size: 26px; letter-spacing: -.03em; color: var(--ink); }
.sc-stats span { font-size: 12.5px; color: var(--ink-2); }
.sc-stats em { font-style: normal; color: var(--good); font-weight: 600; }
.sc-read { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0; font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.v { flex-shrink: 0; font-size: 12px; font-weight: 600; padding: 2px 10px; border-radius: 99px; }
.v.keep { background: var(--good-soft); color: var(--good); }
.v.kill { background: color-mix(in oklch, var(--bad) 14%, transparent); color: var(--bad); }
.v.sharpen { background: color-mix(in oklch, var(--warn) 16%, transparent); color: var(--warn); }
.sc-log { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.sc-log li { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto auto; gap: 10px; align-items: center; font-size: 13px; padding: 8px 10px; border-radius: 10px; background: var(--surface-2); }
.sc-log li > span:first-child { color: var(--ink-3); font-size: 12px; }
.sc-log b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sc-log em { font-style: normal; color: var(--ink-3); font-size: 12px; white-space: nowrap; }
@media (max-width: 640px) { .sc-stats { grid-template-columns: repeat(2, 1fr); } .sc-log li { grid-template-columns: 1fr auto; } .sc-log li > span:first-child, .sc-log em { display: none; } }
