/* First Dial. Hand-written CSS, no build step. */

@font-face {
  font-family: "Unbounded";
  src: url("fonts/unbounded-500-latin.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Mona Sans";
  src: url("fonts/mona-sans-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #16181c;
  --bg-2: #1c1f24;
  --panel: #20242a;
  --line: #31363e;
  --text: #f6f2ea;
  --muted: #a9afb8;
  --signal: #2fb36b;
  --signal-ink: #0d1a12;
  --amber: #e9a20b;
  --amber-text: #f0b63a;
  --grid: rgba(246, 242, 234, 0.035);
  --shade: rgba(0, 0, 0, 0.55);
  --display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --body: "Mona Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --wrap: 1120px;
}
:root:not([data-theme="dark"]) {
  color-scheme: light;
  --bg: #f6f2ea;
  --bg-2: #efeae0;
  --panel: #fffdf8;
  --line: #d9d2c4;
  --text: #16181c;
  --muted: #5e6670;
  --signal: #177a45;
  --signal-ink: #ffffff;
  --amber-text: #8a5d00;
  --grid: rgba(22, 24, 28, 0.04);
  --shade: rgba(22, 24, 28, 0.16);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: var(--signal); }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }

.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--signal); color: var(--signal-ink);
  padding: 0.6rem 1rem; z-index: 10; font-weight: 600;
}
.skip:focus { left: 0.5rem; top: 0.5rem; }

h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.12; margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.7rem); }
h2 { font-size: clamp(1.5rem, 3.1vw, 2.25rem); }
h3 { font-size: 1.02rem; line-height: 1.3; letter-spacing: 0; }
p { margin: 0 0 1em; text-wrap: pretty; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.28rem); color: var(--muted); max-width: 34em; }
.muted { color: var(--muted); }
.signal { color: var(--signal); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 1.1rem;
}
.eyebrow::before {
  content: ""; width: 0.6em; height: 0.6em; border-radius: 50%;
  background: var(--signal); box-shadow: 0 0 0 4px color-mix(in srgb, var(--signal) 22%, transparent);
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 5;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.25rem; }
.brand { display: inline-flex; color: var(--text); text-decoration: none; }
.brand svg { width: 9.25rem; height: auto; }
.nav { display: flex; align-items: center; gap: clamp(0.75rem, 2.4vw, 1.9rem); font-size: 0.95rem; }
.nav a { text-decoration: none; color: var(--muted); padding: 0.4rem 0; }
.nav a:hover { color: var(--text); }
.nav .btn { color: var(--signal-ink); }
.theme {
  appearance: none; border: 1px solid var(--line); background: transparent; color: var(--muted);
  width: 2.5rem; height: 2.5rem; border-radius: 0.6rem; cursor: pointer; display: grid; place-items: center;
}
.theme:hover { color: var(--text); border-color: var(--muted); }
.theme svg { width: 1.1rem; height: 1.1rem; }
@media (max-width: 760px) {
  .nav .hide-s { display: none; }
  .brand svg { width: 7.75rem; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.55em;
  background: var(--signal); color: var(--signal-ink);
  font-weight: 650; font-size: 0.98rem; text-decoration: none;
  padding: 0.78rem 1.15rem; border-radius: 0.65rem; border: 1px solid transparent;
  transition: transform 0.15s ease, filter 0.15s ease;
}
.btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--muted); filter: none; }
.btn.small { padding: 0.55rem 0.9rem; font-size: 0.9rem; }

/* Sections */
section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; border-bottom: 1px solid var(--line); }
.section-head { max-width: 44rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head p:not(.eyebrow) { color: var(--muted); margin-top: 1rem; font-size: 1.1rem; }

/* Hero */
.hero {
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 44px 44px;
  background-position: center top;
}
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { text-wrap: wrap; }
.hero .lede { margin-top: 1.5rem; }
.cta { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }
.specs { display: flex; flex-wrap: wrap; gap: 0.5rem 0.6rem; margin: 2.2rem 0 0; padding: 0; list-style: none; }
.specs li { border: 1px solid var(--line); border-radius: 999px; padding: 0.3rem 0.8rem; font-size: 0.88rem; color: var(--muted); background: var(--bg); }
.specs b { color: var(--text); font-weight: 650; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } }

