/* ═══════════════════════════════════════════════════════════════════════
   DESLARGE · Landing · Trading Intelligence Desk
   Ported from pitch deck system
   Typography: Bebas Neue (display) · Urbanist (UI) · Fira Code (data)
   ═══════════════════════════════════════════════════════════════════════ */

:root {
  /* Fonts */
  --font-display: 'Bebas Neue', sans-serif;
  --font-ui: 'Urbanist', -apple-system, sans-serif;
  --font-data: 'Fira Code', ui-monospace, Menlo, monospace;

  /* Type scale */
  --text-4xl: 48px;
  --text-3xl: 36px;
  --text-2xl: 28px;
  --text-xl: 24px;
  --text-lg: 18px;
  --text-md: 14px;
  --text-sm: 12px;
  --text-xs: 10px;
  --text-2xs: 9px;

  /* Text colors */
  --text-primary: #F0F0F2;
  --text-secondary: #A0A0AC;
  --text-tertiary: #6E6E7A;
  --text-muted: #3F3F48;

  /* Semantic */
  --profit: #22C55E;
  --profit-dim: #16A34A;
  --profit-glow: rgba(34, 197, 94, 0.35);
  --loss: #EF4444;
  --loss-dim: #DC2626;
  --accent: #3B82F6;
  --warning: #F59E0B;

  /* Brand */
  --brand: #2ECC71;
  --brand-deep: #1E8E4E;
  --brand-glow: rgba(46, 204, 113, 0.28);
  --brand-binary: #D97706;

  /* Background system */
  --bg-void: #000000;
  --bg-deep: #08080A;
  --bg-graphite: #0E0E12;
  --bg-panel: rgba(18, 18, 22, 0.62);
  --bg-panel-solid: #121216;
  --bg-panel-hi: rgba(28, 28, 34, 0.72);

  /* Borders */
  --border-faint: rgba(255, 255, 255, 0.04);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.12);
  --border-bright: rgba(255, 255, 255, 0.22);
  --border-brand: rgba(46, 204, 113, 0.35);

  /* Glass */
  --glass-blur: 22px;
  --glass-bg: rgba(16, 18, 22, 0.55);
  --glass-bg-hi: rgba(24, 26, 32, 0.72);
  --glass-border: 1px solid rgba(255, 255, 255, 0.08);
  --glass-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 30px 60px -20px rgba(0, 0, 0, 0.8),
    0 0 40px -10px rgba(46, 204, 113, 0.06);

  /* Density */
  --space-section: 160px;
  --space-block: 48px;
  --container: 1240px;
  --ticker-speed: 60s;

  /* Active accent (set by Tweaks) */
  --accent-hue: var(--brand);
  --accent-hue-glow: var(--brand-glow);
}

[data-density="compact"] {
  --space-section: 96px;
  --space-block: 32px;
}
[data-density="spacious"] {
  --space-section: 200px;
  --space-block: 64px;
}

[data-accent="blue"]  { --accent-hue: #3B82F6; --accent-hue-glow: rgba(59,130,246,0.28); }
[data-accent="amber"] { --accent-hue: #F59E0B; --accent-hue-glow: rgba(245,158,11,0.28); }

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg-void);
  color: var(--text-primary);
  font-family: var(--font-ui);
  font-feature-settings: "ss01" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ─── Ambient layers ──────────────────────────────────────────────── */
/* [2026-07-21] Grid crosshatch retired per GS — the fine grid lines read as
   AI-generated. Background is now smooth: the orbs, vignette and noise carry the
   ambient depth. Classes kept as no-ops so the existing DOM layers stay harmless. */
.bg-grid,
.bg-grid-fine {
  display: none;
}

.bg-orb {
  position: absolute;
  width: 900px;
  height: 900px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.5;
  pointer-events: none;
  will-change: transform;
}
.bg-orb.brand { background: radial-gradient(circle at center, rgba(46, 204, 113, 0.55), transparent 60%); }
.bg-orb.emerald-dim { background: radial-gradient(circle at center, rgba(22, 163, 74, 0.4), transparent 60%); }
.bg-orb.amber { background: radial-gradient(circle at center, rgba(217, 119, 6, 0.35), transparent 60%); }
.bg-orb.blue { background: radial-gradient(circle at center, rgba(59, 130, 246, 0.35), transparent 60%); }

.bg-noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.5 0'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>");
}

/* [2026-07-21] Scanlines retired per GS — fine horizontal lines are part of the
   same "not smooth" texture; removed for an even, smooth background. */
.bg-scanline {
  display: none;
}

.bg-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 100% 80% at center, transparent 40%, rgba(0,0,0,0.6) 100%);
}

/* ─── Glass ──────────────────────────────────────────────────────── */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(140%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(140%);
  border: var(--glass-border);
  border-radius: 14px;
  box-shadow: var(--glass-shadow);
}
.glass-hi {
  background: var(--glass-bg-hi);
  backdrop-filter: blur(var(--glass-blur)) saturate(160%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(160%);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.08) inset,
    0 0 0 1px rgba(255,255,255,0.02) inset,
    0 40px 80px -30px rgba(0,0,0,0.9),
    0 0 60px -20px rgba(46, 204, 113, 0.1);
}

/* ─── Typography ─────────────────────────────────────────────────── */
.display { font-family: var(--font-display); font-weight: 400; line-height: 1; letter-spacing: 2px; }
.display-xl { font-family: var(--font-display); font-weight: 400; line-height: 0.92; letter-spacing: 3px; font-size: clamp(72px, 11vw, 168px); text-transform: uppercase; }
.display-lg { font-family: var(--font-display); font-weight: 400; line-height: 1; letter-spacing: 2px; font-size: clamp(48px, 6vw, 96px); text-transform: uppercase; }
.display-md { font-family: var(--font-display); font-weight: 400; line-height: 1; letter-spacing: 2px; font-size: clamp(36px, 4.5vw, 64px); text-transform: uppercase; }
.display-sm { font-family: var(--font-display); font-weight: 400; line-height: 1; letter-spacing: 2px; font-size: 48px; text-transform: uppercase; }

.label {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
}
.label-hi {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-secondary);
}
.label-brand {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-hue);
}

.mono { font-family: var(--font-data); font-feature-settings: 'tnum' 1; }
.italic-remark { font-style: italic; font-weight: 400; color: var(--text-tertiary); }

.eyebrow {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-hue);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 28px; height: 1px;
  background: var(--accent-hue);
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  letter-spacing: 2.5px;
  color: var(--text-tertiary);
  text-transform: uppercase;
}

.lede {
  font-family: var(--font-ui);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-secondary);
  max-width: 820px;
  text-wrap: pretty;
}

.divider-line { height: 1px; background: linear-gradient(90deg, var(--border), transparent); }

.gradient-brand {
  background: linear-gradient(135deg, #F0F0F2 0%, var(--accent-hue) 60%, var(--brand-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ─── Tags ───────────────────────────────────────────────────────── */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 4px;
  font-family: var(--font-ui);
  font-size: var(--text-2xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.tag.brand { background: rgba(46, 204, 113, 0.12); color: var(--brand); border: 1px solid rgba(46, 204, 113, 0.3); }
.tag.profit { background: rgba(34, 197, 94, 0.12); color: var(--profit); border: 1px solid rgba(34, 197, 94, 0.3); }
.tag.loss { background: rgba(239, 68, 68, 0.12); color: var(--loss); border: 1px solid rgba(239, 68, 68, 0.3); }
.tag.accent { background: rgba(59, 130, 246, 0.12); color: var(--accent); border: 1px solid rgba(59, 130, 246, 0.3); }
.tag.warn { background: rgba(245, 158, 11, 0.12); color: var(--warning); border: 1px solid rgba(245, 158, 11, 0.3); }
.tag.muted { background: rgba(255,255,255,0.03); color: var(--text-tertiary); border: 1px solid var(--border-subtle); }

/* ─── Status pill ────────────────────────────────────────────────── */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: rgba(255,255,255,0.02);
  font-family: var(--font-data);
  font-size: var(--text-2xs);
  color: var(--text-secondary);
  letter-spacing: 0.5px;
}
.status-pill .live-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--profit);
  box-shadow: 0 0 8px var(--profit-glow);
  animation: pulse 2s ease-in-out infinite;
}
.status-pill .live-dot.is-off {
  background: var(--text-muted);
  box-shadow: none;
  animation: none;
}
.market-rotator {
  display: inline-block;
  height: 1.2em;
  overflow: hidden;
  vertical-align: middle;
  line-height: 1.2em;
  min-width: 110px;
}
.market-rotator-track {
  display: flex;
  flex-direction: column;
  transition: transform 420ms cubic-bezier(0.65, 0, 0.35, 1);
}
.market-rotator-track.no-anim { transition: none; }
.market-rotator-row {
  height: 1.2em;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.status-pill:hover .market-rotator-track { transition-duration: 0ms; }
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

/* ─── Ticker marquee ─────────────────────────────────────────────── */
.ticker-strip {
  display: flex;
  gap: 40px;
  font-family: var(--font-data);
  font-feature-settings: 'tnum' 1;
  font-size: var(--text-xs);
  white-space: nowrap;
}
.ticker-item {
  display: inline-flex; gap: 10px; align-items: center;
  color: var(--text-secondary);
}
.ticker-item .sym { color: var(--text-tertiary); font-weight: 500; }
.ticker-item .val { color: var(--text-primary); font-weight: 500; }
.ticker-item .chg.up { color: var(--profit); }
.ticker-item .chg.dn { color: var(--loss); }

.marquee {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent 0%, black 6%, black 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 6%, black 94%, transparent 100%);
}
.marquee-track {
  display: inline-flex;
  gap: 56px;
  animation: marquee var(--ticker-speed) linear infinite;
  padding-right: 56px;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─── Terminal caret ─────────────────────────────────────────────── */
.caret::after {
  content: '▊';
  color: var(--accent-hue);
  animation: caret-blink 1.1s step-end infinite;
  margin-left: 4px;
}
@keyframes caret-blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* ─── Nav (trading-desk chrome) ──────────────────────────────────── */
.nav-chrome {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 28px;
  background: rgba(8, 8, 10, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--border-faint);
  font-family: var(--font-data);
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  letter-spacing: 0.5px;
}
.nav-chrome .logo {
  display: inline-flex; align-items: center; gap: 10px;
  flex-shrink: 0;
}
.nav-chrome .logo img { width: 22px; height: 22px; object-fit: contain; }
.nav-chrome .logo .wordmark {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 3px;
  color: var(--text-primary);
}
.nav-chrome .sep {
  width: 1px; height: 18px; background: var(--border-subtle);
  flex-shrink: 0;
}
.nav-chrome .cluster {
  display: inline-flex; align-items: center; gap: 16px;
  flex-shrink: 0;
}
.nav-chrome .mini-ticker {
  flex: 1 1 0;
  overflow: hidden;
  min-width: 0;
  max-width: 100%;
}
.nav-chrome .mini-ticker .marquee-track {
  animation-duration: calc(var(--ticker-speed) * 1.4);
}
.nav-chrome .links {
  display: inline-flex; gap: 20px;
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.nav-chrome .links a { color: var(--text-secondary); transition: color 0.2s; }
.nav-chrome .links a:hover { color: var(--text-primary); }
.nav-chrome .cta-mini {
  padding: 8px 14px;
  background: var(--accent-hue);
  color: #000;
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: 6px;
  transition: filter 0.15s, transform 0.15s;
}
.nav-chrome .cta-mini:hover { filter: brightness(1.1); transform: translateY(-1px); }

@media (max-width: 900px) {
  .nav-chrome .links { display: none; }
  .nav-chrome .mini-ticker { display: none; }
}

/* ─── Container ──────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: min(1240px, 100%);
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  min-width: 0;
}

/* ─── Hero ───────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 120px 0 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.hero .hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 32px;
  min-width: 0;
  max-width: 100%;
}
.hero .hero-inner > * {
  min-width: 0;
  max-width: 100%;
}
.hero .h1-line {
  font-family: var(--font-display);
  font-size: clamp(44px, 7vw, 96px);
  letter-spacing: 2px;
  line-height: 0.95;
  text-transform: uppercase;
  margin: 0;
  text-wrap: balance;
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: none;
  min-width: 0;
  max-width: 100%;
}
.hero .h1-line .accent { color: var(--accent-hue); }
.hero .h1-line .fade { color: var(--text-tertiary); }

/* [2026-06-24 SEO QW-3] Keyworded hero subhead — visually subordinate to the H1,
   sits above the rotating .lede paragraph. */
.hero-subhead {
  font-family: var(--font-ui);
  font-size: clamp(15px, 1.2vw, 18px);
  font-weight: 600;
  line-height: 1.45;
  color: var(--text-secondary);
  letter-spacing: 0.2px;
  margin: 14px 0 0;
  max-width: 760px;
  text-wrap: pretty;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--font-data);
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  letter-spacing: 0.5px;
}
.hero-meta .dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--text-muted);
}

