/* ============================================================
   Full Moon Research — Design System
   Midnight navy + moonlit gold, electric green / signal red
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@500;600;700;800&family=Manrope:wght@400;500;600;700&family=JetBrains+Mono:wght@500;600;700&display=swap');

:root {
  /* ---- surfaces (cool midnight navy) ---- */
  --bg:        oklch(0.16 0.028 258);
  --bg-grad:   oklch(0.13 0.025 262);
  --bg-2:      oklch(0.20 0.030 258);
  --surface:   oklch(0.23 0.032 259);
  --surface-2: oklch(0.27 0.034 260);
  --surface-3: oklch(0.31 0.034 260);
  --border:    oklch(0.40 0.030 260 / 0.45);
  --border-strong: oklch(0.52 0.040 260 / 0.6);

  /* ---- text ---- */
  --text:       oklch(0.97 0.008 250);
  --text-dim:   oklch(0.78 0.018 256);
  --text-faint: oklch(0.62 0.020 258);

  /* ---- accents ---- */
  --green:     oklch(0.84 0.19 152);
  --green-dim: oklch(0.72 0.16 152);
  --green-soft:oklch(0.84 0.19 152 / 0.12);
  --red:       oklch(0.68 0.205 22);
  --red-soft:  oklch(0.68 0.205 22 / 0.13);
  --gold:      oklch(0.84 0.125 86);
  --gold-dim:  oklch(0.74 0.115 84);
  --gold-soft: oklch(0.84 0.125 86 / 0.12);
  --blue:      oklch(0.74 0.12 248);

  /* ---- type ---- */
  --font-display: 'Sora', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* ---- spacing / radius ---- */
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 22px;
  --pill: 999px;
  --maxw: 1200px;

  --shadow: 0 24px 60px -24px oklch(0.05 0.02 260 / 0.8);
  --shadow-card: 0 14px 40px -22px oklch(0.04 0.02 260 / 0.85);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  background-image:
    radial-gradient(1100px 620px at 82% -8%, oklch(0.84 0.125 86 / 0.10), transparent 60%),
    radial-gradient(900px 600px at 10% 4%, oklch(0.74 0.12 248 / 0.08), transparent 58%),
    linear-gradient(180deg, var(--bg-grad), var(--bg) 22%);
  background-attachment: fixed, fixed, fixed;
}

img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

/* ---------- layout primitives ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
section { position: relative; }
.section-pad { padding: 68px 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold);
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: var(--pill);
  background: var(--gold-soft);
}
.eyebrow.green { color: var(--green); background: var(--green-soft); }
.eyebrow.blue  { color: var(--blue);  background: oklch(0.74 0.12 248 / 0.12); }

.section-head { max-width: 680px; margin-bottom: 42px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(30px, 4.2vw, 46px); line-height: 1.08; letter-spacing: -0.02em;
  margin: 20px 0 16px;
  text-wrap: balance;
}
.section-head p { color: var(--text-dim); font-size: 18px; text-wrap: pretty; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-body); font-weight: 600; font-size: 15px;
  padding: 13px 22px; border-radius: var(--pill);
  transition: transform .18s ease, box-shadow .25s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(180deg, var(--green), var(--green-dim));
  color: oklch(0.18 0.04 160);
  box-shadow: 0 10px 30px -10px var(--green-dim), inset 0 1px 0 oklch(1 0 0 / 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px var(--green-dim); }
.btn-ghost {
  background: oklch(1 0 0 / 0.04); color: var(--text);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: oklch(1 0 0 / 0.09); transform: translateY(-2px); }
.btn-gold {
  background: linear-gradient(180deg, var(--gold), var(--gold-dim));
  color: oklch(0.2 0.05 80);
  box-shadow: 0 10px 30px -10px var(--gold-dim), inset 0 1px 0 oklch(1 0 0 / 0.35);
}
.btn-gold:hover { transform: translateY(-2px); }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-sm { padding: 9px 16px; font-size: 13px; }

/* ---------- tags / badges ---------- */
.tag {
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.06em; padding: 4px 9px; border-radius: 7px;
  border: 1px solid var(--border);
  color: var(--text-dim);
}
.badge-buy, .badge-sell {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-weight: 700; font-size: 12px; letter-spacing: 0.08em;
  padding: 5px 11px; border-radius: 8px;
}
.badge-buy { color: var(--green); background: var(--green-soft); border: 1px solid oklch(0.84 0.19 152 / 0.3); }
.badge-sell { color: var(--red); background: var(--red-soft); border: 1px solid oklch(0.68 0.205 22 / 0.3); }

