:root {
  --ink: #172018;
  --muted: #5f6f62;
  --line: #dce6d7;
  --paper: #fbfbf4;
  --panel: #ffffff;
  --mint: #dff5df;
  --green: #0f8b62;
  --green-dark: #0b533f;
  --amber: #f4bb44;
  --blue: #2f6f9f;
  --shadow: 0 18px 42px rgba(39, 67, 46, .10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 72px);
  background: rgba(251, 251, 244, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--green), var(--blue));
  border-radius: 14px;
  font-weight: 900;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav a {
  padding: 10px 13px;
  color: #344338;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
}

.main-nav a:hover,
.main-nav .nav-contact {
  background: #ecf5e9;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero,
.content-band,
.timeline-section,
.advice-section,
.cta-band,
.page-hero,
.page-content,
.site-footer {
  width: min(1120px, calc(100% - 36px));
  margin-inline: auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .72fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
  padding: clamp(56px, 9vw, 116px) 0 54px;
}

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

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

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(46px, 7vw, 88px);
  line-height: .95;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  font-size: 20px;
  line-height: 1.18;
}

.hero-lede {
  max-width: 670px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 850;
}

.button.primary {
  color: #fff;
  background: var(--green-dark);
  box-shadow: 0 12px 24px rgba(15, 83, 63, .16);
}

.button.quiet {
  color: var(--green-dark);
  background: #eef8ed;
  border-color: #d3e8d0;
}

