* {
  box-sizing: border-box;
}

:root {
  --bg: #0b1020;
  --bg-soft: #121934;
  --card: rgba(255, 255, 255, 0.08);
  --text: #edf2ff;
  --muted: #aab6d3;
  --line: rgba(255,255,255,0.12);
  --accent: #7c9cff;
  --accent-2: #9f7cff;
  --shadow: 0 20px 60px rgba(0,0,0,0.35);
  --radius: 24px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(124,156,255,0.18), transparent 30%),
    radial-gradient(circle at top right, rgba(159,124,255,0.12), transparent 28%),
    linear-gradient(180deg, #0a0f1d 0%, #0d1224 100%);
  color: var(--text);
}

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

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.narrow {
  width: min(860px, calc(100% - 32px));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(10, 15, 29, 0.65);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 20px;
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  font-size: 0.92rem;
  box-shadow: var(--shadow);
}

nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

nav a {
  color: var(--muted);
  font-weight: 500;
}

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

.hero {
  padding: 84px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 34px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: #c7d2ff;
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

h1, h2 {
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  max-width: 12ch;
}

h2 {
  font-size: clamp(1.4rem, 3vw, 2.1rem);
}

p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 16px;
}

.lead {
  max-width: 65ch;
  font-size: 1.08rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  font-weight: 700;
  transition: transform .18s ease, opacity .18s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  box-shadow: var(--shadow);
}

.btn-secondary {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line);
  color: var(--text);
}

.hero-card .glass,
.card,
.doc-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.glass {
  padding: 18px;
}

.mini-header {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.4);
}

.mini-content {
  display: grid;
  gap: 16px;
}

.stat {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
}

.stat strong {
  display: block;
  margin-bottom: 8px;
}

.section {
  padding: 32px 0 72px;
}

.section-alt {
  border-top: 1px solid var(--line);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.single-column {
  grid-template-columns: 1fr;
}

.card {
  padding: 24px;
}

.text-link {
  color: #d6deff;
  font-weight: 600;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.page {
  padding: 56px 0 80px;
}

.doc-card {
  padding: 28px;
  margin-top: 20px;
}

.doc-card ul,
.card ul {
  color: var(--muted);
  line-height: 1.8;
  padding-left: 20px;
}

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

.site-footer {
  border-top: 1px solid var(--line);
  padding: 26px 0 40px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

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

@media (max-width: 880px) {
  .hero-grid,
  .cards,
  .split {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: none;
  }
}

@media (max-width: 560px) {
  .nav {
    min-height: auto;
    padding: 14px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    padding-top: 56px;
  }
}
