/* ============================================================
   MAC Terminal — Landing Page
   Dark trading terminal aesthetic
   Fonts: DM Serif Display (headlines) + Inter (body) + JetBrains Mono (tickers)
   ============================================================ */

/* === Design Tokens === */
:root {
  --bg:          #0B0B0F;
  --bg-surface:  #0E0E12;
  --bg-card:     #101014;
  --bg-card-soft:#16171b;
  --surface-quiet:
    radial-gradient(circle at 50% -24%, rgba(255,255,255,0.04), transparent 36%),
    linear-gradient(180deg, rgba(19,20,25,0.94), rgba(11,12,15,0.97));
  --surface-default:
    radial-gradient(circle at 50% -24%, rgba(255,255,255,0.06), transparent 36%),
    linear-gradient(180deg, rgba(21,22,27,0.96), rgba(12,13,16,0.98));
  --surface-emphasis:
    radial-gradient(circle at 50% -24%, rgba(255,255,255,0.08), transparent 36%),
    linear-gradient(180deg, rgba(24,25,29,0.98), rgba(14,15,18,0.99));
  --border-soft: rgba(255,255,255,0.06);
  --border:      rgba(255,255,255,0.08);
  --border-strong: rgba(255,255,255,0.12);
  --border-hover: rgba(255,255,255,0.12);
  --blue:        #479FFA;
  --blue-glow:   rgba(71,159,250,0.12);
  --blue-light:  #B6D6FF;
  --green:       #4EBE96;
  --red:         #E5615F;
  --amber:       #D88036;
  --accent:      #E6E7A3;
  --text-1:      #E6E6E6;
  --text-2:      #B9B5AE;
  --text-3:      #868F97;
  --font-display: 'DM Serif Display', 'Georgia', serif;
  --font-body:    'Inter', 'Helvetica Neue', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;
  --ease:         cubic-bezier(0.16, 1, 0.3, 1);
  --content-max:  1200px;
  --shadow-sm:    0 18px 40px rgba(0,0,0,0.28), 0 3px 12px rgba(0,0,0,0.22);
  --shadow-md:    0 28px 64px rgba(0,0,0,0.42), 0 10px 24px rgba(0,0,0,0.24), inset 0 1px 0 rgba(255,255,255,0.04);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #020202;
  color-scheme: dark;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-1);
  font-variant-numeric: tabular-nums;
  background:
    radial-gradient(circle at 50% -10%, rgba(255,255,255,0.05) 0%, transparent 30%),
    linear-gradient(180deg, #020202 0%, #050505 38%, #08090C 100%);
  overflow-x: hidden;
  position: relative;
  -webkit-tap-highlight-color: rgba(230,231,163,0.10);
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

body::before {
  background:
    radial-gradient(circle at 50% 18%, rgba(255,255,255,0.06), transparent 24%),
    linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.015) 100%);
}

body::after {
  opacity: 0.45;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: radial-gradient(circle at center, black 15%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at center, black 15%, transparent 78%);
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; background: none; border: none; font: inherit; }

::selection { background: rgba(230,231,163,0.30); color: #fff; }

/* Keyboard focus — one visible ring language everywhere. */
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(230,231,163,0.45);
  border-radius: 8px;
}

/* === Shared Surface Primitives === */
.surface-slab {
  background: var(--surface-default);
  border: 1px solid var(--border-soft);
  border-radius: 28px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

.surface-slab-quiet {
  background: var(--surface-quiet);
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
}

.metric-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
}

.metric-value {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  color: var(--text-1);
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: rgba(255,255,255,0.04);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #1e2d45; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #334155; }

/* === Nav === */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 20px 0;
  background: transparent;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 24px;
  height: 74px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: var(--surface-default);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 18px 44px rgba(0,0,0,0.34);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 34px; height: 34px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-1);
  flex-shrink: 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.logo-mark.sm {
  width: 26px; height: 26px;
  border-radius: 6px;
}

.logo-text {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 650;
  color: var(--text-1);
  line-height: 1;
  letter-spacing: -0.02em;
}

.logo-sub {
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  transition: color 0.2s, opacity 0.2s;
  opacity: 0.82;
}

.nav-links a:hover { color: var(--text-1); opacity: 1; }

.nav-links a.nav-cta {
  color: #121214;
  font-weight: 750;
  opacity: 1;
  padding: 9px 16px;
  border-radius: 999px;
  background: linear-gradient(180deg, #EDEEB4, #D6D876);
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.45), 0 10px 24px rgba(0,0,0,0.22);
}

.nav-links a.nav-cta:hover {
  color: #121214;
  transform: translateY(-1px);
}

/* === Buttons === */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 24px;
  background: linear-gradient(180deg, #EDEEB4, #D6D876);
  color: #121214;
  font-size: 14px;
  font-weight: 700;
  border-radius: 9999px;
  border: 1px solid var(--border-strong);
  box-shadow: 0 10px 30px rgba(0,0,0,0.28);
  transition: box-shadow 0.2s, transform 0.15s;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 36px rgba(0,0,0,0.36);
  transform: translateY(-1px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 24px;
  background: rgba(255,255,255,0.035);
  color: var(--text-2);
  font-size: 14px;
  font-weight: 600;
  border-radius: 9999px;
  border: 1px solid var(--border-soft);
  transition: border-color 0.2s, color 0.2s, transform 0.15s;
}

.btn-ghost:hover {
  border-color: var(--border-strong);
  color: var(--text-1);
  transform: translateY(-1px);
}

.btn-lg { padding: 14px 32px; font-size: 15px; }
.btn-full { width: 100%; justify-content: center; }
.btn-arrow { font-size: 16px; }

/* === Hero === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 132px 32px 72px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 980px;
  height: 680px;
  background:
    radial-gradient(ellipse at center, rgba(210, 199, 178, 0.12) 0%, rgba(120, 126, 139, 0.08) 32%, transparent 68%);
  pointer-events: none;
  z-index: 0;
  filter: blur(12px);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  width: min(100%, 960px);
  min-width: 0;
  max-width: 960px;
  margin-bottom: 44px;
}

.hero-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: #d4d7dd;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.09);
  padding: 8px 18px;
  border-radius: 9999px;
  margin-bottom: 28px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

.hero-title {
  max-width: 960px;
  margin: 0 auto 18px;
  color: var(--text-1);
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 66px);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-tagline {
  max-width: 680px;
  margin: 0 auto 14px;
  color: var(--text-2);
  font-size: clamp(18px, 1.2vw + 15px, 24px);
  line-height: 1.5;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-proof {
  margin-top: 18px;
  font-size: 13px;
  letter-spacing: 0.01em;
  color: var(--text-2);
}

/* === Proof shots (real screenshots) === */
.proof-shots {
  display: grid;
  gap: 22px;
  min-width: 0;
}

.proof-shot {
  margin: 0;
  min-width: 0;
}

.proof-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.09);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 24px 60px rgba(0,0,0,0.30);
}

.proof-shot figcaption {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-2);
}

