/* ==========================================================================
   Report Zero — core stylesheet
   Layout, typography and shared components used by every page.
   Breakpoints: 1200 (small desktop), 1024 (tablet / nav collapses), 768 (mobile), 480 (small mobile)
   ========================================================================== */

/* Fonts: @font-face rules live in fonts.css (generated by _source/build.py with embedded font data,
   so the site also works when opened straight from disk). */

/* ---------- Tokens ---------- */
:root {
  --green: #3a755f;
  --green-600: #326652;
  --green-700: #2a5544;
  --green-100: #e3eee8;
  --green-50: #f0f6f2;
  --ink: #0e0e0e;
  --text: #4d4d4d;
  --muted: #6e6e6e;
  --line: #e2e2e2;
  --line-strong: #cfcfcf;
  --white: #ffffff;
  --bg-soft: #f7f7f7;
  --bg-card: #f3f3f3;
  --bg-hero: #e7e7e8;
  --bg-hero-2: #f2f2f2;
  --danger: #c0392b;

  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --fs-h1: clamp(2.125rem, 1.35rem + 2.6vw, 3.125rem);   /* 34 → 50 */
  --fs-h2: clamp(1.75rem, 1.35rem + 1.3vw, 2.25rem);     /* 28 → 36 */
  --fs-h3: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);       /* 20 → 24 */
  --fs-h4: clamp(1.0625rem, 1rem + 0.25vw, 1.25rem);     /* 17 → 20 */
  --fs-lead: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;

  --container: 1360px;
  --gutter: clamp(16px, 3.2vw, 40px);
  --section-y: clamp(56px, 4rem + 2vw, 100px);
  --radius-sm: 8px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 20, 0.06), 0 1px 3px rgba(16, 24, 20, 0.08);
  --shadow: 0 10px 30px rgba(16, 24, 20, 0.08);
  --shadow-lg: 0 24px 60px rgba(16, 24, 20, 0.16);
  --header-h: 120px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}
@media (max-width: 1024px) {
  :root { --header-h: 76px; }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.45;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--green); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--green-700); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; color: var(--ink); font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: var(--fs-h1); font-weight: 700; line-height: 1.18; letter-spacing: -0.02em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }
h5 { font-size: 1.0625rem; }
h6 { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
strong, b { font-weight: 700; color: var(--ink); }
a strong, a b { color: inherit; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
:focus-visible { outline: 3px solid rgba(58, 117, 95, .45); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--green); color: #fff; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 1000;
  background: var(--green); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Layout ---------- */
body { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; } /* footer sits at the bottom on short pages */
main { display: block; flex: 1 0 auto; overflow-x: clip; } /* contains slide-in reveal transforms without breaking position: sticky */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(960px + var(--gutter) * 2); }
.container--text { max-width: calc(820px + var(--gutter) * 2); }
.container--wide { max-width: calc(1216px + var(--gutter) * 2); }

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: calc(var(--section-y) * .6); }
.section--flush-top { padding-top: 0; }
.section--flush-bottom { padding-bottom: 0; }
.section--soft { background: var(--bg-soft); }
.section--card { background: var(--bg-card); }
.section--green { background: var(--green); color: rgba(255,255,255,.88); }
.section--green h1, .section--green h2, .section--green h3, .section--green h4 { color: #fff; }
.section--tint { background: linear-gradient(180deg, rgba(224, 236, 218, .45), rgba(238, 233, 234, .55)); }

.section-head { max-width: 920px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head > p { font-size: var(--fs-body); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px;
  font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--green);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.lead { font-size: var(--fs-lead); line-height: 1.45; }
.accent { color: var(--green); }
.text-green { color: var(--green); }
.text-ink { color: var(--ink); }
.text-center { text-align: center; }
.tagline { color: var(--green); font-weight: 600; font-size: var(--fs-h4); line-height: 1.35; margin-top: 1.25em; }
.statement { color: var(--green); font-weight: 500; font-size: clamp(1.0625rem, 1rem + .3vw, 1.125rem); line-height: 1.5; text-align: center; max-width: 1240px; margin-inline: auto; }

/* Stacks & grids */
.stack > * + * { margin-top: var(--stack, 1rem); }
.grid { display: grid; gap: var(--gap, 24px); grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); }
.grid--2 { --cols: 2; }
.grid--3 { --cols: 3; }
.grid--4 { --cols: 4; }
.grid--5 { --cols: 5; }
@media (max-width: 1200px) { .grid--5 { --cols: 3; } }
@media (max-width: 1024px) { .grid--4, .grid--3 { --cols: 2; } }
@media (max-width: 768px)  { .grid--2, .grid--3, .grid--4, .grid--5 { --cols: 1; } .grid--keep-2 { --cols: 2; } }

/* Split: text + media */
.split {
  display: grid; align-items: center; gap: var(--split-gap, clamp(32px, 6vw, 120px));
  grid-template-columns: var(--split-cols, 1fr 1fr);
}
.split--wide-text { --split-cols: 1.25fr 1fr; }
.split--wide-media { --split-cols: 1fr 1.25fr; }
.split--top { align-items: start; }
.split__media img { width: 100%; border-radius: var(--media-radius, 0); }
.split__media--rounded img { --media-radius: var(--radius-lg); }
@media (min-width: 901px) { .split--reverse > .split__media { order: -1; } }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split__media { max-width: 640px; }
  .split--media-first > .split__media { order: -1; }
}

