/* DEALEXUS marketing site — shared stylesheet (M202).
 *
 * One file for every marketing page that carries the redesign: the homepage,
 * how-it-works, products, pricing, insights (the blog index and every
 * article page, M203) and investors. The * pages are static HTML with no build step (CLAUDE.md §4), so the design's
 * tokens, components and motion live here once rather than in six inline
 * <style> blocks that would drift apart the way the old pages did.
 *
 * Three rules the file is held to:
 *   1. COLOUR IS A TOKEN. Every colour is a custom property with a light and a
 *      dark value. The theme follows the operating system until the visitor
 *      presses the toggle, which writes data-theme on <html>.
 *   2. MOTION IS OPTIONAL. Every animation collapses under
 *      prefers-reduced-motion, by DURATION rather than `animation: none`, so an
 *      entrance animation lands on its final frame instead of its first.
 *   3. NOTHING IS HIDDEN UNTIL A SCRIPT RUNS. Scroll reveals use scroll-driven
 *      animation where the browser has it and are plain static content where it
 *      does not; there is no `opacity: 0` waiting on an observer.
 */

/* ── tokens ─────────────────────────────────────────────────────────────── */
:root {
  --bg: #FFFFFF; --surface: #F5F7FA; --card: #FFFFFF;
  --ink: #0E1726; --ink2: #3B4658; --ink3: #4A5568;
  --rule: #E2E6EC; --rule2: #C9D0DA; --rule3: #EEF1F5;
  --accent: #2F6AAB; --on-accent: #FFFFFF;
  --hold-fg: #8A3B00; --hold-bg: #FFF1E6; --hold-rule: #F3C9A6;
  --red: #A3261B; --green: #1C6B3A;
  --band: #0E1726; --band-ink: #FFFFFF; --band-ink2: #C3CCDA; --band-rule: #4A5872; --band-btn: #FFFFFF; --band-btn-ink: #0E1726;
  --tint: rgba(47,106,171,.08); --grid: rgba(14,23,38,.10); --spot: rgba(47,106,171,.12);
  --glass: rgba(255,255,255,.72); --nav-shadow: 0 10px 30px rgba(14,23,38,.10);
  --shadow: 0 1px 2px rgba(14,23,38,.04), 0 12px 32px rgba(14,23,38,.06);
  --sans: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0B1018; --surface: #111824; --card: #141C29;
  --ink: #E8ECF2; --ink2: #B4BECC; --ink3: #93A0B2;
  --rule: #232D3B; --rule2: #34404F; --rule3: #1B2431;
  --accent: #4C92DB; --on-accent: #0B1018;
  --hold-fg: #FFB27A; --hold-bg: #2A1A0E; --hold-rule: #5A3519;
  --red: #FF8A7A; --green: #6FD69A;
  --band: #141C29; --band-ink: #E8ECF2; --band-ink2: #B4BECC; --band-rule: #3A4658; --band-btn: #E8ECF2; --band-btn-ink: #0B1018;
  --tint: rgba(76,146,219,.12); --grid: rgba(232,236,242,.08); --spot: rgba(76,146,219,.18);
  --glass: rgba(11,16,24,.62); --nav-shadow: 0 10px 30px rgba(0,0,0,.6);
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 12px 32px rgba(0,0,0,.35);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0B1018; --surface: #111824; --card: #141C29;
    --ink: #E8ECF2; --ink2: #B4BECC; --ink3: #93A0B2;
    --rule: #232D3B; --rule2: #34404F; --rule3: #1B2431;
    --accent: #4C92DB; --on-accent: #0B1018;
    --hold-fg: #FFB27A; --hold-bg: #2A1A0E; --hold-rule: #5A3519;
    --red: #FF8A7A; --green: #6FD69A;
    --band: #141C29; --band-ink: #E8ECF2; --band-ink2: #B4BECC; --band-rule: #3A4658; --band-btn: #E8ECF2; --band-btn-ink: #0B1018;
    --tint: rgba(76,146,219,.12); --grid: rgba(232,236,242,.08); --spot: rgba(76,146,219,.18);
    --glass: rgba(11,16,24,.62); --nav-shadow: 0 10px 30px rgba(0,0,0,.6);
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 12px 32px rgba(0,0,0,.35);
    color-scheme: dark;
  }
}

/* ── base ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.55 var(--sans); font-variant-numeric: tabular-nums;
  transition: background-color .25s ease, color .25s ease;
}
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
a { color: var(--accent); }
a:hover { opacity: .88; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--accent); color: var(--on-accent); padding: 10px 16px; border-radius: 6px; text-decoration: none; }
.skip-link:focus { top: 12px; }

.wrap { max-width: 1200px; margin: 0 auto; padding-inline: 32px; }
.sec { padding-block: 104px; }
.sec--surface { background: var(--surface); border-block: 1px solid var(--rule); }
.sec--tight-top { padding-top: 24px; }
.stack { display: flex; flex-direction: column; gap: var(--gap, 48px); }
.stack > * { min-width: 0; max-width: 100%; }
.row { display: flex; flex-wrap: wrap; gap: var(--gap, 64px); }
.row > * { min-width: 0; }
.grid { display: grid; gap: var(--gap, 20px); grid-template-columns: repeat(auto-fit, minmax(min(var(--min, 250px), 100%), 1fr)); }
.mono { font-family: var(--mono); }
.muted { color: var(--ink3); font-size: 14px; }
.eyebrow { font-family: var(--mono); font-size: 13px; color: var(--accent); }
.eyebrow--muted { color: var(--ink3); }

.h1 { font-size: clamp(36px, 5vw, 64px); line-height: 1.05; font-weight: 600; letter-spacing: -.025em; }
/* A headline that is a full sentence (M209c, the homepage hero) steps down so it
   holds to ~4 lines on desktop and leaves the CTAs above the fold. */
.h1--long { font-size: clamp(32px, 3.6vw, 50px); line-height: 1.08; }
.h1--page { font-size: clamp(36px, 5vw, 60px); }
.h2 { font-size: 40px; line-height: 1.12; font-weight: 600; letter-spacing: -.02em; }
.h3 { font-size: 18px; font-weight: 600; line-height: 1.35; }
.h3--lg { font-size: 22px; }
.lead { font-size: 19px; line-height: 1.55; color: var(--ink2); max-width: 600px; }
.sub { font-size: 18px; color: var(--ink2); }
.body2 { color: var(--ink2); }
.head { display: flex; flex-direction: column; gap: 14px; max-width: 720px; }
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }

/* ── buttons ────────────────────────────────────────────────────────────── */
.btn, .btn-primary, .btn-ghost {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 13px 22px;
  border-radius: 6px; border: 1px solid transparent; font: 500 16px/1.2 var(--sans);
  text-decoration: none; cursor: pointer; transition: transform .12s ease, filter .15s ease, background-color .2s;
}
.btn svg { flex-shrink: 0; transition: transform .2s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn:active, .btn-primary:active, .btn-ghost:active { transform: scale(.97); }
.btn--primary, .btn-primary { background: var(--accent); color: var(--on-accent); }
.btn--primary:hover, .btn-primary:hover { filter: brightness(1.08); opacity: 1; }
.btn--ghost, .btn-ghost { background: transparent; color: var(--ink); border-color: var(--rule2); }
.btn--band { background: var(--band-btn); color: var(--band-btn-ink); }
.btn--band-ghost { background: transparent; color: var(--band-ink); border-color: var(--band-rule); }
.btn--sm { min-height: 44px; padding: 10px 18px; font-size: 15px; }
.btn--block { width: 100%; justify-content: center; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 500; text-decoration: none; }
.text-link svg { transition: transform .2s ease; }
.text-link:hover svg { transform: translateX(3px); }
.sheen { position: relative; overflow: hidden; }
.sheen::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.38) 50%, transparent 70%);
  transform: translateX(-130%); animation: dx-sheen 5.5s ease-in-out 2.2s infinite;
}

/* ── the mark ───────────────────────────────────────────────────────────── */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--accent); min-height: 44px; }
.brand:hover { opacity: 1; }
.brand svg { display: block; flex-shrink: 0; }
.brand .mk-badge { fill: var(--accent); }
.brand .mk-glyph { fill: var(--on-accent); }
.brand__word { font: 700 16px var(--mono); letter-spacing: .18em; }