/* Mock brief bar: serif posture word (mirrors the live Market View) */
.preview-posture-word {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--accent);
  letter-spacing: 0.02em;
}

/* === Dashboard Preview Mock === */
.hero-visual {
  position: relative;
  z-index: 1;
  width: 100%;
  min-width: 0;
  max-width: 1048px;
  --flow-progress: 0.08;
  transition: transform 300ms var(--ease);
  will-change: transform;
}

.dashboard-preview {
  position: relative;
  width: 100%;
  min-width: 0;
  background: var(--surface-emphasis);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 28px 88px rgba(0,0,0,0.56),
    0 0 140px rgba(210,199,178,0.10);
  transform-origin: center top;
}

.preview-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 22px;
  background: rgba(255,255,255,0.025);
  border-bottom: 1px solid var(--border-soft);
}

.preview-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}

.preview-dot.red { background: #ff5f57; }
.preview-dot.amber { background: #febc2e; }
.preview-dot.green { background: #28c840; }

.preview-title {
  font-size: 12px;
  color: #8b8d92;
  margin-left: 8px;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.preview-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.preview-stage {
  opacity: 0;
  transform:
    translate3d(var(--hero-translate-x, 0), var(--hero-translate-y, 28px), 0)
    scale(var(--hero-scale, 0.92));
  filter: blur(18px);
  transform-origin: var(--hero-origin, center center);
  will-change: transform, opacity, filter;
}

.hero-visual.is-ready .dashboard-preview {
  animation: heroPreviewSettle 1800ms var(--ease) both;
}

.hero-visual.is-ready .preview-stage {
  animation: heroAssemble 1320ms var(--ease) forwards;
  animation-delay: var(--hero-delay, 0ms);
}

.preview-stage--1 {
  --hero-delay: 220ms;
  --hero-scale: 0.95;
  --hero-translate-y: -16px;
  --hero-origin: top center;
}

.preview-stage--2 {
  --hero-delay: 520ms;
  --hero-scale: 0.9;
  --hero-translate-x: -26px;
  --hero-translate-y: -8px;
  --hero-origin: left top;
}

.preview-stage--3 {
  --hero-delay: 760ms;
  --hero-scale: 0.9;
  --hero-translate-x: -26px;
  --hero-translate-y: 10px;
  --hero-origin: left center;
}

.preview-stage--4 {
  --hero-delay: 1000ms;
  --hero-scale: 0.9;
  --hero-translate-x: -20px;
  --hero-translate-y: 20px;
  --hero-origin: left bottom;
}

.preview-stage--5 {
  --hero-delay: 1280ms;
  --hero-scale: 0.9;
  --hero-translate-y: 32px;
  --hero-origin: center center;
}

.preview-stage--6 {
  --hero-delay: 1560ms;
  --hero-scale: 0.92;
  --hero-translate-x: 18px;
  --hero-translate-y: -12px;
  --hero-origin: right top;
}

.preview-stage--7 {
  --hero-delay: 1820ms;
  --hero-scale: 0.92;
  --hero-translate-x: 24px;
  --hero-translate-y: 14px;
  --hero-origin: right center;
}

.preview-stage--8 {
  --hero-delay: 2120ms;
  --hero-scale: 0.95;
  --hero-translate-y: 26px;
  --hero-origin: center top;
}

.preview-stage--9 {
  --hero-delay: 2380ms;
  --hero-scale: 0.97;
  --hero-translate-y: 28px;
  --hero-origin: center center;
}

.preview-stage--10 {
  --hero-delay: 2580ms;
  --hero-scale: 0.97;
  --hero-translate-y: 22px;
  --hero-origin: center center;
}

.preview-stage--11 {
  --hero-delay: 2780ms;
  --hero-scale: 0.97;
  --hero-translate-y: 22px;
  --hero-origin: center center;
}

.preview-stage--12 {
  --hero-delay: 3020ms;
  --hero-scale: 0.94;
  --hero-translate-x: 18px;
  --hero-translate-y: 28px;
  --hero-origin: right bottom;
}

.preview-stage--13 {
  --hero-delay: 3220ms;
  --hero-scale: 0.95;
  --hero-translate-y: 24px;
  --hero-origin: center center;
}

.preview-stage--14 {
  --hero-delay: 3420ms;
  --hero-scale: 0.95;
  --hero-translate-y: 24px;
  --hero-origin: center center;
}

.preview-brief-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  background:
    radial-gradient(circle at 18% 0%, rgba(255,255,255,0.04), transparent 28%),
    linear-gradient(180deg, rgba(18,19,24,0.96), rgba(10,11,14,0.98));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.preview-brief-kicker {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-1);
}

.preview-brief-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex: 0 0 auto;
  background: var(--amber);
  box-shadow: 0 0 0 6px rgba(216,128,54,0.12);
}

.preview-brief-copy {
  font-size: 12px;
  color: var(--text-2);
  line-height: 1.45;
}

.preview-workspace {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) 224px;
  gap: 16px;
  align-items: start;
  min-width: 0;
}

.preview-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.preview-panel,
.preview-chart-panel,
.preview-scanner {
  position: relative;
  overflow: hidden;
  background: var(--surface-quiet);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  transition:
    opacity 420ms var(--ease),
    transform 420ms var(--ease),
    border-color 420ms var(--ease),
    box-shadow 420ms var(--ease),
    filter 420ms var(--ease);
}

.preview-panel::before,
.preview-chart-panel::before,
.preview-scanner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  border-radius: inherit;
  background:
    linear-gradient(90deg, rgba(230,231,163,0.10), transparent 46%),
    linear-gradient(180deg, rgba(255,255,255,0.045), transparent 38%);
  box-shadow: inset 0 0 0 1px rgba(230,231,163,0.10);
  transition: opacity 420ms var(--ease);
}

.preview-panel > *,
.preview-chart-panel > *,
.preview-scanner > * {
  position: relative;
  z-index: 1;
}

.preview-panel {
  padding: 18px 18px 16px;
}

.preview-panel--market {
  border-color: rgba(78,190,150,0.14);
  background:
    radial-gradient(circle at 0% 0%, rgba(78,190,150,0.10), transparent 26%),
    linear-gradient(180deg, rgba(24,25,29,0.94), rgba(14,15,18,0.98));
}

.preview-panel--breadth {
  border-color: rgba(78,190,150,0.1);
  background:
    radial-gradient(circle at 0% 0%, rgba(78,190,150,0.06), transparent 28%),
    linear-gradient(180deg, rgba(22,23,28,0.95), rgba(14,15,18,0.99));
}

.preview-panel--guardrails {
  border-color: rgba(71,159,250,0.12);
  background:
    radial-gradient(circle at 100% 0%, rgba(71,159,250,0.08), transparent 26%),
    linear-gradient(180deg, rgba(21,22,27,0.96), rgba(13,14,18,0.99));
}

.preview-panel--backtest {
  border-color: rgba(230,231,163,0.12);
  background:
    radial-gradient(circle at 50% 0%, rgba(230,231,163,0.08), transparent 30%),
    linear-gradient(180deg, rgba(22,23,27,0.96), rgba(13,14,18,0.99));
}

