/* /assets/css/site.css */
/* Void Finance: the stylesheet every site page loads (fonts, tokens, base, buttons, header, explorer, footer, prose, updates and roadmap). Sections only some pages use live beside it: site-hero.css, site-discord.css, site-tape.css. Colours are the bot's card theme (core/theme.py). */

/* ---------------------------------------------------------------- fonts */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/inter-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/inter-600.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/inter-700.woff2") format("woff2"); }

/* --------------------------------------------------------------- tokens */
:root {
  color-scheme: dark;
  --bg: #0A1219;             /* the cards' background, bottom */
  --bg-top: #101C25;         /* ...and top */
  --deep: #060B10;           /* behind the hero emblem and the horizon */
  --panel: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.008)), rgba(11, 19, 26, 0.82);
  --panel-solid: #0C151D;
  --border: rgba(186, 230, 253, 0.11);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --white: #FFFFFF;
  --text: #E2E8F0;
  --soft: #CBD5E1;
  --muted: #94A3B8;
  --faint: #718096;          /* the dimmest text; still 4.5:1 on every background */
  --up: #22C55E;             /* price up, as on the cards */
  --down: #EF4444;           /* price down */
  --flat: #94A3B8;
  --open: #4ADE80;           /* a market that's open: the cards' session dot */
  --closed: #FCA5A5;         /* ...and one that's closed: a light red ring */
  --amber: #F5B942;
  --sky: #38BDF8;            /* anything clickable */
  --sky-hover: #7DD3FC;
  --sky-ink: #04121B;        /* text on a sky button */
  --kicker: #BAE6FD;         /* the cards' super-title chip */
  --kicker-line: rgba(125, 211, 252, 0.45);
  --glow-green: rgba(150, 192, 140, 0.34);
  --glow-blue: rgba(53, 147, 197, 0.38);
  --radius: 14px;
  --radius-sm: 10px;
  --tick: rgba(186, 230, 253, 0.45);
  --shadow: 0 24px 60px -18px rgba(0, 0, 0, 0.7), 0 2px 8px rgba(0, 0, 0, 0.35);
  --wrap: 1180px;
  --gutter: 16px;
  --header: 64px;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", "Segoe UI Mono", Menlo, Consolas, monospace;
  /* Film grain, drawn once as a tiny SVG. */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@media (min-width: 640px) { :root { --gutter: 24px; } }
@media (min-width: 1024px) { :root { --gutter: 32px; } }

/* ----------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.6 var(--font);
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none;
  background: var(--grain); opacity: 0.045;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; color: var(--white); font-weight: 600; letter-spacing: -0.02em; line-height: 1.12; text-wrap: balance; }
p { margin: 0; }
a { color: var(--sky); text-decoration: none; }
a:hover { color: var(--sky-hover); }
code { font-family: var(--mono); font-size: 0.92em; }
button { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(56, 189, 248, 0.35); color: var(--white); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: var(--gutter); top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 10px; background: var(--sky); color: var(--sky-ink); font-weight: 600;
}
.skip:focus { top: 12px; color: var(--sky-ink); }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.section { padding-block: clamp(56px, 7vw, 96px); }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 48px); }
.section-head h2 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.1rem); letter-spacing: -0.03em; }
/* Big headings: solid horizon white (studio: no gradient text); the emphasised words in sky. */
.hero h1, .section-head h2, .prose h1, .not-found h1 { color: var(--white); }
.hero h1 em { font-style: normal; color: var(--sky); }
/* A hairline between sections, brightest in the middle. */
.ruled { position: relative; }
.ruled::before, .ruled::after { content: ""; position: absolute; top: 0; left: 50%; translate: -50% 0; pointer-events: none; }
.ruled::before { width: min(100% - 2 * var(--gutter), var(--wrap)); height: 1px; background: linear-gradient(90deg, transparent, rgba(186, 230, 253, 0.2) 25%, rgba(186, 230, 253, 0.2) 75%, transparent); }
.ruled::after { width: 220px; height: 1px; background: linear-gradient(90deg, transparent, rgba(186, 230, 253, 0.6), transparent); }
/* Crop marks in a panel's corners. */
.ticks { position: relative; }
.ticks::after {
  content: ""; position: absolute; inset: 10px; z-index: 3; pointer-events: none; opacity: 0.8; transition: opacity 0.3s;
  background:
    linear-gradient(var(--tick) 0 0) 0 0 / 9px 1px no-repeat, linear-gradient(var(--tick) 0 0) 0 0 / 1px 9px no-repeat,
    linear-gradient(var(--tick) 0 0) 100% 0 / 9px 1px no-repeat, linear-gradient(var(--tick) 0 0) 100% 0 / 1px 9px no-repeat,
    linear-gradient(var(--tick) 0 0) 0 100% / 9px 1px no-repeat, linear-gradient(var(--tick) 0 0) 0 100% / 1px 9px no-repeat,
    linear-gradient(var(--tick) 0 0) 100% 100% / 9px 1px no-repeat, linear-gradient(var(--tick) 0 0) 100% 100% / 1px 9px no-repeat;
}
.section-head .lede { margin-top: 16px; }
.lede { color: var(--soft); font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem); line-height: 1.55; }

/* The label above a title: monospace, in brackets. */
.kicker {
  display: inline-flex; gap: 0.7em; margin-bottom: 18px;
  color: var(--kicker); font: 500 0.72rem/1.4 var(--mono); letter-spacing: 0.18em; text-transform: uppercase;
}
.kicker::before { content: "["; opacity: 0.5; }
.kicker::after { content: "]"; opacity: 0.5; }
/* site-kicker-plain: the label without its brackets, everywhere (owner: brackets out 100%; docs/design/kicker-brackets). */
html[data-flag-site-kicker-plain] .kicker::before, html[data-flag-site-kicker-plain] .kicker::after { content: none; }

/* -------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border: 1px solid transparent; border-radius: 10px;
  font-weight: 600; font-size: 1rem; line-height: 1.2; white-space: nowrap; cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.25s, transform 0.25s;
}
.btn svg { width: 20px; height: 20px; flex: none; fill: currentColor; }
.btn-primary { background: var(--sky); color: var(--sky-ink); box-shadow: 0 8px 24px -12px rgba(0, 0, 0, 0.6); }
.btn-primary:hover { background: var(--sky-hover); color: var(--sky-ink); transform: translateY(-2px); box-shadow: 0 12px 28px -12px rgba(0, 0, 0, 0.7); }
.btn-ghost { border-color: rgba(56, 189, 248, 0.45); background: rgba(56, 189, 248, 0.06); color: var(--sky); }
.btn-ghost:hover { border-color: var(--sky); background: rgba(56, 189, 248, 0.12); color: var(--sky-hover); transform: translateY(-2px); }
.btn-sm { min-height: 44px; padding: 8px 16px; font-size: 0.92rem; border-radius: 8px; }
.btn-sm svg { width: 18px; height: 18px; }
.btn .arrow { transition: transform 0.25s; }
.btn:hover .arrow { transform: translateX(3px); }

/* Add To Discord: "Coming Soon" and not a link until site.config.js has the invite (see the <head> script). */
.invite-on { display: none; }
.has-invite .invite-on { display: inline; }
.has-invite .invite-off { display: none; }
html:not(.has-invite) [data-invite] {
  border-color: rgba(148, 163, 184, 0.3); background: rgba(148, 163, 184, 0.08); color: var(--muted);
  box-shadow: none; transform: none; cursor: default; pointer-events: none;
}
html:not(.has-invite) [data-invite] svg { opacity: 0.55; }
/* Whole blocks that swap with the invite: .if-invite once site.config.js has it, .if-no-invite until then. */
html:not(.has-invite) .if-invite, .has-invite .if-no-invite { display: none !important; }
/* Support links stay hidden until site.config.js has the support server. */
html:not(.has-support) [data-support] { display: none !important; }

/* --------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6, 11, 16, 0.72); border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px);
}
.nav { display: flex; align-items: center; gap: 12px; height: var(--header); }
.brand { display: flex; align-items: center; margin-right: auto; padding: 9px 0; }
.brand img { width: auto; height: 38px; }
/* The header's logo: the VOID wordmark (the O 1.35x the letters), sized so the letters match the nav's weight. */
.site-header .brand { padding: 0; min-height: 44px; }
.site-header .brand img { height: 42px; }
@media (max-width: 639px) { .site-header .brand img { height: 34px; } }
.nav-links { display: flex; align-items: center; gap: 4px; margin-right: 8px; }
.nav-links a { padding: 10px 14px; border-radius: 8px; color: var(--soft); font-weight: 500; font-size: 0.92rem; transition: color 0.2s, background-color 0.2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--sky); background: rgba(56, 189, 248, 0.08); }
.nav-menu { position: relative; display: none; }
.nav-menu summary {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px;
  border: 1px solid var(--line-strong); color: var(--text); cursor: pointer; list-style: none;
}
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu summary svg { width: 20px; height: 20px; stroke: currentColor; }
.nav-menu[open] summary { border-color: var(--sky); color: var(--sky); }
.nav-menu-panel {
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 210px; padding: 8px;
  border: 1px solid var(--border); border-radius: 14px; background: #0D1720; box-shadow: var(--shadow);
}
.nav-menu-panel a { display: block; padding: 12px 14px; border-radius: 10px; color: var(--text); font-weight: 500; }
.nav-menu-panel a:hover { background: rgba(56, 189, 248, 0.08); color: var(--sky); }
/* Portal: a live dot beside it (still: no glow, no pulse), a button of its own on phones (where the links fold into the menu). */
.live-dot {
  display: inline-block; flex: none; width: 7px; height: 7px; border-radius: 50%;
  background: var(--up);
}
.live-dot.dark { background: var(--sky-ink); }
.nav-links .nav-portal { display: inline-flex; align-items: center; gap: 8px; margin-left: 4px; border: 1px solid rgba(56, 189, 248, 0.35); background: rgba(56, 189, 248, 0.06); color: var(--white); }
.nav-portal-btn { display: none; gap: 8px; color: var(--white); }
html:not(.has-invite) .menu-invite { display: none; }
@media (max-width: 719px) {
  .nav-links { display: none; }
  .nav-menu { display: block; }
  .nav .btn-sm { padding-inline: 12px; }
  .nav-portal-btn { display: inline-flex; }
  .nav .btn-primary.btn-sm { display: none; }
}

