:root {
  --bg: #f6fbf7;
  --bg-2: #e7f6ef;
  --surface: #ffffff;
  --surface-2: #fff7ed;
  --text: #10201c;
  --muted: #52635f;
  --line: #cfe4dc;
  --green: #0f766e;
  --green-dark: #134e4a;
  --orange: #f97316;
  --orange-soft: #ffedd5;
  --blue: #2563eb;
  --red: #b91c1c;
  --shadow: 0 18px 42px rgba(19, 78, 74, .13);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, var(--bg) 0%, #ffffff 46%, var(--bg-2) 100%);
  line-height: 1.65;
}

a {
  color: inherit;
}

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

.skip-link {
  position: absolute;
  left: 18px;
  top: -48px;
  z-index: 40;
  padding: 10px 14px;
  border-radius: 8px;
  color: #fff;
  background: var(--green-dark);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(15, 118, 110, .16);
  background: rgba(246, 251, 247, .94);
  backdrop-filter: blur(14px);
}

.nav-shell,
.hero,
.section,
.content-layout,
.footer-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.nav-shell {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

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

.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 2px solid var(--green-dark);
  border-radius: 8px;
  color: #fff;
  background: var(--green);
  box-shadow: 5px 5px 0 var(--orange-soft);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 4px;
}

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

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.active {
  color: var(--green-dark);
  background: #d9f2e9;
  outline: none;
}

.hero {
  min-height: calc(100dvh - 74px);
  padding-top: 58px;
  padding-bottom: 48px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .86fr);
  align-items: center;
  gap: 42px;
}

.hero.compact {
  min-height: 0;
  padding-top: 48px;
  padding-bottom: 30px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--orange);
  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: 18px;
  max-width: 12ch;
  color: var(--green-dark);
  font-size: clamp(2.35rem, 7vw, 5rem);
}

h2 {
  margin-bottom: 12px;
  color: var(--green-dark);
  font-size: clamp(1.7rem, 4vw, 2.8rem);
}

h3 {
  margin-bottom: 8px;
  color: var(--text);
  font-size: 1.18rem;
}

p {
  margin-top: 0;
}

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

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

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 2px 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(249, 115, 22, .26);
  outline-offset: 2px;
}

.primary {
  color: #fff;
  background: var(--green);
  box-shadow: 6px 6px 0 var(--orange-soft);
}

.secondary {
  color: var(--green-dark);
  border-color: var(--line);
  background: #fff;
}

.hero-card,
.card,
.panel,
.note {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 18px;
}

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

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

.stat {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

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

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

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

.section-heading {
  max-width: 780px;
  margin-bottom: 26px;
}

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

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

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

.card,
.panel {
  padding: 22px;
}

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

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

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

.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;
  background: #fff;
}

.route-table th,
.route-table td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  text-align: left;
}

.route-table th {
  color: #fff;
  background: var(--green-dark);
}

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

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

.status-pill {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.status-pill b {
  display: block;
  margin-bottom: 4px;
  color: var(--green-dark);
}

.warning {
  border-color: #fed7aa;
  background: var(--surface-2);
}

.danger {
  border-color: #fecaca;
  background: #fff1f2;
}

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

.source-list a {
  display: block;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
  background: #fff;
}

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

.source-list a:hover,
.source-list a:focus-visible {
  border-color: var(--green);
  outline: none;
}

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

.video-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #000;
}

.video-frame iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #0f2f2b;
  color: #fff;
}

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

.footer-inner p {
  color: #cde5dd;
}

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

.footer-links a {
  color: #d9f2e9;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a.active {
  color: #fed7aa;
}

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

  .nav-shell {
    min-height: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding-bottom: 2px;
    scrollbar-width: thin;
  }

  .nav-links a {
    flex: 0 0 auto;
    min-height: 36px;
    padding: 0 9px;
  }

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

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

@media (max-width: 520px) {
  .nav-shell,
  .hero,
  .section,
  .content-layout,
  .footer-inner {
    width: min(100% - 28px, 1180px);
  }
}

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