:root {
  --bg: #0b1220;
  --panel: #111a2c;
  --text: #e8eefc;
  --muted: #a9b4cc;
  --brand: #4f8cff;
  --brand-strong: #2f73ff;
  --border: #22304a;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #0b1220 0%, #0a1020 100%);
}

a {
  color: #9ec0ff;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  background: rgba(11, 18, 32, 0.85);
  border-bottom: 1px solid var(--border);
}

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

.brand {
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
}

nav {
  display: flex;
  gap: 1rem;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

nav a[aria-current="page"] {
  color: var(--text);
}

.hero {
  padding: 4rem 0 2rem;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1.4fr 1fr;
}

.eyebrow {
  color: #8da6d9;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  font-weight: 700;
}

h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  margin: 0.3rem 0 0.8rem;
}

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

.hero-actions {
  display: flex;
  gap: 0.75rem;
  margin: 1.1rem 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 0.65rem 1rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  background: #12203a;
}

.btn-primary {
  border-color: var(--brand);
  background: linear-gradient(180deg, var(--brand), var(--brand-strong));
}

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

.section {
  padding: 2rem 0;
}

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

.card {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(17, 26, 44, 0.75);
  padding: 1rem;
}

.card h3 {
  margin-top: 0;
}

.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 2rem;
}

.footer-row {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.prose {
  max-width: 78ch;
}

.prose h1,
.prose h2 {
  margin-top: 1.4rem;
}

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

  .nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.75rem 0;
  }

  nav {
    flex-wrap: wrap;
  }
}