/* ── header ─────────────────────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 50; }
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: 100%; min-height: 68px; margin: 0 auto;
  padding: 0 max(32px, calc((100% - 1136px) / 2));
  background: transparent; border: 0 solid transparent; border-bottom-width: 1px;
  transition: background-color .3s ease, border-color .3s ease, box-shadow .3s ease,
    width .5s cubic-bezier(.19,1,.22,1), transform .5s cubic-bezier(.19,1,.22,1),
    border-radius .5s cubic-bezier(.19,1,.22,1), padding .5s cubic-bezier(.19,1,.22,1), min-height .5s cubic-bezier(.19,1,.22,1);
}
.site-header.is-scrolled .nav, .site-header.is-open .nav {
  background: var(--glass); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: var(--nav-shadow); border-color: var(--rule);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header.is-scrolled .nav, .site-header.is-open .nav { background: var(--bg); }
}
@media (prefers-reduced-transparency: reduce) {
  .site-header.is-scrolled .nav, .site-header.is-open .nav { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
.scroll-bar { position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--accent); pointer-events: none; transition: width .1s linear; }
@media (min-width: 1260px) {
  .site-header.is-scrolled:not(.is-open) .nav {
    width: min(1240px, calc(100% - 40px)); min-height: 60px; transform: translateY(10px);
    border-radius: 999px; border-width: 1px; padding: 0 10px 0 24px;
  }
  .site-header.is-scrolled:not(.is-open) .scroll-bar { top: 0; bottom: auto; }
}
.nav-links { display: flex; gap: 28px; font-size: 15px; }
.u-link {
  color: var(--ink2); text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor); background-repeat: no-repeat;
  background-position: 0 100%; background-size: 0 1px;
  transition: background-size .3s cubic-bezier(.2,.7,.2,1), color .2s;
}
.u-link:hover { background-size: 100% 1px; color: var(--ink); opacity: 1; }
.nav-links .u-link { padding: 10px 0; }
.u-link[aria-current="page"] { color: var(--ink); font-weight: 600; background-image: linear-gradient(var(--accent), var(--accent)); background-size: 100% 2px; }
.nav-actions { display: flex; gap: 8px; align-items: center; }
.icon-btn {
  width: 44px; height: 44px; border-radius: 6px; border: 1px solid var(--rule2); background: transparent;
  color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  transition: transform .12s ease;
}
.icon-btn:active { transform: scale(.95); }
.ico-sun { display: none; }
:root[data-theme="dark"] .ico-sun { display: block; }
:root[data-theme="dark"] .ico-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .ico-sun { display: block; }
  :root:not([data-theme="light"]) .ico-moon { display: none; }
}
.menu-btn { display: none; border: 0; position: relative; }
.menu-btn span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .25s cubic-bezier(.2,.7,.2,1), opacity .2s; }
.menu-btn span:nth-child(1) { top: 15px; } .menu-btn span:nth-child(2) { top: 21px; } .menu-btn span:nth-child(3) { top: 27px; }
.site-header.is-open .menu-btn span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.site-header.is-open .menu-btn span:nth-child(2) { opacity: 0; }
.site-header.is-open .menu-btn span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu { display: none; background: var(--bg); border-bottom: 1px solid var(--rule); padding: 8px 32px 24px; }
.site-header.is-open .mobile-menu { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; animation: dx-drop .22s cubic-bezier(.2,.7,.2,1) both; }
.mm-link { display: flex; align-items: center; min-height: 48px; font-size: 18px; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--rule3); }
.mm-link[aria-current="page"] { color: var(--accent); font-weight: 600; }
.mm-cta { grid-column: 1 / -1; margin-top: 16px; }

/* ── footer ─────────────────────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--rule); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 48px; padding-block: 64px 48px; }
.footer-brand { flex: 1 1 300px; max-width: 380px; display: flex; flex-direction: column; gap: 14px; }
.footer-brand p { font-size: 14px; color: var(--ink3); }
.footer-cols { flex: 2 1 520px; min-width: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 32px; font-size: 15px; }
.footer-col h2 { margin: 0 0 8px; font-size: 13px; font-weight: 600; color: var(--ink); }
.footer-col a { display: block; width: fit-content; padding: 6px 0; }
.footer-col a.is-terminal { color: var(--accent); font-weight: 500; }
.footer-bottom { border-top: 1px solid var(--rule); padding-block: 20px 36px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--ink3); }
.footer-bottom .stamp { display: inline-flex; align-items: center; gap: 8px; letter-spacing: .06em; }

/* ── small parts ────────────────────────────────────────────────────────── */
.card { background: var(--card); border: 1px solid var(--rule); border-radius: 12px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.card--surface { background: var(--surface); }
.card--feature { border: 2px solid var(--accent); padding: 23px; }
.card--dashed { border-style: dashed; }
@media (hover: hover) {
  .lift { transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s ease, border-color .25s ease; }
  .lift:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--rule2); }
  .lift:hover .tile { transform: translateY(-2px) rotate(-6deg); }
}
.tile { width: 44px; height: 44px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; background: var(--tint); color: var(--accent); transition: transform .35s cubic-bezier(.3,1.6,.5,1), background-color .35s, color .35s; }
.tile--hold { background: var(--hold-bg); color: var(--hold-fg); box-shadow: inset 0 0 0 1px var(--hold-rule); }
.tile--solid { background: var(--accent); color: var(--on-accent); }
.tile--muted { background: var(--card); color: var(--ink3); box-shadow: inset 0 0 0 1px var(--rule2); }
.tile--sm { width: 36px; height: 36px; border-radius: 9px; }
.tile--md { width: 40px; height: 40px; }
.tile--lg { width: 56px; height: 56px; border-radius: 14px; }
.tile--xl { width: 64px; height: 64px; border-radius: 16px; }
.chip { display: inline-flex; align-items: center; gap: 6px; font: 12px/1.4 var(--mono); color: var(--ink2); border: 1px solid var(--rule); border-radius: 999px; padding: 3px 10px; background: var(--surface); white-space: nowrap; }
.chip--accent { color: var(--accent); border-color: var(--accent); background: var(--card); }
.chip--hold { color: var(--hold-fg); background: var(--hold-bg); border-color: var(--hold-rule); }
.chip--solid { color: var(--on-accent); background: var(--accent); border-color: var(--accent); font-family: var(--sans); font-weight: 600; }
.pill { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink2); border: 1px solid var(--rule2); border-radius: 999px; padding: 6px 14px; background: var(--card); }
.live { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex-shrink: 0; animation: dx-pulse 1.8s ease-out infinite; }
.checks { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--ink2); }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks svg { flex-shrink: 0; margin-top: 4px; color: var(--accent); }
.rule-top { padding-top: 14px; border-top: 1px solid var(--rule3); }
.hold-badge { font: 500 13px var(--mono); color: var(--hold-fg); background: var(--hold-bg); border: 1px solid var(--hold-rule); padding: 4px 10px; border-radius: 4px; }
.sev { font: 12px var(--mono); width: 56px; flex-shrink: 0; padding-top: 2px; color: var(--hold-fg); }
.sev--med { color: var(--ink2); }
.bar { height: 6px; border-radius: 3px; background: var(--rule3); overflow: hidden; }
.bar > span { display: block; height: 100%; border-radius: 3px; background: var(--accent); }
.bar--stripes > span { width: 100%; background: repeating-linear-gradient(45deg, var(--accent) 0 6px, var(--tint) 6px 12px); background-size: 17px 17px; animation: dx-stripes .9s linear infinite; }

/* ── page hero (inner pages) ────────────────────────────────────────────── */
.dots { position: relative; overflow: hidden; }
.dots::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(var(--grid) 1.2px, transparent 1.5px); background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 65% 40%, #000 15%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 80% at 65% 40%, #000 15%, transparent 75%);
  animation: dx-pan 24s linear infinite;
}
.dots > * { position: relative; }
.page-hero { border-bottom: 1px solid var(--rule); }
.page-hero__inner { padding-block: 72px 80px; display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.page-hero__copy { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.page-hero__aside { flex: 1 1 340px; min-width: 0; animation: dx-in .7s .3s cubic-bezier(.2,.7,.2,1) both; }
.crumbs { font-size: 14px; color: var(--ink3); display: flex; gap: 8px; align-items: center; }
.crumbs a { color: var(--ink2); }
.enter > * { animation: dx-in .6s cubic-bezier(.2,.7,.2,1) both; }
.enter > *:nth-child(2) { animation-delay: .06s; } .enter > *:nth-child(3) { animation-delay: .12s; }
.enter > *:nth-child(4) { animation-delay: .18s; } .enter > *:nth-child(5) { animation-delay: .24s; }
.enter > .h1 { animation: none; }
.w { display: inline-block; animation: dx-word .8s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--i) * 55ms + 120ms); }
.ul {
  background-image: linear-gradient(var(--accent), var(--accent)); background-repeat: no-repeat;
  background-position: 0 94%; background-size: 0% .08em;
  animation: dx-ul .9s cubic-bezier(.65,0,.35,1) 1.1s forwards;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* ── home hero ──────────────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; }
