/* ASO Intelligence site styles.
   Design: data-terminal. Geist for text, Geist Mono for every number and label,
   hairline rules, one blue accent (the app's popularity-dot blue).
   Shape rule: controls (buttons, inputs, chips) 6px; panels (cells, cards, frames) 10px.
   Semantic data colours (KEI bands) are data, not accents, and appear only in the band scale.
   Z-index scale: 1 skip link, 40 sticky nav. */

:root {
  --bg: #0c0d10;
  --bg-band: #111318;
  --surface: #15171c;
  --surface-2: #1b1e24;
  --line: #262a31;
  --line-strong: #363b45;
  --ink: #eceef2;
  --ink-2: #b4bac5;
  --ink-3: #8b929e;
  --accent: #7ea6ff;
  --accent-ink: #08132b;
  --accent-text: #9dbbff;
  --accent-soft: rgba(126, 166, 255, 0.12);
  --grid: rgba(126, 166, 255, 0.06);
  --shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.7);
  --prime: #5fd08e;
  --good: #4cc3bb;
  --contested: #e7b556;
  --avoid: #f07a72;
  --over: #ff8a80;
  --nav-bg: rgba(12, 13, 16, 0.82);
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #f5f6f8;
  --bg-band: #eceef2;
  --surface: #fbfbfc;
  --surface-2: #f1f3f6;
  --line: #dadee5;
  --line-strong: #c3c9d3;
  --ink: #111318;
  --ink-2: #414854;
  --ink-3: #5c6370;
  --accent: #2350c4;
  --accent-ink: #f7f9ff;
  --accent-text: #1f47b0;
  --accent-soft: rgba(35, 80, 196, 0.08);
  --grid: rgba(35, 80, 196, 0.05);
  --shadow: 0 24px 60px -34px rgba(30, 40, 70, 0.35);
  --prime: #1d7a45;
  --good: #137069;
  --contested: #8a5a00;
  --avoid: #b3302a;
  --over: #b3302a;
  --nav-bg: rgba(245, 246, 248, 0.85);
  color-scheme: light;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme]) {
    --bg: #f5f6f8; --bg-band: #eceef2; --surface: #fbfbfc; --surface-2: #f1f3f6; --line: #dadee5; --line-strong: #c3c9d3;
    --ink: #111318; --ink-2: #414854; --ink-3: #5c6370; --accent: #2350c4; --accent-ink: #f7f9ff; --accent-text: #1f47b0;
    --accent-soft: rgba(35, 80, 196, 0.08); --grid: rgba(35, 80, 196, 0.05); --nav-bg: rgba(245, 246, 248, 0.85);
    --prime: #1d7a45; --good: #137069; --contested: #8a5a00; --avoid: #b3302a; --over: #b3302a;
    color-scheme: light;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-text); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.mono, code, pre, .counter { font-family: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace; font-variant-numeric: tabular-nums; }
.dim { color: var(--ink-3); }
.small { font-size: 14px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:root:not([data-theme="light"]) .only-light { display: none !important; }
:root[data-theme="light"] .only-dark { display: none !important; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 1; background: var(--accent); color: var(--accent-ink); padding: 8px 12px; border-radius: 6px; font-weight: 600; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wrap { padding: 0 32px; } }
.narrow { max-width: 780px; }

/* Type ------------------------------------------------------------------- */
h1, .h1 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.06; letter-spacing: -0.035em; font-weight: 600; margin: 0; text-wrap: balance; }
.h2 { font-size: clamp(26px, 3vw, 38px); line-height: 1.12; letter-spacing: -0.028em; font-weight: 600; margin: 0 0 14px; text-wrap: balance; }
.h3, h3 { font-size: 18px; line-height: 1.3; letter-spacing: -0.01em; font-weight: 600; margin: 0 0 8px; }
.lede { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.55; color: var(--ink-2); max-width: 60ch; margin: 0; }
.note { font-size: 14.5px; line-height: 1.6; color: var(--ink-3); max-width: 62ch; margin: 16px 0 0; }
.text-link { display: inline-block; margin-top: 20px; font-weight: 600; }
.text-link::after { content: " \2192"; }