/* ---------------------------------------------- shared with the Portal */
.up { color: var(--up); }
.down { color: var(--down); }
.flat { color: var(--flat); }
.cmd-chip {
  display: inline-flex; align-items: center; padding: 3px 8px; border-radius: 6px;
  border: 1px solid rgba(56, 189, 248, 0.3); background: rgba(56, 189, 248, 0.06);
  color: var(--kicker); font: 500 0.72rem/1.3 var(--mono); letter-spacing: 0.02em; white-space: nowrap;
}
a.cmd-chip:hover { border-color: var(--sky); color: var(--sky-hover); }
.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 99px;
  border: 1px solid var(--line-strong); color: var(--muted); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.04em; white-space: nowrap;
}
.badge.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--up); }
.badge.warn { border-color: rgba(245, 185, 66, 0.45); color: var(--amber); }
.tile-live {
  display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 12px 14px; border-radius: 12px;
  border: 1px solid var(--line-strong); background: rgba(8, 14, 20, 0.6);
}
.tile-live .t-label { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0 6px; color: var(--muted); font: 500 0.68rem/1.4 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; }
.tile-live .t-delay { color: var(--faint); font-size: 0.58rem; letter-spacing: 0.06em; }
.tile-live .t-delay[hidden] { display: none; }
.tile-live .t-price { overflow: hidden; padding-block: 0.2em; border-radius: 4px; color: var(--white); font-size: 1.05rem; font-weight: 600; line-height: 1.2; font-variant-numeric: tabular-nums; white-space: nowrap; text-overflow: ellipsis; }
/* A price that moved (pulse.js): each digit that changed rolls to its new value, green up and red down, then back to
   white. Only the digits change colour: no glow and nothing behind them. */
.odo { display: inline-flex; height: 1.2em; overflow: hidden; line-height: 1.2em; vertical-align: top; -webkit-user-select: none; user-select: none; }
.odo-d { display: inline-block; height: 1.2em; overflow: hidden; }
.odo-s { display: flex; flex-direction: column; transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), color 0.4s; }
.odo-s > span { height: 1.2em; }
.odo-d.is-up .odo-s { color: var(--up); }
.odo-d.is-down .odo-s { color: var(--down); }
.odo-c { white-space: pre; }
.tile-live .t-change { font-size: 0.8rem; font-weight: 600; font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: no-preference) {
  .flash-up { animation: flash-up 1.1s ease-out; }
  .flash-down { animation: flash-down 1.1s ease-out; }
}
/* A number that just changed: its text turns green (up) or red (down), then eases back to its own colour. No box
   behind it, no glow. */
@keyframes flash-up { 0%, 25% { color: var(--up); } }
@keyframes flash-down { 0%, 25% { color: var(--down); } }

/* ------------------------------------------------------------- explorer */
/* The Card Explorer (home.js): a tab per group of cards. In each: one card large beside its headline, its /help line
   and a link to try it, and the group's cards below to pick from. Without JavaScript every group shows. */
.explorer {
  padding: clamp(14px, 2vw, 22px);
  border: 1px solid var(--border); border-radius: 18px; background: var(--panel);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), var(--shadow);
}
.ex-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(16px, 2vw, 22px); }
.ex-tab {
  display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 8px 16px; border-radius: 10px;
  border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.03); color: var(--soft);
  font-weight: 600; font-size: 0.95rem; cursor: pointer; transition: color 0.2s, background-color 0.2s, border-color 0.2s, box-shadow 0.25s;
}
.ex-tab > span:last-child { min-width: 22px; padding: 1px 7px; border-radius: 99px; background: rgba(255, 255, 255, 0.07); color: var(--muted); font: 500 0.72rem/1.5 var(--mono); text-align: center; }
.ex-tab:hover { border-color: rgba(56, 189, 248, 0.5); color: var(--white); }
.ex-tab[aria-selected="true"] { border-color: var(--sky); background: rgba(56, 189, 248, 0.12); color: var(--white); box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.25), 0 8px 24px -14px rgba(56, 189, 248, 0.8); }
.ex-tab[aria-selected="true"] span { background: rgba(56, 189, 248, 0.2); color: var(--kicker); }
html:not(.js) .ex-tabs { display: none; }

.ex-panel {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-areas: "shot info" "list list";
  align-items: center; gap: 20px clamp(20px, 3vw, 40px);
}
.js .ex-panel:not(.is-active) { display: none; }
html:not(.js) .ex-panel + .ex-panel { margin-top: 36px; padding-top: 36px; border-top: 1px solid var(--line); }
.ex-shot { position: relative; grid-area: shot; overflow: hidden; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--bg); box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.9); }
.ex-shot img { width: 100%; aspect-ratio: 3 / 2; transition: opacity 0.25s; }
.ex-shot img.is-swapping { opacity: 0.35; }
/* A new card, as six shutter bands sliding in over the old one (home.js). */
.ex-band { position: absolute; inset: 0; background-size: 100% 100%; pointer-events: none; }
.ex-info { grid-area: info; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.ex-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.ex-meta .kicker { margin: 0; }
.badge.auto { border-color: rgba(56, 189, 248, 0.35); color: var(--kicker); }
.badge.auto svg { width: 13px; height: 13px; stroke: currentColor; }
.badge[hidden] { display: none; }
.ex-info h3 { font-size: clamp(1.35rem, 1rem + 1.1vw, 1.9rem); }
.ex-desc { color: var(--soft); }
.ex-try { margin-top: 6px; }
.ex-try code { color: var(--white); font-size: 0.88em; }
/* The group's cards: one row on a wide screen, as many as fit per row below that. */
.ex-list { grid-area: list; display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 10px; }
.ex-item {
  display: flex; flex-direction: column; gap: 8px; width: 100%; height: 100%; padding: 6px 6px 10px; border-radius: 10px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); text-align: left; cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.25s, transform 0.25s;
}
.ex-item img { width: 100%; aspect-ratio: 3 / 2; border-radius: 6px; opacity: 0.65; transition: opacity 0.2s; }
.ex-item > span { display: grid; gap: 2px; min-width: 0; padding-inline: 4px; }
.ex-item b { color: var(--text); font-size: 0.84rem; font-weight: 600; line-height: 1.3; }
.ex-item code { overflow: hidden; color: var(--muted); font-size: 0.72rem; white-space: nowrap; text-overflow: ellipsis; }
.ex-item:hover { border-color: rgba(56, 189, 248, 0.45); transform: translateY(-2px); }
.ex-item:hover img, .ex-item[aria-pressed="true"] img { opacity: 1; }
.ex-item[aria-pressed="true"] { border-color: var(--sky); background: rgba(56, 189, 248, 0.1); box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.25); }
.ex-item[aria-pressed="true"] b { color: var(--white); }
html:not(.js) .ex-item { cursor: default; }

@media (max-width: 999px) {
  .ex-panel { grid-template-columns: minmax(0, 1fr); grid-template-areas: "shot" "info" "list"; }
}
/* Phones: the tabs two by two, and the group's cards in a row that scrolls sideways (inside the panel). */
@media (max-width: 639px) {
  .ex-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ex-tab { justify-content: center; padding-inline: 10px; font-size: 0.9rem; }
  .ex-tab > span:last-child { display: none; }
  .ex-panel { gap: 18px; }
  .ex-list {
    display: flex; gap: 8px; overflow-x: auto; margin-inline: -14px; padding: 2px 14px 6px;
    scroll-snap-type: x mandatory; scroll-padding-inline: 14px; scrollbar-width: none; overscroll-behavior-x: contain;
  }
  .ex-list::-webkit-scrollbar { display: none; }
  .ex-list li { flex: none; width: 136px; scroll-snap-align: start; }
}

