/* The Sixgree website. Light only, like the app's Daylight look (a dark set of
   colours is kept below, switched off). System fonts for text, Manrope 800 (in /fonts, SIL OFL)
   for the wordmark and the big headlines. No external requests.
   index.html asks for this file by version (style.css?v=…): a browser holding an
   old copy draws the new page with old rules. Bump the version whenever the layout changes. */

:root {
  --bg: #ffffff;
  --bg-2: #f7f7f5;
  --surface: #ffffff;
  --panel: rgba(20, 22, 48, 0.035);
  --panel-2: rgba(20, 22, 48, 0.065);
  --line: rgba(20, 22, 40, 0.085);
  --line-2: rgba(20, 22, 40, 0.15);
  --text: #0e0f16;
  --text-2: #2b2d3b;
  --muted: #545869;
  --faint: #6b7084;
  --link: #1b5cb3;
  --link-hover: #0d3f82;
  /* The app's tier colours. --gold is a fill; --gold-ink is gold you can read on the page. */
  --gold: #ffd700;
  --gold-ink: #946800;
  --hl: rgba(255, 215, 0, 0.62);
  --purple: #8a45ad;
  --purple-deep: #9b59b6;
  --blue: #2477c9;
  --blue-deep: #3498db;
  --green: #11905a;
  --orange: #c95c16;
  --grey: #8a8fa8;
  --tier-s: #ffd700; --tier-a: #9b59b6; --tier-b: #3498db; --tier-c: #4caf63; --tier-d: #c3c8cc;
  --wordmark: #111827;
  --code-bg: #f0f0f5;
  --code-text: #1d5a32;
  --header-bg: rgba(255, 255, 255, 0.9);
  --tint-gold: rgba(255, 200, 0, 0.1);
  --tint-gold-line: rgba(196, 146, 0, 0.38);
  --tint-green: rgba(17, 144, 90, 0.07);
  --tint-green-line: rgba(17, 144, 90, 0.3);
  --tint-orange: rgba(201, 92, 22, 0.08);
  --tint-orange-line: rgba(201, 92, 22, 0.35);
  --btn-2: #ffffff;
  --shadow: 0 1px 2px rgba(20, 22, 40, 0.05), 0 10px 22px -14px rgba(20, 22, 40, 0.16);
  --shadow-lg: 0 1px 2px rgba(20, 22, 40, 0.05), 0 40px 80px -52px rgba(20, 22, 40, 0.4), 0 12px 24px -22px rgba(20, 22, 40, 0.18);
  /* Soft cards with a hairline and a lip, and keys you could press: the second pass. */
  --ring: rgba(20, 22, 40, 0.08);
  --lip: #e3e4e1;
  --key-top: #ffffff;
  --key-bottom: #f2f2f0;
  --card: 0 1px 0 #ffffff inset, 0 0 0 1px var(--ring), 0 2px 0 var(--lip), 0 14px 28px -22px rgba(20, 22, 40, 0.35);
  --key: 0 1px 0 #ffffff inset, 0 0 0 1px rgba(20, 22, 40, 0.1), 0 3px 0 var(--lip), 0 16px 26px -20px rgba(20, 22, 40, 0.45);
  --hl-band: rgba(255, 215, 0, 0.78);
  --hl-glow: rgba(255, 200, 0, 0.38);
  --win-bar: linear-gradient(#fcfcfb, #f1f1ef);
  --win-ring: rgba(20, 22, 40, 0.1);
  --win-title: #6b6f7b;
  --dots: rgba(20, 22, 40, 0.075);
  /* The tour's stage: white, with the tiers' colours as a faint glow. */
  --stage: radial-gradient(55% 60% at 14% 26%, rgba(255, 215, 0, 0.2), transparent 70%),
    radial-gradient(50% 60% at 90% 80%, rgba(155, 89, 182, 0.13), transparent 70%),
    radial-gradient(45% 50% at 58% 108%, rgba(52, 152, 219, 0.12), transparent 70%),
    linear-gradient(180deg, #ffffff, #fbfaf7);
  --stage-ring: rgba(196, 146, 0, 0.13);
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --display: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius: 16px;
  --wrap: 1120px;
  --gutter: 24px;
  --alpha: #c99a1c; --beta: #d0558f; --preview: #1f9e98;
  color-scheme: light dark;
}
/* The dark look, kept for a later toggle: the site is light only, like the app's Daylight
   (Blake, 2026-10-05: "i dont see the white on the website its dark still"). */
@media not all {
  :root {
    --bg: #0c0b1d;
    --bg-2: #100f25;
    --surface: #15142c;
    --panel: rgba(255, 255, 255, 0.04);
    --panel-2: rgba(255, 255, 255, 0.07);
    --line: rgba(255, 255, 255, 0.1);
    --line-2: rgba(255, 255, 255, 0.18);
    --text: #eef0f6;
    --text-2: #d9dcea;
    --muted: #a9aec4;
    --faint: #9297ad;
    --link: #8fc7ff;
    --link-hover: #b9dcff;
    --gold-ink: #ffd700;
    --hl: rgba(255, 215, 0, 0.3);
    --ring: rgba(255, 255, 255, 0.08);
    --lip: rgba(0, 0, 0, 0.5);
    --key-top: #1e1d3a;
    --key-bottom: #17162f;
    --card: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 0 0 1px var(--ring), 0 2px 0 var(--lip), 0 18px 30px -22px rgba(0, 0, 0, 0.7);
    --key: 0 1px 0 rgba(255, 255, 255, 0.07) inset, 0 0 0 1px rgba(255, 255, 255, 0.1), 0 3px 0 var(--lip), 0 16px 26px -18px rgba(0, 0, 0, 0.8);
    --hl-band: rgba(255, 215, 0, 0.4);
    --hl-glow: rgba(255, 215, 0, 0.3);
    --win-bar: linear-gradient(#25233f, #1c1b34);
    --win-ring: rgba(255, 255, 255, 0.1);
    --win-title: #a9aec4;
    --dots: rgba(255, 255, 255, 0.06);
    --stage: radial-gradient(55% 60% at 14% 26%, rgba(255, 215, 0, 0.12), transparent 70%),
      radial-gradient(50% 60% at 90% 80%, rgba(155, 89, 182, 0.22), transparent 70%),
      radial-gradient(45% 50% at 58% 108%, rgba(52, 152, 219, 0.2), transparent 70%),
      linear-gradient(180deg, #131232, #0b0a1c);
    --stage-ring: rgba(255, 215, 0, 0.1);
    --purple: #b57edc;
    --blue: #4aa8f0;
    --green: #3ee08f;
    --orange: #ff8a3d;
    --tier-d: #8f969c;
    --wordmark: #ffd700;
    --code-bg: #05040f;
    --code-text: #d8f5dc;
    --header-bg: rgba(18, 16, 40, 0.82);
    --tint-gold: rgba(255, 215, 0, 0.07);
    --tint-gold-line: rgba(255, 215, 0, 0.32);
    --tint-green: rgba(62, 224, 143, 0.07);
    --tint-green-line: rgba(62, 224, 143, 0.32);
    --tint-orange: rgba(255, 138, 61, 0.1);
    --tint-orange-line: rgba(255, 138, 61, 0.35);
    --btn-2: rgba(255, 255, 255, 0.06);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.25);
    --shadow-lg: 0 0 0 1px rgba(255, 255, 255, 0.05), 0 40px 80px -40px rgba(0, 0, 0, 0.8);
    --alpha: #e3b341; --beta: #ec7fb4; --preview: #46c9c3;
  }
}

@font-face { font-family: "Manrope"; font-style: normal; font-weight: 800; font-display: swap; src: url("/fonts/manrope-800.woff2") format("woff2"); }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: var(--link-hover); }
:focus-visible { outline: 3px solid var(--blue-deep); outline-offset: 3px; border-radius: 6px; }
img, video { max-width: 100%; height: auto; }
code, kbd { font-family: var(--mono); font-size: 0.9em; }
code { overflow-wrap: anywhere; }
kbd { padding: 1px 7px; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px; background: var(--panel); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 8px 14px; border-radius: 8px; background: var(--gold); color: #1b1400; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; color: #1b1400; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.nowrap { white-space: nowrap; }

/* ---------- header: one floating bar ---------- */
.top { position: sticky; top: 0; z-index: 20; padding: 10px var(--gutter) 0; }
.top-bar {
  max-width: calc(var(--wrap) - 2 * var(--gutter) + 48px); margin: 0 auto;
  display: flex; align-items: center; gap: 16px; padding: 11px 12px 11px 20px;
  background: var(--header-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-radius: 22px; box-shadow: var(--key);
}
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--text); text-decoration: none; font-weight: 750; font-size: 18px; white-space: nowrap; }
.brand:hover { color: var(--text); }
.brand img { border-radius: 22%; }
.top .brand { gap: 12px; }
.top .brand img { width: 40px; height: 40px; }
/* The wordmark, as the app draws it (app/components/Wordmark.js): Manrope 800 in
   gold (a deeper gold on light pages, as the app's light looks do), the i's dot a
   column of six tier dots. */
.wordmark { font-family: var(--display); font-weight: 800; font-size: 28px; letter-spacing: -0.02em; color: var(--wordmark); }
.wordmark.small { font-size: 20px; }
.wordmark.tiny { font-size: 1em; }
.wm-i { position: relative; display: inline-block; line-height: 1; }
/* The flat-line wordmark: the gold i dot, then five dots in a level row to the end
   of the word, shrinking and fading (Blake, 2026-10-05). Starts at the i's centre. */
.wm-dots { position: absolute; left: calc(50% - 0.07em); bottom: 0.715em; overflow: visible; pointer-events: none; }
.top nav { display: flex; gap: 8px; margin-left: auto; }
/* Each link a quiet grey ring; the page you're on fills with a tier colour, in
   the order of the wordmark's dots (S gold, A purple, B blue, C green, D grey),
   its text flipped so it reads on the fill. */
.top nav a {
  --tier: #d9a400; --on-tier: #111827;
  color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 550; white-space: nowrap;
  padding: 5px 13px; border: 1.5px solid #d3d8e0; border-radius: 999px;
}
.top nav a:nth-child(5n + 2) { --tier: #8e44ad; --on-tier: #ffffff; }
.top nav a:nth-child(5n + 3) { --tier: #2f80ed; --on-tier: #ffffff; }
.top nav a:nth-child(5n + 4) { --tier: #2e8b46; --on-tier: #ffffff; }
.top nav a:nth-child(5n + 5) { --tier: #6b7785; --on-tier: #ffffff; }
.top nav a:hover { color: var(--text); border-color: var(--tier); }
.top nav a[aria-current="page"] { color: var(--on-tier); background: var(--tier); border-color: var(--tier); }
.top-get {
  display: inline-flex; align-items: center; padding: 10px 18px; border-radius: 12px; font-size: 15px; font-weight: 700;
  color: #0d0e1a; text-decoration: none; background: linear-gradient(180deg, #ffffff, #f4f4f2);
  box-shadow: 0 1px 0 #ffffff inset, 0 0 0 1px rgba(20, 22, 40, 0.14), 0 2px 0 rgba(20, 22, 40, 0.1), 0 10px 18px -12px rgba(20, 22, 40, 0.35);
}
.top-get:hover { color: #0d0e1a; transform: translateY(-1px); }
.gh { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: var(--text); background: linear-gradient(var(--key-top), var(--key-bottom)); box-shadow: var(--key); }
.gh:hover { color: var(--text); }
.gh svg { width: 20px; height: 20px; }
section[id], figure[id], div[id], article[id] { scroll-margin-top: 100px; }

/* ---------- layout and section heads ---------- */
main { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
section { padding: 64px 0; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.015em; }
h2 { font-size: clamp(27px, 4vw, 38px); margin: 0 0 16px; text-align: center; font-weight: 800; }
h3 { font-size: 19px; margin: 0 0 6px; }
.fine { color: var(--faint); font-size: 14px; }
.center { text-align: center; }
.kicker {
  display: flex; justify-content: center; align-items: center; gap: 10px; margin: 0 0 10px;
  color: var(--gold-ink); font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
}
.kicker .num { font-family: var(--mono); letter-spacing: 0; padding: 2px 8px; border-radius: 6px; border: 1px solid var(--tint-gold-line); background: var(--tint-gold); }
.intro { text-align: center; color: var(--muted); max-width: 700px; margin: 0 auto 32px; }
.pill { display: inline-block; vertical-align: 0.15em; margin-left: 4px; padding: 1px 8px; border-radius: 999px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.02em; color: var(--muted); border: 1px solid var(--line-2); }
.panel { padding: 24px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.panel-head { margin-bottom: 18px; }
.panel-head h3 { font-size: 20px; }
.panel-head .fine { margin: 4px 0 0; max-width: 760px; }
.button { display: inline-block; padding: 10px 18px; border-radius: 12px; border: 0; background: linear-gradient(var(--key-top), var(--key-bottom)); color: var(--text); font-weight: 700; text-decoration: none; box-shadow: var(--key); }
.button:hover { color: var(--text); transform: translateY(-1px); }
.button.small { padding: 7px 14px; font-size: 14.5px; }

/* ---------- download buttons (home and /download/) ---------- */
.cta-row { display: flex; justify-content: center; align-items: stretch; gap: 12px; flex-wrap: wrap; }
.cta-soon { margin-top: 12px; }
.cta-soon .dl { padding-top: 10px; padding-bottom: 10px; }
.cta-main { display: flex; }
.dl {
  display: inline-flex; align-items: center; gap: 13px; justify-content: center; min-width: 232px;
  padding: 13px 22px; border-radius: 16px; text-decoration: none; color: var(--text);
  background: linear-gradient(180deg, var(--key-top), var(--key-bottom)); border: 0; box-shadow: var(--key);
  font: inherit; text-align: left; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease, border-color 0.15s ease;
}
a.dl:hover { transform: translateY(-2px); color: var(--text); }
/* The main download: the same soft white key as the rest, a touch firmer
   (Blake, 2026-10-05: "i dont like the yellow install make it like clip ten soft
   apple look"). Gold stays for the headline's highlight only. */
.dl.primary {
  color: #0d0e1a;
  background: linear-gradient(180deg, #ffffff 0%, #f7f7f5 100%);
  box-shadow: 0 1px 0 #ffffff inset, 0 0 0 1px rgba(20, 22, 40, 0.14), 0 3px 0 rgba(20, 22, 40, 0.12), 0 18px 32px -18px rgba(20, 22, 40, 0.38);
}
a.dl.primary:hover { color: #0d0e1a; box-shadow: 0 1px 0 #ffffff inset, 0 0 0 1px rgba(20, 22, 40, 0.18), 0 4px 0 rgba(20, 22, 40, 0.12), 0 22px 36px -18px rgba(20, 22, 40, 0.42); }
.dl.is-soon, .dl.primary.is-soon { cursor: not-allowed; color: var(--muted); background: var(--panel); border: 1px dashed var(--line-2); box-shadow: none; filter: none; opacity: 0.75; }
.dl-icon { width: 24px; height: 24px; flex: none; }
/* The platform marks on the download keys, as clipten.com does (Blake, 2026-10-05). */
.dl-logo { width: 22px; height: 22px; }
.dl-text { display: inline-flex; flex-direction: column; align-items: flex-start; }
.dl .dl-title { font-weight: 800; font-size: 17px; letter-spacing: -0.01em; line-height: 1.25; }
.dl .dl-sub { font-size: 13px; opacity: 0.75; }
.dl-alt { margin: 16px 0 0; color: var(--faint); font-size: 14.5px; }
.dl-alt a { color: var(--text); text-decoration: underline; text-decoration-color: var(--line-2); }
.dl-alt a:hover { text-decoration-color: var(--gold-ink); }
.dl-platforms { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.dl-platforms a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; font-size: 14.5px; font-weight: 600; color: var(--text); text-decoration: none; border: 1px solid var(--line-2); background: var(--btn-2); }
.not-mac { max-width: 560px; margin: 0 auto 18px; padding: 12px 16px; border-radius: 10px; background: var(--tint-orange); border: 1px solid var(--tint-orange-line); color: var(--text); font-size: 15px; }
.after-dl { max-width: 640px; margin: 22px auto 0; padding: 18px 22px 14px; border-radius: var(--radius); text-align: left; background: var(--tint-green); border: 1px solid var(--tint-green-line); }
.after-dl:focus { outline: none; }
.after-dl h2 { margin: 0 0 10px; font-size: 17px; font-weight: 750; color: var(--text); text-align: left; }
.after-dl ol { margin: 0; padding-left: 22px; color: var(--muted); font-size: 15px; }
.after-dl li { margin: 0 0 8px; }
.after-dl li strong { color: var(--text); }
.after-dl li::marker { color: var(--green); font-weight: 700; }
.after-dl .fine { margin: 6px 0 0; font-size: 14px; }

/* ======================================================================
   The home page
   ====================================================================== */
.home main { max-width: none; padding: 0; }
.home main > section { padding-left: max(var(--gutter), calc((100% - var(--wrap)) / 2)); padding-right: max(var(--gutter), calc((100% - var(--wrap)) / 2)); }
.wrap { max-width: var(--wrap); margin: 0 auto; }
.big-h {
  font-family: var(--display); font-weight: 800; font-size: clamp(32px, 5.2vw, 56px);
  letter-spacing: -0.035em; line-height: 1.04; margin: 0 auto 18px;
}
.home .intro { font-size: clamp(16.5px, 1.8vw, 19px); line-height: 1.55; max-width: 640px; }
.hl { position: relative; z-index: 0; white-space: nowrap; padding: 0 0.04em; }
.hl::after {
  content: ""; position: absolute; z-index: -1; left: -0.02em; right: -0.04em; bottom: 0.04em; height: 0.36em;
  border-radius: 0.1em; background: var(--hl-band); box-shadow: 0 0 0.5em var(--hl-glow), 0 0.12em 0.6em var(--hl-glow);
}
.band { background: var(--bg-2); }
.pill-link {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 15px; border-radius: 12px;
  border: 0; background: linear-gradient(180deg, var(--key-top), var(--key-bottom)); box-shadow: var(--key);
  color: var(--text); font-weight: 650; font-size: 14.5px; text-decoration: none;
  transition: transform 0.15s ease;
}
.pill-link:hover { color: var(--text); transform: translateY(-1px); }

/* ---------- hero ---------- */
.hero { text-align: center; padding-top: 64px; padding-bottom: 72px; }
.badge {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center;
  margin: 0 0 26px; padding: 5px 6px 5px 13px; border-radius: 999px;
  background: linear-gradient(var(--key-top), var(--key-bottom)); box-shadow: var(--card);
  color: var(--text); text-decoration: none; font-size: 13px; font-family: var(--mono);
}
.badge:hover { color: var(--text); border-color: var(--line-2); }
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px var(--tint-green); }
.badge-cta { padding: 2px 10px; border-radius: 999px; background: var(--panel-2); color: var(--text); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-weight: 650; }
.hero h1 {
  font-family: var(--display); font-weight: 800; font-size: clamp(42px, 8.4vw, 92px);
  letter-spacing: -0.045em; line-height: 0.98; margin: 0 auto 22px; max-width: 940px;
}
.lede { font-size: clamp(16.5px, 1.9vw, 19px); color: var(--muted); max-width: 640px; margin: 0 auto 30px; line-height: 1.55; }
.lede strong { color: var(--text); }
.hero .fine { margin: 8px 0 0; }

/* The 1-2-3 strip. */
/* The hero film: no frame, no controls; its four edges fade into the page. */
.video.hero-film { max-width: 1120px; margin: 44px auto 0; }
.video.features-film { margin: 40px auto 0; }
.film-steps { list-style: none; max-width: 760px; margin: 6px auto 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.film-steps li { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 10px 6px 12px; font-weight: 600; font-size: 15px; color: var(--muted); border-bottom: 2px solid var(--line-2); transition: color .3s, border-color .3s; }
.film-steps li[aria-current="step"] { color: var(--text); border-bottom-color: var(--gold-ink); }
.film-steps li[aria-current="step"] .demo-n { background: linear-gradient(#ffe766, #ffd700); color: #1b1400; box-shadow: 0 0 0 1.5px #e0b400, 0 2px 0 #d2a600, 0 0 12px rgba(255, 200, 0, 0.35); }
@media (max-width: 620px) { .film-steps li { font-size: 13px; flex-direction: column; gap: 6px; } }

.video.features-film figcaption { text-align: center; color: var(--muted); font-size: 14px; margin-top: 6px; }
.video.hero-film video { display: block; width: 100%; height: auto; background: transparent; border: 0; border-radius: 0; box-shadow: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 10%, #000 90%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 12%, #000 88%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 10%, #000 90%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 12%, #000 88%, transparent 100%);
  mask-composite: intersect; }
.demo { max-width: 760px; margin: 56px auto 0; }
.demo-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 14px; }
.demo-tabs button {
  display: flex; align-items: center; gap: 9px; padding: 0 0 10px; border: 0; border-bottom: 2px solid var(--line);
  background: none; color: var(--faint); font: inherit; font-size: 15px; font-weight: 650; text-align: left; cursor: pointer;
}
.demo-tabs button[aria-selected="true"] { color: var(--text); border-bottom-color: var(--gold-ink); }
.demo-n { display: inline-grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 7px; font-size: 12.5px; font-family: var(--mono); background: linear-gradient(var(--key-top), var(--key-bottom)); box-shadow: 0 1px 0 var(--key-top) inset, 0 0 0 1px var(--line-2), 0 2px 0 var(--lip); }
.demo-tabs button[aria-selected="true"] .demo-n { background: linear-gradient(#ffe766, #ffd700); color: #1b1400; box-shadow: 0 0 0 1.5px #e0b400, 0 2px 0 #d2a600, 0 0 12px rgba(255, 200, 0, 0.35); }
.demo-stage {
  position: relative; border-radius: 22px; padding: 8px; background-color: var(--surface);
  background-image: radial-gradient(circle, var(--dots) 1px, transparent 1.4px); background-size: 18px 18px;
  box-shadow: var(--card), var(--shadow-lg);
}
.demo-map { display: block; width: 100%; height: auto; }
.demo-map .guides circle { fill: none; stroke: var(--line); stroke-width: 1; stroke-dasharray: 3 5; }
.demo-map .edges1 line { stroke: var(--line-2); stroke-width: 1; }
.demo-map .edges2 line { stroke: var(--line); stroke-width: 0.8; }
.demo-map circle.t-s, .demo-key .t-s::before { fill: var(--tier-s); background: var(--tier-s); }
.demo-map circle.t-a, .demo-key .t-a::before { fill: var(--tier-a); background: var(--tier-a); }
.demo-map circle.t-b, .demo-key .t-b::before { fill: var(--tier-b); background: var(--tier-b); }
.demo-map circle.t-c, .demo-key .t-c::before { fill: var(--tier-c); background: var(--tier-c); }
.demo-map circle.t-d, .demo-key .t-d::before { fill: var(--tier-d); background: var(--tier-d); }
.demo-map .d1 circle, .demo-map .d2 circle { stroke: var(--surface); stroke-width: 1.2; }
.demo-map .d1 .bridge { stroke: var(--green); stroke-width: 2.4; }
.demo-map .you circle { fill: var(--surface); stroke: var(--text); stroke-width: 3; }
.demo-map .you text { font: 700 13px -apple-system, BlinkMacSystemFont, sans-serif; fill: var(--text); }
.demo-map .path { fill: none; stroke: var(--gold-ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100; stroke-dashoffset: 100; opacity: 0; }
.demo-map .target-ring { fill: none; stroke: var(--gold-ink); stroke-width: 2; opacity: 0; }
.demo-map .d1 circle, .demo-map .d2 circle, .demo-map .edges1, .demo-map .edges2 line { transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); transform-box: fill-box; transform-origin: center; }
.demo-key { position: absolute; right: 16px; bottom: 12px; display: flex; gap: 10px; margin: 0; padding: 0; list-style: none; font: 600 12px var(--mono); color: var(--faint); }
.demo-key li { display: inline-flex; align-items: center; gap: 5px; }
.demo-key li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; }
/* Step 1: only your connections. Step 2: their circles. Step 3: one way in, lit. */
.demo[data-step="1"] .d2 circle, .demo[data-step="1"] .edges2 line { opacity: 0; transform: scale(0.3); }
.demo[data-step="1"] .d1 .bridge { stroke: var(--surface); stroke-width: 1.2; }
.demo[data-step="3"] .d2 circle:not(.target), .demo[data-step="3"] .edges2 line { opacity: 0.28; }
.demo[data-step="3"] .d1 circle:not(.bridge) { opacity: 0.45; }
.demo[data-step="3"] .path { opacity: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1.2s ease 0.2s, opacity 0.2s; }
.demo[data-step="3"] .target-ring { opacity: 1; transition: opacity 0.4s ease 1.2s; }
.demo .d2 circle:nth-child(3n+1), .demo .edges2 line:nth-child(3n+1) { transition-delay: 0.08s; }
.demo .d2 circle:nth-child(3n+2), .demo .edges2 line:nth-child(3n+2) { transition-delay: 0.18s; }
.demo-captions { min-height: 3.2em; margin: 18px auto 0; max-width: 620px; }
.demo-captions p { margin: 0; color: var(--muted); font-size: 16.5px; }
.demo-captions strong { color: var(--text); }
.js .demo-captions p { display: none; }
.js .demo[data-step="1"] .demo-captions p[data-step="1"],
.js .demo[data-step="2"] .demo-captions p[data-step="2"],
.js .demo[data-step="3"] .demo-captions p[data-step="3"] { display: block; }
.demo-proof { margin: 10px auto 22px; color: var(--faint); font-size: 14.5px; }
.demo-proof .mono { color: var(--text); font-weight: 700; }
.demo-proof .gold { color: var(--gold-ink); }
.trust { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 34px; margin: 48px 0 0; padding: 0; list-style: none; font-weight: 600; font-size: 14.5px; }
.trust li { display: inline-flex; align-items: center; gap: 9px; }
.trust svg { width: 18px; height: 18px; color: var(--gold-ink); }

/* ---------- a new way: four cards ---------- */
.band .big-h, .for .big-h, .compare .big-h, .extras .big-h, .close .big-h, .faq-home .big-h { text-align: center; }
#features { padding-top: 96px; padding-bottom: 96px; }
.way-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 40px 0 56px; }
.way { display: flex; flex-direction: column; padding: 16px 16px 18px; border-radius: 18px; background: var(--surface); box-shadow: var(--card); }
.way-art { display: block; width: 100%; height: 76px; margin: 0 0 14px; border-radius: 12px; background: var(--bg-2); box-shadow: 0 0 0 1px var(--ring) inset; padding: 6px; }
.way h3 { font-size: 17px; margin: 0 0 6px; letter-spacing: -0.01em; }
.way p { margin: 0 0 14px; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.way .more, .for-card .more { margin-top: auto; font-weight: 650; font-size: 14px; color: var(--gold-ink); text-decoration: none; }
.way .more:hover { text-decoration: underline; }
.way-art .ring { fill: none; stroke: var(--line-2); stroke-width: 1.2; }
.way-art .sweep { fill: var(--tint-green-line); opacity: 0.55; }
.way-art .dot.t-s, .way-art .tiers .t-s { fill: var(--tier-s); }
.way-art .dot.t-a, .way-art .tiers .t-a { fill: var(--tier-a); }
.way-art .dot.t-b, .way-art .tiers .t-b { fill: var(--tier-b); }
.way-art .dot.t-c, .way-art .tiers .t-c { fill: var(--tier-c); }
.way-art .tiers .t-d { fill: var(--tier-d); }
.way-art .you-dot { fill: var(--surface); stroke: var(--text); stroke-width: 2; }
.way-art .link { stroke: var(--green); stroke-width: 2; stroke-dasharray: 4 3; }
.way-art .cloud circle { fill: var(--tier-b); opacity: 0.7; }
.way-art .track { stroke: var(--line-2); stroke-width: 5; stroke-linecap: round; }
.way-art .track-on { stroke: var(--gold); stroke-width: 5; stroke-linecap: round; }
.way-art .thumb { fill: var(--surface); stroke: var(--text); stroke-width: 2.5; }
.way-art .tick { font: 600 10px var(--mono); fill: var(--faint); }
.way-art .tick.end { text-anchor: end; }
.frame { margin: 0; }
.frame figcaption { margin-top: 16px; text-align: center; color: var(--faint); font-size: 14px; }

/* A light Mac window around each screenshot: the bar is drawn here, the
   picture inside is the app (light pictures on light pages, dark on dark). */
.win { position: relative; overflow: hidden; border-radius: 12px; background: var(--surface); box-shadow: 0 0 0 1px var(--win-ring), 0 34px 64px -36px rgba(20, 22, 40, 0.5), 0 10px 22px -16px rgba(20, 22, 40, 0.22); }
.win-bar { position: relative; display: flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px; background: var(--win-bar); border-bottom: 1px solid var(--line); }
.win-bar i { flex: none; width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.14); }
.win-bar i:nth-child(2) { background: #febc2e; }
.win-bar i:nth-child(3) { background: #28c840; }
.win-bar span { position: absolute; left: 76px; right: 76px; text-align: center; font-size: 12.5px; font-weight: 600; color: var(--win-title); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win picture, .win img { display: block; width: 100%; height: auto; }
.win img { border: 0; border-radius: 0; box-shadow: none; }

/* ---------- made for you ---------- */
.for { padding-top: 104px; padding-bottom: 72px; }
.for .intro strong { color: var(--text); }
.for-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.for-card { border-radius: 20px; background: var(--surface); box-shadow: var(--card); overflow: hidden; display: flex; flex-direction: column; }
.for-shot {
  padding: 20px 20px 0; background-color: var(--bg-2);
  background-image: radial-gradient(circle, var(--dots) 1px, transparent 1.4px); background-size: 16px 16px;
  box-shadow: 0 -1px 0 var(--line) inset;
}
.for-shot .win { border-radius: 10px 10px 0 0; box-shadow: 0 0 0 1px var(--win-ring), 0 -6px 26px -14px rgba(20, 22, 40, 0.3); }
.for-text { padding: 18px 22px 22px; }
.for-who { margin: 0 0 6px; font-size: 12px; font-weight: 750; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-ink); }
.for-text h3 { font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; margin: 0 0 6px; }
.for-text p:last-child { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }

/* ---------- the scanner ---------- */
#scanning { padding-top: 96px; padding-bottom: 96px; }
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.split-text .kicker { justify-content: flex-start; }
.big-h.left, h2.left { text-align: left; }
#scan-h { font-family: var(--display); font-weight: 800; font-size: clamp(32px, 4.4vw, 50px); letter-spacing: -0.035em; line-height: 1.04; }
.split-text > p { color: var(--muted); font-size: 17px; }
.checks { list-style: none; margin: 18px 0; padding: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; color: var(--muted); font-size: 16px; line-height: 1.5; }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 19px; height: 19px; border-radius: 50%; background: var(--tint-green); border: 1.5px solid var(--green); }
.checks li::after { content: ""; position: absolute; left: 6.5px; top: 7px; width: 5px; height: 8px; border: solid var(--green); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.checks strong { color: var(--text); }
.stat-line { font-size: 15px !important; }
.stat-line .mono { color: var(--text); font-weight: 700; }

/* ---------- what you already have ---------- */
.compare { padding-top: 104px; padding-bottom: 72px; }
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.vs-card { padding: 24px 26px; border-radius: 20px; background: var(--bg-2); box-shadow: 0 0 0 1px var(--ring); }
.vs-card.us { background: var(--surface); box-shadow: 0 1px 0 var(--key-top) inset, 0 0 0 1px var(--tint-gold-line), 0 2px 0 var(--lip), 0 0 0 5px var(--tint-gold), var(--shadow-lg); }
.vs-card h3 { font-size: 20px; margin: 0 0 14px; }
.vs-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.vs-card li { position: relative; padding-left: 26px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.vs-card li::before { content: "–"; position: absolute; left: 4px; color: var(--faint); font-weight: 700; }
.vs-card.us li { color: var(--text); }
.vs-card.us li::before { content: "✓"; color: var(--green); }
.full-compare { margin-top: 28px; }
.full-compare summary { display: block; width: max-content; max-width: 100%; margin: 0 auto 18px; cursor: pointer; padding: 8px 15px; border-radius: 12px; background: linear-gradient(var(--key-top), var(--key-bottom)); font-weight: 650; font-size: 14.5px; box-shadow: var(--key); }
.full-compare summary::-webkit-details-marker { display: none; }
.full-compare summary::after { content: " +"; color: var(--faint); }
.full-compare[open] summary::after { content: " –"; }

/* ---------- questions ---------- */
.faq-home { padding-top: 72px; padding-bottom: 72px; }
.faq-home > .big-h, .qa, .more-q { max-width: 800px; margin-left: auto; margin-right: auto; }
.qa { border-top: 1px solid var(--line); margin-top: 32px; }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary { position: relative; display: block; padding: 20px 40px 20px 0; cursor: pointer; font-weight: 600; font-size: 17px; letter-spacing: -0.01em; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 400; color: var(--text); }
.qa details[open] summary::after { content: "–"; }
.qa details p { margin: 0 0 22px; color: var(--muted); max-width: 720px; font-size: 15.5px; }
.more-q { margin-top: 20px; }

/* ---------- watch ---------- */
.watch { padding-top: 72px; padding-bottom: 88px; border-top: 1px solid var(--line); }
.watch .kicker { color: var(--gold-ink); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px var(--tint-gold), 0 0 10px rgba(255, 200, 0, 0.6); }
.tour { max-width: 980px; margin: 0 auto; }
.tour-screen {
  position: relative; isolation: isolate; overflow: hidden; border-radius: 22px; box-shadow: 0 0 0 1px var(--ring), var(--shadow-lg);
  background: var(--stage);
  padding: 30px 8% 40px;
}
.tour-screen::before {
  content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 50% 62%, transparent 0 31%, var(--stage-ring) 31.1% 31.3%, transparent 31.4% 52%, var(--stage-ring) 52.1% 52.3%, transparent 52.4%);
}
.tour-title { margin: 0 0 24px; text-align: center; color: var(--text); font-family: var(--display); font-weight: 800; font-size: clamp(22px, 3.2vw, 34px); letter-spacing: -0.03em; line-height: 1.1; }
.tour-frames { position: relative; }
.tour-pics { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.tour-pics picture { display: contents; }
.win .tour-pics img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transition: opacity 0.7s ease, transform 8s linear; }
.win .tour-pics img.on { opacity: 1; }
.tour.playing .tour-pics img.on { transform: scale(1.04); }
.tour-play {
  position: absolute; left: 18px; bottom: 22px; z-index: 2; display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 16px 8px 8px; border-radius: 999px; border: 0; cursor: pointer;
  background: rgba(18, 18, 28, 0.88); color: #fff; font: inherit; font-weight: 650; font-size: 15px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 10px 24px -8px rgba(0, 0, 0, 0.45);
}
.tour-play .mono { opacity: 0.7; font-size: 13.5px; }
.tour-icon { position: relative; width: 30px; height: 30px; border-radius: 50%; background: #fff; }
.tour-icon::after { content: ""; position: absolute; left: 11px; top: 8px; border-style: solid; border-width: 7px 0 7px 11px; border-color: transparent transparent transparent #12102a; }
.tour.playing .tour-icon::after { left: 10px; top: 9px; width: 10px; height: 12px; border: solid #12102a; border-width: 0 3.5px; }
.tour-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--line); }
.tour-progress span { display: block; height: 100%; width: 0; background: var(--gold); }
.chapters { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.chapters button {
  width: 100%; height: 100%; padding: 10px 2px 0; border: 0; border-top: 2px solid var(--line); background: none; cursor: pointer;
  text-align: left; font: inherit; font-size: 14px; font-weight: 600; color: var(--muted); line-height: 1.35;
}
.chapters button .mono { display: block; font-size: 12.5px; font-weight: 600; color: var(--faint); }
.chapters button.on { color: var(--text); border-top-color: var(--gold-ink); }
.watch-links { display: flex; justify-content: center; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 28px !important; font-weight: 600; }

/* ---------- everything else ---------- */
.extras { padding-top: 88px; padding-bottom: 72px; border-top: 1px solid var(--line); }
.tool-grid { list-style: none; margin: 36px auto 28px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.tool-grid a { display: flex; gap: 13px; height: 100%; padding: 15px; border-radius: 16px; background: var(--surface); box-shadow: var(--card); color: var(--text); text-decoration: none; transition: transform 0.15s ease; }
.tool-grid a:hover { color: var(--text); transform: translateY(-1px); }
.tool-ic { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 11px; background: linear-gradient(var(--key-top), var(--key-bottom)); box-shadow: 0 1px 0 var(--key-top) inset, 0 0 0 1px var(--ring), 0 2px 0 var(--lip); color: var(--text); }
.tool-ic svg { width: 21px; height: 21px; }
.tool-grid li:nth-child(4n+1) .tool-ic { color: var(--gold-ink); }
.tool-grid li:nth-child(4n+2) .tool-ic { color: var(--purple); }
.tool-grid li:nth-child(4n+3) .tool-ic { color: var(--blue); }
.tool-grid li:nth-child(4n+4) .tool-ic { color: var(--green); }
.tool-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tool-t strong { font-size: 15px; line-height: 1.3; }
.tool-t span { color: var(--muted); font-size: 13px; line-height: 1.45; }

/* ---------- news on the home page ---------- */
.home .news { padding-top: 56px; padding-bottom: 56px; border-top: 1px solid var(--line); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px !important; }
.section-head h2 { text-align: left; margin: 0; font-size: clamp(22px, 2.6vw, 28px); }
.section-head a { font-weight: 600; }
.home .news .posts { margin-bottom: 40px; }
.home .news .posts:last-child { margin-bottom: 0; }

/* ---------- the close ---------- */
.close { text-align: center; padding-top: 96px; padding-bottom: 96px; background: var(--bg-2); }
.six { display: flex; justify-content: center; gap: 12px; list-style: none; margin: 0 auto 36px !important; padding: 0; }
.six li {
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px;
  background: linear-gradient(var(--key-top), var(--key-bottom)); box-shadow: var(--key);
  font: 650 18px -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--faint);
}
.six li.on { color: #1b1400; background: linear-gradient(#ffe766, #ffd700 60%, #f6c900); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset, 0 0 0 1.5px #e0b400, 0 3px 0 #d2a600, 0 0 18px rgba(255, 200, 0, 0.45); }
.close .intro { margin-bottom: 28px; }
.six.six-dots { gap: 22px; align-items: center; height: 54px; }
.six.six-dots li { width: 30px; height: 30px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 0 var(--c); font-size: 0;
  animation: six-ripple 2.4s ease-in-out infinite; }
.six.six-dots li.ring { background: transparent; box-shadow: inset 0 0 0 8px var(--c); }
.six.six-dots li:nth-child(1) { --c: #ffd700; animation-delay: 0s; }
.six.six-dots li:nth-child(2) { --c: #9b59b6; animation-delay: .14s; }
.six.six-dots li:nth-child(3) { --c: #3498db; animation-delay: .28s; }
.six.six-dots li:nth-child(4) { --c: #4caf63; animation-delay: .42s; }
.six.six-dots li:nth-child(5) { --c: #a4afba; animation-delay: .56s; }
.six.six-dots li:nth-child(6) { --c: #ffd700; animation-delay: .70s; }
@keyframes six-ripple {
  0%, 55%, 100% { transform: translateY(0) scale(1); filter: none; }
  18% { transform: translateY(-10px) scale(1.18); filter: drop-shadow(0 0 10px var(--c)); }
  34% { transform: translateY(0) scale(1); }
}
@media (prefers-reduced-motion: reduce) { .six.six-dots li { animation: none; } }
@media (max-width: 620px) { .six.six-dots { gap: 14px; } .six.six-dots li { width: 22px; height: 22px; } .six.six-dots li.ring { box-shadow: inset 0 0 0 6px var(--c); } }

.points { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 28px; list-style: none; margin: 26px auto 18px !important; padding: 0; font-weight: 650; font-size: 15px; }
.points li { display: inline-flex; align-items: center; gap: 8px; }
.points li::before { content: ""; width: 13px; height: 13px; border-radius: 50%; border: 2px solid var(--gold-ink); }
.close .fine { margin: 0 auto; }

@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
  .js .reveal.seen { opacity: 1; transform: none; }
}

/* ======================================================================
   The other pages
   ====================================================================== */

/* Charts: generated SVG bars that stretch to their box (scripts/site-news.mjs). */
.numbers { padding: 40px 0 24px; }
.stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; border-radius: 18px; overflow: hidden; background: var(--line); border: 1px solid var(--line); }
.stats li { display: flex; flex-direction: column; gap: 2px; padding: 22px 18px; background: var(--surface); min-width: 0; }
.stat-n { font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: clamp(30px, 3.4vw, 40px); font-weight: 700; line-height: 1.1; letter-spacing: -0.03em; color: var(--text); }
.stats li:nth-child(1) .stat-n { color: var(--gold-ink); }
.stat-l { font-weight: 650; font-size: 15px; }
.stat-s { color: var(--faint); font-size: 13px; line-height: 1.4; }
.chart-title { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.chart .fine { margin: 10px 0 0; }
svg.stack { display: block; width: 100%; height: 26px; border-radius: 6px; overflow: hidden; }
.bars-box { position: relative; padding-bottom: 1px; border-bottom: 1px solid var(--line-2); }
svg.bars { display: block; width: 100%; height: 130px; }
.bars-box.tall svg.bars { height: 170px; }
svg.bars g:hover rect { filter: brightness(1.2); }
.bar-labels { list-style: none; display: flex; margin: 6px 0 0; padding: 0; font-family: var(--mono); font-size: 12px; color: var(--faint); }
.bar-labels li { flex: 1 1 0; min-width: 0; display: flex; justify-content: center; white-space: nowrap; }
.releases-chart .bar-labels li:first-child { justify-content: flex-start; }
.releases-chart .bar-labels li:last-child { justify-content: flex-end; }
.k-one { fill: var(--gold); --k: var(--gold); }
.k-two { fill: var(--purple); --k: var(--purple); }
.k-more { fill: var(--blue); --k: var(--blue); }
.k-top { fill: var(--gold); }
.k-bridge { fill: var(--green); }
.k-added { fill: var(--green); --k: var(--green); }
.k-changed { fill: var(--blue); --k: var(--blue); }
.k-fixed { fill: var(--purple); --k: var(--purple); }
.k-removed { fill: var(--grey); --k: var(--grey); }
.k-security { fill: var(--orange); --k: var(--orange); }
.k-deprecated { fill: var(--grey); --k: var(--grey); }
.k-alpha { fill: var(--alpha); --k: var(--alpha); }
.k-beta { fill: var(--beta); --k: var(--beta); }
.k-preview { fill: var(--preview); --k: var(--preview); }
svg.bars .hit { fill: transparent; }
svg.bars a { cursor: pointer; }
.stage-band { list-style: none; display: flex; margin: 6px 0 0; padding: 0; font-size: 11.5px; font-weight: 700; letter-spacing: 0.02em; }
.stage-band li { flex: 1 1 0; min-width: 0; padding: 0; white-space: nowrap; }
.stage-band li[class] { border-top: 3px solid var(--s); color: var(--s); }
.stage-band li.first { margin-left: 2px; }
.stage-band li span { display: block; padding: 3px 0 0; }
.stage-band .short { display: none; }
.s-alpha { --s: var(--alpha); }
.s-beta { --s: var(--beta); }
.s-preview { --s: var(--preview); }
.s-release { --s: var(--faint); }
.legend.stages { margin-top: 6px; }
.legend.stages .note { color: var(--faint); font-size: 12.5px; }
.legend.stages .note::before { content: none; }
.legend { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; font-size: 14.5px; color: var(--muted); }
.legend.inline { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13.5px; }
.legend li { display: flex; align-items: baseline; gap: 8px; }
.legend li::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 3px; background: var(--k); transform: translateY(1px); }
.legend b { color: var(--text); font-family: var(--mono); font-variant-numeric: tabular-nums; }

figure { margin: 0 0 28px; }
figure img { display: block; border-radius: 12px; border: 1px solid var(--line); }
figcaption { color: var(--muted); font-size: 15px; margin-top: 10px; text-align: center; }
figcaption strong { color: var(--text); }
.caption { color: var(--faint); font-size: 13px; margin: 0; }
.caption.center { text-align: center; margin-top: 4px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cards article { padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.cards p { margin: 0; color: var(--muted); font-size: 15.5px; }
.cards .risk { margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.cards .risk.none { color: var(--green); }
.cards .risk.some { color: var(--orange); }

/* Tables (the comparison, and tables in posts). */
.table-wrap { border-radius: 16px; border: 1px solid var(--line); overflow: hidden; background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
th, td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
thead th { font-size: 13px; letter-spacing: 0.02em; color: var(--muted); background: var(--panel); font-weight: 650; }
thead th.us { color: var(--gold-ink); }
tbody th { font-weight: 600; color: var(--text); width: 24%; }
td { color: var(--muted); }
td.us { background: var(--tint-gold); color: var(--text); }
td::before { display: inline-block; width: 1.3em; font-weight: 800; }
td.yes::before { content: "✓"; color: var(--green); }
td.partly::before { content: "◐"; color: var(--gold-ink); opacity: 0.85; }
td.no::before { content: "–"; color: var(--grey); }

/* /download/ */
.os-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 18px; }
.os { display: flex; flex-direction: column; gap: 12px; padding: 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); min-width: 0; }
#os-mac { border-color: var(--tint-gold-line); }
.os header { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.os h3 { margin: 0; font-size: 21px; }
.os-icon { width: 26px; height: 26px; color: var(--muted); }
.os-req { margin-left: auto; font-size: 12.5px; color: var(--faint); font-family: var(--mono); }
.os-req.soon { padding: 2px 9px; border-radius: 999px; border: 1px dashed var(--line-2); color: var(--muted); font-family: inherit; font-weight: 600; }
.os .dl { min-width: 0; width: 100%; justify-content: flex-start; padding: 12px 18px; }
.os .dl .dl-title { font-size: 17px; }
.os p { margin: 0; }
.os .fine { font-size: 13.5px; }
.os-links { font-size: 14px; color: var(--faint); }
.os-note { padding-top: 12px; border-top: 1px solid var(--line); }
.os-note > p:first-child { color: var(--muted); font-size: 14.5px; }
.os-note strong { color: var(--text); }
.start { padding-bottom: 8px; }
.step { display: inline-grid; place-items: center; width: 1.6em; height: 1.6em; margin-right: 0.35em; border-radius: 50%; background: var(--gold); color: #1b1400; font-size: 0.62em; font-weight: 800; vertical-align: 0.18em; }
.roadmap { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 8px 0 0; }
.roadmap a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px 8px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text); text-decoration: none; font-size: 15px; }
.roadmap a:hover { border-color: var(--tint-gold-line); }
.roadmap .step { font-size: 12px; width: 22px; height: 22px; margin: 0; vertical-align: 0; }
.which { max-width: 760px; margin: 0 auto 24px; padding: 14px 18px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); text-align: center; color: var(--muted); }
.which strong { color: var(--text); }
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 0; margin: 0 0 24px; }
.steps li { counter-increment: step; position: relative; padding: 22px 20px 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.steps li::before { content: counter(step); position: absolute; top: -14px; left: 18px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 15px; color: #1b1400; background: var(--gold); }
.steps p { margin: 0; color: var(--muted); font-size: 15.5px; }
.steps strong { color: var(--text); }
.terminal { max-width: 860px; margin: 0 auto; padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.terminal p { color: var(--muted); margin: 6px 0; }
.cmd { display: flex; gap: 10px; align-items: stretch; margin: 12px 0; }
.cmd code { flex: 1; min-width: 0; white-space: normal; overflow-wrap: anywhere; padding: 12px 14px; border-radius: 10px; background: var(--code-bg); border: 1px solid var(--line); color: var(--code-text); }
.os .cmd { margin: 10px 0; }
.copy { flex: none; padding: 0 18px; border-radius: 10px; border: 1px solid var(--line); cursor: pointer; background: var(--panel-2); color: var(--text); font: inherit; font-weight: 600; font-size: 15px; }
.copy:hover { background: var(--line); }
/* The tutorial videos. */
.video { max-width: 860px; margin: 0 auto 32px; }
.video video { display: block; width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--line-2); background: #05040f; box-shadow: var(--shadow-lg); }
.ways .video { margin: 32px auto 0; }
.warning { max-width: 860px; margin: 22px auto 0; padding: 14px 18px; border-radius: 10px; background: var(--tint-gold); border: 1px solid var(--tint-gold-line); color: var(--muted); font-size: 15px; }
.warning strong { color: var(--text); }
.privacy-list ul { max-width: 900px; margin: 0 auto; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.privacy-list li { padding: 16px 18px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); }
.privacy-list li strong { color: var(--text); }

/* Posts and release cards. */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 18px; }
.post { display: flex; flex-direction: column; gap: 8px; padding: 20px; border-radius: 18px; background: var(--surface); box-shadow: var(--card); min-width: 0; }
.post.featured { grid-column: 1 / -1; padding: 26px; border-color: var(--tint-green-line); }
.post p { margin: 0; }
.post-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 13.5px; color: var(--faint); }
.tag { padding: 1px 8px; border-radius: 6px; font-family: var(--mono); font-size: 12.5px; color: var(--text); background: var(--panel-2); border: 1px solid var(--line); }
.tag.latest { font-family: inherit; font-weight: 700; color: #04200f; background: #3ee08f; border-color: transparent; }
.post h3 { margin: 0; font-size: 18px; }
.post.featured h3 { font-size: clamp(21px, 2.6vw, 26px); }
.post h3 a { color: var(--text); text-decoration: none; }
.post h3 a:hover { color: var(--link); }
.post-more { color: var(--muted); font-size: 14.5px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 0; padding: 0; }
.chips li { display: inline-flex; align-items: center; gap: 6px; padding: 1px 9px; border-radius: 999px; font-size: 12.5px; color: var(--muted); border: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.chips li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--k); }
.post .more { margin-top: auto; padding-top: 4px; font-size: 14.5px; font-weight: 600; }
.latest-post { border-color: var(--tint-green-line); }
.releases-chart { margin-bottom: 18px; }
.more-links { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 10px 22px; margin: 0; }

/* Docs, FAQ, community. */
.doc-grid { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.community .doc-grid { grid-template-columns: repeat(4, 1fr); }
.doc-grid > li > a { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 16px 18px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--text); }
.doc-grid > li > a:hover { border-color: var(--tint-gold-line); color: var(--text); }
.doc-grid > li > a strong::after { content: " →"; color: var(--gold-ink); }
.doc-grid span { color: var(--muted); font-size: 14.5px; }
.doc-grid.plain > li > div { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 16px 18px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.doc-grid.plain span { color: var(--muted); font-size: 14.5px; }
.faq-h { text-align: center; font-size: 22px; margin: 16px 0 14px; }
.faq dl { max-width: 800px; margin: 0 auto; padding: 0; display: grid; gap: 10px; }
.faq dl > div { padding: 14px 18px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); }
.faq dt { font-weight: 700; color: var(--text); margin: 0 0 6px; }
.faq dd { margin: 0; color: var(--muted); }
.licence { max-width: 760px; margin: 0 auto; padding: 18px 22px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); text-align: center; }
.licence p { margin: 0; color: var(--muted); }
.again { text-align: center; padding: 56px 0 72px; }

/* Inner pages. */
main.page { padding-bottom: 40px; }
.page-hero { text-align: center; padding: 72px 0 28px; }
.page-hero h1 { font-family: var(--display); font-weight: 800; font-size: clamp(36px, 6vw, 60px); letter-spacing: -0.04em; line-height: 1.04; margin: 0 auto 16px; max-width: 900px; }
.page-hero .lede { margin-bottom: 12px; }
.page-hero .kicker a { color: inherit; text-decoration: none; }
.on-page { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 8px auto 12px; }
.on-page a { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text); text-decoration: none; font-size: 14.5px; }
.on-page a:hover { border-color: var(--tint-gold-line); }
.narrow { max-width: 760px; margin: 0 auto; }
.prose { color: var(--text-2); font-size: 17.5px; line-height: 1.7; }
.prose > :first-child { margin-top: 0; }
.prose h2, .prose h3, .prose h4 { text-align: left; color: var(--text); margin: 2em 0 0.5em; }
.prose h2 { font-size: 28px; }
.prose h3 { font-size: 21px; }
.prose p, .prose ul, .prose ol, .prose blockquote, .prose pre, .prose figure { margin: 0 0 1.1em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: 0.3em 0; }
.prose li > ul, .prose li > ol { margin: 0.3em 0; }
.prose li > p { margin: 0.5em 0 0; }
.prose strong { color: var(--text); }
.prose blockquote { margin-left: 0; padding: 14px 18px; border-left: 3px solid var(--gold); background: var(--tint-gold); border-radius: 0 10px 10px 0; }
.prose blockquote p { margin: 0; }
.prose pre { padding: 14px 16px; border-radius: 10px; background: var(--code-bg); border: 1px solid var(--line); overflow-x: auto; }
.prose code { padding: 1px 5px; border-radius: 5px; background: var(--panel-2); }
.prose pre code { padding: 0; background: none; }
.prose img { display: block; border-radius: 12px; border: 1px solid var(--line-2); }
.prose figcaption { font-size: 14px; }
.prose-table { margin: 0 0 1.2em; overflow-x: auto; }
.prose-table table { font-size: 15px; }
.requirements .prose-table, .requirements .table-wrap { max-width: 900px; margin: 0 auto; }
.windows-soon .intro, .next-step .intro { margin-bottom: 0; }
.next-step { text-align: center; }
.article { max-width: 760px; margin: 0 auto; }
.article-head { padding-bottom: 36px; }
.article-head .lede { font-size: clamp(16.5px, 1.9vw, 19px); }
.post-meta.center { justify-content: center; }
.article-foot { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.post-nav a { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--text); text-decoration: none; font-weight: 600; }
.post-nav a span { font-size: 12.5px; color: var(--faint); font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; }
.post-nav a.newer { text-align: right; }
.post-nav a:hover { border-color: var(--tint-gold-line); }
.more-posts { padding-top: 48px; }
.more-posts h2 { font-size: 24px; }
.post-list { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.post-row { padding: 22px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.post-row h2 { text-align: left; font-size: clamp(21px, 2.6vw, 26px); margin: 8px 0; }
.post-row h2 a { color: var(--text); text-decoration: none; }
.post-row h2 a:hover { color: var(--link); }
.post-row p { color: var(--muted); margin: 0 0 10px; }
.post-row .more { font-weight: 600; }
.feed-line { text-align: center; color: var(--faint); font-size: 14.5px; margin: 28px 0 0; }

/* /releases/ */
.release-toc { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 10px; margin: 26px auto 8px; max-width: 900px; font-family: var(--mono); font-size: 13.5px; }
.release-toc span { font-family: inherit; color: var(--faint); }
.release-toc .stage-link { color: var(--s); }
.releases { max-width: 860px; margin: 0 auto; }
.release { padding: 36px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 100px; }
.release header h2 { text-align: left; font-family: var(--mono); font-size: 28px; margin: 0 0 6px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.release header h2 a { color: var(--text); text-decoration: none; }
.release header h2 .tag { font-size: 12px; }
.release header .chips { margin: 8px 0; }
.release-links { margin: 0 0 14px; font-size: 14.5px; }
.release.beta header h2 a { color: var(--muted); }
.release-notes { font-size: 16px; }
.release-notes h3 { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-ink); margin: 1.4em 0 0.5em; }
.archive-shot { max-width: 560px; margin: 18px auto 0; }
.archive-shot img { display: block; width: 100%; border-radius: 12px; border: 1px solid var(--line-2); }
.before { margin-top: 48px; padding: 8px 24px 12px; border-radius: 18px; border: 1px dashed var(--line-2); background: var(--panel); }
.before > h2 { text-align: left; font-size: 24px; margin: 18px 0 4px; }
.before .release:last-child { border-bottom: 0; }
.tag.stage { font-family: inherit; font-weight: 700; color: #1b0f24; background: var(--s, var(--purple)); border-color: transparent; }

/* /roadmap/ and /about/ */
.roadmap-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 12px 0 18px; }
.road { padding: 24px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.road h2 { text-align: left; font-size: 24px; display: flex; align-items: center; gap: 10px; }
.road-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c, var(--gold)); box-shadow: 0 0 0 3px var(--panel-2); }
.road.next { --c: var(--gold); border-color: var(--tint-gold-line); }
.road.exploring { --c: var(--blue); }
.road.shipped { --c: var(--green); }
.road.history { --c: var(--purple); margin-top: 18px; }
.road-sub { color: var(--muted); margin: -6px 0 10px; }
.road ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.road li { display: flex; flex-direction: column; gap: 2px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.road li:last-child { border-bottom: 0; padding-bottom: 0; }
.road li span { color: var(--muted); font-size: 15px; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 9em 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.timeline li:last-child { border-bottom: 0; }
.timeline li > a, .timeline .when { font-family: var(--mono); font-weight: 700; }
.timeline .when { color: var(--faint); }
.timeline span { color: var(--muted); }
.principles { padding-top: 48px; }
.principles .doc-grid, .about-block .doc-grid { grid-template-columns: repeat(2, 1fr); }
.about-block { padding: 48px 0 12px; }
.about-block h2 { margin-bottom: 20px; }
.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.about-grid > div { padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.about-grid h3 { font-size: 18px; }
.about-grid p { margin: 0; color: var(--muted); font-size: 15.5px; }
.about-block .stats { grid-template-columns: repeat(3, 1fr); margin-bottom: 12px; }
.contact { text-align: center; padding-bottom: 40px; }

/* Charts grow in as they come on screen (app.js adds .js and .seen). */
@media (prefers-reduced-motion: no-preference) {
  .js .chart-group svg.bars rect { transform: scaleY(0); transform-box: fill-box; transform-origin: 50% 100%; transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
  .js .chart-group svg.stack rect { transform: scaleX(0); transform-box: view-box; transform-origin: 0 50%; transition: transform 1.1s cubic-bezier(0.2, 0.7, 0.2, 1); }
  .js .chart-group.seen svg rect { transform: none; }
}

/* ---------- footer ---------- */
.foot { max-width: var(--wrap); margin: 0 auto; padding: 44px var(--gutter) 48px; color: var(--muted); font-size: 14.5px; }
.foot-top { display: flex; align-items: center; gap: 12px 22px; flex-wrap: wrap; margin-bottom: 20px; }
.foot-tag { margin: 0; color: var(--faint); }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.foot-links a { color: var(--muted); text-decoration: none; }
.foot-links a:hover { color: var(--text); }
.foot-bottom { padding-top: 16px; }
.foot-bottom .fine { margin: 4px 0; font-size: 13px; }

/* ---------- smaller screens ---------- */
@media (max-width: 1060px) {
  .top nav { gap: 5px; }
  .top nav a { padding: 4px 10px; font-size: 14.5px; }
  .way-grid, .tool-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .community .doc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  section { padding: 44px 0; }
  .top-bar { flex-wrap: wrap; row-gap: 4px; }
  .top nav { order: 3; width: 100%; margin: 0 -6px; overflow-x: auto; scrollbar-width: none; }
  .top nav::-webkit-scrollbar { display: none; }
  .top-get { margin-left: auto; }
  section[id], figure[id], div[id], article[id] { scroll-margin-top: 120px; }
  .for-grid, .vs, .split { grid-template-columns: 1fr; }
  .split { gap: 32px; }
  .chapters { grid-template-columns: repeat(3, 1fr); row-gap: 14px; }
  .steps, .cards, .os-grid, .posts, .doc-grid, .privacy-list ul { grid-template-columns: 1fr; }
  .steps { gap: 26px; }
  .roadmap-cols, .about-grid, .principles .doc-grid, .about-block .doc-grid, .post-nav { grid-template-columns: 1fr; }
  .about-block .stats { grid-template-columns: 1fr 1fr; }
  .timeline li { grid-template-columns: 1fr; gap: 2px; }

  /* The comparison, one card per row: each answer carries its column's name. */
  .compare .table-wrap { border: 0; overflow: visible; background: none; }
  .compare table, .compare thead, .compare tbody, .compare tr, .compare th, .compare td { display: block; }
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .compare tbody { display: grid; gap: 12px; }
  .compare tbody tr { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--surface); }
  .compare tbody th { width: auto; padding: 12px 14px; font-size: 15.5px; background: var(--panel); }
  .compare td { padding: 9px 14px 10px 16px; }
  .compare td.yes::before, .compare td.partly::before, .compare td.no::before { content: attr(data-label); display: block; width: auto; font-weight: 600; font-size: 12.5px; letter-spacing: 0.02em; color: var(--faint); opacity: 1; }
  .compare td.us::before { color: var(--gold-ink); }
  .compare td.yes { box-shadow: inset 3px 0 0 var(--green); }
  .compare td.partly { box-shadow: inset 3px 0 0 var(--gold); }
  .compare td.no { box-shadow: inset 3px 0 0 var(--grey); }
  .compare tbody tr:last-child td { border-bottom: 1px solid var(--line); }
  .compare tbody tr td:last-child { border-bottom: 0; }
}
@media (max-width: 560px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .top { padding-top: 8px; }
  .top-bar { padding: 7px 8px 6px 12px; gap: 10px; }
  .wordmark { font-size: 22px; }
  .top .brand img { width: 32px; height: 32px; }
  .top nav a { font-size: 14px; padding: 3px 10px; }
  .stage-band .long { display: none; }
  .stage-band .short { display: block; }
  .hero { padding-top: 40px; padding-bottom: 56px; }
  .badge { font-size: 12.5px; gap: 8px; }
  .badge-cta-text { display: none; }
  .hero h1 br, .big-h br, #scan-h br { display: none; }
  .hero h1 { font-size: clamp(40px, 12vw, 52px); }
  .cta-row, .cta-main { width: 100%; }
  .dl { min-width: 0; width: 100%; }
  .cta-row .dl-text { align-items: center; text-align: center; }
  .demo { margin-top: 44px; }
  .demo-tabs { gap: 8px; }
  .demo-tabs button { flex-direction: column; align-items: flex-start; gap: 6px; font-size: 13.5px; line-height: 1.25; }
  .demo-stage { padding: 4px; border-radius: 16px; }
  .demo-key { position: static; justify-content: center; padding: 4px 0 8px; }
  .trust { flex-direction: column; align-items: center; gap: 10px; margin-top: 36px; }
  #features, #scanning, .for, .compare, .extras, .close { padding-top: 64px; padding-bottom: 64px; }
  .way-grid, .tool-grid { grid-template-columns: 1fr; }
  .way-grid { margin-bottom: 40px; }
  .tour-screen { padding: 22px 14px 52px; border-radius: 18px; }
  .tour-play { left: 14px; bottom: 10px; font-size: 14px; padding: 6px 14px 6px 6px; }
  .tour-icon { width: 26px; height: 26px; }
  .tour-icon::after { left: 9.5px; top: 7px; border-width: 6px 0 6px 9px; }
  .win-bar { height: 24px; gap: 5px; padding: 0 9px; }
  .win-bar i { width: 8px; height: 8px; }
  .win-bar span { left: 52px; right: 52px; font-size: 11px; }
  .for-shot { padding: 14px 14px 0; }
  .chapters { grid-template-columns: repeat(2, 1fr); }
  .six li { width: 42px; height: 42px; font-size: 15px; border-radius: 11px; }
  .six { gap: 8px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats li { padding: 16px 14px; }
  .community .doc-grid { grid-template-columns: 1fr; }
  .cmd { flex-direction: column; }
  .copy { padding: 10px; }
  .panel { padding: 18px; }
  .hl { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .dl, .tour-frames img, .demo-map * { transition: none !important; }
}
