/* Layout: one dark editorial column (1200px). Pixel-art horizons frame the product; mockups of the real dashboard float on them. */
:root {
  --canvas: #121212;
  --surface: #191919;
  --elevated: #212121;
  --line: #2b2b2b;
  --line-strong: #3a3a3a;
  --paper: #ebebeb;
  --muted: #9b9b9b;
  --faint: #6f6f6f;
  --mint: #86c8ac;
  --peach: #ffb394;
  --gold: #ffcf73;
  --sea: #85d7bd;
  --blue: #8abcf5;
  --red: #ee7777;
  --glass: #121211c4;
  --glass-line: #ffffff26;
  --shadow: 0 28px 80px #00000066;
  --grad: linear-gradient(90deg, var(--peach), var(--gold) 34%, var(--sea) 68%, var(--blue));
  --grad-text: linear-gradient(100deg, #d9e2c1 0%, #a9d8dd 8%, #9bd7ee 14%, #e9e5df 24%, #eee7da 52%, #e9e5df 64%, #9dd8ed 76%, #e9e5df 84%, #ead9ab 94%, #e9e5df 100%);

  --display: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --r-card: 18px;
  --r-ctl: 8px;
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 56px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--paper);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, canvas { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Type ---------- */
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: -0.02em; text-wrap: balance; margin: 0; color: var(--paper); }
h1 { font-size: clamp(40px, 7.2vw, 78px); line-height: 1.02; }
h2 { font-size: clamp(36px, 4.8vw, 50px); line-height: 1.06; }
h3 { font-size: clamp(26px, 3vw, 32px); line-height: 1.12; }
h4 { font: 500 16px/1.4 var(--sans); margin: 0; color: var(--paper); }
p { margin: 0; color: var(--muted); max-width: 62ch; }
.lede { font-size: clamp(17px, 1.6vw, 19px); line-height: 1.55; }
.grad-text { font-style: italic; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.eyebrow::before { content: "✦"; color: var(--mint); font-size: 13px; }
.mono { font-family: var(--mono); }
code, .code { font: 400 0.92em/1.4 var(--mono); color: var(--paper); background: var(--elevated); border: 1px solid var(--line); padding: 1px 6px; border-radius: 5px; white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding-inline: 18px; border-radius: var(--r-ctl); font: 500 15px/1 var(--sans); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .2s, border-color .2s, transform .2s; white-space: nowrap; }
.btn-primary { background: var(--paper); color: var(--canvas); }
.btn-primary:hover { background: #ffffff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--paper); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--muted); }
.btn-sm { height: 36px; padding-inline: 14px; font-size: 14px; }
.btn svg { width: 16px; height: 16px; flex: none; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--glass); backdrop-filter: blur(20px) saturate(125%); -webkit-backdrop-filter: blur(20px) saturate(125%); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; font: 600 17px/1 var(--sans); letter-spacing: -0.01em; color: var(--paper); }
.brand img { width: 26px; height: 26px; border-radius: 7px; display: block; }
.nav-links { display: flex; gap: 24px; margin-left: 8px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 14px; transition: color .2s; }
.nav-links a:hover { color: var(--paper); }
.nav-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
@media (max-width: 900px) { .nav-links { display: none; } }
@media (max-width: 480px) { .nav-cta .btn-ghost { display: none; } }

/* ---------- Sections ---------- */
section { padding-block: clamp(72px, 10vw, 128px); }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 6vw, 72px); max-width: 760px; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(56px, 8vw, 104px) 0; }
.hero-copy { display: grid; gap: 24px; max-width: 860px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero-note { font: 400 13px/1.5 var(--mono); color: var(--faint); }

.stage { position: relative; margin-top: clamp(48px, 7vw, 80px); border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--line); padding: clamp(56px, 11vw, 150px) clamp(12px, 5vw, 64px) 0; isolation: isolate; }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; z-index: -1; display: block; background: var(--elevated); }