.preview-panel--journal {
  border-color: rgba(78,190,150,0.12);
  background:
    radial-gradient(circle at 0% 0%, rgba(78,190,150,0.08), transparent 30%),
    linear-gradient(180deg, rgba(21,22,26,0.96), rgba(12,13,17,0.99));
}

/* Cockpit mock zones: the idle loop or a hover spotlights one tool's
   panels; everything else recedes. Click scrolls to the tool's section. */
[data-zone-link] { cursor: pointer; }

[data-zone-link]:focus-visible {
  outline: 2px solid rgba(230,231,163,0.44);
  outline-offset: 2px;
}

.hero-visual[data-zone] .preview-brief-bar,
.hero-visual[data-zone] .preview-panel,
.hero-visual[data-zone] .preview-scanner,
.hero-visual[data-zone] .preview-chart-panel {
  opacity: 0.58;
  transform: scale(0.994);
  transition:
    opacity 420ms var(--ease),
    transform 420ms var(--ease),
    border-color 420ms var(--ease),
    box-shadow 420ms var(--ease),
    filter 420ms var(--ease);
}

.hero-visual[data-zone="marketview"] [data-zone-link="marketview"],
.hero-visual[data-zone="ideas"] [data-zone-link="ideas"],
.hero-visual[data-zone="backtest"] [data-zone-link="backtest"],
.hero-visual[data-zone="guardrails"] [data-zone-link="guardrails"],
.hero-visual[data-zone="journal"] [data-zone-link="journal"] {
  opacity: 1;
  transform: translate3d(0, -2px, 0) scale(1);
  border-color: rgba(230,231,163,0.34);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 0 0 1px rgba(230,231,163,0.08),
    0 18px 48px rgba(0,0,0,0.34),
    0 0 34px rgba(78,190,150,0.10);
  filter: saturate(1.12) brightness(1.08);
}

.pc-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 8px;
  font-family: var(--font-body);
}

.preview-market-headline {
  font-size: 24px;
  font-weight: 760;
  letter-spacing: -0.04em;
  line-height: 1.04;
  color: var(--green);
  margin-bottom: 10px;
  max-width: 7ch;
}

.preview-market-copy {
  font-size: 12px;
  line-height: 1.62;
  color: var(--text-2);
}

.preview-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.preview-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.03);
  color: var(--text-2);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.preview-sector-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.preview-sector-row {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 11px 11px 11px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.025);
}

.preview-sector-state {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(216,128,54,0.12);
  color: var(--amber);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.preview-sector-state--lead {
  background: rgba(78,190,150,0.14);
  color: var(--green);
}

.preview-sector-symbol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  padding: 6px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  color: var(--text-1);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: var(--font-mono);
}

.preview-sector-name {
  color: var(--text-1);
  min-width: 0;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.preview-sector-move {
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  text-align: right;
}

.preview-sector-move--muted {
  color: var(--text-2);
}

.preview-breadth-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.preview-breadth-copywrap {
  min-width: 0;
}

.preview-breadth-title {
  color: var(--text-1);
  font-size: 18px;
  font-weight: 720;
  letter-spacing: -0.03em;
}

.preview-breadth-copy {
  color: var(--text-2);
  font-size: 11px;
  line-height: 1.5;
  margin-top: 4px;
}

.preview-breadth-metric {
  color: var(--green);
  font-size: 30px;
  font-weight: 760;
  letter-spacing: -0.05em;
  line-height: 1;
}

.preview-breadth-split {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.preview-breadth-up {
  color: var(--green);
}

.preview-breadth-down {
  color: var(--red);
}

.preview-chart-panel {
  position: relative;
  z-index: 2;
  padding: 18px 18px 16px;
  background:
    radial-gradient(circle at 50% -20%, rgba(255,255,255,0.05), transparent 28%),
    linear-gradient(180deg, rgba(21,22,27,0.97), rgba(12,13,17,0.99));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 24px 56px rgba(0,0,0,0.3);
}

.preview-chart-panel--image {
  padding: 0;
  background: none;
  box-shadow: none;
  overflow: hidden;
}

.preview-chart-shot {
  display: block;
  width: 100%;
  min-width: 0;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 26px 56px rgba(0,0,0,0.28);
}

.preview-chart-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  margin-bottom: 14px;
}

.preview-chart-labels {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  overflow: hidden;
}

.pc-label--symbol {
  margin-left: 2px;
}

.preview-chart-ticker {
  display: inline-flex;
  align-items: center;
  min-width: 122px;
  justify-content: flex-start;
  padding: 8px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.07);
  background: rgba(0,0,0,0.35);
  color: var(--text-1);
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
}

.preview-chart-enter {
  color: var(--text-3);
  display: inline-flex;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: none;
  white-space: nowrap;
}

.preview-chart-timeframes {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(0,0,0,0.24);
}

.preview-chart-timeframes span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--text-3);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.preview-chart-timeframes .is-active {
  background: rgba(255,255,255,0.08);
  color: var(--text-1);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

.preview-chart-canvas {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.05);
  background:
    linear-gradient(rgba(255,255,255,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(15,16,20,0.94), rgba(12,13,17,0.98));
  background-size: 100% 40px, 104px 100%, 100% 100%;
}

.preview-chart-svg {
  position: absolute;
  inset: 14px 72px 34px 0;
  width: 100%;
  height: 100%;
}

.preview-chart-path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 760;
  stroke-dashoffset: 760;
}

.preview-chart-path--price {
  stroke: rgba(236,239,244,0.92);
  stroke-width: 3;
}

.preview-chart-path--trend {
  stroke: rgba(227,234,244,0.92);
  stroke-width: 2.2;
}

.preview-chart-candles {
  opacity: 0.98;
}

.preview-candle-wick {
  stroke-width: 1.4;
  stroke-linecap: round;
}

.preview-candle-wick--up {
  stroke: rgba(158, 191, 164, 0.88);
}

.preview-candle-wick--down {
  stroke: rgba(191, 137, 133, 0.84);
}

.preview-candle-body {
  stroke-width: 0.8;
}

.preview-candle-body--up {
  fill: rgba(158, 191, 164, 0.56);
  stroke: rgba(158, 191, 164, 0.92);
}

.preview-candle-body--down {
  fill: rgba(191, 137, 133, 0.44);
  stroke: rgba(191, 137, 133, 0.86);
}

.hero-visual.is-ready .preview-chart-path--price {
  animation: heroChartDraw 1750ms var(--ease) forwards;
  animation-delay: 1600ms;
}

.hero-visual.is-ready .preview-chart-path--trend {
  animation: heroChartDraw 1500ms var(--ease) forwards;
  animation-delay: 1780ms;
}

.preview-chart-marker {
  fill: none;
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-dasharray: 3 3;
}

.preview-chart-marker--entry,
.preview-chart-marker--one-r,
.preview-chart-marker--two-r {
  stroke: rgba(233,228,216,0.56);
}

