/* ── CSS Variables ── */
:root {
  --bg: #0B1D2E;
  --bg-alt: #081420;
  --fg: #E8E0D5;
  --fg-muted: #8A9BB0;
  --accent: #E8A838;
  --accent-dim: rgba(232, 168, 56, 0.12);
  --border: rgba(232, 224, 213, 0.08);
  --radius: 6px;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-sans: 'DM Sans', system-ui, sans-serif;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Typography ── */
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.15;
  color: var(--fg);
  font-weight: 400;
}

.section-sub {
  font-size: 1rem;
  color: var(--fg-muted);
  margin-top: 0.75rem;
  max-width: 520px;
}

/* ── Nav ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 2rem;
  background: rgba(11, 29, 46, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--fg);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.nav-tagline {
  font-size: 0.8rem;
  color: var(--fg-muted);
  padding-left: 1rem;
  border-left: 1px solid var(--border);
}

.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-link {
  font-size: 0.85rem;
  color: var(--fg-muted);
  text-decoration: none;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius);
  transition: all 0.15s;
  border: 1px solid transparent;
}

.nav-link:hover {
  color: var(--fg);
  border-color: var(--border);
}

.nav-link.active {
  color: var(--accent);
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-image-wrap {
  position: absolute;
  inset: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  filter: grayscale(30%) brightness(0.6);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(11, 29, 46, 0.95) 0%,
    rgba(11, 29, 46, 0.6) 50%,
    rgba(11, 29, 46, 0.75) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 8rem 2rem 5rem;
  width: 100%;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 7vw, 5rem);
  line-height: 1.05;
  color: var(--fg);
  font-weight: 400;
  max-width: 720px;
}

.hero-sub {
  margin-top: 1.5rem;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--fg-muted);
  max-width: 560px;
  font-weight: 300;
  line-height: 1.7;
}

/* ── Stats ── */
.stats {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}

.stats-grid {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 2rem;
  display: flex;
  align-items: stretch;
  gap: 0;
}

.stat-item {
  flex: 1;
  padding: 0 2.5rem;
}

.stat-item:first-child { padding-left: 0; }

.stat-number {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.4;
}

.stat-divider {
  width: 1px;
  background: var(--border);
  align-self: stretch;
}

/* ── Features ── */
.features {
  max-width: 1100px;
  margin: 0 auto;
  padding: 7rem 2rem;
}

.features-header {
  margin-bottom: 3.5rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.feature-card {
  background: var(--bg);
  padding: 2rem 1.75rem;
  transition: background 0.2s;
}

.feature-card:hover {
  background: var(--bg-alt);
}

.feature-icon {
  margin-bottom: 1.25rem;
  opacity: 0.9;
}

.feature-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--fg);
  margin-bottom: 0.6rem;
}

.feature-desc {
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ── Coverage ── */
.coverage {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.coverage-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 6rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.coverage-regions {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.region-group {}

.region-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

.region-list {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.8;
}

/* ── Manifesto ── */
.manifesto {
  max-width: 1100px;
  margin: 0 auto;
  padding: 7rem 2rem;
}

.manifesto-inner {
  max-width: 700px;
}

.manifesto-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-style: italic;
  color: var(--fg);
  font-weight: 400;
  line-height: 1.3;
  border-left: 2px solid var(--accent);
  padding-left: 1.5rem;
  margin-bottom: 2.5rem;
}

.manifesto-body {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

/* ── Closing ── */
.closing {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}

.closing-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 7rem 2rem;
}

.closing-headline {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--fg);
}

.closing-sub {
  margin-top: 1.5rem;
  font-size: 1rem;
  color: var(--fg-muted);
  max-width: 540px;
  line-height: 1.7;
}

/* ── Footer ── */
.footer {
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--fg);
  margin-bottom: 0.3rem;
}

.footer-desc {
  font-size: 0.8rem;
  color: var(--fg-muted);
}

.footer-meta {
  font-size: 0.75rem;
  color: var(--fg-muted);
  text-align: right;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .stats-grid {
    flex-direction: column;
    gap: 2rem;
    padding: 2rem 1.5rem;
  }

  .stat-item { padding: 0; }

  .stat-divider { display: none; }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .coverage-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 4rem 1.5rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-meta {
    text-align: left;
  }

  .nav-tagline {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-content {
    padding: 7rem 1.25rem 4rem;
  }

  .features {
    padding: 4rem 1.25rem;
  }

  .manifesto {
    padding: 4rem 1.25rem;
  }

  .closing-inner {
    padding: 4rem 1.25rem;
  }
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--fg-muted); }

/* Selection color */
::selection { background: var(--accent); color: var(--bg); }
