/* Varko. One stylesheet. Dark by default, light when the visitor's system asks for it. */

@font-face { font-family: "Geist"; src: url("/fonts/geist.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/fonts/geist-mono.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/fonts/instrument-serif.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/fonts/instrument-serif-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --bg: #0b0c0e;
  --bg-2: #101215;
  --surface: #14161a;
  --surface-2: #1a1d22;
  --ink: #f1eee8;
  --muted: #9a9ea7;
  --faint: #858a94;
  --line: #25282e;
  --line-2: #32363d;
  --accent: #ff7350;
  --accent-text: #ff7350;
  --accent-ink: #1b0b06;
  --accent-soft: rgb(255 115 80 / 13%);
  --accent-glow: rgb(255 115 80 / 22%);
  --ok: #5fcaa0;
  --ok-soft: rgb(95 202 160 / 13%);
  --track: #23262c;
  --shadow: 0 1px 0 rgb(255 255 255 / 4%) inset, 0 30px 80px -30px rgb(0 0 0 / 80%);
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f5f3ed;
    --bg-2: #efece4;
    --surface: #ffffff;
    --surface-2: #faf8f3;
    --ink: #15171a;
    --muted: #5a606a;
    --faint: #656a73;
    --line: #dfdbd0;
    --line-2: #cfcabd;
    --accent: #c9401d;
    --accent-text: #ad3719;
    --accent-ink: #ffffff;
    --accent-soft: rgb(201 64 29 / 10%);
    --accent-glow: rgb(201 64 29 / 14%);
    --ok: #1c6a4e;
    --ok-soft: rgb(28 106 78 / 10%);
    --track: #ebe7dc;
    --shadow: 0 1px 2px rgb(20 22 26 / 6%), 0 30px 70px -34px rgb(20 22 26 / 30%);
    color-scheme: light;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 28px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; padding: 8px 12px; background: var(--ink); color: var(--bg); border-radius: 6px; }
.skip:focus { left: 16px; top: 16px; z-index: 30; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 620; letter-spacing: -0.015em; font-size: 18px; }
.mark { width: 22px; height: 22px; color: var(--accent); }
.nav { display: flex; align-items: center; gap: 30px; font-size: 14.5px; }
.nav a { text-decoration: none; color: var(--muted); transition: color 0.15s ease; }
.nav a:hover { color: var(--ink); }
.nav .nav-cta { color: var(--ink); background: var(--surface-2); border: 1px solid var(--line-2); padding: 7px 15px; border-radius: 999px; font-weight: 520; }
.nav .nav-cta:hover { border-color: var(--accent); }

/* Hero */
.hero { position: relative; padding: 84px 0 104px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 70% 62% at 68% 34%, #000 0%, transparent 72%); -webkit-mask-image: radial-gradient(ellipse 70% 62% at 68% 34%, #000 0%, transparent 72%); opacity: 0.55; pointer-events: none; }
.hero::after { content: ""; position: absolute; width: 720px; height: 520px; right: -140px; top: -60px; background: radial-gradient(closest-side, var(--accent-glow), transparent); filter: blur(30px); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr); gap: 64px; align-items: start; }
.hero-copy { padding-top: 40px; }
.kicker { font-family: var(--mono); font-size: 13px; letter-spacing: 0.02em; color: var(--muted); display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--accent-glow); animation: pulse 2.4s ease-out infinite; flex: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 var(--accent-glow); } 70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