.preview-chart-marker--stop {
  stroke: rgba(191, 137, 133, 0.7);
}

.preview-chart-marker--volume {
  stroke: rgba(151, 189, 160, 0.46);
}

.preview-chart-marker--cursor {
  stroke: rgba(255,255,255,0.34);
}

.preview-chart-volumes {
  opacity: 0.95;
}

.preview-volume-bar--up {
  fill: rgba(116, 146, 118, 0.42);
}

.preview-volume-bar--down {
  fill: rgba(137, 102, 94, 0.42);
}

.preview-chart-axis-values {
  position: absolute;
  inset: 18px 14px 34px auto;
  width: 64px;
  pointer-events: none;
}

.preview-chart-axis-values span {
  position: absolute;
  right: 0;
  transform: translateY(-50%);
  color: rgba(235,239,246,0.92);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.preview-chart-footer {
  position: absolute;
  left: 12px;
  right: 72px;
  bottom: 8px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  align-items: center;
  color: rgba(237, 241, 247, 0.92);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.preview-chart-footer-month {
  font-size: 15px;
  font-weight: 800;
  justify-self: center;
}

.preview-chart-footer-end {
  justify-self: end;
}

.preview-scanner {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  position: relative;
  z-index: 1;
}

.preview-scanner {
  background: var(--surface-default);
}

.ps-header {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 0 2px 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #d8dbdf;
  font-family: var(--font-body);
}

.ps-header span {
  font-size: 10px;
  color: var(--text-3);
  font-family: var(--font-mono);
}

.preview-idea-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid rgba(78,190,150,0.14);
  background:
    radial-gradient(circle at 50% -20%, rgba(255,255,255,0.03), transparent 36%),
    linear-gradient(180deg, rgba(24,25,29,0.92), rgba(16,17,21,0.97));
}

.preview-idea-symbol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.05);
  color: var(--text-1);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-family: var(--font-mono);
}

.preview-idea-copy {
  min-width: 0;
}

.preview-idea-topline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 6px;
}

.preview-idea-ticker {
  color: var(--text-1);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-family: var(--font-mono);
}

.preview-idea-score {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  color: var(--accent);
  background: rgba(230,231,163,0.08);
  border: 1px solid rgba(230,231,163,0.18);
  border-radius: 6px;
  padding: 1px 5px;
}

.preview-idea-tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(71,159,250,0.12);
  border: 1px solid rgba(71,159,250,0.18);
  color: #7ab6ff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.preview-idea-subline {
  color: var(--text-2);
  font-size: 12px;
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.preview-idea-metric {
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.preview-idea-metric--negative {
  color: var(--red);
}

.preview-backtest-score {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: var(--text-1);
  font-family: var(--font-mono);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
}

.preview-backtest-score span {
  color: var(--text-3);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.preview-backtest-list {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.preview-backtest-list div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 10px;
  border-radius: 9px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.025);
  color: var(--text-3);
  font-size: 11px;
}

.preview-backtest-list strong {
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.preview-analysis-kicker {
  color: var(--text-3);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.preview-analysis-copy {
  color: var(--text-1);
  font-size: 14px;
  line-height: 1.42;
  font-weight: 680;
  letter-spacing: -0.02em;
}

.preview-analysis-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.06);
  color: var(--text-3);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.preview-analysis-foot strong {
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
}

.preview-journal-card {
  padding: 13px 13px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.025);
}

.preview-journal-topline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
}

.preview-journal-ticker {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 9px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.22);
  color: var(--text-1);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.preview-journal-topline strong {
  color: var(--green);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.preview-journal-card p {
  color: var(--text-2);
  font-size: 11px;
  line-height: 1.55;
}

.hero-glow-bottom {
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 740px;
  height: 240px;
  background: radial-gradient(ellipse at center, rgba(193,165,122,0.12) 0%, transparent 72%);
  pointer-events: none;
  opacity: 0;
}

.hero-visual.is-ready .hero-glow-bottom {
  animation: heroGlowSettle 1800ms var(--ease) forwards;
  animation-delay: 520ms;
}

@keyframes heroPreviewSettle {
  from {
    transform: translateY(28px) scale(0.985) rotateX(7deg);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.08),
      0 16px 48px rgba(0,0,0,0.4);
  }
  to {
    transform: translateY(0) scale(1) rotateX(0deg);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.08),
      0 28px 88px rgba(0,0,0,0.56);
  }
}

@keyframes heroAssemble {
  from {
    opacity: 0;
    transform:
      translate3d(var(--hero-translate-x, 0), var(--hero-translate-y, 28px), 0)
      scale(var(--hero-scale, 0.92));
    filter: blur(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes heroChartDraw {
  from { stroke-dashoffset: 760; }
  to { stroke-dashoffset: 0; }
}


@keyframes heroGlowSettle {
  from {
    opacity: 0;
    transform: translateX(-50%) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) scale(1);
  }
}

@keyframes ideasMarqueeScroll {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

/* === Section Shared === */
.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #d0d3d8;
  text-align: center;
  margin-bottom: 12px;
}

.section-label--left {
  text-align: left;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 400;
  color: var(--text-1);
  text-align: center;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 64px;
}

.section-subtitle {
  max-width: 680px;
  margin: -42px auto 0;
  text-align: center;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.75;
}

.about-card {
  background: var(--surface-default);
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

.about-card p,
.about-list {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-2);
}

.page-hero {
  padding: 170px 32px 64px;
}

.page-shell {
  max-width: 1040px;
  margin: 0 auto;
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 4rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.02;
  color: var(--text-1);
  max-width: 760px;
}

.page-subtitle {
  max-width: 760px;
  margin-top: 20px;
  color: var(--text-2);
  font-size: 18px;
  line-height: 1.8;
}

.page-section {
  padding: 0 32px 72px;
}

.page-section-tight {
  padding-bottom: 110px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 20px;
}

.about-card {
  padding: 30px 28px;
}

.about-card h2,
.about-cta h2 {
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.04em;
  color: var(--text-1);
  margin-bottom: 16px;
}

.about-card-lg {
  min-height: 100%;
}

.about-list {
  padding-left: 18px;
}

.about-list li + li {
  margin-top: 10px;
}

.about-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 36px;
  border: 1px solid var(--border-soft);
  border-radius: 28px;
  background: var(--surface-default);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

.about-cta p {
  color: var(--text-2);
  max-width: 620px;
}

.about-cta-actions {
  display: flex;
  gap: 14px;
  flex-shrink: 0;
}

/* === FAQ === */
.faq-section {
  padding: 120px 32px 140px;
  text-align: center;
}

.faq-list {
  max-width: 760px;
  margin: 36px auto 0;
  text-align: left;
}

.faq-item {
  border-bottom: 1px solid var(--border-soft);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 4px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-1);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 20px;
  font-weight: 400;
  color: var(--text-3);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item p {
  margin: 0;
  padding: 0 4px 22px;
  max-width: 680px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text-2);
}

/* === Tools Workflow === */
.workflow {
  position: relative;
  max-width: none;
  margin: 0;
  padding: 120px 32px 140px;
  background:
    radial-gradient(circle at 14% 8%, rgba(230,231,163,0.13), transparent 30%),
    radial-gradient(circle at 88% 80%, rgba(255,255,255,0.05), transparent 28%),
    linear-gradient(180deg, #090A0D 0%, #101116 54%, #07080A 100%);
  border-top: 1px solid rgba(230,231,163,0.12);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    inset 0 -1px 0 rgba(0,0,0,0.45);
  overflow: hidden;
}

.workflow::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.026) 1px, transparent 1px);
  background-size: 92px 92px;
  mask-image: linear-gradient(90deg, transparent, black 16%, black 84%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 16%, black 84%, transparent);
  opacity: 0.58;
}

