/* ==========================================================================
   Adentra AI — style.css
   Design tokens + base + components + sections (mobile-first, 375px baseline)
   Breakpoint overrides live in responsive.css; motion in animations.css.
   ========================================================================== */

/* ---------- 0. Self-hosted fonts (latin subsets, variable) ---------- */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../assets/fonts/fraunces-latin-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../assets/fonts/inter-latin-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- 1. Design tokens ---------- */
:root {
  /* Core palette */
  --forest-900: #0F3D2E;
  --forest-800: #134A38;
  --emerald-600: #1E8A5F;
  --emerald-500: #25A06E;
  --sage-400: #8FAE97;
  --sage-100: #E4EDE5;
  --warm-white: #FAF8F2;
  --white: #FFFFFF;
  --charcoal-900: #1E2621;
  --charcoal-600: #4A544D;
  --charcoal-300: #D7DAD3;
  --gold-500: #C6A15B;
  --gold-100: #F3EAD6;

  /* Semantic */
  --bg-page: var(--warm-white);
  --bg-elevated: var(--white);
  --bg-inverse: var(--forest-900);
  --text-primary: var(--charcoal-900);
  --text-secondary: var(--charcoal-600);
  --text-on-dark: #EFF3EC;
  --text-on-dark-muted: #A9BBAE;
  --action-primary: var(--forest-900);
  --action-secondary: var(--emerald-600);
  --focus-ring: var(--emerald-500);
  --border-subtle: var(--charcoal-300);
  --success: #25A06E;
  --error: #B4462F;

  /* Type */
  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Inter", -apple-system, "Segoe UI", sans-serif;

  /* Radius */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  /* Elevation — soft, green-tinted */
  --shadow-sm: 0 1px 2px rgba(15,61,46,0.05), 0 1px 3px rgba(15,61,46,0.06);
  --shadow-md: 0 4px 12px rgba(15,61,46,0.06), 0 2px 4px rgba(15,61,46,0.04);
  --shadow-lg: 0 16px 40px rgba(15,61,46,0.10), 0 4px 12px rgba(15,61,46,0.05);
  --shadow-float: 0 24px 60px rgba(15,61,46,0.14);

  /* Motion */
  --ease-out-gentle: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 150ms;
  --dur-med: 250ms;
  --dur-slow: 450ms;

  /* Layout */
  --nav-height: 72px;
  --section-pad: 72px;   /* mobile; 128px on desktop via responsive.css */
  --side-pad: 24px;

  /* Topographic contour texture (sage, very low opacity) */
  --topo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='560' height='400' viewBox='0 0 560 400' fill='none' stroke='%238FAE97' stroke-width='1'%3E%3Cpath d='M60 200c0-60 70-100 150-100s160 30 160 90-60 110-150 110S60 260 60 200Z' opacity='.30'/%3E%3Cpath d='M100 200c0-42 50-72 112-72s118 22 118 64-44 80-110 80-120-30-120-72Z' opacity='.26'/%3E%3Cpath d='M140 198c0-27 33-46 74-46s76 15 76 42-29 52-72 52-78-21-78-48Z' opacity='.22'/%3E%3Cpath d='M180 197c0-14 17-24 37-24s38 8 38 22-15 26-36 26-39-10-39-24Z' opacity='.18'/%3E%3Cpath d='M-40 40c80-30 180-20 260 10s200 40 300 10' opacity='.20' stroke-dasharray='1 7' stroke-width='2'/%3E%3Cpath d='M-40 360c90 20 190 0 270-30s210-30 310 0' opacity='.20' stroke-dasharray='1 7' stroke-width='2'/%3E%3C/svg%3E");
}

/* ---------- 2. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-page);
  -webkit-font-smoothing: antialiased;
}

img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--action-secondary); }

::selection { background: var(--sage-100); color: var(--forest-900); }

/* Focus — 3px emerald ring, mandatory everywhere */
:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
  border-radius: 4px;
}

.sr-only {
  position: absolute; 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; top: -100px; left: 16px; z-index: 200;
  padding: 12px 20px;
  background: var(--forest-900); color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 600; text-decoration: none;
  transition: top var(--dur-fast) ease-out;
}
.skip-link:focus { top: 12px; }