.hero-ctas {
  display: flex; gap: 16px; flex-wrap: wrap; align-items: center;
  margin-top: 8px;
}

.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px;
  background: var(--accent-hue);
  color: #000;
  font-family: var(--font-ui);
  font-size: var(--text-md);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: 8px;
  transition: filter 0.15s, transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 10px 30px -10px var(--accent-hue-glow);
}
.btn-primary:hover { filter: brightness(1.1); transform: translateY(-2px); box-shadow: 0 16px 40px -10px var(--accent-hue-glow); }
.btn-primary .arrow { transition: transform 0.15s; }
.btn-primary:hover .arrow { transform: translateX(4px); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 24px;
  color: var(--text-primary);
  font-family: var(--font-ui);
  font-size: var(--text-md);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
  transition: background 0.15s, border-color 0.15s;
}
.btn-ghost:hover { background: rgba(255,255,255,0.05); border-color: var(--border-bright); }

/* Hero ticker panel (big) */
.hero-ticker {
  margin-top: 40px;
  padding: 16px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

/* Corner frame (ASCII-style) */
.frame-corner {
  position: absolute;
  width: 14px; height: 14px;
  border-color: var(--border-bright);
}
.frame-corner.tl { top: 0; left: 0; border-top: 1px solid; border-left: 1px solid; }
.frame-corner.tr { top: 0; right: 0; border-top: 1px solid; border-right: 1px solid; }
.frame-corner.bl { bottom: 0; left: 0; border-bottom: 1px solid; border-left: 1px solid; }
.frame-corner.br { bottom: 0; right: 0; border-bottom: 1px solid; border-right: 1px solid; }

/* ─── Section scaffolding ────────────────────────────────────────── */
section.block {
  position: relative;
  padding: var(--space-section) 0;
  overflow: hidden;
}
section.block > .container { z-index: 2; }
section.block .ambient { position: absolute; inset: 0; z-index: 0; pointer-events: none; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: var(--space-block);
  flex-wrap: wrap;
}
.section-head .title-block { max-width: 760px; }
.section-head .idx {
  font-family: var(--font-data);
  font-size: var(--text-xs);
  color: var(--text-muted);
  letter-spacing: 1px;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  letter-spacing: 2px;
  line-height: 1;
  margin: 14px 0 16px;
  text-transform: uppercase;
  text-wrap: balance;
}
.section-head h2 .accent { color: var(--accent-hue); }

/* ─── Thesis ─────────────────────────────────────────────────────── */
.thesis {
  padding: 100px 0;
  position: relative;
  text-align: center;
  border-top: 1px solid var(--border-faint);
  border-bottom: 1px solid var(--border-faint);
}
.thesis .thesis-line {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 56px);
  letter-spacing: 1.5px;
  line-height: 1.1;
  text-transform: uppercase;
  max-width: 1100px;
  margin: 0 auto;
  text-wrap: balance;
}
.thesis .thesis-line .strike { color: var(--text-muted); text-decoration: line-through; text-decoration-thickness: 2px; }
.thesis .thesis-line .accent { color: var(--accent-hue); }

/* ─── Proof band (gated) ─────────────────────────────────────────── */
.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-faint);
  border: 1px solid var(--border-faint);
  border-radius: 14px;
  overflow: hidden;
}
.proof-cell {
  padding: 32px 28px;
  background: var(--bg-deep);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 200px;
}
.proof-cell .cell-label {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-tertiary);
}
.proof-cell .cell-value {
  font-family: var(--font-display);
  font-size: clamp(48px, 5vw, 72px);
  letter-spacing: 2px;
  line-height: 1;
  color: var(--text-primary);
  margin-top: auto;
}
.proof-cell .cell-value.gated {
  color: transparent;
  background: linear-gradient(90deg, rgba(240,240,242,0.22) 0%, rgba(240,240,242,0.08) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  position: relative;
  filter: blur(10px);
  user-select: none;
}
.proof-cell .cell-unit {
  font-family: var(--font-data);
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  margin-top: 4px;
}

.proof-cta {
  margin-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
  padding: 20px 24px;
  background: var(--bg-deep);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
}
.proof-cta .msg {
  font-family: var(--font-data);
  font-size: var(--text-xs);
  color: var(--text-secondary);
  letter-spacing: 0.5px;
}
.proof-cta .msg .accent { color: var(--accent-hue); }
.proof-cta .link {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-hue);
  border-bottom: 1px solid var(--accent-hue);
  padding-bottom: 2px;
  cursor: pointer;
}

.proof-cell.revealed .cell-value.gated { filter: none; color: var(--text-primary); background: none; -webkit-text-fill-color: currentColor; }

/* ─── Capabilities ───────────────────────────────────────────────── */
/* Fallback (JS-off / reduced-motion): each .cap-track renders as the classic grid. */
.cap-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cap-row + .cap-row-label { margin-top: 40px; }
.cap-row-label {
  display: flex; align-items: baseline; justify-content: space-between;
  margin: 0 0 14px;
}
.cap-row-label .row-tag {
  font-family: var(--font-data);
  font-size: var(--text-xs);
  letter-spacing: 2.5px;
  color: var(--brand);
}
.cap-row-label .row-hint {
  font-family: var(--font-data);
  font-size: var(--text-2xs);
  letter-spacing: 1.5px;
  color: var(--text-muted);
  opacity: 0;
  transition: opacity 0.4s;
}
.cap-carousel.is-carousel .row-hint { opacity: 0.7; }

/* JS-enhanced 3D momentum carousel */
.cap-carousel.is-carousel { perspective: 1200px; }
.cap-carousel.is-carousel .cap-row {
  overflow: hidden;
  margin: 0 calc(50% - 50vw);            /* full-bleed rows */
  padding: 14px 0 18px;
  touch-action: pan-y;
  cursor: grab;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.cap-carousel.is-carousel .cap-row.is-dragging { cursor: grabbing; }
.cap-carousel.is-carousel .cap-track {
  display: flex;
  gap: 20px;
  width: max-content;
  will-change: transform;
  transform-style: preserve-3d;
}
.cap-carousel.is-carousel .cap-card {
  flex: 0 0 380px;
  width: 380px;
  user-select: none;
  backface-visibility: hidden;
}
.cap-carousel.is-carousel .cap-card:hover { transform: none; } /* hover-lift off; 3D transform owns the card */

.cap-card {
  padding: 32px 28px;
  background: var(--bg-deep);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  display: flex; flex-direction: column; gap: 14px;
  min-height: 240px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
}
.cap-card:hover {
  border-color: var(--accent-hue);
  background: var(--bg-graphite);
  transform: translateY(-2px);
}
.cap-card .cap-num {
  font-family: var(--font-data);
  font-size: var(--text-xs);
  color: var(--text-muted);
  letter-spacing: 1px;
}
.cap-card h3 {
  font-family: var(--font-display);
  font-size: clamp(24px, 2vw, 32px);
  letter-spacing: 1.5px;
  line-height: 1.05;
  margin: 0;
  text-transform: uppercase;
}
.cap-card .cap-body {
  color: var(--text-secondary);
  font-size: var(--text-md);
  line-height: 1.55;
  text-wrap: pretty;
}
.cap-card .cap-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }

