:root {
  --bg: #0b0f1a;
  --primary: #3b82f6;
  --purple: #8b5cf6;
  --green: #22c55e;
  --text: #f9fafb;
  --muted: #9ca3af;
  --panel-border: rgba(255, 255, 255, 0.08);
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(139, 92, 246, 0.18), transparent 24%),
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.18), transparent 26%),
    linear-gradient(180deg, #09101f 0%, var(--bg) 45%, #070a12 100%);
  color: var(--text);
  font-family: "Roboto", Arial, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.topbar {
  position: fixed;
  top: 0;
  z-index: 20;
  width: 100%;
  padding: 1.1rem 1.5rem;
  backdrop-filter: blur(14px);
  background: rgba(11, 15, 26, 0.68);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  font-size: clamp(0.88rem, 1vw, 1rem);
}

.navbar a {
  color: var(--muted);
  padding: 0.2rem 0.25rem;
  border-bottom: 2px solid transparent;
  transition: color 180ms ease, border-color 180ms ease;
}

.navbar a::after {
  content: "|";
  margin-left: 0.65rem;
  color: rgba(156, 163, 175, 0.45);
}

.navbar a:last-child::after {
  display: none;
}

.navbar a.active,
.navbar a:hover,
.navbar a:focus-visible {
  color: var(--text);
  border-color: var(--primary);
  outline: none;
}

.panel {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 7rem 1.5rem 3rem;
}

.content {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.content.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 2.2rem;
  align-items: center;
}

.content.narrow {
  max-width: 760px;
}

.hero-content.centered {
  text-align: center;
  position: relative;
  z-index: 1;
}

.eyebrow,
.section-label,
.media-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.micro-heading {
  margin: 0.9rem 0 0;
  font-size: 0.82rem;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

h1,
h2,
h3 {
  font-family: "Orbitron", "Arial Black", sans-serif;
  margin: 0;
}

h1 {
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  line-height: 0.98;
  margin-top: 0.8rem;
}

h2 {
  font-size: clamp(2rem, 4.6vw, 3.8rem);
  line-height: 1.02;
  margin-top: 0.75rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.3rem;
}

.subtitle,
.hero-support,
.text-block p,
.sources-card p {
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.75;
  color: var(--text);
}

.hero-support {
  max-width: 38rem;
  margin: -0.5rem auto 1.8rem;
  color: var(--muted);
}

.sources-card a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: rgba(59, 130, 246, 0.65);
  text-underline-offset: 0.18em;
}

.sources-card a:hover,
.sources-card a:focus-visible {
  color: #dbeafe;
  outline: none;
}

.subtitle {
  max-width: 36rem;
  margin: 1.15rem auto 1.8rem;
}

.panel-note {
  position: absolute;
  bottom: 1.8rem;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  z-index: 1;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 11rem;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  color: var(--text);
  box-shadow: var(--shadow);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.06);
  outline: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--purple));
}

.btn-secondary {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.95), rgba(59, 130, 246, 0.9));
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.75rem;
}

.text-block ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--text);
}

.text-block li {
  margin-bottom: 0.8rem;
  line-height: 1.7;
}

.highlight-stat {
  margin: 1.5rem 0 0;
  color: var(--green);
  font-size: clamp(1.6rem, 2.4vw, 2.3rem);
  font-weight: 700;
}

.highlight-line {
  margin: 1.5rem 0 0;
  color: var(--purple);
  font-size: clamp(1.3rem, 1.8vw, 1.7rem);
  font-weight: 700;
}

.media-card,
.sources-card,
.chart-card,
.photo-figure {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--panel-border);
  box-shadow: var(--shadow);
}

.media-card {
  min-height: 460px;
  isolation: isolate;
  display: flex;
  align-items: stretch;
  background:
    linear-gradient(160deg, rgba(10, 14, 24, 0.28), rgba(10, 14, 24, 0.7)),
    radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.42), transparent 30%),
    radial-gradient(circle at 80% 25%, rgba(139, 92, 246, 0.48), transparent 28%),
    radial-gradient(circle at 55% 85%, rgba(34, 197, 94, 0.16), transparent 18%),
    linear-gradient(135deg, rgba(8, 12, 22, 0.95), rgba(17, 24, 39, 0.88));
}

