:root {
  --bg: #0f172a;
  --bg-soft: #111827;
  --card: rgba(255,255,255,0.06);
  --text: #e5e7eb;
  --muted: #9ca3af;
  --accent: #38bdf8;
  --accent-2: #22c55e;
  --border: rgba(255,255,255,0.1);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(180deg, #020617 0%, #0f172a 100%);
  color: var(--text);
  line-height: 1.55;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(2, 6, 23, 0.75);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-nav-inner {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 0;
}
.nav-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}
.nav-links a:hover {
  color: var(--accent);
}

.hero {
  padding: 5rem 1.5rem 4rem;
  background: radial-gradient(circle at top, rgba(56, 189, 248, 0.2), transparent 45%);
}
.hero-inner, .section, .footer {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-size: 0.8rem;
  margin-bottom: 0.6rem;
}
.hero h1, .section h2 {
  margin: 0 0 0.75rem;
  line-height: 1.05;
}
.hero h1 { font-size: clamp(2.5rem, 7vw, 4.6rem); }
.subhead {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.1rem;
}
.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.metric-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  color: var(--muted);
}
.metric-pill strong {
  color: #fff;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 999px;
  padding: 0.9rem 1.2rem;
  text-decoration: none;
  border: 1px solid var(--border);
  cursor: pointer;
  font-weight: 700;
}
.button.primary {
  background: linear-gradient(135deg, var(--accent), #0ea5e9);
  color: #00121a;
  box-shadow: 0 12px 30px rgba(14, 165, 233, 0.25);
}
.button.secondary {
  color: var(--text);
  background: rgba(255,255,255,0.04);
}
.button:hover {
  transform: translateY(-1px);
}
.button.full { width: 100%; margin-top: 1rem; }

.section { padding: 1.5rem 0 3rem; }
.section-heading { margin-bottom: 1rem; }
.section-heading p { color: var(--muted); max-width: 650px; }
.grid {
  display: grid;
  gap: 1rem;
}
.two-up { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.three-up { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.calculators { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 1.25rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}
.card:hover {
  transform: translateY(-2px);
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}
.stat-card h2, .calc-card h3, .lane-card h3, .roadmap-card h3 { margin-top: 0; }
.field-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.9rem;
  margin-top: 1rem;
}
label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.lane-card p,
.roadmap-card p {
  color: var(--muted);
}
.lane-card .button {
  margin-top: 0.8rem;
}
input,
select {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--border);
  padding: 0.8rem 0.85rem;
  background: rgba(255,255,255,0.04);
  color: var(--text);
}
input:focus,
select:focus {
  outline: none;
  border-color: rgba(56, 189, 248, 0.6);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
}
.results {
  margin-top: 1rem;
  display: grid;
  gap: 0.65rem;
}
.results div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 0.7rem;
}
.results span { color: var(--muted); }
.results strong { color: #fff; text-align: right; }
.microcopy { color: var(--muted); font-size: 0.9rem; margin-top: 0.8rem; }
.lane-card ul {
  padding-left: 1rem;
  margin-bottom: 0;
  color: var(--muted);
}
.cta-card {
  text-align: center;
  padding: 2rem;
}
.capture-form {
  display: grid;
  gap: 0.9rem;
  text-align: left;
  max-width: 720px;
  margin: 1.25rem auto 0;
}
.subhead.small {
  margin-left: auto;
  margin-right: auto;
  max-width: 720px;
}
.footer {
  padding: 1rem 0 3rem;
  color: var(--muted);
}

@media (max-width: 640px) {
  .site-nav-inner,
  .nav-links {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero { padding-top: 4rem; }
  .button { width: 100%; }
}