/* Sample RQL card */
.rql {
  background: var(--panel); border: 1px solid var(--line); border-radius: 1rem;
  box-shadow: 0 30px 60px -30px var(--shade);
  font-size: 0.93rem; line-height: 1.45; overflow: hidden;
}
.rql-bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.7rem 1.1rem; border-bottom: 1px solid var(--line); background: var(--bg-2); font-size: 0.8rem; color: var(--muted); }
.rql-bar .tag { border: 1px dashed var(--muted); border-radius: 0.35rem; padding: 0.05rem 0.45rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 650; font-size: 0.7rem; }
.rql-top { padding: 1.1rem 1.1rem 0.9rem; display: flex; justify-content: space-between; gap: 1rem; align-items: start; }
.rql-top h3 { font-size: 1.08rem; }
.rql-top p { margin: 0.25rem 0 0; color: var(--muted); font-size: 0.86rem; }
.grade { flex: none; font-weight: 700; font-size: 0.78rem; color: var(--signal); border: 1px solid var(--signal); border-radius: 0.4rem; padding: 0.15rem 0.5rem; white-space: nowrap; }
.rql dl { margin: 0; }
.rql .row { display: grid; grid-template-columns: 5.6rem minmax(0, 1fr); gap: 0.8rem; padding: 0.8rem 1.1rem; border-top: 1px solid var(--line); }
.rql dt { font-size: 0.72rem; font-weight: 650; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding-top: 0.2rem; }
.rql dd { margin: 0; }
.src { display: block; margin-top: 0.25rem; font-size: 0.8rem; color: var(--amber-text); font-variant-numeric: tabular-nums; }
.opener { border-left: 2px solid var(--signal); padding-left: 0.75rem; font-style: normal; display: block; }
.rql-foot { padding: 0.7rem 1.1rem; border-top: 1px solid var(--line); background: var(--bg-2); font-size: 0.8rem; color: var(--muted); }

/* Five tests */
.tests { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: 1rem; overflow: hidden; background: var(--panel); counter-reset: t; }
.tests li { padding: 1.4rem 1.2rem 1.5rem; border-left: 1px solid var(--line); counter-increment: t; }
.tests li:first-child { border-left: 0; }
.tests li::before { content: "0" counter(t); display: block; font-family: var(--display); font-size: 0.85rem; color: var(--signal); margin-bottom: 1.6rem; }
.tests p { margin: 0.5rem 0 0; color: var(--muted); font-size: 0.93rem; line-height: 1.5; }
@media (max-width: 980px) {
  .tests { grid-template-columns: 1fr; }
  .tests li { border-left: 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 2.6rem 1fr; column-gap: 0.5rem; padding: 1.1rem 1.2rem; }
  .tests li:first-child { border-top: 0; }
  .tests li::before { grid-row: span 2; margin: 0.15rem 0 0; }
  .tests p { grid-column: 2; }
}
.rule {
  margin-top: 1.5rem; padding: 1.2rem 1.4rem; border-radius: 1rem;
  border: 1px solid color-mix(in srgb, var(--signal) 55%, var(--line));
  background: color-mix(in srgb, var(--signal) 9%, var(--bg));
  font-family: var(--display); font-size: clamp(1rem, 1.9vw, 1.3rem); line-height: 1.4;
}
.rule span { color: var(--signal); }

