@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("/assets/fonts/sora-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("/assets/fonts/sora-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/assets/fonts/manrope-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/assets/fonts/manrope-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Tube Gain tokens. The app's theme uses the same values (src/theme.js). */
:root {
  --ground: #f3f6f4;
  --surface: #ffffff;
  --sunken: #e8eeea;
  --ink: #0d1411;
  --muted: #56665d;
  --line: #d8e1dc;
  --accent: #0e9f5a;
  --accent-strong: #0b7f48;
  --accent-soft: #daf3e6;
  --gold: #c98a0b;
  --gold-soft: #fbefd2;
  --warn: #b4531c;
  --display: "Sora", "Segoe UI", system-ui, sans-serif;
  --body: "Manrope", "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", Consolas, monospace;
  --radius: 14px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ground: #0a100d;
    --surface: #111a15;
    --sunken: #16211b;
    --ink: #e6eee9;
    --muted: #93a59b;
    --line: #22302a;
    --accent: #2fcb7d;
    --accent-strong: #5ad99a;
    --accent-soft: #10301f;
    --gold: #f2b84b;
    --gold-soft: #33280f;
    --warn: #f0a172;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--accent-strong); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--surface); padding: 8px 12px; }

.wrap { max-width: 1120px; margin: 0 auto; padding-inline: 20px; }
.narrow { max-width: 740px; }

/* ---------------------------------------------------------------- header */
.site-header { border-bottom: 1px solid var(--line); background: var(--ground); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 700 20px/1 var(--display); letter-spacing: -0.02em; }
.brand svg { width: 32px; height: 32px; }
.nav { display: flex; gap: 4px; flex-wrap: wrap; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 999px; }
.nav a:hover { color: var(--ink); background: var(--sunken); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--sunken); }

/* ---------------------------------------------------------------- type */
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.025em; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(36px, 6vw, 60px); line-height: 1.04; font-weight: 700; }
h2 { font-size: clamp(26px, 3.6vw, 36px); line-height: 1.12; font-weight: 700; }
h3 { font-size: 19px; line-height: 1.3; font-weight: 650; letter-spacing: -0.01em; }
.eyebrow { font: 700 13px/1 var(--body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-strong); margin: 0 0 14px; }
.lede { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); max-width: 34em; margin: 18px 0 0; }
p { margin: 0 0 14px; }

/* ---------------------------------------------------------------- hero */
.hero { padding-block: 64px 72px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 48px; align-items: center; }
.hero h1 em { font-style: normal; color: var(--accent); }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 30px; }
.play-badge img { height: 60px; width: auto; margin: -9px; }
.cta-note { color: var(--muted); font-size: 14px; }
@media (max-width: 860px) {
  .hero { padding-block: 40px 48px; }
  .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 36px; }
}

/* A product mock drawn in HTML: keyword research as the app shows it. */
.mock { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 20px; box-shadow: 0 30px 60px -30px rgb(13 20 17 / 0.35); max-width: 460px; justify-self: center; width: 100%; }
.mock-search { display: flex; align-items: center; gap: 10px; background: var(--sunken); border-radius: 12px; padding: 12px 14px; font-weight: 600; }
.mock-search svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.mock-scores { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0; }
.score { border-radius: 14px; padding: 14px; background: var(--sunken); }
.score b { display: block; font: 700 34px/1 var(--display); font-variant-numeric: tabular-nums; }
.score span { font-size: 13px; color: var(--muted); font-weight: 600; }
.score.good { background: var(--accent-soft); }
.score.good b { color: var(--accent-strong); }
.bar { height: 6px; border-radius: 3px; background: var(--line); margin-top: 10px; overflow: hidden; }
.bar i { display: block; height: 100%; background: currentColor; border-radius: 3px; }
.mock-rows { display: grid; gap: 10px; }
.mock-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.thumb { aspect-ratio: 16 / 9; border-radius: 8px; background: linear-gradient(135deg, var(--line), var(--sunken)); }
.mock-row p { margin: 0; font-size: 14px; font-weight: 600; line-height: 1.3; }
.mock-row small { color: var(--muted); font-size: 12px; }
.vph { font: 700 13px/1 var(--body); font-variant-numeric: tabular-nums; color: var(--accent-strong); white-space: nowrap; }
.mock-foot { margin-top: 14px; font-size: 12px; color: var(--muted); }

