:root {
  color-scheme: dark;
  --bg: #0f172a;
  --panel: #111c33;
  --panel-soft: #17264a;
  --text: #e2e8f0;
  --muted: #94a3b8;
  --line: rgba(148, 163, 184, 0.2);
  --accent: #c084fc;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #18284d 0%, var(--bg) 48%);
  color: var(--text);
  min-height: 100vh;
}
a { color: inherit; }
.shell {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
}
.site-header,
.site-footer {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.site-header {
  padding: 1.1rem 0 0.6rem;
}
.site-header nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.site-header nav a,
.site-footer {
  color: var(--muted);
  text-decoration: none;
}
.site-header nav a:hover,
.site-footer a:hover { color: var(--text); }
.brand {
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .02em;
}
.hero,
.split-section,
.grid-2,
.grid-3 {
  display: grid;
  gap: 1.25rem;
}
.hero {
  grid-template-columns: 1.3fr .9fr;
  align-items: stretch;
  padding: 4.5rem 0 2rem;
}
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); padding-bottom: 1rem; }
.split-section { grid-template-columns: 1.2fr .8fr; padding: 1rem 0 4rem; }
.page-stack { padding: 4rem 0; }
.page-stack.narrow { max-width: 760px; }
.page-hero { max-width: 760px; }
.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  margin-bottom: .8rem;
}
h1, h2, h3 {
  margin: 0 0 .75rem;
  line-height: 1.08;
}
h1 { font-size: clamp(2.2rem, 4vw, 4.6rem); }
h2 { font-size: clamp(1.4rem, 2.3vw, 2.2rem); }
h3 { font-size: 1.1rem; }
.lead,
p, li { line-height: 1.7; color: var(--muted); }
.card {
  background: rgba(17, 28, 51, 0.86);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.35rem;
  box-shadow: 0 18px 60px rgba(15, 23, 42, 0.26);
}
.muted-card { background: rgba(23, 38, 74, 0.8); }
.stats-card h2 { margin-bottom: 1rem; }
.plain-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.prose-card ul { margin: 0; padding-left: 1.2rem; color: var(--muted); }
.cta-row {
  display: flex;
  gap: .85rem;
  flex-wrap: wrap;
  margin-top: 1.6rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.02);
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, #c084fc, #8b5cf6);
  border-color: transparent;
  color: white;
}
.contact-card { max-width: 520px; }
.site-footer {
  border-top: 1px solid var(--line);
  padding: 1rem 0 2rem;
  font-size: .95rem;
}
@media (max-width: 860px) {
  .hero,
  .grid-2,
  .grid-3,
  .split-section { grid-template-columns: 1fr; }
  .site-header,
  .site-footer { align-items: flex-start; flex-direction: column; }
}