@media (max-width: 900px) {
  .cap-track { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile: native scroll-snap strip — no 3D, no JS carousel */
@media (max-width: 760px) {
  .cap-row {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    margin: 0 -20px;
    padding: 4px 20px 14px;
    scrollbar-width: none;
  }
  .cap-row::-webkit-scrollbar { display: none; }
  .cap-track {
    display: flex;
    gap: 14px;
    width: max-content;
  }
  .cap-card {
    flex: 0 0 82vw;
    width: 82vw;
    scroll-snap-align: center;
  }
  .cap-row-label .row-hint { opacity: 0.7; }
}

/* ─── Safety ─────────────────────────────────────────────────────── */
.safety-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 900px) { .safety-wrap { grid-template-columns: 1fr; } }

.safety-list { display: grid; gap: 14px; }
.safety-row {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  background: var(--bg-deep);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
}
.safety-row .idx {
  font-family: var(--font-data);
  font-size: var(--text-xs);
  color: var(--accent-hue);
  letter-spacing: 1px;
}
.safety-row .name { font-weight: 600; color: var(--text-primary); font-size: var(--text-md); }
.safety-row .desc { color: var(--text-tertiary); font-size: var(--text-sm); margin-top: 2px; }
.safety-row .kpi {
  font-family: var(--font-data);
  font-size: var(--text-md);
  color: var(--profit);
  font-weight: 500;
}

/* Visual: concentric safety diagram */
.safety-viz {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
}
.safety-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  display: flex; align-items: center; justify-content: center;
}
.safety-ring[data-ring="1"] { inset: 0; border-color: rgba(46,204,113,0.08); }
.safety-ring[data-ring="2"] { inset: 12%; border-color: rgba(46,204,113,0.15); }
.safety-ring[data-ring="3"] { inset: 24%; border-color: rgba(46,204,113,0.25); }
.safety-ring[data-ring="4"] { inset: 36%; border-color: rgba(46,204,113,0.35); }
.safety-ring[data-ring="5"] {
  inset: 48%;
  border-color: var(--accent-hue);
  background: radial-gradient(circle, var(--accent-hue-glow), transparent 70%);
}
.safety-viz .core-label {
  position: absolute;
  inset: 48%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 1.5px;
  color: var(--accent-hue);
}
.safety-viz .ring-tag {
  position: absolute;
  padding: 4px 10px;
  background: var(--bg-deep);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  font-family: var(--font-data);
  font-size: var(--text-2xs);
  color: var(--text-secondary);
  letter-spacing: 0.5px;
  white-space: nowrap;
  transform: translate(-50%, -50%);
}

/* ─── Pricing (stacked expandable) ───────────────────────────────── */
.pricing-stack { display: grid; gap: 14px; }
.price-card {
  position: relative;
  background: var(--bg-deep);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s, background 0.2s;
}
.price-card:hover { border-color: var(--border); }
.price-card.featured { border-color: var(--accent-hue); box-shadow: 0 0 40px -15px var(--accent-hue-glow); }
.price-card.featured::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--accent-hue-glow), transparent 40%);
  opacity: 0.4;
  pointer-events: none;
}

.price-head {
  display: grid;
  grid-template-columns: 100px 1.2fr 1.8fr auto auto;
  gap: 24px;
  align-items: center;
  padding: 28px 28px;
  cursor: pointer;
  position: relative;
  z-index: 1;
}
.price-head .tier-num {
  font-family: var(--font-data);
  font-size: var(--text-xs);
  color: var(--text-muted);
  letter-spacing: 1px;
}
.price-head .tier-name {
  font-family: var(--font-display);
  font-size: clamp(28px, 2.4vw, 36px);
  letter-spacing: 2px;
  text-transform: uppercase;
}
.price-head .tier-name .rec {
  display: inline-block;
  margin-left: 12px;
  padding: 3px 8px;
  background: var(--accent-hue);
  color: #000;
  font-family: var(--font-ui);
  font-size: var(--text-2xs);
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: 4px;
  vertical-align: middle;
}
.price-head .tier-blurb {
  font-family: var(--font-ui);
  font-size: var(--text-md);
  color: var(--text-secondary);
  line-height: 1.45;
}
.price-head .tier-price {
  font-family: var(--font-display);
  font-size: clamp(32px, 3vw, 44px);
  letter-spacing: 1.5px;
  color: var(--text-primary);
  white-space: nowrap;
}
.price-head .tier-price .per {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-tertiary);
  letter-spacing: 0.5px;
  margin-left: 6px;
}
.price-head .expand-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--text-secondary);
  transition: transform 0.2s, border-color 0.2s, color 0.2s;
}
.price-card[data-open="true"] .expand-btn { transform: rotate(45deg); border-color: var(--accent-hue); color: var(--accent-hue); }

.price-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}
.price-card[data-open="true"] .price-body { grid-template-rows: 1fr; }
.price-body > .inner {
  overflow: hidden;
  min-height: 0;
}
.price-body .inner-pad {
  padding: 0 28px 28px;
  display: grid;
  /* [2026-04-23 PRICING-GRID-MINWIDTH] Previously `1fr 1fr 1fr` which
     squeezed each column to ~200px on medium-width viewports (below the
     900px breakpoint but above mobile). That caused any <li> with a
     .tm-wrap nowrap span PLUS following text to per-word wrap — the
     nowrap span overflowed the cell width so trailing hyphenated text
     like "Greeks-adaptive target" or "multi-strike averaging" had only
     a sliver of column width left and broke each word onto its own line.
     auto-fit + minmax(240px, 1fr) drops to 2 cols or 1 col when 3 don't
     fit comfortably — no per-word wrap, still renders 3 wide on desktop. */
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
  border-top: 1px solid var(--border-faint);
  padding-top: 24px;
}
.price-body h4 {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-tertiary);
  margin: 0 0 12px;
}
.price-body ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.price-body ul li {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.5;
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 10px;
  align-items: start;
  /* [2026-04-23 TRACK-REVERT] Previously tried minmax(0, 1fr) to
     "unclamp" the track — but that let the content track shrink
     BELOW the nowrap span's min-content. The span overflowed visually
     while subsequent text was still constrained to the shrunken track
     width, triggering per-word wrap on "(Greeks-adaptive target)".
     Plain `1fr` clamps to min-content (the widest unbreakable word),
     which is the correct behaviour for trademark spans. Combined with
     non-breaking hyphens in "Greeks‑adaptive" / "multi‑strike"
     this keeps all pricing rows clean. */
}
.price-body ul li::before {
  content: '▸';
  color: var(--accent-hue);
  font-family: var(--font-data);
  font-size: 10px;
  line-height: 1.5;
}
.price-body ul li.muted { color: var(--text-muted); }
.price-body ul li.muted::before { color: var(--text-muted); content: '·'; }

@media (max-width: 900px) {
  .price-head { grid-template-columns: 1fr auto; gap: 12px; padding: 20px; }
  .price-head .tier-num, .price-head .tier-blurb { display: none; }
  .price-body .inner-pad { grid-template-columns: 1fr; padding: 20px; }
}

/* ─── Moat / IP ──────────────────────────────────────────────────── */
.moat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .moat-grid { grid-template-columns: 1fr 1fr; } }

.moat-card {
  padding: 28px 24px;
  background: var(--bg-deep);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  display: flex; flex-direction: column; gap: 12px;
  min-height: 220px;
}
.moat-card .moat-metric {
  font-family: var(--font-display);
  font-size: 56px;
  letter-spacing: 1.5px;
  color: var(--accent-hue);
  line-height: 1;
}
.moat-card .moat-metric .unit {
  font-family: var(--font-data);
  font-size: 14px;
  color: var(--text-tertiary);
  letter-spacing: 0.5px;
  margin-left: 4px;
}
.moat-card h3 {
  font-family: var(--font-ui);
  font-size: var(--text-lg);
  font-weight: 700;
  margin: 0;
}
.moat-card .moat-body {
  color: var(--text-tertiary);
  font-size: var(--text-sm);
  line-height: 1.55;
  margin-top: auto;
}

/* ─── Founder ────────────────────────────────────────────────────── */
.founder-wrap {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 900px) { .founder-wrap { grid-template-columns: 1fr; } }

.founder-photo {
  aspect-ratio: 4 / 5;
  background:
    repeating-linear-gradient(
      135deg,
      rgba(46,204,113,0.06) 0 20px,
      rgba(46,204,113,0.02) 20px 40px
    ),
    var(--bg-graphite);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.founder-photo .placeholder-label {
  font-family: var(--font-data);
  font-size: var(--text-xs);
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.founder-photo .corner-tag {
  position: absolute;
  top: 10px; left: 10px;
  font-family: var(--font-data);
  font-size: var(--text-2xs);
  color: var(--text-tertiary);
  letter-spacing: 1px;
}

/* [2026-04-23 FOUNDER-PHOTO-FILLED] When the founder photo asset is wired
   in, we drop the repeating-pattern placeholder background and let the
   <img> cover the tile. Slight ring + subtle zoom on hover matches the
   rest of the landing page's glass-panel vocabulary.                  */
.founder-photo.founder-photo--filled {
  background: var(--bg-void);
  padding: 0;
}
.founder-photo.founder-photo--filled img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  transition: transform 0.6s ease-out;
}
/* [2026-08-16] hover-guarded: a tap on touch devices left the photo stuck at scale(1.03) */
@media (hover: hover) {
  .founder-photo.founder-photo--filled:hover img {
    transform: scale(1.03);
  }
}
.founder-photo.founder-photo--filled::after {
  content: '';
  position: absolute; inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04), inset 0 -80px 120px -40px rgba(0,0,0,0.55);
}

.founder-body h3 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 56px);
  letter-spacing: 2px;
  line-height: 1;
  margin: 0 0 6px;
  text-transform: uppercase;
}
/* [2026-04-23 DR-PREFIX] "Dr" prefix sits as a smaller, mixed-case
   inline badge before the uppercase display name. Bebas Neue (the
   display font) is caps-only, so the prefix falls back to Urbanist
   which has a lowercase 'r'. Escapes the parent's text-transform so
   the 'r' stays lowercase. */
.founder-body h3 .prefix {
  text-transform: none;
  font-family: var(--font-ui);
  font-size: 0.48em;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  vertical-align: 0.32em;
  margin-right: 10px;
}
.founder-body .role {
  font-family: var(--font-data);
  font-size: var(--text-xs);
  color: var(--accent-hue);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.founder-body .bio {
  font-family: var(--font-ui);
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: 1.55;
  text-wrap: pretty;
}
.founder-body .founder-meta {
  margin-top: 24px;
  display: grid;
  /* [2026-08-16 FOUNDER-META-AUTOFIT] was repeat(3, 1fr): with FOUR meta
     cells that orphaned the 4th onto its own row on desktop and crushed the
     long values ("BDS · FMC · Programmer · Trader") into ~106px columns on
     phones. auto-fit lays 4-up on desktop, 2-up on phones, 1-up at 320px. */
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--border-faint);
}
.founder-body .founder-meta .k { font-family: var(--font-data); font-size: var(--text-xs); color: var(--text-muted); letter-spacing: 1px; text-transform: uppercase; }
/* [2026-08-16] fixed 24px never scaled down → 4-6 ragged wrap lines per cell on phones */
.founder-body .founder-meta .v { font-family: var(--font-display); font-size: clamp(18px, 1.4vw + 8px, 24px); letter-spacing: 1.5px; color: var(--text-primary); margin-top: 6px; }

