:root {
  --bg: #0e1117;
  --bg-2: #151b24;
  --panel: #1f2937;
  --panel-2: #101826;
  --text: #f8fafc;
  --muted: #b6c2d0;
  --line: #354152;
  --lemon: #facc15;
  --leaf: #16a34a;
  --blue: #38bdf8;
  --rose: #fb7185;
  --violet: #a78bfa;
  --shadow: 0 20px 60px rgba(0, 0, 0, .35);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Nunito, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 15% 0%, rgba(250, 204, 21, .12), transparent 28rem),
    radial-gradient(circle at 84% 8%, rgba(56, 189, 248, .12), transparent 30rem),
    linear-gradient(180deg, #0e1117 0%, #121823 44%, #0f172a 100%);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
}

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

.skip-link {
  position: absolute;
  top: -44px;
  left: 16px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--lemon);
  color: #111827;
  z-index: 40;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(148, 163, 184, .18);
  background: rgba(14, 17, 23, .88);
  backdrop-filter: blur(16px);
}

.nav-shell {
  max-width: 1180px;
  margin: 0 auto;
  min-height: 72px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 900;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #111827;
  background: linear-gradient(135deg, var(--lemon), #f97316);
  box-shadow: 0 0 28px rgba(250, 204, 21, .28);
}

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

.nav-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 8px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 800;
  transition: background .18s ease, color .18s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.active {
  background: rgba(250, 204, 21, .12);
  color: var(--text);
  outline: none;
}

main {
  overflow: hidden;
}

.hero,
.section,
.content-layout,
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 22px;
  padding-right: 22px;
}

.hero {
  min-height: calc(100dvh - 72px);
  padding-top: 72px;
  padding-bottom: 56px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, .98fr);
  align-items: center;
  gap: 44px;
}

.hero.compact {
  min-height: 0;
  padding-top: 58px;
  padding-bottom: 36px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--lemon);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(2.45rem, 8vw, 5.4rem);
  max-width: 10ch;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 3rem);
  margin-bottom: 14px;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

p {
  margin-top: 0;
}

.lede {
  max-width: 660px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
}

.hero-actions,
.button-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: 3px solid rgba(250, 204, 21, .28);
  outline-offset: 2px;
}

.primary {
  background: var(--lemon);
  color: #111827;
  box-shadow: 0 14px 32px rgba(250, 204, 21, .22);
}

.secondary {
  border-color: rgba(248, 250, 252, .18);
  color: var(--text);
  background: rgba(255, 255, 255, .05);
}

.hero-card {
  padding: 20px;
  border: 1px solid rgba(148, 163, 184, .2);
  border-radius: 8px;
  background: rgba(15, 23, 42, .74);
  box-shadow: var(--shadow);
}

.hero-card figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: .95rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 30px;
}

.stat {
  padding: 14px;
  border: 1px solid rgba(148, 163, 184, .18);
  border-radius: 8px;
  background: rgba(15, 23, 42, .72);
}

.stat strong {
  display: block;
  color: var(--text);
}

.stat span {
  color: var(--muted);
  font-size: .92rem;
}

.section {
  padding-top: 58px;
  padding-bottom: 58px;
}

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

.section-heading p {
  color: var(--muted);
}

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

.card,
.panel,
.note {
  border: 1px solid rgba(148, 163, 184, .18);
  border-radius: 8px;
  background: rgba(15, 23, 42, .72);
  box-shadow: 0 12px 36px rgba(0, 0, 0, .18);
}

.card {
  padding: 20px;
}

.card p,
.panel p,
.note p,
li {
  color: var(--muted);
}

.card-kicker {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--lemon);
  font-size: .76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.text-link {
  color: var(--lemon);
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 22px;
  padding-top: 36px;
  padding-bottom: 58px;
}

.panel {
  padding: 26px;
}

.panel h2 {
  font-size: 1.65rem;
}

.check-list,
.number-list {
  padding-left: 1.2rem;
  margin-bottom: 0;
}

.check-list li,
.number-list li {
  margin-bottom: 10px;
}

.route-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 8px;
}

.route-table th,
.route-table td {
  padding: 14px;
  border-bottom: 1px solid rgba(148, 163, 184, .16);
  vertical-align: top;
  text-align: left;
}

.route-table th {
  color: #111827;
  background: var(--lemon);
}

.route-table td {
  color: var(--muted);
}

.status-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.status-pill {
  padding: 14px;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, .18);
  background: rgba(255, 255, 255, .04);
}

.status-pill b {
  display: block;
  margin-bottom: 4px;
}

.source-list {
  display: grid;
  gap: 12px;
}

.source-list a {
  display: block;
  padding: 14px;
  border: 1px solid rgba(148, 163, 184, .18);
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
  background: rgba(255, 255, 255, .04);
}

.source-list a span {
  display: block;
  color: var(--muted);
  font-size: .92rem;
}

.source-list a:hover,
.source-list a:focus-visible {
  border-color: rgba(250, 204, 21, .55);
  outline: none;
}

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

.warning {
  border-color: rgba(250, 204, 21, .42);
  background: rgba(250, 204, 21, .08);
}

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, .18);
  background: #0b1018;
}

.footer-inner {
  padding-top: 34px;
  padding-bottom: 34px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 24px;
}

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

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--lemon);
}

@media (max-width: 860px) {
  .nav-shell,
  .hero,
  .content-layout,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .nav-shell {
    align-items: flex-start;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .hero {
    min-height: 0;
    padding-top: 44px;
  }

  .grid,
  .stats,
  .status-strip,
  .callout-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