/* ---------------------------------------------------------------- sections */
.section { padding-block: 72px; border-top: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head p { color: var(--muted); margin-top: 12px; }

.tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .tools { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tools { grid-template-columns: minmax(0, 1fr); } }
.tool { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.tool .icon { width: 40px; height: 40px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-strong); display: grid; place-items: center; }
.tool .icon svg { width: 22px; height: 22px; }
.tool p { color: var(--muted); margin: 0; font-size: 16px; }
.price { margin-top: auto; padding-top: 6px; font-weight: 700; font-size: 14px; color: var(--gold); display: inline-flex; align-items: center; gap: 6px; }
.price.free { color: var(--accent-strong); }
.price svg { width: 14px; height: 14px; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: 15px; font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
th { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); background: var(--sunken); }
td.num, th.num { text-align: right; }

.honest { background: var(--gold-soft); border-radius: var(--radius); padding: 24px; }
.honest h3 { margin-bottom: 8px; }
.honest p:last-child { margin-bottom: 0; }

.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 0 18px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 22px/1 var(--display); color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 16px; margin: 0; }

.band { background: var(--ink); color: var(--ground); border-radius: 24px; padding: 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.band h2 { color: inherit; }
.band p { color: color-mix(in srgb, var(--ground) 72%, transparent); margin: 10px 0 0; }

/* ---------------------------------------------------------------- documents */
.doc { padding-block: 48px 80px; }
.doc h1 { font-size: clamp(32px, 5vw, 44px); margin-bottom: 10px; }
.doc h2 { font-size: 24px; margin: 44px 0 12px; }
.doc h3 { font-size: 18px; margin: 28px 0 8px; }
.doc p, .doc li { max-width: 68ch; }
.doc ul, .doc ol { padding-left: 22px; margin: 0 0 14px; }
.doc li { margin: 6px 0; }
.doc table { margin: 8px 0 18px; }
.doc .table-scroll { margin: 8px 0 18px; }
.doc code { font: 0.88em var(--mono); background: var(--sunken); padding: 1px 5px; border-radius: 4px; }
.steps { counter-reset: s; list-style: none; padding: 0 !important; display: grid; gap: 12px; }
.steps li { counter-increment: s; position: relative; padding: 16px 16px 16px 58px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; margin: 0; }
.steps li::before { content: counter(s); position: absolute; left: 16px; top: 14px; width: 28px; height: 28px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-strong); font: 700 14px/28px var(--display); text-align: center; }
.note { border-left: 3px solid var(--gold); padding: 4px 0 4px 16px; color: var(--muted); }

/* ---------------------------------------------------------------- footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 36px 48px; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: grid; gap: 18px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot-links a { color: var(--ink); text-decoration: none; font-weight: 600; }
.foot-links a:hover { text-decoration: underline; }
.site-footer p { margin: 0; max-width: 70ch; }

.notfound { padding-block: 96px; text-align: left; }
.notfound .code { font: 700 clamp(72px, 14vw, 140px)/1 var(--display); color: var(--accent); letter-spacing: -0.04em; }
.button { display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: #fff; text-decoration: none; font-weight: 700; padding: 12px 20px; border-radius: 999px; }
.button:hover { background: var(--accent-strong); }

@media (max-width: 560px) {
  body { font-size: 16px; }
  .section { padding-block: 52px; }
  .band { padding: 28px 22px; }
  .site-header .wrap { padding-block: 10px; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
