:root {
  --bg: #0b1220;
  --surface: #111a2d;
  --surface-2: #16213a;
  --text: #e8eefc;
  --muted: #a9b7d1;
  --accent: #4f8cff;
  --accent-2: #74a7ff;
  --border: rgba(255, 255, 255, 0.1);
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
  --radius: 20px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(79, 140, 255, 0.18), transparent 28%),
    linear-gradient(180deg, #08101d 0%, #0b1220 100%);
  line-height: 1.6;
}

a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
}

.narrow {
  width: min(calc(100% - 2rem), 780px);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(16px);
  background: rgba(8, 16, 29, 0.8);
  border-bottom: 1px solid var(--border);
  z-index: 20;
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 76px;
  gap: 1rem;
}

.logo {
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

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

.nav a.active,
.nav a:hover {
  color: #fff;
  text-decoration: none;
}

.hero,
.page-hero {
  padding: 5.5rem 0 3rem;
}

.hero-grid,
.split {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  color: var(--accent-2);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
  margin-bottom: 0.75rem;
}

h1, h2, h3 {
  line-height: 1.15;
  margin: 0 0 0.9rem;
}

h1 { font-size: clamp(2.4rem, 5vw, 4.3rem); }
h2 { font-size: clamp(1.6rem, 2.5vw, 2.4rem); }
h3 { font-size: 1.2rem; }

.lead {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 60ch;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.6rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #08101d;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border);
  color: #fff;
}

.hero-card,
.card,
.panel {
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.03));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 1.5rem;
}

.hero-card ul {
  padding-left: 1.2rem;
  margin: 1rem 0 0;
}

.section {
  padding: 2rem 0 4.5rem;
}

.section-alt {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-heading {
  margin-bottom: 1.75rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.card,
.panel {
  padding: 1.4rem;
}

.card p,
.panel p,
.hero-card li {
  color: var(--muted);
}

.content-stack {
  display: grid;
  gap: 1.2rem;
}

.page-main {
  min-height: calc(100vh - 160px);
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.4rem 0;
  background: rgba(5, 10, 18, 0.75);
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
}

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

  .nav-wrap {
    padding: 0.8rem 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .page-hero {
    padding-top: 4.5rem;
  }
}

.site-footer {
  background: #0f172a;
  color: #e5e7eb;
  padding: 24px 0;
  margin-top: 40px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-nav a {
  color: #e5e7eb;
  text-decoration: none;
  font-weight: 500;
}

.footer-nav a:hover {
  text-decoration: underline;
}