.workflow-shell {
  position: relative;
  z-index: 1;
  max-width: var(--content-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.28fr);
  grid-template-areas:
    "intro alert"
    "intro cards";
  gap: 18px 30px;
  align-items: start;
}

.workflow-shell--loop {
  grid-template-areas:
    "intro alert"
    "intro marquee"
    "intro cards";
}

.workflow-intro {
  grid-area: intro;
  position: sticky;
  top: 112px;
  max-width: 430px;
}

/* Landing variant: intro on top, tool sections full content width (the
   side-column layout squeezes the ideas diagram; features.html keeps it). */
.workflow-shell--stack {
  display: block;
}

.workflow-shell--stack .workflow-intro {
  position: static;
  max-width: 760px;
  margin-bottom: 56px;
}

.workflow-shell--stack .workflow-intro .section-label,
.workflow-shell--stack .workflow-intro .section-title {
  text-align: left;
}

.workflow .section-label,
.workflow .section-title,
.workflow .section-subtitle {
  text-align: left;
}

.workflow .section-title {
  margin-bottom: 0;
}

.workflow .section-subtitle {
  margin: 18px 0 0;
  color: rgba(232,232,226,0.74);
}

.workflow-alert {
  grid-area: alert;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid rgba(230,231,163,0.20);
  background:
    radial-gradient(circle at 0% 0%, rgba(230,231,163,0.12), transparent 42%),
    linear-gradient(180deg, rgba(28,29,21,0.78), rgba(10,11,14,0.86));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

.workflow-alert-kicker {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
}

.workflow-alert-copy {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(232,232,226,0.72);
}

.ideas-marquee {
  grid-area: marquee;
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(230,231,163,0.18);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% -20%, rgba(230,231,163,0.14), transparent 34%),
    linear-gradient(180deg, rgba(18,19,23,0.88), rgba(8,9,12,0.94));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
  mask-image: linear-gradient(90deg, transparent 0, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, black 8%, black 92%, transparent 100%);
}

.ideas-marquee::before,
.ideas-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 84px;
  z-index: 2;
  pointer-events: none;
}

.ideas-marquee::before {
  left: 0;
  background: linear-gradient(90deg, rgba(10,11,14,0.94), transparent);
}

.ideas-marquee::after {
  right: 0;
  background: linear-gradient(270deg, rgba(10,11,14,0.94), transparent);
}

.ideas-marquee-track {
  display: flex;
  width: max-content;
  animation: ideasMarqueeScroll 34s linear infinite;
  will-change: transform;
}

.ideas-marquee:hover .ideas-marquee-track {
  animation-play-state: paused;
}

.ideas-marquee-group {
  display: flex;
  gap: 10px;
  padding: 12px 10px;
}

.ideas-chip {
  display: grid;
  grid-template-columns: auto minmax(116px, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-width: 252px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(5,6,9,0.52);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

.ideas-chip strong {
  color: var(--text-1);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.05em;
}

.ideas-chip em {
  min-width: 0;
  overflow: hidden;
  color: rgba(232,232,226,0.58);
  font-style: normal;
  font-size: 12px;
  font-weight: 720;
  text-transform: uppercase;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ideas-chip b {
  min-width: 40px;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(230,231,163,0.13);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 850;
  text-align: center;
}

/* === Tool sections: real screenshot per tool, mock zones scroll here === */
.tool-flow {
  grid-area: cards;
  display: flex;
  flex-direction: column;
  gap: 150px;
}

.tool-block {
  scroll-margin: 120px;
  min-width: 0;
}

.tool-head {
  max-width: 760px;
  margin-bottom: 20px;
}

.tool-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  color: var(--text-1);
  margin: 0 0 10px;
}

.tool-desc {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--text-2);
  margin: 0;
}

.tool-block--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 400px);
  gap: 48px;
  align-items: center;
}

.tool-block--split .tool-head {
  margin-bottom: 0;
}

.tool-shot--tall img {
  max-width: 400px;
  margin: 0 auto;
}

/* Landing pulse when a mock zone click scrolls here */
.tool-block.is-target .proof-shot img,
#receipts.is-target .proof-shot img {
  animation: toolShotTarget 1.8s var(--ease) both;
}

@keyframes toolShotTarget {
  0%, 55% {
    border-color: rgba(230,231,163,0.55);
    box-shadow: 0 0 0 1px rgba(230,231,163,0.25), 0 0 40px rgba(230,231,163,0.12);
  }
  100% {
    border-color: rgba(255,255,255,0.09);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.05),
      0 24px 60px rgba(0,0,0,0.30);
  }
}


/* === Market View funnel (animated: three feeds -> one call) === */
.mv-funnel { min-width: 0; }

.mv-sources {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.mv-panel {
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  padding: 22px 24px;
  background: rgba(12,13,17,0.66);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
  min-width: 0;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.mv-funnel.in .mv-panel { opacity: 1; transform: translateY(0); }
.mv-funnel.in .mv-panel--2 { transition-delay: 0.12s; }
.mv-funnel.in .mv-panel--3 { transition-delay: 0.24s; }

.mv-label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 10px;
}

.mv-label-sub {
  text-transform: none;
  letter-spacing: 0.02em;
  font-weight: 500;
  color: var(--accent);
  margin-left: 6px;
}

.mv-theme { font-size: 14.5px; color: var(--text-1); margin-top: 12px; }
.mv-theme:first-of-type { margin-top: 0; }
.mv-theme b { font-weight: 650; }

.mv-tickers {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-3);
  margin-top: 3px;
}