.photo-figure {
  margin: 0;
  background: #111827;
}

.media-image {
  width: 100%;
  display: block;
  min-height: 360px;
  max-height: 460px;
  object-fit: cover;
}

.photo-caption {
  padding: 1rem 1.2rem 1.2rem;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.96), rgba(11, 15, 26, 0.98));
}

.media-copy p,
.chart-note,
.chart-heading p {
  color: var(--muted);
  margin-bottom: 0;
}

.chart-card {
  min-height: 460px;
  padding: 1.6rem;
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.22), transparent 22%),
    radial-gradient(circle at top right, rgba(139, 92, 246, 0.22), transparent 24%),
    linear-gradient(180deg, rgba(11, 15, 26, 0.95), rgba(17, 24, 39, 0.88));
}

.chart-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.bars {
  display: grid;
  gap: 1.2rem;
}

.bar-group {
  display: grid;
  gap: 0.5rem;
}

.bar-label {
  color: var(--text);
  font-weight: 600;
}

.bar-value {
  color: var(--muted);
  font-size: 0.95rem;
}

.bar-track {
  height: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: inherit;
}

.bar-fill.top {
  width: 86%;
  background: linear-gradient(90deg, var(--green), #4ade80);
}

.bar-fill.mid {
  width: 24%;
  background: linear-gradient(90deg, var(--primary), #60a5fa);
}

.bar-fill.low {
  width: 6%;
  background: linear-gradient(90deg, var(--purple), #a78bfa);
}

.chart-note {
  margin-top: 2rem;
}

.panel-home {
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(7, 10, 18, 0.48), rgba(7, 10, 18, 0.78)),
    radial-gradient(circle at 20% 22%, rgba(59, 130, 246, 0.5), transparent 18%),
    radial-gradient(circle at 80% 18%, rgba(139, 92, 246, 0.55), transparent 16%),
    radial-gradient(circle at 50% 85%, rgba(59, 130, 246, 0.24), transparent 22%),
    linear-gradient(135deg, #09111f 0%, #0b1020 45%, #04050a 100%);
}

.hero-bg::before,
.hero-bg::after {
  content: "";
  position: absolute;
  inset: auto;
  border-radius: 50%;
  filter: blur(1px);
}

.hero-bg::before {
  width: 480px;
  height: 480px;
  top: 12%;
  left: -3%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.18), transparent 60%);
}

.hero-bg::after {
  width: 420px;
  height: 420px;
  right: -2%;
  bottom: 7%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.16), transparent 60%);
}

.panel-conclusion {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.36), rgba(0, 0, 0, 0.54)),
    radial-gradient(circle at 24% 25%, rgba(59, 130, 246, 0.18), transparent 20%),
    radial-gradient(circle at 78% 20%, rgba(139, 92, 246, 0.22), transparent 24%),
    linear-gradient(135deg, #090d17, #101827 58%, #05070d);
}

.panel-conclusion .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.panel-conclusion .content {
  position: relative;
  z-index: 1;
}

.sources-card {
  margin: 1.2rem 0 1.8rem;
  padding: 1.4rem 1.5rem;
  background: rgba(255, 255, 255, 0.04);
}

@media (max-width: 900px) {
  .content.split {
    grid-template-columns: 1fr;
  }

  .media-card,
  .chart-card {
    min-height: 340px;
  }
}

@media (max-width: 640px) {
  .topbar {
    padding-inline: 0.9rem;
  }

  .panel {
    padding-top: 8.5rem;
  }

  .navbar {
    justify-content: flex-start;
  }

  .panel-note {
    width: calc(100% - 2rem);
    text-align: center;
  }

  .button-row {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }
}