/* Month */
.cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
@media (max-width: 800px) { .cols { grid-template-columns: 1fr; } }
.box { background: var(--panel); border: 1px solid var(--line); border-radius: 1rem; padding: 1.5rem; }
.box h3 { margin-bottom: 0.9rem; }
.box ul { margin: 0; padding: 0; list-style: none; }
.box li { padding: 0.55rem 0 0.55rem 1.6rem; border-top: 1px solid var(--line); position: relative; color: var(--muted); }
.box li:first-child { border-top: 0; }
.box li b { color: var(--text); font-weight: 650; }
.box li::before { content: ""; position: absolute; left: 0.15rem; top: 1.12rem; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--signal); }
.box.no li::before { background: transparent; border: 1.5px solid var(--muted); }

.weeks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.75rem; margin-top: 1.25rem; }
.week { border: 1px solid var(--line); border-radius: 0.8rem; padding: 1rem; background: var(--bg-2); }
.week small { display: block; color: var(--muted); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 650; }
.week strong { font-family: var(--display); font-weight: 500; font-size: 1.35rem; display: block; margin-top: 0.35rem; }
.week span { color: var(--muted); font-size: 0.86rem; }
@media (max-width: 640px) { .weeks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Pricing */
.founding {
  display: flex; gap: 0.9rem; align-items: baseline; flex-wrap: wrap;
  border: 1px solid color-mix(in srgb, var(--signal) 55%, var(--line));
  background: color-mix(in srgb, var(--signal) 9%, var(--bg));
  border-radius: 1rem; padding: 1rem 1.3rem; margin-bottom: 1.25rem;
}
.founding b { font-family: var(--display); font-weight: 500; color: var(--signal); }
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; align-items: stretch; }
@media (max-width: 900px) { .tiers { grid-template-columns: 1fr; } }
.tier { background: var(--panel); border: 1px solid var(--line); border-radius: 1rem; padding: 1.6rem 1.5rem; display: flex; flex-direction: column; position: relative; }
.tier.rec { border-color: var(--signal); box-shadow: 0 0 0 1px var(--signal); }
.badge { position: absolute; top: -0.75rem; left: 1.4rem; background: var(--signal); color: var(--signal-ink); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.2rem 0.6rem; border-radius: 999px; }
.tier h3 { font-size: 1.05rem; }
.price { font-family: var(--display); font-size: 2.3rem; line-height: 1; margin: 1.1rem 0 0.3rem; }
.price small { font-family: var(--body); font-size: 0.95rem; color: var(--muted); font-weight: 400; margin-left: 0.3rem; }
.tier .per { color: var(--muted); font-size: 0.9rem; margin: 0 0 1.1rem; }
.tier ul { list-style: none; margin: 0 0 1.5rem; padding: 0; flex: 1; }
.tier li { padding: 0.5rem 0; border-top: 1px solid var(--line); font-size: 0.95rem; }
.tier .btn { justify-content: center; }
.fine { margin-top: 1.5rem; color: var(--muted); font-size: 0.95rem; max-width: 50rem; }

/* For / not for */
.fit h3 { display: flex; align-items: center; gap: 0.6rem; }

/* About + contact */
.about .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 900px) { .about .wrap { grid-template-columns: 1fr; } }
.about p { color: var(--muted); max-width: 34em; }
.about p strong { color: var(--text); font-weight: 650; }
.contact-card { background: var(--panel); border: 1px solid var(--line); border-radius: 1rem; padding: 1.75rem; }
.contact-card h2 { font-size: 1.4rem; }
.contact-card p { color: var(--muted); margin: 0.8rem 0 1.3rem; }
.email { font-family: var(--display); font-size: clamp(0.95rem, 2.2vw, 1.15rem); word-break: break-all; display: block; margin-bottom: 1.3rem; text-decoration-color: var(--signal); }
.steps { margin: 1.3rem 0 0; padding: 1.1rem 0 0 1.2rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.93rem; }
.steps li { margin: 0.25rem 0; }

/* Footer */
.site-footer { padding: 2.5rem 0 3rem; color: var(--muted); font-size: 0.9rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.25rem 2rem; align-items: center; }
.site-footer .foot-brand { display: flex; align-items: center; gap: 0.9rem; }
.site-footer img { width: 2.5rem; height: 2.5rem; border-radius: 0.6rem; }
.site-footer nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.site-footer p { margin: 0; }