.hero-spot { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .5s ease; background: radial-gradient(560px circle at var(--mx, 50%) var(--my, 50%), var(--spot), transparent 65%); }
.hero.is-hover .hero-spot { opacity: 1; }
.hero__inner { padding-block: 96px 88px; display: flex; flex-wrap: wrap; gap: 64px; align-items: flex-start; }
.hero__copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.kicker-line { font-size: 15px; color: var(--ink2); line-height: 1.5; }
.rotator { display: inline-grid; vertical-align: top; overflow: hidden; color: var(--accent); font-weight: 600; }
.rotator > span { grid-area: 1 / 1; white-space: nowrap; transition: opacity .45s ease, transform .55s cubic-bezier(.2,.7,.2,1); opacity: 0; transform: translateY(70%); }
.rotator > span.is-on { opacity: 1; transform: none; }
.rotator > span.is-prev { transform: translateY(-70%); }
.rotator:not(.is-live) > span:first-child { opacity: 1; transform: none; }
.hero__fig { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 10px; animation: dx-in .7s .3s cubic-bezier(.2,.7,.2,1) both; }
.float { position: relative; animation: dx-float 6.5s ease-in-out infinite; }
.tag {
  position: absolute; z-index: 2; font: 12px var(--mono); color: var(--ink2); background: var(--card);
  border: 1px solid var(--rule2); border-radius: 999px; padding: 4px 10px; box-shadow: var(--shadow);
  white-space: nowrap; animation: dx-bob 4.5s ease-in-out infinite;
}
.report { position: relative; border: 1px solid var(--rule2); border-radius: 10px; background: var(--card); box-shadow: var(--shadow); overflow: hidden; transition: transform .7s cubic-bezier(.2,.7,.2,1); transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.hero.is-hover .report { transition-duration: .15s; }
.report__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 16px 20px; border-bottom: 1px solid var(--rule); }
.report__status { padding: 12px 20px 0; display: flex; flex-direction: column; gap: 8px; }
.report__status-line { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink2); }
.report__progress { height: 3px; background: var(--rule3); border-radius: 2px; overflow: hidden; }
.report__progress > span { display: block; height: 100%; width: 100%; background: var(--accent); transition: width .55s ease; }
.report__body { position: relative; padding: 4px 20px; }
.finding { display: flex; gap: 14px; padding: 14px 0; transition: opacity .45s ease, transform .45s cubic-bezier(.2,.7,.2,1); }
.finding + .finding { border-top: 1px solid var(--rule3); }
.finding__title { font-size: 15px; font-weight: 500; }
.finding__detail { font-size: 14px; color: var(--ink3); }
.report.is-live .finding { opacity: 0; transform: translateY(8px); }
.report.is-live .finding.is-shown { opacity: 1; transform: none; }
.report .hold-badge { transition: opacity .35s ease, transform .35s cubic-bezier(.3,1.6,.5,1); }
.report.is-live .hold-badge { opacity: 0; transform: scale(.8); }
.report.is-live .hold-badge.is-shown { opacity: 1; transform: none; }
.scanline { position: absolute; left: 0; right: 0; height: 2px; background: var(--accent); box-shadow: 0 0 12px var(--accent); opacity: 0; pointer-events: none; }
.report.is-scanning .scanline { animation: dx-scan 1.2s linear infinite; }
.report__foot { padding: 14px 20px; background: var(--surface); border-top: 1px solid var(--rule); font-size: 13px; color: var(--ink3); }

/* ── standards marquee ──────────────────────────────────────────────────── */
.standards { background: var(--surface); border-block: 1px solid var(--rule); }
.standards__inner { padding-block: 18px; display: flex; align-items: center; gap: 32px; }
.standards__label { font-weight: 600; font-size: 14px; white-space: nowrap; }
.marquee { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; width: max-content; animation: dx-marq 32s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__set { display: flex; }
.std { display: inline-flex; align-items: center; gap: 8px; margin-right: 12px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--rule2); background: var(--card); font-size: 14px; color: var(--ink2); white-space: nowrap; }
.std svg { color: var(--accent); }

/* ── primer ─────────────────────────────────────────────────────────────── */
.primer-lede { font-size: 19px; color: var(--ink2); max-width: 820px; }
.primer-card__code { font: 13px var(--mono); color: var(--accent); }
.primer-card__tag { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--rule3); font-size: 14px; color: var(--ink3); }
.primer-close { font-size: 17px; color: var(--ink2); max-width: 860px; }
.primer-close strong { color: var(--ink); }
.primer-cite { font: 12px var(--mono); }

/* ── primer: the paper travelling between buyer, bank and seller (M208) ──── */
.flow { display: flex; align-items: center; gap: 12px; max-width: 760px; padding: 18px 22px; border: 1px solid var(--rule); border-radius: 14px; background: var(--card); }
.flow__node { display: inline-flex; align-items: center; gap: 8px; font: 600 15px var(--sans); color: var(--ink); white-space: nowrap; }
.flow__node--bank { padding: 6px 12px; border-radius: 999px; background: var(--tint); color: var(--accent); }
.flow__dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.flow__lane { position: relative; flex: 1; height: 2px; min-width: 32px; background: repeating-linear-gradient(90deg, var(--rule2) 0 6px, transparent 6px 12px); }
.flow__doc { position: absolute; top: -7px; left: 0; width: 12px; height: 16px; border-radius: 2px; background: var(--card); border: 1.5px solid var(--accent); box-shadow: var(--shadow); animation: dx-lane 3.2s cubic-bezier(.5,0,.3,1) infinite; }
.paper-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.figs { display: grid; gap: 20px 40px; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); align-items: start; padding-top: 32px; border-top: 1px solid var(--rule3); }
.fig { display: flex; flex-direction: column; gap: 8px; }
.fig__num { font-size: 48px; line-height: 1; font-weight: 700; letter-spacing: -.03em; color: var(--accent); font-variant-numeric: tabular-nums; }
.fig--hold .fig__num { color: var(--hold-fg); }
.fig__label { font-size: 15px; color: var(--ink2); max-width: 300px; }
.fig__close { grid-column: 1 / -1; font-size: 19px; font-weight: 600; color: var(--ink); }
.fig__close em { color: var(--accent); font-style: normal; }