/* ─── CTA footer ─────────────────────────────────────────────────── */
.cta-footer {
  position: relative;
  padding: 160px 0 48px;
  overflow: hidden;
  border-top: 1px solid var(--border-faint);
}
.cta-block {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
}
.cta-block h2 {
  font-family: var(--font-display);
  font-size: clamp(56px, 10vw, 144px);
  letter-spacing: 3px;
  line-height: 0.9;
  margin: 16px 0 28px;
  text-transform: uppercase;
  text-wrap: balance;
}
.cta-block h2 .accent { color: var(--accent-hue); }
.cta-block .sub {
  font-family: var(--font-ui);
  font-size: clamp(18px, 1.4vw, 22px);
  color: var(--text-secondary);
  line-height: 1.5;
  max-width: 720px;
  margin: 0 auto 36px;
}
.cta-block .ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* [2026-06-24 SEO QW-8] DESLARGE network cross-property links — sits above the
   footer-bar, same muted data-font language. */
.brand-network {
  margin-top: 96px;
  padding-top: 24px;
  border-top: 1px solid var(--border-faint);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-family: var(--font-data);
  font-size: var(--text-xs);
  letter-spacing: 0.5px;
  color: var(--text-muted);
  position: relative;
  z-index: 2;
}
.brand-network-label {
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-right: 4px;
}
.brand-network a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}
.brand-network a:hover { color: var(--brand-hi, #4FDE8C); }
.brand-network-sep { color: var(--text-muted); }
.brand-network-here { color: var(--text-muted); }

.footer-bar {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border-faint);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-family: var(--font-data);
  font-size: var(--text-xs);
  color: var(--text-muted);
  letter-spacing: 0.5px;
  position: relative;
  z-index: 2;
}
.footer-bar .legal-links { display: flex; gap: 20px; }
.footer-bar .legal-links a:hover { color: var(--text-secondary); }

/* Shreem (श्रीं) — tiny, pink; sits INLINE with the footer-bar as the
   middle flex item (copyright — shreem — legal-links) so it reads as a
   natural grace-note in the same row rather than a second line. Uses a
   Devanagari-capable font stack so the glyph renders even when the
   Google fonts haven't loaded yet. */
.shreem-mark {
  text-align: center;
  color: #F472B6;
  font-size: 11px;
  line-height: 1.2;
  font-family: 'Noto Sans Devanagari', 'Mangal', system-ui, -apple-system, sans-serif;
  letter-spacing: 0.5px;
  opacity: 0.85;
  flex: 0 0 auto;
}

/* ─── Modal (contact) ────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay[data-open="true"] { display: flex; }
.modal {
  width: 100%;
  max-width: 520px;
  padding: 32px;
  background: var(--bg-graphite);
  border: 1px solid var(--border);
  border-radius: 16px;
  position: relative;
}
.modal h3 {
  font-family: var(--font-display);
  font-size: 36px;
  letter-spacing: 2px;
  margin: 0 0 8px;
  text-transform: uppercase;
}
.modal .modal-sub {
  font-family: var(--font-ui);
  font-size: var(--text-md);
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0 0 24px;
}
.modal .form-grid { display: grid; gap: 14px; }
.modal label {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-tertiary);
  display: block;
  margin-bottom: 6px;
}
.modal input, .modal textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-deep);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: var(--font-ui);
  font-size: var(--text-md);
  transition: border-color 0.15s;
}
.modal input:focus, .modal textarea:focus { outline: none; border-color: var(--accent-hue); }
.modal textarea { resize: vertical; min-height: 80px; }
.modal .modal-actions { display: flex; gap: 12px; margin-top: 8px; }
.modal .close-x {
  position: absolute;
  top: 16px; right: 16px;
  color: var(--text-tertiary);
  font-size: 24px;
  line-height: 1;
}
.modal .close-x:hover { color: var(--text-primary); }

/* ─── Tweaks panel ───────────────────────────────────────────────── */
#tweaks-panel {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 300px;
  z-index: 2147483600;
  display: none;
  font-family: var(--font-ui);
  padding: 20px;
  background: rgba(8, 8, 10, 0.92);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,0.9);
  color: var(--text-primary);
  max-height: 80vh;
  overflow-y: auto;
}
#tweaks-panel[data-open] { display: block; }
#tweaks-panel h4 {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 2px;
  margin: 0 0 16px 0;
  color: var(--accent-hue);
}
#tweaks-panel .row { margin-bottom: 14px; }
#tweaks-panel .row label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 6px;
}
#tweaks-panel .opts { display: flex; gap: 6px; flex-wrap: wrap; }
#tweaks-panel .opt {
  padding: 6px 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  font-size: var(--text-xs);
  color: var(--text-secondary);
  cursor: pointer;
  font-family: var(--font-ui);
}
#tweaks-panel .opt[data-active] {
  background: rgba(46, 204, 113, 0.12);
  border-color: var(--accent-hue);
  color: var(--accent-hue);
}
#tweaks-panel input[type="range"] { width: 100%; accent-color: var(--accent-hue); }
#tweaks-panel .order-list { display: grid; gap: 6px; }
#tweaks-panel .order-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  font-size: var(--text-xs);
  color: var(--text-secondary);
}
#tweaks-panel .order-item .arrows { display: flex; gap: 4px; }
#tweaks-panel .order-item .arrows button {
  width: 20px; height: 20px;
  border-radius: 4px;
  background: rgba(255,255,255,0.04);
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1;
}
#tweaks-panel .order-item .arrows button:hover { color: var(--accent-hue); }

/* ─── Scroll-based reveal ────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Misc ───────────────────────────────────────────────────────── */
.spacer-sm { height: 24px; }
.spacer-md { height: 48px; }
.spacer-lg { height: 96px; }
.nowrap { white-space: nowrap; }

/* ═══════════════════════════════════════════════════════════════════
   [2026-04-23] NEW-SECTION STYLES — hook strip, speed callout,
   one-stop grid, why-strip. Appended rather than interleaved so the
   original file's section boundaries stay intact for diffing.
   ═════════════════════════════════════════════════════════════════ */

/* Trademark superscript — consistent positioning across Bebas Neue
   (display), Urbanist (UI), and Fira Code (data). The raw ™ glyph
   already has some baked-in superscript lift, but it varies across
   fonts and OS font-substitution; wrapping in <sup class="tm"> locks
   positioning to a single rule so trademarked names look the same in
   every place they appear.                                            */
sup.tm {
  /* [2026-04-23 TM-PLAIN-SUPER] Use the browser's native superscript
     semantics. Two previous approaches failed:
       (a) `line-height: 0` collapsed the sup's line box — text below
           rendered on top of the sup line.
       (b) `position: relative; top: -0.45em; vertical-align: baseline`
           shifted the sup visually out of its line flow, which on
           multi-line wrapping caused the relocated sup to overlap
           characters on adjacent lines (seen in ANALYST LIMITS).
     Pure `vertical-align: super` is the browser-native superscript —
     slightly raises the baseline for this inline, no line-box tricks,
     no overflow outside flow. Line-height may grow ~1-2px on the line
     that contains the ™, which is an acceptable cost for correct text.
     Smaller font-size + line-height:1 on the sup itself minimises that. */
  font-size: 0.62em;
  vertical-align: super;
  line-height: 1;
  margin-left: 1px;
  letter-spacing: 0;
  color: var(--accent-hue);
  font-weight: 600;
  font-family: var(--font-ui);
}
/* Inside accent-coloured headings, keep the ™ the same accent hue */
.cap-card h3 sup.tm,
.onestop-card h3 sup.tm,
.moat-card sup.tm {
  color: var(--accent-hue);
}
/* [2026-04-23 TM-NOWRAP] Glue the product name and its superscript ™
   as a single unbreakable unit. Without this, the browser freely breaks
   text between "Smart Staging" and "™" when a line is too long —
   leaving the ™ stranded on the next row flush-left (observed in
   pricing-card list items, where a single <li> string holds multiple
   product names separated by " · ").                                  */
.tm-wrap {
  white-space: nowrap;
}

/* Hero hook strip — fast benefit-first row directly under the lede.
   Reads in a single glance. Sits between lede and hero-ticker.      */
.hook-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 20px;
  padding: 10px 0 0;
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  color: var(--text-secondary);
}
.hook-strip .hook {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-faint);
  border-radius: 999px;
  font-weight: 500;
  letter-spacing: 0.2px;
  transition: border-color 0.18s, color 0.18s, background 0.18s;
}
.hook-strip .hook:hover {
  color: var(--text-primary);
  border-color: var(--border-brand);
  background: rgba(46,204,113,0.05);
}
.hook-strip .hook-ico {
  font-size: 14px;
  line-height: 1;
  filter: saturate(1.2);
}
.hook-strip .hook-sep {
  color: var(--text-muted);
  font-family: var(--font-data);
}
@media (max-width: 640px) {
  .hook-strip .hook-sep { display: none; }
}

/* ─── Speed callout grid ──────────────────────────────────────────
   Six large performance metrics on a 3×2 (desktop) / 2×3 (tablet) /
   1×6 (mobile) layout. Metrics lean on Bebas Neue for instant legibility. */
.speed-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: var(--space-block);
}
@media (max-width: 900px) { .speed-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .speed-grid { grid-template-columns: 1fr; } }

