/* ── SHARED DESIGN SYSTEM ──────────────────────────────── */
:root {
  --bg:      #07090f;
  --bg2:     #0c1020;
  --bg3:     #111828;
  --border:  #1a2540;
  --accent:  #38bdf8;
  --accent2: #818cf8;
  --green:   #34d399;
  --gold:    #f59e0b;
  --red:     #f87171;
  --text:    #e8edf5;
  --muted:   #5a6a85;
  --muted2:  #8899b0;
  --card:    #0d1525;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(7, 9, 15, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0 max(2rem, calc((100vw - 1060px) / 2));
  display: flex; align-items: center; justify-content: space-between;
  height: 62px;
}
.nav-logo { font-weight: 700; font-size: 1.05rem; letter-spacing: -0.02em; text-decoration: none; color: var(--text); }
.nav-logo span { color: var(--accent); }
nav ul { list-style: none; display: flex; gap: 2rem; }
nav a { color: var(--muted2); text-decoration: none; font-size: 0.875rem; transition: color 0.2s; }
nav a:hover, nav a.active { color: var(--text); }
.nav-cta {
  background: var(--accent); color: #000 !important;
  padding: 0.45rem 1.1rem; border-radius: 6px;
  font-weight: 600; font-size: 0.82rem !important;
  transition: opacity 0.2s !important;
}
.nav-cta:hover { opacity: 0.85; }

/* ── LAYOUT ── */
.wrap { max-width: 1060px; margin: 0 auto; padding: 0 2rem; }
section { padding: 5.5rem 0; }

/* ── SECTION HEADERS ── */
.section-kicker {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 0.75rem;
}
h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.15;
  margin-bottom: 1rem;
}
.section-lead {
  font-size: 1.05rem; color: var(--muted2); max-width: 620px;
  margin-bottom: 3rem; line-height: 1.7;
}

/* ── CARDS ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.card-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(440px, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.8rem;
  position: relative;
  transition: border-color 0.2s, transform 0.2s;
}
.card:hover { border-color: #2a3a5c; transform: translateY(-2px); }
.card-icon { font-size: 1.5rem; margin-bottom: 1rem; }
.card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.6rem; letter-spacing: -0.01em; }
.card p { font-size: 0.9rem; color: var(--muted2); line-height: 1.65; }
.card-tag {
  display: inline-block;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; padding: 0.25rem 0.65rem;
  border-radius: 4px; margin-bottom: 0.9rem;
}
.tag-green { background: rgba(52,211,153,0.12); color: var(--green); }
.tag-blue  { background: rgba(56,189,248,0.12); color: var(--accent); }
.tag-purple{ background: rgba(129,140,248,0.12); color: var(--accent2); }
.tag-gold  { background: rgba(245,158,11,0.12); color: var(--gold); }

/* Outcome callout inside card */
.outcome-line {
  margin-top: 1.1rem; padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem; color: var(--green);
  font-weight: 600; letter-spacing: 0.02em;
}
.outcome-line::before { content: "↑ "; }

/* ── METRIC STRIP ── */
.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0; margin-top: 3.5rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
.metric-item {
  padding: 1.6rem 1.5rem;
  border-right: 1px solid var(--border);
  text-align: center;
}
.metric-item:last-child { border-right: none; }
.metric-num {
  font-size: 2rem; font-weight: 800; letter-spacing: -0.04em;
  color: var(--accent); line-height: 1;
}
.metric-label {
  font-size: 0.78rem; color: var(--muted2);
  margin-top: 0.4rem; line-height: 1.4;
}

/* ── TIMELINE ── */
.timeline {
  position: relative;
  display: flex; flex-direction: column;
  padding-left: 1.5rem;
  border-left: 2px solid var(--border);
}
.timeline-item { position: relative; padding-bottom: 2.5rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-marker {
  position: absolute; left: -1.6rem; top: 0.3rem;
  width: 10px; height: 10px; border-radius: 50%;
  border: 2px solid var(--muted);
  background: var(--bg);
}
.timeline-item.current .timeline-marker {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(56,189,248,0.15);
}
.timeline-co { font-size: 0.95rem; font-weight: 700; color: var(--text); }
.timeline-item.current .timeline-co { color: var(--accent); }
.timeline-role { font-size: 0.82rem; color: var(--muted2); margin: 0.2rem 0 0.6rem; }
.timeline-desc { font-size: 0.88rem; color: var(--muted2); line-height: 1.65; }

/* ── STAT CALLOUT ── */
.stat-callout {
  background: linear-gradient(135deg, rgba(56,189,248,0.06), rgba(129,140,248,0.06));
  border: 1px solid rgba(56,189,248,0.2);
  border-radius: 14px;
  padding: 2.5rem;
  text-align: center;
}
.stat-callout .big-num {
  font-size: 3.5rem; font-weight: 900; letter-spacing: -0.05em;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; line-height: 1;
}
.stat-callout p { color: var(--muted2); font-size: 0.95rem; margin-top: 0.5rem; }

/* ── TWO-COL LAYOUT ── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.three-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

/* ── PILL TAGS ── */
.pill-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.pill {
  font-size: 0.78rem; padding: 0.3rem 0.8rem; border-radius: 20px;
  background: var(--bg3); border: 1px solid var(--border); color: var(--muted2);
}

/* ── QUOTE BLOCK ── */
.quote-block {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 0 12px 12px 0;
  padding: 1.5rem 1.8rem;
}
.quote-block blockquote { font-size: 0.95rem; color: var(--text); font-style: italic; line-height: 1.7; }
.quote-attr { font-size: 0.78rem; color: var(--muted2); margin-top: 0.75rem; }

/* ── PAGE HERO ── */
.page-hero {
  padding: 8rem 0 4rem;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900; letter-spacing: -0.04em; line-height: 1.1;
  margin-bottom: 1.2rem;
}
.page-hero p {
  font-size: 1.1rem; color: var(--muted2);
  max-width: 580px; line-height: 1.75;
}

/* ── SECTION DIVIDER ── */
.divider { border: none; border-top: 1px solid var(--border); margin: 0; }

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
  text-align: center;
}
footer p { font-size: 0.82rem; color: var(--muted); }
footer a { color: var(--muted2); text-decoration: none; }
footer a:hover { color: var(--accent); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.9rem; font-weight: 600; padding: 0.75rem 1.6rem;
  border-radius: 8px; text-decoration: none; transition: all 0.2s; cursor: pointer;
}
.btn-primary { background: var(--accent); color: #000; }
.btn-primary:hover { opacity: 0.85; transform: translateY(-1px); }
.btn-ghost { border: 1px solid var(--border); color: var(--muted2); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-row { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }

/* ── MOBILE ── */
@media (max-width: 720px) {
  nav ul { gap: 1rem; }
  nav ul li:not(:last-child) { display: none; }
  .metric-strip { grid-template-columns: repeat(2, 1fr); }
  .metric-item:nth-child(2) { border-right: none; }
  .two-col { grid-template-columns: 1fr; gap: 2.5rem; }
  .three-col { grid-template-columns: 1fr; }
  .card-grid-2 { grid-template-columns: 1fr; }
}