/* App mockup */
.app { background: var(--surface); border: 1px solid var(--glass-line); border-bottom: 0; border-radius: 14px 14px 0 0; box-shadow: var(--shadow); overflow: hidden; font-size: 13px; }
.app-bar { display: flex; align-items: center; gap: 12px; height: 40px; padding-inline: 14px; border-bottom: 1px solid var(--line); background: var(--elevated); }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); display: block; }
.app-url { flex: 1; min-width: 0; max-width: 420px; margin-inline: auto; height: 24px; border-radius: 6px; background: var(--canvas); border: 1px solid var(--line); color: var(--faint); font: 400 12px/22px var(--mono); padding-inline: 10px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.app-body { display: grid; grid-template-columns: 196px minmax(0, 1fr); min-height: 380px; }
.app-side { border-right: 1px solid var(--line); padding: 14px 10px; display: grid; align-content: start; gap: 2px; }
.app-side .logo { display: flex; align-items: center; gap: 8px; padding: 4px 8px 14px; font-weight: 600; font-size: 14px; color: var(--paper); }
.app-side .logo img { width: 20px; height: 20px; border-radius: 5px; }
.side-item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 7px; color: var(--muted); }
.side-item.on { background: var(--elevated); color: var(--paper); }
.side-item .sw { width: 8px; height: 8px; border-radius: 2px; flex: none; }
.side-item .live { margin-left: auto; font: 500 10px/1 var(--mono); color: var(--mint); letter-spacing: .06em; }
.app-main { padding: 18px 20px 0; display: grid; gap: 16px; align-content: start; min-width: 0; }
.app-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.app-head h5 { margin: 0; font: 500 15px/1.3 var(--sans); color: var(--paper); }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding-inline: 8px; border-radius: 999px; font: 500 11px/1 var(--mono); letter-spacing: .02em; border: 1px solid var(--line-strong); color: var(--muted); white-space: nowrap; }
.chip.ok { color: var(--mint); border-color: #86c8ac55; background: #86c8ac14; }
.chip.warn { color: var(--gold); border-color: #ffcf7355; background: #ffcf7312; }
.chip.blue { color: var(--blue); border-color: #8abcf555; background: #8abcf512; }
.chip.peach { color: var(--peach); border-color: #ffb39455; background: #ffb39412; }
.pulse { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .25; } }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.tile { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; background: var(--canvas); }
.tile b { display: block; font: 500 20px/1.2 var(--sans); color: var(--paper); font-variant-numeric: tabular-nums; }
.tile span { font-size: 11px; color: var(--faint); }
.progress { height: 6px; border-radius: 999px; background: var(--elevated); overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--grad); border-radius: inherit; position: relative; overflow: hidden; }
.progress i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, #ffffff55, transparent); transform: translateX(-100%); animation: sheen 2.4s ease-in-out infinite; }
@keyframes sheen { to { transform: translateX(100%); } }
.progress-meta { display: flex; justify-content: space-between; gap: 12px; font: 400 11px/1.4 var(--mono); color: var(--faint); margin-top: 6px; font-variant-numeric: tabular-nums; }
.rows { border: 1px solid var(--line); border-bottom: 0; border-radius: 10px 10px 0 0; overflow: hidden; }
.row { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.2fr) 92px; gap: 12px; align-items: center; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.row.head { font: 500 10px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--faint); background: var(--canvas); padding-block: 9px; }
.biz { display: flex; gap: 10px; align-items: center; min-width: 0; }
.thumb { width: 28px; height: 28px; border-radius: 7px; flex: none; display: grid; place-items: center; font: 600 11px/1 var(--sans); color: var(--canvas); }
.biz div { min-width: 0; }
.biz strong { display: block; font-weight: 500; color: var(--paper); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.biz small { display: block; color: var(--faint); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.email { font: 400 12px/1.3 var(--mono); color: var(--paper); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.email.none { color: var(--faint); }
@media (max-width: 760px) {
  .app-body { grid-template-columns: minmax(0, 1fr); }
  .app-side { display: none; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .row { grid-template-columns: minmax(0, 1fr) 84px; }
  .row > :nth-child(2) { display: none; }
}

/* ---------- Sources strip ---------- */
.strip { padding-block: 40px; border-bottom: 1px solid var(--line); }
.strip-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; }
.strip-label { font: 500 12px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--faint); }
.strip-list { display: flex; flex-wrap: wrap; gap: 14px 36px; }
.strip-list span { font: 400 22px/1.2 var(--display); color: var(--muted); display: inline-flex; align-items: center; gap: 10px; }
.strip-list span i { width: 8px; height: 8px; border-radius: 2px; display: block; }

/* ---------- Thesis ---------- */
.thesis { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.thesis p { font-size: 18px; }
@media (max-width: 860px) { .thesis { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Feature rows ---------- */
.features { display: grid; gap: clamp(80px, 11vw, 140px); }
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.feature.flip .copy { order: 2; }
.copy { display: grid; gap: 20px; align-content: start; min-width: 0; }
.tag { justify-self: start; display: inline-flex; align-items: center; gap: 8px; font: 500 12px/1 var(--mono); color: var(--paper); border: 1px solid var(--line-strong); padding: 7px 10px; border-radius: 999px; }
.tag i { width: 8px; height: 8px; border-radius: 2px; display: block; }
.checks { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 12px; color: var(--muted); }
.checks li::before { content: ""; width: 18px; height: 18px; margin-top: 3px; border-radius: 5px; background: #86c8ac1f url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4 7.7 12 13 6.4' fill='none' stroke='%2386c8ac' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }
.checks b { color: var(--paper); font-weight: 500; }
@media (max-width: 880px) {
  .feature { grid-template-columns: minmax(0, 1fr); }
  .feature.flip .copy { order: 0; }
}

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: clamp(16px, 2.4vw, 24px); box-shadow: var(--shadow); display: grid; gap: 16px; min-width: 0; }
.panel-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.panel-title span { font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--faint); }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: 12px; color: var(--muted); }
.input { min-height: 40px; border: 1px solid var(--line-strong); border-radius: var(--r-ctl); background: var(--canvas); padding: 10px 12px; font: 400 13px/1.5 var(--mono); color: var(--paper); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.input.multi { white-space: normal; display: grid; gap: 2px; }
.input .num { color: var(--gold); }
.input .dim { color: var(--faint); }
.fields-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 12px; }
.fake-btn { justify-self: start; display: inline-flex; align-items: center; height: 36px; padding-inline: 14px; border-radius: var(--r-ctl); background: var(--paper); color: var(--canvas); font: 500 13px/1 var(--sans); }
.phases { display: grid; gap: 12px; border-top: 1px solid var(--line); padding-top: 16px; }
.phase { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 12px; align-items: center; font-size: 13px; color: var(--muted); }
.phase .dot { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); font: 500 11px/1 var(--mono); color: var(--faint); }
.phase.done .dot { background: var(--mint); border-color: var(--mint); color: var(--canvas); }
.phase.now .dot { border-color: var(--gold); color: var(--gold); }
.phase.now { color: var(--paper); }
.phase .pct { font: 400 12px/1 var(--mono); color: var(--faint); font-variant-numeric: tabular-nums; }
.phase .bar { grid-column: 2 / 4; }
.note { font: 400 12px/1.5 var(--mono); color: var(--faint); }
.counters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 520px) { .counters { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fields-2 { grid-template-columns: minmax(0, 1fr); } }

/* Product Hunt card */
.launch { border: 1px solid var(--line); border-radius: 12px; background: var(--canvas); padding: 16px; display: grid; gap: 14px; }
.launch-top { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 14px; align-items: start; }
.launch-top .thumb { width: 44px; height: 44px; border-radius: 10px; font-size: 16px; }
.launch-top strong { color: var(--paper); font-weight: 500; display: block; }
.launch-top small { color: var(--muted); font-size: 13px; display: block; }
.votes { display: grid; justify-items: center; gap: 2px; border: 1px solid var(--line-strong); border-radius: 8px; padding: 6px 10px; font: 500 13px/1 var(--mono); color: var(--paper); font-variant-numeric: tabular-nums; }
.votes svg { width: 10px; height: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.kv { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 8px 14px; font-size: 13px; border-top: 1px solid var(--line); padding-top: 14px; }
.kv dt { color: var(--faint); font: 400 12px/1.6 var(--mono); }
.kv dd { margin: 0; color: var(--paper); min-width: 0; overflow-wrap: anywhere; }
.kv dd .dim { color: var(--muted); }
.daterow { display: flex; flex-wrap: wrap; gap: 6px; }
.daterow .chip.on { color: var(--canvas); background: var(--paper); border-color: var(--paper); }

/* Context menu */
.browser { border: 1px solid var(--line); border-radius: 12px; background: var(--canvas); overflow: hidden; }
.browser-page { position: relative; padding: 18px; min-height: 300px; display: grid; gap: 10px; align-content: start; }
.skel { height: 10px; border-radius: 4px; background: var(--elevated); }
.menu { position: absolute; left: clamp(14px, 18%, 120px); top: 70px; width: min(330px, calc(100% - 28px)); background: var(--elevated); border: 1px solid var(--line-strong); border-radius: 10px; box-shadow: var(--shadow); padding: 6px; font-size: 13px; }
.menu-item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 6px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.menu-item.parent { color: var(--paper); justify-content: space-between; }
.menu-sub { border-top: 1px solid var(--line); margin-top: 4px; padding-top: 4px; }
.menu-item.hl { background: #8abcf522; color: var(--paper); }
.menu-item img { width: 14px; height: 14px; border-radius: 3px; }
.toggle { display: flex; align-items: center; justify-content: space-between; gap: 14px; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font-size: 13px; color: var(--paper); }
.toggle small { display: block; color: var(--faint); font-size: 12px; }
.switch { width: 36px; height: 20px; border-radius: 999px; background: var(--mint); position: relative; flex: none; }
.switch::after { content: ""; position: absolute; top: 2px; right: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--canvas); }

/* ---------- Numbers band ---------- */
.numbers { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.num-item { padding: 28px 22px 26px; display: grid; gap: 8px; align-content: start; border-left: 1px solid var(--line); }
.num-item:first-child { border-left: 0; padding-left: 0; }
.num-item b { font: 400 clamp(40px, 4.6vw, 56px)/1 var(--display); color: var(--paper); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.num-item span { font-size: 14px; color: var(--muted); line-height: 1.45; }
@media (max-width: 980px) {
  .numbers { grid-template-columns: minmax(0, 1fr); }
  .num-item, .num-item:first-child { border-left: 0; border-top: 1px solid var(--line); padding: 20px 0; grid-template-columns: minmax(110px, 140px) minmax(0, 1fr); align-items: baseline; gap: 16px; }
  .num-item:first-child { border-top: 0; }
  .num-item b { font-size: 40px; }
}

/* ---------- Email engine ---------- */
.engine { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.engine-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; }
.engine-cell { background: var(--canvas); padding: 22px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.engine-cell p { font-size: 14px; }
.engine-cell .chips .chip { color: var(--paper); }
.ranked { display: grid; gap: 8px; }
.rank { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; background: var(--canvas); }
.rank .n { width: 26px; height: 26px; border-radius: 7px; background: var(--elevated); display: grid; place-items: center; font: 500 12px/1 var(--mono); color: var(--paper); }
.rank.top { border-color: #86c8ac66; }
.rank.top .n { background: var(--mint); color: var(--canvas); }
.rank .who { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; min-width: 0; }
.rank .who .email { flex: 1 1 160px; }
.rank.dropped .email { text-decoration: line-through; color: var(--faint); }
.rank.dropped .n { color: var(--red); }
.sub-label { font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--faint); margin-top: 8px; }
@media (max-width: 960px) { .engine { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .engine-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Workspace cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card { border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); padding: 24px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.card .icon { width: 36px; height: 36px; border-radius: 9px; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--mint); margin-bottom: 4px; }
.card .icon svg { width: 18px; height: 18px; }
.card p { font-size: 15px; }
.card .chips { margin-top: 4px; }
@media (max-width: 980px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .cards { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.step { position: relative; display: grid; gap: 12px; align-content: start; padding-top: 22px; border-top: 1px solid var(--line-strong); min-width: 0; }
.step::before { counter-increment: step; content: "0" counter(step); font: 500 12px/1 var(--mono); color: var(--mint); letter-spacing: .08em; }
.step::after { content: ""; position: absolute; top: -1px; left: 0; height: 1px; width: 48px; background: var(--grad); }
.step h3 { font-size: 26px; }
.step p { font-size: 15px; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; } }
@media (max-width: 560px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Export ---------- */
.export { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.formats { display: grid; gap: 12px; }
.format { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; align-items: start; border: 1px solid var(--line); border-radius: 14px; padding: 18px; background: var(--surface); }
.format .ext { height: 40px; border-radius: 8px; display: grid; place-items: center; font: 500 12px/1 var(--mono); color: var(--canvas); }
.format p { font-size: 14px; margin-top: 4px; }
.cols { border: 1px solid var(--line); border-radius: var(--r-card); padding: clamp(16px, 2.4vw, 24px); display: grid; gap: 16px; background: var(--surface); }
.cols .chips { gap: 6px; }
.cols .chip { height: 26px; font-size: 11.5px; color: var(--paper); background: var(--canvas); border-color: var(--line); }
.filename { font: 400 13px/1.5 var(--mono); color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; overflow-wrap: anywhere; }
@media (max-width: 900px) { .export { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Account ---------- */
.account { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.acc { padding: 22px; border-radius: var(--r-card); border: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.acc p { font-size: 14px; }
@media (max-width: 980px) { .account { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .account { grid-template-columns: minmax(0, 1fr); } }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 24px; }
.tab { height: 36px; padding-inline: 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--muted); font: 500 14px/1 var(--sans); cursor: pointer; }
.tab[aria-selected="true"] { background: var(--paper); color: var(--canvas); border-color: var(--paper); }
.qa { border-top: 1px solid var(--line); }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 18px; padding: 20px 0; font: 400 21px/1.3 var(--display); color: var(--paper); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; font: 400 20px/1.2 var(--mono); color: var(--muted); flex: none; transition: transform .2s; }
.qa[open] summary::after { transform: rotate(45deg); }
.qa p { padding-bottom: 22px; font-size: 15px; }
@media (max-width: 880px) { .faq { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Closing CTA ---------- */
.closing { padding-block: clamp(48px, 7vw, 96px); }
.closing .stage { margin-top: 0; padding: clamp(80px, 14vw, 180px) clamp(16px, 5vw, 64px) clamp(28px, 5vw, 56px); }
.closing-card { max-width: 620px; background: var(--glass); border: 1px solid var(--glass-line); backdrop-filter: blur(18px) saturate(115%); -webkit-backdrop-filter: blur(18px) saturate(115%); border-radius: var(--r-card); padding: clamp(22px, 3.5vw, 36px); display: grid; gap: 18px; }
.closing-card p { color: #c9c9c9; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); padding-block: 56px 40px; }
.foot { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot h4 { font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--faint); margin-bottom: 14px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot a { color: var(--muted); text-decoration: none; font-size: 14px; }
.foot a:hover { color: var(--paper); }
.foot-brand { display: grid; gap: 14px; align-content: start; }
.foot-brand p { font-size: 14px; max-width: 34ch; }
.legal { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font: 400 12px/1.5 var(--mono); color: var(--faint); }
@media (max-width: 760px) { .foot { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pulse, .progress i::after { animation: none; }
  .btn { transition: none; }
}

/* =========================================================
   Multi-page additions
   ========================================================= */

/* ---------- Nav: current page, dropdown, mobile menu ---------- */
.nav-links { align-items: center; }
.nav-links a[aria-current="page"], .dd-btn[aria-current="page"] { color: var(--paper); }
.dd { position: relative; }
.dd-btn { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 0; color: var(--muted); font: 400 14px/1 var(--sans); cursor: pointer; }
.dd-btn:hover { color: var(--paper); }
.dd-btn svg { width: 10px; height: 10px; transition: transform .2s; }
.dd-menu { display: none; position: absolute; top: 100%; left: -18px; padding-top: 14px; width: 330px; }
.dd-menu-inner { background: var(--surface); border: 1px solid var(--line-strong); border-radius: 14px; box-shadow: var(--shadow); padding: 8px; display: grid; gap: 2px; }
.dd:hover .dd-menu, .dd:focus-within .dd-menu, .dd.open .dd-menu { display: block; }
.dd:hover .dd-btn svg, .dd.open .dd-btn svg { transform: rotate(180deg); }
.dd-menu a { display: grid; grid-template-columns: 10px minmax(0, 1fr); gap: 12px; align-items: start; padding: 10px 12px; border-radius: 9px; text-decoration: none; }
.dd-menu a:hover { background: var(--elevated); }
.dd-menu i { width: 10px; height: 10px; border-radius: 3px; margin-top: 4px; display: block; }
.dd-menu b { display: block; font-weight: 500; font-size: 14px; color: var(--paper); }
.dd-menu small { display: block; font-size: 12.5px; color: var(--faint); line-height: 1.45; margin-top: 2px; }
.menu-btn { display: none; height: 36px; padding-inline: 12px; border-radius: var(--r-ctl); border: 1px solid var(--line-strong); background: transparent; color: var(--paper); font: 500 14px/1 var(--sans); cursor: pointer; align-items: center; gap: 8px; }
.menu-btn svg { width: 16px; height: 16px; }
.mnav { border-top: 1px solid var(--line); background: var(--canvas); }
.mnav-inner { display: grid; gap: 2px; padding-block: 12px 20px; }
.mnav a { display: flex; align-items: center; gap: 10px; padding: 12px 4px; color: var(--paper); text-decoration: none; font-size: 16px; border-bottom: 1px solid var(--line); }
.mnav a.sub { padding-left: 18px; color: var(--muted); font-size: 15px; }
.mnav a.sub i { width: 8px; height: 8px; border-radius: 2px; display: block; }
.mnav .btn { margin-top: 14px; }
@media (max-width: 900px) { .menu-btn { display: inline-flex; } .nav-cta .btn-ghost { display: none; } }
@media (min-width: 901px) { .mnav { display: none !important; } }
@media (max-width: 420px) { .nav-cta .btn-primary { display: none; } }

/* ---------- Shared bits ---------- */
.free-pill { justify-self: start; display: inline-flex; align-items: center; gap: 10px; padding: 6px 12px 6px 6px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); font-size: 13px; color: var(--muted); text-decoration: none; }
.free-pill b { font: 500 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--canvas); background: var(--grad); padding: 5px 8px; border-radius: 999px; }
.free-pill:hover { color: var(--paper); }
.more-link { justify-self: start; display: inline-flex; align-items: center; gap: 6px; color: var(--paper); text-decoration: none; font-weight: 500; font-size: 15px; border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; }
.more-link:hover { border-color: var(--mint); }
.more-link::after { content: "→"; color: var(--mint); }
.lede + .lede { margin-top: -6px; }
.center-head { text-align: left; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); } }
.cost { display: inline-flex; align-items: center; gap: 6px; font: 500 11px/1 var(--mono); letter-spacing: .04em; padding: 6px 9px; border-radius: 999px; white-space: nowrap; }
.cost.free { color: var(--mint); background: #86c8ac17; border: 1px solid #86c8ac55; }
.cost.paid { color: var(--gold); background: #ffcf7314; border: 1px solid #ffcf7355; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding-block: clamp(48px, 7vw, 96px) clamp(56px, 8vw, 104px); border-bottom: 1px solid var(--line); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.page-hero-copy { display: grid; gap: 22px; align-content: start; min-width: 0; }
.page-hero h1 { font-size: clamp(40px, 5.6vw, 64px); }
.page-hero.solo .page-hero-copy { max-width: 820px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font: 400 12px/1 var(--mono); color: var(--faint); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--paper); }
@media (max-width: 960px) { .page-hero-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Step list (real sequences) ---------- */
.howto { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: how; list-style: none; padding: 0; margin: 0; }
.howto li { border: 1px solid var(--line); border-radius: var(--r-card); padding: 22px; display: grid; gap: 10px; align-content: start; background: var(--surface); min-width: 0; }
.howto li::before { counter-increment: how; content: "Step " counter(how); font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--mint); }
.howto p { font-size: 14.5px; }
@media (max-width: 980px) { .howto { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .howto { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Data tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); }
table.data { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
table.data th, table.data td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data th { font: 500 11px/1.2 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--faint); background: var(--canvas); }
table.data tr:last-child td { border-bottom: 0; }
table.data td:first-child { color: var(--paper); font-weight: 500; white-space: nowrap; }
table.data td { color: var(--muted); }
table.data td .mono, table.data td code { color: var(--paper); }
table.data .yes { color: var(--mint); font-weight: 500; }
table.data .no { color: var(--faint); }
table.data td.group { background: var(--canvas); font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--faint); padding-block: 10px; }

/* ---------- Spec list (settings and limits) ---------- */
.specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.spec { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.specs .spec:nth-child(odd) { padding-right: 32px; }
.specs .spec:nth-child(even) { padding-left: 32px; border-left: 1px solid var(--line); }
.spec dt { color: var(--muted); font-size: 14px; }
.spec dd { margin: 0; color: var(--paper); font-size: 14px; font-variant-numeric: tabular-nums; }
@media (max-width: 760px) {
  .specs { grid-template-columns: minmax(0, 1fr); }
  .specs .spec:nth-child(odd), .specs .spec:nth-child(even) { padding-inline: 0; border-left: 0; }
}

/* ---------- Tip cards ---------- */
.tip { border: 1px solid var(--line); border-radius: var(--r-card); padding: 22px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.tip p { font-size: 14.5px; }

/* ---------- CTA band ---------- */
.cta-band { border: 1px solid var(--line); border-radius: var(--r-card); padding: clamp(24px, 4vw, 44px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; background: var(--surface); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: var(--grad); }
.cta-band div { display: grid; gap: 10px; max-width: 640px; }
.cta-band h2 { font-size: clamp(30px, 3.6vw, 40px); }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { border: 1px solid var(--line); border-radius: 22px; padding: clamp(24px, 3.4vw, 36px); display: grid; gap: 22px; align-content: start; background: var(--surface); min-width: 0; position: relative; }
.plan.featured { border-color: transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box; border: 1px solid transparent; }
.plan-name { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.plan-name h3 { font-size: 28px; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.price b { font: 400 clamp(56px, 7vw, 76px)/1 var(--display); letter-spacing: -0.03em; color: var(--paper); font-variant-numeric: tabular-nums; }
.price span { color: var(--muted); font-size: 15px; }
.plan .checks li { font-size: 15px; }
.plan .btn { justify-self: start; }
.plan-foot { font: 400 12px/1.5 var(--mono); color: var(--faint); border-top: 1px solid var(--line); padding-top: 16px; }
@media (max-width: 860px) { .plans { grid-template-columns: minmax(0, 1fr); } }

.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.compare .panel { box-shadow: none; }
@media (max-width: 760px) { .compare { grid-template-columns: minmax(0, 1fr); } }

.calc { border: 1px solid var(--line); border-radius: 22px; padding: clamp(22px, 3.4vw, 36px); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; background: var(--surface); }
.calc-input { display: grid; gap: 16px; }
.calc-input label { color: var(--muted); font-size: 15px; }
.calc-want { font: 400 clamp(44px, 5vw, 60px)/1 var(--display); color: var(--paper); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.calc-want small { font: 400 15px/1 var(--sans); color: var(--muted); letter-spacing: 0; margin-left: 8px; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px; background: linear-gradient(90deg, var(--mint) var(--fill, 0%), var(--elevated) var(--fill, 0%)); outline-offset: 6px; cursor: pointer; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--paper); border: 4px solid var(--canvas); box-shadow: 0 0 0 1px var(--line-strong); }
input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--paper); border: 4px solid var(--canvas); }
.range-scale { display: flex; justify-content: space-between; font: 400 11px/1 var(--mono); color: var(--faint); }
.calc-out { display: grid; gap: 0; border: 1px solid var(--line); border-radius: 14px; background: var(--canvas); }
.calc-out div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.calc-out div:last-child { border-bottom: 0; }
.calc-out b { color: var(--paper); font-weight: 500; font-variant-numeric: tabular-nums; }
.calc-out .total b { font: 400 34px/1 var(--display); }
@media (max-width: 860px) { .calc { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Use cases ---------- */
.case-index { display: flex; flex-wrap: wrap; gap: 8px; }
.case-index a { text-decoration: none; }
.case-index a .chip { height: 30px; padding-inline: 12px; font-size: 12px; color: var(--paper); }
.case-index a:hover .chip { border-color: var(--muted); }
.cases { display: grid; gap: 0; border-top: 1px solid var(--line); }
.case { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.1fr) minmax(0, 0.95fr); gap: clamp(24px, 4vw, 48px); padding-block: clamp(36px, 5vw, 56px); border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.case-who { display: grid; gap: 14px; align-content: start; }
.case-who h3 { font-size: clamp(26px, 2.8vw, 32px); }
.case-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.case ol { margin: 0; padding: 0; list-style: none; counter-reset: c; display: grid; gap: 12px; }
.case ol li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; color: var(--muted); font-size: 15px; }
.case ol li::before { counter-increment: c; content: counter(c); width: 24px; height: 24px; border-radius: 7px; background: var(--elevated); display: grid; place-items: center; font: 500 11px/1 var(--mono); color: var(--paper); margin-top: 1px; }
.case-ex { display: grid; gap: 10px; align-content: start; }
.case-ex .input { white-space: normal; }
.case-ex .note { margin-top: 2px; }
.sub-h { font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--faint); }
@media (max-width: 1000px) { .case { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .case-who { grid-column: 1 / -1; } }
@media (max-width: 640px) { .case { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Source cards (features page) ---------- */
.source-card { border: 1px solid var(--line); border-radius: var(--r-card); padding: 24px; display: grid; gap: 14px; align-content: start; text-decoration: none; background: var(--surface); transition: border-color .2s, transform .2s; min-width: 0; }
.source-card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.source-card .tag { font-size: 11px; }
.source-card h3 { font-size: 26px; }
.source-card p { font-size: 15px; }
.source-card .more-link { border: 0; padding: 0; font-size: 14px; }

/* ---------- FAQ page ---------- */
.faq-page { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq-toc { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 96px); display: grid; gap: 4px; }
.faq-toc a { color: var(--muted); text-decoration: none; padding: 8px 12px; border-radius: 8px; font-size: 14px; }
.faq-toc a:hover { color: var(--paper); background: var(--surface); }
.faq-group { display: grid; gap: 18px; scroll-margin-top: 90px; }
.faq-group + .faq-group { margin-top: 64px; }
.faq-group h2 { font-size: clamp(30px, 3.4vw, 38px); }
@media (max-width: 860px) { .faq-page { grid-template-columns: minmax(0, 1fr); } .faq-toc { position: static; display: flex; flex-wrap: wrap; } .faq-toc a { border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; } }

@media (prefers-reduced-motion: reduce) { .source-card, .dd-btn svg { transition: none; } }

/* =========================================================
   v3 refinements: centered hero, illustrated horizon,
   verification pipeline, legal pages, company footer
   ========================================================= */
:root {
  --ridge-far: #5a7185;
  --ridge-mid: #2c3b49;
  --ridge-near: #151b21;
  --ink-soft: #c9c9c9;
}
section { padding-block: clamp(64px, 8vw, 112px); }

/* Hero */
.hero { position: relative; padding-block: clamp(56px, 7vw, 96px) 0; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto; height: 640px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40% 50% at 28% 30%, #ffb3941a, transparent 70%),
    radial-gradient(36% 46% at 72% 24%, #8abcf51f, transparent 70%),
    radial-gradient(30% 40% at 50% 60%, #85d7bd14, transparent 70%); }
.hero-copy.center { justify-items: center; text-align: center; margin-inline: auto; max-width: 920px; gap: 22px; }
.hero-copy.center p { margin-inline: auto; }
.hero-copy.center .hero-ctas { justify-content: center; }
.hero h1 { font-size: clamp(40px, 5.8vw, 70px); line-height: 1.03; }
.trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin-top: 4px; font-size: 13.5px; color: var(--muted); }
.trust-row span { display: inline-flex; align-items: center; gap: 8px; }
.trust-row svg { width: 15px; height: 15px; color: var(--mint); flex: none; }

/* Illustrated horizon (replaces the pixel canvas) */
.stage { padding: clamp(40px, 7vw, 96px) clamp(12px, 5vw, 64px) 0; margin-top: clamp(40px, 6vw, 64px); }
.scene { position: absolute; inset: 0; z-index: -1; overflow: hidden;
  background:
    radial-gradient(circle at 76% 60%, #fff5df 0 2.6%, #ffe3a9d9 3.6%, #ffcf7347 10%, transparent 28%),
    radial-gradient(ellipse 34% 7% at 26% 30%, #ffffff12, transparent 70%),
    radial-gradient(ellipse 28% 5% at 62% 22%, #ffffff0f, transparent 70%),
    linear-gradient(180deg, #0d1522 0%, #172a43 22%, #2f5a82 42%, #75a9c2 58%, #dccfa2 72%, #ffc39b 84%, #ff9f86 100%); }
.scene.dusk { --ridge-far: #4b4466; --ridge-mid: #29233a; --ridge-near: #131118;
  background:
    radial-gradient(circle at 24% 64%, #fff0d6 0 2.4%, #ffd9a6d9 3.4%, #ffb39444 10%, transparent 28%),
    radial-gradient(ellipse 30% 6% at 70% 28%, #ffffff10, transparent 70%),
    linear-gradient(180deg, #110e1d 0%, #231f3d 24%, #4a416e 44%, #9a7395 60%, #e8a08f 74%, #ffbf8a 88%, #ffcf73 100%); }
.scene svg { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 56%; display: block; }
.scene .r1 { fill: var(--ridge-far); opacity: .92; }
.scene .r2 { fill: var(--ridge-mid); }
.scene .r3 { fill: var(--ridge-near); }
.stage canvas { display: none; }

/* Source logos row */
.logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 40px; }
.logo-item { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font: 500 16px/1 var(--sans); }
.logo-item .lg { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: var(--elevated); border: 1px solid var(--line-strong); }
.logo-item .lg svg { width: 16px; height: 16px; }
.strip { padding-block: 36px; }
.strip .strip-label { text-align: center; display: block; margin-bottom: 20px; }

/* Verification pipeline */
.verify { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.v-step { position: relative; border: 1px solid var(--line); border-radius: var(--r-card); padding: 22px; background: var(--surface); display: grid; gap: 10px; align-content: start; min-width: 0; }
.v-step p { font-size: 14.5px; }
.v-n { display: inline-flex; align-items: center; gap: 8px; font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--mint); }
.v-n i { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; background: #86c8ac1f; color: var(--mint); font-style: normal; }
.v-step:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -11px; width: 8px; height: 8px; border-top: 1.5px solid var(--line-strong); border-right: 1.5px solid var(--line-strong); transform: translateY(-50%) rotate(45deg); background: var(--canvas); }
.v-step.v-out { background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box; border: 1px solid transparent; }
.v-step.v-out .v-n { color: var(--gold); }
.v-step.v-out .v-n i { background: #ffcf731f; color: var(--gold); }
@media (max-width: 980px) { .verify { grid-template-columns: repeat(2, minmax(0, 1fr)); } .v-step:nth-child(2)::after { display: none; } }
@media (max-width: 560px) { .verify { grid-template-columns: minmax(0, 1fr); } .v-step::after { display: none; } }
.badge-verify { display: inline-flex; align-items: center; gap: 6px; font: 500 11px/1 var(--mono); color: var(--mint); border: 1px solid #86c8ac55; background: #86c8ac14; padding: 0 8px; height: 22px; border-radius: 999px; white-space: nowrap; }

/* Inner page hero glow */
.page-hero { position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: -40% -10% auto; height: 560px; z-index: -1; pointer-events: none;
  background: radial-gradient(36% 50% at 20% 30%, #8abcf514, transparent 70%), radial-gradient(30% 40% at 80% 20%, #ffb39412, transparent 70%); }
main { position: relative; z-index: 0; }

/* Legal pages */
.legal-page { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.doc { max-width: 760px; display: grid; gap: 0; }
.doc section { padding-block: 0; scroll-margin-top: 96px; }
.doc section + section { margin-top: 44px; padding-top: 44px; border-top: 1px solid var(--line); }
.doc h2 { font-size: clamp(26px, 2.6vw, 30px); margin-bottom: 16px; }
.doc h3 { font: 500 16px/1.4 var(--sans); color: var(--paper); margin: 22px 0 8px; letter-spacing: 0; }
.doc p, .doc li { color: var(--ink-soft); font-size: 15.5px; line-height: 1.7; max-width: none; }
.doc p + p { margin-top: 12px; }
.doc ul { margin: 12px 0 0; padding-left: 20px; display: grid; gap: 8px; }
.doc li::marker { color: var(--mint); }
.doc strong { color: var(--paper); font-weight: 500; }
.doc a { color: var(--paper); text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.doc .callout { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); padding: 18px 20px; margin-top: 14px; }
.doc .callout p { font-size: 14.5px; }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px 20px; font: 400 13px/1.5 var(--mono); color: var(--faint); }
.company-card { border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; display: grid; gap: 4px; background: var(--surface); }
.company-card b { color: var(--paper); font-weight: 500; }
.company-card span { color: var(--muted); font-size: 14.5px; }
@media (max-width: 900px) { .legal-page { grid-template-columns: minmax(0, 1fr); } .legal-page .faq-toc { position: static; display: flex; flex-wrap: wrap; } }

/* Footer: company block */
.foot { grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); }
.foot-company { font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.foot-company b { color: var(--paper); font-weight: 500; }
.disclaimer { margin-top: 18px; font-size: 12.5px; color: var(--faint); line-height: 1.6; max-width: 900px; }
.legal { align-items: center; }
.legal nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.legal a { color: var(--muted); text-decoration: none; }
.legal a:hover { color: var(--paper); }
@media (max-width: 900px) { .foot { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }

/* Feature request form */
.fr { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.fr-copy { display: grid; gap: 18px; align-content: start; }
.fr-form { gap: 18px; }
.ctl { width: 100%; min-width: 0; background: var(--canvas); border: 1px solid var(--line-strong); border-radius: var(--r-ctl); padding: 11px 12px; color: var(--paper); font: 400 15px/1.4 var(--sans); transition: border-color .2s; }
.ctl::placeholder { color: var(--faint); }
.ctl:focus { outline: none; border-color: var(--mint); box-shadow: 0 0 0 3px #86c8ac26; }
textarea.ctl { resize: vertical; min-height: 120px; }
select.ctl { appearance: none; -webkit-appearance: none; padding-right: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2 3.5 5 6.5 8 3.5' fill='none' stroke='%239b9b9b' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 10px; }
.field label, .seg legend { font-size: 13px; color: var(--muted); }
.seg { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.seg legend { margin-bottom: 8px; padding: 0; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: inline-flex; align-items: center; height: 36px; padding-inline: 14px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--muted); font-size: 14px; }
.seg input:checked + span { background: var(--paper); color: var(--canvas); border-color: var(--paper); }
.seg input:focus-visible + span { outline: 2px solid var(--mint); outline-offset: 2px; }
.fr-form .btn { justify-self: start; }
.fr-error { color: var(--red); font-size: 14px; }
.fr-status { display: grid; gap: 8px; border: 1px solid #86c8ac55; background: #86c8ac12; border-radius: 12px; padding: 14px 16px; font-size: 14px; color: var(--muted); }
.fr-status b { color: var(--mint); font-weight: 500; }
.fr-status .btn { justify-self: start; margin-top: 4px; }
@media (max-width: 900px) { .fr { grid-template-columns: minmax(0, 1fr); } }

/* Chrome mark on install buttons */
.btn .chrome-ic { width: 18px; height: 18px; flex: none; border-radius: 50%; }
.btn-sm .chrome-ic { width: 16px; height: 16px; }

/* Logo */
.brand img { width: 28px; height: 28px; border-radius: 8px; box-shadow: 0 0 0 1px #ffffff14, 0 6px 18px #ffcf7322; }
.wm { font: 600 17.5px/1 var(--sans); letter-spacing: -0.02em; color: var(--paper); }
.wm span { font-weight: 400; color: var(--paper); opacity: .78; }
.app-side .logo img { border-radius: 6px; }

/* Quickprosp white mark */
.brand img { width: 30px; height: 30px; border-radius: 0; box-shadow: none; }
.app-side .logo img, .menu-item img { border-radius: 0; }
.by-qp { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--faint); }
.by-qp img { height: 22px; width: auto; opacity: .9; }

/* Giant footer wordmark: the dusk horizon seen through the letters */
footer { padding-bottom: 0; overflow: hidden; }
.giant { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: clamp(36px, 6vw, 72px) auto 0; padding-inline: var(--gutter); }
.giant svg { display: block; width: 100%; height: auto; margin-bottom: -0.6%; }
.giant text { font-family: "Geist", -apple-system, Helvetica, Arial, sans-serif; }
.hero-copy.center .free-pill { justify-self: center; }

/* Integrations */
.tag img { display: block; }
.flow { gap: 18px; }
.flow-row { display: grid; grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1.25fr); gap: 12px; align-items: center; }
.flow-card { border: 1px solid var(--line); border-radius: 12px; background: var(--canvas); padding: 14px; display: grid; gap: 12px; min-width: 0; }
.flow-card.qp { background: linear-gradient(var(--canvas), var(--canvas)) padding-box, var(--grad) border-box; border: 1px solid transparent; }
.flow-head { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--paper); }
.flow-head b { font-weight: 600; }
.flow-stat b { display: block; font: 400 34px/1 var(--display); color: var(--paper); font-variant-numeric: tabular-nums; }
.flow-stat span { font-size: 12px; color: var(--faint); }
.flow-arrow { color: var(--mint); display: grid; place-items: center; }
.flow-arrow svg { width: 40px; height: 16px; }
.flow-dest { display: grid; gap: 4px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 13px; color: var(--paper); min-width: 0; }
.flow-dest:first-of-type { border-top: 0; padding-top: 0; }
.flow-dest .badge-verify { justify-self: start; }
@media (max-width: 560px) { .flow-row { grid-template-columns: minmax(0, 1fr); } .flow-arrow { transform: rotate(90deg); height: 24px; } }
.tools { display: flex; flex-wrap: wrap; gap: 6px; }
.tools span { font-size: 14px; color: var(--paper); border: 1px solid var(--line-strong); border-radius: 8px; padding: 6px 10px; background: var(--canvas); }
.send-list { display: grid; gap: 8px; }
.send-item { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; background: var(--canvas); }
.send-item.hl { border-color: #86c8ac66; }
.send-item img { justify-self: center; }
.send-item b { display: block; font-weight: 500; font-size: 14px; color: var(--paper); }
.send-item small { display: block; font-size: 12px; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ext-ic { width: 30px; height: 22px; border-radius: 5px; display: grid; place-items: center; font: 600 9px/1 var(--mono); color: var(--canvas); }
@media (max-width: 480px) { .send-item { grid-template-columns: 30px minmax(0, 1fr); } .send-item .chip { display: none; } }
.flow-card .chip { white-space: normal; height: auto; padding-block: 5px; line-height: 1.35; max-width: 100%; }

/* Comparison pages */
.vs-card { border: 1px solid var(--line); border-radius: var(--r-card); padding: 20px; background: var(--surface); display: grid; gap: 14px; min-width: 0; }
.vs-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.vs-pair > div { display: grid; gap: 4px; align-content: start; }
.vs-pair > div:first-child b { color: var(--mint); }
.vs-pair b { font: 400 30px/1.05 var(--display); color: var(--paper); }
.vs-pair > div:last-child b { color: var(--muted); }
.vs-pair span { font-size: 12.5px; color: var(--faint); line-height: 1.4; }
.calc-want.small { font-size: clamp(32px, 3.6vw, 42px); }
.vs-out { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.vs-col { border: 1px solid var(--line); border-radius: 14px; background: var(--canvas); padding: 4px 0; min-width: 0; }
.vs-col:first-child { border-color: transparent; background: linear-gradient(var(--canvas), var(--canvas)) padding-box, var(--grad) border-box; border: 1px solid transparent; }
.vs-col-head { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--paper); }
.vs-col-head b { font-weight: 600; }
.vs-col.them .vs-col-head b { color: var(--muted); }
.vs-line { display: flex; justify-content: space-between; gap: 10px; padding: 10px 16px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.vs-line b { color: var(--paper); font-weight: 500; font-variant-numeric: tabular-nums; text-align: right; }
.vs-total { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 2px 10px; padding: 12px 16px; color: var(--muted); font-size: 13px; }
.vs-total b { font: 400 34px/1 var(--display); color: var(--paper); font-variant-numeric: tabular-nums; }
.vs-total small { grid-column: 2; text-align: right; font-size: 11px; color: var(--faint); }
.vs-col:first-child .vs-total b { color: var(--mint); }
.vs-save { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 16px; border-radius: 12px; background: #86c8ac14; border: 1px solid #86c8ac44; color: var(--paper); font-size: 14px; }
.vs-save b { font: 400 30px/1 var(--display); color: var(--mint); font-variant-numeric: tabular-nums; }
.vs-table td:nth-child(2) { color: var(--paper); }
@media (max-width: 560px) { .vs-out { grid-template-columns: minmax(0, 1fr); } .vs-pair b { font-size: 26px; } }

/* Products mega menu */
.nav-inner { position: relative; }
.mega-dd { position: static; }
.dd-menu.mega { left: 0; right: 0; width: auto; padding-top: 0; top: 100%; }
.mega-inner { display: grid; grid-template-columns: 1.15fr 1.15fr 0.9fr 0.9fr; gap: 8px 20px; padding: 20px; border-radius: 0 0 16px 16px; }
.mega-col { display: grid; align-content: start; gap: 2px; min-width: 0; }
.mega-h { font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--faint); padding: 6px 12px 10px; }
.mega-col a.plain { display: block; padding: 7px 12px; border-radius: 8px; color: var(--muted); font-size: 14px; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mega-col a.plain:hover { background: var(--elevated); color: var(--paper); }
.mega-dd:hover .dd-btn, .mega-dd.open .dd-btn { color: var(--paper); }

/* Big footer */
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 20px 40px; padding-bottom: 36px; margin-bottom: 36px; border-bottom: 1px solid var(--line); }
.foot-top .foot-brand { max-width: 460px; }
.foot-meta { display: grid; gap: 10px; justify-items: end; }
.foot-meta .foot-company { font-size: 13px; }
.foot.mega-foot { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 28px 24px; }
.mega-foot ul { gap: 8px; }
.mega-foot a { font-size: 13.5px; }
@media (max-width: 1100px) { .foot.mega-foot { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .foot.mega-foot { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-meta { justify-items: start; } }

/* Price ranking (horizontal bars, linear scale from $0) */
.ranking { display: grid; gap: 6px; }
.rk-row { display: grid; grid-template-columns: minmax(110px, 170px) minmax(0, 1fr) 76px; gap: 12px; align-items: center; padding: 4px 6px; border-radius: 8px; }
.rk-row:hover { background: var(--elevated); }
.rk-name { font-size: 14px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rk-name a { color: inherit; text-decoration: none; }
.rk-name a:hover { color: var(--paper); }
.rk-track { height: 14px; display: block; }
.rk-bar { display: block; height: 100%; background: #4a5059; border-radius: 0 4px 4px 0; }
.rk-val { font: 500 13px/1 var(--mono); color: var(--paper); text-align: right; font-variant-numeric: tabular-nums; }
.rk-row.me .rk-name { color: var(--paper); font-weight: 600; }
.rk-row.me .rk-bar { background: var(--mint); }
.rk-row.me .rk-val { color: var(--mint); }
@media (max-width: 560px) { .rk-row { grid-template-columns: 96px minmax(0, 1fr) 62px; gap: 8px; } .rk-name { font-size: 12.5px; } }

/* Comparison helpers */
.callout-big { border: 1px solid var(--line); border-radius: var(--r-card); padding: clamp(18px, 3vw, 28px); background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box; border: 1px solid transparent; display: grid; gap: 10px; }
.callout-big p { color: var(--paper); font-size: clamp(16px, 1.6vw, 18px); max-width: 80ch; }
.plain-list { margin: 12px 0 0; padding-left: 18px; display: grid; gap: 8px; color: var(--muted); font-size: 15px; }
.plain-list li::marker { color: var(--mint); }
.src-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; color: var(--muted); }
.vs-table td.qx { color: var(--paper); }
.vs-table td:nth-child(3).no { color: var(--faint); }
.tip .sub-h { display: block; }
.foot.mega-foot { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 28px; }
@media (max-width: 760px) { .foot.mega-foot { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Long-form pages: keep the text column inside the viewport on phones */
.legal-page > *, .doc, .doc section { min-width: 0; }
.doc { overflow-wrap: break-word; }
.doc code { white-space: normal; overflow-wrap: anywhere; }
.doc pre { overflow-x: auto; max-width: 100%; }

/* Real-time vs database contrast */
.rt-contrast { margin-top: 28px; }
.rt-contrast .tip:first-child .plain-list li::marker { color: var(--muted); }
.rt-live { border-color: color-mix(in srgb, var(--mint) 45%, var(--line)); background: color-mix(in srgb, var(--mint) 5%, transparent); }
.rt-live .plain-list { color: var(--ink-soft); }

/* Promo video popup */
.video-modal { width: min(1100px, calc(100vw - 32px)); max-width: none; padding: 0; border: 1px solid var(--line-strong); border-radius: 18px; background: #000; color: var(--paper); overflow: visible; box-shadow: 0 40px 120px #000000cc; }
.video-modal::backdrop { background: #000000c7; backdrop-filter: blur(6px); }
.video-modal[open] { animation: vm-in .28s cubic-bezier(.2,.8,.2,1); }
@keyframes vm-in { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.vm-frame { border-radius: 18px; overflow: hidden; }
.vm-frame video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #000; }
.vm-close { position: absolute; top: -48px; right: 0; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-strong); background: #1a1a1a; color: var(--paper); display: grid; place-items: center; cursor: pointer; }
.vm-close:hover { border-color: var(--muted); }
.vm-close svg { width: 16px; height: 16px; }
html:has(.video-modal[open]) { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .video-modal[open] { animation: none; } }

/* Hero rows: company email + verified person email */
.rows.dual .row { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1.2fr); }
.em { display: grid; gap: 5px; justify-items: start; min-width: 0; }
.em .email { max-width: 100%; }
.etag { font: 500 10px/1 var(--mono); letter-spacing: .04em; padding: 3px 7px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--faint); white-space: nowrap; }
.etag.free { color: var(--mint); border-color: #86c8ac55; }
.etag.ver { color: #0f1b16; background: var(--mint); border-color: var(--mint); }
.etag.warn { color: var(--gold); border-color: #ffcf7355; }
@media (max-width: 760px) {
  .rows.dual .row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .rows.dual .row > :first-child { grid-column: 1 / -1; }
  .rows.dual .row > :nth-child(2) { display: grid; }
  .rows.dual .row.head > :first-child { display: none; }
}

/* Phone-width fixes */
.qa summary { padding-right: 6px; }
main :not(pre) > code { white-space: normal; overflow-wrap: anywhere; }
.panel-title { min-width: 0; }
.panel-title > * { min-width: 0; }
.panel-title .chip { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.send-list > * { min-width: 0; }
.thesis.top { align-items: start; }

/* Products menu: bridge the gap between the button and the panel so hover isn't lost */
.dd-menu.mega::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 40px; }
