:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-soft: #f1f5f9;
  --text: #0f172a;
  --muted: #475569;
  --line: #dbe4ee;
  --primary: #0f766e;
  --primary-strong: #115e59;
  --shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --container: 1160px;
}

body.dark-theme {
  --bg: #0f172a;
  --surface: #111c31;
  --surface-soft: #172338;
  --text: #e5eefb;
  --muted: #aebcd1;
  --line: rgba(203, 213, 225, 0.14);
  --primary: #5eead4;
  --primary-strong: #99f6e4;
  --shadow: 0 24px 60px rgba(2, 6, 23, 0.45);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(15, 118, 110, 0.08), transparent 36%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
  color: var(--text);
  line-height: 1.6;
  transition: background 0.25s ease, color 0.25s ease;
}

body.dark-theme {
  background:
    radial-gradient(circle at top left, rgba(94, 234, 212, 0.10), transparent 30%),
    linear-gradient(180deg, #0b1120 0%, var(--bg) 100%);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(248, 250, 252, 0.78);
  border-bottom: 1px solid rgba(219, 228, 238, 0.75);
}

body.dark-theme .site-header {
  background: rgba(11, 17, 32, 0.72);
  border-bottom-color: rgba(203, 213, 225, 0.08);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), #38bdf8);
  color: white;
  box-shadow: var(--shadow);
  font-size: 0.85rem;
}

.brand-text {
  font-size: 1rem;
}

.theme-toggle {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  border-radius: 999px;
  padding: 0.85rem 1rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.theme-toggle:hover {
  transform: translateY(-1px);
}

.hero {
  padding: 4.5rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(2.6rem, 5vw, 4.75rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
  margin-bottom: 1rem;
  max-width: 12ch;
}

.lead {
  max-width: 62ch;
  font-size: 1.075rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--primary);
  color: white;
  box-shadow: var(--shadow);
}

.button-primary:hover {
  background: var(--primary-strong);
}

.button-secondary {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
}

.hero-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--muted);
}

.hero-points li::before {
  content: "";
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), #38bdf8);
  flex: 0 0 auto;
}

.hero-card {
  display: flex;
  justify-content: center;
}

.brief-card {
  width: min(100%, 430px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.brief-card__top {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 1rem;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #22c55e;
}

.brief-card h2 {
  font-size: 1.8rem;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 0.9rem;
}

.brief-card p {
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.brief-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.brief-tags span {
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  font-size: 0.9rem;
  font-weight: 600;
}

.section {
  padding: 2rem 0 4rem;
}

.section-soft {
  background: rgba(148, 163, 184, 0.06);
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.metrics-grid,
.coverage-grid {
  display: grid;
  gap: 1rem;
}

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

.metric-card,
.coverage-card,
.newsletter-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.metric-card {
  border-radius: var(--radius-lg);
  padding: 1.4rem;
}

.metric-label {
  display: inline-block;
  margin-bottom: 0.8rem;
  color: var(--primary);
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.metric-card strong {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.metric-card p,
.coverage-card p,
.section-heading p,
.newsletter-panel p,
.site-footer p {
  color: var(--muted);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 1.4rem;
}

.section-heading h2,
.newsletter-panel h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 0.8rem;
}

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

.coverage-card {
  border-radius: var(--radius-lg);
  padding: 1.4rem;
}

.coverage-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.55rem;
  letter-spacing: -0.02em;
}

.newsletter-panel {
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
}

.site-footer {
  padding: 0 0 2rem;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.footer-row a {
  color: var(--primary);
  font-weight: 700;
}

@media (max-width: 960px) {
  .hero-grid,
  .metrics-grid,
  .coverage-grid,
  .newsletter-panel,
  .footer-row {
    grid-template-columns: 1fr;
  }

  .hero-grid,
  .newsletter-panel,
  .footer-row {
    display: grid;
  }

  .hero {
    padding-top: 3rem;
  }

  h1 {
    max-width: 14ch;
  }
}

@media (max-width: 680px) {
  .nav {
    min-height: 72px;
  }

  .brand-text {
    display: none;
  }

  .theme-toggle {
    padding: 0.75rem 0.9rem;
  }

  .hero,
  .section {
    padding-left: 0;
    padding-right: 0;
  }

  h1 {
    font-size: clamp(2.2rem, 12vw, 3rem);
  }

  .brief-card,
  .metric-card,
  .coverage-card,
  .newsletter-panel {
    padding: 1.2rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }
}
