/* TrackClear Studio — website
   One stylesheet for all four pages. The theme is the app's own (src/index.css tokens), so the
   site and the product look like one thing: near-black ground #09090d, flat panels #0f0f15,
   borders #2a2a3a, one mint accent #3af0b8, 8/12px radii, no italics, no pill buttons.
   Verdict colours are the app's: Cleared green, Tracked blue, Revenue amber, Blocked red.
   Dark only — the logo does not have a light version.
   The previous green-glow theme lives on in docs/website-mockup-green.html. */
:root {
  --ground: #09090d; --panel: #0f0f15; --panel-2: #16161e; --line: #2a2a3a; --line-2: #3a3a50;
  --tx: #f0ede8; --tx2: #a8a5b8; --tx3: #939aa8;
  --cleared: #44be7f; --tracked: #4aaaf0; --revenue: #f3b327; --blocked: #e35e43;
  --brand: #3af0b8; --brand-2: #3af0b8; --brand-3: #c8f03a; --brand-ink: #0a0a0a;
  --sans: Inter, "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "DM Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  --r: 8px; --max: 1440px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* The nav is sticky, so an anchor jump has to stop below it or the section heading lands under the bar. */
[id] { scroll-margin-top: 136px; }
body { margin: 0; color: var(--tx); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  background: var(--ground); }
/* Two soft blurred blobs behind everything, taken from the imported design. Fixed, so they do not
   scroll with the page; faint, so the page stays a dark studio and not a night club. */
.ambient { display: none; position: fixed; pointer-events: none; filter: blur(80px); opacity: .18; z-index: -1; border-radius: 50%; }
.ambient-a { width: 420px; height: 420px; background: var(--brand); right: -120px; top: 250px; }
.ambient-b { width: 340px; height: 340px; background: var(--brand-2); left: -160px; top: 680px; }

.wrap { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }
.narrow { max-width: 800px; }
.hero > *, .split > *, .dl > *, .export > *, .plans > *, .strip > *, .steps > *, .four > *, .vgrid > * { min-width: 0; }
a { color: var(--brand-2); }

/* Anything still holding a placeholder is loud on purpose. Nothing here should reach a live
   domain wearing a {{TOKEN}}, and amber on the page beats a grep you forget to run. */
.todo { color: var(--revenue); font-family: var(--mono); font-size: 0.9em; border-bottom: 1px dashed var(--revenue); }

/* ── Nav ─────────────────────────────────────────────────────────────────── */
nav { position: sticky; top: 0; z-index: 30; background: var(--panel); border-bottom: 1px solid var(--line); }
nav .inner { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; height: 88px;
  display: flex; align-items: center; gap: 40px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--tx); }
.brand img { width: 76px; height: 76px; border-radius: 10px; display: block;
  box-shadow: 0 1px 4px rgba(0,0,0,.35); }
.brand .word { font-weight: 900; font-style: normal; font-size: 1.75rem; letter-spacing: -0.04em; line-height: 1; }
.brand .word span { color: var(--brand); }
.brand .word small { display: block; font-family: var(--mono); font-style: normal; font-weight: 400;
  font-size: 0.6875rem; letter-spacing: 0.3em; color: var(--tx3); margin-top: 6px; }
nav .links { margin-left: auto; display: flex; align-items: center; gap: 36px; }
nav .links a { color: var(--tx2); text-decoration: none; font-size: 1rem; font-weight: 700; letter-spacing: 0.03em; }
nav .links a:hover { color: var(--brand-2); }
/* The menu button only exists on phones; site.js toggles `open` on the nav. */
.menu { display: none; margin-left: auto; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line-2);
  border-radius: 12px; background: transparent; cursor: pointer; flex-direction: column; align-items: center;
  justify-content: center; gap: 5px; }
.menu span { display: block; width: 18px; height: 2px; background: var(--tx); border-radius: 2px; transition: .18s; }
nav.open .menu span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
nav.open .menu span:nth-child(2) { opacity: 0; }
nav.open .menu span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit;
  font-size: 0.875rem; font-weight: 900; text-transform: none; letter-spacing: 0;
  padding: 10px 18px; border-radius: 8px; text-decoration: none; border: 1px solid var(--line-2);
  color: var(--tx); background: transparent; cursor: pointer; transition: .15s; }
.btn:hover { border-color: var(--brand-2); }
.btn-primary { background: linear-gradient(90deg, var(--brand-2), var(--brand)); border-color: transparent;
  color: var(--brand-ink); box-shadow: 0 1px 4px rgba(0,0,0,.35); }