/* ---------- 3. Typography scale (mobile values; desktop in responsive.css) ---------- */
.h1, .hero__title {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-size: 40px; font-weight: 520;
  line-height: 1.04; letter-spacing: -0.02em;
}
.h2 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-size: 30px; font-weight: 500;
  line-height: 1.1; letter-spacing: -0.015em;
}
.h3 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-size: 24px; font-weight: 500;
  line-height: 1.15; letter-spacing: -0.01em;
}
.h4 {
  font-family: var(--font-body);
  font-size: 20px; font-weight: 600;
  line-height: 1.3; letter-spacing: -0.005em;
}
.body-lg { font-size: 18px; line-height: 1.55; }
.small  { font-size: 14px; line-height: 1.55; }
.eyebrow {
  font-size: 13px; font-weight: 600;
  line-height: 1.4; letter-spacing: 0.10em;
  text-transform: uppercase;
}

.text-secondary { color: var(--text-secondary); }
.text-center { text-align: center; }

/* Gold — used at most 3–4 times on the page */
.gold-underline {
  background-image: linear-gradient(var(--gold-500), var(--gold-500));
  background-repeat: no-repeat;
  background-size: 100% 0.09em;
  background-position: 0 96%;
}

/* ---------- 4. Layout primitives ---------- */
.container {
  width: 100%;
  max-width: 1248px; /* 1200px content + side padding */
  margin: 0 auto;
  padding-left: var(--side-pad);
  padding-right: var(--side-pad);
}

.section { padding: var(--section-pad) 0; }
.section--tint { background: var(--sage-100); }
.section--dark {
  background: linear-gradient(160deg, var(--forest-900), var(--forest-800));
  color: var(--text-on-dark);
}

.narrow-col { max-width: 720px; margin: 0 auto; }
.narrow-col > * + * { margin-top: 24px; }
.narrow-col .h2 { margin-bottom: 8px; }

/* Measure cap for body copy */
p { max-width: 34em; }
.narrow-col p { margin-left: auto; margin-right: auto; }

/* ---------- 5. Icons ---------- */
.icon {
  width: 24px; height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* Two-tone icon tile: emerald glyph in a sage square */
.icon-tile {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  background: var(--sage-100);
  color: var(--emerald-600);
}
.icon-tile--dark { background: rgba(228, 237, 229, 0.14); color: var(--emerald-500); }
.icon-tile--gold {
  background: var(--gold-100);
  color: var(--gold-500);
  border: 1px solid var(--gold-500);
}

/* ---------- 6. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px;
  padding: 0 28px;
  border: none; border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 16px; font-weight: 600; letter-spacing: 0.01em; line-height: 1;
  text-decoration: none; cursor: pointer;
  transition: background-color var(--dur-fast) ease-out,
              color var(--dur-fast) ease-out,
              border-color var(--dur-fast) ease-out,
              box-shadow var(--dur-fast) ease-out,
              transform var(--dur-fast) ease-out;
}
.btn--primary { background: var(--action-primary); color: #fff; }
.btn--primary:hover { background: var(--forest-800); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn--secondary {
  background: transparent; color: var(--forest-900);
  border: 1.5px solid var(--charcoal-300);
}
.btn--secondary:hover { border-color: var(--emerald-600); color: var(--emerald-600); }

.btn--on-dark { background: #fff; color: var(--forest-900); }
.btn--on-dark:hover { background: var(--sage-100); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn--block { width: 100%; }
.btn--lg { min-height: 52px; }
.btn[disabled] { opacity: 0.65; cursor: default; transform: none; }

.icon--arrow { width: 18px; height: 18px; transition: transform var(--dur-fast) ease-out; }
.btn:hover .icon--arrow { transform: translateX(3px); }

/* ---------- 7. Cards ---------- */
.card {
  background: var(--bg-elevated);
  border: 1px solid rgba(215, 218, 211, 0.6);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 24px;
}

/* ---------- 8. Eyebrow chip ---------- */
.eyebrow-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--sage-100);
  color: var(--emerald-600);
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.10em; text-transform: uppercase;
  line-height: 1.4;
}
.eyebrow-chip__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: currentColor;
}
.text-center-chip { position: relative; left: 50%; transform: translateX(-50%); }