/* ── marketplace: the sample listing and the three steps (M213) ────────── */
.lcard { border: 1px solid var(--rule2); border-radius: 14px; background: var(--card); box-shadow: var(--shadow); padding: 22px; display: flex; flex-direction: column; gap: 10px; max-width: 460px; }
.lcard__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.lcard__exp { font-size: 12px; color: var(--ink3); }
.lcard__band { font-size: 30px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); line-height: 1.1; }
.lcard__line { font: 13px var(--mono); color: var(--ink2); }
.lcard__offer { font-size: 15px; color: var(--ink); }
.lcard__seat { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border-radius: 10px; background: var(--tint); border: 1px solid var(--rule); }
.lcard__seatname { font-size: 18px; font-weight: 600; color: var(--accent); }
.lcard__bp { font-size: 12px; color: var(--ink2); }
.lrec { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14px; color: var(--ink2); }
.lrec li { display: flex; gap: 10px; align-items: flex-start; }
.lrec__ok { color: var(--green); font-weight: 700; width: 14px; flex-shrink: 0; }
.lrec__no { color: var(--ink3); width: 14px; flex-shrink: 0; }
.lcard__foot { padding-top: 8px; border-top: 1px solid var(--rule3); font-size: 13px; }
.msteps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 22px; position: relative; }
.msteps::before { content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 2px; background: var(--rule2); }
.msteps__step { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.msteps__num { width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font: 600 14px var(--mono); color: var(--accent); background: var(--card); border: 2px solid var(--accent); position: relative; z-index: 1; }
.msteps__title { font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.mhidden { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px 32px; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); font-size: 15px; color: var(--ink2); }
.mhidden li { display: flex; gap: 10px; align-items: flex-start; }
.mhidden svg { flex-shrink: 0; margin-top: 4px; color: var(--accent); }
.mhidden strong { color: var(--ink); }

/* ── problem: the returned paper ────────────────────────────────────────── */
.problem-lede { font-size: 17px; color: var(--ink2); max-width: 560px; }
.problem-lede strong { color: var(--ink); }
.track { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.track__line { position: absolute; left: 22px; right: calc((100% - 64px) / 5 - 22px); top: 21px; height: 2px; background: var(--accent); z-index: 0; }
.track::before { content: ""; position: absolute; left: 22px; right: calc((100% - 64px) / 5 - 22px); top: 21px; height: 2px; background: var(--rule2); }
.track__step { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 6px; }
.track__num { width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font: 600 14px var(--mono); color: var(--accent); background: var(--card); border: 2px solid var(--accent); margin-bottom: 6px; }
.track__title { font-weight: 600; color: var(--ink); }
.track__cap { font-size: 14px; color: var(--ink3); }
.problem-claim { font-size: 22px; line-height: 1.4; font-weight: 600; letter-spacing: -.01em; color: var(--ink); max-width: 760px; }
.stamp-vis { position: relative; height: 230px; width: 280px; max-width: 100%; }
.stamp-vis .sheet { position: absolute; width: 240px; height: 180px; border: 1px solid var(--rule); border-radius: 8px; background: var(--surface); animation: dx-shuffle 5s ease infinite; }
.stamp-vis .paper { position: absolute; left: 0; top: 0; z-index: 2; width: 240px; height: 180px; border: 1px solid var(--rule2); border-radius: 8px; background: var(--card); box-shadow: var(--shadow); padding: 18px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.paper .ln { display: block; height: 6px; border-radius: 3px; background: var(--rule2); }
.paper .ln--flag { animation: dx-flag 5s ease infinite; }
.paper .scan5 { position: absolute; left: 0; right: 0; height: 2px; background: var(--accent); box-shadow: 0 0 10px var(--accent); opacity: 0; animation: dx-scan5 5s ease-in-out infinite; }
.paper .stamp { position: absolute; right: 16px; bottom: 18px; font: 600 15px var(--mono); letter-spacing: .12em; color: var(--hold-fg); border: 2px solid var(--hold-fg); padding: 4px 10px; border-radius: 4px; background: var(--card); transform: rotate(-10deg); animation: dx-stamp 5s ease infinite; }
.ico-shake { animation: dx-shake 3.4s ease infinite; transform-origin: 50% 90%; }
.ico-fly { animation: dx-fly 3s ease-in-out infinite; }
.ico-nudge { animation: dx-nudge 1.8s ease-in-out infinite; }
.ico-blink path:last-child { animation: dx-blink 2.4s ease infinite; }

/* ── home: live sequence ────────────────────────────────────────────────── */
.seq { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--rule2); }
.seq li { position: relative; padding: 24px 20px 28px 16px; border-bottom: 1px solid var(--rule); display: flex; flex-direction: column; gap: 6px; transition: background-color .4s ease; }
.seq li::before { content: ""; position: absolute; top: -1px; left: 0; height: 3px; width: 0; background: var(--accent); transition: width .5s cubic-bezier(.2,.7,.2,1); }
.seq__top { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.seq__num { font: 13px var(--mono); color: var(--ink3); transition: color .3s; }
.seq__title { font-weight: 600; font-size: 18px; }
.seq__desc { font-size: 15px; color: var(--ink2); }
.seq .tile { width: 40px; height: 40px; background: var(--card); color: var(--ink3); box-shadow: inset 0 0 0 1px var(--rule2); }
.seq li.is-done::before, .seq li.is-current::before { width: 100%; }
.seq li.is-done .seq__num, .seq li.is-current .seq__num { color: var(--accent); }
.seq li.is-done .tile { background: var(--accent); color: var(--on-accent); box-shadow: none; }
.seq li.is-current { background: var(--tint); }
.seq li.is-current .tile { background: var(--tint); color: var(--accent); transform: scale(1.08); animation: dx-ring 1.6s ease-out infinite; }

/* ── ARGUS checks ───────────────────────────────────────────────────────── */
.checks-run { border-top: 1px solid var(--rule2); }
.check-row { display: flex; flex-wrap: wrap; gap: 16px 20px; align-items: flex-start; padding: 22px 12px; border-bottom: 1px solid var(--rule); transition: background-color .4s ease; }
.check-row__text { flex: 1 1 240px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.check-row__title { font-weight: 600; font-size: 18px; }
.check-row .tile { transition: background-color .35s, color .35s, transform .35s cubic-bezier(.3,1.6,.5,1); }
.check-row .chip { flex-shrink: 0; transition: background-color .3s, color .3s, border-color .3s; }
.check-row.is-queued .tile { background: var(--card); color: var(--ink3); box-shadow: inset 0 0 0 1px var(--rule2); }
.check-row.is-queued .chip { color: var(--ink3); background: transparent; border-color: var(--rule2); }
.check-row.is-checking { background: var(--tint); }
.check-row.is-checking .tile { transform: scale(1.06); animation: dx-ring 1.6s ease-out infinite; }
.check-row.is-checking .chip { color: var(--accent); background: var(--card); border-color: var(--accent); }
.check-row.is-done .tile, .check-row:not(.is-queued):not(.is-checking) .tile { background: var(--hold-bg); color: var(--hold-fg); box-shadow: inset 0 0 0 1px var(--hold-rule); }
.check-row.is-done .chip, .check-row:not(.is-queued):not(.is-checking) .chip { color: var(--hold-fg); background: var(--hold-bg); border-color: var(--hold-rule); }
.spinner { display: none; width: 10px; height: 10px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: dx-rot .8s linear infinite; }
.check-row.is-checking .spinner { display: inline-block; }

/* ── seat band ──────────────────────────────────────────────────────────── */
.seat-hint { font: 13px var(--mono); color: var(--ink3); }
.seat-tabs { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.seat-tab {
  font: inherit; text-align: left; color: var(--ink); cursor: pointer;
  background: var(--card); border: 1px solid var(--rule); border-radius: 12px; padding: 22px;
  display: flex; flex-direction: column; gap: 10px;
  transition: border-color .25s, box-shadow .25s, transform .25s cubic-bezier(.2,.7,.2,1), background-color .25s;
}
.seat-tab:hover { border-color: var(--rule2); }
.seat-tab[aria-selected="true"] { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow); }
.seat-tab__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.seat-tab__role { font-size: 20px; font-weight: 600; }
.seat-tab__line { color: var(--ink2); font-size: 15px; }
.seat-panel { margin-top: 20px; border: 1px solid var(--rule); border-radius: 14px; background: var(--card); padding: 32px; display: flex; flex-direction: column; gap: 22px; }
.seat-panel:not([hidden]) { animation: dx-in .4s cubic-bezier(.2,.7,.2,1) both; }
.seat-claim { font-size: 22px; line-height: 1.35; font-weight: 600; letter-spacing: -.01em; }
.seat-cols { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); }
.seat-colhead { font: 13px var(--mono); margin-bottom: 10px; }
.seat-list { padding-left: 18px; display: flex; flex-direction: column; gap: 10px; color: var(--ink2); font-size: 15px; }
.seat-list strong { color: var(--ink); }
.swap__heads { display: grid; grid-template-columns: 1fr 28px 1fr; gap: 14px; font: 13px var(--mono); color: var(--ink3); }
.swap__heads span:last-child { color: var(--green); }
.swap { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.swap__row { display: grid; grid-template-columns: 1fr 28px 1fr; gap: 14px; align-items: center; }
.seat-panel:not([hidden]) .swap__row { animation: dx-in .45s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--i) * 90ms + 80ms); }
.swap__was, .swap__now { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: 10px; font-size: 15px; line-height: 1.45; height: 100%; }
.swap__was { color: var(--ink3); background: var(--surface); border: 1px solid var(--rule3); }
.swap__now { color: var(--ink); background: var(--tint); border: 1px solid var(--rule); font-weight: 500; }
.swap__ico { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; margin-top: 0; }
.swap__ico--was { color: var(--red); background: var(--card); box-shadow: inset 0 0 0 1px var(--rule2); }
.swap__ico--now { color: var(--on-accent); background: var(--green); }
.seat-panel:not([hidden]) .swap__ico--now { animation: dx-pop .5s ease both; animation-delay: calc(var(--i) * 90ms + 300ms); }
.swap__arrow { color: var(--accent); display: inline-flex; justify-content: center; }
.seat-panel:not([hidden]) .swap__arrow { animation: dx-nudge 2.4s ease-in-out infinite; animation-delay: calc(var(--i) * 200ms); }
.seat-note { font-size: 14px; color: var(--ink3); padding-top: 18px; border-top: 1px solid var(--rule3); }
.seat-foot { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.seat-deep { font-size: 15px; font-weight: 500; text-decoration: none; }
.market-note { font-size: 17px; color: var(--ink2); max-width: 820px; }
.market-note strong { color: var(--ink); }

/* ── barrier diagram ────────────────────────────────────────────────────── */
.barrier { --travel: 64px; border: 1px solid var(--rule); border-radius: 12px; background: var(--card); padding: 32px 28px; display: grid; grid-template-columns: minmax(0, 1fr) 2px minmax(0, 1fr); gap: 24px; align-items: center; }
.barrier__side { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.barrier__doc-slot { height: 64px; position: relative; width: 100%; }
.barrier__doc { position: absolute; left: 0; top: 0; width: 96px; height: 64px; border: 1px solid var(--rule2); border-radius: 6px; background: var(--surface); display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 0 12px; animation: dx-travel 4.2s cubic-bezier(.4,0,.2,1) infinite; }
.barrier__doc span { height: 4px; border-radius: 2px; background: var(--rule2); }
.barrier__wall { position: relative; align-self: stretch; background: repeating-linear-gradient(to bottom, var(--rule2) 0 6px, transparent 6px 12px); }
.barrier__flash { position: absolute; inset: -6px -5px; border-radius: 6px; background: var(--accent); filter: blur(6px); opacity: 0; animation: dx-flash 4.2s ease infinite; }
.verified { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--accent); color: var(--accent); font-weight: 600; font-size: 15px; background: var(--tint); animation: dx-light 4.2s ease infinite; }

/* ── pricing ────────────────────────────────────────────────────────────── */
.seg { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--rule2); border-radius: 8px; padding: 4px; gap: 4px; }
.seg__pill { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 6px); border-radius: 5px; background: var(--ink); transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.seg button { position: relative; z-index: 1; font: inherit; font-size: 15px; border: 0; background: transparent; color: var(--ink); padding: 8px 16px; min-height: 40px; border-radius: 5px; cursor: pointer; transition: color .25s; }
.seg button[aria-pressed="true"] { color: var(--bg); }
.billing.is-annual .seg__pill { transform: translateX(calc(100% + 4px)); }
.save { display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap; background: var(--tint); color: var(--accent); transition: transform .4s cubic-bezier(.3,1.6,.5,1), background-color .3s, color .3s; }
.billing.is-annual .save { background: var(--accent); color: var(--on-accent); transform: scale(1.06); }
.swap { display: inline-grid; }
.swap > span { grid-area: 1 / 1; transition: opacity .35s ease, transform .45s cubic-bezier(.2,.7,.2,1); }
.swap > .pa { opacity: 0; transform: translateY(45%); }
.billing.is-annual .swap > .pm { opacity: 0; transform: translateY(-45%); }
.billing.is-annual .swap > .pa { opacity: 1; transform: none; }
.plan { position: relative; flex: 1; min-width: 0; border-radius: 12px; padding: 28px; display: flex; flex-direction: column; gap: 16px; background: var(--card); border: 1px solid var(--rule); }
.plan--surface { background: var(--surface); }
.plan--feature { border: 2px solid transparent; padding: 26px; background: linear-gradient(var(--card), var(--card)) padding-box, conic-gradient(from var(--a, 0deg), var(--accent) 0deg, var(--rule2) 80deg, var(--rule2) 280deg, var(--accent) 360deg) border-box; animation: dx-spin 6s linear infinite; }
.plan__badge { position: absolute; top: -12px; left: 24px; background: var(--accent); color: var(--on-accent); font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.plan__price { display: flex; align-items: baseline; gap: 6px; }
.plan__amount { font-size: 40px; font-weight: 600; letter-spacing: -.02em; }
.plan__per { color: var(--ink3); }
.plan__meter-head { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink3); }
.plan__meter-head span:last-child { font-family: var(--mono); color: var(--ink); }
.plan .btn { margin-top: auto; width: 100%; justify-content: center; }
.plan-wrap { display: flex; }

.compare { position: relative; overflow-x: auto; border: 1px solid var(--rule); border-radius: 14px; background: var(--card); }
.compare table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 14px 16px; border-bottom: 1px solid var(--rule3); }
.compare thead th { font-size: 15px; font-weight: 600; border-bottom-color: var(--rule2); }
.compare thead th:first-child { text-align: left; font-size: 13px; font-weight: 500; color: var(--ink3); }
.compare tbody th { text-align: left; font-weight: 500; }
.compare td { text-align: center; }
.compare .is-hl { background: var(--tint); }
.compare thead .is-hl { color: var(--accent); }
.compare td svg { display: inline-block; vertical-align: middle; color: var(--accent); }
.compare .dash { color: var(--ink3); }

/* ── FAQ ────────────────────────────────────────────────────────────────── */
.faq { display: flex; flex-direction: column; border-top: 1px solid var(--rule2); }
.faq details { border-bottom: 1px solid var(--rule); padding: 18px 0; }
.faq summary { font-weight: 600; font-size: 18px; cursor: pointer; min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 16px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq details > p { margin-top: 10px; color: var(--ink2); animation: dx-in .4s cubic-bezier(.2,.7,.2,1) both; }
.plus { width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; background: var(--tint); color: var(--accent); transition: transform .35s cubic-bezier(.3,1.6,.5,1), background-color .3s, color .3s; }
.faq summary:hover .plus { transform: scale(1.1); }
.faq details[open] .plus { transform: rotate(45deg); background: var(--accent); color: var(--on-accent); }

/* ── closing band ───────────────────────────────────────────────────────── */
.band { position: relative; overflow: hidden; background: var(--band); color: var(--band-ink); border-top: 1px solid var(--rule); }
.band__waves { position: absolute; right: -140px; top: 50%; width: 560px; height: 560px; margin-top: -280px; pointer-events: none; }
.band__waves span { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--band-rule); opacity: 0; animation: dx-wave 6s cubic-bezier(.2,.7,.2,1) infinite; }
.band__waves span:nth-child(2) { animation-delay: 2s; } .band__waves span:nth-child(3) { animation-delay: 4s; }
.band__waves i { position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--accent); animation: dx-pulse 1.8s ease-out infinite; }
.band__inner { position: relative; padding-block: 104px; display: flex; flex-wrap: wrap; gap: 40px; align-items: center; justify-content: space-between; }
.band__title { font-size: 44px; line-height: 1.1; font-weight: 600; letter-spacing: -.02em; }
.band p { font-size: 18px; color: var(--band-ink2); }