.btn-primary:hover { transform: translateY(-2px); border-color: transparent;
  box-shadow: 0 0 34px color-mix(in srgb, var(--brand-2) 55%, transparent); }
.btn-outline { border-color: var(--brand-2); color: var(--brand-2); }
.btn-sm { font-size: 0.8125rem; padding: 9px 18px; }

/* ── Type ────────────────────────────────────────────────────────────────── */
.eyebrow, .kicker { font-weight: 900; font-size: 0.9375rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--brand-2); margin-bottom: 14px; }
h1 { font-size: clamp(3rem, 4.6vw, 4.75rem); line-height: 1.0; letter-spacing: -0.04em; font-weight: 900;
  font-style: normal; margin: 0; }
h2 { font-size: clamp(1.75rem, 3vw, 2.75rem); line-height: 1.08; letter-spacing: -0.04em; font-weight: 900;
  font-style: normal; margin: 0 0 14px; }
h3 { font-size: 1.125rem; letter-spacing: -0.01em; margin: 0 0 6px; }
.accent { background: linear-gradient(180deg, var(--brand-2), var(--brand)); -webkit-background-clip: text;
  background-clip: text; color: transparent; }
p { margin: 0 0 15px; }
p:last-child { margin-bottom: 0; }
.lede, .head p { color: var(--tx2); font-size: 1.125rem; max-width: 62ch; }
strong, b { font-weight: 600; color: var(--tx); }
code { font-family: var(--mono); font-size: 0.875em; background: var(--panel-2);
  border: 1px solid var(--line); border-radius: 4px; padding: 1px 5px; }
section { padding-block: 100px 40px; }
.head { max-width: 760px; margin-bottom: 40px; }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero { position: relative; display: grid; grid-template-columns: 0.9fr 1.25fr; gap: 56px; align-items: center;
  padding-block: 64px 72px; }
.hero .sub { color: var(--tx2); font-size: 1.1875rem; margin: 22px 0 0; max-width: 620px; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero .trust { font-weight: 900; font-size: 0.8125rem; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--brand-2); margin-top: 20px; }
.hero .trust b { color: var(--brand-2); font-weight: 900; }
/* The laptop frame from the imported design, holding the REAL screenshot. A drawn interface with
   invented tab names and made-up counts is exactly the thing reviewers and DJs both notice. */
.frame { padding: 12px 12px 26px; border: 1px solid var(--line); border-radius: 12px 22px 12px 12px;
  background: var(--panel); box-shadow: 0 20px 50px rgba(0,0,0,.6);
  transform: perspective(1200px) rotateY(-2deg); }
.frame img { display: block; width: 100%; max-width: 100%; height: auto; border-radius: 8px; border: 1px solid var(--line-2); }
.frame .cam { width: 6px; height: 6px; border-radius: 50%; background: var(--line); margin: 0 auto 8px; }

/* ── Feature strip ───────────────────────────────────────────────────────── */
.strip { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line-2);
  background: var(--panel); border-radius: 12px; overflow: hidden; }
.strip article { padding: 26px 22px; border-right: 1px solid var(--line-2); }
.strip article:last-child { border-right: 0; }
.strip .ic { color: var(--brand-2); line-height: 0; margin-bottom: 16px; }
.strip .ic svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.strip h3 { font-size: 0.875rem; letter-spacing: 0.06em; text-transform: uppercase; }
.strip p { font-size: 0.9375rem; color: var(--tx2); margin: 0; line-height: 1.5; }

/* ── Steps ───────────────────────────────────────────────────────────────── */
div.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
div.steps article { border: 1px solid var(--line-2); background: var(--panel);
  border-radius: 12px; padding: 24px 22px; min-height: 230px; }
div.steps .n { font-weight: 900; font-size: 0.75rem; color: var(--brand-2); letter-spacing: 0.12em; }
div.steps h3 { font-size: 1.625rem; margin: 36px 0 8px; letter-spacing: -0.02em; }
div.steps p { font-size: 0.9375rem; color: var(--tx2); margin: 0; }

/* ── Verdicts ────────────────────────────────────────────────────────────── */
.split { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: center; }
.vgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.v { display: flex; gap: 16px; align-items: flex-start; border: 1px solid var(--line); border-radius: 12px;
  padding: 20px; background: var(--panel); }