/* ---------- 9. Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-height);
  background: rgba(250, 248, 242, 0.88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-med) ease-out;
}
.nav--scrolled { border-bottom-color: var(--charcoal-300); }

.nav__inner {
  height: var(--nav-height);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav__brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-size: 24px; font-weight: 560;
  color: var(--forest-900);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.nav__mark { width: auto; height: 36px; }
.nav__links { display: none; }  /* desktop only */
.nav__links a {
  font-size: 16px; font-weight: 500;
  color: var(--charcoal-600); text-decoration: none;
  padding: 8px 4px;
  background-image: linear-gradient(var(--emerald-600), var(--emerald-600));
  background-repeat: no-repeat;
  background-size: 0 2px;
  background-position: 4px calc(100% - 4px);
  transition: color var(--dur-fast) ease-out, background-size var(--dur-med) var(--ease-out-gentle);
}
.nav__links a:hover { color: var(--forest-900); background-size: calc(100% - 8px) 2px; }
.nav__cta { display: none; }    /* desktop only */

.nav__toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  margin-right: -8px;
  background: none; border: none; cursor: pointer;
  color: var(--forest-900);
}
.nav__toggle .icon--close { display: none; }
.nav--open .nav__toggle .icon--menu { display: none; }
.nav--open .nav__toggle .icon--close { display: block; }

/* Mobile menu sheet */
.mobile-menu[hidden] { display: none; }
.mobile-menu {
  position: fixed;
  top: var(--nav-height); right: 0; bottom: 0;
  width: min(360px, 100%);
  background: var(--warm-white);
  box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 24px;
  transform: translateX(100%);
  transition: transform var(--dur-med) var(--ease-out-gentle);
}
.nav--open .mobile-menu { transform: translateX(0); }
.mobile-menu__links { display: flex; flex-direction: column; }
.mobile-menu__links a {
  display: flex; align-items: center;
  min-height: 56px;
  font-family: var(--font-display);
  font-size: 24px; font-weight: 500;
  color: var(--charcoal-900); text-decoration: none;
  border-bottom: 1px solid var(--charcoal-300);
}
.mobile-menu__cta { padding-bottom: env(safe-area-inset-bottom, 0); }

/* ---------- 10. Hero ---------- */
.hero {
  position: relative;
  min-height: 640px;
  padding: calc(var(--nav-height) + 64px) 0 72px;
  display: flex; align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg, .hero__bg img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover;
}
/* 15–20% dark overlay + left scrim so the headline zone stays clean & legible */
.hero__overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(15,61,46,0.78) 0%, rgba(15,61,46,0.55) 42%, rgba(15,61,46,0.12) 78%),
    rgba(20,32,26,0.18);
}
.hero__inner {
  display: flex; flex-direction: column; gap: 48px;
  width: 100%;
}
.hero__content { max-width: 620px; }
.hero__eyebrow { margin-bottom: 16px; }
.hero__title { color: #fff; }
.hero__title .gold-underline { color: #fff; }
.hero__subhead {
  margin-top: 20px;
  color: var(--text-on-dark);
  font-size: 18px; line-height: 1.55;
}
.hero__actions { margin-top: 32px; }
.hero__actions .btn { width: 100%; }
.hero__reassurance {
  margin-top: 16px;
  font-size: 14px; line-height: 1.55;
  color: var(--text-on-dark);
}
.hero__media {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-float);
  overflow: hidden;
}
.hero__media img { width: 100%; }

/* ---------- 11. Problem ---------- */
.problem__lead { color: var(--text-primary); }
.problem__vignettes {
  display: flex; justify-content: center; gap: 48px;
  margin-top: 48px;
  color: var(--sage-400);
}
.icon--vignette { width: 36px; height: 36px; stroke-width: 1.5; }

/* ---------- 12. Solution ---------- */
.solution .h2 { color: #fff; }
.solution p { color: var(--text-on-dark); }
.solution__muted { color: var(--text-on-dark-muted) !important; }

/* ---------- 13. Platform overview + modules ---------- */
.platform__title { max-width: 720px; margin: 0 auto; }
.platform__figure { margin-top: 48px; }
.platform__figure img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.modules-grid {
  display: grid; grid-template-columns: 1fr; gap: 16px;
  margin-top: 48px;
}
.module-card { transition: transform var(--dur-fast) ease-out, box-shadow var(--dur-fast) ease-out, border-color var(--dur-fast) ease-out; }
.module-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(30, 138, 95, 0.4);
}
.module-card .h4 { margin-top: 16px; }
.module-card .small { margin-top: 6px; }

/* ---------- 14. Capability feature rows ---------- */
.capabilities .container > * + * { margin-top: 72px; }
.feature-row { display: flex; flex-direction: column; gap: 32px; }
.feature-row__text .body-lg { margin-top: 16px; }
.feature-row__media {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.feature-row__media img { width: 100%; }

/* ---------- 15. How it works ---------- */
.how {
  background-image: var(--topo);
  background-repeat: repeat;
}
.how__steps {
  counter-reset: step;
  display: flex; flex-direction: column; gap: 48px;
  margin-top: 48px;
  position: relative;
}
/* vertical connector on mobile */
.how__steps::before {
  content: "";
  position: absolute; left: 23px; top: 24px; bottom: 24px;
  width: 2px;
  background-image: linear-gradient(var(--sage-400) 50%, transparent 50%);
  background-size: 2px 10px;
}
.how__step { position: relative; padding-left: 72px; }
.how__num {
  position: absolute; left: 0; top: 0;
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--emerald-600); color: #fff;
  font-weight: 600; font-size: 18px;
}
.how__step .small { margin-top: 6px; max-width: 30em; }

/* ---------- 16. Roadmap ---------- */
.roadmap__timeline {
  position: relative;
  display: flex; flex-direction: column; gap: 32px;
  margin-top: 40px;
}
.roadmap__timeline::before {
  content: "";
  position: absolute; left: 11px; top: 16px; bottom: 16px;
  width: 2px; background: var(--sage-400); opacity: 0.6;
}
.roadmap__phase { position: relative; padding-left: 44px; }
.roadmap__node {
  position: absolute; left: 3px; top: 24px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--warm-white);
  border: 2px solid var(--sage-400);
}
.roadmap__phase--active .roadmap__node {
  background: var(--emerald-600);
  border-color: var(--emerald-600);
  box-shadow: 0 0 0 6px rgba(37, 160, 110, 0.18);
}
.roadmap__card { padding: 32px; }
.roadmap__label { color: var(--emerald-600); margin-bottom: 8px; }
.roadmap__card .h4 { margin-bottom: 6px; }