/* Prose pages (privacy, 404) */
.prose { padding: clamp(3rem, 7vw, 5rem) 0; }
.prose .wrap { max-width: 46rem; }
.prose h1 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); margin-bottom: 1rem; }
.prose h2 { font-size: 1.15rem; margin: 2.4rem 0 0.7rem; letter-spacing: 0; }
.prose p, .prose li { color: var(--muted); }
.prose p strong { color: var(--text); }
.prose ul { padding-left: 1.2rem; }
.prose .updated { font-size: 0.9rem; border-top: 1px solid var(--line); padding-top: 1.2rem; margin-top: 2.5rem; }

/* Simple home page and sub-pages */
h1.page { font-size: clamp(1.8rem, 4.2vw, 2.9rem); }
.hero.home { padding: clamp(3.5rem, 9vw, 7rem) 0; }
.hero.home .rql { font-size: 1rem; }
.hero.home .rql .row { grid-template-columns: 4.6rem minmax(0, 1fr); padding: 1rem 1.1rem; }
.next { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
@media (max-width: 800px) { .links { grid-template-columns: 1fr; } }
.link-card { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: 1rem; padding: 1.6rem 1.5rem; text-decoration: none; transition: border-color 0.15s ease, transform 0.15s ease; }
.link-card:hover { border-color: var(--signal); transform: translateY(-2px); }
.link-card h2 { font-size: 1.25rem; }
.link-card p { color: var(--muted); margin: 0.7rem 0 1.4rem; flex: 1; }
.link-card span { color: var(--signal); font-weight: 650; }
.link-card span::after { content: " \2192"; }
.cta-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem; }
.cta-strip .cta { margin-top: 0; }
.cta-strip h2 { font-size: clamp(1.25rem, 2.4vw, 1.7rem); }
main > section:last-child { border-bottom: 0; }
.site-footer { border-top: 1px solid var(--line); }