/* ── how it works ───────────────────────────────────────────────────────── */
.mini-seq { border: 1px solid var(--rule2); border-radius: 14px; background: var(--card); box-shadow: var(--shadow); padding: 22px; display: flex; flex-direction: column; gap: 4px; }
.mini-seq__row { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--rule3); }
.mini-seq__row:last-child { border-bottom: 0; }
.mini-seq__state { margin-left: auto; font: 12px var(--mono); color: var(--ink3); }
.mini-seq__state.is-on { color: var(--accent); }
.tour { display: flex; flex-wrap: wrap; gap: 32px; align-items: stretch; }
.tour__list { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.tour__btn { font: inherit; text-align: left; width: 100%; display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 10px; cursor: pointer; border: 1px solid transparent; background: transparent; color: var(--ink); transition: background-color .3s, border-color .3s; }
.tour__btn:hover { background: var(--surface); }
.tour__btn[aria-selected="true"] { border-color: var(--accent); background: var(--tint); }
.tour__btn .tile { width: 40px; height: 40px; }
.tour__btn[aria-selected="true"] .tile { background: var(--accent); color: var(--on-accent); box-shadow: none; }
.tour__meta { display: flex; flex-direction: column; }
.tour__state { margin-left: auto; font: 12px var(--mono); white-space: nowrap; color: var(--accent); }
.tour__state.is-dev { color: var(--ink3); }
.tour__panel-box { flex: 1.4 1 480px; min-width: 0; display: flex; flex-direction: column; border: 1px solid var(--rule); border-radius: 14px; background: var(--card); box-shadow: var(--shadow); overflow: hidden; }
.tour__progress { height: 3px; background: var(--rule3); }
.tour__progress > span { display: block; height: 100%; width: 100%; background: var(--accent); }
[data-tour].is-playing .tour__progress > span { animation: dx-bar var(--dur, 4.2s) linear both; }
.tour__panels { display: grid; gap: 40px; padding: 36px; }
.tour__panel { display: flex; flex-direction: column; gap: 18px; transition: opacity .45s ease, transform .55s cubic-bezier(.2,.7,.2,1); }
[data-tour].is-live .tour__panel { grid-area: 1 / 1; opacity: 0; transform: translateY(12px); pointer-events: none; visibility: hidden; }
[data-tour].is-live .tour__panel.is-on { opacity: 1; transform: none; pointer-events: auto; visibility: visible; }
.tour__title { font-size: 32px; line-height: 1.15; font-weight: 600; letter-spacing: -.02em; }
.tour__who { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding-top: 18px; border-top: 1px solid var(--rule3); }
.converge { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; border: 1px solid var(--rule); border-radius: 14px; background: var(--card); padding: 32px; }
.lanes { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.lane { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.lane__track { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.lane__track::before { content: ""; position: absolute; left: 20px; right: 20px; top: 50%; height: 2px; background: var(--rule2); }
.lane--joint .lane__track::before { background: var(--accent); }
.lane__node { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; min-width: 84px; height: 36px; padding: 0 10px; border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap; background: var(--card); color: var(--ink); border: 1px solid var(--rule2); }
.lane--joint .lane__node { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.lane__dot { position: absolute; z-index: 2; top: 50%; margin-top: -6px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--spot); animation: dx-lane 5s cubic-bezier(.45,0,.55,1) infinite; }
.lane--joint .lane__dot { background: var(--on-accent); }
.converge__join { flex-shrink: 0; color: var(--rule2); }
.joint { flex: 1 1 380px; min-width: 0; }
.split { display: flex; gap: 3px; }
.split__bar { display: flex; height: 14px; border-radius: 7px; overflow: hidden; gap: 3px; }
.split__bar span { display: block; background: var(--accent); }
.split__bar span.is-minor { opacity: .55; }
.split__legend { display: flex; gap: 3px; font-size: 14px; color: var(--ink2); }
.split__legend span { min-width: 0; display: flex; flex-direction: column; }
.split__legend strong { font: 600 15px var(--mono); color: var(--ink); }
.split__legend em { font-style: normal; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ── products ───────────────────────────────────────────────────────────── */
.ptabs { display: flex; flex-wrap: wrap; gap: 8px; }
.ptab { font: inherit; font-size: 15px; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; cursor: pointer; white-space: nowrap; border: 1px solid var(--rule2); background: var(--card); color: var(--ink); transition: background-color .3s, color .3s, border-color .3s; }
.ptab[aria-selected="true"] { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.ppanes { display: grid; gap: 48px; border: 1px solid var(--rule); border-radius: 16px; background: var(--surface); padding: 40px; }
.ppane { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; transition: opacity .45s ease, transform .55s cubic-bezier(.2,.7,.2,1); }
.ptabs-root.is-live .ppane { grid-area: 1 / 1; opacity: 0; transform: translateY(12px); pointer-events: none; visibility: hidden; }
.ptabs-root.is-live .ppane.is-on { opacity: 1; transform: none; pointer-events: auto; visibility: visible; }
.ppane__copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.ppane__title { font-size: 32px; line-height: 1.15; font-weight: 600; letter-spacing: -.02em; }
.ppane__vis { flex: 1 1 360px; min-width: 0; }
.mock { border: 1px solid var(--rule2); border-radius: 14px; background: var(--card); box-shadow: var(--shadow); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.mock--planned { border-style: dashed; box-shadow: none; align-items: flex-start; }
.mock__opt { padding: 8px 12px; border-radius: 8px; font-size: 14px; border: 1px solid var(--rule2); color: var(--ink2); }
.mock__opt.is-on { border-color: var(--accent); color: var(--accent); background: var(--tint); }
.mock__dots { display: flex; gap: 6px; }
.mock__dots span { flex: 1; height: 4px; border-radius: 2px; background: var(--rule2); }
.mock__dots span.is-on { background: var(--accent); }
.mock__rail { display: flex; gap: 6px; }
.mock__rail span { flex: 1; display: flex; flex-direction: column; gap: 6px; align-items: center; font: 11px var(--mono); color: var(--ink3); }
.mock__rail span::before { content: ""; width: 100%; height: 4px; border-radius: 2px; background: var(--rule2); }
.mock__rail span.is-done { color: var(--ink); } .mock__rail span.is-done::before { background: var(--accent); }
.mock__rail span.is-now { color: var(--ink); } .mock__rail span.is-now::before { background: var(--spot); }
.mock__line { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; padding: 6px 0; border-bottom: 1px solid var(--rule3); }
.flowline { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.flowline__node { display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--rule); background: var(--card); font-weight: 600; }
.flowline__arrow { color: var(--ink3); }
.hero-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.hero-tiles .card { padding: 16px; animation: dx-bob 4.5s ease-in-out infinite; }
.hero-tiles .card:last-child { grid-column: 1 / -1; }

/* ── insights ───────────────────────────────────────────────────────────── */
.featured { text-decoration: none; color: var(--ink); display: flex; flex-wrap: wrap; gap: 32px; align-items: center; border: 1px solid var(--rule); border-radius: 16px; background: var(--card); padding: 36px; }
.featured:hover { opacity: 1; }
.featured__copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.featured__title { font-size: 34px; line-height: 1.15; font-weight: 600; letter-spacing: -.02em; }
.featured__vis { flex: 0 1 300px; min-width: 0; position: relative; height: 200px; }
.featured__vis .sheet { position: absolute; left: 30px; top: 18px; width: 220px; height: 160px; border: 1px solid var(--rule); border-radius: 10px; background: var(--surface); transform: rotate(-6deg); }
.featured__vis .paper { position: absolute; left: 0; top: 0; width: 240px; height: 170px; border: 1px solid var(--rule2); border-radius: 10px; background: var(--card); box-shadow: var(--shadow); padding: 18px; display: flex; flex-direction: column; gap: 9px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { font: inherit; font-size: 15px; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; cursor: pointer; border: 1px solid var(--rule2); background: var(--card); color: var(--ink); transition: background-color .3s, color .3s, border-color .3s; }
.filter span { font: 12px var(--mono); opacity: .7; }
.filter[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.articles { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); }
.article { text-decoration: none; color: var(--ink); background: var(--card); border: 1px solid var(--rule); border-radius: 12px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.article:hover { opacity: 1; }
.article[hidden] { display: none; }
.article.is-in { animation: dx-in .5s cubic-bezier(.2,.7,.2,1) both; }
.article__cat { display: flex; align-items: center; gap: 10px; font: 12px var(--mono); color: var(--ink3); }
.article__title { font-size: 19px; line-height: 1.3; font-weight: 600; }
.article__ex { color: var(--ink2); font-size: 15px; }
.article__more { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 500; font-size: 15px; }
.cats { display: flex; flex-wrap: wrap; gap: 10px; align-content: center; }
.cats span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px; border: 1px solid var(--rule2); background: var(--card); font-size: 15px; box-shadow: var(--shadow); animation: dx-bob 4.5s ease-in-out infinite; }
.cats span svg { color: var(--accent); }
.cats span.is-total { background: var(--accent); color: var(--on-accent); border-color: var(--accent); font-weight: 600; }

/* ── investors ──────────────────────────────────────────────────────────── */
.raise { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.raise div { border: 1px solid var(--rule); border-radius: 12px; background: var(--card); padding: 18px; font-weight: 600; font-size: 16px; animation: dx-bob 4.5s ease-in-out infinite; }
.raise div.is-big { font-size: 22px; }
.raise div.is-accent { border-color: var(--accent); color: var(--accent); }
.stat { font-size: 48px; line-height: 1; font-weight: 600; letter-spacing: -.03em; color: var(--accent); }
.source { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--rule3); font: 12px var(--mono); color: var(--ink3); }
.status { font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.status--hold { color: var(--hold-fg); background: var(--hold-bg); border: 1px solid var(--hold-rule); }
.status--muted { color: var(--ink2); border: 1px solid var(--rule2); }
.status--accent { color: var(--on-accent); background: var(--accent); }
.mkt { display: flex; flex-direction: column; gap: 8px; padding-top: 14px; border-top: 2px solid var(--accent); }
.mkt:first-child { border-top-color: var(--rule2); }
.mkt__num { font-size: 52px; line-height: 1.05; font-weight: 600; letter-spacing: -.03em; }
.road { position: relative; }
.road__line { position: absolute; left: 9px; right: 9px; top: 9px; height: 2px; background: var(--rule2); }
.road__line span { display: block; height: 100%; width: 34%; background: var(--accent); }
.road__phases { position: relative; display: flex; flex-wrap: wrap; gap: 24px; }
.phase { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.phase__dot { width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0; background: var(--card); box-shadow: inset 0 0 0 2px var(--rule2); }
.phase__dot.is-on { background: var(--accent); box-shadow: 0 0 0 5px var(--spot); }
.ask { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; border: 2px solid var(--accent); border-radius: 16px; background: var(--card); padding: 36px; }
.ask__title { font-size: 36px; line-height: 1.12; font-weight: 600; letter-spacing: -.02em; }

/* ── scroll-driven reveals (progressive) ────────────────────────────────── */
@supports (animation-timeline: view()) {
  .reveal-up { animation: dx-up linear both; animation-timeline: view(); animation-range: entry 0% entry 45%; }
  .draw path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: dx-draw linear both; animation-timeline: view(); animation-range: entry 10% cover 35%; }
  .fill-in { transform-origin: left center; animation: dx-fill linear both; animation-timeline: view(); animation-range: entry 25% cover 45%; }
  .pop-in { animation: dx-pop linear both; animation-timeline: view(); animation-range: entry 30% cover 40%; }
}

/* ── keyframes ──────────────────────────────────────────────────────────── */
@property --a { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes dx-spin { to { --a: 360deg; } }
@keyframes dx-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes dx-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes dx-word { from { opacity: 0; transform: translateY(.4em); filter: blur(8px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes dx-ul { to { background-size: 100% .08em; } }
@keyframes dx-pan { to { background-position: 26px 26px; } }
@keyframes dx-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes dx-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes dx-sheen { 0% { transform: translateX(-130%); } 22%, 100% { transform: translateX(130%); } }
@keyframes dx-pulse { 0% { box-shadow: 0 0 0 0 var(--accent); } 70% { box-shadow: 0 0 0 7px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
@keyframes dx-ring { 0% { box-shadow: 0 0 0 2px var(--accent), 0 0 0 0 var(--spot); } 100% { box-shadow: 0 0 0 2px var(--accent), 0 0 0 12px transparent; } }
@keyframes dx-scan { 0% { top: 0; opacity: 0; } 10% { opacity: .7; } 90% { opacity: .7; } 100% { top: 100%; opacity: 0; } }
@keyframes dx-marq { to { transform: translateX(-50%); } }
@keyframes dx-rot { to { transform: rotate(360deg); } }
@keyframes dx-drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes dx-travel { 0% { transform: translateX(0); opacity: 0; } 12% { opacity: 1; } 46% { transform: translateX(var(--travel)); opacity: 1; } 56% { transform: translateX(var(--travel)); opacity: 0; } 100% { transform: translateX(var(--travel)); opacity: 0; } }
@keyframes dx-light { 0%, 50% { opacity: .4; transform: scale(.96); } 60%, 92% { opacity: 1; transform: scale(1); } 100% { opacity: .4; transform: scale(.96); } }
@keyframes dx-flash { 0%, 48% { opacity: 0; } 54% { opacity: 1; } 64%, 100% { opacity: 0; } }
@keyframes dx-fly { 0% { transform: translate(0,0); opacity: 1; } 55% { transform: translate(7px,-5px); opacity: 0; } 60% { transform: translate(-5px,3px); opacity: 0; } 100% { transform: translate(0,0); opacity: 1; } }
@keyframes dx-shake { 0%, 78%, 100% { transform: rotate(0); } 84% { transform: rotate(-9deg); } 90% { transform: rotate(7deg); } 96% { transform: rotate(-3deg); } }
@keyframes dx-nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-4px); } }
@keyframes dx-blink { 0%, 40%, 100% { opacity: 1; } 55%, 80% { opacity: .25; } }
@keyframes dx-stamp { 0%, 32% { opacity: 0; transform: rotate(-10deg) scale(1.9); } 39% { opacity: 1; transform: rotate(-10deg) scale(.92); } 44%, 86% { opacity: 1; transform: rotate(-10deg) scale(1); } 96%, 100% { opacity: 0; transform: rotate(-10deg) scale(1); } }
@keyframes dx-scan5 { 0% { top: 12%; opacity: 0; } 5% { opacity: .8; } 28% { top: 86%; opacity: .8; } 32%, 100% { top: 86%; opacity: 0; } }
@keyframes dx-flag { 0%, 26% { background: var(--rule2); } 30%, 90% { background: var(--hold-fg); } 100% { background: var(--rule2); } }
@keyframes dx-shuffle { 0%, 86% { transform: rotate(var(--r)) translate(0,0); } 93% { transform: rotate(calc(var(--r) - 3deg)) translate(-6px,4px); } 100% { transform: rotate(var(--r)) translate(0,0); } }
@keyframes dx-draw { to { stroke-dashoffset: 0; } }
@keyframes dx-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes dx-stripes { to { background-position: 17px 0; } }
@keyframes dx-pop { 0% { opacity: 0; transform: translateY(6px) scale(.85); } 60% { opacity: 1; transform: translateY(-2px) scale(1.04); } 100% { opacity: 1; transform: none; } }
@keyframes dx-wave { 0% { transform: scale(.15); opacity: 0; } 15% { opacity: .9; } 100% { transform: scale(1); opacity: 0; } }
@keyframes dx-lane { 0% { left: 0; opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { left: calc(100% - 12px); opacity: 0; } }
@keyframes dx-bar { from { width: 0; } to { width: 100%; } }

/* ── article pages (/blog/*) ────────────────────────────────────────────────
 * One reading column held to ~70 characters, with the table of contents beside
 * it on wide screens (sticky, the current section marked) and above it on
 * narrow ones. The article BODY is the original copy carried over verbatim, so
 * everything under .prose is styled by element rather than by new classes. */
.article-hero__inner { padding-block: 64px 56px; max-width: 880px; display: flex; flex-direction: column; gap: 22px; }
.article-hero .h1 { font-size: clamp(34px, 4.4vw, 54px); line-height: 1.08; }
.article-hero__cat { display: inline-flex; align-items: center; gap: 10px; font: 13px var(--mono); color: var(--accent); text-decoration: none; width: fit-content; }
.article-hero__meta { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; font: 13px var(--mono); color: var(--ink3); padding-top: 6px; }
.article-hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 72px; align-items: start; padding-block: 56px 96px; }
.article-layout > .prose { grid-column: 1; grid-row: 1; max-width: 720px; }
.toc { grid-column: 2; grid-row: 1; position: sticky; top: 104px; display: flex; flex-direction: column; gap: 12px; border-left: 1px solid var(--rule); padding-left: 20px; }
.toc__label { font: 12px var(--mono); color: var(--ink3); text-transform: uppercase; letter-spacing: .08em; }
.toc ol { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 2px; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: 10px; padding: 6px 0; min-height: 32px; font-size: 14px; line-height: 1.4; color: var(--ink2); text-decoration: none; position: relative; transition: color .2s; }
.toc a::before { content: counter(toc, decimal-leading-zero); font: 12px/1.65 var(--mono); color: var(--ink3); flex-shrink: 0; }
.toc a::after { content: ""; position: absolute; left: -21px; top: 6px; bottom: 6px; width: 2px; background: var(--accent); transform: scaleY(0); transition: transform .25s cubic-bezier(.2,.7,.2,1); }
.toc a:hover { color: var(--ink); opacity: 1; }
.toc a[aria-current="true"] { color: var(--ink); font-weight: 500; }
.toc a[aria-current="true"]::before { color: var(--accent); }
.toc a[aria-current="true"]::after { transform: scaleY(1); }

.prose { font-size: 18px; line-height: 1.75; color: var(--ink2); }
.prose > * + * { margin-top: 20px; }
.prose > p:first-child { font-size: 21px; line-height: 1.6; color: var(--ink); }
.prose h2 { margin-top: 56px; font-size: 30px; line-height: 1.2; font-weight: 600; letter-spacing: -.015em; color: var(--ink); scroll-margin-top: 104px; }
.prose h3 { margin-top: 36px; font-size: 21px; line-height: 1.35; font-weight: 600; color: var(--ink); scroll-margin-top: 104px; }
.prose h2 + *, .prose h3 + * { margin-top: 14px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 24px; }
.prose li + li { margin-top: 10px; }
.prose li::marker { color: var(--accent); }
.prose hr { border: 0; border-top: 1px solid var(--rule); margin-block: 48px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.55; }
.prose th { text-align: left; font: 12px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--ink3); padding: 12px 14px; background: var(--surface); border-bottom: 1px solid var(--rule2); }
.prose td { padding: 14px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.prose td:first-child { color: var(--ink); font-weight: 600; }
.prose .table-scroll { overflow-x: auto; border: 1px solid var(--rule); border-radius: 10px; }
.prose .table-scroll table { min-width: 520px; }
.prose .table-scroll tr:last-child td { border-bottom: 0; }
.prose .yes { color: var(--green); font-weight: 600; white-space: nowrap; }
.prose .no { color: var(--red); font-weight: 600; white-space: nowrap; }
.prose .src { display: block; margin-top: 8px; font: 13px/1.6 var(--mono); color: var(--ink3); }
.prose .src strong { color: var(--ink2); font-weight: 500; }
.prose .fbi-alert, .prose .pull, .prose .article-disclaimer { border-radius: 10px; padding: 20px 22px; font-size: 16px; line-height: 1.65; }
.prose .fbi-alert { background: var(--hold-bg); border: 1px solid var(--hold-rule); color: var(--ink); }
.prose .pull { background: var(--surface); border: 1px solid var(--rule); border-left: 3px solid var(--accent); color: var(--ink); font-style: italic; }
.prose .pull footer { margin-top: 10px; font: normal 13px var(--mono); color: var(--ink3); }
.prose .article-disclaimer { background: var(--surface); border: 1px solid var(--rule); color: var(--ink3); font-size: 15px; }
.related { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); }
@media (max-width: 1080px) {
  .article-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .article-layout > .prose { max-width: 760px; }
  .toc { grid-column: 1; position: static; border: 1px solid var(--rule); border-radius: 12px; padding: 20px 22px; background: var(--surface); max-width: 760px; }
  .toc a::after { display: none; }
  .article-layout > .prose { grid-row: 2; }
}

/* ── tablet ─────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav { padding: 0 12px 0 32px; }
  .nav-links { display: none; }
  .menu-btn { display: inline-flex; }
  .sec { padding-block: 80px; }
  .h2 { font-size: 34px; line-height: 1.14; }
  .page-hero__inner { padding-block: 56px 64px; }
  .hero__inner { padding-block: 64px 56px; gap: 48px; }
  .seq { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
  .band__inner { padding-block: 80px; }
  .band__title { font-size: 38px; }
  .tour__title, .ppane__title { font-size: 28px; }
  .tour__panels { padding: 28px; }
  .ppanes { padding: 28px; }
  .featured__title { font-size: 28px; }
  .ask__title { font-size: 30px; }
  .mkt__num { font-size: 44px; }
  .standards__inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .marquee { width: 100%; }
}

/* ── phone ──────────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .wrap { padding-inline: 20px; }
  .nav { padding: 0 6px 0 20px; min-height: 60px; }
  .nav-actions .nav-cta { display: none; }
  .nav-actions .icon-btn:not(.menu-btn) { border-color: transparent; }
  .brand__word { font-size: 14px; }
  .mobile-menu { padding: 8px 20px 20px; }
  .site-header.is-open .mobile-menu { grid-template-columns: 1fr; }
  .sec { padding-block: 56px; }
  .h2 { font-size: 28px; line-height: 1.15; }
  .h1 { font-size: 36px; line-height: 1.08; }
  .h1--long { font-size: 32px; }
  .h1--page { font-size: 34px; }
  .lead { font-size: 17px; }
  .sub { font-size: 16px; }
  .page-hero__inner { padding-block: 36px 48px; gap: 36px; }
  .hero__inner { padding-block: 40px 48px; gap: 40px; }
  .btn-row--hero .btn { width: 100%; justify-content: center; }
  .seq { grid-template-columns: 1fr; }
  .seq li { flex-direction: row; align-items: flex-start; gap: 14px; padding: 14px 10px; }
  .seq__top { margin: 0; }
  .seq__top .seq__num { display: none; }
  .tag { display: none; }
  .report__head, .report__status, .report__body, .report__foot { padding-inline: 16px; }
  .finding__detail { display: none; }
  .seat-panel { padding: 22px; }
  .seat-claim { font-size: 19px; }
  .barrier { --travel: 40px; padding: 20px 16px; gap: 14px; }
  .barrier__doc { width: 72px; height: 52px; padding: 0 10px; }
  .verified { height: 36px; font-size: 14px; padding: 0 12px; }
  .band__inner { padding-block: 56px; }
  .band__title { font-size: 30px; }
  .band__waves { right: -260px; }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top { padding-block: 40px 28px; gap: 28px; }
  .tour__title, .ppane__title { font-size: 24px; }
  .tour__panels { padding: 20px; }
  .ppanes { padding: 18px; }
  .converge { padding: 18px; }
  .converge__join { display: none; }
  .lane__node { min-width: 0; flex: 1; height: 32px; padding: 0 4px; font-size: 11px; }
  .featured { padding: 22px; }
  .featured__title { font-size: 24px; }
  .featured__vis { display: none; }
  .ask { padding: 22px; }
  .ask__title { font-size: 26px; }
  .stat { font-size: 40px; }
  .mkt__num { font-size: 40px; }
  .plan__amount { font-size: 34px; }
  .stamp-vis { transform: scale(.92); transform-origin: left top; }
  .split__legend em { font-size: 12px; }
  .article-hero__inner { padding-block: 36px 40px; gap: 18px; }
  .article-layout { padding-block: 32px 64px; gap: 32px; }
  .prose { font-size: 17px; }
  .prose > p:first-child { font-size: 19px; }
  .prose h2 { font-size: 25px; margin-top: 44px; }
  .prose h3 { font-size: 19px; }
  .toc { padding: 16px 18px; }
}

/* ── M208: primer, problem track and seat rows at narrow widths ───────────── */
@media (max-width: 900px) {
  .track { grid-template-columns: 1fr; gap: 18px; }
  .track::before, .track__line { left: 21px; right: auto; top: 22px; bottom: 22px; width: 2px; height: auto; }
  .track__line { display: none; }
  .track__step { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; row-gap: 2px; align-items: start; }
  .track__num { grid-row: 1 / span 2; margin-bottom: 0; }
}
@media (max-width: 600px) {
  .flow { padding: 14px; gap: 8px; }
  .flow__node { font-size: 13px; }
  .fig__num { font-size: 38px; }
  .swap__heads { display: none; }
  .swap__row { grid-template-columns: 1fr; gap: 6px; }
  .swap__arrow { transform: rotate(90deg); height: 18px; }
  .seat-panel:not([hidden]) .swap__arrow { animation: none; }
}

/* ── instrument pages (M216): a two-column spec table is a .compare without the
   plan grid's minimum width, read left to right rather than across columns ── */
.compare.spec table { min-width: 0; }
.compare.spec tbody th { width: 34%; color: var(--ink2); font-weight: 500; vertical-align: top; }
.compare.spec td { text-align: left; color: var(--ink); vertical-align: top; }
.compare.spec thead th:not(:first-child) { text-align: left; }
@media (max-width: 600px) { .compare.spec tbody th { width: 40%; } .compare.spec th, .compare.spec td { padding: 12px; font-size: 14px; } }

/* ── legal pages and the waitlist form (M215) ────────────────────────────
 * /privacy and /terms are articles: the same hero, contents rail and .prose as
 * /blog/*, so the legal text reads in the site's type rather than its own.
 * .note is a callout the text points at — the barrier promise, a warning. */
.prose .note { background: var(--surface); border: 1px solid var(--rule); border-left: 3px solid var(--accent); border-radius: 10px; padding: 18px 20px; font-size: 16px; line-height: 1.65; color: var(--ink); }
.prose .note--warn { background: var(--hold-bg); border-color: var(--hold-rule); border-left-color: var(--hold-fg); }
.prose .note > * + * { margin-top: 10px; }

.waitlist { align-items: flex-start; }
.waitlist .checks { font-size: 16px; }
.waitlist__aside-note { font-size: 15px; color: var(--ink3); max-width: 560px; }
.form-card { background: var(--card); border: 1px solid var(--rule2); border-radius: 14px; box-shadow: var(--shadow); padding: 28px; }
.form-card__title { font-size: 22px; line-height: 1.25; font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
.form-card__sub { margin-top: 6px; margin-bottom: 22px; font-size: 15px; color: var(--ink3); }
.form-card p + p { margin-top: 12px; }
#thank-you { display: none; }
#thank-you p { font-size: 16px; line-height: 1.6; color: var(--ink2); margin-top: 12px; }
.field { display: flex; flex-direction: column; gap: 7px; margin: 0 0 16px; border: 0; padding: 0; min-width: 0; }
.field > label, .field > legend { font: 500 13px var(--mono); color: var(--ink2); padding: 0; }
.field legend { margin-bottom: 7px; }
.field .optional { color: var(--ink3); font-weight: 400; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field input:not([type="checkbox"]), .field select {
  width: 100%; min-height: 46px; padding: 10px 12px; font: 15px var(--sans); color: var(--ink);
  background: var(--bg); border: 1px solid var(--rule2); border-radius: 8px; transition: border-color .15s, box-shadow .15s;
}
.field input:not([type="checkbox"])::placeholder { color: var(--ink3); }
.field input:not([type="checkbox"]):focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--tint); }
.opt-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.opt-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border: 1px solid var(--rule2); border-radius: 999px; font-size: 15px; color: var(--ink2); cursor: pointer; user-select: none; transition: border-color .15s, color .15s, background-color .15s; }
.opt-chip:hover { border-color: var(--accent); color: var(--ink); }
.opt-chip:has(input:checked) { border-color: var(--accent); background: var(--tint); color: var(--ink); }
.opt-chip input, .check input { width: 18px; height: 18px; margin: 0; accent-color: var(--accent); }
.check { display: flex; align-items: center; gap: 10px; min-height: 44px; margin: 0 0 16px; font-size: 15px; color: var(--ink2); cursor: pointer; }
.turnstile-box:empty { display: none; }
.turnstile-box { margin: 0 0 16px; }
.form-error { display: none; margin: 0 0 14px; font-size: 14px; color: var(--red); }
.form-note { margin-top: 14px; font-size: 13px; line-height: 1.6; color: var(--ink3); }
@media (max-width: 600px) {
  .form-card { padding: 22px 18px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
}

/* ── reduced motion: collapse durations, land on the final frame ─────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important;
    animation-timeline: auto !important;
    transition-duration: .01ms !important; transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }
  .marquee__track { animation: none !important; }
  .ul { background-size: 100% .08em; }
}