.gateway-panel {
  position: relative;
  overflow: hidden;
  padding: 28px;
  background: linear-gradient(180deg, #fff, #f1f8ee);
  border: 1px solid #d7e4d2;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.gateway-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 8px;
  background: linear-gradient(90deg, var(--green), var(--amber), var(--blue));
}

.panel-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.panel-head span,
.panel-head small,
.flow-steps small {
  color: var(--muted);
}

.panel-head strong {
  font-size: 34px;
  line-height: 1;
}

.flow-steps {
  display: grid;
  gap: 14px;
  margin: 22px 0;
  padding: 0;
  list-style: none;
}

.flow-steps li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.flow-steps span {
  grid-row: span 2;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: var(--green-dark);
  background: var(--mint);
  border-radius: 50%;
  font-weight: 900;
}

.flow-steps b,
.flow-steps small {
  display: block;
}

.method-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.method-strip span {
  padding: 9px 8px;
  text-align: center;
  background: #153d33;
  color: #fff;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.content-band,
.timeline-section,
.advice-section,
.cta-band,
.page-content {
  padding: clamp(42px, 7vw, 76px) 0;
  border-top: 1px solid var(--line);
}

.intro-band {
  border-top: 0;
}

.split {
  display: grid;
  grid-template-columns: .85fr 1fr;
  gap: clamp(24px, 5vw, 62px);
}

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

blockquote {
  margin: 22px 0 0;
  padding-left: 18px;
  color: #304939;
  border-left: 4px solid var(--amber);
  font-size: 18px;
  font-weight: 750;
}

.section-heading,
.service-matrix-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 30px;
}

.section-heading {
  align-items: start;
}

.section-heading p {
  max-width: 470px;
  color: var(--muted);
}

.section-heading.compact {
  display: block;
}

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

.actor-grid article,
.card-grid article,
.coverage-card,
.faq-card {
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.actor-grid article:hover,
.card-grid article:hover,
.coverage-card:hover,
.faq-card:hover {
  transform: translateY(-3px);
  border-color: #b6d7b4;
  box-shadow: 0 12px 28px rgba(45, 71, 49, .08);
}

.actor-grid span,
.coverage-card span {
  display: inline-flex;
  margin-bottom: 20px;
  padding: 6px 10px;
  color: var(--green-dark);
  background: var(--mint);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.actor-grid p,
.card-grid p,
.coverage-card p,
.faq-card p,
.page-content p,
.page-content li {
  color: var(--muted);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.timeline div {
  min-height: 210px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.timeline div:last-child {
  border-right: 0;
}

.timeline b {
  display: block;
  margin-bottom: 12px;
  color: var(--green-dark);
}

.service-matrix-header a {
  color: var(--green-dark);
  font-weight: 850;
}

.service-matrix-table {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.table-row {
  display: grid;
  grid-template-columns: .7fr 1fr 1fr;
  border-top: 1px solid var(--line);
}

.table-row:first-child {
  border-top: 0;
}

.table-row span {
  padding: 18px;
}

.table-row span:not(:last-child) {
  border-right: 1px solid var(--line);
}

.table-head {
  background: #edf6e8;
  font-weight: 900;
}

.advice-section {
  display: grid;
  grid-template-columns: .8fr 1fr;
  gap: 48px;
}

.advice-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.advice-list li {
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.cta-band {
  margin-bottom: 56px;
  padding: clamp(36px, 5vw, 58px);
  text-align: center;
  background: #153d33;
  color: #fff;
  border-radius: 8px;
}

.cta-band .section-kicker {
  color: #9fe7bb;
}

.page-hero {
  padding: clamp(48px, 8vw, 88px) 0 36px;
}

.page-hero h1 {
  max-width: 900px;
  font-size: clamp(42px, 6vw, 72px);
}

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

.page-content {
  display: grid;
  gap: 28px;
}

.article-panel {
  padding: clamp(24px, 4vw, 42px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.article-panel h2 {
  font-size: clamp(26px, 3vw, 38px);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-layout {
  display: grid;
  grid-template-columns: .72fr 1fr;
  gap: 28px;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

label span {
  display: block;
  margin-bottom: 7px;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  background: #fbfff9;
  border: 1px solid #cddcca;
  border-radius: 8px;
  font: inherit;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.form-status {
  min-height: 26px;
  margin: 0;
  font-weight: 800;
}

.form-status.success {
  color: var(--green);
}

.form-status.error {
  color: #9d3d25;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-card button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0;
  text-align: left;
  background: transparent;
  border: 0;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.faq-card i {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: #fff;
  background: var(--green-dark);
  border-radius: 50%;
  font-style: normal;
}

.faq-card p {
  display: none;
  margin: 18px 0 0;
}

.faq-card.active p {
  display: block;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 36px;
  padding: 36px 0 42px;
  border-top: 1px solid var(--line);
}

.site-footer p {
  max-width: 520px;
  color: var(--muted);
}

.site-footer nav {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 10px 20px;
}

.site-footer nav a {
  color: #415045;
  font-weight: 750;
}

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

  .main-nav {
    position: absolute;
    inset: 75px 18px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: flex;
  }

  .hero,
  .split,
  .section-heading,
  .service-matrix-header,
  .advice-section,
  .contact-layout,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .service-matrix-header {
    display: block;
  }

  .gateway-panel {
    min-width: 0;
  }

  .actor-grid,
  .card-grid,
  .coverage-grid,
  .timeline,
  .two-col {
    grid-template-columns: 1fr 1fr;
  }

  .timeline div:nth-child(2n) {
    border-right: 0;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding-inline: 16px;
  }

  .brand span:last-child {
    max-width: 210px;
  }

  .hero,
  .content-band,
  .timeline-section,
  .advice-section,
  .cta-band,
  .page-hero,
  .page-content,
  .site-footer {
    width: min(100% - 28px, 1120px);
  }

  .actor-grid,
  .card-grid,
  .coverage-grid,
  .timeline,
  .two-col,
  .form-grid,
  .table-row,
  .method-strip {
    grid-template-columns: 1fr;
  }

  .timeline div,
  .table-row span {
    border-right: 0;
  }

  .table-row span {
    border-top: 1px solid var(--line);
  }

  .table-row span:first-child {
    border-top: 0;
  }

  .site-footer nav {
    grid-template-columns: 1fr;
  }
}