.speed-cell {
  padding: 22px 22px 20px;
  background: var(--glass-bg);
  border: var(--glass-border);
  border-radius: 14px;
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  position: relative;
  overflow: hidden;
}
.speed-cell::before {
  content: '';
  position: absolute; inset: 0;
  pointer-events: none;
  background: radial-gradient(600px circle at 100% 0%, var(--accent-hue-glow), transparent 45%);
  opacity: 0.35;
}
.speed-cell .speed-metric {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 72px);
  letter-spacing: 1.5px;
  line-height: 1;
  color: var(--accent-hue);
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.speed-cell .speed-metric .unit {
  font-family: var(--font-data);
  font-size: var(--text-md);
  color: var(--text-secondary);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.speed-cell h3 {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 1.5px;
  color: var(--text-primary);
  margin: 14px 0 8px;
  text-transform: uppercase;
}
.speed-cell .speed-body {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  line-height: 1.55;
}
.speed-footnote {
  margin-top: 28px;
  font-family: var(--font-data);
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  letter-spacing: 0.3px;
}
.speed-footnote code {
  color: var(--text-secondary);
  background: rgba(255,255,255,0.04);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: var(--text-xs);
}

/* ─── One-stop-shop grid ─────────────────────────────────────────
   Six cards (Analyse / Let AI do it / Trade / Manage / Remember / Know when).
   Each card carries an icon and a feature list. Same glass vocabulary as
   cap-card but taller + list-oriented.                                   */
.onestop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: var(--space-block);
}
@media (max-width: 960px) { .onestop-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .onestop-grid { grid-template-columns: 1fr; } }

.onestop-card {
  position: relative;
  padding: 26px 24px 22px;
  background: var(--glass-bg);
  border: var(--glass-border);
  border-radius: 14px;
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  transition: border-color 0.18s, transform 0.18s;
}
.onestop-card:hover {
  border-color: var(--border-brand);
  transform: translateY(-2px);
}
.onestop-card .onestop-ico {
  font-size: 30px;
  line-height: 1;
  margin-bottom: 12px;
  filter: saturate(1.2);
}
.onestop-card h3 {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 2px;
  color: var(--text-primary);
  margin: 0 0 16px;
  text-transform: uppercase;
}
.onestop-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.45;
}
.onestop-list li {
  position: relative;
  padding-left: 18px;
}
.onestop-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--accent-hue);
  font-size: 11px;
  top: 2px;
}
.onestop-list li em {
  color: var(--text-primary);
  font-style: normal;
  font-weight: 600;
}

/* ─── Why-strip — compact proof-point row under capabilities ─────
   Not a grid of cards; a tighter list of checkmark one-liners, ideal
   for fast scanning. Two columns on desktop, one on mobile.           */
.why-strip {
  margin-top: 48px;
  padding: 22px 24px;
  background: rgba(46,204,113,0.03);
  border: 1px solid rgba(46,204,113,0.14);
  border-radius: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 28px;
  row-gap: 12px;
}
@media (max-width: 740px) { .why-strip { grid-template-columns: 1fr; } }

.why-strip .why-item {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.4;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.why-strip .why-check {
  color: var(--accent-hue);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ════════════════════════════════════════════════════════════════════
   MOBILE HARDENING — 2026-06-16
   Additive pass closing the phone-overflow edge cases the desktop-first
   cascade left open (nav chrome, pricing nowrap, flex-shrink children).
   Scoped to small screens; desktop layout untouched.
   ════════════════════════════════════════════════════════════════════ */

/* Decorative background orbs (up to 900px, blurred, positioned with negative
   offsets like right:-200px) escaped their section on phones → page-level
   horizontal scroll. They sit at opacity 0.18–0.5 behind heavy blur, so on
   small screens they contribute almost nothing — hide them outright. This is
   the load-bearing fix (clipping alone was defeated by the inline offsets). */
@media (max-width: 720px) {
  .bg-orb { display: none !important; }

  /* Universal flex-shrink enabler — a flex item defaults to min-width:auto and
     refuses to shrink below its content, the classic "runs off the right edge"
     cause. Let layout flex children shrink everywhere on small screens. */
  .nav-chrome > *, .price-head > *, .founder-meta > *, .hook-strip > *,
  .why-strip > *, .cap-card > *, .moat-card > * { min-width: 0; }
}

@media (max-width: 600px) {
  /* hard horizontal clamp incl. the fixed nav layer (body overflow-x:hidden
     doesn't protect position:fixed children) */
  html, body { overflow-x: hidden; max-width: 100%; }

  /* ── Nav chrome: keep only logo + CTA, let them shrink, never overflow ── */
  .nav-chrome { padding-left: 16px; padding-right: 16px; gap: 12px; flex-wrap: nowrap; }
  .nav-chrome .logo { flex-shrink: 1; min-width: 0; }
  .nav-chrome .logo .wordmark { letter-spacing: 1.5px; overflow: hidden; text-overflow: ellipsis; }
  .nav-chrome .sep, .nav-chrome .cluster, .nav-chrome .market-rotator { display: none; }
  .nav-chrome .cta-mini { flex-shrink: 0; }

  /* ── Pricing: stop the nowrap price/trademark cells from forcing width ── */
  .price-head { padding: 18px 16px; gap: 10px; }
  .price-head .tier-price { white-space: normal; }
  .price-body { padding-left: 16px; padding-right: 16px; }
  .price-body ul li { word-break: break-word; overflow-wrap: anywhere; }
  /* trademark names may wrap on a phone rather than blow out the column */
  .tm-wrap { white-space: normal; }

  /* ── Founder photo never wider than the column ── */
  .founder-photo { max-width: 100%; }

  /* ── Long mono/data strings wrap instead of pushing width ── */
  code, .mono, .speed-footnote { overflow-wrap: anywhere; word-break: break-word; }
}

@media (max-width: 420px) {
  /* tightest phones: shave reserved padding so headlines have room */
  .container { padding-left: 16px; padding-right: 16px; }
  .nav-chrome .logo .wordmark { font-size: 17px; }
}

/* ════════════════════════════════════════════════════════════════════
   MOBILE VERTICAL RHYTHM — 2026-06-17
   The first mobile pass fixed horizontal overflow but left every section's
   vertical padding desktop-sized (100–160px top+bottom, never scaled) → a
   24,000px-tall page with big black voids between sections. This scales the
   spacing tokens + hero + headings down on phones so it reads as a real
   mobile site. Desktop untouched (overrides are inside @media only).
   ════════════════════════════════════════════════════════════════════ */
@media (max-width: 760px) {
  /* The single highest-leverage change: shrink the density tokens. Section
     padding (var(--space-section)), section-head margins and the marquee
     gaps all derive from these, so one override tightens everything. */
  :root {
    --space-section: 56px;
    --space-block: 28px;
  }

  /* Hero: stop reserving a full screen-height; size to content + give the
     typewriter block a sane fixed-ish height instead of the tallest-variant
     reservation that left a big gap on shorter variants. */
  .hero { min-height: auto; padding: 92px 0 44px; }
  .hero .hero-inner { gap: 20px; }
  /* JS pins .hero / #hero-lede min-height to the tallest variant; cap it so a
     short variant can't open a void taller than the headline needs. */
  .hero, #hero-headline, #hero-lede { max-height: none; }
  .hero .h1-line { line-height: 0.98; letter-spacing: 1px; }

  /* Hook chips: roomier, tappable, single tidy wrap instead of cramped 2-col */
  .hook-strip { margin-top: 16px; gap: 8px; }
  .hook-strip .hook { padding: 8px 13px; font-size: 13px; }

  /* Section headings: large all-caps H2s eat the screen — pull them in */
  .section-head { margin-bottom: 22px; gap: 16px; }
  .section-head h2 { font-size: clamp(30px, 8vw, 44px); margin: 8px 0 10px; line-height: 1.02; }
  .lede { font-size: 16px; line-height: 1.5; }

  /* Big display spacers were tuned for desktop columns */
  .spacer-lg { height: 40px; }
  .spacer-md { height: 24px; }
  .spacer-sm { height: 14px; }

  /* Thesis + CTA-footer carried their own oversized padding */
  .thesis { padding: 56px 0; }
  .cta-block { padding: 64px 0 36px; }
  .cta-block h2 { font-size: clamp(40px, 12vw, 72px); line-height: 1.0; }

  /* Safety concentric-ring viz: the 8 absolutely-positioned labels are
     calibrated for a ~480px ring, so on a 390px phone the left/right ones
     (CIRCUIT BREAKER, REJECT BLOCK) clip off the edge. Shrink the viz so the
     ring pulls inboard, and tighten the label font/padding so each tag is
     narrow enough to stay inside the frame. */
  .safety-viz { max-width: 300px; }
  .safety-viz .ring-tag { font-size: 9px; padding: 3px 6px; letter-spacing: 0.2px; }
  .safety-viz .core-label { font-size: 14px; }
}

@media (max-width: 480px) {
  :root { --space-section: 48px; }
  .hero { padding: 84px 0 36px; }
  .section-head h2 { font-size: clamp(28px, 8.5vw, 40px); }
  /* tightest phones: pull the ring viz in further so no label clips at 320px */
  .safety-viz { max-width: 260px; }
  .safety-viz .ring-tag { font-size: 8px; padding: 2px 5px; }
}

/* ═══════════════════════════════════════════════════════════════════
   SHOWCASE + HERO SHOT + MOTION POLISH (2026-08-15 interaction pass)
   ═══════════════════════════════════════════════════════════════════ */

/* Hero backdrop — real product capture, tilted into the void */
.hero-shot {
  position: absolute;
  top: 8%;
  right: -14%;
  width: 62%;
  max-width: 1100px;
  perspective: 1400px;
  pointer-events: none;
  z-index: 0;
}
.hero-shot img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  transform: rotateY(-14deg) rotateX(6deg) rotateZ(1deg);
  opacity: 0.34;
  -webkit-mask-image: radial-gradient(80% 80% at 40% 40%, #000 30%, transparent 100%);
  mask-image: radial-gradient(80% 80% at 40% 40%, #000 30%, transparent 100%);
}
@media (max-width: 900px) { .hero-shot { display: none; } }

/* Showcase — glass frames with window chrome */
.shot-stack {
  display: flex;
  flex-direction: column;
  gap: 56px;
  perspective: 1400px;
}
.shot-frame {
  margin: 0;
  max-width: 1100px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-default);
  background: var(--bg-graphite);
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.85), 0 0 60px -20px var(--brand-glow);
  transform-style: preserve-3d;
  transition: transform 0.35s ease, border-color 0.3s;
}
.shot-frame:nth-child(odd)  { align-self: flex-start; }
.shot-frame:nth-child(even) { align-self: flex-end; }
.shot-frame:hover { border-color: var(--accent-hue); }
.shot-chrome {
  display: flex; align-items: center; gap: 14px;
  padding: 10px 16px;
  background: var(--bg-deep);
  border-bottom: 1px solid var(--border-subtle);
}
.shot-dots { display: inline-flex; gap: 6px; }
.shot-dots i {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--border-default);
}
.shot-dots i:first-child { background: rgba(231, 76, 60, 0.55); }
.shot-dots i:nth-child(2) { background: rgba(241, 196, 15, 0.55); }
.shot-dots i:last-child { background: rgba(46, 204, 113, 0.55); }
.shot-label {
  font-family: var(--font-data);
  font-size: var(--text-2xs);
  letter-spacing: 2px;
  color: var(--text-muted);
}
.shot-frame img { width: 100%; height: auto; display: block; }
@media (max-width: 900px) {
  .shot-stack { gap: 32px; }
  .shot-frame:nth-child(odd), .shot-frame:nth-child(even) { align-self: stretch; }
}