/* Nav -------------------------------------------------------------------- */
.nav { position: sticky; top: 0; z-index: 40; background: var(--nav-bg); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-bottom: 1px solid var(--line); }
.nav-row { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 600; letter-spacing: -0.02em; font-size: 17px; white-space: nowrap; }
.logo-mark { flex: none; border-radius: 7px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.nav-links { display: none; margin-left: auto; gap: 4px; }
.nav-links a, .nav-mobile nav a { color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500; padding: 8px 12px; border-radius: 6px; }
.nav-links a:hover, .nav-mobile nav a:hover { color: var(--ink); background: var(--surface-2); }
.nav-links a[aria-current="page"], .nav-mobile nav a[aria-current="page"] { color: var(--ink); background: var(--surface-2); }
.theme-toggle { margin-left: auto; font: 500 13px/1 "Geist Mono", ui-monospace, monospace; color: var(--ink-2); background: transparent; border: 1px solid var(--line-strong); border-radius: 6px; height: 34px; padding: 0 12px; cursor: pointer; }
.theme-toggle:hover { color: var(--ink); border-color: var(--ink-3); }
.nav-mobile { position: relative; }
.nav-mobile summary { list-style: none; cursor: pointer; font: 500 13px/1 "Geist Mono", ui-monospace, monospace; color: var(--ink); border: 1px solid var(--line-strong); border-radius: 6px; height: 34px; padding: 0 12px; display: flex; align-items: center; }
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-mobile nav { position: absolute; right: 0; top: 44px; width: min(240px, calc(100vw - 32px)); display: flex; flex-direction: column; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); }
@media (min-width: 900px) {
  .nav-links { display: flex; }
  .theme-toggle { margin-left: 8px; }
  .nav-mobile { display: none; }
}
@media (max-width: 899px) { .theme-toggle { margin-left: auto; } .nav-row { gap: 10px; } }

/* Buttons ---------------------------------------------------------------- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 6px; font: 600 15.5px/1 "Geist", sans-serif; text-decoration: none; white-space: nowrap; border: 1px solid transparent; cursor: pointer; transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.18s, border-color 0.18s; }
.btn:active { transform: translateY(1px) scale(0.99); }
.btn .mono { font-weight: 500; font-size: 14px; opacity: 0.85; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink-3); background: var(--surface-2); }
.btn-disabled { background: var(--surface-2); color: var(--ink-3); border: 1px dashed var(--line-strong); cursor: not-allowed; }
.btn-store { flex-direction: column; align-items: flex-start; gap: 3px; min-height: 54px; padding: 8px 18px; background: var(--ink); color: var(--bg); }
.btn-store:hover { filter: brightness(1.1); }
.store-small { font-size: 11px; font-weight: 500; letter-spacing: 0.02em; }
.store-big { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }

/* Sections --------------------------------------------------------------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-tight { padding: clamp(40px, 5vw, 64px) 0; }
.section-band { background: var(--bg-band); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.page-head { padding: clamp(48px, 7vw, 88px) 0 clamp(24px, 3vw, 36px); background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 32px 32px; border-bottom: 1px solid var(--line); }
.page-head h1 { max-width: 20ch; }
.page-head .lede { margin-top: 18px; }

/* Hero ------------------------------------------------------------------- */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 6vw, 88px); background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 32px 32px; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; gap: clamp(36px, 5vw, 56px); }
.hero-copy .lede { margin-top: 20px; max-width: 54ch; }
.br-lg { display: none; }
@media (min-width: 900px) { .br-lg { display: inline; } }
.shot--hero { aspect-ratio: 16 / 9; }