/* ---------- Buttons & links ---------- */
.btn {
  --btn-bg: var(--green); --btn-fg: #fff; --btn-bd: var(--green);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 32px;
  font-size: .9375rem; font-weight: 500; line-height: 1.2; text-align: center;
  color: var(--btn-fg); background: var(--btn-bg); border: 2px solid var(--btn-bd); border-radius: var(--radius);
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { --btn-bg: var(--green-700); --btn-bd: var(--green-700); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(58, 117, 95, .25); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--green); }
.btn--outline:hover { --btn-bg: var(--green); --btn-bd: var(--green); color: #fff; }
.btn--white { --btn-bg: #fff; --btn-fg: var(--green); --btn-bd: #fff; }
.btn--white:hover { --btn-bg: var(--green-50); --btn-bd: var(--green-50); color: var(--green-700); }
.btn--sm { min-height: 44px; padding: 10px 22px; }
.btn--lg { min-height: 58px; padding: 16px 40px; }
.btn--block { display: flex; width: 100%; }
.btn .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover .icon--arrow { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.btn-row--center { justify-content: center; }
@media (max-width: 480px) {
  .btn-row--stack { flex-direction: column; align-items: stretch; }
  .btn-row--stack .btn { width: 100%; }
}

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 500; font-size: 1rem; color: var(--green);
}
.link-arrow .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

.icon { width: 24px; height: 24px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff; /* no backdrop-filter: it would become the containing block of the fixed mobile nav */
  transition: box-shadow .25s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 6px 24px rgba(0, 0, 0, .05); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); transition: height .25s var(--ease); }
.site-header.is-scrolled .site-header__inner { height: calc(var(--header-h) - 24px); }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { width: 156px; height: auto; }
@media (max-width: 1024px) {
  .brand img { width: 112px; }
  .site-header.is-scrolled .site-header__inner { height: var(--header-h); }
}

.nav { display: flex; align-items: center; }
.nav__list { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 43px); margin: 0; padding: 0; list-style: none; }
.nav__link, .nav__toggle {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 0; font-size: 1.125rem; font-weight: 500; color: var(--ink);
  background: none; border: 0; white-space: nowrap;
}
.nav__link::after, .nav__toggle::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; border-radius: 2px;
  background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav__link:hover, .nav__toggle:hover, .nav__link[aria-current="page"], .nav__item--dropdown.is-current > .nav__toggle { color: var(--green); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after, .nav__toggle:hover::after, .nav__item--dropdown.is-current > .nav__toggle::after { transform: scaleX(1); }
.nav__toggle .icon { width: 16px; height: 16px; stroke-width: 2.5; transition: transform .2s var(--ease); }
.nav__item--dropdown { position: relative; }
.nav__dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; min-width: 260px; margin: 0; padding: 10px; list-style: none;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translate(-50%, 6px); transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.nav__dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav__dropdown a { display: block; padding: 11px 14px; border-radius: 8px; color: var(--ink); font-weight: 500; font-size: 1rem; }
.nav__dropdown a:hover, .nav__dropdown a[aria-current="page"] { background: var(--green-50); color: var(--green); }
.nav__item--dropdown.is-open > .nav__dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav__item--dropdown.is-open > .nav__toggle .icon { transform: rotate(180deg); }
@media (hover: hover) and (min-width: 1025px) {
  .nav__item--dropdown:hover > .nav__dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
  .nav__item--dropdown:hover > .nav__toggle .icon { transform: rotate(180deg); }
}
.header-cta { flex: none; }
.header-cta .btn { min-width: 160px; min-height: 49px; padding: 12px 24px; }
.nav__mobile-cta { display: none; }

@media (min-width: 1025px) and (max-width: 1280px) {
  .brand img { width: 132px; }
  .nav__list { gap: 22px; }
  .nav__link, .nav__toggle { font-size: 1rem; }
  .header-cta .btn { min-width: 0; padding-inline: 20px; }
}

.menu-toggle {
  display: none; position: relative; width: 44px; height: 44px; margin-right: -8px; padding: 0;
  background: none; border: 0; border-radius: 8px; color: var(--ink);
}
.menu-toggle span { position: absolute; left: 10px; right: 10px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.menu-toggle span:nth-child(1) { top: 14px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 28px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-backdrop { display: none; }

@media (max-width: 1024px) {
  .menu-toggle { display: block; }
  .header-cta { display: none; }
  .nav {
    position: fixed; top: var(--header-h); right: 0; bottom: 0; z-index: 99;
    width: min(420px, 100%); padding: 16px var(--gutter) calc(24px + env(safe-area-inset-bottom));
    flex-direction: column; align-items: stretch; overflow-y: auto; overscroll-behavior: contain;
    background: #fff; border-top: 1px solid var(--line);
    /* clip-path (not an off-screen transform) so the closed panel never widens the page on phones */
    clip-path: inset(0 0 0 100%); visibility: hidden; transition: clip-path .35s var(--ease), visibility .35s;
  }
  .nav.is-open { clip-path: inset(0); visibility: visible; }
  .nav-backdrop {
    display: block; position: fixed; inset: var(--header-h) 0 0 0; z-index: 98; background: rgba(14, 14, 14, .35);
    opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s;
  }
  .nav-backdrop.is-visible { opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list > li { border-bottom: 1px solid var(--line); }
  .nav__link, .nav__toggle { width: 100%; justify-content: space-between; padding: 18px 4px; font-size: 1.125rem; }
  .nav__link::after, .nav__toggle::after { display: none; }
  .nav__dropdown {
    position: static; min-width: 0; padding: 0 0 12px 12px; border: 0; box-shadow: none; border-radius: 0;
    opacity: 1; visibility: visible; transform: none; display: none;
  }
  .nav__item--dropdown.is-open > .nav__dropdown { display: block; transform: none; }
  .nav__dropdown a { padding: 12px 12px; }
  .nav__mobile-cta { display: block; margin-top: 24px; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(90deg, var(--bg-hero) 0%, var(--bg-hero) 50%, var(--bg-hero-2) 50%, var(--bg-hero-2) 100%);
}
.hero--fade { background: linear-gradient(90deg, var(--bg-hero) 0%, var(--bg-hero) 42%, #f5f5f5 58%, #fff 64%, #fff 100%); }
.hero--plain { background: var(--bg-hero); }
.hero__inner {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center;
  /* Top padding is half the bottom: stacked under a 120px sticky header the
     symmetric version left a very large gap before the headline. */
  gap: clamp(32px, 4vw, 64px); min-height: 520px;
  padding-block: clamp(28px, 3.5vw, 60px) clamp(56px, 7vw, 120px);
}
.hero__inner--single { grid-template-columns: minmax(0, 900px); } /* single column, still aligned to the container's left edge */
.hero h1 { margin-bottom: 0; }
.hero h1 .accent { color: var(--green); }
.hero__sub { margin-top: 24px; font-size: var(--fs-lead); font-weight: 600; color: var(--green); line-height: 1.35; }
.hero__text { margin-top: 24px; max-width: 560px; font-size: 1rem; }
.hero__text--lg { font-size: var(--fs-lead); color: var(--ink); }
.hero .btn-row { margin-top: 40px; }
.hero__media img { width: 100%; }
@media (max-width: 900px) {
  .hero, .hero--fade { background: var(--bg-hero); }
  .hero__inner { grid-template-columns: 1fr; min-height: 0; }
  .hero__media { max-width: 640px; }
}

/* ---------- Cards ---------- */
.card {
  display: flex; flex-direction: column; height: 100%;
  padding: clamp(28px, 3vw, 44px); background: var(--bg-card); border-radius: var(--card-radius, 0);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s var(--ease);
}
.card--white { background: #fff; }
.card--rounded { --card-radius: var(--radius-lg); }
.card--outline { background: #fff; border: 1px solid var(--line); --card-radius: var(--radius-lg); }
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__icon { width: 64px; height: 64px; margin-bottom: 32px; color: var(--green); }
.card__icon .icon { width: 100%; height: 100%; stroke-width: 1.6; }
.card__icon img { width: 100%; height: 100%; object-fit: contain; }
.card__icon--badge { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: var(--green-100); }
.card__icon--badge .icon { width: 28px; height: 28px; }
.card h3 { margin-bottom: 12px; }
.card p { font-size: 1.0625rem; line-height: 1.45; }
.card__footer { margin-top: auto; padding-top: 32px; }
.card--min { min-height: 460px; }
@media (max-width: 768px) { .card--min { min-height: 0; } }

/* ---------- Lists ---------- */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checklist li { position: relative; padding-left: 34px; color: var(--ink); font-weight: 500; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.checklist--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
@media (max-width: 480px) { .checklist--cols { grid-template-columns: 1fr; } }

.dot-list { list-style: none; padding: 0; margin: 0; }
.dot-list li { position: relative; padding: 24px 0 24px 28px; border-bottom: 1px solid var(--line-strong); }
.dot-list li:first-child { padding-top: 0; }
.dot-list li:first-child::before { top: 6px; }
.dot-list li::before { content: ""; position: absolute; left: 0; top: 30px; width: 12px; height: 12px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px var(--green-100); }
.dot-list h4, .dot-list p { margin: 0; }
.dot-list h4 { color: var(--green); font-size: var(--fs-h4); }

.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 28px; }
.feature-list li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.feature-list__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--green-100); color: var(--green); }
.feature-list__icon .icon { width: 22px; height: 22px; }
.feature-list h3, .feature-list h4 { font-size: 1.125rem; margin-bottom: 6px; }
.feature-list p { margin: 0; }

/* Timeline list: dot markers joined by a vertical rule */
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 28px 64px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: 0; top: -6px; width: 48px; height: 48px; border-radius: 50%;
  background: radial-gradient(circle, var(--green) 0 7px, var(--bg-card) 8px);
}
.timeline li:not(:last-child)::after { content: ""; position: absolute; left: 23px; top: 46px; bottom: 0; width: 2px; background: #c9d6ef; }
.timeline h3 { font-size: var(--fs-h3); font-weight: 500; margin-bottom: 8px; }
.timeline p { font-size: .9375rem; margin: 0; max-width: 520px; }

.bullets { padding-left: 1.2em; }
.bullets li { margin-bottom: .5em; }
.bullets li::marker { color: var(--green); }

/* ---------- Steps (Collect → Act) ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--steps, 4), minmax(0, 1fr)); position: relative; }
.steps__item { position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.steps__item:not(:last-child)::after {
  content: ""; position: absolute; top: 40px; left: calc(50% + 56px); right: calc(-50% + 56px);
  height: 3px; border-radius: 3px; background: var(--line-strong);
}
.steps__icon {
  position: relative; z-index: 1; display: grid; place-items: center; width: 80px; height: 80px; border-radius: 50%;
  background: var(--green); color: #fff; box-shadow: 0 10px 24px rgba(58, 117, 95, .3);
  transition: transform .3s var(--ease);
}
.steps__item:hover .steps__icon { transform: scale(1.06); }
.steps__icon img { width: 44px; height: 44px; filter: brightness(0) invert(1); }
.steps__icon .icon { width: 36px; height: 36px; stroke-width: 1.8; }
.steps__label { font-size: 1.25rem; font-weight: 600; color: var(--ink); }
.steps__text { font-size: .9375rem; max-width: 260px; margin: 0; }
@media (max-width: 768px) {
  .steps { --steps: 2; row-gap: 40px; }
  .steps__item::after { display: none; }
}

/* ---------- Accordion (native details) ---------- */
.accordion { display: grid; gap: 12px; }
.accordion__item { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.accordion__item[open] { border-color: rgba(58, 117, 95, .4); box-shadow: var(--shadow-sm); }
.accordion__item > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; cursor: pointer; list-style: none;
  font-size: 1.0625rem; font-weight: 600; color: var(--ink); line-height: 1.35;
}
.accordion__item > summary::-webkit-details-marker { display: none; }
.accordion__item > summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: var(--green-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233a755f' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .25s var(--ease), background-color .2s;
}
.accordion__item[open] > summary::after { transform: rotate(45deg); background-color: var(--green-100); }
.accordion__item > summary:hover { color: var(--green); }
.accordion__body { padding: 0 24px 22px; }
.accordion__body > :last-child { margin-bottom: 0; }
.accordion--flush .accordion__item { border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0; background: transparent; }
.accordion--flush .accordion__item[open] { box-shadow: none; }
.accordion--flush .accordion__item > summary { padding-inline: 0; }
.accordion--flush .accordion__body { padding-inline: 0; }

/* ---------- Tabs ---------- */
.tabs__list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; padding: 6px; background: var(--bg-card); border-radius: 14px; width: fit-content; max-width: 100%; }
.tabs__tab { padding: 12px 20px; border: 0; border-radius: 10px; background: transparent; font-weight: 600; color: var(--text); transition: background-color .2s, color .2s; }
.tabs__tab[aria-selected="true"] { background: #fff; color: var(--green); box-shadow: var(--shadow-sm); }
.tabs__panel[hidden] { display: none; }
@media (max-width: 600px) {
  .tabs__list { width: 100%; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .tabs__tab { flex: none; }
}

/* ---------- Carousel ---------- */
.carousel { position: relative; }
.carousel__track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; -ms-overflow-style: none; overscroll-behavior-x: contain;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__slide { flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; }
.carousel__slide img { width: 100%; }
.carousel__dots { display: flex; justify-content: center; gap: 10px; margin-top: 24px; }
.carousel__dot { width: 11px; height: 11px; padding: 0; border: 0; border-radius: 50%; background: #cfd6d2; transition: background-color .2s, transform .2s; }
.carousel__dot[aria-current="true"] { background: var(--green); transform: scale(1.15); }
.carousel__nav { position: absolute; top: 50%; display: grid; place-items: center; width: 44px; height: 44px; margin-top: -40px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); opacity: 0; transition: opacity .2s; }
.carousel:hover .carousel__nav, .carousel__nav:focus-visible { opacity: 1; }
.carousel__nav--prev { left: 12px; }
.carousel__nav--next { right: 12px; }
.carousel__nav .icon { width: 20px; height: 20px; }
@media (hover: none) { .carousel__nav { display: none; } }

/* ---------- Media / misc ---------- */
.media-frame { border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-card); }
.media-shadow img { filter: drop-shadow(0 18px 40px rgba(16, 24, 20, .12)); }
.panel { background: var(--bg-card); border-radius: var(--radius-xl); padding: clamp(28px, 5vw, 80px) clamp(20px, 6vw, 140px); }
.panel--white { background: #fff; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--green-50); color: var(--green); font-size: .8125rem; font-weight: 600; }
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.pill-list li { padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 500; font-size: .9375rem; }

.cta-band { border-radius: var(--radius-xl); background: var(--green); color: rgba(255,255,255,.9); padding: clamp(36px, 5vw, 72px); display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.cta-band h2 { color: #fff; margin-bottom: 10px; }
@media (max-width: 768px) { .cta-band { grid-template-columns: 1fr; } }

/* Tables (metrics, schedules) */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: 12px; }
.table { width: 100%; border-collapse: collapse; font-size: .9375rem; min-width: 560px; }
.table th, .table td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table th { background: var(--bg-soft); color: var(--ink); font-weight: 600; }
.table tr:last-child td { border-bottom: 0; }

/* ---------- Prose (policies, articles) ---------- */
.prose { color: var(--text); font-size: 1.0625rem; line-height: 1.7; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: clamp(1.5rem, 1.3rem + .8vw, 2rem); margin: 2em 0 .6em; }
.prose h3 { font-size: clamp(1.25rem, 1.15rem + .4vw, 1.5rem); margin: 1.8em 0 .5em; }
.prose h4 { font-size: 1.125rem; margin: 1.6em 0 .5em; }
.prose h2:first-child, .prose h3:first-child, .prose h4:first-child { margin-top: 0; }
.prose p, .prose ul, .prose ol { margin: 0 0 1em; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--green); }
.prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose blockquote { margin: 1.5em 0; padding: 18px 24px; border-left: 4px solid var(--green); background: var(--green-50); border-radius: 0 12px 12px 0; color: var(--ink); }
.prose img { border-radius: 12px; margin: 1.5em 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: .9375rem; display: block; overflow-x: auto; }
.prose th, .prose td { padding: 12px 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { background: var(--bg-soft); color: var(--ink); }
.prose .table-wrap { margin: 1.5em 0; }
.prose .table-wrap > table { display: table; overflow: visible; } /* a wrapped table scrolls via its wrapper, not itself */

/* Page heading for text-only pages */
/* Same top/bottom ratio as .hero__inner — this is the other banner that sits
   directly under the sticky header (category, author, contact, legal). */
.page-title { background: var(--bg-hero); padding-block: clamp(24px, 3vw, 48px) clamp(48px, 6vw, 96px); }
.page-title h1 { margin: 0; }
.page-title p { margin: 16px 0 0; max-width: 760px; font-size: var(--fs-lead); }
.page-title .meta { margin-top: 16px; font-size: .9375rem; color: var(--muted); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; padding: 0; list-style: none; font-size: .875rem; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line-strong); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--green); }

/* ---------- Blog ---------- */
.post-grid { display: grid; gap: 32px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1024px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px)  { .post-grid { grid-template-columns: 1fr; } }
.post-card { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card__media { aspect-ratio: 16 / 10; background: var(--bg-card); overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.post-card__meta { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-bottom: 10px; font-size: .8125rem; color: var(--muted); }
.post-card__meta .cat { color: var(--green); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.post-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.post-card h3 a { color: var(--ink); }
.post-card h3 a::after { content: ""; position: absolute; inset: 0; } /* whole card clickable */
.post-card a:not(h3 a) { position: relative; z-index: 1; } /* other links in the card stay clickable above it */
.post-card { position: relative; }
.post-card p { font-size: .9375rem; }
.post-card .link-arrow { margin-top: auto; padding-top: 12px; font-size: .9375rem; }
.article-hero img { width: 100%; max-height: 520px; object-fit: cover; border-radius: var(--radius-lg); }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; color: var(--muted); font-size: .9375rem; }
.article-meta .cat { color: var(--green); font-weight: 600; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 56px; }
.post-nav a { display: block; padding: 20px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); font-weight: 600; }
.post-nav a span { display: block; margin-bottom: 6px; font-size: .8125rem; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.post-nav a:hover { border-color: var(--green); color: var(--green); }
.post-nav__next { text-align: right; grid-column: 2; }
@media (max-width: 640px) { .post-nav { grid-template-columns: 1fr; } .post-nav__next { grid-column: auto; text-align: left; } }

/* Filter buttons (blog categories etc.) */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.filter-bar button { padding: 10px 20px; border: 1px solid var(--line-strong); border-radius: 999px; background: #fff; color: var(--ink); font-weight: 500; transition: background-color .2s, color .2s, border-color .2s; }
.filter-bar button:hover { border-color: var(--green); color: var(--green); }
.filter-bar button[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; }
[data-category][hidden] { display: none !important; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative; margin-top: 0; padding-top: clamp(64px, 8vw, 120px);
  background: linear-gradient(180deg, rgba(224, 236, 218, .37) 0%, rgba(238, 233, 234, .52) 100%);
  color: var(--text); font-size: .875rem;
}
.footer-grid { display: grid; grid-template-columns: minmax(240px, 1fr) 2.8fr; gap: 64px; }
.footer-brand img { width: 160px; height: auto; margin-bottom: 8px; }
.footer-brand address { font-style: normal; font-weight: 600; color: var(--ink); line-height: 1.55; }
.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer-col h2 { margin: 0 0 16px; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-col a { color: var(--text); display: inline-flex; align-items: center; gap: 10px; word-break: break-word; }
.footer-col a:hover { color: var(--green); }
.footer-col .icon { width: 16px; height: 16px; color: var(--green); }
.footer-bottom { margin-top: 48px; padding-block: 20px 28px; border-top: 1px solid rgba(14, 14, 14, .08); text-align: center; }
.footer-bottom p { margin: 0; }
.footer-bottom .copyright { color: var(--ink); font-size: .8125rem; }
.footer-bottom .disclaimer { margin-top: 6px; font-size: .75rem; color: var(--muted); }
@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 640px)  { .footer-cols { grid-template-columns: 1fr 1fr; } .footer-col--contact { grid-column: 1 / -1; } }
@media (max-width: 400px)  { .footer-cols { grid-template-columns: 1fr; } }

/* ---------- Modal (contact forms) ---------- */
.modal {
  position: fixed; width: min(700px, calc(100% - 24px)); max-width: none; max-height: calc(100dvh - 24px); margin: auto;
  padding: 0; border: 0; border-radius: var(--radius-lg); background: #fff; color: var(--text);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.modal::backdrop { background: rgba(14, 14, 14, .62); }
.modal[open] { animation: modal-in .28s var(--ease); }
.modal[open]::backdrop { animation: fade-in .28s var(--ease); }
@keyframes modal-in { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.modal__close {
  position: absolute; top: 10px; right: 10px; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px;
  border: 0; border-radius: 50%; background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); transition: background-color .2s, color .2s;
}
.modal__close:hover { background: var(--green-100); color: var(--green); }
.modal__close .icon { width: 20px; height: 20px; }
.modal__body { position: relative; max-height: calc(100dvh - 24px); overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.modal__frame { width: 100%; height: 760px; border: 0; }
.modal__status { display: grid; place-items: center; gap: 14px; min-height: 320px; padding: 56px 28px 40px; text-align: center; }
.modal__status[hidden] { display: none; }
.spinner { width: 36px; height: 36px; border: 3px solid var(--green-100); border-top-color: var(--green); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.modal__fallback p { margin: 0 0 8px; }
.modal__fallback .btn-row { justify-content: center; margin-top: 16px; }
body.modal-open { overflow: hidden; }

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--reveal-delay, 0s); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="left"] { transform: translateX(-28px); }
.js [data-reveal="right"] { transform: translateX(28px); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* Back to top */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 90; display: grid; place-items: center;
  width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--green); color: #fff; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s, transform .25s, visibility .25s, background-color .2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--green-700); }
.to-top .icon { width: 20px; height: 20px; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0 !important; } .mb-0 { margin-bottom: 0 !important; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; } .mt-5 { margin-top: 48px; } .mt-6 { margin-top: 64px; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; } .mb-4 { margin-bottom: 32px; } .mb-5 { margin-bottom: 48px; }
.max-w-sm { max-width: 560px; } .max-w-md { max-width: 720px; } .max-w-lg { max-width: 920px; }
.mx-auto { margin-inline: auto; }
.w-100 { width: 100%; }
@media (max-width: 768px) { .hide-mobile { display: none !important; } }
@media (min-width: 769px) { .show-mobile { display: none !important; } }

/* ---------- Motion & print ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
@media print {
  .site-header, .site-footer, .to-top, .modal, .menu-toggle { display: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  body { color: #000; }
}