/* Nav scroll-progress bar */
.nav-progress {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--brand-deep), var(--brand));
  pointer-events: none;
}

/* Magnetic CTA — transform driven by JS; keep transitions gentle */
.btn-primary { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  .shot-frame { transition: none; }
  .hero-shot img { transform: none; }
}

/* Showcase live clip (real recorded session) */
.shot-clip { width: 100%; height: auto; display: block; }
.shot-live {
  margin-left: auto;
  font-family: var(--font-data);
  font-size: var(--text-2xs);
  letter-spacing: 2px;
  color: var(--loss, #e74c3c);
  animation: pulse 2s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) { .shot-live { animation: none; } }

/* Narrow frame for the square-ish trade receipt */
.shot-frame-narrow { max-width: 720px; }

/* ─── Desk gallery (tabbed showcase) ─────────────────────────────── */
/* JS-off fallback: tabs hidden, panels stack as plain images. */
.desk-tabs { display: none; }
.desk-gallery .desk-panel { margin: 0; }
.desk-gallery .shot-live { display: none; }

.desk-gallery.is-gallery .desk-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.desk-tab {
  font-family: var(--font-data);
  font-size: var(--text-2xs);
  letter-spacing: 1.8px;
  padding: 8px 14px;
  color: var(--text-muted);
  background: var(--bg-deep);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.25s, border-color 0.25s, background 0.25s;
}
.desk-tab:hover { color: var(--text-primary); border-color: var(--border-default); }
.desk-tab.is-active {
  color: var(--brand);
  border-color: var(--accent-hue);
  background: var(--bg-graphite);
}
.desk-gallery.is-gallery .desk-frame { max-width: none; }
.desk-gallery.is-gallery .desk-stage {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--bg-deep);
}
.desk-gallery.is-gallery .desk-panel {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(0.985);
  transition: opacity 0.45s ease, transform 0.45s ease;
  pointer-events: none;
}
.desk-gallery.is-gallery .desk-panel.is-active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.desk-gallery.is-gallery .desk-panel img,
.desk-gallery.is-gallery .desk-panel video {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
}
.desk-gallery.is-gallery .desk-panel.fit-contain img { object-fit: contain; }
.desk-gallery.is-gallery .shot-live { display: inline; }
.desk-gallery.is-gallery .shot-live.is-hidden { display: none; }
/* Auto-advance progress hairline under the chrome bar */
.desk-progress {
  position: absolute;
  left: 0; top: 0;
  height: 2px;
  width: 100%;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: var(--brand);
  opacity: 0.7;
  z-index: 2;
}
@media (max-width: 760px) {
  .desk-gallery.is-gallery .desk-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
  .desk-gallery.is-gallery .desk-tabs::-webkit-scrollbar { display: none; }
  .desk-tab { flex: 0 0 auto; }
}
@media (prefers-reduced-motion: reduce) {
  .desk-gallery.is-gallery .desk-panel { transition: none; }
}

/* ─── Desk backdrops (images BEHIND the text) ────────────────────── */
#desk { position: relative; overflow: hidden; min-height: 560px; }
.desk-backdrops { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.desk-bg {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
}
.desk-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
}
.desk-bg.is-active { opacity: 0.30; }
.desk-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, var(--bg-void) 0%, transparent 22%, transparent 72%, var(--bg-void) 100%),
    linear-gradient(90deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.35) 45%, rgba(0,0,0,0.15) 100%);
}
.desk-fore { position: relative; z-index: 1; }
.desk-viewline {
  font-family: var(--font-data);
  font-size: var(--text-xs);
  letter-spacing: 2px;
  color: var(--brand);
  margin: 18px 0 6px;
}
.desk-caption {
  color: var(--text-secondary);
  font-size: var(--text-md);
  max-width: 560px;
  line-height: 1.55;
  min-height: 3.2em; /* two lines — caption swaps don't reflow the section */
}
@media (prefers-reduced-motion: reduce) { .desk-bg { transition: none; } }

/* ─── Hero clip frame (top-right framed video) ───────────────────── */
.hero-clip-frame {
  max-width: none;
  transform: rotateY(-10deg) rotateX(3deg);
  opacity: 0.92;
  box-shadow: 0 40px 110px -30px rgba(0, 0, 0, 0.9), 0 0 70px -18px var(--brand-glow);
}
.hero-clip-frame .hero-clip { width: 100%; height: auto; display: block; }
.hero-shot { pointer-events: none; }

/* ─── Desk tweaks (2026-08-15 GS review): brighter backdrop, louder tabs ── */
.desk-bg.is-active { opacity: 0.48; }
.desk-scrim {
  background:
    linear-gradient(180deg, var(--bg-void) 0%, transparent 18%, transparent 78%, var(--bg-void) 100%),
    linear-gradient(90deg, rgba(0,0,0,0.62) 0%, rgba(0,0,0,0.28) 42%, rgba(0,0,0,0.06) 100%);
}
.desk-tab {
  font-size: var(--text-xs);
  letter-spacing: 2px;
  padding: 11px 20px;
  color: var(--text-secondary);
  border-color: var(--border-default);
  background: rgba(8, 8, 10, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.desk-tab:hover {
  color: var(--text-primary);
  border-color: var(--accent-hue);
  transform: translateY(-1px);
}
.desk-tab.is-active {
  color: var(--bg-void);
  background: var(--brand);
  border-color: var(--brand);
  font-weight: 700;
  box-shadow: 0 0 22px -4px var(--brand-glow), 0 0 44px -10px var(--brand-glow);
}
.desk-gallery.is-gallery .desk-tabs { gap: 10px; margin-bottom: 22px; }
.desk-viewline { font-size: var(--text-sm); }

/* ─── Mobile pass (2026-08-15): hero clip + desk section ─────────── */
.hero-shot { z-index: 1; } /* now a direct .hero child — sits above ambient, below .hero-inner (z:2) */

@media (max-width: 900px) {
  /* Framed session clip: static, full-width, below the hero copy */
  .hero-shot {
    display: block;
    position: static;
    width: 100%;
    max-width: 560px;
    margin: 26px auto 0;
    padding: 0 20px;
    perspective: none;
  }
  .hero-clip-frame { transform: none; opacity: 1; }
  .hero-shot img { transform: none; opacity: 1; -webkit-mask-image: none; mask-image: none; }
}

@media (max-width: 760px) {
  /* THE DESK: no text-over-image on a phone — stack it. Text, pills,
     then the active capture as a proper framed inline image. */
  #desk { display: flex; flex-direction: column; min-height: 0; }
  #desk .desk-fore { order: 1; }
  .desk-backdrops {
    order: 2;
    position: relative;
    inset: auto;
    height: 60vw;
    margin: 20px 16px 0;
    border: 1px solid var(--border-default);
    border-radius: 12px;
    overflow: hidden;
    pointer-events: none;
  }
  .desk-bg.is-active { opacity: 1; }
  .desk-scrim { display: none; }
  .desk-caption { min-height: 4.8em; }
  .desk-viewline {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* ═══ MOBILE REDESIGN PASS 2 (2026-08-15, GS review) ═══════════════
   Doctrine: the phone gets the SAME aesthetic as desktop — media lives
   BEHIND the text, dimmed, never as separate stacked blocks. These
   rules are appended last so they override the earlier mobile pass. */

/* Proof band ("numbers you can verify"): grid items must be allowed to
   shrink — min-width:auto made long values force the grid wider than
   the viewport with no way to scroll. */
.proof-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.proof-cell { min-width: 0; }
.proof-cell .cell-value { overflow-wrap: anywhere; }
@media (max-width: 900px) {
  .proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .proof-cell { padding: 18px 14px; min-height: 130px; }
  .proof-cell .cell-value { font-size: clamp(28px, 9vw, 48px); }
}

/* Hero: the framed clip goes BEHIND the copy on phones too — full-bleed,
   dimmed, chrome hidden — mirroring the desktop treatment. */
@media (max-width: 900px) {
  .hero-shot {
    display: block;
    position: absolute;
    inset: 0;
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
    perspective: none;
    z-index: 1;
    overflow: hidden;
  }
  .hero-clip-frame {
    transform: none;
    opacity: 0.32;
    height: 100%;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: none;
  }
  .hero-clip-frame .shot-chrome { display: none; }
  .hero-clip-frame .hero-clip {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center top;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,0.85) 55%, transparent 96%);
    mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,0.85) 55%, transparent 96%);
  }
}

/* THE DESK: captures stay BEHIND the text on phones (override the earlier
   stacked-image mobile pass) with a stronger scrim for readability. */
@media (max-width: 760px) {
  #desk { display: block; min-height: 480px; }
  .desk-backdrops {
    position: absolute;
    inset: 0;
    height: auto;
    margin: 0;
    border: none;
    border-radius: 0;
    overflow: hidden;
  }
  .desk-bg.is-active { opacity: 0.42; }
  .desk-scrim {
    display: block;
    background:
      linear-gradient(180deg, var(--bg-void) 0%, transparent 20%, transparent 78%, var(--bg-void) 100%),
      rgba(0, 0, 0, 0.45);
  }
  /* Pill rail: vertical padding so the raised/glowing pill never clips
     against the horizontal scroll container's edge. */
  .desk-gallery.is-gallery .desk-tabs { padding: 5px 2px 12px; }
  .desk-caption { min-height: 4.8em; }
}

/* Capabilities snap-strip: tighter, deliberate mobile cards with a peek
   of the next one. */