/* ---------- v3: richer front page ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

.hero.v3 { position: relative; overflow: hidden; background-image: none; padding: clamp(4rem, 10vw, 8rem) 0 clamp(4rem, 9vw, 7rem); }
.hero.v3 .wrap { position: relative; z-index: 1; }
.field { position: absolute; inset: 0; width: 100%; height: 100%; -webkit-mask-image: radial-gradient(120% 90% at 70% 40%, #000 35%, transparent 85%); mask-image: radial-gradient(120% 90% at 70% 40%, #000 35%, transparent 85%); }
.glow { position: absolute; pointer-events: none; width: 60rem; height: 60rem; right: -18rem; top: -26rem; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--signal) 26%, transparent), transparent 70%); filter: blur(10px); opacity: 0.75; }
:root:not([data-theme="dark"]) .glow { opacity: 0.5; }
.hero.v3 h1 { font-size: clamp(2.2rem, 5.4vw, 4rem); }
.hero.v3 .lede { color: var(--muted); }

.rql.build { backdrop-filter: blur(6px); background: color-mix(in srgb, var(--panel) 88%, transparent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--signal) 0%, transparent), 0 40px 80px -30px var(--shade); transition: box-shadow 0.8s ease, border-color 0.8s ease; }
.rql.build.done { border-color: color-mix(in srgb, var(--signal) 60%, var(--line)); box-shadow: 0 0 0 1px color-mix(in srgb, var(--signal) 35%, transparent), 0 0 70px -10px color-mix(in srgb, var(--signal) 40%, transparent), 0 40px 80px -30px var(--shade); }
.rql.build .row { grid-template-columns: 4.6rem minmax(0, 1fr) 1.3rem; align-items: start; padding: 0.95rem 1.1rem; font-size: 0.98rem; }
.js .rql.build .step { opacity: 0.28; transition: opacity 0.5s ease; }
.js .rql.build .step.on { opacity: 1; }
.tick { width: 1.2rem; height: 1.2rem; border-radius: 50%; border: 1.5px solid var(--line); margin-top: 0.15rem; position: relative; transition: background 0.3s ease, border-color 0.3s ease, transform 0.4s cubic-bezier(0.3, 1.6, 0.5, 1); }
.step.on .tick, html:not(.js) .tick { background: var(--signal); border-color: var(--signal); transform: scale(1.08); }
.tick::after { content: ""; position: absolute; left: 0.36rem; top: 0.2rem; width: 0.28rem; height: 0.5rem; border: solid var(--signal-ink); border-width: 0 2px 2px 0; transform: rotate(45deg); opacity: 0; transition: opacity 0.3s ease 0.1s; }
.step.on .tick::after, html:not(.js) .tick::after { opacity: 1; }
.live { display: inline-block; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--signal); margin-right: 0.55rem; animation: live 1.8s ease-out infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--signal) 60%, transparent); } 100% { box-shadow: 0 0 0 0.6rem transparent; } }
.grade b { font-weight: 700; }

/* Numbers band */
.band { padding: clamp(2.2rem, 5vw, 3.5rem) 0; background: var(--bg-2); }
.nums { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.nums li { border-left: 1px solid var(--line); padding-left: 1.25rem; }
.nums b { display: block; font-family: var(--display); font-weight: 500; font-size: clamp(2.4rem, 5.5vw, 4rem); line-height: 1; color: var(--signal); font-variant-numeric: tabular-nums; }
.nums span { display: block; margin-top: 0.6rem; color: var(--muted); font-size: 0.95rem; max-width: 13em; }
@media (max-width: 760px) { .nums { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2rem; } }

/* Tabs */
.tabs { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(1.25rem, 3vw, 2.5rem); align-items: stretch; }
@media (max-width: 900px) { .tabs { grid-template-columns: 1fr; } }
.tablist { display: flex; flex-direction: column; gap: 0.5rem; }
.tablist button { appearance: none; text-align: left; font: inherit; color: var(--text); background: transparent; border: 1px solid transparent; border-radius: 0.9rem; padding: 0.95rem 1.1rem; display: grid; grid-template-columns: 2.4rem 1fr; gap: 0.4rem; cursor: pointer; position: relative; overflow: hidden; transition: background 0.25s ease, border-color 0.25s ease; }
.tablist button:hover { background: var(--bg-2); }
.tablist em { font-family: var(--display); font-style: normal; font-size: 0.85rem; color: var(--muted); padding-top: 0.2rem; transition: color 0.25s ease; }
.tablist b { font-family: var(--display); font-weight: 500; font-size: 1.1rem; display: block; }
.tablist small { display: block; color: var(--muted); font-size: 0.93rem; margin-top: 0.15rem; }
.tablist button[aria-selected="true"] { background: var(--panel); border-color: var(--line); }
.tablist button[aria-selected="true"] em { color: var(--signal); }
.tablist button::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--signal); }
.tabs.auto .tablist button[aria-selected="true"]::after { animation: fill 3.2s linear forwards; }
@keyframes fill { to { width: 100%; } }
.stage { position: relative; border: 1px solid var(--line); border-radius: 1.2rem; padding: clamp(1rem, 3vw, 2rem); background: radial-gradient(120% 120% at 100% 0%, color-mix(in srgb, var(--signal) 14%, transparent), transparent 55%), var(--bg-2); display: flex; flex-direction: column; justify-content: center; }
.stage-card { background: var(--panel); border: 1px solid var(--line); border-radius: 0.9rem; overflow: hidden; box-shadow: 0 30px 60px -35px var(--shade); }
.s-row { display: grid; grid-template-columns: 5.2rem minmax(0, 1fr); gap: 0.8rem; padding: 0.95rem 1.1rem; border-top: 1px solid var(--line); border-left: 3px solid transparent; opacity: 0.32; transition: opacity 0.4s ease, background 0.4s ease, border-color 0.4s ease; font-size: 0.97rem; line-height: 1.45; }
.s-row:first-child { border-top: 0; }
.s-row .k { font-size: 0.72rem; font-weight: 650; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding-top: 0.2rem; }
.stage-card[data-active="1"] [data-t="1"], .stage-card[data-active="2"] [data-t="2"], .stage-card[data-active="3"] [data-t="3"], .stage-card[data-active="4"] [data-t="4"], .stage-card[data-active="5"] [data-t="5"] { opacity: 1; border-left-color: var(--signal); background: color-mix(in srgb, var(--signal) 9%, transparent); }
.chips { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.45rem; }
.chips i { font-style: normal; font-size: 0.78rem; border: 1px solid var(--line); border-radius: 999px; padding: 0.1rem 0.6rem; color: var(--muted); }
.stage-note { margin: 0.9rem 0 0; font-size: 0.8rem; color: var(--muted); }
.tabs + .rule { text-align: center; }

