/**
 * ChartDeck public home (redesign 2026-10-05).
 * Colours are the brand's Holo Glass tokens (web/brand/theme.css), repeated here as --h-* so the page renders on its own.
 * DARK FIRST: the product shots are the dark terminal in both themes (the terminal's default look, and the one that reads at
 * thumbnail size); the page itself follows <html data-theme> (theme.js, the toggle) or the OS setting, light included.
 * Faces: Sora for headings, buttons, labels and figures (tabular), Instrument Sans for running text; self-hosted latin subsets. Sizes, weights and radii are the tokens of
 * /assets/atlas-tokens.css (test/ui-tokens-lint.test.ts). Logical properties throughout, so Arabic mirrors without overrides.
 */

@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/brand/fonts/sora-latin-var.woff2?v=811e11966d') format('woff2');
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/brand/fonts/instrument-sans-latin-var.woff2?v=2ee17598a9') format('woff2');
}
/* Declared for completeness of the brand set; nothing on this page uses it, so the browser never downloads it. */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/brand/fonts/jetbrains-mono-latin-var.woff2?v=83c005d49d') format('woff2');
}

/* ------------------------------------------------------------------ tokens: dark (default) */
:root,
:root[data-theme="dark"] {
  color-scheme: dark;
  --h-bg: #07090D;
  --h-bg-2: #0A0D13;
  --h-surface: #0F131B;
  --h-raised: #161B26;
  --h-line: #1F2533;
  --h-line-2: #283042;
  --h-ink: #F2F4F8;
  --h-ink-2: #C3C9D4;
  --h-muted: #8C95A6;
  --h-accent: #A9B8FF;
  --h-aqua: #7FFFD4;
  --h-gain: #3DDC97;
  --h-loss: #FF6B81;
  --h-gold: #FFD98A;
  --h-focus: #7FFFD4;
  --h-on-holo: #07090D;
  --h-glass: rgba(255,255,255,.045);
  --h-glass-2: rgba(255,255,255,.08);
  --h-card: rgba(15,19,27,.82);
  --h-holo: linear-gradient(135deg, #7FFFD4 0%, #A9B8FF 30%, #FFA8D2 55%, #FFD98A 80%, #7FE0FF 100%);
  --h-holo-text: linear-gradient(90deg, #7FFFD4 0%, #A9B8FF 30%, #FFA8D2 55%, #FFD98A 80%, #7FE0FF 100%);
  --h-edge: linear-gradient(160deg, rgba(169,184,255,.55), #1F2533 30%, #1F2533 70%, rgba(127,255,212,.45));
  --h-shadow: 0 40px 90px -40px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.02);
  --h-glow-a: rgba(127,255,212,.10);
  --h-glow-b: rgba(169,184,255,.13);
  --h-glow-c: rgba(255,168,210,.07);
  --h-soon: #8C95A6;
}

/* ------------------------------------------------------------------ tokens: light */
:root[data-theme="light"] {
  color-scheme: light;
  --h-bg: #F7F8FB; --h-bg-2: #EEF1F7; --h-surface: #FFFFFF; --h-raised: #FFFFFF;
  --h-line: #E3E7EF; --h-line-2: #D5DBE6; --h-ink: #0E1320; --h-ink-2: #394154; --h-muted: #5C6578;
  --h-accent: #4C5BD4; --h-aqua: #0B9A76; --h-gain: #08875A; --h-loss: #D42F52; --h-gold: #9A6508;
  --h-focus: #0FA37F; --h-glass: rgba(14,19,32,.03); --h-glass-2: rgba(14,19,32,.06); --h-card: rgba(10,13,19,.86);
  --h-holo-text: linear-gradient(90deg, #12A57E 0%, #4E5FD8 30%, #D2508F 55%, #B07A12 80%, #1B93BD 100%);
  --h-edge: linear-gradient(160deg, rgba(76,91,212,.35), #D5DBE6 30%, #D5DBE6 70%, rgba(11,154,118,.35));
  --h-shadow: 0 30px 70px -30px rgba(16,24,40,.35), 0 0 0 1px rgba(14,19,32,.05);
  --h-glow-a: rgba(11,154,118,.10); --h-glow-b: rgba(76,91,212,.10); --h-glow-c: rgba(210,80,143,.06);
  --h-soon: #6B7385;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]):not([data-theme="light"]) {
    color-scheme: light;
    --h-bg: #F7F8FB; --h-bg-2: #EEF1F7; --h-surface: #FFFFFF; --h-raised: #FFFFFF;
    --h-line: #E3E7EF; --h-line-2: #D5DBE6; --h-ink: #0E1320; --h-ink-2: #394154; --h-muted: #5C6578;
    --h-accent: #4C5BD4; --h-aqua: #0B9A76; --h-gain: #08875A; --h-loss: #D42F52; --h-gold: #9A6508;
    --h-focus: #0FA37F; --h-glass: rgba(14,19,32,.03); --h-glass-2: rgba(14,19,32,.06); --h-card: rgba(10,13,19,.86);
    --h-holo-text: linear-gradient(90deg, #12A57E 0%, #4E5FD8 30%, #D2508F 55%, #B07A12 80%, #1B93BD 100%);
    --h-edge: linear-gradient(160deg, rgba(76,91,212,.35), #D5DBE6 30%, #D5DBE6 70%, rgba(11,154,118,.35));
    --h-shadow: 0 30px 70px -30px rgba(16,24,40,.35), 0 0 0 1px rgba(14,19,32,.05);
    --h-glow-a: rgba(11,154,118,.10); --h-glow-b: rgba(76,91,212,.10); --h-glow-c: rgba(210,80,143,.06);
    --h-soon: #6B7385;
  }
}
/* ------------------------------------------------------------------ tokens: high contrast (theme.js forces data-theme="dark")
   sweep 2026-10-19 S195: the home kept its own dark palette under the workspace look. These are the HC values of
   /brand/theme.css (black ground, white text, brighter lines), which this page does not load. */
:root[data-contrast="high"] {
  color-scheme: dark;
  --h-bg: #000000; --h-bg-2: #000000; --h-surface: #0A0C10; --h-raised: #14171F;
  --h-line: #6B7690; --h-line-2: #9AA3B8; --h-ink: #FFFFFF; --h-ink-2: #E6EAF2; --h-muted: #C2C9D6;
  --h-accent: #C3CDFF; --h-aqua: #8FFFE0; --h-gain: #4CF0A8; --h-loss: #FF8A9C; --h-gold: #FFE08F;
  --h-focus: #FFE08F; --h-on-holo: #000000; --h-glass: rgba(255,255,255,.10); --h-glass-2: rgba(255,255,255,.14); --h-card: rgba(10,12,16,.94);
  --h-edge: linear-gradient(160deg, #6B7690, #4A5468 30%, #4A5468 70%, #6B7690);
  --h-glow-a: transparent; --h-glow-b: transparent; --h-glow-c: transparent;
  --h-soon: #C2C9D6;
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--h-bg);
  color: var(--h-ink);
  font-family: 'Instrument Sans', var(--a-script, ui-sans-serif), ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: var(--a-fs-lg);
  line-height: var(--a-lh-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, .btn, .nav, .eyebrow, .kicker, .venue-list, .mk-name, .stat dt, .outline-num, .bill, .plan h3, .plan-flag, .amt, .faq summary, .live-card, .tag, .badge-note, .feat b {
  font-family: 'Sora', var(--a-script, ui-sans-serif), ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
h1, h2, h3 { margin: 0; text-wrap: balance; font-weight: var(--a-fw-semibold); letter-spacing: -.02em; line-height: var(--a-lh-tight); }
p { margin: 0; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--a-sp-6); }
@media (min-width: 720px) { .wrap { padding: 0 var(--a-sp-8); } }
.muted { color: var(--h-muted); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:focus-visible { outline: var(--a-ring-w) solid var(--h-focus); outline-offset: var(--a-ring-off); border-radius: var(--a-r-md); }
:root[data-pointer] :focus-visible { outline: none; }
.skip { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 50; padding: var(--a-sp-4) var(--a-sp-6); border-radius: var(--a-r-md); background: var(--h-surface); color: var(--h-ink); border: 1px solid var(--h-line-2); }
.skip:focus { top: 12px; }

.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--h-muted); flex: none; }
.dot.live { background: var(--h-gain); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--h-gain) 50%, transparent); } 70%, 100% { box-shadow: 0 0 0 7px transparent; } }

.tag {
  display: inline-flex; align-items: center;
  font-size: var(--a-fs-2xs); font-weight: var(--a-fw-medium); line-height: 1;
  letter-spacing: var(--a-track-caps); text-transform: uppercase;
  padding: var(--a-sp-2) var(--a-sp-4); border-radius: var(--a-r-pill);
  color: var(--h-muted); border: 1px dashed var(--h-line-2);
  vertical-align: middle; white-space: nowrap;
}

/* ------------------------------------------------------------------ buttons */
.btn {
  --pad-y: 13px; --pad-x: 22px;
  display: inline-flex; align-items: center; justify-content: center; gap: var(--a-sp-4);
  padding: var(--pad-y) var(--pad-x); border-radius: var(--a-r-lg);
  font-size: var(--a-fs-lg); font-weight: var(--a-fw-semibold); line-height: var(--a-lh-tight); letter-spacing: -.005em;
  text-decoration: none; cursor: pointer; border: 0; white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease;
}
.btn-sm { --pad-y: 9px; --pad-x: 14px; font-size: var(--a-fs-md); border-radius: var(--a-r-md); }
.btn-block { width: 100%; }
.btn-holo { background: var(--h-holo); color: var(--h-on-holo); box-shadow: 0 10px 30px -12px rgba(169,184,255,.55); }
.btn-holo:hover { transform: translateY(-1px); box-shadow: 0 16px 36px -12px rgba(169,184,255,.7); }
.btn-ghost { background: var(--h-glass); color: var(--h-ink); border: 1px solid var(--h-line-2); }
.btn-ghost:hover { background: var(--h-glass-2); border-color: var(--h-muted); }
.icon-btn {
  display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: var(--a-r-md);
  color: var(--h-ink-2); background: transparent; border: 1px solid var(--h-line); cursor: pointer; text-decoration: none;
}
.icon-btn:hover { color: var(--h-ink); border-color: var(--h-line-2); background: var(--h-glass); }

/* ------------------------------------------------------------------ nav */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--h-bg) 80%, transparent);
  backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--h-line) 70%, transparent);
}
.nav-in { display: flex; align-items: center; gap: var(--a-sp-6); height: 64px; }
.brand { display: inline-flex; align-items: center; gap: var(--a-sp-5); text-decoration: none; }
.brand-name { font-size: var(--a-fs-xl); font-weight: var(--a-fw-semibold); line-height: 1; letter-spacing: -.025em; }
.brand-mark { width: 32px; height: 32px; }
.brand-mark.on-light { display: none; border-radius: var(--a-r-md); }
:root[data-theme="light"] .brand-mark.on-dark { display: none; }
:root[data-theme="light"] .brand-mark.on-light { display: block; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]):not([data-theme="light"]) .brand-mark.on-dark { display: none; }
  :root:not([data-theme="dark"]):not([data-theme="light"]) .brand-mark.on-light { display: block; }
}
.nav-links { display: none; gap: var(--a-sp-1); margin-inline-start: var(--a-sp-6); }
.nav-links a { padding: var(--a-sp-4) var(--a-sp-5); border-radius: var(--a-r-md); color: var(--h-ink-2); text-decoration: none; font-size: var(--a-fs-md); font-weight: var(--a-fw-medium); }
.nav-links a:hover { color: var(--h-ink); background: var(--h-glass); }
.nav-actions { margin-inline-start: auto; display: flex; align-items: center; gap: var(--a-sp-5); }
.nav-signin { color: var(--h-ink-2); text-decoration: none; font-size: var(--a-fs-md); font-weight: var(--a-fw-medium); padding: var(--a-sp-4) var(--a-sp-2); }
.nav-signin:hover { color: var(--h-ink); }
@media (min-width: 1080px) { .nav-links { display: flex; } }
/* Phones and narrow windows (screenshot review 2026-10-19 #15: the sideways row was cut at "Prici" with FAQ out of sight):
   the section links sit behind a menu button, as in the docs (.dc-menu). The open menu drops down under the bar as a
   list (home.js: Escape, a tap outside or a link closes it; widening past 1080 px closes it too). */