@media (max-width: 760px) {
  .cap-row { margin: 0 -20px; padding: 6px 16px 14px; }
  .cap-card {
    flex: 0 0 80vw;
    width: 80vw;
    padding: 22px 18px;
    min-height: 0;
    border-radius: 12px;
  }
  .cap-card h3 { font-size: 22px; }
  .cap-card .cap-body { font-size: var(--text-sm); }
  .cap-track { gap: 12px; }
}

/* Mobile hero clip: fade the TOP band (headline sits there) so the video's
   bright UI chips never fight the copy; clip reads strongest mid-hero. */
@media (max-width: 900px) {
  .hero-clip-frame { opacity: 0.24; }
  .hero-clip-frame .hero-clip {
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.55) 24%, #000 48%, rgba(0,0,0,0.8) 72%, transparent 96%);
    mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.55) 24%, #000 48%, rgba(0,0,0,0.8) 72%, transparent 96%);
  }
}

/* ─── Dual hero clips: left + right, glossy, behind the copy ─────── */
.hero-shot-right { /* keeps the original .hero-shot geometry */ }
.hero-shot-left {
  top: 34%;
  left: -16%;
  right: auto;
  width: 48%;
  max-width: 780px;
  z-index: 0; /* under the right clip and the copy */
}
.hero-shot-left .hero-clip-frame {
  transform: rotateY(12deg) rotateX(3deg) rotateZ(-1deg);
  opacity: 0.42;
  -webkit-mask-image: radial-gradient(95% 95% at 55% 45%, #000 35%, transparent 100%);
  mask-image: radial-gradient(95% 95% at 55% 45%, #000 35%, transparent 100%);
}
/* Slight gloss: a static diagonal sheen across both framed clips */
.hero-clip-frame { position: relative; }
.hero-clip-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.09) 45%, rgba(255,255,255,0.02) 54%, transparent 65%);
}
@media (max-width: 900px) {
  /* One clip behind the copy is enough on a phone. */
  .hero-shot-left { display: none; }
}

/* ═══ POLISH ROUND (2026-08-16 GS review) ══════════════════════════ */

/* Desk: LOUD feature identity — big display-font title + readable caption */
.desk-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.2vw, 60px);
  letter-spacing: 2px;
  line-height: 1;
  text-transform: uppercase;
  color: var(--text-primary);
  margin: 22px 0 4px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.8);
}
.desk-viewline { margin-top: 6px; }
.desk-caption {
  font-size: var(--text-lg);
  color: var(--text-primary);
  max-width: 640px;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.8);
}

/* Desktop hero clips: stronger opposed perspective + cleaner placement.
   DESKTOP-SCOPED — unscoped, these width/offset rules squeezed the mobile
   still into a 220px left strip (2026-08-16 GS screenshot). */
@media (min-width: 901px) {
  .hero-shot-right .hero-clip-frame,
  .hero-clip-frame {
    transform: rotateY(-17deg) rotateX(5deg) rotateZ(1deg);
  }
  .hero-shot-right, .hero-shot:not(.hero-shot-left) { top: 6%; right: -12%; width: 58%; }
  .hero-shot-left { top: 30%; left: -14%; width: 47%; }
  .hero-shot-left .hero-clip-frame {
    transform: rotateY(17deg) rotateX(4deg) rotateZ(-1deg);
    opacity: 0.46;
  }
}

/* Mobile: media must be NOTICEABLE */
@media (max-width: 900px) {
  .hero-clip-frame { opacity: 0.42; transform: none; }
  .hero-clip-frame .hero-clip {
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.5) 20%, #000 42%, rgba(0,0,0,0.85) 74%, transparent 97%);
    mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.5) 20%, #000 42%, rgba(0,0,0,0.85) 74%, transparent 97%);
  }
}
@media (max-width: 760px) {
  .desk-bg.is-active { opacity: 0.62; }
  .desk-scrim {
    background:
      linear-gradient(180deg, var(--bg-void) 0%, transparent 16%, transparent 80%, var(--bg-void) 100%),
      rgba(0, 0, 0, 0.26);
  }
  .desk-title { font-size: clamp(30px, 9vw, 44px); }

  /* Capability strips: scroll-progress bar = "there is more to the right" */
  .cap-scrollbar {
    height: 3px;
    margin: 2px 4px 26px;
    background: var(--border-subtle);
    border-radius: 2px;
    overflow: hidden;
  }
  .cap-scrollbar i {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--brand-deep), var(--brand));
    transform-origin: 0 50%;
    transform: scaleX(0.08);
    transition: transform 0.1s linear;
  }

  /* Pricing heads: the big display-font price could not shrink and the
     tier name overprinted it — stack name over price, pin the toggle right */
  .price-head {
    display: grid;
    grid-template-columns: 1fr 44px;
    grid-template-areas: "name btn" "price btn";
    gap: 4px 12px;
    align-items: center;
  }
  .price-head > div:not(.tier-blurb):not(.tier-price) { grid-area: name; min-width: 0; }
  .price-head .tier-name { font-size: 24px; }
  .price-head .tier-name .rec { display: block; width: max-content; margin: 6px 0 0; }
  .price-head .tier-price {
    grid-area: price;
    white-space: normal;
    font-size: clamp(22px, 6.5vw, 30px);
    min-width: 0;
  }
  .price-head .tier-price .price-secondary { font-size: 15px; }
  .price-head .expand-btn { grid-area: btn; }
}
@media (min-width: 761px) {
  .cap-scrollbar { display: none; }
}

/* Mobile hero still: brighter (static frame carries the section now) */
@media (max-width: 900px) {
  .hero-clip-frame { opacity: 0.58; }
}
/* Mobile text fit: the view line truncated with an ellipsis — let it wrap
   to two lines instead so the detail is readable. */
@media (max-width: 760px) {
  .desk-viewline {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    line-height: 1.5;
  }
  .hero-subhead { font-size: 15px; line-height: 1.5; }
}

/* Mobile hero still: a mid-hero band (near-1:1 crop at ~natural scale)
   rather than full-bleed cover — the gauge/P&L/curve stay recognisable. */
@media (max-width: 900px) {
  .hero-shot {
    top: 22%;
    bottom: auto;
    height: 58vh;
  }
  .hero-clip-frame .hero-clip {
    object-position: center 30%;
    -webkit-mask-image: radial-gradient(95% 85% at 50% 45%, #000 45%, transparent 100%);
    mask-image: radial-gradient(95% 85% at 50% 45%, #000 45%, transparent 100%);
  }
}

/* Mobile still: full-width band confirmed + brighter on real devices
   (phone panels render darker than the emulator). */
@media (max-width: 900px) {
  .hero-shot { left: 0; right: 0; width: auto; max-width: none; }
  .hero-clip-frame { opacity: 0.7; }
  .hero-clip-frame .hero-clip {
    -webkit-mask-image: radial-gradient(100% 90% at 50% 45%, #000 55%, transparent 100%);
    mask-image: radial-gradient(100% 90% at 50% 45%, #000 55%, transparent 100%);
  }
}

/* ═══ FAQ ═══════════════════════════════════════════════════════════
   Native <details>/<summary> accordion — no JS, keyboard-accessible by
   default, and the answer text stays in the DOM for search engines and
   for Ctrl-F even while collapsed. Uses the same panel/border/data-font
   tokens as the rest of the page. */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 900px;
}

.faq-item {
  background: var(--bg-panel);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.faq-item:hover { border-color: var(--border); }
.faq-item[open] {
  border-color: var(--border-brand);
  background: var(--bg-panel-hi);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 56px 22px 24px;
  position: relative;
  font-size: clamp(17px, 1.25vw, 20px);
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-primary);
  transition: color 0.2s ease;
}

/* Kill the native disclosure triangle in every engine. */
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ''; }

.faq-item summary:hover { color: var(--brand); }

.faq-item summary:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: -2px;
  border-radius: 10px;
}

/* Chevron, drawn in CSS so there is no icon dependency. */
.faq-item summary::after {
  content: '';
  position: absolute;
  right: 22px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--text-tertiary);
  border-bottom: 2px solid var(--text-tertiary);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.faq-item[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
  border-color: var(--brand);
}

.faq-body {
  padding: 0 24px 24px;
  border-top: 1px solid var(--border-faint);
}

.faq-body p {
  margin: 18px 0 0;
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 72ch;
  text-wrap: pretty;
}

.faq-body a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
.faq-body a:hover { color: var(--text-primary); }

@media (prefers-reduced-motion: reduce) {
  .faq-item,
  .faq-item summary,
  .faq-item summary::after { transition: none; }
}

@media (max-width: 640px) {
  .faq-item summary { font-size: 16px; padding: 18px 46px 18px 18px; }
  .faq-body { padding: 0 18px 20px; }
  .faq-body p { font-size: 15.5px; line-height: 1.7; }
}

/* ══════════════════════════════════════════════════════════════════
   [2026-08-16 FOUNDER-MOBILE] Founder section phone pass.
   The section previously had ZERO founder-specific mobile rules: once
   .founder-wrap collapsed to 1fr at ≤900px the 4:5 photo grew to full
   container width (~448px tall on a 390px phone), the 48px desktop grid
   gap became vertical dead space, and the 36px h3 floor + desktop-sized
   bio crowded the viewport. Scoped here — never on shared classes.
   ══════════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .founder-wrap { gap: 28px; }
  /* Cap the stacked portrait at a profile-card size instead of full-bleed. */
  .founder-photo { width: min(100%, 300px); }
}
@media (max-width: 720px) {
  .founder-body h3 { font-size: clamp(30px, 8.5vw, 40px); letter-spacing: 1.5px; }
  .founder-body .bio { font-size: 16px; line-height: 1.6; }
  .founder-body .founder-meta { gap: 16px; }
}

/* ═══════════════════════════════════════════════════════════════════
   [2026-09-15] CLUSTER ORDER™ — hero NEW chip + #cluster section.
   Uses the page's tokens only (accent-hue follows the Tweaks accent).
   ═════════════════════════════════════════════════════════════════ */