.v .dot { flex: 0 0 46px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  font-size: 1.4rem; font-weight: 700; }
.v h3 { margin: 2px 0 4px; }
.v p { font-size: 0.9375rem; color: var(--tx2); margin: 0; }
.v-cleared .dot { background: color-mix(in srgb, var(--cleared) 18%, transparent); color: var(--cleared); }
.v-tracked .dot { background: color-mix(in srgb, var(--tracked) 18%, transparent); color: var(--tracked); }
.v-revenue .dot { background: color-mix(in srgb, var(--revenue) 18%, transparent); color: var(--revenue); }
.v-blocked .dot { background: color-mix(in srgb, var(--blocked) 18%, transparent); color: var(--blocked); }
.v-cleared h3 { color: var(--cleared); } .v-tracked h3 { color: var(--tracked); }
.v-revenue h3 { color: var(--revenue); } .v-blocked h3 { color: var(--blocked); }
.rule { border-left: 3px solid var(--brand); padding: 4px 0 4px 16px; color: var(--tx2); font-size: 0.9375rem; margin-top: 22px; }
.rule b { color: var(--tx); }

/* ── Privacy cards ───────────────────────────────────────────────────────── */
.four { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.four .card { border: 1px solid var(--line); background: var(--panel); border-radius: 12px; padding: 20px 22px;
  font-size: 0.9375rem; color: var(--tx2); }
.four .card b { display: block; color: var(--tx); margin-bottom: 6px; }

/* ── Export ──────────────────────────────────────────────────────────────── */
.export { border: 1px solid var(--line-2); border-radius: 12px; background: var(--panel);
  padding: 44px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 30px; }
.export p { color: var(--tx2); margin: 0; }
.logos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.dj { border: 1px solid var(--line-2); border-radius: 12px; padding: 16px 18px; background: rgba(0, 0, 0, 0.28); min-width: 0; }
.dj b { display: block; font-size: 1.75rem; font-weight: 900; letter-spacing: -0.04em; line-height: 1.1; white-space: nowrap; }
.dj small { display: block; margin-top: 6px; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--tx3); white-space: nowrap; }

/* ── Pricing ─────────────────────────────────────────────────────────────── */
.plans { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; align-items: stretch; }
.plan { border: 1px solid var(--line-2); background: var(--panel); border-radius: 12px; padding: 30px;
  display: flex; flex-direction: column; }
.plan.hot { border-color: color-mix(in srgb, var(--brand) 55%, var(--line));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--brand) 25%, transparent) inset; }
.plan .tag { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--tx3); }
.plan .top { display: flex; gap: 18px; align-items: center; margin: 10px 0 18px; }
.plan .top img { width: 88px; height: 88px; border-radius: 12px; box-shadow: 0 1px 4px rgba(0,0,0,.35); }
.plan .name { font-size: 1.375rem; font-weight: 900; letter-spacing: -0.02em; }
.plan .amt { font-size: 3rem; font-weight: 900; letter-spacing: -0.04em; line-height: 1; }
.plan .amt small { font-size: 0.9375rem; font-weight: 500; color: var(--tx3); letter-spacing: 0; margin-left: 6px; }
.plan .lead { color: var(--tx2); font-size: 0.9375rem; margin: 14px 0 18px; }
.plan ul { list-style: none; margin: 0 0 24px; padding: 0; flex: 1; }
.plan li { position: relative; padding-left: 24px; font-size: 0.9375rem; color: var(--tx2); margin-bottom: 9px; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--brand-2); font-size: 0.875rem; }
.plan .fine { margin-top: 14px; }
.fine { font-size: 0.8125rem; color: var(--tx3); }

/* ── Callout ─────────────────────────────────────────────────────────────── */
.note { border: 1px solid var(--line); background: var(--panel); border-radius: var(--r); padding: 18px 22px;
  font-size: 0.9375rem; color: var(--tx2); margin-top: 22px; }
.note b { color: var(--tx); }
.note.warn { border-left: 3px solid var(--revenue); }

/* ── Download + tables ───────────────────────────────────────────────────── */
.dl { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.scroller { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); margin-top: 18px; }
.dl .scroller { margin-top: 0; }
table { border-collapse: collapse; width: 100%; font-size: 0.9375rem; min-width: 440px; }
th { text-align: left; font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--tx3); font-weight: 400; padding: 12px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--tx2); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
td.f { color: var(--tx); font-weight: 500; white-space: nowrap; }

