/* ═══════════════════════════════════════════════════════════════════════
   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 ──────────────────────────────────────────────── */
.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 90% 70% at center, black 40%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at center, black 40%, transparent 90%);
}

.bg-grid-fine {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 16px 16px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 60% at 60% 40%, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 60% 40%, black 20%, transparent 80%);
}

.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>");
}

.bg-scanline {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0,
    rgba(255, 255, 255, 0) 2px,
    rgba(255, 255, 255, 0.012) 3px,
    rgba(255, 255, 255, 0) 4px
  );
  opacity: 0.6;
}

.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 ───────────────────────────────────────────────── */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.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-grid { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ─── 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;
}
.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;
  grid-template-columns: repeat(3, 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; }
.founder-body .founder-meta .v { font-family: var(--font-display); font-size: 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; }
}