h1 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(2.9rem, 5.9vw, 5rem); line-height: 1; letter-spacing: -0.02em; text-wrap: balance; position: relative; }
h1 .q { color: var(--accent); font-style: normal; }
h1 .q:first-child { position: absolute; right: 100%; margin-right: -0.04em; }
.what { margin-top: 16px; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.lede { margin-top: 28px; font-size: 1.18rem; line-height: 1.55; color: var(--muted); max-width: 31em; text-wrap: pretty; }

.signup { margin-top: 30px; display: flex; gap: 10px; max-width: 480px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 14px; padding: 6px; transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.signup:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.signup input[type="email"] { flex: 1; min-width: 0; background: transparent; border: 0; padding: 0 14px; height: 48px; font-size: 16px; outline: none; }
.signup input::placeholder { color: var(--faint); }
.signup button { flex: none; height: 48px; padding: 0 22px; border: 0; border-radius: 10px; background: var(--accent); color: var(--accent-ink); font-weight: 620; font-size: 15.5px; letter-spacing: -0.005em; cursor: pointer; transition: transform 0.15s ease, filter 0.15s ease; }
.signup button:hover { filter: brightness(1.08); transform: translateY(-1px); }
.signup button:active { transform: translateY(0); }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fine { margin-top: 14px; font-size: 14px; color: var(--muted); max-width: 34em; }
.fine a { color: var(--muted); text-underline-offset: 3px; }
.form-error { margin-top: 12px; font-size: 14.5px; color: var(--accent-text); }

/* Demo console */
.console { background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%); border: 1px solid var(--line-2); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; min-height: 560px; display: flex; flex-direction: column; }
.console-bar { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.lights { display: inline-flex; gap: 6px; }
.lights i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.console-title { font-size: 13px; color: var(--muted); }
.console-tag { margin-left: auto; flex: none; white-space: nowrap; font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--faint); border: 1px solid var(--line-2); border-radius: 999px; padding: 2px 9px; }
.chips { display: flex; gap: 8px; padding: 14px 16px 0; flex-wrap: wrap; }
.chip-btn { background: transparent; border: 1px solid var(--line-2); color: var(--muted); border-radius: 999px; padding: 6px 13px; font-size: 13.5px; cursor: pointer; transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease; }
.chip-btn:hover { color: var(--ink); border-color: var(--faint); }
.chip-btn[aria-selected="true"] { color: var(--accent-text); border-color: var(--accent); background: var(--accent-soft); }

.ask { margin: 16px 16px 0; padding: 12px 14px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; font-size: 15px; line-height: 1.45; display: flex; gap: 10px; align-items: baseline; min-height: 48px; }
.who { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); flex: none; }
.caret { display: none; width: 7px; height: 1.05em; background: var(--accent); margin-left: 2px; transform: translateY(3px); animation: blink 0.9s steps(1) infinite; flex: none; }
.typing .caret { display: inline-block; }
@keyframes blink { 50% { opacity: 0; } }

