:root {
  --background: #05070d;
  --background-alt: #070c18;
  --surface: #0b1120;
  --border: #1b2740;
  --border-strong: #2a3a5c;
  --foreground: #f3f6fb;
  --muted: #8b97ad;
  --muted-dark: #5b667d;
  --primary: #2563eb;
  --accent: #38bdf8;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; background: var(--background); }

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(600px 400px at 15% -10%, rgba(37, 99, 235, 0.18), transparent 60%),
    radial-gradient(500px 400px at 90% 10%, rgba(56, 189, 248, 0.12), transparent 60%);
}

header {
  position: relative;
  z-index: 1;
  border-bottom: 1px solid var(--border);
  background: rgba(5, 7, 13, 0.7);
  backdrop-filter: blur(12px);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--foreground);
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: 17px;
}

.logo svg {
  width: 26px;
  height: 26px;
  filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.5));
}

nav.top-nav {
  display: flex;
  gap: 22px;
}
nav.top-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}
nav.top-nav a:hover { color: var(--foreground); }

.cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.cta-pill.solid {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
}
.cta-pill.outline {
  border: 1px solid var(--border-strong);
  color: var(--foreground);
}

main { position: relative; z-index: 1; }

.hero {
  max-width: 860px;
  margin: 0 auto;
  padding: 72px 24px 48px;
  text-align: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--border);
  background: rgba(11, 17, 32, 0.6);
  padding: 6px 16px;
  border-radius: 999px;
}
h1 {
  font-size: clamp(30px, 5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 20px 0 16px;
}
.lede {
  color: var(--muted);
  font-size: 17px;
  max-width: 620px;
  margin: 0 auto;
}
.hero-ctas {
  margin-top: 32px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

section { max-width: 1000px; margin: 0 auto; padding: 40px 24px; }
section.tight { max-width: 860px; }

h2 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  text-align: center;
}
.section-lede {
  color: var(--muted);
  text-align: center;
  max-width: 560px;
  margin: 0 auto 32px;
  font-size: 15px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}
.card {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 16px;
  padding: 24px;
}
.card h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 8px;
}
.card p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

.case-callout {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}
.case-callout .stat {
  font-size: 13px;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.case-callout h3 { margin: 6px 0 8px; font-size: 20px; }
.case-callout p { color: var(--muted); margin: 0; max-width: 480px; font-size: 14px; }

.timeline { display: flex; flex-direction: column; gap: 20px; }
.timeline .step {
  border-left: 2px solid var(--border);
  padding-left: 20px;
  position: relative;
}
.timeline .step::before {
  content: '';
  position: absolute;
  left: -6px;
  top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}
.timeline .step .label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.timeline .step h3 { margin: 4px 0 6px; font-size: 17px; }
.timeline .step p { color: var(--muted); margin: 0; font-size: 14px; }

.result-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}
.result-grid .result {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 14px;
  padding: 20px;
  text-align: center;
}
.result-grid .result strong {
  display: block;
  font-size: 20px;
  color: var(--foreground);
  margin-bottom: 4px;
}
.result-grid .result span {
  font-size: 13px;
  color: var(--muted);
}

.cta-block {
  text-align: center;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 20px;
  padding: 40px 24px;
}
.cta-block h2 { margin-bottom: 8px; }
.cta-block p { color: var(--muted); margin: 0 auto 24px; max-width: 480px; }

.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.related-links a {
  border: 1px solid var(--border);
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 999px;
}
.related-links a:hover { color: var(--foreground); border-color: var(--border-strong); }

footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  margin-top: 40px;
  padding: 40px 24px;
  text-align: center;
  color: var(--muted-dark);
  font-size: 13px;
}
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--foreground); }
footer .foot-links { margin-bottom: 16px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 640px) {
  nav.top-nav { display: none; }
}