.up { color: var(--green); }
.down { color: var(--red); }
.mono { font-family: var(--font-mono); font-feature-settings: "tnum"; }

/* live pulse dot */
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex-shrink: 0; }
.pulse::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid var(--green); animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.9); opacity: 0; } }

/* generic card */
.card {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: var(--shadow-card);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 100;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: oklch(0.15 0.025 260 / 0.82);
  backdrop-filter: blur(16px) saturate(1.3);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand-mark { width: 38px; height: 38px; position: relative; flex: none; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: -0.01em; line-height: 1.1; white-space: nowrap; }
.brand-name small { display: block; font-family: var(--font-mono); font-weight: 500; font-size: 9.5px; letter-spacing: 0.13em; color: var(--gold); text-transform: uppercase; white-space: nowrap; margin-top: 2px; }

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  font-size: 15px; font-weight: 500; color: var(--text-dim); white-space: nowrap;
  padding: 9px 16px; border-radius: var(--pill); transition: color .18s, background .18s;
}
.nav-links a:hover { color: var(--text); background: oklch(1 0 0 / 0.05); }
.nav-cta { display: flex; align-items: center; gap: 14px; flex: none; }

.hamburger { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--border); align-items: center; justify-content: center; }
.hamburger span { display: block; width: 18px; height: 2px; background: var(--text); position: relative; }
.hamburger span::before, .hamburger span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--text); transition: transform .22s ease, top .22s ease; }
.hamburger span::before { top: -6px; }
.hamburger span::after { top: 6px; }

.hamburger.open span { background: transparent; }
.hamburger.open span::before { top: 0; transform: rotate(45deg); }
.hamburger.open span::after { top: 0; transform: rotate(-45deg); }

.mobile-menu { display: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding: 64px 0 84px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.hero h1 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(38px, 5.4vw, 64px); line-height: 1.04; letter-spacing: -0.03em;
  margin: 22px 0 20px; text-wrap: balance;
}
.hero h1 .moon-word { color: var(--gold); }
.hero-sub { font-size: 19px; color: var(--text-dim); max-width: 520px; text-wrap: pretty; }
.hero-sub b { color: var(--text); font-weight: 600; }
.hero-ctas { display: flex; gap: 14px; margin: 34px 0 30px; flex-wrap: wrap; }

.trust-strip {
  display: flex; align-items: center; gap: 8px 26px; flex-wrap: wrap;
  padding-top: 28px; border-top: 1px solid var(--border);
}
.trust-item { display: flex; flex-direction: column; }
.trust-num { font-family: var(--font-display); font-weight: 700; font-size: 26px; letter-spacing: -0.01em; }
.trust-num.g { color: var(--green); }
.trust-num.gold { color: var(--gold); }
.trust-label { font-size: 12.5px; color: var(--text-faint); font-weight: 500; }
.trust-sep { width: 1px; height: 34px; background: var(--border); }

/* moon glow behind hero visual */
.hero-visual { position: relative; }
.moon-glow {
  position: absolute; width: 320px; height: 320px; border-radius: 50%;
  top: -70px; right: -40px; z-index: 0;
  background: radial-gradient(circle at 38% 36%, oklch(0.95 0.05 88), oklch(0.86 0.12 86) 38%, oklch(0.7 0.13 84 / 0.5) 60%, transparent 72%);
  filter: blur(2px);
  box-shadow: 0 0 120px 30px oklch(0.84 0.125 86 / 0.28);
  pointer-events: none;
}
.moon-glow::after {
  content: ""; position: absolute; width: 70px; height: 70px; border-radius: 50%;
  top: 40px; right: 54px;
  background: radial-gradient(circle at 40% 40%, oklch(0.78 0.11 86 / 0.5), transparent 70%);
  box-shadow: inset -6px -8px 16px oklch(0.6 0.1 84 / 0.4);
}