/* Month track */
.track { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; position: relative; counter-reset: s; }
.track::before { content: ""; position: absolute; left: 0.5rem; right: 0.5rem; top: 0.5rem; height: 2px; background: var(--line); }
.track::after { content: ""; position: absolute; left: 0.5rem; top: 0.5rem; height: 2px; width: 0; background: var(--signal); transition: width 2.2s cubic-bezier(0.3, 0.6, 0.2, 1) 0.2s; }
.track.in::after, html:not(.js) .track::after { width: calc(100% - 1rem); }
.track li { position: relative; padding-top: 2rem; }
.track li::before { content: ""; position: absolute; top: 0; left: 0; width: 1.05rem; height: 1.05rem; border-radius: 50%; background: var(--bg); border: 2px solid var(--signal); z-index: 1; }
.track li:first-child::before { background: var(--signal); }
.track b { font-family: var(--display); font-weight: 500; display: block; font-size: 1.05rem; }
.track span { display: block; color: var(--muted); font-size: 0.93rem; margin-top: 0.35rem; }
@media (max-width: 820px) {
  .track { grid-template-columns: 1fr; gap: 1.4rem; }
  .track::before { left: 0.5rem; right: auto; top: 0.5rem; bottom: 0.5rem; width: 2px; height: auto; }
  .track::after { display: none; }
  .track li { padding: 0 0 0 2.2rem; }
}
.more { margin: 2rem 0 0; }
.more a { color: var(--signal); font-weight: 650; text-decoration: none; }
.more a::after { content: " \2192"; }
.more a:hover { text-decoration: underline; }

/* Pricing teaser */
.mini { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 1rem; overflow: hidden; background: var(--panel); }
.mini a { text-decoration: none; padding: 1.5rem; border-left: 1px solid var(--line); transition: background 0.2s ease; }
.mini a:first-child { border-left: 0; }
.mini a:hover { background: var(--bg-2); }
.mini span { display: block; color: var(--muted); font-size: 0.95rem; }
.mini b { display: block; font-family: var(--display); font-weight: 500; font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin: 0.5rem 0 0.2rem; }
.mini .rec b { color: var(--signal); }
.mini small { color: var(--muted); font-size: 0.9rem; }
@media (max-width: 700px) { .mini { grid-template-columns: 1fr; } .mini a { border-left: 0; border-top: 1px solid var(--line); } .mini a:first-child { border-top: 0; } }