/* ── FAQ ─────────────────────────────────────────────────────────────────── */
details { border-bottom: 1px solid var(--line); padding: 20px 2px; }
summary { cursor: pointer; font-weight: 700; font-size: 1.125rem; list-style: none; display: flex; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::before { content: "+"; color: var(--brand-2); font-family: var(--mono); }
details[open] summary::before { content: "−"; }
details p, details .body { color: var(--tx2); font-size: 0.9375rem; margin: 12px 0 0; max-width: 72ch; }
details .body p:last-child { margin-bottom: 0; }

/* ── Prose lists (legal + support) ───────────────────────────────────────── */
ul.items { list-style: none; margin: 16px 0 0; padding: 0; }
ul.items li { position: relative; padding-left: 22px; color: var(--tx2); margin-bottom: 9px; }
ul.items li::before { content: "·"; position: absolute; left: 6px; color: var(--brand-2); }
ul.items li b, ul.items li strong { color: var(--tx); }
ol.steps { margin: 16px 0 0; padding-left: 22px; }
ol.steps li { color: var(--tx2); margin-bottom: 10px; }

/* ── Legal + support pages: same theme, calmer type. A 60px italic for every clause heading
      would make the terms read like a poster. ────────────────────────────── */
main.narrow { padding-block: 56px 20px; }
.narrow h1 { font-size: clamp(2.5rem, 4.5vw, 3.5rem); line-height: 1.02; margin: 8px 0 0; }
.narrow h2 { font-size: 1.5rem; font-style: normal; letter-spacing: -0.02em; line-height: 1.25; margin: 48px 0 10px; }
.narrow h3 { font-size: 1.0625rem; margin: 26px 0 8px; }
.narrow p, .narrow li { color: var(--tx2); }
.legal section { padding-block: 0; }
.updated { font-family: var(--mono); font-size: 0.75rem; color: var(--tx3); margin-top: 14px; }
.toc { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 20px 24px; margin-top: 30px; }
.toc ol { margin: 0; padding-left: 20px; }
.toc li { margin-bottom: 5px; font-size: 0.9375rem; }

/* ── Footer ──────────────────────────────────────────────────────────────── */
footer { border-top: 1px solid var(--line-2); margin-top: 60px; padding-block: 40px 56px; }
footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
footer .brand img { width: 64px; height: 64px; border-radius: 12px; }
footer .brand .word { font-size: 1.25rem; }
footer .h { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--tx3); margin-bottom: 12px; }
footer a { display: block; color: var(--tx2); text-decoration: none; font-size: 0.9375rem; margin-bottom: 8px; }
footer a:hover { color: var(--tx); }
footer .tag { color: var(--tx2); font-size: 0.9375rem; margin-top: 12px; }
footer .fine { margin-top: 34px; max-width: 80ch; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 8px; top: 8px; position: fixed; background: var(--panel); color: var(--tx);
  padding: 10px 16px; border-radius: var(--r); border: 1px solid var(--line); z-index: 100; }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 1050px) {
  .hero { grid-template-columns: 1fr; }
  .frame { transform: none; }
  .strip { grid-template-columns: 1fr 1fr 1fr; } .strip article { border-bottom: 1px solid var(--line-2); }
  div.steps { grid-template-columns: 1fr 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 30px; }
  .four { grid-template-columns: 1fr 1fr; }
  .export { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .dl { grid-template-columns: 1fr; }
  footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  nav .inner { height: 84px; gap: 16px; }
  [id] { scroll-margin-top: 104px; }
  .brand img { width: 60px; height: 60px; border-radius: 10px; }
  .brand .word { font-size: 1.375rem; } .brand .word small { font-size: 0.625rem; margin-top: 6px; }
  .menu { display: inline-flex; }
  nav .links { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column;
    align-items: stretch; gap: 0; padding: 4px 24px 22px; margin: 0;
    background: var(--ground); border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 60px rgba(0,0,0,.6); }
  nav.open .links { display: flex; }
  nav .links a { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  nav .links a:last-child { border-bottom: 0; }
  nav .links .btn { margin-top: 16px; border-bottom: 1px solid var(--line-2); padding: 14px 24px; font-size: 0.8125rem; }
  h1 { font-size: 3rem; }
}
@media (max-width: 640px) {
  .wrap, nav .inner { width: calc(100% - 32px); }
  section { padding-block: 64px 24px; }
  .hero { padding-block: 40px 56px; }
  .strip, div.steps, .vgrid, .four { grid-template-columns: 1fr; }
  div.steps article { min-height: 0; }
  .cta .btn { width: 100%; }
  .logos { gap: 8px; }
  .dj { padding: 12px 14px; } .dj b { font-size: 1.25rem; }
  .export { padding: 28px 24px; }
  .plan { padding: 24px 20px; }
  footer .cols { grid-template-columns: 1fr; }
}