/* dashboard panel */
.dash {
  position: relative; z-index: 2;
  background: linear-gradient(180deg, oklch(0.24 0.034 260 / 0.92), oklch(0.19 0.03 260 / 0.95));
  border: 1px solid var(--border-strong);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  padding: 20px;
}
.dash-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.dash-sym { display: flex; align-items: center; gap: 12px; }
.dash-sym .t { font-family: var(--font-display); font-weight: 700; font-size: 17px; }
.dash-price { text-align: right; }
.dash-price .p { font-family: var(--font-mono); font-weight: 700; font-size: 18px; }
.dash-price .c { font-family: var(--font-mono); font-size: 12.5px; }
.chart-area { position: relative; height: 188px; margin: 4px -4px 8px; }
.dash-foot { display: flex; gap: 10px; }
.dash-stat { flex: 1; background: oklch(1 0 0 / 0.035); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 9px 11px; }
.dash-stat .k { font-size: 10.5px; color: var(--text-faint); font-family: var(--font-mono); letter-spacing: 0.05em; }
.dash-stat .v { font-family: var(--font-mono); font-weight: 600; font-size: 14px; margin-top: 2px; }

/* floating signal chip on hero */
.float-signal {
  position: absolute; z-index: 4; left: -28px; bottom: 96px;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border-strong);
  border-radius: 14px; padding: 13px 15px; width: 224px;
  box-shadow: var(--shadow);
  animation: floaty 5s ease-in-out infinite;
}
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.float-signal .fs-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.float-signal .fs-sym { font-family: var(--font-display); font-weight: 700; font-size: 15px; }
.float-signal .fs-row { display: flex; justify-content: space-between; font-size: 12px; }
.float-signal .fs-row + .fs-row { margin-top: 4px; }
.float-signal .fs-row .k { color: var(--text-faint); }
.float-signal .fs-row .v { font-family: var(--font-mono); font-weight: 600; }

/* ============================================================
   INTRADAY SIGNALS
   ============================================================ */
.signal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.signal-card {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 18px; position: relative; overflow: hidden;
  transition: transform .2s ease, border-color .2s ease, box-shadow .25s ease;
}
.signal-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--green); opacity: .85;
}
.signal-card.is-sell::before { background: var(--red); }
.signal-card:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: var(--shadow-card); }
.sc-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 14px; }
.sc-sym { display: flex; align-items: center; gap: 10px; }
.sc-logo { width: 34px; height: 34px; border-radius: 9px; background: var(--surface-3); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--gold); flex: none; }
.sc-name .t { font-family: var(--font-display); font-weight: 700; font-size: 15px; }
.sc-name .e { font-size: 11px; color: var(--text-faint); font-family: var(--font-mono); letter-spacing: 0.05em; }
.sc-rows { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 12px; margin: 4px 0 14px; }
.sc-cell .k { font-size: 10.5px; color: var(--text-faint); font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.06em; }
.sc-cell .v { font-family: var(--font-mono); font-weight: 600; font-size: 15px; margin-top: 2px; }
.sc-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--border); }
.sc-time { font-size: 11px; color: var(--text-faint); font-family: var(--font-mono); display: flex; align-items: center; gap: 7px; }
.sc-spark { width: 64px; height: 26px; }

/* ============================================================
   NEWS SENTIMENT
   ============================================================ */
.split { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 56px; align-items: center; }
.tagline { font-family: var(--font-display); font-weight: 700; font-size: clamp(24px,3vw,32px); line-height: 1.15; letter-spacing: -0.02em; margin: 18px 0; }
.tagline .hl { color: var(--green); }
.feature-list { display: flex; flex-direction: column; gap: 14px; margin-top: 24px; }
.feature-list li { display: flex; gap: 13px; align-items: flex-start; color: var(--text-dim); font-size: 15.5px; }
.check { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--green-soft); display: grid; place-items: center; margin-top: 1px; }
.check svg { width: 12px; height: 12px; }

.news-panel { padding: 8px; }
.news-score { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-bottom: 1px solid var(--border); }
.news-score .lbl { font-size: 12px; color: var(--text-faint); font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.08em; white-space: nowrap; }
.score-bar { flex: 1; height: 9px; border-radius: var(--pill); background: var(--surface-3); overflow: hidden; position: relative; }
.score-fill { height: 100%; border-radius: var(--pill); background: linear-gradient(90deg, var(--red), var(--gold) 52%, var(--green)); width: 0; transition: width 1.4s cubic-bezier(.2,.8,.2,1); }
.score-val { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--green); }
.news-feed { display: flex; flex-direction: column; }
.news-row { display: flex; align-items: center; gap: 14px; padding: 15px 18px; border-bottom: 1px solid var(--border); transition: background .18s; }
.news-row:last-child { border-bottom: none; }
.news-row:hover { background: oklch(1 0 0 / 0.025); }
.sent-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.sent-pos { background: var(--green); box-shadow: 0 0 10px var(--green); }
.sent-neg { background: var(--red); box-shadow: 0 0 10px var(--red); }
.sent-neu { background: var(--text-faint); }
.news-row .headline { flex: 1; font-size: 14.5px; font-weight: 500; min-width: 0; }
.news-row .meta { font-size: 11px; color: var(--text-faint); font-family: var(--font-mono); white-space: nowrap; }
.sent-badge { font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; padding: 3px 8px; border-radius: 6px; white-space: nowrap; }
.sb-pos { color: var(--green); background: var(--green-soft); }
.sb-neg { color: var(--red); background: var(--red-soft); }
.sb-neu { color: var(--text-dim); background: oklch(1 0 0 / 0.05); }

