:root {
  color-scheme: dark;
  --bg: #060816;
  --bg-2: #0a1020;
  --panel: rgba(10, 16, 32, 0.78);
  --panel-strong: rgba(14, 21, 40, 0.92);
  --line: rgba(148, 163, 184, 0.18);
  --text: #f8fafc;
  --muted: #a5b4c8;
  --blue: #7dd3fc;
  --violet: #8b5cf6;
  --accent: #22c55e;
  --danger: #fb7185;
  --shadow: 0 24px 80px rgba(2, 6, 23, 0.55);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.22), transparent 30%),
    radial-gradient(circle at top right, rgba(139, 92, 246, 0.22), transparent 32%),
    linear-gradient(180deg, #070b18 0%, #05070f 100%);
}

a { color: inherit; text-decoration: none; }

.page-shell {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0 56px;
}

.topbar {
  position: sticky;
  top: 20px;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 16px 20px;
  margin-bottom: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(6, 8, 22, 0.72);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand-mark {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  box-shadow: 0 0 28px rgba(125, 211, 252, 0.75);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
}

.nav a:hover { color: var(--text); }

.panel {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.9), rgba(8, 12, 24, 0.96));
  box-shadow: var(--shadow);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 48px;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(40px);
  opacity: 0.6;
}

.hero::before {
  width: 280px;
  height: 280px;
  top: -100px;
  right: -80px;
  background: rgba(125, 211, 252, 0.26);
}

.hero::after {
  width: 320px;
  height: 320px;
  left: -100px;
  bottom: -140px;
  background: rgba(139, 92, 246, 0.22);
}

.eyebrow,
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(125, 211, 252, 0.24);
  border-radius: 999px;
  color: var(--blue);
  background: rgba(12, 18, 34, 0.7);
  font-size: 0.92rem;
}

.hero h1,
.section h2 {
  margin: 18px 0 0;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.hero h1 {
  max-width: 900px;
  font-size: clamp(2.8rem, 7vw, 5.4rem);
}

.lead {
  max-width: 760px;
  margin: 18px 0 0;
  color: #d7e0ee;
  font-size: 1.15rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  font-weight: 600;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover { transform: translateY(-1px); }
.button.primary {
  background: linear-gradient(135deg, var(--blue), var(--violet));
  color: #03111f;
}
.button.secondary {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(15, 23, 42, 0.75);
}

.hero-grid,
.card-grid {
  display: grid;
  gap: 18px;
}

.hero-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 34px;
}

.metric-card,
.info-card,
.footer-note,
.list-card {
  position: relative;
  z-index: 1;
}

.metric-card {
  padding: 22px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 22px;
  background: rgba(7, 10, 20, 0.62);
}

.metric-label {
  display: block;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.88rem;
}

.metric-card strong,
.info-card h3,
.checklist h2 {
  display: block;
  font-size: 1.18rem;
}

.metric-card p,
.info-card p,
.prose p,
.prose li,
.list-card p,
.footer-note {
  color: var(--muted);
  line-height: 1.72;
}

.section {
  margin-top: 24px;
}

.section-head {
  margin-bottom: 18px;
}

.section h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card-grid.three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card,
.footer-note,
.prose,
.checklist {
  padding: 28px;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
}

.prose ul {
  padding-left: 20px;
  margin: 18px 0 0;
}

.checklist {
  display: grid;
  align-content: start;
  gap: 14px;
}

.list-card {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 18px;
  background: rgba(8, 12, 24, 0.55);
}

.list-card span {
  width: 14px;
  height: 14px;
  margin-top: 6px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--danger), var(--violet));
  box-shadow: 0 0 20px rgba(251, 113, 133, 0.5);
}

.list-card strong {
  display: block;
  margin-bottom: 6px;
}

.footer-note {
  margin-top: 18px;
  font-size: 1.02rem;
}

@media (max-width: 1024px) {
  .hero-grid,
  .card-grid.three-up,
  .split,
  .card-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 24px, 1200px);
    padding-top: 12px;
  }

  .topbar,
  .hero,
  .info-card,
  .footer-note,
  .prose,
  .checklist {
    padding: 20px;
  }

  .topbar {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-grid,
  .card-grid.three-up,
  .split,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: clamp(2.1rem, 11vw, 3.1rem);
  }
}