/* Screenshot frames ------------------------------------------------------ */
.shot { margin: 0; border-radius: 10px; overflow: hidden; border: 1px solid var(--line-strong); background: var(--surface); box-shadow: var(--shadow); aspect-ratio: 16 / 10; }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.shot--wide { aspect-ratio: 16 / 8; }
.shot--cell { aspect-ratio: 16 / 9; box-shadow: none; margin-top: 20px; }
.shot--pending { display: flex; flex-direction: column; }
.shot-bar { display: flex; align-items: center; height: 36px; padding: 0 14px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.shot-title { font: 500 12.5px/1 "Geist Mono", ui-monospace, monospace; color: var(--ink-2); }
.shot-body { flex: 1; display: grid; place-items: center; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 24px 24px; }
.shot-note { font: 500 12.5px/1 "Geist Mono", ui-monospace, monospace; color: var(--ink-3); border: 1px dashed var(--line-strong); padding: 8px 12px; border-radius: 6px; background: var(--surface); }

/* Bento ------------------------------------------------------------------ */
.bento { display: grid; gap: 16px; margin-top: 32px; }
.cell { border: 1px solid var(--line); border-radius: 10px; padding: 28px; background: var(--surface); overflow: hidden; }
.cell p { color: var(--ink-2); margin: 0; max-width: 52ch; }
.cell-terminal .kei { margin-top: 24px; }
.cell-radar { background: linear-gradient(160deg, var(--accent-soft), transparent 70%), var(--surface); }
.cell-devices { background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 20px 20px; }
@media (min-width: 900px) {
  .bento { grid-template-columns: 7fr 5fr; }
  .cell-terminal { grid-row: span 2; }
  .cell-devices { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto; align-items: end; column-gap: 40px; }
  .cell-devices h3, .cell-devices p { grid-column: 1; }
  .cell-devices .specs { grid-column: 2; grid-row: 1 / span 2; margin: 0; }
}
.tags { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li, .chip { font: 500 12.5px/1 "Geist Mono", ui-monospace, monospace; color: var(--ink-2); border: 1px solid var(--line-strong); border-radius: 6px; padding: 7px 10px; background: var(--bg); }
.specs { display: flex; flex-wrap: wrap; gap: 28px; margin: 22px 0 0; }
.specs dt { font-size: 12.5px; color: var(--ink-3); }
.specs dd { margin: 2px 0 0; font-size: 20px; color: var(--ink); }
.specs-lg dd { font-size: 17px; }

/* KEI scale -------------------------------------------------------------- */
.kei { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.kei-band { display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; padding: 14px 16px 14px 18px; background: var(--surface); position: relative; }
.kei-band::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--band); }
.kei-name { font-weight: 600; color: var(--band); }
.kei-range { font-size: 13px; color: var(--ink-2); justify-self: end; }
.kei-note { grid-column: 1 / -1; font-size: 14px; color: var(--ink-3); }
.kei-prime { --band: var(--prime); }
.kei-good { --band: var(--good); }
.kei-contested { --band: var(--contested); }
.kei-avoid { --band: var(--avoid); }
.section-band .kei { grid-template-columns: 1fr; }
@media (min-width: 768px) { .section-band .kei { grid-template-columns: repeat(4, 1fr); } .section-band .kei-band { padding: 22px 20px 22px 22px; } }
.band-head { margin-bottom: 32px; }
.formula { display: inline-block; margin: 20px 0 0; padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: 6px; font-size: 15px; color: var(--ink); background: var(--surface); }

/* Splits ----------------------------------------------------------------- */
.split { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 56px; }
  .split-reports { grid-template-columns: 5fr 7fr; }
  .split-top { align-items: start; grid-template-columns: 7fr 5fr; }
  .split-sticky { position: sticky; top: 96px; }
}
@media (max-width: 899px) { .split-media { order: 2; } }
.stack-head { margin-bottom: 32px; }
.defs { margin: 24px 0 0; display: grid; gap: 16px; }
.defs dt { font-weight: 600; }
.defs dd { margin: 2px 0 0; color: var(--ink-2); }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 22px; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 0.72em; width: 10px; height: 2px; background: var(--accent); }