/* ============================================================
   OPTIONS ANALYSIS
   ============================================================ */
.opt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 8px; }
.opt-card { padding: 22px; }
.opt-card h4 { font-family: var(--font-display); font-weight: 600; font-size: 16px; margin-bottom: 4px; }
.opt-card .sub { font-size: 12.5px; color: var(--text-faint); margin-bottom: 20px; }
/* OI bars */
.oi-row { display: grid; grid-template-columns: 52px 1fr; align-items: center; gap: 10px; margin-bottom: 11px; }
.oi-strike { font-family: var(--font-mono); font-size: 12px; color: var(--text-dim); text-align: right; }
.oi-bars { display: flex; align-items: center; gap: 0; height: 18px; }
.oi-call, .oi-put { height: 100%; border-radius: 4px; }
.oi-call { background: linear-gradient(90deg, transparent, oklch(0.68 0.205 22 / 0.85)); margin-right: 2px; }
.oi-put { background: linear-gradient(90deg, oklch(0.84 0.19 152 / 0.85), transparent); margin-left: 2px; }
.oi-legend { display: flex; gap: 18px; margin-top: 16px; font-size: 11.5px; font-family: var(--font-mono); color: var(--text-dim); }
.oi-legend span { display: flex; align-items: center; gap: 6px; }
.oi-legend i { width: 10px; height: 10px; border-radius: 3px; }
/* PCR gauge */
.gauge { display: flex; flex-direction: column; align-items: center; }
.gauge svg { width: 200px; height: 118px; }
.gauge-val { font-family: var(--font-display); font-weight: 700; font-size: 34px; margin-top: -6px; }
.gauge-tag { font-family: var(--font-mono); font-size: 12px; padding: 4px 12px; border-radius: var(--pill); margin-top: 6px; }
/* FII DII */
.flow-row { margin-bottom: 16px; }
.flow-top { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 7px; }
.flow-top .who { font-weight: 600; }
.flow-top .amt { font-family: var(--font-mono); font-weight: 600; }
.flow-track { height: 10px; border-radius: var(--pill); background: var(--surface-3); overflow: hidden; }
.flow-fill { height: 100%; border-radius: var(--pill); width: 0; transition: width 1.2s cubic-bezier(.2,.8,.2,1); }

/* ============================================================
   MARKET OVERVIEW (tabs)
   ============================================================ */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.tab {
  font-size: 14px; font-weight: 600; color: var(--text-dim);
  padding: 10px 18px; border-radius: var(--pill);
  border: 1px solid var(--border); background: oklch(1 0 0 / 0.02);
  transition: all .18s ease;
}
.tab:hover { color: var(--text); border-color: var(--border-strong); }
.tab.active { color: var(--bg); background: var(--text); border-color: var(--text); }
.market-table { background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; }
.mt-head, .mt-row { display: grid; grid-template-columns: 38px 1.6fr 1fr 1fr 1.2fr; align-items: center; gap: 14px; padding: 14px 22px; }
.mt-head { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-faint); border-bottom: 1px solid var(--border); }
.mt-row { border-bottom: 1px solid var(--border); transition: background .15s; }
.mt-row:last-child { border-bottom: none; }
.mt-row:hover { background: oklch(1 0 0 / 0.03); }
.mt-rank { font-family: var(--font-mono); color: var(--text-faint); font-size: 13px; }
.mt-name .t { font-family: var(--font-display); font-weight: 700; font-size: 14.5px; }
.mt-name .e { font-size: 11px; color: var(--text-faint); font-family: var(--font-mono); }
.mt-price { font-family: var(--font-mono); font-weight: 600; font-size: 14.5px; }
.mt-chg { font-family: var(--font-mono); font-weight: 700; font-size: 14px; }
.mt-vol { display: flex; align-items: center; gap: 10px; }
.mt-vol .vbar { flex: 1; height: 6px; border-radius: var(--pill); background: var(--surface-3); overflow: hidden; }
.mt-vol .vbar i { display: block; height: 100%; border-radius: var(--pill); background: var(--blue); }
.mt-vol .vtxt { font-family: var(--font-mono); font-size: 12px; color: var(--text-dim); width: 48px; text-align: right; }