.hero-new {
  display: inline-flex;
  align-self: flex-start;
  width: fit-content;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  margin: 18px 0 6px;
  padding: 6px 14px 6px 6px;
  border-radius: 999px;
  border: 1px solid var(--border-brand);
  background: rgba(46, 204, 113, 0.06);
  color: var(--text-primary);
  font-family: var(--font-ui);
  font-size: var(--text-md);
  font-weight: 600;
  text-decoration: none;
  transition: background 0.18s, border-color 0.18s, transform 0.18s;
}
.hero-new:hover { background: rgba(46, 204, 113, 0.12); transform: translateY(-1px); }
.hero-new:focus-visible { outline: 2px solid var(--accent-hue); outline-offset: 3px; }
.hero-new-tag {
  flex: 0 0 auto;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--accent-hue);
  color: var(--bg-void);
  font-family: var(--font-data);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
}
.hero-new-glyph { flex: 0 0 auto; color: var(--accent-hue); font-size: 16px; line-height: 1; }
.hero-new-text { min-width: 0; }
.hero-new .arrow { flex: 0 0 auto; color: var(--accent-hue); transition: transform 0.15s; }
.hero-new:hover .arrow { transform: translateX(3px); }
@media (max-width: 640px) {
  .hero-new { font-size: var(--text-sm); gap: 8px; align-items: flex-start; border-radius: 16px; }
  .hero-new-tag, .hero-new-glyph, .hero-new .arrow { margin-top: 1px; }
}

.cl-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 40px;
  align-items: start;
}
@media (max-width: 900px) { .cl-wrap { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

.cl-steps { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 18px; }
.cl-step { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; }
.cl-step-num {
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1;
  color: var(--accent-hue);
  letter-spacing: 0.02em;
}
.cl-step h3 {
  margin: 0 0 4px;
  font-family: var(--font-ui);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text-primary);
}
.cl-step p { margin: 0; color: var(--text-secondary); font-size: 15px; line-height: 1.6; max-width: 60ch; }

.cl-guard { padding: 20px 22px; margin-bottom: 22px; }
.cl-guard-head {
  font-family: var(--font-data);
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--warning);
  margin-bottom: 10px;
}
.cl-guard-head-2 { color: var(--accent-hue); margin-top: 16px; }
.cl-guard-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cl-guard-list li {
  position: relative;
  padding-left: 18px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.5;
}
.cl-guard-list li::before { content: '■'; position: absolute; left: 0; top: 1px; font-size: 9px; color: var(--warning); }
.cl-guard-list-ok li::before { content: '◈'; font-size: 11px; top: 0; color: var(--accent-hue); }

.cl-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.cl-cta { flex: 0 0 auto; }

.cl-visual { padding: 18px 18px 14px; position: sticky; top: 96px; }
@media (max-width: 900px) { .cl-visual { position: static; } }
.cl-vis-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.cl-vis-title {
  font-family: var(--font-data);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-primary);
}
.cl-glyph { color: var(--accent-hue); }
.cl-vis-state {
  font-family: var(--font-data);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 3px 8px;
  border-radius: 999px;
  color: var(--profit);
  border: 1px solid rgba(34, 197, 94, 0.35);
  background: rgba(34, 197, 94, 0.08);
  white-space: nowrap;
}
.cl-vis-state[data-done] { color: var(--text-secondary); border-color: var(--border); background: rgba(255,255,255,0.03); }
.cl-vis-band { font-family: var(--font-data); font-size: var(--text-xs); color: var(--text-tertiary); margin-bottom: 12px; }

.cl-ladder { list-style: none; margin: 0; padding: 0; border: 1px solid var(--border-subtle); border-radius: 10px; overflow: hidden; }
.cl-rung {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  font-family: var(--font-data);
  font-size: var(--text-sm);
  font-variant-numeric: tabular-nums;
  color: var(--text-secondary);
  border-top: 1px solid var(--border-faint);
  transition: background 0.35s, color 0.35s;
}
.cl-rung:first-child { border-top: 0; }
.cl-k { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cl-edge { font-size: var(--text-2xs); letter-spacing: 0.1em; color: var(--accent-hue); min-width: 0; }
.cl-px { color: var(--text-tertiary); }
.cl-pill {
  font-size: var(--text-2xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 3px 7px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  color: var(--text-tertiary);
  white-space: nowrap;
  min-width: 78px;
  text-align: center;
}
.cl-rung[data-status="ENTERED"] { color: var(--text-primary); background: rgba(34, 197, 94, 0.045); }
.cl-rung[data-status="ENTERED"] .cl-pill { color: var(--profit); border-color: rgba(34, 197, 94, 0.4); background: rgba(34, 197, 94, 0.1); }
.cl-rung[data-status="SKIPPED"] .cl-k,
.cl-rung[data-status="SKIPPED"] .cl-px { text-decoration: line-through; text-decoration-color: var(--text-tertiary); }
.cl-rung[data-status="SKIPPED"] .cl-pill { color: var(--warning); border-color: rgba(245, 158, 11, 0.4); background: rgba(245, 158, 11, 0.08); }
.cl-rung[data-status="FIRING"] { color: var(--text-primary); background: rgba(46, 204, 113, 0.09); }
.cl-rung[data-status="FIRING"] .cl-pill { color: var(--bg-void); background: var(--accent-hue); border-color: var(--accent-hue); animation: cl-pulse 1.1s ease-in-out infinite; }
.cl-rung[data-status="PENDING"] .cl-pill { color: var(--text-tertiary); }
@keyframes cl-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.55; } }

.cl-vis-foot { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.cl-progress { flex: 1 1 auto; height: 3px; border-radius: 999px; background: rgba(255,255,255,0.06); overflow: hidden; }
.cl-progress-bar { height: 100%; width: 100%; background: linear-gradient(90deg, rgba(46,204,113,0.35), var(--accent-hue)); transition: width 0.6s ease; }
.cl-stop {
  flex: 0 0 auto;
  font-family: var(--font-data);
  font-size: var(--text-2xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 5px 9px;
  border-radius: 8px;
  color: var(--loss);
  border: 1px solid rgba(239, 68, 68, 0.35);
  background: rgba(239, 68, 68, 0.08);
}
.cl-note { margin-top: 10px; font-family: var(--font-data); font-size: var(--text-2xs); letter-spacing: 0.08em; color: var(--text-tertiary); text-align: right; }
@media (max-width: 420px) {
  .cl-rung { grid-template-columns: minmax(0, 1fr) auto auto; padding: 8px 10px; gap: 8px; }
  .cl-edge { display: none; }
  .cl-pill { min-width: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .cl-rung, .cl-progress-bar, .hero-new, .hero-new .arrow { transition: none; }
  .cl-rung[data-status="FIRING"] .cl-pill { animation: none; }
}

/* ═══ AUCTION-AWARE SPOT™ (#cas) — [2026-09-17 GS] ═══════════════════════════════════════════════════════ */
.hero-new-2 { margin-top: 10px; }
.cas-state { transition: color 0.3s, border-color 0.3s, background 0.3s; }
.cas-state[data-cas] { color: var(--warning); border-color: rgba(245, 158, 11, 0.45); background: rgba(245, 158, 11, 0.1); }
.cas-chart { display: block; width: 100%; height: auto; aspect-ratio: 480 / 210; max-width: 100%; margin: 4px 0 12px; overflow: visible; }
.cas-zone { fill: rgba(245, 158, 11, 0.05); stroke: rgba(245, 158, 11, 0.18); stroke-dasharray: 3 4; opacity: 0; transition: opacity 0.6s ease; }
.cas-zone-label { font-family: var(--font-data); font-size: 9px; letter-spacing: 0.14em; fill: var(--warning); opacity: 0; transition: opacity 0.6s ease; }
.cas-visual[data-cas] .cas-zone, .cas-visual[data-cas] .cas-zone-label { opacity: 1; }
.cas-grid { stroke: var(--border-subtle); stroke-width: 1; }
.cas-cut { stroke: rgba(245, 158, 11, 0.55); stroke-width: 1; stroke-dasharray: 2 3; }
.cas-tick { font-family: var(--font-data); font-size: 9px; fill: var(--text-tertiary); }
.cas-line-index { fill: none; stroke: var(--text-tertiary); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.cas-line-aware { fill: none; stroke: var(--accent-hue); stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; filter: drop-shadow(0 0 5px rgba(46, 204, 113, 0.55)); }
.cas-dot-index { fill: var(--text-tertiary); }
.cas-dot-aware { fill: var(--accent-hue); filter: drop-shadow(0 0 6px rgba(46, 204, 113, 0.9)); }
.cas-visual[data-cas] .cas-dot-index { fill: var(--warning); }
.cas-reads { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.cas-read {
  display: grid; gap: 2px; padding: 8px 10px; border-radius: 10px;
  border: 1px solid var(--border-subtle); background: rgba(255, 255, 255, 0.02);
  font-variant-numeric: tabular-nums; min-width: 0;
}
.cas-read-aware { border-color: var(--border-brand); background: rgba(46, 204, 113, 0.05); }
.cas-read-k { font-family: var(--font-data); font-size: var(--text-2xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-tertiary); }
.cas-read-v { font-family: var(--font-data); font-size: var(--text-lg); font-weight: 600; color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cas-read-aware .cas-read-v { color: var(--accent-hue); }
.cas-read-s { font-size: 11px; color: var(--text-tertiary); }
.cas-read-s[data-frozen] { color: var(--warning); }
.cas-feed { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 4px; align-content: start; min-height: 76px; }
.cas-feed li {
  font-family: var(--font-data); font-size: var(--text-xs); color: var(--text-secondary);
  display: flex; gap: 8px; align-items: baseline; animation: cas-in 0.45s ease both;
}
.cas-feed li time { color: var(--text-tertiary); flex: 0 0 auto; }
.cas-feed li[data-tone="warn"] span { color: var(--warning); }
.cas-feed li[data-tone="ok"] span { color: var(--accent-hue); }
@keyframes cas-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (max-width: 420px) {
  .cas-reads { grid-template-columns: minmax(0, 1fr); }
  .cas-read { grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; }
  .cas-read-s { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  .cas-feed li { animation: none; }
  .cas-zone, .cas-zone-label, .cas-state { transition: none; }
}


/* [2026-09-18 GS] The substantiated "only" claim — a distinct beat under the lede, not more body copy.
   Evidence + sources: board cas-only-claim-substantiation. Tokens only; no new fonts, no new colours. */
.cas-claim { margin-top: 14px; padding-left: 14px; border-left: 2px solid var(--brand); }
.cas-claim em { font-style: italic; font-weight: 600; color: var(--brand); }