/* Final call to action */
.final { position: relative; overflow: hidden; text-align: center; padding: clamp(4.5rem, 11vw, 8rem) 0; }
.final .glow { left: 50%; right: auto; top: 20%; transform: translateX(-50%); width: 70rem; height: 40rem; }
.final .wrap { position: relative; }
.final h2 { font-size: clamp(1.9rem, 5vw, 3.4rem); max-width: 16em; margin-inline: auto; }
.final p { color: var(--muted); max-width: 32em; margin: 1.3rem auto 0; font-size: 1.1rem; }
.final .cta { justify-content: center; }
.hero.v3 .wrap { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); }
.hero.v3 h1 { font-size: clamp(2.05rem, 4.3vw, 3.1rem); line-height: 1.14; }
@media (max-width: 900px) { .hero.v3 .wrap { grid-template-columns: 1fr; } }
.why { margin: 0; padding: 0.95rem 1.1rem 1rem; border-top: 1px solid var(--line); background: color-mix(in srgb, var(--signal) 9%, transparent); }
.why b { font-size: 0.72rem; font-weight: 650; letter-spacing: 0.1em; text-transform: uppercase; color: var(--signal); }
.why p { margin: 0.35rem 0 0; font-size: 0.93rem; line-height: 1.5; color: var(--text); }
.js .rql.build .why.step { opacity: 0; transform: translateY(6px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .rql.build .why.step.on { opacity: 1; transform: none; }
.whyline { display: block; margin-top: 0.55rem; font-size: 0.86rem; color: var(--muted); }

/* Comparison */
.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } }
.compare .col { border: 1px solid var(--line); border-radius: 1rem; padding: 1.6rem 1.5rem; background: var(--bg-2); }
.compare .col.new { background: var(--panel); border-color: color-mix(in srgb, var(--signal) 55%, var(--line)); box-shadow: 0 30px 60px -40px color-mix(in srgb, var(--signal) 60%, transparent); }
.compare h3 { margin-bottom: 0.8rem; }
.compare .old h3, .compare .old li { color: var(--muted); }
.compare ul { list-style: none; margin: 0; padding: 0; }
.compare li { padding: 0.7rem 0 0.7rem 1.9rem; border-top: 1px solid var(--line); position: relative; }
.compare .old li::before { content: ""; position: absolute; left: 0.2rem; top: 1.35rem; width: 0.7rem; height: 2px; background: var(--muted); }
.compare .new li::before { content: ""; position: absolute; left: 0.1rem; top: 1rem; width: 1rem; height: 1rem; border-radius: 50%; background: var(--signal); }
.compare .new li::after { content: ""; position: absolute; left: 0.43rem; top: 1.17rem; width: 0.25rem; height: 0.45rem; border: solid var(--signal-ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* Questions */
.faq { border-top: 1px solid var(--line); max-width: 52rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.15rem 2.5rem 1.15rem 0; position: relative; font-family: var(--display); font-size: 1.02rem; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0.3rem; top: 0.85rem; font-family: var(--body); font-size: 1.5rem; font-weight: 400; color: var(--muted); transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); color: var(--signal); }
.faq p { color: var(--muted); margin: 0 0 1.3rem; max-width: 44rem; }

/* Calmer green: keep it for signal moments */
.nums b { color: var(--text); }
.mini .rec b { color: var(--text); }
.mini .rec span::after { content: "Recommended"; margin-left: 0.6rem; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--signal); }
.more a { color: var(--text); }
.more a::after { color: var(--signal); }
.glow { opacity: 0.5; }
:root:not([data-theme="dark"]) .glow { opacity: 0.35; }
.final .glow { opacity: 0.4; }
.rule { background: var(--bg-2); border-color: var(--line); }
.tabs + .rule { font-size: clamp(0.95rem, 1.7vw, 1.15rem); }
.founding b { color: var(--text); }
.founding b::before { content: ""; display: inline-block; width: 0.55em; height: 0.55em; border-radius: 50%; background: var(--signal); margin-right: 0.55em; }