.nav-menu { display: none; position: relative; width: 38px; height: 38px; padding: 0; border-radius: var(--a-r-md); background: transparent; border: 1px solid var(--h-line); color: var(--h-ink-2); cursor: pointer; flex: none; }
.nav-menu:hover { color: var(--h-ink); border-color: var(--h-line-2); background: var(--h-glass); }
.nav-menu span, .nav-menu span::before, .nav-menu span::after { position: absolute; inset-inline-start: 10px; width: 16px; height: 2px; border-radius: var(--a-r-sm); background: currentColor; content: ''; transition: transform .18s ease, opacity .18s ease; }
.nav-menu span { top: 17px; }
.nav-menu span::before { inset-inline-start: 0; top: -5px; }
.nav-menu span::after { inset-inline-start: 0; top: 5px; }
.nav.is-open .nav-menu span { background: transparent; }
.nav.is-open .nav-menu span::before { transform: translateY(5px) rotate(45deg); background: currentColor; }
.nav.is-open .nav-menu span::after { transform: translateY(-5px) rotate(-45deg); background: currentColor; }
@media (max-width: 1079px) {
  .nav-menu { display: inline-block; }
  .nav.is-open .nav-links {
    display: flex; flex-direction: column; gap: 0; margin: 0;
    position: absolute; inset-inline: 0; top: 100%;
    max-height: calc(100vh - 100%); max-height: calc(100dvh - 100%); overflow-y: auto; overscroll-behavior: contain;
    padding: var(--a-sp-4) var(--a-sp-6) calc(var(--a-sp-7) + env(safe-area-inset-bottom, 0px));
    background: var(--h-bg); border-bottom: 1px solid var(--h-line); box-shadow: var(--h-shadow);
  }
  .nav.is-open .nav-links a { padding: var(--a-sp-5) var(--a-sp-4); font-size: var(--a-fs-lg); border-bottom: 1px solid color-mix(in srgb, var(--h-line) 70%, transparent); border-radius: 0; }
  .nav.is-open .nav-links a:last-child { border-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) { .nav-menu span, .nav-menu span::before, .nav-menu span::after { transition: none; } }
/* Phones (v0.9.38 visual pass: home showed neither "Sign in" nor "Account" while /pricing showed both): the slot stays, compact.
   A member gets the initial in its ring (the word "Account" stays the link's accessible name, visually hidden); a guest
   gets "Sign in" in the smaller size. Below 400 px the brand, gaps and buttons tighten so the row stays one row. */
@media (max-width: 520px) {
  .nav-signin { padding: var(--a-sp-2) 0; font-size: var(--a-fs-sm); white-space: nowrap; }
  .nav-signin.cd-auth-acct { gap: 0; }
  .nav-signin.cd-auth-acct .cd-auth-av { inline-size: 28px; block-size: 28px; font-size: var(--a-fs-xs); }
  .nav-signin.cd-auth-acct > span:not(.cd-auth-av) { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
@media (max-width: 440px) {
  .nav-in { gap: var(--a-sp-4); }
  .brand { gap: var(--a-sp-4); }
  .brand-name { font-size: var(--a-fs-lg); }
  .nav-actions { gap: var(--a-sp-4); }
  .nav-actions .btn-sm { --pad-x: 12px; }
  .icon-btn, .nav-menu { width: 34px; height: 34px; }
  .nav-menu span { top: 15px; inset-inline-start: 8px; }
}
/* ...and the header row stays ONE row on a 360-400 px phone with the slot in it */
@media (max-width: 400px) {
  .nav-in { column-gap: var(--a-sp-2); }
  .brand { gap: 6px; }
  .brand-mark { width: 28px; height: 28px; }
  .brand-name { font-size: var(--a-fs-lg); }
  .nav-actions { gap: 6px; }
  .nav-actions .btn-sm { --pad-x: 10px; }
  .icon-btn, .nav-menu { width: 32px; height: 32px; }
  .nav-menu span { top: 14px; inset-inline-start: 7px; }
}
@media (max-width: 370px) {
  .brand-name { font-size: var(--a-fs-md); }
  .nav-actions .btn-sm { --pad-x: 8px; font-size: var(--a-fs-sm); }
}
/* sweep 2026-10-19 S13: at 320 px (and in the languages with a long "Sign in", 360-390 px) the actions wrapped to a row of
   their own (121 px bar; anchors landed under it with scroll-padding-top 88px). On a phone the header is a grid: the actions
   keep their width, the brand takes what is left, and the word "ChartDeck" wraps onto a clipped second line of the brand
   when it does not fit beside the mark (the link keeps its aria-label), so the bar stays 85 px in every language. */
@media (max-width: 520px) {
  .nav-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .nav-links { grid-column: 1 / -1; }
  .brand { justify-self: start; min-width: 0; max-width: 100%; flex-wrap: wrap; height: 32px; overflow: hidden; }
}
@media (max-width: 400px) {
  .brand { height: 28px; }
}
.i-moon { display: none; }
:root[data-theme="light"] .i-sun { display: none; }
:root[data-theme="light"] .i-moon { display: block; }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; padding: 56px 0 0; overflow: hidden; }
.hero-glow {
  position: absolute; inset: -12% -20% auto; height: 820px; pointer-events: none;
  background:
    radial-gradient(520px 320px at 28% 26%, var(--h-glow-a), transparent 70%),
    radial-gradient(600px 360px at 66% 20%, var(--h-glow-b), transparent 70%),
    radial-gradient(520px 320px at 50% 62%, var(--h-glow-c), transparent 70%);
}
.hero-in { position: relative; display: grid; gap: var(--a-sp-7); justify-items: center; text-align: center; }
.hero-copy, .hero-side { display: grid; gap: var(--a-sp-7); justify-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--a-sp-4);
  padding: var(--a-sp-2) var(--a-sp-6) var(--a-sp-2) var(--a-sp-5); border-radius: var(--a-r-pill);
  border: 1px solid var(--h-line-2); background: var(--h-glass);
  font-size: var(--a-fs-sm); font-weight: var(--a-fw-medium); line-height: var(--a-lh-md); color: var(--h-ink-2);
}
/* The headline: letters filled solid with the holo gradient (screenshot review 2026-10-19: the outlined lettering was hard
   to read in light mode and on a phone). */
.hero h1 {
  font-size: max(var(--a-fs-display), min(6vw, var(--a-fs-hero)));
  letter-spacing: -.035em; line-height: 1.04;
  max-width: 15ch;
  color: transparent;
  background: var(--h-holo-text);
  -webkit-background-clip: text; background-clip: text;
  padding: 0 .04em .08em;
}
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero h1 { color: var(--h-ink); background: none; }
}
/* Other scripts keep the gradient fill (their letters come from the locale's Noto face, atlas-tokens.css --a-script);
   only the Latin tracking and the tight leading are dropped. */