.panel { padding: 14px 16px 4px; flex: 1; }
.panel.pending { visibility: hidden; }
.call { font-family: var(--mono); font-size: 12px; color: var(--ok); margin-bottom: 6px; display: flex; flex-wrap: wrap; gap: 4px 10px; }
.call::before { content: "▸"; color: var(--ok); }
.call span { color: var(--faint); }
.rows .row { padding: 11px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 14px; row-gap: 7px; align-items: baseline; }
.rows .row:last-child { border-bottom: 0; }
.path { font-family: var(--mono); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.figures { font-family: var(--mono); font-size: 13px; white-space: nowrap; font-variant-numeric: tabular-nums; display: flex; gap: 8px; align-items: baseline; }
.was, .arrow { color: var(--faint); }
.now { font-weight: 600; }
.delta { color: var(--accent-text); font-weight: 650; min-width: 4.4em; text-align: right; }
.flat { color: var(--muted); min-width: 4.4em; text-align: right; }
.up { color: var(--ok); min-width: 4.4em; text-align: right; }
.bar { grid-column: 1 / -1; height: 3px; border-radius: 3px; background: var(--track); overflow: hidden; }
.fill { display: block; height: 100%; background: var(--accent); border-radius: 3px; transform-origin: left; }
.fill-0 { width: 0; } .fill-46 { width: 46%; } .fill-47 { width: 47%; } .fill-62 { width: 62%; }
.cause { grid-column: 1 / -1; font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.chip { background: var(--accent-soft); color: var(--accent-text); font-weight: 600; font-size: 12px; padding: 2px 9px; border-radius: 999px; white-space: nowrap; }
.clients .row { padding: 8px 0; row-gap: 4px; }
.clients .path { font-family: var(--sans); font-size: 14.5px; }
.clients .row:not(.flag) .path { color: var(--muted); }
.say { margin-top: 12px; padding: 12px 14px; border-left: 2px solid var(--accent); background: var(--accent-soft); border-radius: 0 10px 10px 0; font-size: 14.5px; line-height: 1.5; }
.console-foot { padding: 12px 16px 14px; font-size: 12px; color: var(--faint); border-top: 1px solid var(--line); margin-top: 14px; }

.meters { display: grid; gap: 12px; margin: 14px 0 16px; }
.meters li { display: grid; grid-template-columns: 116px minmax(0, 1fr) 44px; gap: 12px; align-items: center; font-size: 14px; }
.meter { height: 10px; border-radius: 6px; background: var(--track); overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: 6px; background: var(--accent); transform-origin: left; }
.m-46 { width: 46%; } .m-22 { width: 22%; opacity: 0.8; } .m-19 { width: 19%; opacity: 0.62; } .m-13 { width: 13%; opacity: 0.46; }
.meter-val { font-family: var(--mono); font-size: 13px; text-align: right; font-variant-numeric: tabular-nums; }
.split { display: flex; height: 34px; border-radius: 9px; overflow: hidden; font-size: 12.5px; font-family: var(--mono); border: 1px solid var(--line-2); }
.split span { display: flex; align-items: center; padding: 0 12px; white-space: nowrap; }
.split-a { width: 31%; background: var(--surface-2); color: var(--muted); }
.split-b { width: 69%; background: var(--ok-soft); color: var(--ok); }

.chart { width: 100%; height: auto; margin: 10px 0 2px; display: block; }
.grid-line { stroke: var(--line); stroke-width: 1; }
.area { fill: var(--accent-soft); }
.line { fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
.mark-line { stroke: var(--faint); stroke-width: 1; stroke-dasharray: 3 4; }
.chart-label, .chart-axis { font-family: var(--mono); font-size: 11px; fill: var(--faint); }

/* Reveal used by the demo */
.reveal .row, .reveal .say, .reveal .meters li, .reveal .split, .reveal .chart, .reveal .call { opacity: 0; transform: translateY(6px); animation: rise 0.45s ease forwards; }
.reveal .call { animation-delay: 0.05s; }
.reveal .row:nth-child(1), .reveal .meters li:nth-child(1), .reveal .chart { animation-delay: 0.25s; }
.reveal .row:nth-child(2), .reveal .meters li:nth-child(2) { animation-delay: 0.4s; }
.reveal .row:nth-child(3), .reveal .meters li:nth-child(3) { animation-delay: 0.55s; }
.reveal .row:nth-child(4), .reveal .meters li:nth-child(4) { animation-delay: 0.7s; }
.reveal .row:nth-child(n+5) { animation-delay: 0.8s; }
.reveal .split { animation-delay: 0.9s; }
.reveal .say { animation-delay: 1.15s; }
.reveal .fill, .reveal .meter i { animation: grow 0.7s 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) backwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes grow { from { transform: scaleX(0); } }

/* Export reader */
.try { margin-top: 18px; font-size: 14.5px; color: var(--faint); }
.try span { display: block; margin-top: 2px; font-size: 13.5px; }
.when-own, .own-mode .when-demo { display: none; }
.own-mode .when-own { display: inline; }
.own-mode .console-tag { color: var(--ok); border-color: var(--ok); }
.try a { color: var(--ink); font-weight: 520; text-underline-offset: 4px; text-decoration-color: var(--accent); }
.try a:hover { color: var(--accent-text); }
.chip-own { border-style: dashed; color: var(--ink); }
.chip-own::before { content: "↥ "; color: var(--accent-text); }
.own-cta { margin-top: 12px; }
.own-open, .own-again { background: transparent; border: 0; padding: 0; color: var(--ink); font-size: 14px; font-weight: 520; cursor: pointer; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; }
.own-open::after { content: " →"; color: var(--accent-text); }
.own-open:hover, .own-again:hover { color: var(--accent-text); }
.own-again { margin-top: 14px; color: var(--muted); font-weight: 400; text-decoration-color: var(--line-2); }
.drop { margin: 10px 0 14px; border: 1.5px dashed var(--line-2); border-radius: 14px; padding: 26px 20px; text-align: center; background: var(--surface-2); transition: border-color 0.15s ease, background 0.15s ease; }
.dragging .drop, .dragging { border-color: var(--accent); }
.dragging .drop { background: var(--accent-soft); }
.drop-title { font-weight: 600; font-size: 16px; }
.when-touch { display: none; }
@media (hover: none) and (pointer: coarse) {
  .when-mouse { display: none; }
  .when-touch { display: inline; }
}
.drop-sub { margin-top: 4px; font-size: 13.5px; color: var(--muted); }
.drop-btn { margin-top: 16px; height: 40px; padding: 0 18px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); font-weight: 560; font-size: 14.5px; cursor: pointer; transition: border-color 0.15s ease; }
.drop-btn:hover { border-color: var(--accent); }
.howto { counter-reset: how; display: grid; gap: 9px; font-size: 13.5px; color: var(--muted); margin: 4px 0 8px; }
.howto li { counter-increment: how; padding-left: 26px; position: relative; }
.howto li::before { content: counter(how); position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--line-2); font-family: var(--mono); font-size: 10.5px; display: grid; place-items: center; color: var(--faint); }
.howto b { color: var(--ink); font-weight: 560; }
.note { margin-top: 14px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--surface-2); overflow: hidden; }
.note-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 14px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--faint); }
.note-copy { background: transparent; border: 1px solid var(--line-2); border-radius: 999px; padding: 3px 11px; font-family: var(--sans); font-size: 12.5px; letter-spacing: 0; text-transform: none; color: var(--ink); cursor: pointer; }
.note-copy:hover { border-color: var(--accent); color: var(--accent-text); }
.note-text { padding: 0 14px; margin-top: 11px; font-size: 14px; line-height: 1.55; overflow-wrap: anywhere; }
.note-text:last-child { padding-bottom: 13px; }
.own-more { margin-top: 10px; font-size: 12.5px; color: var(--faint); }
.own-signup { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.own-pitch { font-size: 14.5px; line-height: 1.5; }
.own-signup .signup { margin-top: 12px; max-width: none; background: var(--bg-2); }
.reveal .note, .reveal .own-more, .reveal .own-again { opacity: 0; transform: translateY(6px); animation: rise 0.45s 1s ease forwards; }

/* Sections */
.band { padding: 104px 0; border-top: 1px solid var(--line); }
.fig { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--faint); margin-bottom: 18px; }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.85rem); line-height: 1.08; letter-spacing: -0.035em; font-weight: 600; text-wrap: balance; max-width: 19em; }
h2 em { font-family: var(--serif); font-weight: 400; font-style: italic; letter-spacing: -0.01em; font-size: 1.1em; color: var(--accent); }
h3 { font-size: 1.05rem; letter-spacing: -0.012em; font-weight: 620; line-height: 1.3; }
.sub { margin-top: 18px; font-size: 1.08rem; color: var(--muted); max-width: 37em; text-wrap: pretty; }

