:root {
  --bg-0: #0d1117;
  --bg-1: #111827;
  --bg-2: #161b22;
  --bg-3: #21262d;
  --ink: #e6edf3;
  --muted: #8b949e;
  --line: #30363d;
  --surface: rgba(22, 27, 34, 0.88);
  --surface-strong: #161b22;
  --accent: #388bfd;
  --accent-dark: #1f6feb;
  --accent-cool: #79c0ff;
  --shadow: rgba(1, 4, 9, 0.42);
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 100%);
  color: var(--ink);
  font-family: 'Sora', 'Segoe UI', sans-serif;
  line-height: 1.5;
}

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

.bg-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
}

.bg-layer-grid {
  background-image:
    linear-gradient(rgba(139, 148, 158, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 148, 158, 0.08) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 92%);
}

.bg-layer-glow {
  z-index: -1;
  background:
    radial-gradient(circle at 12% 0%, rgba(56, 139, 253, 0.28), transparent 35%),
    radial-gradient(circle at 88% 6%, rgba(31, 111, 235, 0.2), transparent 30%),
    radial-gradient(circle at 50% 100%, rgba(121, 192, 255, 0.14), transparent 38%);
}

.topbar,
.page-shell {
  width: min(1160px, 92vw);
}

.topbar {
  margin: 18px auto 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 34px var(--shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.82rem;
  font-family: 'IBM Plex Mono', monospace;
}

.topnav {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-wrap: wrap;
}

.topnav a {
  color: var(--muted);
  font-size: 0.92rem;
}

.page-shell {
  margin: 24px auto 60px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.hero,
.section,
.stats-section,
.cta-band {
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: 0 16px 40px var(--shadow);
}

.hero {
  background: linear-gradient(145deg, rgba(22, 27, 34, 0.97), rgba(17, 23, 33, 0.95));
  padding: clamp(22px, 5vw, 48px);
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 18px;
}

.eyebrow,
.panel-label,
.stat-kicker,
.timeline-step {
  font-family: 'IBM Plex Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
}

.eyebrow {
  color: var(--accent-cool);
  margin-bottom: 10px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
  max-width: 14ch;
}

.lead {
  margin-top: 16px;
  color: var(--muted);
  max-width: 62ch;
}

.hero-actions {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.hint {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.88rem;
}

.hero-panel {
  border-radius: 24px;
  border: 1px solid rgba(56, 139, 253, 0.22);
  background: linear-gradient(170deg, rgba(15, 22, 33, 0.98), rgba(12, 18, 29, 0.95));
  color: #eef5f7;
  padding: 20px;
}

.panel-label {
  color: var(--accent-cool);
}

.hero-panel ul {
  list-style: none;
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-panel li {
  padding: 10px 12px;
  border: 1px solid rgba(56, 139, 253, 0.22);
  border-radius: 12px;
  background: rgba(56, 139, 253, 0.09);
  color: rgba(230, 237, 243, 0.95);
  font-size: 0.9rem;
}

.stats-section {
  background: var(--surface-strong);
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.stat-card {
  border-radius: 18px;
  border: 1px solid var(--line);
  padding: 14px;
  background: var(--bg-3);
}

.stat-kicker {
  color: var(--muted);
}

.stat-value {
  margin-top: 8px;
  font-size: clamp(1.7rem, 3.3vw, 2.7rem);
  font-weight: 800;
  line-height: 1;
}

.stat-label {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.9rem;
}

.section {
  background: var(--surface-strong);
  padding: clamp(20px, 4vw, 34px);
}

.section-head h2 {
  font-size: clamp(1.45rem, 3vw, 2.45rem);
  line-height: 1.08;
}

.feature-grid,
.timeline,
.trust-grid {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

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

.feature-card,
.timeline-item,
.trust-card {
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  padding: 18px;
}

.feature-card h3,
.timeline-item h3,
.trust-card h3 {
  font-size: 1.08rem;
}

.feature-card p,
.timeline-item p,
.trust-card p {
  margin-top: 8px;
  color: var(--muted);
}

.trust-card a {
  color: var(--accent-cool);
  text-decoration: underline;
}

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

.timeline-step {
  color: var(--accent);
  margin-bottom: 10px;
}

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

.cta-band {
  background: linear-gradient(145deg, rgba(15, 24, 38, 0.98), rgba(12, 18, 30, 0.96));
  border: 1px solid rgba(56, 139, 253, 0.28);
  color: #eff6f8;
  padding: clamp(22px, 5vw, 36px);
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  line-height: 1.08;
}

.cta-band p {
  margin-top: 10px;
  color: rgba(239, 246, 248, 0.84);
}

.session-chip {
  margin-top: 12px;
  font-size: 0.86rem;
  color: rgba(239, 246, 248, 0.7);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 11px 15px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  box-shadow: 0 10px 22px rgba(56, 139, 253, 0.33);
}

.topnav .btn-primary {
  color: #fff;
}

.btn-secondary {
  color: var(--ink);
  border-color: var(--line);
  background: var(--bg-3);
}

.btn-secondary:hover {
  box-shadow: 0 8px 18px rgba(1, 4, 9, 0.35);
}

.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero,
  .stats-section,
  .feature-grid,
  .timeline,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: none;
  }
}

@media (max-width: 760px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    border-radius: 16px;
  }

  .topnav {
    width: 100%;
  }

  .topnav a {
    font-size: 0.9rem;
  }

  .hero,
  .section,
  .stats-section,
  .cta-band {
    border-radius: 22px;
  }
}

@media (max-width: 560px) {
  .topbar,
  .page-shell {
    width: min(1160px, 95vw);
  }

  .topnav {
    flex-direction: column;
    align-items: stretch;
  }

  .topnav a {
    text-align: center;
  }

  .hero,
  .section,
  .cta-band,
  .stats-section {
    padding: 16px;
  }

  .hero-panel,
  .feature-card,
  .timeline-item,
  .trust-card,
  .stat-card {
    border-radius: 14px;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}