:root:is([lang="ar"], [lang="hi"], [lang="ja"], [lang="ko"], [lang="zh-CN"], [lang="zh-TW"], [lang="ru"], [lang="uk"], [lang="vi"]) .hero h1 {
  letter-spacing: 0; line-height: var(--a-lh-tight);
}
.lede { max-width: 40em; text-wrap: balance; font-size: var(--a-fs-lede); color: var(--h-ink-2); line-height: var(--a-lh-body); }
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--a-sp-5); }
.hero-note { font-size: var(--a-fs-md); color: var(--h-muted); text-wrap: balance; }   /* no lone "install." on a phone (review 0.9.53) */
.hero-note b { color: var(--h-ink); font-weight: var(--a-fw-semibold); }
.hero-side { gap: var(--a-sp-6); }

/* the product frame (hero and feature shots) */
.shot-wrap { position: relative; margin-top: 48px; }
@media (min-width: 1800px) { .shot-wrap { max-width: 1560px; } }
.frame { position: relative; margin: 0; }
/* while a screenshot loads (a cold CDN edge can take a second): the dark frame with a slow sheen, never the alt text
   (operator 2026-10-19: the hero showed its description in an empty box). The sheen stops once the picture paints over it. */
.frame .shot, .card .shot { color: transparent; }
.frame .shot {
  width: 100%; height: auto; border-radius: var(--a-r-lg);
  background: #0A0D13 linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .035) 50%, transparent 70%) 0 0 / 200% 100% no-repeat;
  animation: shot-wait 1.6s linear infinite;
  box-shadow: var(--h-shadow);
  outline: 1px solid var(--h-line-2); outline-offset: -1px;
}
.frame-hero .shot { outline: 0; border: 1px solid transparent; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .035) 50%, transparent 70%) 0 0 / 200% 100% no-repeat padding-box, linear-gradient(#0A0D13, #0A0D13) padding-box, var(--h-edge) border-box; }
@keyframes shot-wait { to { background-position: -200% 0, 0 0, 0 0; } }
@media (prefers-reduced-motion: reduce) { .frame .shot { animation: none; } }
.frame .shot.is-in { animation: none; }   /* painted (home.js): no sheen running under the picture */
.frame figcaption { margin-top: var(--a-sp-5); font-size: var(--a-fs-sm); color: var(--h-muted); text-align: center; }
/* Callouts on the product shots (screenshot review 2026-10-19: "too small"; tighter crops + 2-3 labels each). Each label points
   at its feature by a dot at a position measured on the picture, in the picture's own (physical) coordinates: the shots do
   not mirror in Arabic. A label right of 60 % opens to the left of its dot. Below 640 px only the dots stay (the caption and
   the alt text say what the picture shows). */
/* Review 0.9.60 #199: the labels sat ON the picture and covered the very words they pointed at ("...uid", "...s/s"). Now each point
   is a small numbered marker on the picture and the words are a numbered key under it (.co-key), which never covers anything and
   also shows on phones (the labels used to be hidden below 640 px). Markers sit on an edge or a line, not on text. */
.callouts { position: absolute; inset: 0 0 auto; aspect-ratio: 16 / 10; pointer-events: none; direction: ltr; }
.co { position: absolute; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; background: var(--h-aqua); color: #07090D;
  display: grid; place-items: center; font-size: var(--a-fs-xs); font-weight: var(--a-fw-semibold); line-height: 1; font-variant-numeric: tabular-nums;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--h-aqua) 35%, transparent), 0 0 0 4px #07090D; }