.shapes { margin-top: 52px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.shape { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px 22px 24px; transition: border-color 0.2s ease, transform 0.2s ease; }
.shape:hover { border-color: var(--line-2); transform: translateY(-2px); }
.shape svg { width: 100%; height: auto; display: block; margin-bottom: 20px; }
.s-clicks { fill: none; stroke: var(--accent); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.s-driver { fill: none; stroke: var(--faint); stroke-width: 1.8; stroke-dasharray: 4 5; stroke-linecap: round; stroke-linejoin: round; }
.rule { margin-top: 8px; font-size: 15px; }
.suspects { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.legend { margin-top: 20px; font-size: 13px; color: var(--faint); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.key { display: inline-block; width: 22px; height: 0; border-top: 2.6px solid var(--accent); margin-left: 8px; }
.key:first-child { margin-left: 0; }
.key-driver { border-top: 1.8px dashed var(--faint); margin-left: 18px; }

.versus { margin-top: 48px; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--surface); }
.versus-head, .versus-row { display: grid; grid-template-columns: 148px repeat(3, minmax(0, 1fr)); }
.versus-head span { padding: 16px 22px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--faint); }
.versus-head span:last-child { color: var(--accent-text); background: var(--accent-soft); }
.versus-row { border-top: 1px solid var(--line); }
.versus-row p { padding: 18px 22px; font-size: 15.5px; color: var(--muted); }
.versus-row p[role="rowheader"] { font-family: var(--mono); font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--faint); padding-top: 21px; }
.versus-row p:last-child { background: var(--accent-soft); color: var(--ink); font-weight: 500; }
.versus + .legend .soon { margin: 0 4px 0 0; }
.versus-row p:last-child .soon:not(.done) { color: var(--muted); }
.midcta { margin-top: 34px; }
.soon.done { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 45%, transparent); }
.soon { font-family: var(--mono); font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--faint); border: 1px solid var(--line-2); border-radius: 999px; padding: 1px 8px; margin-left: 6px; white-space: nowrap; font-weight: 400; }