/* Value propositions */
.props { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
@media (max-width: 1000px) { .props { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .props { grid-template-columns: 1fr; } }
.prop { background: var(--panel); border: 1px solid var(--line); border-radius: 1rem; padding: 1.5rem 1.4rem 1.6rem; transition: border-color 0.2s ease, transform 0.2s ease; }
.prop:hover { border-color: color-mix(in srgb, var(--signal) 55%, var(--line)); transform: translateY(-3px); }
.prop em { font-family: var(--display); font-style: normal; font-size: 0.85rem; color: var(--signal); display: block; margin-bottom: 1.4rem; }
.prop h3 { font-size: 1.08rem; }
.prop p { color: var(--muted); font-size: 0.95rem; line-height: 1.55; margin: 0.7rem 0 0; }

/* Guarantee */
.guarantee { display: grid; grid-template-columns: auto 1fr; gap: 0.4rem 1.5rem; align-items: baseline; margin: 1.25rem 0 0; padding: 1.2rem 1.4rem; border: 1px solid color-mix(in srgb, var(--signal) 55%, var(--line)); border-radius: 1rem; background: color-mix(in srgb, var(--signal) 7%, var(--bg)); }
.guarantee b { font-family: var(--display); font-weight: 500; white-space: nowrap; }
.guarantee b::before { content: ""; display: inline-block; width: 0.55em; height: 0.55em; border-radius: 50%; background: var(--signal); margin-right: 0.55em; }
.guarantee span { color: var(--muted); }
@media (max-width: 760px) { .guarantee { grid-template-columns: 1fr; } .guarantee b { white-space: normal; } }

/* Funnel diagram */
.funnel-wrap { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.funnel-wrap .section-head { margin-bottom: 0; }
@media (max-width: 900px) { .funnel-wrap { grid-template-columns: 1fr; } }
.funnel { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.funnel li { width: var(--w); min-width: 13.5rem; background: var(--panel); border: 1px solid var(--line); border-radius: 0.7rem; padding: 0.85rem 1rem; text-align: center; font-size: 0.95rem; color: var(--muted); position: relative; transition: width 1s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.6s ease; }
.funnel li + li::before { content: ""; position: absolute; left: 50%; top: -0.5rem; height: 0.5rem; width: 1px; background: var(--line); }
.js .funnel:not(.in) li { width: 100%; opacity: 0.4; }
.funnel li:nth-child(2) { transition-delay: 0.15s; }
.funnel li:nth-child(3) { transition-delay: 0.3s; }
.funnel li:nth-child(4) { transition-delay: 0.45s; }
.funnel li:nth-child(5) { transition-delay: 0.6s; }
.funnel li.last { background: var(--signal); border-color: var(--signal); color: var(--signal-ink); font-family: var(--display); font-weight: 500; font-size: 1.05rem; box-shadow: 0 20px 50px -20px color-mix(in srgb, var(--signal) 70%, transparent); }

/* One signal, three angles */
.angles p { margin: 0 0 0.8rem; }
.angles b { display: block; font-size: 0.78rem; font-weight: 650; color: var(--signal); margin-bottom: 0.2rem; }
.angles q { display: block; border-left: 2px solid var(--signal); padding-left: 0.75rem; font-size: 0.93rem; line-height: 1.45; }

.site-footer img { border: 1px solid var(--line); }

.prop.wide { grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.6rem; align-items: start; border-color: color-mix(in srgb, var(--signal) 45%, var(--line)); }
.prop.wide em { margin: 0.2rem 0 0; }
.prop.wide p { max-width: 86ch; }
.guarantee + .guarantee { margin-top: 0.8rem; }

.lede strong { color: var(--text); font-weight: 650; }

.vid { margin: 0; }
.vid video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 1.1rem; border: 1px solid var(--line); background: #e6e0d3; box-shadow: 0 40px 80px -40px var(--shade); }
.vid figcaption { color: var(--muted); font-size: 0.9rem; margin-top: 0.9rem; }

.nums b { color: var(--signal); }

.site-footer svg.avatar { width: 2.5rem; height: 2.5rem; border-radius: 0.6rem; border: 1px solid var(--line); flex: none; display: block; }

.founding + .founding { margin-top: 0.8rem; }
.founding a { color: inherit; font-weight: 650; }