.co::after { content: attr(data-n); }
@media (max-width: 640px) { .co { width: 16px; height: 16px; margin: -8px 0 0 -8px; font-size: var(--a-fs-2xs); } }
.co-key { list-style: none; margin: var(--a-sp-5) 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--a-sp-2) var(--a-sp-7); }
.co-key li { display: inline-flex; align-items: baseline; gap: var(--a-sp-4); font-size: var(--a-fs-sm); color: var(--h-ink-2); }
.co-key li::before { content: attr(data-n); flex: none; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%;
  background: color-mix(in srgb, var(--h-aqua) 18%, transparent); color: var(--h-aqua); font-size: var(--a-fs-xs); font-weight: var(--a-fw-semibold); line-height: 1; transform: translateY(-1px); }
.co-key + figcaption { margin-top: var(--a-sp-4); }
.co-flow-1 { left: 44%; top: 14%; }
.co-flow-2 { left: 46%; top: 44%; }
.co-flow-3 { left: 83.6%; top: 30%; }
.co-book-1 { left: 20%; top: 45%; }
.co-book-2 { left: 73%; top: 33%; }
.co-book-3 { left: 61.6%; top: 70%; }
.co-tape-1 { left: 88%; top: 28%; }
.co-tape-2 { left: 83%; top: 44%; }
.co-tape-3 { left: 60.6%; top: 60.5%; }
.co-liq-1 { left: 90.5%; top: 83%; }
.co-liq-2 { left: 41%; top: 75%; }
.co-liq-3 { left: 73%; top: 22%; }

