:root {
  --ink: #151816;
  --muted: #68716c;
  --line: #e6ebe7;
  --soft: #f7faf8;
  --white: #ffffff;
  --green: #17b978;
  --green-dark: #0d7f55;
  --red: #d83232;
  --red-dark: #b91f1f;
  --blue: #276ef1;
  --amber: #d7932d;
  --shadow: 0 16px 42px rgba(21, 24, 22, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

button {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  padding: 12px clamp(18px, 5vw, 64px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--white);
  background: var(--green);
  border-radius: 8px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

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

.nav-cta {
  color: var(--white) !important;
  background: var(--ink);
  padding: 10px 15px;
  border-radius: 8px;
}

.menu-button {
  display: none;
  width: 40px;
  height: 40px;
  padding: 9px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.menu-button span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

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

h1 {
  max-width: 920px;
  margin-bottom: 22px;
  font-size: clamp(38px, 6.4vw, 76px);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  max-width: 780px;
  margin-bottom: 0;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.08;
}

h3 {
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 1.28;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--green-dark);
}

.hero {
  padding: 82px clamp(18px, 5vw, 64px);
  background:
    linear-gradient(90deg, rgba(23, 185, 120, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(23, 185, 120, 0.08) 1px, transparent 1px),
    var(--soft);
  background-size: 42px 42px;
}

.hero-bg {
  display: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: clamp(30px, 6vw, 74px);
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}

.hero-text {
  max-width: 680px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 900;
}

.button.primary {
  color: var(--white);
  background: var(--red);
  box-shadow: 0 12px 28px rgba(216, 50, 50, 0.18);
}

.button.secondary {
  color: var(--red);
  border: 2px solid rgba(216, 50, 50, 0.72);
  background: var(--white);
}

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

.button.secondary:hover {
  border-color: var(--red);
  background: #fff6f6;
}

.hero-panel {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.panel-top,
.route-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.panel-top {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 13px;
}

.status {
  color: var(--green-dark);
  font-weight: 900;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.metric-grid div,
.route-card {
  min-height: 94px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.metric-grid strong {
  display: block;
  color: var(--ink);
  font-size: 30px;
  line-height: 1;
}

.metric-grid span,
.route-card .label {
  color: var(--muted);
  font-size: 13px;
}

.route-card {
  min-height: 86px;
  margin-top: 10px;
}

.route-card strong {
  display: block;
  margin-top: 6px;
}

.arrow {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: var(--white);
  background: var(--green-dark);
  border-radius: 8px;
  font-weight: 900;
}

.section,
.content-section {
  padding: 76px clamp(18px, 5vw, 64px);
}

.section-heading,
.quick-grid,
.resource-grid,
.guide-list,
.faq-list,
.content-grid,
.next-links {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.section-heading {
  margin-bottom: 34px;
}

.intro,
.faq,
.content-section {
  background: var(--white);
}

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

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

.quick-grid a {
  display: block;
  min-height: 188px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.quick-grid a:hover {
  border-color: rgba(216, 50, 50, 0.28);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.quick-grid span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--red);
  font-weight: 900;
}

.quick-grid p {
  color: var(--muted);
}

.resource-card,
.content-card,
.faq-list details,
.guide-list article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.resource-card {
  min-height: 220px;
  padding: 22px;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.resource-card:hover {
  border-color: rgba(13, 127, 85, 0.34);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.card-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  margin-bottom: 22px;
  color: var(--green-dark);
  background: #e9f8f1;
  border-radius: 8px;
  font-weight: 900;
}

.resource-card p,
.guide-list p,
.faq-list p,
.content-card p,
.footer p {
  color: var(--muted);
}

.guide-band {
  color: var(--ink);
  background: var(--soft);
}

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

.guide-list.why-list {
  grid-template-columns: repeat(4, 1fr);
}

.guide-list article {
  min-height: 210px;
  padding: 22px;
}

.guide-list span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.faq-list {
  display: grid;
  gap: 10px;
  max-width: 860px;
}

.faq-list details {
  padding: 18px 20px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 900;
}

.faq-list p {
  margin: 12px 0 0;
}

.page-hero {
  padding: 78px clamp(18px, 5vw, 64px);
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.page-hero-inner {
  max-width: 980px;
  margin: 0 auto;
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
}

.content-section {
  background: var(--white);
}

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

.content-card {
  padding: 24px;
}

.content-card h2 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.18;
}

.next-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.next-links a {
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  padding: 11px 14px;
  font-weight: 900;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 38px clamp(18px, 5vw, 64px);
  color: var(--muted);
  background: var(--soft);
  border-top: 1px solid var(--line);
}

.footer strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-weight: 800;
}

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

@media (max-width: 920px) {
  .menu-button {
    display: block;
  }

  .nav {
    position: absolute;
    top: 70px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 12px;
  }

  .nav-cta {
    text-align: center;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    max-width: 620px;
  }

  .resource-grid,
  .quick-grid,
  .guide-list,
  .guide-list.why-list,
  .content-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .hero-actions,
  .footer {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .next-links a {
    width: 100%;
  }

  .resource-grid,
  .quick-grid,
  .guide-list,
  .guide-list.why-list,
  .content-grid,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .section,
  .content-section,
  .hero,
  .page-hero {
    padding-top: 58px;
    padding-bottom: 58px;
  }
}