.limits { margin-top: 44px; border: 1px solid var(--line); border-radius: 16px; padding: 26px 28px 28px; background: var(--surface); }
.limits ul { margin-top: 14px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 36px; color: var(--muted); font-size: 15.5px; }
.limits li { padding-left: 20px; position: relative; }
.limits li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 9px; height: 0; border-top: 2px solid var(--faint); }
.prompt { margin-top: 14px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--bg-2); padding: 16px; font-family: var(--mono); font-size: 13px; line-height: 1.6; color: var(--ink); white-space: pre-wrap; overflow-wrap: anywhere; }
.copy-row { margin-top: 12px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }

.steps { margin-top: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; counter-reset: step; }
.steps li { counter-increment: step; border-top: 1px solid var(--line-2); padding-top: 20px; position: relative; }
.steps li::before { content: "0" counter(step); display: block; font-family: var(--mono); font-size: 13px; color: var(--accent-text); margin-bottom: 12px; }
.steps li::after { content: ""; position: absolute; top: -1px; left: 0; width: 44px; height: 1px; background: var(--accent); }
.steps p { margin-top: 8px; color: var(--muted); }
.fit { margin-top: 64px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.fit-col { border: 1px solid var(--line); border-radius: 16px; padding: 26px 28px 28px; background: var(--surface); }
.ticks { margin-top: 14px; display: grid; gap: 11px; color: var(--muted); font-size: 16px; }
.ticks li { padding-left: 28px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 0.5em; width: 11px; height: 6px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
.ticks-no li::before { width: 11px; height: 0; top: 0.78em; border-left: 0; border-bottom: 2px solid var(--faint); transform: none; }

.status { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: start; }
.log { border-left: 1px solid var(--line-2); display: grid; gap: 28px; padding: 4px 0; }
.log li { padding-left: 26px; position: relative; }
.log li::before { content: ""; position: absolute; left: -5px; top: 7px; width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px var(--bg); }
.log time, .log-next span { font-family: var(--mono); font-size: 12.5px; color: var(--faint); letter-spacing: 0.02em; }
.log p { margin-top: 4px; }
.log-next::before { background: var(--bg) !important; border: 2px solid var(--faint); }
.log-next p { color: var(--muted); }

.faq-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 72px; align-items: start; }
.note-body { font-family: var(--serif); font-size: 1.5rem; line-height: 1.34; letter-spacing: -0.005em; text-wrap: pretty; }
.note-body + .note-body { margin-top: 18px; }
.sign { margin-top: 26px; font-size: 15px; color: var(--muted); line-height: 1.5; }
.sign a { color: var(--ink); text-underline-offset: 4px; text-decoration-color: var(--line-2); }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 36px 20px 0; font-weight: 560; font-size: 1.06rem; letter-spacing: -0.01em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--faint); border-bottom: 2px solid var(--faint); transform: translateY(-70%) rotate(45deg); transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 36px 22px 0; color: var(--muted); max-width: 36em; }

.closing { position: relative; overflow: hidden; }
.closing::before { content: ""; position: absolute; left: 50%; bottom: -260px; width: 900px; height: 520px; transform: translateX(-50%); background: radial-gradient(closest-side, var(--accent-glow), transparent); filter: blur(20px); pointer-events: none; }
.closing-inner { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.closing h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); max-width: 14em; }
.closing .sub { margin-left: auto; margin-right: auto; }
.signup-wide { width: 100%; }

.foot { border-top: 1px solid var(--line); padding: 28px 0 44px; font-size: 14px; color: var(--faint); }
.foot-row { display: flex; justify-content: space-between; gap: 16px 28px; flex-wrap: wrap; }
.foot a { text-decoration: none; color: var(--muted); }
.foot a:hover { color: var(--ink); }
.foot-craft { font-family: var(--mono); font-size: 12.5px; }

