:root {
  --bg: #08141a;
  --bg-elevated: #10222b;
  --bg-soft: #122d38;
  --surface: rgba(14, 28, 36, 0.78);
  --surface-strong: rgba(18, 40, 51, 0.92);
  --border: rgba(120, 182, 182, 0.2);
  --text: #edf6f3;
  --muted: #a3c0bf;
  --accent: #4dc897;
  --accent-strong: #89f0bf;
  --accent-warm: #f1bf54;
  --danger: #f06e52;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.32);
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(77, 200, 151, 0.18), transparent 36%),
    radial-gradient(circle at top right, rgba(241, 191, 84, 0.12), transparent 30%),
    linear-gradient(180deg, #071116 0%, #0a181f 40%, #08141a 100%);
  color: var(--text);
  line-height: 1.65;
}

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

img {
  display: block;
  max-width: 100%;
}

.shell {
  width: min(100% - 32px, var(--content));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(6, 14, 18, 0.78);
  border-bottom: 1px solid var(--border);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(77, 200, 151, 0.22), rgba(77, 200, 151, 0.06));
  border: 1px solid rgba(137, 240, 191, 0.2);
  color: var(--accent-strong);
  font-size: 18px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.nav a {
  color: var(--muted);
  font-size: 14px;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--text);
}

a:focus-visible {
  outline: 2px solid var(--accent-strong);
  outline-offset: 3px;
  border-radius: 6px;
}

.hero {
  padding: 56px 0 30px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: stretch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(77, 200, 151, 0.08);
  color: var(--accent-strong);
  border: 1px solid rgba(77, 200, 151, 0.14);
  font-size: 13px;
}

.hero-copy h1,
.page-hero h1 {
  margin: 18px 0 14px;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.04;
}

.hero-copy p,
.page-hero p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 18px;
  max-width: 62ch;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 600;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

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

.button.primary {
  background: linear-gradient(135deg, var(--accent), #2f946e);
  color: #06110d;
}

.button.secondary {
  border: 1px solid rgba(137, 240, 191, 0.2);
  background: rgba(77, 200, 151, 0.08);
  color: var(--text);
}

.button.ghost {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.stat {
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.stat strong {
  display: block;
  font-size: 24px;
  margin-bottom: 4px;
}

.hero-card,
.panel,
.guide-card,
.faq,
.timeline-item,
.resource-item {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.linked-card {
  position: relative;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.card-link {
  position: static;
  z-index: 1;
}

.card-link::after {
  content: "";
  position: absolute;
  inset: 0;
}

.linked-card:hover {
  transform: translateY(-1px);
  border-color: rgba(137, 240, 191, 0.34);
  background: rgba(18, 40, 51, 0.98);
}

.linked-card:focus-within {
  border-color: rgba(137, 240, 191, 0.44);
}

.hero-card {
  overflow: hidden;
}

.hero-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero-card-body {
  padding: 18px;
}

.hero-card-body h2 {
  margin: 0 0 10px;
  font-size: 24px;
}

.hero-card-body p {
  margin: 0;
  color: var(--muted);
}

.section {
  padding: 30px 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 40px);
}

.section-head p {
  margin: 0;
  max-width: 60ch;
  color: var(--muted);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.category-grid,
.official-grid {
  align-items: stretch;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.guide-card,
.panel,
.faq,
.timeline-item,
.resource-item {
  padding: 20px;
}

.guide-card .kicker,
.resource-item .kicker,
.timeline-item .kicker,
.panel .kicker {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--accent-strong);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.guide-card h3,
.resource-item h3,
.timeline-item h3,
.panel h3,
.faq h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.guide-card p,
.resource-item p,
.timeline-item p,
.panel p,
.faq p,
li {
  color: var(--muted);
}

.guide-card ul,
.panel ul {
  margin: 14px 0 0;
  padding-left: 18px;
}

.info-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
}

.resource-list,
.timeline {
  display: grid;
  gap: 16px;
}

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

.quote {
  padding: 18px;
  border-left: 3px solid var(--accent);
  background: rgba(77, 200, 151, 0.08);
  border-radius: 0 8px 8px 0;
  color: var(--muted);
}

.footer {
  padding: 38px 0 60px;
  color: var(--muted);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.page-hero {
  padding: 48px 0 18px;
}

.page-hero .shell {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 20px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.pill {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
}

.verify-stamp {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  font-size: 13px;
}
.verify-stamp a {
  color: var(--accent, #7dd3fc);
}
.verify-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.18);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 980px) {
  .hero-grid,
  .info-grid,
  .page-hero .shell,
  .footer-inner,
  .guide-grid,
  .card-grid,
  .faq-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .shell {
    width: min(100% - 20px, var(--content));
  }

  .topbar-inner {
    min-height: auto;
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 0 14px;
  }

  .nav {
    width: 100%;
    gap: 10px 12px;
  }

  .nav a {
    font-size: 13px;
    padding: 11px 0;
  }

  .footer-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .hero {
    padding-top: 34px;
  }

  .hero-copy h1,
  .page-hero h1 {
    font-size: 34px;
  }

  .hero-copy p,
  .page-hero p {
    font-size: 16px;
  }

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