/* ============================================================
   WHY (feature cards)
   ============================================================ */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.why-card { padding: 26px 24px; transition: transform .2s, border-color .2s; }
.why-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.why-icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px; border: 1px solid var(--border); }
.why-icon svg { width: 24px; height: 24px; }
.why-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 18px; margin-bottom: 9px; letter-spacing: -0.01em; }
.why-card p { font-size: 14.5px; color: var(--text-dim); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.tst-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tst-card { padding: 28px 26px; display: flex; flex-direction: column; gap: 18px; }
.stars { display: flex; gap: 3px; }
.stars svg { width: 16px; height: 16px; }
.tst-quote { font-size: 15.5px; line-height: 1.6; color: var(--text); flex: 1; text-wrap: pretty; }
.tst-who { display: flex; align-items: center; gap: 12px; }
.tst-av { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--bg); flex-shrink: 0; }
.tst-who .n { font-weight: 700; font-size: 14.5px; }
.tst-who .r { font-size: 12px; color: var(--text-faint); font-family: var(--font-mono); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--border); padding: 64px 0 36px; margin-top: 8px; background: oklch(0.13 0.024 261 / 0.6); }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.foot-brand p { color: var(--text-dim); font-size: 14px; margin: 16px 0 20px; max-width: 280px; }
.socials { display: flex; gap: 10px; }
.social { width: 38px; height: 38px; border-radius: 11px; border: 1px solid var(--border); display: grid; place-items: center; color: var(--text-dim); transition: all .18s; }
.social:hover { color: var(--text); border-color: var(--border-strong); background: oklch(1 0 0 / 0.05); }
.social svg { width: 17px; height: 17px; }
.foot-col h5 { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-faint); margin-bottom: 16px; }
.foot-col a { display: block; font-size: 14px; color: var(--text-dim); padding: 6px 0; transition: color .15s; }
.foot-col a:hover { color: var(--text); }
.disclaimer { padding: 22px 24px; background: oklch(1 0 0 / 0.025); border: 1px solid var(--border); border-radius: var(--r); font-size: 12.5px; color: var(--text-faint); line-height: 1.6; margin-bottom: 28px; }
.disclaimer b { color: var(--text-dim); }
.foot-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 24px; border-top: 1px solid var(--border); font-size: 13px; color: var(--text-faint); flex-wrap: wrap; gap: 12px; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   LEAD CAPTURE MODAL
   ============================================================ */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 200;
  background: oklch(0.08 0.02 260 / 0.85);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; visibility: hidden;
  transition: opacity .25s ease, visibility .25s;
}
.modal-backdrop.open { opacity: 1; visibility: visible; }

.modal {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border-strong);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  padding: 32px;
  width: 100%; max-width: 460px;
  position: relative;
  transform: translateY(18px) scale(0.97);
  transition: transform .28s cubic-bezier(.2,.8,.2,1);
  max-height: 90vh; overflow-y: auto;
}
.modal-backdrop.open .modal { transform: none; }

.modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 30px; height: 30px; border-radius: 50%;
  background: oklch(1 0 0 / 0.06); border: 1px solid var(--border);
  color: var(--text-dim); font-size: 18px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: all .15s;
}
.modal-close:hover { background: oklch(1 0 0 / 0.12); color: var(--text); }

.modal-header { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.modal-moon { width: 38px; height: 38px; flex-shrink: 0; }
.modal-header h3 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 20px; letter-spacing: -0.01em; line-height: 1.15;
}
.modal-header p { font-size: 13px; color: var(--text-faint); margin-top: 2px; }