/* the live card: real BTC candles from /api/klines (home.js), over the screenshot's corner; absolutely placed, so showing it shifts nothing */
.live-card {
  position: absolute; left: 24px; bottom: 24px; width: 268px;   /* left in every direction: the hero picture is the unmirrored terminal (review 0.9.60 L#123) */
  padding: var(--a-sp-5) var(--a-sp-6); border-radius: var(--a-r-lg);
  background: var(--h-card); color: #F2F4F8;
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(12px) saturate(140%); -webkit-backdrop-filter: blur(12px) saturate(140%);
  box-shadow: 0 20px 50px -20px rgba(0,0,0,.8);
  display: grid; gap: var(--a-sp-2);
}
.live-card[hidden] { display: none; }
.lc-head { display: flex; align-items: center; gap: var(--a-sp-4); font-size: var(--a-fs-xs); line-height: var(--a-lh-xs); color: #C3C9D4; }
.lc-live { color: #3DDC97; font-weight: var(--a-fw-semibold); text-transform: uppercase; letter-spacing: var(--a-track-caps); }
.lc-sym { color: #F2F4F8; font-weight: var(--a-fw-semibold); }
.lc-venue { margin-inline-start: auto; color: #8C95A6; }
.lc-row { display: flex; align-items: baseline; gap: var(--a-sp-4); font-variant-numeric: tabular-nums; }
.lc-px { font-size: var(--a-fs-2xl); font-weight: var(--a-fw-semibold); letter-spacing: -.02em; line-height: var(--a-lh-tight); direction: ltr; }
.lc-chg { font-size: var(--a-fs-sm); font-weight: var(--a-fw-medium); direction: ltr; }
.lc-chg.up { color: #3DDC97; } .lc-chg.down { color: #FF6B81; }
.lc-spark { width: 100%; height: 56px; }
.lc-foot { font-size: var(--a-fs-2xs); line-height: var(--a-lh-2xs); color: #8C95A6; }
@media (max-width: 640px) {
  .live-card { left: 8px; bottom: 8px; width: 190px; padding: var(--a-sp-4) var(--a-sp-5); }
  .lc-px { font-size: var(--a-fs-lg); }
  .lc-spark { height: 32px; }
  .lc-foot, .lc-venue { display: none; }
}
@media (max-width: 480px) {
  .live-card { width: auto; gap: 0; padding: var(--a-sp-2) var(--a-sp-5); }
  .lc-spark { display: none; }
  .lc-px { font-size: var(--a-fs-md); }
  .lc-chg { font-size: var(--a-fs-xs); }
}
@media (max-width: 640px) {
  .hero { padding-top: 40px; }
  .hero h1 { font-size: max(var(--a-fs-3xl), 10vw); }
}

/* the exchanges row */
.venues { position: relative; padding-top: 48px; padding-bottom: 16px; display: grid; gap: var(--a-sp-6); justify-items: center; text-align: center; }
.venues-t { font-size: var(--a-fs-sm); font-weight: var(--a-fw-medium); color: var(--h-muted); text-transform: uppercase; letter-spacing: var(--a-track-caps); }
.venue-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--a-sp-5) var(--a-sp-6); }
.venue-list li { display: inline-flex; align-items: center; gap: var(--a-sp-4); font-size: var(--a-fs-md); font-weight: var(--a-fw-semibold); color: var(--h-ink-2); letter-spacing: -.01em; }
.venue-list img { width: 24px; height: 24px; border-radius: var(--a-r-sm); }
/* Bybit and OKX (screenshot review 2026-10-19: unreadable): their official mark is a wordmark inside a black square
   (web/logos/venues, no light-on-dark variant in the repo), so at 24 px the word was a smudge. The same file is drawn
   wider and cropped to its middle band (object-fit), which makes the word 1.7x larger without altering the mark, and on
   the dark page it sits on a light backing chip, as the terminal draws it (cd-logos.js VENUE_PLATE). */
.venue-list img.pl-light { box-sizing: border-box; width: 42px; object-fit: cover; object-position: 50% 50%; }
:root:not([data-theme="light"]) .venue-list img.pl-light { padding: 2px; background: var(--a-fg-1, #E9ECF2); }
@media (prefers-color-scheme: light) { :root:not([data-theme]) .venue-list img.pl-light { padding: 0; background: none; } }
/* a venue without a licensed mark yet (web/logos/venues/sources.json "monograms"): its letter on a tile, as the terminal draws it */
.venue-mono { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: var(--a-r-sm); background: var(--h-line-2); color: var(--h-ink-2); font-size: var(--a-fs-lg); font-weight: var(--a-fw-semibold); line-height: 1; }
.venue-mono::before { content: attr(data-l); }
.venues-more { font-size: var(--a-fs-md); color: var(--h-muted); }

/* ------------------------------------------------------------------ sections */
.section { padding: 112px 0 0; }
.section-tight { padding-top: 88px; }
@media (max-width: 719px) { .section { padding-top: 80px; } .section-tight { padding-top: 64px; } }
.sec-head { text-align: center; display: grid; gap: var(--a-sp-5); justify-items: center; margin-bottom: 48px; }
.sec-head-left { text-align: start; justify-items: start; }
.kicker {
  font-size: var(--a-fs-sm); font-weight: var(--a-fw-semibold); line-height: 1; text-transform: uppercase; letter-spacing: .14em;
  padding-block: .35em; margin-block: -.35em;   /* room for stacked diacritics inside the clip box (vi "BẢNG GIÁ", review 0.9.60 L#122) */
  background: var(--h-holo-text); -webkit-background-clip: text; background-clip: text; color: transparent;
  justify-self: start;
}
.sec-head .kicker { justify-self: center; }
.sec-head-left .kicker { justify-self: start; }
h2 { font-size: var(--a-fs-display); max-width: 24ch; }
.sec-sub { color: var(--h-ink-2); max-width: 36em; font-size: var(--a-fs-lg); line-height: var(--a-lh-body); }

/* multi-chart: three plain columns (no bordered cards: one border level per surface) */
.trio { display: grid; gap: var(--a-sp-8) var(--a-sp-7); grid-template-columns: 1fr; }
@media (min-width: 760px) { .trio { grid-template-columns: repeat(3, 1fr); } }
.tri { display: grid; gap: var(--a-sp-4); align-content: start; padding-top: var(--a-sp-6); border-top: 1px solid var(--h-line); }
.tri-i { width: 36px; height: 36px; fill: none; stroke: var(--h-accent); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; margin-bottom: var(--a-sp-2); }
.tri h3 { font-size: var(--a-fs-xl); }
.tri p { color: var(--h-ink-2); }

/* the two star features: copy beside a big shot */
.feature-in { display: grid; gap: 40px; align-items: center; }
.feature-copy { display: grid; gap: var(--a-sp-6); align-content: start; }
.feature-copy h2 { font-size: var(--a-fs-display); max-width: 18ch; }
@media (min-width: 1080px) {
  .feature-in { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; }
  .feature-alt .feature-in { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .feature-alt .feature-copy { order: 2; }
}
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--a-sp-4); }
.ticks li { position: relative; padding-inline-start: var(--a-sp-7); color: var(--h-ink-2); font-size: var(--a-fs-lg); line-height: var(--a-lh-snug); }
.ticks li::before {
  content: ""; position: absolute; inset-inline-start: 2px; top: .4em; width: 11px; height: 6px;
  border-left: 2px solid var(--h-aqua); border-bottom: 2px solid var(--h-aqua); transform: rotate(-45deg);
}
.badge-note {
  display: inline-flex; align-items: center; gap: var(--a-sp-4); justify-self: start;
  padding: var(--a-sp-2) var(--a-sp-5); border-radius: var(--a-r-pill);
  border: 1px solid color-mix(in srgb, var(--h-gold) 45%, transparent); color: var(--h-gold);
  font-size: var(--a-fs-sm); font-weight: var(--a-fw-medium);
}
.pair { display: grid; gap: var(--a-sp-7); margin-top: 48px; }
@media (min-width: 860px) { .pair { grid-template-columns: 1fr 1fr; } }
@media (min-width: 860px) { .pair-one { grid-template-columns: minmax(0, 760px); justify-content: center; } }

/* the rest of the desk */
.cards { display: grid; gap: var(--a-sp-8) var(--a-sp-7); grid-template-columns: 1fr; }
@media (min-width: 700px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { display: grid; gap: var(--a-sp-4); align-content: start; }
.card .shot { width: 100%; height: auto; border-radius: var(--a-r-lg); background: #0A0D13; outline: 1px solid var(--h-line-2); outline-offset: -1px; margin-bottom: var(--a-sp-4); }
.card h3 { font-size: var(--a-fs-xl); }
.card p { color: var(--h-ink-2); font-size: var(--a-fs-md); line-height: var(--a-lh-body); }

/* "What you get here": five shipped features, no names of other platforms (review 2026-10-19) */
.why { list-style: none; margin: 0 auto; padding: 0; max-width: 980px; display: grid; gap: var(--a-sp-5); grid-template-columns: 1fr; }
@media (min-width: 760px) { .why { grid-template-columns: repeat(2, 1fr); } .why li:last-child:nth-child(odd) { grid-column: 1 / -1; } }
.why li { display: grid; gap: var(--a-sp-2); padding: var(--a-sp-6) var(--a-sp-7); border-radius: var(--a-r-lg); background: var(--h-surface); border: 1px solid var(--h-line); }
.why b { font-family: 'Sora', var(--a-script, ui-sans-serif), ui-sans-serif, system-ui, sans-serif; font-size: var(--a-fs-lg); font-weight: var(--a-fw-semibold); color: var(--h-ink); }
.why span { color: var(--h-ink-2); font-size: var(--a-fs-md); line-height: var(--a-lh-body); }
/* the social-proof slot stays out of the page until it has real content (index.html comment) */
.proof[hidden] { display: none; }

/* markets */
.mk-list { list-style: none; margin: 0; padding: 0; }
.mk-live { display: grid; gap: var(--a-sp-5); grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.mk-live li {
  display: grid; gap: var(--a-sp-4); align-content: start; padding: var(--a-sp-6);
  border-radius: var(--a-r-lg); background: var(--h-surface); border: 1px solid var(--h-line);
}
.mk-name { display: inline-flex; align-items: flex-start; gap: var(--a-sp-4); font-size: var(--a-fs-lg); font-weight: var(--a-fw-semibold); }
/* the dot on the title's FIRST line, not the middle of a wrapped title (review 0.9.60 #198): half a line down, less half the dot */
.mk-name > .dot { margin-top: calc(.5lh - 3.5px); }
.mk-d { color: var(--h-ink-2); font-size: var(--a-fs-md); line-height: var(--a-lh-body); }
.mk-soon { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--a-sp-5); margin-top: var(--a-sp-7); }
.mk-soon li { display: inline-flex; align-items: center; gap: var(--a-sp-4); padding: var(--a-sp-4) var(--a-sp-6); border-radius: var(--a-r-pill); border: 1px dashed var(--h-line-2); color: var(--h-soon); font-size: var(--a-fs-md); font-weight: var(--a-fw-medium); }
.mk-soon .tag { border: 0; padding: 0; color: var(--h-soon); }

/* ------------------------------------------------------------------ numbers */
.numbers { margin-top: 112px; padding: 72px 0; border-top: 1px solid var(--h-line); border-bottom: 1px solid var(--h-line); background: var(--h-bg-2); }
.stats { margin: 0; display: grid; gap: var(--a-sp-8) var(--a-sp-7); grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(3, 1fr); gap: 48px var(--a-sp-8); } }
.stat { display: flex; flex-direction: column; gap: var(--a-sp-2); min-width: 0; }
/* 1.0.2 (review 0.9.74 L, 004-home-en): `display: flex` beat the hidden attribute, so a tile the server hides while the
   exchanges' lists are still loading showed its label under a blank figure */
.stat[hidden] { display: none; }
.stat dt { order: 2; font-size: var(--a-fs-lg); font-weight: var(--a-fw-semibold); line-height: var(--a-lh-snug); color: var(--h-ink); }
.stat dd { order: 1; margin: 0; }
.stat p { order: 3; font-size: var(--a-fs-md); color: var(--h-muted); line-height: var(--a-lh-body); }
.outline-num {
  font-size: min(var(--a-fs-stat), 11vw); font-weight: var(--a-fw-semibold); line-height: 1; letter-spacing: -.04em;
  font-variant-numeric: tabular-nums; min-height: 1em; direction: ltr; text-align: start;
  color: var(--h-bg-2);
  background: var(--h-holo-text); background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-stroke: .05em transparent;
  padding-bottom: var(--a-sp-2);
}
:root[dir="rtl"] .outline-num { text-align: end; }
.stat:nth-child(2) .outline-num { background-position: 20% 0; }
.stat:nth-child(3) .outline-num { background-position: 40% 0; }
.stat:nth-child(4) .outline-num { background-position: 60% 0; }
.stat:nth-child(5) .outline-num { background-position: 80% 0; }
.stat:nth-child(6) .outline-num { background-position: 100% 0; }
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .outline-num { color: var(--h-ink); background: none; -webkit-text-stroke: 0; }
}
/* High contrast: the hollow holo lettering of the hero heading and the figures becomes solid ink (sweep 2026-10-19 S195). */
:root[data-contrast="high"] :is(.hero h1, .outline-num) { color: var(--h-ink); background: none; -webkit-text-stroke: 0; }

/* ------------------------------------------------------------------ pricing (cards rendered by src/web/home-plans.ts) */
.bill {
  display: flex; width: max-content; margin: -20px auto var(--a-sp-8); padding: var(--a-sp-2); gap: var(--a-sp-2);
  border: 1px solid var(--h-line-2); border-radius: var(--a-r-lg); background: var(--h-surface);
}
.bill button {
  padding: var(--a-sp-4) var(--a-sp-6); border-radius: var(--a-r-md); border: 0; cursor: pointer; background: transparent;
  font-family: inherit; font-size: var(--a-fs-md); font-weight: var(--a-fw-semibold); line-height: 1; color: var(--h-muted);
}
.bill button[aria-checked="true"] { background: var(--h-raised); color: var(--h-ink); box-shadow: 0 0 0 1px var(--h-line-2); }
/* the yearly saving, as on /pricing (review 0.9.60 #191; src/web/home-plans.ts renderHomeSave) */
.bill button { display: inline-flex; align-items: center; gap: var(--a-sp-4); }
.toggle-save { padding: 3px var(--a-sp-4); border-radius: var(--a-r-pill); font-size: var(--a-fs-xs); font-weight: var(--a-fw-semibold);
  background: color-mix(in srgb, var(--h-aqua) 16%, transparent); color: var(--h-aqua); }
.plans { display: grid; gap: var(--a-sp-6); grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 700px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .plans { grid-template-columns: repeat(4, minmax(0, 1fr)); } }   /* four plans since 2026-10-07 (Plus) */
.plan {
  position: relative; display: flex; flex-direction: column; gap: var(--a-sp-2);
  padding: var(--a-sp-7); border-radius: var(--a-r-lg); background: var(--h-surface); border: 1px solid var(--h-line);
}
.plan h3 { font-size: var(--a-fs-xl); }
.plan .btn { white-space: normal; text-align: center; text-wrap: balance; }   /* a long translated CTA wraps inside its card (review 0.9.60 L#117) */
.plan-hot { background: linear-gradient(var(--h-surface), var(--h-surface)) padding-box, var(--h-holo) border-box; border: 1.5px solid transparent; }
.plan-flag {
  position: absolute; top: -12px; inset-inline-start: 24px; padding: var(--a-sp-2) var(--a-sp-5); border-radius: var(--a-r-pill);
  background: var(--h-holo); color: var(--h-on-holo); font-size: var(--a-fs-xs); font-weight: var(--a-fw-semibold); line-height: 1; letter-spacing: .04em; text-transform: uppercase;
}
.price { display: flex; align-items: baseline; gap: var(--a-sp-4); margin-top: var(--a-sp-4); }
.amt { font-size: var(--a-fs-4xl); font-weight: var(--a-fw-semibold); line-height: 1; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.per { color: var(--h-muted); font-size: var(--a-fs-lg); }
.price-note { color: var(--h-muted); font-size: var(--a-fs-md); min-height: 1.6em; }
.feat { list-style: none; margin: var(--a-sp-6) 0 var(--a-sp-7); padding: var(--a-sp-6) 0 0; border-top: 1px solid var(--h-line); display: grid; gap: var(--a-sp-4); flex: 1; align-content: start; }
.feat li { position: relative; padding-inline-start: var(--a-sp-7); font-size: var(--a-fs-md); color: var(--h-ink-2); line-height: var(--a-lh-body); }
.feat li::before {
  content: ""; position: absolute; inset-inline-start: 2px; top: .45em; width: 11px; height: 6px;
  border-left: 2px solid var(--h-aqua); border-bottom: 2px solid var(--h-aqua); transform: rotate(-45deg);
}
.feat b { color: var(--h-ink); font-weight: var(--a-fw-semibold); font-size: var(--a-fs-lg); font-variant-numeric: tabular-nums lining-nums; letter-spacing: 0; }
.feat .tag { margin-inline-start: var(--a-sp-2); }
.plan-plus { margin-top: var(--a-sp-6); padding-top: var(--a-sp-6); border-top: 1px solid var(--h-line); color: var(--h-muted); font-size: var(--a-fs-md); font-weight: var(--a-fw-semibold); }
.plan-plus + .feat { margin-top: var(--a-sp-2); padding-top: 0; border-top: 0; }
/* under a paid card's "Start free month": what it costs after the free month (src/web/home-plans.ts trialCta) */
.plan-then { margin-top: var(--a-sp-4); color: var(--h-muted); font-size: var(--a-fs-sm); text-align: center; text-wrap: balance; }
.plans-trial { width: max-content; max-width: 100%; margin: 0 auto var(--a-sp-7); padding: var(--a-sp-4) var(--a-sp-6); border-radius: var(--a-r-pill); border: 1px solid var(--h-line-2); background: var(--h-surface); color: var(--h-ink-2); font-size: var(--a-fs-md); text-align: center; }
.plans-trial a { color: var(--h-accent); font-weight: var(--a-fw-semibold); text-underline-offset: 3px; }
.plans-foot { text-align: center; margin-top: var(--a-sp-7); color: var(--h-muted); font-size: var(--a-fs-md); }
.plans-foot a { color: var(--h-accent); text-underline-offset: 3px; }
/* Beginner's button on the paid buttons' line: a blank line the height of their "Then $24/mo..." caption (review 0.9.60, L#137) */
.plan-then-pad { visibility: hidden; }
/* Trust row (review 0.9.60 #192), the same facts as /pricing: checked against the terms, the refund policy and the payment code */
.trust { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--a-sp-4) var(--a-sp-7); margin: var(--a-sp-7) auto 0; padding: 0; max-width: 980px; }
.trust li { display: inline-flex; align-items: center; gap: var(--a-sp-4); font-size: var(--a-fs-md); color: var(--h-muted); }
.trust li svg { flex: none; color: var(--h-aqua); }
.trust a { color: inherit; text-decoration: underline; text-decoration-color: var(--h-line-2); text-underline-offset: 3px; }
.trust a:hover { color: var(--h-ink); }
/* the maker line under the trust row (operator 2026-10-21): the company, then the live founding-seat count while the offer runs */
.built-by { margin: var(--a-sp-5) auto 0; text-align: center; font-size: var(--a-fs-sm); color: var(--h-muted); }
.built-by .built-sep { margin: 0 var(--a-sp-2); }

/* ------------------------------------------------------------------ faq */
.faq-grid { display: grid; gap: var(--a-sp-4); }
@media (min-width: 960px) { .faq-grid { grid-template-columns: 1fr 1.9fr; gap: 64px; align-items: start; } .faq-grid .sec-head { position: sticky; top: 100px; } }
.faq { border-top: 1px solid var(--h-line); }
.faq details { border-bottom: 1px solid var(--h-line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--a-sp-6);
  padding: var(--a-sp-6) var(--a-sp-1); font-size: var(--a-fs-lg); font-weight: var(--a-fw-semibold); line-height: var(--a-lh-snug); letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 10px; height: 10px; margin-inline-end: var(--a-sp-4);
  border-right: 2px solid var(--h-muted); border-bottom: 2px solid var(--h-muted); transform: rotate(45deg) translateY(-3px);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq summary:hover { color: var(--h-accent); }
.faq details p { padding: 0 var(--a-sp-1) var(--a-sp-7); color: var(--h-ink-2); max-width: 44em; font-size: var(--a-fs-md); line-height: var(--a-lh-body); }
.faq details a { color: var(--h-accent); }

/* ------------------------------------------------------------------ last call */
.end { margin-top: 112px; padding: 88px 0; position: relative; overflow: hidden; border-top: 1px solid var(--h-line);
  background:
    radial-gradient(520px 260px at 20% 0%, var(--h-glow-a), transparent 70%),
    radial-gradient(520px 260px at 80% 100%, var(--h-glow-b), transparent 70%),
    var(--h-bg-2); }
.end-in { display: grid; gap: var(--a-sp-6); justify-items: center; text-align: center; }
.end h2 { font-size: var(--a-fs-display); }
.end p { color: var(--h-ink-2); max-width: 34em; }
.end .cta-row { margin-top: var(--a-sp-4); }

/* ------------------------------------------------------------------ footer: the site footer (/brand/site-footer.css, src/web/site-footer.ts) */

/* ------------------------------------------------------------------ motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* "See it in action" (0.9.64): the Matrix showcase tour in the terminal, no sign-up (cd-tour.js reads /app?tour=matrix) */
.cta-tour { display: inline-flex; align-items: center; gap: 8px; padding: 10px 4px; color: var(--h-ink); font-weight: var(--a-fw-semibold); text-decoration: none; }
.cta-tour svg { width: 22px; height: 22px; padding: 5px; box-sizing: border-box; border-radius: 50%; fill: currentColor; border: 1px solid var(--h-line-2); background: var(--h-glass); }
.cta-tour:hover span { text-decoration: underline; text-underline-offset: 3px; }
.cta-tour:focus-visible { outline: 2px solid var(--h-ink); outline-offset: 3px; border-radius: var(--a-r-md); }