/* --------------------------------------------------------------- footer */
.site-footer { padding-block: 48px 0; border-top: 1px solid var(--line); background: var(--deep); }
.footer-grid { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 24px 40px; }
.footer-grid .brand { padding-block: 11px; }
.footer-grid .brand img { height: 34px; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0 24px; }
.footer-nav a { padding: 10px 4px; margin-inline: -4px; color: var(--soft); font-size: 0.95rem; }
.footer-nav a:hover { color: var(--sky); }
.footer-x { display: inline-flex; align-items: center; gap: 8px; }
.footer-x svg { width: 15px; height: 15px; flex: none; fill: currentColor; }
.disclaimer { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.88rem; }
.copyright { grid-column: 1 / -1; margin-top: -12px; color: var(--faint); font-size: 0.82rem; }
.site-footer { overflow: hidden; }
.footer-mark { width: min(100% - 2 * var(--gutter), var(--wrap)); height: clamp(70px, 13vw, 180px); margin: 40px auto -40px; overflow: hidden; }
.footer-mark img { width: 100%; height: auto; opacity: 0.07; -webkit-mask-image: linear-gradient(#000 25%, transparent 85%); mask-image: linear-gradient(#000 25%, transparent 85%); }
@media (max-width: 639px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-nav { justify-content: flex-start; }
}

.js-only { display: none; }
.js .js-only { display: flex; }

/* ---------------------------------------------------------------- prose */
.prose-wrap { width: min(100% - 2 * var(--gutter), 760px); margin-inline: auto; padding-block: clamp(40px, 6vw, 72px) clamp(64px, 8vw, 104px); }
.prose h1 { font-size: clamp(2.3rem, 1.5rem + 2.8vw, 3.4rem); letter-spacing: -0.03em; }
.prose .updated { margin-top: 12px; color: var(--muted); font-size: 0.92rem; }
.prose h2 { margin-top: 44px; font-size: 1.4rem; }
.prose p, .prose li { max-width: 36em; color: var(--soft); } /* about 75 characters a line */
.prose p { margin-top: 14px; }
.prose ul { margin-top: 12px; padding-left: 1.25em; list-style: disc; }
.prose li { margin-top: 8px; padding-left: 4px; }
.prose li::marker { color: var(--faint); }
.prose strong { color: var(--white); font-weight: 600; }
.prose a { padding-block: 12px; text-decoration: underline; text-decoration-color: rgba(56, 189, 248, 0.4); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: currentColor; }
.prose .callout { max-width: calc(36em + 42px); margin-top: 28px; padding: 18px 20px; border: 1px solid var(--kicker-line); border-radius: 14px; background: rgba(56, 189, 248, 0.05); }
.prose .callout p { max-width: none; margin: 0; color: var(--text); }

.not-found { display: grid; place-items: center; min-height: calc(100vh - var(--header) - 260px); padding-block: 80px; text-align: center; }
.not-found h1 { font-size: clamp(2.4rem, 1.5rem + 3vw, 3.6rem); }
.not-found p { margin-top: 14px; color: var(--soft); }
.not-found .hero-actions { justify-content: center; }

/* No motion: hover lifts and zooms stay put. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; }
  .ex-item:hover, .btn:hover { transform: none; }
}

/* ------------------------------------------------------ updates & roadmap */
/* /updates and /roadmap (changes.js): a timeline of what changed, and a board of what's shipped, next and planned.
   Statuses use sky, soft and muted: red and green stay for price moves. */
.cl-wrap { width: min(100% - 2 * var(--gutter), 880px); margin-inline: auto; padding-block: clamp(40px, 6vw, 72px) clamp(64px, 8vw, 104px); }
.cl-wrap.cl-wide { width: min(100% - 2 * var(--gutter), var(--wrap)); }
.cl-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 24px; }
.cl-head .kicker { margin-bottom: 14px; }
.cl-switch { display: flex; gap: 8px; }
.ex-tab[aria-current="page"], .ex-tab[aria-pressed="true"] {
  border-color: var(--sky); background: rgba(56, 189, 248, 0.12); color: var(--white);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.25), 0 8px 24px -14px rgba(56, 189, 248, 0.8);
}
.ex-tab[aria-pressed="true"] span { background: rgba(56, 189, 248, 0.2); color: var(--kicker); }
.cl-lede { max-width: 46em; margin-top: 18px; }
.cl-lede a { color: var(--sky); text-decoration: underline; text-decoration-color: rgba(56, 189, 248, 0.4); text-underline-offset: 3px; }
.cl-lede a:hover { text-decoration-color: currentColor; }
.cl-filters { flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.cl-item[hidden], .cl-day[hidden], .rm-item[hidden] { display: none; }

.cl-list { margin-top: 34px; }
.cl-day { position: relative; padding: 0 0 34px 30px; }
.cl-day::before { content: ""; position: absolute; left: 5px; top: 14px; bottom: 0; width: 1px; background: var(--line-strong); }
.cl-day:last-child { padding-bottom: 0; }
.cl-day:last-child::before { bottom: auto; height: 0; }
.cl-day h2 { position: relative; color: var(--white); font-size: 1.05rem; letter-spacing: -0.01em; }
.cl-day h2::before { content: ""; position: absolute; left: -30px; top: 0.36em; width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--sky); background: var(--bg); box-sizing: border-box; }
.cl-day:first-child h2::before, .cl-day.is-first h2::before { background: var(--sky); }
.cl-item { margin-top: 14px; padding: 16px 20px 18px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--panel); }
.cl-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.cl-item h3 { margin-top: 10px; color: var(--white); font-size: 1.12rem; letter-spacing: -0.01em; }
.cl-item ul { margin-top: 8px; padding-left: 1.2em; list-style: disc; }
.cl-item li, .cl-item p { max-width: 36em; } /* about 75 characters a line */
.cl-item li { margin-top: 6px; color: var(--soft); line-height: 1.55; }
.cl-item li::marker { color: var(--faint); }
.cl-none { margin-top: 24px; color: var(--muted); }

/* The roadmap: one list per status, picked on the track (changes.js). A row's dot is its area's colour, as in the filters.
   Without JavaScript: every list shows. */
.rm-page { --rm-portal: #2DD4BF; --rm-website: #60A5FA; --rm-data: #C084FC; --rm-bot: #FB923C; --rm-accounts: #F472B6; }
.rm-stop, .cl-filters .ex-tab { --c: var(--sky); }
.rm-page [data-area="portal"] { --c: var(--rm-portal); }
.rm-page [data-area="website"] { --c: var(--rm-website); }
.rm-page [data-area="data"] { --c: var(--rm-data); }
.rm-page [data-area="bot"] { --c: var(--rm-bot); }
.rm-page [data-area="accounts"] { --c: var(--rm-accounts); }
.rm-page .cl-filters .ex-tab:not([data-area="all"])::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--c); }

