:root {
  --bg: #02070d;
  --bg-soft: #07111d;
  --panel: rgba(10, 20, 34, 0.76);
  --panel-border: rgba(145, 182, 255, 0.14);
  --text: #f4f7fb;
  --muted: #aebdd2;
  --line: rgba(255,255,255,0.08);
  --blue: #78d6ff;
  --blue-strong: #4cc8ff;
  --glow: rgba(65, 203, 255, 0.22);
  --max: 1180px;
  --radius: 26px;
  --shadow: 0 12px 40px rgba(0,0,0,0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 16% 12%, rgba(41,138,255,0.18), transparent 24%),
    radial-gradient(circle at 85% 28%, rgba(0,149,255,0.12), transparent 28%),
    linear-gradient(180deg, #02060c 0%, #04101b 38%, #02070d 100%);
  color: var(--text);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(18px);
  background: rgba(1, 8, 15, 0.78);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-mark { width: 42px; height: 42px; }
.brand-top,
.brand-bottom {
  display: block;
  line-height: 1;
}
.brand-top {
  font-size: 0.66rem;
  letter-spacing: 0.28rem;
  color: #93cfff;
  margin-bottom: 6px;
}
.brand-bottom {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-nav a {
  color: var(--muted);
  font-size: 0.96rem;
}
.site-nav a:hover { color: var(--text); }

.menu-toggle {
  display: none;
  width: 58px;
  height: 58px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-direction: column;
}
.menu-toggle span {
  width: 20px;
  height: 2px;
  background: white;
  border-radius: 2px;
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
}
.hero-home {
  padding: 88px 0 52px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 18%, rgba(71, 165, 255, 0.24), transparent 25%),
    radial-gradient(circle at 75% 35%, rgba(0, 112, 209, 0.12), transparent 32%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.7fr);
  gap: 28px;
  align-items: end;
}

.eyebrow {
  margin: 0 0 22px;
  font-size: 0.88rem;
  letter-spacing: 0.36rem;
  color: #8ecfff;
}

h1, h2, h3, h4 { line-height: 1.05; margin: 0 0 14px; }
h1 { font-size: clamp(3rem, 8vw, 6rem); letter-spacing: -0.05em; max-width: 10.5ch; }
h2 { font-size: clamp(2rem, 4.8vw, 3.4rem); letter-spacing: -0.04em; }
h3 { font-size: 1.45rem; letter-spacing: -0.03em; }

.lead {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: var(--muted);
  max-width: 780px;
}
.lead.narrow { max-width: 760px; }
.section-copy { color: var(--muted); max-width: 700px; }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  padding: 0 28px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  color: #06111d;
  background: linear-gradient(90deg, #74c7ff 0%, #49d8ff 100%);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.1), 0 0 30px var(--glow);
}
.btn-secondary {
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.03);
}

.glow-card,
.feature-card,
.stat-card,
.article-item {
  border: 1px solid var(--panel-border);
  background: linear-gradient(180deg, rgba(11, 24, 40, 0.82), rgba(7, 14, 24, 0.9));
  box-shadow: var(--shadow);
}

.hero-panel,
.feature-card,
.research-card,
.quote-card,
.cta-banner,
.contact-form,
.contact-card,
.article-item,
.stat-card {
  border-radius: var(--radius);
}

.hero-panel {
  padding: 28px;
}
.panel-label,
.card-tag {
  display: inline-block;
  font-size: 0.74rem;
  letter-spacing: 0.18rem;
  text-transform: uppercase;
  color: #8fcfff;
  margin-bottom: 14px;
}
.panel-list { padding-left: 18px; color: var(--muted); }
.panel-list li + li { margin-top: 10px; }

.section { padding: 34px 0 74px; }
.section-tight { padding-top: 0; }
.section-contrast {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.stats-grid,
.card-grid,
.footer-grid,
.two-col,
.split-section {
  display: grid;
  gap: 22px;
}
.stats-grid { grid-template-columns: repeat(3, 1fr); }
.stat-card { padding: 26px; }
.stat-card span {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  color: #8ed2ff;
  margin-bottom: 8px;
}
.stat-card p { margin: 0; color: var(--muted); }

.section-head { margin-bottom: 26px; }
.card-grid.policy-grid,
.research-grid { grid-template-columns: repeat(3, 1fr); }
.feature-card,
.large-card { padding: 28px; }
.feature-card p,
.large-card p,
.research-card p,
.article-item p,
.contact-card p,
.cta-banner p { color: var(--muted); }

.split-section,
.two-col { grid-template-columns: 1fr 1fr; align-items: start; }
.stack-cards { display: grid; gap: 18px; }
.research-card {
  padding: 24px;
  display: block;
}
.research-card:hover,
.article-item:hover,
.feature-card:hover {
  border-color: rgba(135, 210, 255, 0.26);
  transform: translateY(-2px);
}

.cta-banner {
  padding: 34px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
}

.footer-grid { grid-template-columns: 1.3fr 0.7fr 0.8fr; }
.site-footer {
  padding: 36px 0 48px;
  border-top: 1px solid rgba(255,255,255,0.05);
  background: rgba(0,0,0,0.16);
}
.site-footer h3,
.site-footer h4 { margin-bottom: 12px; }
.site-footer p,
.site-footer a { color: var(--muted); display: block; margin-bottom: 8px; }

.page-hero { padding: 96px 0 34px; }
.article-hero { padding-bottom: 14px; }

.article-list { display: grid; gap: 18px; }
.article-item { padding: 26px; }
.article-page {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto 80px;
  color: #dbe6f6;
  font-size: 1.08rem;
}
.article-page h2 {
  font-size: 2rem;
  margin-top: 34px;
  margin-bottom: 14px;
}
.article-page p { color: #d5e1f0; }
.article-page blockquote {
  margin: 28px 0;
  padding: 20px 22px;
  border-left: 3px solid #7ad7ff;
  background: rgba(255,255,255,0.03);
  border-radius: 0 18px 18px 0;
  font-size: 1.2rem;
  color: #eff8ff;
}

.contact-form,
.contact-card { padding: 28px; }
.contact-form label {
  display: block;
  margin-bottom: 16px;
  color: var(--muted);
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 8px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  color: var(--text);
  padding: 14px 16px;
  font: inherit;
}
.form-note { margin-top: 14px; color: #8da3bb; font-size: 0.95rem; }
.quote-card { padding: 34px; }
.quote-card p { font-size: 1.3rem; color: #eef6ff; }

@media (max-width: 980px) {
  .hero-grid,
  .stats-grid,
  .card-grid.policy-grid,
  .research-grid,
  .footer-grid,
  .two-col,
  .split-section,
  .cta-banner {
    grid-template-columns: 1fr;
  }

  .cta-banner { display: grid; }
  .site-nav {
    position: absolute;
    top: 88px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    border-radius: 24px;
    background: rgba(7,16,28,0.96);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: var(--shadow);
  }
  .site-nav.active { display: flex; }
  .menu-toggle { display: inline-flex; }
}

@media (max-width: 640px) {
  .container { width: min(var(--max), calc(100% - 28px)); }
  .nav-wrap { min-height: 82px; }
  .brand-bottom { font-size: 0.9rem; }
  .brand-top { letter-spacing: 0.22rem; font-size: 0.58rem; }
  .hero-home { padding-top: 64px; }
  .eyebrow { letter-spacing: 0.24rem; font-size: 0.78rem; }
  .btn { width: 100%; }
  .hero-actions { gap: 12px; }
  .hero-panel,
  .feature-card,
  .large-card,
  .research-card,
  .article-item,
  .contact-form,
  .contact-card,
  .cta-banner,
  .quote-card,
  .stat-card { padding: 22px; }
  .article-page { width: min(860px, calc(100% - 28px)); font-size: 1rem; }
}
.hero {
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59,130,246,0.25), transparent 70%);
  top: -100px;
  left: -100px;
  z-index: 0;
}

.hero h1 {
  position: relative;
  z-index: 1;
}