.mv-tickers em, .mv-sector em, .mv-flow em { font-style: normal; color: var(--green); }
.mv-neg { color: var(--red, #e5615f) !important; }

.mv-chip {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 2px 6px 1px;
  border-radius: 6px;
  background: rgba(230,231,163,0.10);
  border: 1px solid rgba(230,231,163,0.22);
  color: var(--accent);
  vertical-align: 1px;
}

.mv-chip--hot { background: rgba(229,97,95,0.12); border-color: rgba(229,97,95,0.3); color: #e5837f; }
.mv-chip--calls { background: rgba(78,190,150,0.12); border-color: rgba(78,190,150,0.28); color: var(--green); }

.mv-sector, .mv-flow {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 14px;
  color: var(--text-2);
  padding: 8px 0;
  border-bottom: 1px solid var(--border-soft);
}

.mv-sector:last-child, .mv-flow:last-child { border-bottom: none; }
.mv-sector span, .mv-flow span { font-family: var(--font-mono); font-weight: 700; font-size: 13.5px; color: var(--text-1); }
.mv-sector em { margin-left: auto; font-family: var(--font-mono); font-size: 13.5px; }
.mv-flow .mv-chip { margin-left: auto; }

.mv-lines {
  display: block;
  width: 100%;
  height: 112px;
}

.mv-line {
  fill: none;
  stroke: rgba(230,231,163,0.38);
  stroke-width: 1.2;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  transition: stroke-dashoffset 0.9s var(--ease);
}

.mv-funnel.in .mv-line { stroke-dashoffset: 0; }
.mv-funnel.in .mv-line--1 { transition-delay: 0.35s; }
.mv-funnel.in .mv-line--2 { transition-delay: 0.47s; }
.mv-funnel.in .mv-line--3 { transition-delay: 0.59s; }

.mv-band {
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 18px;
  padding: 26px 30px;
  border: 1px solid rgba(230,231,163,0.30);
  border-radius: 14px;
  background:
    radial-gradient(ellipse 60% 100% at 50% 0%, rgba(230,231,163,0.06), transparent 70%),
    rgba(10,11,14,0.72);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 0 34px rgba(230,231,163,0.05);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.mv-funnel.in .mv-band { opacity: 1; transform: translateY(0); transition-delay: 0.9s; }

.mv-band-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
}

.mv-posture {
  font-family: var(--font-display);
  font-size: 34px;
  color: var(--accent);
  letter-spacing: 0.02em;
}

.mv-mindset {
  font-family: var(--font-display);
  font-size: 25px;
  color: var(--text-1);
}

.mv-band-copy {
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--text-2);
}

.mv-divider {
  align-self: center;
  width: 1px;
  height: 22px;
  background: rgba(255,255,255,0.14);
}

@media (max-width: 900px) {
  .mv-sources { grid-template-columns: 1fr; gap: 12px; }
  .mv-lines { display: none; }
  .mv-band { margin-top: 16px; justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .mv-panel, .mv-band {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .mv-line { stroke-dashoffset: 0 !important; transition: none !important; }
}

/* === Ideas provenance diagram (Fey-style draw-in on scroll) === */
.ideas-diagram {
  display: grid;
  grid-template-columns: 260px 110px minmax(0, 1fr);
  align-items: stretch;
}

.ideas-sources {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 0;
}

.ideas-source {
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 14px;
  padding: 14px 16px;
  background: rgba(12,13,17,0.66);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.ideas-diagram.in .ideas-source { opacity: 1; transform: translateX(0); }
.ideas-diagram.in .ideas-source--2 { transition-delay: 0.12s; }
.ideas-diagram.in .ideas-source--3 { transition-delay: 0.24s; }

.ideas-source-name {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.ideas-source-sub {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-2);
}

.ideas-lines {
  width: 100%;
  height: 100%;
  min-height: 440px;
  display: block;
}

.ideas-line {
  fill: none;
  stroke: rgba(230,231,163,0.38);
  stroke-width: 1.2;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 620;
  stroke-dashoffset: 620;
  transition: stroke-dashoffset 1.1s var(--ease);
}

.ideas-diagram.in .ideas-line { stroke-dashoffset: 0; }
.ideas-diagram.in .ideas-line--1 { transition-delay: 0.3s; }
.ideas-diagram.in .ideas-line--2 { transition-delay: 0.45s; }
.ideas-diagram.in .ideas-line--3 { transition-delay: 0.6s; }

.ideas-rank {
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  background: rgba(10,11,14,0.72);
  padding: 4px 20px 12px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 24px 60px rgba(0,0,0,0.30);
  min-width: 0;
}

.ideas-rank-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0 10px;
  border-bottom: 1px solid var(--border-soft);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}

.ideas-rank-stamp { color: var(--accent); font-weight: 500; }

.ideas-row {
  display: grid;
  grid-template-columns: 60px 42px 168px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  padding: 13px 0;
  border-bottom: 1px solid var(--border-soft);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

.ideas-diagram.in .ideas-row { opacity: 1; transform: translateY(0); }
.ideas-diagram.in .ideas-row:nth-of-type(2) { transition-delay: 0.55s; }
.ideas-diagram.in .ideas-row:nth-of-type(3) { transition-delay: 0.67s; }
.ideas-diagram.in .ideas-row:nth-of-type(4) { transition-delay: 0.79s; }
.ideas-diagram.in .ideas-row:nth-of-type(6) { transition-delay: 0.91s; }
.ideas-diagram.in .ideas-row:nth-of-type(7) { transition-delay: 1.03s; }

.ideas-row-ticker,
.ideas-row-score {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
}

.ideas-row-ticker { color: var(--text-1); }
.ideas-row-score { color: var(--accent); }

.ideas-row-tag {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-3);
  white-space: nowrap;
}

.ideas-row-fit {
  font-style: normal;
  font-size: 9px;
  padding: 2px 6px 1px;
  border-radius: 999px;
  background: rgba(78,190,150,0.12);
  border: 1px solid rgba(78,190,150,0.28);
  color: var(--green);
  letter-spacing: 0.06em;
}

.ideas-row-sub {
  font-size: 13px;
  color: var(--text-2);
  min-width: 0;
}

.ideas-breakdown {
  margin: 12px 0 4px;
  padding: 14px 16px;
  border: 1px dashed rgba(230,231,163,0.28);
  border-radius: 12px;
  background: rgba(230,231,163,0.04);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.ideas-diagram.in .ideas-breakdown { opacity: 1; transform: translateY(0); transition-delay: 1.15s; }

.ideas-breakdown-title {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.ideas-breakdown-row {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr) 30px;
  gap: 12px;
  align-items: center;
  padding: 4px 0;
  font-size: 12.5px;
  color: var(--text-2);
}

.ideas-breakdown-row i {
  display: block;
  height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,0.07);
  overflow: hidden;
}

.ideas-breakdown-row b {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(230,231,163,0.5), rgba(230,231,163,0.9));
  transition: width 0.7s var(--ease);
}

.ideas-diagram.in .ideas-breakdown-row b { width: var(--w); }
.ideas-diagram.in .ideas-breakdown-row:nth-of-type(2) b { transition-delay: 1.3s; }
.ideas-diagram.in .ideas-breakdown-row:nth-of-type(3) b { transition-delay: 1.42s; }
.ideas-diagram.in .ideas-breakdown-row:nth-of-type(4) b { transition-delay: 1.54s; }
.ideas-diagram.in .ideas-breakdown-row:nth-of-type(5) b { transition-delay: 1.66s; }

.ideas-breakdown-row strong {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-1);
  text-align: right;
}

.ideas-breakdown-note {
  margin-top: 12px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-2);
}

.ideas-rank-foot {
  padding-top: 12px;
  font-size: 12px;
  line-height: 1.55;
  color: var(--text-3);
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}

.ideas-diagram.in .ideas-rank-foot { opacity: 1; transition-delay: 1.25s; }

@media (max-width: 960px) {
  .ideas-diagram { grid-template-columns: 1fr; gap: 18px; }
  .ideas-lines { display: none; }
  .ideas-sources {
    flex-direction: row;
    flex-wrap: wrap;
    padding: 0;
  }
  .ideas-source { flex: 1 1 220px; }
  .ideas-row { grid-template-columns: 56px 40px minmax(0, 1fr); row-gap: 4px; }
  .ideas-row-sub { grid-column: 1 / -1; }
  .ideas-breakdown-row { grid-template-columns: 110px minmax(0, 1fr) 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .ideas-source, .ideas-row, .ideas-breakdown, .ideas-rank-foot {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .ideas-line { stroke-dashoffset: 0 !important; transition: none !important; }
  .ideas-breakdown-row b { width: var(--w) !important; transition: none !important; }
}

/* === Product Proof === */
.product-proof {
  scroll-margin: 40px;
  padding: 120px 32px 136px;
  background:
    radial-gradient(circle at 78% 2%, rgba(230,231,163,0.08), transparent 28%),
    linear-gradient(180deg, #050608 0%, #0B0B0F 46%, #050608 100%);
  border-bottom: 1px solid var(--border-soft);
}

.product-proof-shell {
  max-width: var(--content-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
  gap: 32px;
  align-items: center;
}

.product-proof-copy .section-title,
.product-proof-copy .section-subtitle,
.product-proof-copy .section-label {
  text-align: left;
}

.product-proof-copy .section-subtitle {
  margin: 18px 0 0;
}

.product-proof-rail {
  display: grid;
  gap: 10px;
  padding: 12px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.08);
  background:
    radial-gradient(circle at 10% 0%, rgba(230,231,163,0.08), transparent 40%),
    rgba(255,255,255,0.025);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 24px 60px rgba(0,0,0,0.26);
}

.product-proof-item {
  display: grid;
  grid-template-columns: 42px minmax(130px, 0.55fr) minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 15px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.065);
  background: rgba(255,255,255,0.028);
}

.product-proof-item span {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: rgba(230,231,163,0.12);
  border: 1px solid rgba(230,231,163,0.20);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 850;
}

.product-proof-item strong {
  color: var(--text-1);
  font-size: 15px;
  font-weight: 760;
  letter-spacing: -0.01em;
}

.product-proof-item em {
  color: var(--text-3);
  font-style: normal;
  font-size: 13px;
  line-height: 1.45;
}

/* === Access === */
.access-section {
  max-width: none;
  margin: 0;
  padding: 120px 32px 140px;
  border-top: 1px solid rgba(230,231,163,0.16);
  /* Neutral glow like the hero — the old chartreuse wash read as a muddy
     olive tint over the black. Brand color stays in the hairline + CTA. */
  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,0.05), transparent 30%),
    #0B0B0F;
}

.access-section > .section-label,
.access-section > .section-title,
.access-section > .access-cards,
.access-section > .access-note {
  max-width: var(--content-max);
  margin-left: auto;
  margin-right: auto;
}

.access-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 360px));
  justify-content: center;
  gap: 24px;
  margin-bottom: 24px;
}