/* ---------- 17. Audience (Who it's for) ---------- */
.audience-grid {
  display: grid; grid-template-columns: 1fr; gap: 16px;
  margin-top: 48px;
}
.audience-card { transition: transform var(--dur-fast) ease-out, box-shadow var(--dur-fast) ease-out; }
.audience-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.audience-card .h4 { margin-top: 16px; }
.audience-card .small { margin-top: 6px; }
/* charcoal-900 on sage tint for AA */
.section--tint .text-secondary { color: var(--charcoal-600); }

/* ---------- 18. Waitlist ---------- */
.waitlist { position: relative; overflow: hidden; }
.waitlist::after {
  /* faint topo texture on the dark band */
  content: "";
  position: absolute; inset: 0; pointer-events: none;
  background-image: var(--topo);
  opacity: 0.14;
}
.waitlist__inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; gap: 48px;
}
.waitlist__pitch .h2 { color: #fff; }
.waitlist__intro { margin-top: 16px; color: var(--text-on-dark-muted); }
.waitlist__benefits { margin-top: 32px; display: flex; flex-direction: column; gap: 20px; }
.waitlist__benefits li { display: flex; gap: 16px; align-items: flex-start; }
.waitlist__benefits .icon-tile { width: 44px; height: 44px; }
.waitlist__benefits div { color: var(--text-on-dark-muted); max-width: 32em; }
.waitlist__benefits strong { color: var(--text-on-dark); font-weight: 600; }

.form-card {
  background: var(--warm-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-float);
  padding: 32px 24px;
  color: var(--text-primary);
}
.form-card__heading { color: var(--forest-900); }
.form-card__sub { margin-top: 6px; margin-bottom: 24px; }

.field { margin-bottom: 20px; }
.field__label {
  display: block;
  font-size: 14px; font-weight: 600; line-height: 1.55;
  color: var(--charcoal-900);
  margin-bottom: 6px;
}
.field__optional { font-weight: 400; color: var(--charcoal-600); }
.field__input {
  width: 100%; height: 52px;
  padding: 0 16px;
  background: var(--white);
  border: 1.5px solid var(--charcoal-300);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 16px; color: var(--charcoal-900);
  transition: border-color var(--dur-fast) ease-out, box-shadow var(--dur-fast) ease-out;
}
.field__input::placeholder { color: #9AA39C; }
.field__input:focus {
  outline: none;
  border-color: var(--emerald-600);
  box-shadow: 0 0 0 3px rgba(37, 160, 110, 0.25);
}
.field__input[aria-invalid="true"] { border-color: var(--error); }
.field__select-wrap { position: relative; }
.field__select { appearance: none; -webkit-appearance: none; padding-right: 44px; }
.field__select:invalid,
.field__select:has(option[value=""]:checked) { color: #9AA39C; }
.field__select option { color: var(--charcoal-900); }
.field__chevron {
  position: absolute; right: 14px; top: 50%;
  transform: translateY(-50%);
  width: 20px; height: 20px;
  color: var(--charcoal-600);
  pointer-events: none;
}
.field__error[hidden] { display: none; }
.field__error {
  display: flex; align-items: center; gap: 6px;
  margin-top: 6px;
  font-size: 14px; color: var(--error);
}
.field__error::before { content: "\26A0\FE0E"; font-size: 13px; }
.field--hp { position: absolute; left: -9999px; opacity: 0; height: 0; margin: 0; overflow: hidden; }

.form-card__submit-error { margin: 0 0 16px; }
.form-card__privacy { margin-top: 16px; max-width: none; }

.form-card__success { text-align: center; padding: 32px 8px; }
.form-card__success p { margin: 24px auto 0; color: var(--charcoal-900); }
.form-card__check {
  width: 64px; height: 64px; margin: 0 auto;
  fill: none; stroke: var(--success);
  stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- 19. FAQ ---------- */
.faq__col { max-width: 760px; margin: 0 auto; }
.accordion { margin-top: 48px; border-top: 1px solid var(--charcoal-300); }
.accordion__item { border-bottom: 1px solid var(--charcoal-300); }
.accordion__heading { margin: 0; }
.accordion__trigger {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: 100%; min-height: 56px;
  padding: 24px 4px;
  background: none; border: none; cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: 20px; font-weight: 600; line-height: 1.3; letter-spacing: -0.005em;
  color: var(--charcoal-900);
}
.accordion__chevron {
  width: 20px; height: 20px;
  color: var(--emerald-600);
  transition: transform var(--dur-med) var(--ease-out-gentle);
}
.accordion__trigger[aria-expanded="true"] .accordion__chevron { transform: rotate(180deg); }
.accordion__panel {
  overflow: hidden;
  transition: height var(--dur-med) var(--ease-out-gentle), opacity var(--dur-med) ease-out;
}
.accordion__panel p {
  padding: 0 4px 24px;
  color: var(--charcoal-600);
  font-size: 16px; line-height: 1.6;
  max-width: 42em;
}

/* ---------- 20. Closing CTA ---------- */
.closing {
  position: relative;
  padding: 96px 0;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}
.closing__bg, .closing__bg img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover;
}
.closing__overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(15,61,46,0.58), rgba(15,61,46,0.70)),
    rgba(20,32,26,0.30);
}
.closing__title { color: #fff; }
.closing__sub {
  margin: 20px auto 32px;
  color: var(--text-on-dark);
}
.closing .btn { width: 100%; max-width: 360px; }

/* ---------- 21. Footer ---------- */
.footer {
  background: var(--bg-inverse);
  color: var(--text-on-dark-muted);
  padding: 72px 0 48px;
  position: relative;
  overflow: hidden;
}
.footer::after {
  content: "";
  position: absolute; inset: 0; pointer-events: none;
  background-image: var(--topo);
  opacity: 0.10;
}
.footer .container { position: relative; z-index: 1; }
.footer__brand a { display: inline-block; }
.footer__logo { width: 220px; height: auto; }
.footer__descriptor { margin-top: 12px; color: var(--text-on-dark-muted); }
.footer__rows {
  margin-top: 32px; padding-top: 32px;
  border-top: 1px solid rgba(228, 237, 229, 0.14);
  display: flex; flex-direction: column; gap: 16px;
}
.footer__nav, .footer__legal { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer a {
  color: var(--text-on-dark-muted);
  text-decoration: none;
  font-size: 14px; line-height: 2;
  transition: color var(--dur-fast) ease-out;
}
.footer a:hover { color: var(--text-on-dark); }
.footer__meta { margin-top: 32px; display: flex; flex-direction: column; gap: 4px; }
.footer__meta p { max-width: none; }

/* ---------- 22. Sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0));
  background: var(--forest-900);
  box-shadow: 0 -8px 24px rgba(15, 61, 46, 0.25);
  transform: translateY(100%);
  transition: transform var(--dur-med) var(--ease-out-gentle);
}
.sticky-cta--visible { transform: translateY(0); }
