/* High Delta — shared draft styles
   Used by: landing-draft.html, app-draft.html, research-draft.html, about-draft.html
   Promote by renaming to highdelta.css and updating page links. */

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

:root {
  --bg:        #0b0b0b;
  --bg-2:      #111111;
  --bg-3:      #161616;
  --surface:   #1c1c1c;
  --border:    #2a2a2a;
  --border-hi: #3a3a3a;
  --text-hi:   #f4f4f4;
  --text:      #d0d0d0;
  --text-muted:#787878;
  --accent:    #00c896;
  --accent-dim:#00a87e;
  --accent-glow: rgba(0,200,150,0.15);
  --red:       #ff5f5f;
  --gold:      #d4a843;
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-mono: 'Fira Code', 'Consolas', monospace;
  --max-w:     1120px;
  --radius:    6px;
}

/* scroll-behavior managed by Lenis */
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
code { font-family: var(--font-mono); }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }

/* ── Eyebrows / headlines ─────────────────────────────── */
.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-headline {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-hi);
  letter-spacing: -0.025em;
  line-height: 1.2;
}
.section-sub {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 560px;
  margin-top: 12px;
}

/* ── Nav ──────────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11,11,11,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo svg { height: 24px; width: auto; }
.nav-logo-text {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-hi);
  letter-spacing: 2px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  font-size: 13.5px;
  color: var(--text-muted);
  transition: color 0.15s;
  font-weight: 500;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--text-hi); }
.nav-cta {
  background: var(--accent);
  color: #000 !important;
  padding: 7px 18px;
  border-radius: var(--radius);
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em;
  transition: background 0.15s !important;
}
.nav-cta:hover { background: var(--accent-dim) !important; }

/* ── Buttons ──────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #000;
  font-size: 14px;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: var(--radius);
  transition: background 0.15s, transform 0.1s;
  letter-spacing: 0.01em;
}
.btn-primary:hover { background: var(--accent-dim); transform: translateY(-1px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  padding: 13px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border-hi);
  transition: color 0.15s, border-color 0.15s;
}
.btn-ghost:hover { color: var(--text); border-color: var(--text-muted); }

/* ── Sections ─────────────────────────────────────────── */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-2); }
.section-sm { padding: 64px 0; }

/* ── Hero ─────────────────────────────────────────────── */
.hero {
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -300px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(0,200,150,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 8px;
  background: var(--bg-3);
  border: 1px solid var(--border-hi);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-muted);
  margin-bottom: 32px;
}
.hero-badge-dot {
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 var(--accent-glow); }
  50% { opacity: 0.7; box-shadow: 0 0 0 6px transparent; }
}
.hero-headline {
  font-size: clamp(40px, 5vw, 62px);
  font-weight: 700;
  color: var(--text-hi);
  letter-spacing: -0.03em;
  line-height: 1.08;
  max-width: 820px;
  margin-bottom: 24px;
}
.hero-headline em { font-style: normal; color: var(--accent); }
.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.65;
  margin-bottom: 40px;
  font-weight: 400;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

/* ── Footer ───────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  background: var(--bg-2);
  padding: 56px 0 40px;
}
.footer-top {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 80px;
  margin-bottom: 48px;
}
.footer-brand p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-top: 14px;
  max-width: 260px;
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer-col-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 10px;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-legal {
  font-size: 12px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}
.footer-legal a { color: var(--text-muted); transition: color 0.15s; }
.footer-legal a:hover { color: var(--text); }

@media (max-width: 800px) {
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
}

/* ── Generic card ─────────────────────────────────────── */
.hd-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 32px;
  transition: border-color 0.2s;
}
.hd-card:hover { border-color: var(--border-hi); }

/* ── Pill stats row ───────────────────────────────────── */
.stat-row {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.stat-item {
  display: flex;
  flex-direction: column;
}
.stat-val {
  font-size: 26px;
  font-weight: 700;
  color: var(--text-hi);
  letter-spacing: -0.03em;
  font-family: var(--font-mono);
  line-height: 1;
}
.stat-val.up { color: var(--accent); }
.stat-val.down { color: var(--red); }
.stat-label {
  font-size: 11.5px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 4px;
}
.stat-divider { width: 1px; height: 36px; background: var(--border); }