.access-card {
  background: var(--surface-default);
  border: 1px solid var(--border-soft);
  border-radius: 26px;
  padding: 38px 34px;
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
  display: flex;
  flex-direction: column;
}

.access-card.featured {
  border-color: var(--border-strong);
  box-shadow: 0 30px 60px rgba(0,0,0,0.34), inset 0 1px 0 rgba(255,255,255,0.08);
  transform: scale(1.02);
}

.access-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #EDEEB4, #D6D876);
  color: #121214;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 16px;
  border-radius: 9999px;
}

.access-name {
  font-family: var(--font-body);
  font-size: 24px;
  font-weight: 680;
  color: var(--text-1);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.access-price {
  font-family: var(--font-body);
  font-size: 42px;
  font-weight: 750;
  color: var(--text-1);
  margin-bottom: 8px;
  letter-spacing: -0.04em;
}

.access-price span {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-3);
}
.access-desc {
  font-size: 14px;
  color: var(--text-2);
  margin-bottom: 24px;
}

.access-features {
  list-style: none;
  margin-bottom: 28px;
  flex: 1 1 auto;
}

.access-card .btn-full {
  margin-top: auto;
}

.access-plan-actions {
  display: grid;
  gap: 10px;
  margin-top: auto;
}

.access-plan-actions .btn-full {
  margin-top: 0;
}

.access-trial-note {
  margin: 12px 0 0;
  color: var(--text-3);
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

/* Single-plan layout: one roomier card, centered. */
.access-cards--single {
  grid-template-columns: minmax(280px, 480px);
}

/* Ghost CTAs inside plan cards use the strong border so all three plan
   buttons read as the same pill family (the soft border blends into the
   card and makes the pill look smaller than the filled one). */
.access-card .btn-ghost {
  border-color: var(--border-strong);
}

.access-included-note {
  margin-top: auto;
  padding: 15px 18px;
  border-radius: 16px;
  border: 1px solid rgba(230,231,163,0.16);
  background: rgba(230,231,163,0.07);
  color: var(--text-2);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.access-features li {
  font-size: 14px;
  color: var(--text-2);
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.access-features .check {
  color: var(--green);
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.access-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-3);
}

/* === Footer === */
.footer {
  border-top: 1px solid var(--border-soft);
  padding: 64px 32px 48px;
}

.footer-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 620;
  color: var(--text-2);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-3);
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--text-1); }