/* form fields */
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; font-size: 12px; font-weight: 600; margin-bottom: 7px;
  color: var(--text-dim); font-family: var(--font-mono);
  letter-spacing: 0.06em; text-transform: uppercase;
}
.form-group input,
.form-group select {
  width: 100%;
  background: oklch(1 0 0 / 0.04);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-sm);
  padding: 12px 15px;
  color: var(--text);
  font-family: var(--font-body); font-size: 15px;
  outline: none;
  transition: border-color .18s, box-shadow .18s;
  -webkit-appearance: none;
}
.form-group input::placeholder { color: var(--text-faint); }
.form-group input:focus,
.form-group select:focus {
  border-color: oklch(0.84 0.19 152 / 0.7);
  box-shadow: 0 0 0 3px oklch(0.84 0.19 152 / 0.12);
}
.form-group input.err,
.form-group select.err { border-color: var(--red); box-shadow: 0 0 0 3px oklch(0.68 0.205 22 / 0.1); }
.form-group select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23858d9c' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.form-group select option { background: oklch(0.20 0.030 258); color: var(--text); }

.input-prefix-wrap { display: flex; align-items: stretch; }
.input-prefix {
  padding: 0 13px;
  background: var(--surface-3); border: 1px solid var(--border-strong);
  border-right: none; border-radius: var(--r-sm) 0 0 var(--r-sm);
  font-family: var(--font-mono); font-size: 14px; color: var(--text-dim);
  display: flex; align-items: center; white-space: nowrap;
}
.input-prefix-wrap input { border-radius: 0 var(--r-sm) var(--r-sm) 0; }

.form-error {
  display: block; font-size: 12px; color: var(--red);
  font-family: var(--font-mono); margin-top: 5px; min-height: 16px;
}
.form-server-error {
  margin-top: 12px; padding: 10px 14px;
  background: var(--red-soft);
  border: 1px solid oklch(0.68 0.205 22 / 0.3);
  border-radius: var(--r-sm); font-size: 13px;
  color: var(--red); text-align: center;
}
.modal-submit {
  width: 100%; margin-top: 8px;
  font-size: 15px; justify-content: center;
}
.modal-submit:disabled { opacity: .6; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

/* success */
.modal-success { text-align: center; padding: 12px 0; }
.success-icon {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--green-soft);
  border: 1px solid oklch(0.84 0.19 152 / 0.3);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.success-icon svg { width: 26px; height: 26px; stroke: var(--green); }
.modal-success h3 {
  font-family: var(--font-display); font-size: 22px;
  font-weight: 700; margin-bottom: 10px; letter-spacing: -0.01em;
}
.modal-success p { color: var(--text-dim); font-size: 15px; margin-bottom: 24px; }

@media (max-width: 520px) {
  .modal { padding: 24px 18px; }
  .modal-header h3 { font-size: 18px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-signal { animation: none; }
  .modal, .modal-backdrop { transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .signal-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .opt-grid { grid-template-columns: 1fr; }
  .tst-grid { grid-template-columns: 1fr; }
}
@media (max-width: 920px) {
  .nav-links { display: none; }
  .nav-cta > .btn { display: none; }
  .nav-cta { gap: 0; }
  .nav-inner { gap: 14px; }
  .hamburger { display: flex; }
  .hero-grid { grid-template-columns: 1fr; gap: 60px; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .float-signal { left: auto; right: 16px; }

  .mobile-menu.open {
    display: block; position: fixed; inset: 74px 0 0; z-index: 99;
    background: oklch(0.14 0.024 261 / 0.98); backdrop-filter: blur(12px);
    padding: 24px 28px; overflow-y: auto;
  }
  .mobile-menu.open a { display: block; font-size: 18px; font-weight: 600; padding: 16px 0; border-bottom: 1px solid var(--border); }
  .mobile-menu.open .btn { width: 100%; margin-top: 22px; }
}
@media (max-width: 620px) {
  .section-pad { padding: 52px 0; }
  .signal-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .tst-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .wrap { padding: 0 20px; }
  .mt-head, .mt-row { grid-template-columns: 28px 1.4fr 1fr 0.9fr; }
  .mt-vol { display: none; }
  .mt-head span:last-child { display: none; }
  .trust-sep { display: none; }
  .hero h1 { font-size: 38px; }
  .float-signal { display: none; }
  .brand-name { font-size: 17px; }
  .brand-name small { display: none; }
  .moon-glow { width: 240px; height: 240px; right: -10px; top: -40px; }
  .eyebrow { font-size: 11px; }
  .dash { padding: 16px; }
  .dash-foot { gap: 7px; }
  .dash-stat { padding: 8px 9px; }
  .trust-num { font-size: 23px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; }
}