/* The track: the four stretches of the road, in order. */
.js .rm-track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 22px; padding: 6px; border: 1px solid var(--line-strong); border-radius: 16px; background: rgba(255, 255, 255, 0.02); }
.rm-leg {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 8px 12px;
  border: 0; border-radius: 11px; background: none; color: var(--muted); font: inherit; cursor: pointer; transition: background-color 0.2s, color 0.2s;
}
.rm-leg b { color: var(--soft); font-weight: 600; font-size: 0.98rem; }
.rm-leg > span { min-width: 26px; padding: 1px 8px; border-radius: 99px; background: rgba(255, 255, 255, 0.07); font-size: 0.78rem; font-weight: 600; text-align: center; }
.rm-leg:hover { background: rgba(255, 255, 255, 0.04); }
.rm-leg[aria-selected="true"] { background: rgba(56, 189, 248, 0.1); box-shadow: inset 0 0 0 1px rgba(56, 189, 248, 0.4); }
.rm-leg[aria-selected="true"] b { color: var(--white); }
.rm-leg[aria-selected="true"] > span { background: rgba(56, 189, 248, 0.2); color: var(--kicker); }
.rm-leg:focus-visible { outline: 2px solid var(--sky); outline-offset: 2px; }
/* Each status's mark: done, being built, on the list, looking into it. */
.rm-mark { position: relative; flex: none; width: 18px; height: 18px; border-radius: 50%; box-sizing: border-box; }
.rm-mark.shipped { background: var(--soft); }
.rm-mark.shipped::after { content: ""; position: absolute; left: 6px; top: 3.5px; width: 4px; height: 8px; border: solid var(--bg); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.rm-mark.next { background: var(--sky); }
.rm-mark.next::after { content: ""; position: absolute; left: 7px; top: 5px; border: 4px solid transparent; border-left: 6px solid var(--bg); border-right: 0; }
.rm-mark.planned { border: 2px solid var(--sky); }
.rm-mark.exploring { border: 2px dashed var(--muted); }

/* A list: its heading, then a rail of rows (each a dot, the title and one line). */
.rm-road { margin-top: 28px; }
.rm-stage + .rm-stage { margin-top: 40px; }
.js .rm-stage { display: none; }
.js .rm-road[data-show="shipped"] [data-status="shipped"], .js .rm-road[data-show="next"] [data-status="next"],
.js .rm-road[data-show="planned"] [data-status="planned"], .js .rm-road[data-show="exploring"] [data-status="exploring"] { display: block; }
.rm-stage-head h2 { display: flex; align-items: center; gap: 10px; color: var(--white); font-size: 1.2rem; }
.rm-stage-head p { margin-top: 4px; color: var(--muted); font-size: 0.92rem; }
.rm-count { min-width: 28px; padding: 1px 9px; border-radius: 99px; background: rgba(255, 255, 255, 0.07); color: var(--muted); font-size: 0.78rem; font-weight: 600; text-align: center; }
.rm-stops { position: relative; margin: 18px 0 0; padding: 0; list-style: none; }
.rm-stops::before { content: ""; position: absolute; left: 4px; top: 14px; bottom: 14px; width: 1px; background: var(--line-strong); }
.rm-stop { position: relative; display: flex; align-items: baseline; gap: 12px; padding: 0 0 0 28px; }
.rm-stop[hidden] { display: none; }
.rm-dot { position: absolute; left: 0; top: 17px; width: 9px; height: 9px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 4px var(--bg); }
.rm-row, .rm-more { flex: 1; min-width: 0; }
.rm-row, .rm-more summary {
  display: grid; grid-template-columns: minmax(0, 15em) minmax(0, 1fr); align-items: baseline; gap: 2px 18px; padding: 11px 0; list-style: none;
}
.rm-more summary { cursor: pointer; padding-right: 22px; position: relative; }
.rm-more summary::-webkit-details-marker { display: none; }
.rm-more summary::after {
  content: ""; position: absolute; right: 4px; top: 17px; width: 7px; height: 7px; border: solid var(--muted); border-width: 0 2px 2px 0;
  transform: rotate(45deg); transition: transform 0.2s;
}
.rm-more[open] summary::after { transform: rotate(-135deg); top: 20px; }
.rm-more summary:hover b { color: var(--white); }
.rm-more summary:focus-visible { outline: 2px solid var(--c); outline-offset: 2px; border-radius: 6px; }
.rm-area { grid-column: 1 / -1; color: var(--c); font-size: 0.74rem; font-weight: 600; }
.rm-row b, .rm-more summary b { color: var(--text); font-size: 1rem; font-weight: 600; line-height: 1.35; }
.rm-line { color: var(--muted); font-size: 0.92rem; line-height: 1.5; }
.rm-date { flex: none; color: var(--muted); font-size: 0.82rem; white-space: nowrap; }
.rm-more-body { padding: 0 0 12px; }
.rm-more-body ul { padding-left: 1.15em; list-style: disc; }
.rm-more-body li { margin-top: 4px; color: var(--soft); font-size: 0.9rem; line-height: 1.5; }
.rm-more-body li::marker { color: var(--c); }
.rm-note { margin-top: 6px; color: var(--kicker); font-size: 0.85rem; }
.rm-empty { margin-top: 18px; color: var(--muted); }

@media (max-width: 699px) {
  .cl-switch { width: 100%; }
  .cl-switch .ex-tab { flex: 1; justify-content: center; }
  .cl-day { padding-left: 24px; }
  .cl-day h2::before { left: -24px; }
  .cl-item { padding: 14px 16px 16px; }
  .js .rm-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rm-leg { min-height: 46px; }
  .rm-row, .rm-more summary { grid-template-columns: minmax(0, 1fr); }
  .rm-stop { flex-wrap: wrap; gap: 0 12px; padding-left: 24px; }
  .rm-date { order: -1; width: 100%; padding-top: 10px; margin-bottom: -6px; }
}

/* SITE-66: touch hit areas on the home page (44px minimum), same look. Inline links grow by padding, which does not move the text. */
.hero-note a, .bot-soon a, .faq-item p a { padding-block: 13px; }
.footer-nav a { padding-inline: 2px; margin-inline: -2px; }
@media (pointer: coarse) {
  .site-header .brand { padding-block: 5px; }
}

/* site-305 (owner's pick: /commands footer B): a one-line footer under the chat. Hidden unless the flag is on. */
.chat-foot { display: none; }
html[data-flag-site-305] .chat-foot { flex: none; display: flex; gap: 16px; align-items: center; justify-content: center; height: 40px; font-size: 0.75rem; color: var(--muted, #8a8f98); border-top: 1px solid rgba(255,255,255,.08); }
html[data-flag-site-305] .chat-foot a { color: inherit; }
html[data-flag-site-305] .chat-foot a:hover { text-decoration: underline; }

/* site-304 (/commands carries the shared footer, option A): the page scrolls past the chat instead of locking. Hidden unless the flag is on; it is the alternative to site-305's one-line footer, the owner turns on one of the two; if both are on, site-305 (his pick) wins. */
.cmd-footer { display: none; }
html[data-flag-site-304-commands-footer]:not([data-flag-site-305]) .cmd-footer { display: block; }
html[data-flag-site-304-commands-footer]:not([data-flag-site-305]) body.chat-page { height: auto; min-height: 100vh; min-height: 100dvh; overflow: visible; }
html[data-flag-site-304-commands-footer]:not([data-flag-site-305]) .chat-page .chat { flex: none; height: calc(100vh - var(--header)); height: calc(100dvh - var(--header)); }

/* site-648 (lighter header logo, option B): void-app-lite.svg sits beside the others in the header markup; the flag picks it. Void Portal is the default logo. The legacy ones are lazy and display:none, so they are not fetched. */
.logo-std, .logo-lite { display: none; }
html[data-flag-site-648-logos] .logo-portal { display: none; }
html[data-flag-site-648-logos] .logo-lite { display: block; }

/* site-327 (sentence case): both spellings are in the markup; the flag picks which one shows. */
.sc-on { display: none; }
html[data-flag-site-327-sentence-case] .sc-off { display: none; }
html[data-flag-site-327-sentence-case] .sc-on { display: inline; }

/* lost-routes (review 2026-11-19): the 404 page's recovery for a stale market or research link; off, the old words. */
html:not([data-flag-lost-routes="on"]) .lr-on, html[data-flag-lost-routes="on"] .lr-off { display: none; }
/* polish: the longer lead keeps a reading measure, and home is the quiet third way out, a link rather than a third button. */
.not-found p.lr-on { max-width: 36em; margin-inline: auto; }
.not-found .lr-home { align-self: center; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.not-found .lr-home:hover, .not-found .lr-home:focus-visible { color: var(--text); }
/* Three ways out wrap on a phone: the two buttons share a row each, the home link sits under them; no sideways scroll. */
html[data-flag-lost-routes="on"] .not-found .hero-actions { flex-wrap: wrap; }
@media (max-width: 560px) {
  html[data-flag-lost-routes="on"] .not-found .hero-actions { flex-direction: column; align-items: stretch; }
  html[data-flag-lost-routes="on"] .not-found .hero-actions .btn { justify-content: center; }
}

/* portal-accounts (Sign in with Discord): text that is true only once the Portal offers sign-in. It carries `hidden`, so
   with the flag off it never shows (nor counts as shown); the flag shows it, and hides the guest-only words. */
html[data-flag-portal-accounts] li[data-acct][hidden] { display: list-item; }
html[data-flag-portal-accounts] span[data-acct][hidden] { display: inline; }
html[data-flag-portal-accounts] :is(h2, ul)[data-acct][hidden] { display: block; }
html[data-flag-portal-accounts] [data-acct-off] { display: none; }
/* account-vault and journal-sync (docs/decisions/2026-10-27-account-data-protection.md): the same, for text true only
   once accounts are sealed, and once the trade journal is kept with the account. */
html[data-flag-account-vault] li[data-vault][hidden] { display: list-item; }
html[data-flag-account-vault] span[data-vault][hidden] { display: inline; }
html[data-flag-account-vault] [data-vault-off] { display: none; }
html[data-flag-account-vault] :is(li, span)[data-acct][data-vault-off] { display: none; } /* outranks the portal-accounts rules above */
html[data-flag-journal-sync] li[data-journal][hidden] { display: list-item; }
html[data-flag-journal-sync] span[data-journal][hidden] { display: inline; }
/* thesis-panel (docs/design/build-thesis/brief.md): true only once theses can be saved. */
html[data-flag-thesis-panel] li[data-thesis][hidden] { display: list-item; }
html[data-flag-research-sync] li[data-thesis-sync][hidden] { display: list-item; }
html[data-flag-research-sync] span[data-thesis-sync][hidden] { display: inline; }
html[data-flag-research-sync] span[data-thesis-sync-off] { display: none; }
/* research-terms (docs/design/research-terms/): the terms' research section, and the privacy lines that match it. The pages' dates move in the flip PR. */
html[data-flag-research-terms] li[data-research][hidden] { display: list-item; }
html[data-flag-research-terms] :is(h2, div)[data-research][hidden] { display: block; }

/* Void Portal is the brand (owner's pick): the header logo is void-portal.svg by default, the same as the footer. */
.logo-portal { display: block; }

/* Updates and Roadmap, touch only: the link in the intro reaches 44px (SITE-483; the tabs already do, site.css:644). Dark: only
   while the flag site-483 is on (flags.js sets html[data-flag-site-483]). */
@media (pointer: coarse) {
  html[data-flag-site-483] .cl-lede a { padding-block: 12px; }
}

/* inner-void-home (docs/design/inner-void-home/brief.md): The Inner Void's lessons in the site's header, menu and footer,
   only while the flag is on (flags.js sets html[data-flag-inner-void-home]). Off: the links are not shown. */
html:not([data-flag-inner-void-home]) .if-iv { display: none !important; }
/* In the phone menu the link says what it is, for a reader who has never heard the name. */
.if-iv .iv-sub { display: none; }
.nav-menu-panel .if-iv { display: grid; gap: 2px; }
.nav-menu-panel .if-iv .iv-sub { display: block; color: var(--muted); font-size: 13px; font-weight: 400; line-height: 1.35; white-space: nowrap; }
/* /assets/css/home-story.css */
/* The home page's Portal story (docs/design/home-portal-story/brief.md, look B "Window"). Loaded after site.css, only
   by index.html. Brand kit v7: background 43 Teal Veil drawn as linear washes, the master Void O, no glows, no
   gradient text, nothing that loops. Motion: the mark turns in once (900 ms), the Portal window enters once (T1,
   240 ms), tabs cross-fade (T9, 200 ms); all of it is still with reduced motion. */
@property --hs-sweep { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

.home-story {
  --hs-plate: #101C25;
  --hs-line: rgba(186, 230, 253, 0.14);
  --hs-white: #F2F2EF;
  --hs-ease: cubic-bezier(0.23, 1, 0.32, 1);
}

/* The header's Portal button is drawn quiet here (ghost colours): the hero's is the page's one sky button. */
.home-story .btn-primary { box-shadow: none; }
.home-story .btn-primary:hover { box-shadow: none; transform: none; }
.home-story .nav .btn-primary { border-color: rgba(56, 189, 248, 0.45); background: rgba(56, 189, 248, 0.06); color: var(--sky); }
.home-story .nav .btn-primary:hover { border-color: var(--sky); background: rgba(56, 189, 248, 0.12); color: var(--sky-hover); }
.home-story .nav .btn-primary .live-dot.dark { background: var(--sky); }
.home-story .btn-ghost:hover { transform: none; }
/* The header's live dot sits still here: the page's motion is the mark and the window, once. */
.home-story .live-dot, .home-story .live-dot:not(.dark) { box-shadow: none; animation: none; }

/* ----------------------------------------------------------------- hero */
.hs-hero {
  background: linear-gradient(160deg, #061116 0%, #071A1F 45%, #061116 100%);
  padding-block: 72px 80px;
}
.hs-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.hs-copy { min-width: 0; }
.hs-hero h1 { margin: 0; color: var(--hs-white); font: 700 64px/1.04 var(--font); letter-spacing: -0.025em; text-wrap: balance; }
.hs-brandline { margin: 14px 0 0; color: var(--sky); font: 600 21px/1.3 var(--font); }
.hs-lede { margin: 18px 0 0; max-width: 56ch; color: var(--soft); font-size: 17px; line-height: 1.6; }
.hs-act { margin-top: 28px; }
.hs-cta { min-height: 52px; padding-inline: 26px; font-size: 17px; gap: 10px; }
.hs-cta svg { width: 18px; height: 18px; }
.hs-note { margin: 12px 0 0; color: var(--muted); font-size: 15px; }

/* A reading: what it is, the figure out of its whole, what it counts, then its source and time. */
.hs-proof { margin: 36px 0 0; border-top: 1px solid var(--hs-line); }
.hs-reading { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); column-gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--hs-line); }
.hs-reading dt { grid-column: 2; color: var(--muted); font: 600 12px/1.4 var(--mono); letter-spacing: 0.06em; }
.hs-reading dd { margin: 0; grid-column: 2; }
.hs-reading .hs-fig { grid-column: 1; grid-row: 1 / span 3; align-self: center; color: var(--hs-white); font: 600 20px/1.2 var(--mono); font-variant-numeric: tabular-nums; }
.hs-reading .hs-fig small { color: var(--muted); font-size: 14px; font-weight: 400; }
.hs-reading .hs-fig:empty::before { content: "–"; color: var(--muted); }
.hs-what { color: var(--soft); font-size: 14px; line-height: 1.45; }
.hs-src { color: var(--muted); font: 400 12px/1.4 var(--mono); }
.hs-up { color: #34D399; }
.hs-down { color: #F43F5E; }

/* --------------------------------------------------------------- window */
.hs-window { min-width: 0; border: 1px solid var(--hs-line); border-radius: var(--radius); overflow: hidden; background: var(--hs-plate); }
.hs-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--hs-line); color: var(--muted); font: 400 13px/1 var(--mono); }
.hs-mark { width: 22px; height: 22px; }
.hs-tabs { display: flex; gap: 4px; padding: 6px; border-bottom: 1px solid var(--hs-line); }
.hs-tab {
  flex: 1 1 0; min-width: 0; min-height: 44px; padding: 10px 8px; border: 0; border-radius: var(--radius-sm); background: transparent;
  color: var(--muted); font: 600 15px/1.2 var(--font); cursor: pointer;
}
.hs-tab:hover { color: var(--soft); }
.hs-tab[aria-selected="true"] { background: rgba(56, 189, 248, 0.12); color: var(--hs-white); }
.hs-tab:focus-visible { outline: 2px solid var(--sky); outline-offset: -2px; }
.hs-shot { display: block; }
.hs-shot video, .hs-shot img { display: block; width: 100%; height: auto; aspect-ratio: 1108 / 642; object-fit: cover; object-position: top left; }
.hs-cap { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 16px; border-top: 1px solid var(--hs-line); }
.hs-cap p { margin: 0; color: var(--soft); font-size: 15px; line-height: 1.5; }
.hs-more { flex: none; padding-block: 10px; color: var(--sky); font-weight: 600; text-decoration: none; }
.hs-more:hover { color: var(--sky-hover); text-decoration: underline; }

/* ------------------------------------------------------------------ faq */
.hs-faq { border-top: 1px solid var(--hs-line); padding-block: 72px; }
.hs-faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 48px; }
.hs-faq h2 { margin: 0; color: var(--hs-white); font: 700 34px/1.15 var(--font); letter-spacing: -0.015em; }
.hs-faq details { border-bottom: 1px solid var(--hs-line); padding-block: 18px; }
.hs-faq summary { color: var(--hs-white); font-weight: 600; cursor: pointer; }
.hs-faq summary:focus-visible { outline: 2px solid var(--sky); outline-offset: 4px; border-radius: 4px; }
.hs-faq details p { margin: 10px 0 0; max-width: 60ch; color: var(--soft); line-height: 1.6; }

/* ------------------------------------------------------------------ bot */
.hs-bot { border-top: 1px solid var(--hs-line); padding-block: 40px; }
.hs-bot-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.hs-bot p { margin: 0; color: var(--soft); }
.hs-bot strong { color: var(--hs-white); }
.hs-bot-links { display: flex; gap: 24px; flex-wrap: wrap; }
.hs-bot-links a { padding-block: 12px; color: var(--sky); font-weight: 600; text-decoration: none; }
.hs-bot-links a:hover { color: var(--sky-hover); text-decoration: underline; }

/* --------------------------------------------------------------- motion */
@media (prefers-reduced-motion: no-preference) {
  .hs-mark {
    -webkit-mask: conic-gradient(#000 var(--hs-sweep), transparent 0);
    mask: conic-gradient(#000 var(--hs-sweep), transparent 0);
    animation: hs-sweep 900ms var(--hs-ease) 120ms both;
  }
  .hs-window { animation: hs-enter 240ms var(--hs-ease) 200ms both; }
  .hs-tab { transition: background-color 200ms var(--hs-ease), color 200ms var(--hs-ease); }
  .hs-pane.is-in { animation: hs-fade 200ms var(--hs-ease) both; }
}
@keyframes hs-sweep { from { --hs-sweep: 0deg; } to { --hs-sweep: 360deg; } }
@keyframes hs-enter { from { opacity: 0; transform: scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes hs-fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------------------------------------------------------------- phone */
@media (max-width: 900px) {
  .hs-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
}
@media (max-width: 640px) {
  .hs-hero { padding-block: 36px 48px; }
  .hs-hero h1 { font-size: 42px; }
  .hs-brandline { font-size: 19px; }
  .hs-lede { font-size: 16px; }
  .hs-cta { display: flex; width: 100%; justify-content: center; }
  .hs-reading { grid-template-columns: minmax(0, 1fr); }
  .hs-reading .hs-fig { grid-column: 1; grid-row: auto; }
  .hs-reading dt, .hs-reading dd { grid-column: 1; }
  .hs-reading dt { order: -1; }
  .hs-tab { font-size: 14px; padding-inline: 4px; }
  .hs-cap { flex-direction: column; align-items: flex-start; gap: 4px; }
  .hs-faq { padding-block: 48px; }
  .hs-faq-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .hs-faq h2 { font-size: 27px; }
}
/* /assets/css/motion-journey.css */
/* motion-journey (docs/design/motion-journey/brief.md): the home page and the Portal's gate. The Void O carries from one
   page to the other in browsers with cross-document view transitions (motion-journey.js skips the transition while
   the flag is off, so the pages load as before); the orbit O shows while the gate waits on a slow session; live
   figures change on the T14 timing. Reduced motion: no transition, a still orbit, no tint. */

@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}
::view-transition-group(root) { animation-duration: 160ms; animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1); }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 160ms; animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1); }
::view-transition-group(void-o) { animation-duration: 280ms; animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1); }
/* The new page names its O itself: a transition only reaches it when the old page let one through. */
html:active-view-transition :is(.hs-mark, .gate-o) { view-transition-name: void-o; }

/* The orbit O (from the Embassy's void.gif idea, drawn in CSS): a dark core and two rings that turn on two axes while
   the gate waits, at most 4 turns, then rest as the O's ring. entry.js adds it after 300 ms of waiting. */
.vo-orbit { position: fixed; inset: 0; z-index: 210; display: grid; place-content: center; justify-items: center; gap: 16px; pointer-events: none; }
.vo-mark { position: relative; width: 88px; height: 88px; perspective: 400px; }
.vo-core { position: absolute; inset: 22%; border-radius: 50%; background: #05090d; box-shadow: inset 0 0 0 1px rgba(186, 230, 253, 0.14); }
.vo-ring { position: absolute; inset: 6%; border: 2px solid rgba(242, 242, 239, 0.92); border-radius: 50%; }
.vo-ring + .vo-ring { border-color: rgba(56, 189, 248, 0.9); opacity: 0; }
.vo-label { color: var(--muted, #94A3B8); font: 500 0.8rem/1.4 var(--mono, ui-monospace, monospace); letter-spacing: 0.04em; }
@media (prefers-reduced-motion: no-preference) {
  .vo-orbit { animation: vo-in 180ms cubic-bezier(0.23, 1, 0.32, 1) both; }
  .vo-ring { animation: vo-turn-a 1.2s linear 4; }
  .vo-ring + .vo-ring { opacity: 1; animation: vo-turn-b 1.2s linear 4, vo-rest 180ms cubic-bezier(0.23, 1, 0.32, 1) 4.8s forwards; }
}
@keyframes vo-in { from { opacity: 0; } }
@keyframes vo-turn-a { 50% { transform: rotateY(180deg) rotateX(20deg); } to { transform: rotateY(360deg); } }
@keyframes vo-turn-b { 50% { transform: rotateX(180deg) rotateY(25deg); } to { transform: rotateX(360deg); } }
@keyframes vo-rest { to { opacity: 0; } }

/* A live figure that changed (pulse.js on home and the gate): T14's 240 ms instead of 1.1 s and 0.7 s. */
html[data-flag-motion-journey="on"] .odo-s { transition-duration: 300ms, 240ms; }
@media (prefers-reduced-motion: no-preference) {
  html[data-flag-motion-journey="on"] .flash-up { animation: flash-up 240ms cubic-bezier(0.23, 1, 0.32, 1); }
  html[data-flag-motion-journey="on"] .flash-down { animation: flash-down 240ms cubic-bezier(0.23, 1, 0.32, 1); }
}
/* Reduced motion means no motion: site.css stops transitions, this stops keyframe animations too. */
@media (prefers-reduced-motion: reduce) {
  html[data-flag-motion-journey="on"] *, html[data-flag-motion-journey="on"] *::before, html[data-flag-motion-journey="on"] *::after { animation: none !important; }
}
/* /assets/css/home-clarity.css */
/* Clarity on the home page, "Announce + launch strip" (docs/design/clarity/brief.md). Loaded after site.css and
   home-story.css.
   Every selector names a .clarity- class (the header rules are scoped by .nav-links:has(.clarity-nav)), so with the
   clarity flag off (no Clarity markup on the page) nothing here matches and the home page renders as main does.
   Hover lives in @media (hover: hover) blocks only (studio P-in-01); focus-visible twins sit beside the base rules.
   Void's own tokens (--wrap, --gutter, --font, --mono, --muted, --soft) carry the page; Clarity's Frost Ice palette
   (docs/design/clarity/brief.md) colours only the Clarity parts.
   Contrast, measured with contrast.py on the painted ground under each line of text (measured on the mock: hide
   every glyph, take the brightest ground pixel under the words): the lowest
   pairs are dim #93A3B8 on the foot #121C26 6.70:1 and the lede #B9C6D6 on #15283C 8.65:1 (390 wide).
   Motion (once each, transform and opacity only, still under reduced motion, nothing hidden at rest):
     chip   the fan opens 480 ms; one light pass 100 ms + 500 ms = 600 ms
     deck   the three covers deal from one stack into the cascade, 560 ms + 2 x 40 ms = 640 ms
     row    the cards slide in 48 px, 420 ms plus 30 ms per card's place, the stagger capped at 180 ms, so 600 ms at
            most however many cards the row holds (they are drawn the whole time)
   Nothing loops, nothing autoplays. */

@font-face { font-family: "Michroma"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/michroma-400.woff2") format("woff2"); }

.clarity-nav, .clarity-menu, .clarity-chip, .clarity-strip {
  --clarity-ground: #0A0E15;
  --clarity-navy: #132440;
  --clarity-panel: #0E1622;
  --clarity-frame: rgba(143, 227, 255, 0.16);
  --clarity-ink: #EAF2F8;   /* 14.0:1 on the h2's ground #122337, 16.0:1 on the card #0E1622, 14.5:1 in the chip */
  --clarity-soft: #B9C6D6;  /* 8.7:1 on the lede's ground #15283C, 10.5:1 on #0E1622 */
  --clarity-dim: #93A3B8;   /* 6.7:1 on the foot's ground #121C26 */
  --clarity-ice: #8FE3FF;   /* 11.2:1 on #122237, 9.6:1 inside the outline button #192F41, 12.6:1 on #0E1622 */
  --clarity-ice-hi: #C4F1FF;
  --clarity-blue: #3F7BFF;
  --clarity-on-ice: #06121C; /* 13.1:1 on ice */
  --clarity-ease: cubic-bezier(0.23, 1, 0.32, 1);
}

/* ------------------------------------------------------------------ the "New" pill */
.clarity-new {
  display: inline-flex; align-items: center; flex: none; padding: 2px 8px; border-radius: 999px;
  background: var(--clarity-ice); color: var(--clarity-on-ice); font: 700 12px/1.3 var(--font); letter-spacing: 0;
}

/* --------------------------------------------------------------------------- nav */
/* "Clarity" in the nav's own link colour; the pill alone is ice (one accent in the row). */
.nav-links .clarity-nav { display: inline-flex; align-items: center; gap: 8px; }
/* The header keeps its row at every width it shows one today (720 up): the links and the filled "Open the Portal"
   stay in view on tablets, as on /commands and /updates. The fold into the menu at 720 to 900 is the owner's call
   (brief, "Where it is shown", amendment 2026-11-01); if he picks it, it is alt-header-fold.css, added after this file.
   At 960 and below the row is tight (measured on the mock), so there the pill steps out of sight ("New"
   stays in the link's accessible name) and the links take 9 px sides instead of 14. The nav is then 450 wide against
   451 (443 + its 8 px margin) without Clarity, so the logo stays whole down to 807 wide (808 without Clarity), and
   below that it narrows within 1 px of how it narrows today without Clarity (site.css, not this file). */
@media (max-width: 960px) {
  .nav-links .clarity-nav { gap: 0; }
  .nav-links .clarity-nav .clarity-new {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
    clip-path: inset(50%); white-space: nowrap;
  }
  .nav-links:has(.clarity-nav) { gap: 2px; margin-right: 0; }
  .nav-links:has(.clarity-nav) a { padding-inline: 9px; }
}

/* ------------------------------------------------------------------ phone menu */
.nav-menu-panel .clarity-menu { display: grid; gap: 2px; }
.clarity-menu-row { display: inline-flex; align-items: center; gap: 8px; }
.clarity-menu-sub { color: var(--muted); font-size: 13px; font-weight: 400; line-height: 1.35; white-space: nowrap; } /* 7.1:1 on #0D1720 */

/* ------------------------------------------------------------- hero announcement */
/* An ice-rimmed pill above the headline: the band's three covers fanned like a hand of cards, "New", what it is. */
.clarity-chip {
  position: relative; display: inline-flex; align-items: center; gap: 10px; max-width: 100%;
  min-height: 56px; margin: 0 0 28px; padding: 6px 18px 6px 12px; border: 1px solid transparent; border-radius: 999px;
  background:
    linear-gradient(180deg, #0E1E2A, #0A1620) padding-box,
    linear-gradient(100deg, rgba(196, 241, 255, 0.95), rgba(63, 123, 255, 0.6) 48%, rgba(143, 227, 255, 0.28)) border-box;
  color: var(--clarity-ink); font: 600 15px/1.3 var(--font); text-decoration: none;
}
.clarity-chip:focus-visible { outline: 2px solid var(--clarity-ice); outline-offset: 3px; }
/* One pass of light across the chip: a band that moves (transform) inside a layer clipped to the pill. */
.clarity-sweep { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; pointer-events: none; }
.clarity-sweep::before {
  content: ""; position: absolute; inset: 0; opacity: 0;
  background: linear-gradient(105deg, transparent 38%, rgba(233, 251, 255, 0.3) 50%, transparent 62%);
}
.clarity-fan { position: relative; flex: none; width: 78px; height: 42px; }
.clarity-thumb {
  position: absolute; left: 13px; top: 6px; width: 52px; aspect-ratio: 16 / 9; overflow: hidden;
  border: 1px solid rgba(143, 227, 255, 0.55); border-radius: 5px; background: #0B1626;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.55); transform-origin: 50% 140%;
}
.clarity-thumb img { display: block; width: 100%; height: 100%; }
.clarity-thumb:nth-child(1) { transform: translateX(-9px) rotate(-12deg); }
.clarity-thumb:nth-child(2) { transform: translateX(0) rotate(-2deg); }
.clarity-thumb:nth-child(3) { transform: translateX(9px) rotate(8deg); }
.clarity-chip-text { min-width: 0; text-wrap: balance; }
.clarity-chip-arrow { flex: none; width: 18px; height: 18px; color: var(--clarity-ice); }

/* ------------------------------------------------------------------- the strip */
.clarity-strip {
  position: relative; isolation: isolate; overflow: hidden; padding-block: 64px 40px;
  border-top: 1px solid rgba(143, 227, 255, 0.12);
  background:
    linear-gradient(112deg, rgba(143, 227, 255, 0) 50%, rgba(143, 227, 255, 0.05) 66%, rgba(143, 227, 255, 0) 82%),
    linear-gradient(180deg, #0B1724 0%, #102036 34%, #0C1828 66%, var(--clarity-ground) 100%);
}
/* The horizon the section opens on: a hairline of ice, brightest over the deck. */
.clarity-strip::before {
  content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent 18%, rgba(196, 241, 255, 0.85) 66%, transparent 96%);
}
.clarity-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: 24px 40px; }
.clarity-intro { position: relative; z-index: 2; min-width: 0; }
.clarity-logo { display: block; width: 300px; height: auto; margin-bottom: 26px; }
.clarity-strip h2 {
  margin: 0; color: var(--clarity-ink); font: 700 44px/1.08 var(--font); letter-spacing: -0.024em; text-wrap: balance;
}
/* The second line in solid ice: the home hero's sky brand line, in Clarity's colour (no gradient text). */
.clarity-h2-line { display: block; color: var(--clarity-ice); }
.clarity-lede { margin: 18px 0 0; max-width: 46ch; color: var(--clarity-soft); font-size: 18px; line-height: 1.55; }
.clarity-act { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.clarity-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 22px;
  border: 1px solid transparent; border-radius: 12px; font: 600 16px/1.2 var(--font); white-space: nowrap; text-decoration: none;
}
.clarity-btn svg { flex: none; width: 18px; height: 18px; }
.clarity-btn-ice { background: var(--clarity-ice); color: var(--clarity-on-ice); }
.clarity-btn-line { border-color: rgba(143, 227, 255, 0.42); background: rgba(143, 227, 255, 0.05); color: var(--clarity-ice); }
.clarity-btn:focus-visible, .clarity-arrow:focus-visible { outline: 2px solid var(--clarity-ice); outline-offset: 3px; }

/* ---------------------------------------------------------------- the launch stage */
/* Three covers dealt in a cascade, front to back: Trend, Levels, Liquidity. Each card behind sits lower and to the
   right, far enough that its gradient title shows under the one in front; the cascade stands over a candle-city
   horizon and is lit by a blurred copy of the same art. Sizes are in cqw (the stage's own width). The stage runs on
   toward the window's right edge (at most 130 px past the wrap, so wide screens do not grow the band). */
.clarity-stage {
  --deck-x: 3cqw; --deck-y: 3cqw; --deck-w: 64cqw; --city-l: -41cqw; --city-b: -16cqw;
  position: relative; container-type: inline-size; aspect-ratio: 1.59;
  margin-right: calc(-1 * min(130px, max(var(--gutter), (100vw - var(--wrap)) / 2)));
  perspective: 1700px; perspective-origin: 18% 20%;
}
.clarity-ambient {
  position: absolute; z-index: 0; max-width: none; pointer-events: none;
  left: calc(var(--deck-x) - 0.25 * var(--deck-w)); top: calc(var(--deck-y) - 0.125 * var(--deck-w));
  width: calc(2 * var(--deck-w)); height: auto; opacity: 0.9;
}
.clarity-city {
  position: absolute; z-index: 0; pointer-events: none;
  left: var(--city-l); bottom: var(--city-b); width: 170cqw; aspect-ratio: 1600 / 560;
  background: url("/assets/img/clarity/home/clarity-city.svg") 0 0 / 100% 100% no-repeat;
  /* Two masks, both must pass: the floor's reflection fades out downward, and nothing of the city reaches left of the
     stage (the words and buttons sit there; P-vs-10). */
  --city-in: calc(-1 * var(--city-l));
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 92%), linear-gradient(90deg, transparent var(--city-in), #000 calc(var(--city-in) + 16cqw));
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(180deg, #000 70%, transparent 92%), linear-gradient(90deg, transparent var(--city-in), #000 calc(var(--city-in) + 16cqw));
  mask-composite: intersect;
}
.clarity-deck {
  position: absolute; z-index: 1; left: var(--deck-x); top: var(--deck-y); width: var(--deck-w); aspect-ratio: 16 / 9;
  transform-style: preserve-3d; transform: rotateY(-13deg) rotateX(4deg) rotateZ(-0.5deg);
}
.clarity-deal {
  --i: 0;
  position: absolute; inset: 0; display: block; border-radius: 12px;
  transform: translate3d(calc(var(--i) * 24%), calc(var(--i) * 30% + var(--i) * var(--i) * 1%), calc(var(--i) * -60px)) rotateZ(calc(var(--i) * 1.2deg));
  box-shadow: 0 30px 50px -22px rgba(0, 0, 0, 0.92), 0 8px 18px rgba(0, 0, 0, 0.45);
}
.clarity-deal[data-i="1"] { --i: 1; }
.clarity-deal[data-i="2"] { --i: 2; }
.clarity-deal img { display: block; width: 100%; height: 100%; border-radius: inherit; }
/* Rim light: a 1px ice frame and a lit top edge on every card; a soft sheen on the front one. */
.clarity-deal::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(143, 227, 255, 0.42), inset 0 1px 0 rgba(233, 251, 255, 0.75);
}
.clarity-deal[data-i="0"]::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(120deg, rgba(234, 242, 248, 0.14) 0%, rgba(234, 242, 248, 0.03) 28%, rgba(234, 242, 248, 0) 44%);
}

/* ------------------------------------------------------------------- the row */
.clarity-row { position: relative; margin-top: 22px; }
/* The same light behind the row, faint, and a lit floor line under the cards. */
.clarity-row::before {
  content: ""; position: absolute; inset: -10% 0 0; pointer-events: none; opacity: 0.45;
  background: url("/assets/img/clarity/home/ambient.webp") 62% 40% / min(1500px, 140%) auto no-repeat;
}
.clarity-row::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 22px; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(143, 227, 255, 0.5) 50%, transparent);
}
.clarity-track {
  --clarity-pad: max(var(--gutter), calc((100% - var(--wrap)) / 2));
  --card-w: clamp(272px, 34vw, 480px);
  position: relative; z-index: 1; display: flex; gap: 22px; margin: 0; padding: 14px var(--clarity-pad) 38px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--clarity-pad);
  scrollbar-width: none; list-style: none;
}
.clarity-track::-webkit-scrollbar { display: none; }
.clarity-item { display: flex; flex: 0 0 var(--card-w); scroll-snap-align: start; }
.clarity-card {
  position: relative; display: flex; flex-direction: column; width: 100%; overflow: hidden;
  border: 1px solid var(--clarity-frame); border-radius: 18px;
  background: linear-gradient(180deg, #121F31 0%, var(--clarity-panel) 55%);
  box-shadow: 0 30px 50px -26px rgba(0, 0, 0, 0.95);
  color: var(--clarity-ink); text-decoration: none;
}
/* Light catching the card's top edge. */
.clarity-card::before {
  content: ""; position: absolute; top: 0; left: 10%; right: 10%; z-index: 2; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(233, 251, 255, 0.8), transparent);
}
/* Focus (here) and hover (in the hover block below): an ice gradient rim (opacity), the art zooms 1.04 inside its
   clipped frame; the card never moves. */
.clarity-card::after {
  content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0;
  background: linear-gradient(135deg, rgba(196, 241, 255, 0.95), rgba(63, 123, 255, 0.7) 50%, rgba(143, 227, 255, 0.35));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.clarity-card:focus-visible { color: var(--clarity-ink); outline: 2px solid var(--clarity-ice); outline-offset: 3px; }
.clarity-card:focus-visible::after { opacity: 1; }

/* The art: each cover's chart area, exported at full resolution by tools/clarity/home_assets.py (no logo row, no baked title). */
.clarity-art { position: relative; display: block; aspect-ratio: 2.15; overflow: hidden; background: #0B1626; }
.clarity-art img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: var(--op, 50%) 50%; }
.clarity-art::after {
  content: ""; position: absolute; inset: auto 0 0; height: 34%; pointer-events: none;
  background: linear-gradient(180deg, rgba(14, 22, 34, 0), rgba(14, 22, 34, 0.9));
}
/* Where each crop keeps its telling label when phones narrow it (Volume's POC tag, Structure's CHoCH, the level tags,
   the Zones tabs). */
.clarity-item[data-tool="momentum"], .clarity-item[data-tool="volume"], .clarity-item[data-tool="structure"] { --op: 0%; }
.clarity-item[data-tool="levels"], .clarity-item[data-tool="liquidity"], .clarity-item[data-tool="zones"], .clarity-item[data-tool="risk"] { --op: 100%; }

.clarity-meta { position: relative; display: grid; align-content: start; gap: 6px; padding: 14px 64px 22px 22px; }
.clarity-go { position: absolute; right: 20px; bottom: 22px; width: 20px; height: 20px; color: var(--clarity-ice); }
.clarity-start {
  margin-left: 4px; padding: 1px 8px; border: 1px solid rgba(143, 227, 255, 0.45); border-radius: 999px;
  color: var(--clarity-ice); font: 600 12px/1.4 var(--font);
}
.clarity-step { display: inline-flex; align-items: center; gap: 8px; color: var(--clarity-ice); font: 500 13px/1.4 var(--mono); }
.clarity-step::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.clarity-name { margin-top: 2px; color: var(--clarity-ink); font: 400 22px/1.25 "Michroma", var(--font); letter-spacing: 0; }
.clarity-q { color: var(--clarity-soft); font-size: 16px; line-height: 1.45; }

.clarity-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.clarity-fine { max-width: 72ch; margin: 0; color: var(--clarity-dim); font-size: 14px; line-height: 1.5; }
.clarity-arrows { display: flex; align-items: center; gap: 10px; }
.clarity-arrows[hidden] { display: none; }
.clarity-progress { position: relative; width: 140px; height: 2px; margin-right: 8px; overflow: hidden; border-radius: 2px; background: rgba(143, 227, 255, 0.2); }
.clarity-progress span { position: absolute; inset: 0 auto 0 0; width: var(--clarity-w, 40%); translate: var(--clarity-x, 0) 0; border-radius: 2px; background: var(--clarity-ice); }
.clarity-arrow {
  display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid rgba(143, 227, 255, 0.38);
  border-radius: 50%; background: rgba(143, 227, 255, 0.06); color: var(--clarity-ice); cursor: pointer;
}
.clarity-arrow:disabled { border-color: rgba(143, 227, 255, 0.16); color: var(--clarity-dim); cursor: default; }
.clarity-arrow svg { width: 18px; height: 18px; }

/* ------------------------------------------------------------------------- hover */
/* Hover only where the pointer can hover (studio P-in-01): on a phone a tapped card would otherwise keep its ice rim
   and zoomed art when the reader comes back with Back. The :focus-visible twins stay above, outside this block. */
@media (hover: hover) {
  .clarity-chip:hover { color: var(--clarity-ink); }
  .clarity-btn-ice:hover { background: var(--clarity-ice-hi); color: var(--clarity-on-ice); }
  .clarity-btn-line:hover { border-color: var(--clarity-ice); background: rgba(143, 227, 255, 0.1); color: var(--clarity-ice-hi); }
  .clarity-card:hover { color: var(--clarity-ink); }
  .clarity-card:hover::after { opacity: 1; }
  .clarity-arrow:hover:not(:disabled) { border-color: var(--clarity-ice); background: rgba(143, 227, 255, 0.12); }
}

/* ------------------------------------------------------------------------ motion */
/* home-clarity.js arms the deck and the row only when the strip starts below the fold and motion is allowed: the covers
   then wait in one stack and the cards 48 px to the right, all fully drawn, until the strip comes into view. */
.clarity-strip.is-armed:not(.is-in) .clarity-deal { transform: translate3d(0, 3%, calc(var(--i) * -12px)) rotateZ(calc(var(--i) * -2deg)); }
.clarity-strip.is-armed:not(.is-in) .clarity-deck { transform: rotateY(-26deg) rotateX(12deg) rotateZ(1.5deg) translate3d(4%, 8%, -60px); }
/* The card inside each item moves, never the item: the items are the row's snap points. */
.clarity-strip.is-armed:not(.is-in) .clarity-card { transform: translateX(48px); }
@media (prefers-reduced-motion: no-preference) {
  .clarity-sweep::before { animation: clarity-shine 500ms cubic-bezier(0.45, 0, 0.25, 1) 100ms both; }
  .clarity-thumb { animation: clarity-fan 480ms var(--clarity-ease) both; }
  .clarity-chip-arrow { transition: transform 200ms var(--clarity-ease); }
  .clarity-card::after { transition: opacity 200ms var(--clarity-ease); }
  .clarity-art img { transition: transform 360ms var(--clarity-ease); }
  .clarity-card:focus-visible .clarity-art img { transform: scale(1.04); }
  .clarity-go { transition: transform 200ms var(--clarity-ease); }
  .clarity-strip.is-in .clarity-deal { transition: transform 560ms var(--clarity-ease) calc(var(--i) * 40ms); }
  .clarity-strip.is-in .clarity-deck { transition: transform 560ms var(--clarity-ease); }
  /* --clarity-n is each item's place in the row (0, 1, 2 ...), set by home-clarity.js when it arms the strip, so the row
     takes any number of cards; the stagger stops growing after the sixth step. */
  .clarity-strip.is-in .clarity-card { transition: transform 420ms var(--clarity-ease) calc(min(var(--clarity-n, 0), 6) * 30ms); }
}
/* The moving parts of hover: only where the pointer can hover and motion is allowed. */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .clarity-chip:hover .clarity-chip-arrow { transform: translateX(3px); }
  .clarity-card:hover .clarity-art img { transform: scale(1.04); }
  .clarity-card:hover .clarity-go { transform: translateX(4px); }
}
@keyframes clarity-shine { 0% { opacity: 1; transform: translateX(-100%); } 100% { opacity: 1; transform: translateX(100%); } }
@keyframes clarity-fan { from { transform: none; } }

/* ------------------------------------------------------------------- narrower */
@media (max-width: 1180px) {
  .clarity-strip h2 { font-size: 40px; }
  .clarity-logo { width: 260px; }
}
/* One column below 1024: the stage on top, full width, then the words. */
@media (max-width: 1023px) {
  .clarity-strip { padding-block: 40px 48px; }
  .clarity-head { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .clarity-stage {
    --deck-x: 17cqw; --deck-y: 2cqw; --deck-w: 46cqw; --city-l: -33cqw; --city-b: -17cqw;
    order: -1; aspect-ratio: 2.3; margin-inline: calc(-1 * var(--gutter)); perspective-origin: 40% 20%;
  }
  .clarity-intro { max-width: 680px; }
}
@media (max-width: 900px) {
  .clarity-strip h2 { font-size: 38px; }
}
@media (max-width: 640px) {
  .clarity-chip { margin-bottom: 22px; padding-right: 14px; }
  .clarity-strip { padding-block: 28px 44px; }
  .clarity-stage { --deck-x: 4cqw; --deck-y: 3cqw; --deck-w: 62cqw; --city-l: -40cqw; --city-b: -17cqw; aspect-ratio: 1.6; }
  .clarity-deal { border-radius: 8px; }
  .clarity-logo { width: 210px; margin-bottom: 18px; }
  .clarity-strip h2 { font-size: 30px; line-height: 1.12; }
  .clarity-lede { margin-top: 12px; font-size: 16px; }
  .clarity-act { margin-top: 22px; }
  .clarity-btn { flex: 1 1 100%; }
  .clarity-row { margin-top: 24px; }
  .clarity-track { --card-w: min(82vw, 340px); gap: 14px; padding-bottom: 36px; }
  .clarity-art { aspect-ratio: 1.75; }
  .clarity-meta { padding: 12px 52px 18px 18px; }
  .clarity-name { font-size: 20px; }
  .clarity-go { right: 18px; bottom: 18px; }
  .clarity-arrow { display: none; }
  .clarity-progress { width: 120px; margin-right: 0; }
}
/* 360 to 400 wide: a smaller fan and no arrow keep the chip to two lines. */
@media (max-width: 400px) {
  .clarity-chip { gap: 8px; padding-right: 16px; }
  .clarity-fan { width: 60px; }
  .clarity-thumb { left: 9px; width: 44px; }
  .clarity-thumb:nth-child(1) { transform: translateX(-8px) rotate(-14deg); }
  .clarity-thumb:nth-child(3) { transform: translateX(8px) rotate(9deg); }
  .clarity-chip-arrow { display: none; }
}
/* /assets/css/home-questions.css */
/* Start with a question (flag home-questions; docs/design/home-questions/brief.md): the home page's outcome-led front
   door, between the Portal story and Good to know. Hidden unless the flag is on; laid out like Good to know (the title
   left, the list right), so the page keeps one rhythm. Void's own tokens and home-story.css's --hs-line and --hs-white.
   No motion; hover only in @media (hover: hover), a focus-visible twin beside it. */
.hs-ask { display: none; }
html[data-flag-home-questions="on"] .hs-ask { display: block; border-top: 1px solid var(--hs-line); padding-block: 72px; }
html[data-flag-home-questions="on"] .hs-ask-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 48px; }
html[data-flag-home-questions="on"] .hs-ask h2 { margin: 0; color: var(--hs-white); font: 700 34px/1.15 var(--font); letter-spacing: -0.015em; }
html[data-flag-home-questions="on"] .hs-ask-lede { margin: 12px 0 0; max-width: 34ch; color: var(--soft); line-height: 1.6; }
html[data-flag-home-questions="on"] .hs-ask-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
html[data-flag-home-questions="on"] .hs-ask-q { display: grid; grid-template-columns: minmax(0, 1fr) 20px; column-gap: 12px; align-items: start; padding-block: 18px; border-bottom: 1px solid var(--hs-line); color: inherit; text-decoration: none; }
html[data-flag-home-questions="on"] .hs-ask-t { color: var(--hs-white); font-weight: 600; }
html[data-flag-home-questions="on"] .hs-ask-d { grid-column: 1; margin-top: 6px; color: var(--soft); line-height: 1.5; font-size: 15px; }
html[data-flag-home-questions="on"] .hs-ask-q svg { grid-column: 2; grid-row: 1; width: 20px; height: 20px; margin-top: 2px; color: var(--sky); }
html[data-flag-home-questions="on"] .hs-ask-q:focus-visible { outline: 2px solid var(--sky); outline-offset: 4px; border-radius: 4px; }
@media (hover: hover) {
  html[data-flag-home-questions="on"] .hs-ask-q:hover .hs-ask-t { color: var(--sky); }
}
@media (max-width: 900px) {
  html[data-flag-home-questions="on"] .hs-ask { padding-block: 48px; }
  html[data-flag-home-questions="on"] .hs-ask-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  html[data-flag-home-questions="on"] .hs-ask h2 { font-size: 27px; }
  html[data-flag-home-questions="on"] .hs-ask-list { grid-template-columns: minmax(0, 1fr); }
}