.footer-copy {
  font-size: 12px;
  color: var(--text-3);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .preview-workspace {
    grid-template-columns: 190px minmax(0, 1fr) 180px;
  }
  .preview-chart-canvas {
    min-height: 250px;
  }
  .workflow-shell {
    grid-template-columns: 1fr;
    grid-template-areas:
      "intro"
      "alert"
      "cards";
  }
  .workflow-shell--loop {
    grid-template-areas:
      "intro"
      "alert"
      "marquee"
      "cards";
  }
  .workflow-intro {
    position: static;
    max-width: 760px;
  }
  .tool-block--split {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .tool-flow { gap: 84px; }
  .product-proof-shell {
    grid-template-columns: 1fr;
  }
  .product-proof-copy {
    max-width: 760px;
  }
  .about-grid { grid-template-columns: 1fr; }
  .about-cta { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 768px) {
  /* Nav */
  .nav { padding: 12px 12px 0; }
  .nav-inner { padding: 0 16px; height: 62px; border-radius: 26px; }
  .nav-logo { min-height: 44px; }
  .nav-links { display: none; }
  .logo-sub { display: none; }

  .btn-primary,
  .btn-ghost { min-height: 44px; }

  /* Hero */
  .hero { padding: 126px 20px 44px; min-height: auto; }
  .hero-content {
    width: 100%;
    max-width: calc(100vw - 40px);
    margin-bottom: 40px;
  }
  .hero .eyebrow {
    font-size: 10px;
    letter-spacing: 0.08em;
    line-height: 1.45;
    overflow-wrap: anywhere;
    white-space: normal;
  }
  .hero-title {
    font-size: clamp(40px, 10.5vw, 52px);
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-ctas { flex-direction: column; align-items: center; }
  .btn-lg { width: 100%; max-width: 280px; justify-content: center; }
  .hero-proof { max-width: 320px; margin: 16px auto 0; }

  /* Preview */
  .hero-visual {
    width: min(100%, calc(100vw - 40px));
    max-width: calc(100vw - 40px);
  }
  .dashboard-preview { border-radius: 12px; }
  .preview-header { padding: 14px 18px; }
  .preview-title {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .preview-body { padding: 18px; }
  .preview-brief-bar {
    align-items: flex-start;
    flex-wrap: wrap;
    row-gap: 8px;
  }
  .preview-brief-copy {
    min-width: 0;
  }
  .preview-workspace { grid-template-columns: 1fr; }
  .preview-column { gap: 14px; }
  .preview-column--left { order: 1; }
  .preview-column--main { order: 2; }
  .preview-column--right { order: 3; }
  .preview-chart-callout {
    left: 38%;
    top: 19%;
    max-width: 142px;
    font-size: 10px;
  }
  .preview-chart-top {
    flex-direction: column;
    align-items: flex-start;
  }
  .preview-chart-timeframes {
    align-self: stretch;
    justify-content: space-between;
  }
  .preview-chart-timeframes span {
    flex: 1;
    min-width: 0;
  }
  .preview-chart-canvas { min-height: 220px; }
  .preview-panel,
  .preview-chart-panel,
  .preview-scanner { border-radius: 10px; }
  .preview-idea-row {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 12px;
    padding: 12px 14px;
  }
  .preview-idea-metric {
    grid-column: 2;
    justify-self: flex-start;
  }
  .preview-idea-subline {
    white-space: normal;
  }
  .preview-sector-row {
    grid-template-columns: auto auto 1fr;
  }
  .preview-sector-move {
    grid-column: 3;
    justify-self: flex-start;
  }
  .preview-breadth-row {
    align-items: center;
  }
  .preview-breadth-metric {
    font-size: 28px;
  }
  .preview-analysis-copy {
    font-size: 15px;
  }

  /* Features */
  .workflow { padding: 60px 20px 80px; }
  .workflow .section-label,
  .workflow .section-title,
  .workflow .section-subtitle {
    text-align: center;
  }
  .workflow .section-subtitle {
    margin: 16px auto 0;
  }
  .workflow-alert {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .workflow-alert-kicker {
    white-space: normal;
  }
  .ideas-marquee {
    mask-image: none;
    -webkit-mask-image: none;
  }
  .ideas-marquee::before,
  .ideas-marquee::after {
    width: 34px;
  }
  .ideas-chip {
    min-width: 220px;
    grid-template-columns: auto minmax(92px, 1fr) auto;
  }

  /* Product proof */
  .product-proof {
    padding: 64px 20px 72px;
  }
  .product-proof-copy .section-title,
  .product-proof-copy .section-subtitle,
  .product-proof-copy .section-label {
    text-align: center;
  }
  .product-proof-copy .section-subtitle {
    margin: 16px auto 0;
  }
  .product-proof-rail {
    border-radius: 20px;
  }
  .product-proof-item {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px 12px;
  }
  .product-proof-item em {
    grid-column: 2;
  }

  /* Access */
  .access-section { padding: 60px 20px 80px; }
  .access-cards { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto 24px; }
  .access-card.featured { transform: none; }

  /* Footer */
  .footer { padding: 32px 20px; }
  .footer-inner { flex-direction: column; text-align: center; gap: 16px; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
  .footer-links a {
    display: inline-flex;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero {
    padding-left: 16px;
    padding-right: 16px;
  }
  .hero-content {
    width: 100%;
    max-width: 100%;
  }
  .hero-visual {
    width: 100%;
    max-width: calc(100vw - 32px);
  }
  .preview-body {
    padding: 14px;
    gap: 14px;
  }
  .nav-inner { height: 56px; border-radius: 22px; }
  .btn-primary { padding: 10px 20px; font-size: 13px; }
  .access-price { font-size: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-visual,
  .hero-glow {
    transition: none;
  }

  .dashboard-preview,
  .preview-stage,
  .ideas-marquee-track,
  .preview-chart-path,
  .hero-glow-bottom {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    stroke-dashoffset: 0 !important;
  }


  .ideas-marquee-track {
    width: auto;
    flex-wrap: wrap;
  }
}

/* ============================================================
   Daily Brief subscribe section
   Mirrors the existing .workflow / .access-section visual rhythm.
   ============================================================ */
.brief-subscribe {
  padding: 120px 22px 136px;
  text-align: center;
  border-top: 1px solid rgba(230,231,163,0.16);
  background:
    radial-gradient(circle at 50% 0%, rgba(230,231,163,0.22), transparent 34%),
    radial-gradient(circle at 86% 82%, rgba(255,255,255,0.04), transparent 30%),
    linear-gradient(180deg, #15150C 0%, #101114 48%, #07080A 100%);
}
.brief-subscribe-shell {
  max-width: 760px;
  margin: 0 auto;
  padding: 0;
}
.brief-subscribe .section-title,
.brief-subscribe .section-subtitle,
.brief-subscribe .section-label {
  text-align: center;
}
.brief-subscribe-form {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}
.brief-subscribe-form input[type="email"] {
  flex: 1 1 220px;
  min-width: 0;
  padding: 12px 16px;
  border-radius: 9999px;
  border: 1px solid rgba(230,231,163,0.20);
  background: rgba(4,5,7,0.56);
  color: var(--text-1);
  font: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s, background-color 0.15s;
}
.brief-subscribe-form input[type="email"]:focus {
  border-color: rgba(230, 231, 163, 0.55);
  background: rgba(4,5,7,0.70);
}
.brief-subscribe-form input[type="email"]::placeholder {
  color: var(--text-3);
}
.brief-subscribe-form .btn-primary {
  flex: 0 0 auto;
}
.brief-subscribe-status {
  font-size: 13px;
  color: var(--text-3);
  margin: 14px 0 6px;
  min-height: 18px;
}
.brief-subscribe-status[data-tone="good"] { color: var(--green); }
.brief-subscribe-status[data-tone="warn"] { color: var(--amber); }
.brief-subscribe-fine {
  font-size: 12px;
  color: var(--text-3);
  margin-top: 4px;
}

@media (max-width: 600px) {
  .brief-subscribe { padding: 64px 16px 72px; }
  .brief-subscribe-form { flex-direction: column; }
  .brief-subscribe-form .btn-primary { width: 100%; justify-content: center; }
}

/* === Color Utilities === */
.u-text-accent  { color: var(--accent); }