/* Plain pages: privacy, thanks, not found */
.prose { padding: 80px 0 96px; }
.prose .wrap { max-width: 720px; }
.prose h1 { font-size: clamp(2.6rem, 5vw, 3.6rem); }
.prose h2 { font-size: 1.2rem; letter-spacing: -0.015em; margin-top: 40px; font-weight: 620; }
.prose p, .prose li { color: var(--muted); margin-top: 12px; }
.prose a { color: var(--ink); text-underline-offset: 4px; }
.prose .updated { font-size: 14px; color: var(--faint); margin-top: 18px; font-family: var(--mono); }
.card { margin-top: 36px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 28px 28px 30px; }
.card h2 { margin-top: 0; }
.options { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.options label { position: relative; }
.options input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.options span { display: inline-block; border: 1px solid var(--line-2); border-radius: 999px; padding: 8px 16px; font-size: 15px; color: var(--muted); transition: all 0.15s ease; }
.options input:checked + span { border-color: var(--accent); color: var(--accent-text); background: var(--accent-soft); }
.options input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.card textarea { width: 100%; margin-top: 12px; min-height: 120px; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 12px; padding: 14px; font: inherit; font-size: 16px; color: var(--ink); resize: vertical; }
.card textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.card .field-label { display: block; margin-top: 26px; font-weight: 560; color: var(--ink); }
.card .field-label:first-of-type { margin-top: 18px; }
.copy-row .plain-button { margin-top: 0; }
.plain-button { margin-top: 22px; height: 48px; padding: 0 22px; border: 0; border-radius: 10px; background: var(--accent); color: var(--accent-ink); font-weight: 620; font-size: 15.5px; cursor: pointer; }
.plain-button:hover { filter: brightness(1.08); }

@media (max-width: 1000px) {
  .hero { padding: 56px 0 72px; }
  .hero-grid, .status, .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .hero-copy { padding-top: 0; }
  .shapes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .band { padding: 76px 0; }
  .nav a:not(.nav-cta) { display: none; }
  h1 .q:first-child { position: static; margin-right: 0; }
  .console { min-height: 0; }
}

@media (max-width: 860px) {
  .versus-head { display: none; }
  .versus-row { grid-template-columns: minmax(0, 1fr); padding: 6px 0 0; }
  .versus-row p { padding: 8px 18px; font-size: 15px; }
  .versus-row p[role="rowheader"] { padding: 14px 18px 4px; }
  .versus-row p[data-col]::before { content: attr(data-col); display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--faint); margin-bottom: 2px; }
  .versus-row p:last-child { padding: 12px 18px 14px; margin-top: 6px; }
  .versus-row p:last-child::before { color: var(--accent-text); }
}

@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .wrap { padding: 0 16px; }
  .hero { padding: 40px 0 56px; }
  .band { padding: 60px 0; }
  .signup { flex-direction: column; padding: 8px; gap: 8px; }
  .signup input[type="email"] { flex: none; height: 50px; }
  .limits ul { grid-template-columns: minmax(0, 1fr); }
  .limits { padding: 22px 20px; }
  .signup button { width: 100%; height: 50px; }
  .shapes, .steps, .fit { grid-template-columns: minmax(0, 1fr); }
  .steps { gap: 28px; }
  .rows .row { grid-template-columns: minmax(0, 1fr); }
  .clients .row { grid-template-columns: minmax(0, 1fr) auto; }
  .delta, .flat, .up { min-width: 0; margin-left: auto; }
  .note-body { font-size: 1.3rem; }
  .meters li { grid-template-columns: 104px minmax(0, 1fr) 40px; gap: 8px; }
  .closing-inner { align-items: stretch; text-align: left; }
  .closing .sub { margin-left: 0; }
  .foot-row { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pulse, .caret { animation: none; }
  .reveal .row, .reveal .say, .reveal .meters li, .reveal .split, .reveal .chart, .reveal .call, .reveal .note, .reveal .own-more, .reveal .own-again { opacity: 1; transform: none; animation: none; }
  .reveal .fill, .reveal .meter i { animation: none; }
  .signup button, .shape { transition: none; }
}