/* Report outlines -------------------------------------------------------- */
.docs { display: grid; gap: 16px; }
@media (min-width: 640px) { .docs { grid-template-columns: 3fr 2fr; } }
.doc { border: 1px solid var(--line); border-radius: 10px; padding: 22px; background: var(--surface); }
.doc ol { margin: 12px 0 0; padding-left: 22px; display: grid; gap: 7px; font-size: 13px; line-height: 1.45; color: var(--ink-2); }
.doc ol li::marker { color: var(--ink-3); }

/* Metadata demo ---------------------------------------------------------- */
.demo-grid { display: grid; gap: 36px; align-items: start; }
@media (min-width: 900px) { .demo-grid { grid-template-columns: 5fr 7fr; gap: 56px; } }
.md-demo, .contact { display: grid; gap: 18px; }
.md-demo { border: 1px solid var(--line); border-radius: 10px; padding: 24px; background: var(--surface); }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field input, .field textarea { width: 100%; font: 400 16px/1.4 "Geist", sans-serif; color: var(--ink); background: var(--bg); border: 1px solid var(--line-strong); border-radius: 6px; padding: 11px 12px; }
.md-demo input { font-family: "Geist Mono", ui-monospace, monospace; font-size: 15px; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.field input[aria-invalid="true"] { border-color: var(--over); }
.counter { margin: 0; font-size: 13px; color: var(--ink-3); justify-self: end; }
.counter.over { color: var(--over); }
.md-dupes { margin: 0; font-size: 14.5px; color: var(--ink-2); padding: 12px 14px; border-radius: 6px; background: var(--accent-soft); }
.help { margin: 0; font-size: 13.5px; color: var(--ink-3); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Pricing ---------------------------------------------------------------- */
.plans { display: grid; gap: 16px; }
@media (min-width: 900px) { .plans { grid-template-columns: 5fr 7fr; } }
.plan { border: 1px solid var(--line); border-radius: 10px; padding: 28px; background: var(--surface); display: flex; flex-direction: column; }
.plan h2 { font-size: 20px; margin: 0; letter-spacing: -0.015em; }
.plan > p { color: var(--ink-2); margin: 10px 0 0; }
.plan .price { font-size: 17px; color: var(--ink); margin-top: 14px; }
.plan .price .mono { font-size: 34px; letter-spacing: -0.03em; font-weight: 500; }
.plan .actions { margin-top: auto; padding-top: 24px; }
.plan-pro { border-color: var(--accent); background: linear-gradient(170deg, var(--accent-soft), transparent 55%), var(--surface); }
.table-scroll { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.compare { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { text-align: left; padding: 12px 18px; vertical-align: top; }
.compare thead th { font-weight: 600; font-size: 15px; border-bottom: 1px solid var(--line-strong); }
.compare thead th span { display: block; font: 500 12.5px/1.4 "Geist Mono", ui-monospace, monospace; color: var(--ink-3); }
.compare tbody th { font-weight: 500; color: var(--ink); }
.compare td { color: var(--ink-2); width: 30%; }
.compare tr.group th { padding-top: 22px; font: 500 12.5px/1 "Geist Mono", ui-monospace, monospace; color: var(--accent-text); border-bottom: 1px solid var(--line); }
.compare sup { font: 500 11px/1 "Geist Mono", ui-monospace, monospace; color: var(--ink-3); }
.yes { color: var(--accent-text); font-weight: 600; }
.no { color: var(--ink-3); font-family: "Geist Mono", ui-monospace, monospace; }
.cell-note { display: block; font-size: 13px; color: var(--ink-3); }
.footnotes { margin: 24px 0 0; padding-left: 22px; display: grid; gap: 8px; font-size: 14px; color: var(--ink-3); max-width: 90ch; }

/* Downloads -------------------------------------------------------------- */
.channels { display: grid; gap: 16px; }
@media (min-width: 900px) { .channels { grid-template-columns: 1fr 1fr; } .channel-direct { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; align-items: center; } .channel-direct h2, .channel-direct > p { grid-column: 1; } .channel-direct .dl { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; } }
.channel { border: 1px solid var(--line); border-radius: 10px; padding: 28px; background: var(--surface); }
.channel h2 { font-size: 20px; letter-spacing: -0.015em; margin: 0; }
.channel > p { color: var(--ink-2); margin: 10px 0 22px; max-width: 52ch; }
.channel-direct { background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 24px 24px; }
.dl .note { margin-top: 12px; }
.reqs .note { margin-top: 24px; }

/* Releases --------------------------------------------------------------- */
.releases { display: grid; gap: 0; }
.release { display: grid; gap: 12px 40px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.release:first-child { padding-top: 0; }
@media (min-width: 768px) { .release { grid-template-columns: 200px 1fr; } }
.release h2 { margin: 0; font-size: 28px; font-weight: 500; letter-spacing: -0.02em; }
.release-meta p { margin: 6px 0 0; font-size: 13.5px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.release .ticks { margin-top: 18px; }
.release-dl { margin: 18px 0 0; }
.releases > p { margin-top: 28px; }

/* Support ---------------------------------------------------------------- */
.steps { margin: 24px 0 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 16px; }
.steps li { counter-increment: s; position: relative; padding-left: 44px; color: var(--ink-2); }
.steps li strong { color: var(--ink); font-weight: 600; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 6px; border: 1px solid var(--line-strong); display: grid; place-items: center; font: 500 13px/1 "Geist Mono", ui-monospace, monospace; color: var(--accent-text); background: var(--surface); }
.code { margin: 12px 0 0; padding: 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); overflow-x: auto; font-size: 13px; line-height: 1.6; color: var(--ink); max-width: 100%; }
.split-copy .h3 { margin-top: 32px; }
.faq { display: grid; gap: 10px; margin-top: 24px; }
.faq details { border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.faq summary { cursor: pointer; padding: 18px 20px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: "Geist Mono", ui-monospace, monospace; color: var(--ink-3); }
.faq details[open] summary::after { content: "-"; }
.faq-a { padding: 0 20px 18px; color: var(--ink-2); }
.faq-a p { margin: 0 0 10px; }
.faq-a p:last-child { margin: 0; }
.contact { margin-top: 28px; max-width: 620px; position: relative; }
.contact textarea { resize: vertical; min-height: 150px; }

/* Legal ------------------------------------------------------------------ */
.legal h2 { font-size: 22px; letter-spacing: -0.02em; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--ink-2); }
.legal p { margin: 0 0 12px; }

/* CTA + 404 -------------------------------------------------------------- */
.cta { padding: clamp(64px, 9vw, 112px) 0; border-top: 1px solid var(--line); background: radial-gradient(ellipse 60% 80% at 15% 100%, var(--accent-soft), transparent 70%), var(--bg-band); }
.cta-inner .lede { margin-top: 4px; }
.nf { min-height: 60vh; display: flex; align-items: center; }
.nf .h1 { margin: 8px 0 14px; }

/* Footer ----------------------------------------------------------------- */
.footer { border-top: 1px solid var(--line); padding: 48px 0 32px; }
.footer-row { display: grid; gap: 28px; }
@media (min-width: 900px) { .footer-row { grid-template-columns: 1fr auto; align-items: start; } }
.footer-brand p { color: var(--ink-3); font-size: 14.5px; margin: 12px 0 0; max-width: 42ch; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14.5px; max-width: 520px; }
.footer-links a { color: var(--ink-2); text-decoration: none; }
.footer-links a:hover { color: var(--ink); text-decoration: underline; }
.footer-legal { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }
.footer-legal a { color: inherit; }

/* Reveal (armed only for below-the-fold elements by site.js) ------------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal.armed { opacity: 0; transform: translateY(14px); transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
  .reveal.armed.in { opacity: 1; transform: none; }
  .hero-copy, .hero-shot { animation: rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) both; }
  .hero-shot { animation-delay: 0.08s; }
  @keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
}

.demo-shot { margin-top: 28px; }
.reports-shot { margin-top: 40px; }

/* Grid children default to min-width:auto and would let a <pre> or table push the page wide. */
.split > *, .demo-grid > *, .hero-grid > *, .bento > *, .plans > *, .channels > *, .release > *, .docs > * { min-width: 0; }
