/* ==========================================================================
   Volunteer Pathways Coalition — site styles
   ========================================================================== */

:root {
  --ink: #13211c;
  --ink-2: #3b4b45;
  --ink-3: #62716b;
  --paper: #fcf5ee;
  --paper-2: #f6ecdf;
  --surface: #fffdf8;

  /* Pine, the secondary accent. 600, 400, 300 and 50 fill out the scale in OKLCH
     between the existing steps. */
  --green-950: #08261d;
  --green-900: #0c3126;
  --green-800: #134335;
  --green-700: #195a45;
  --green-600: #286e55;
  --green-500: #378366;
  --green-400: #679e84;
  --green-300: #93baa4;
  --green-200: #bdd7c6;
  --green-100: #deebe1;
  --green-50: #edf3ee;

  /* Accent: Emerald, a vibrant green. 500 is the bright fill (pair it with
     dark text), 700 carries small text on light backgrounds, 600 is for
     focus rings and markers, 400 for accents on dark. 300 and 200 are
     softer fills, evenly spaced (OKLCH) between 400 and 100; both carry
     Ink text at 11:1 or better. 800–950 continue the scale darker and 50
     lighter, for the full palette on the brand page. */
  --accent-950: #012712;
  --accent-900: #034a27;
  --accent-800: #056034;
  --accent-700: #0f7a45;
  --accent-600: #16924f;
  --accent-500: #22c55e;
  --accent-400: #4ade80;
  --accent-300: #82e7a6;
  --accent-200: #b0efc8;
  --accent-100: #dcf5e6;
  --accent-50: #ecf8f1;

  --success: var(--accent-500);
  --live: #f2a516;   /* Marigold, from the logo: "just launched" indicator */
  --coral: #ef5b3b;  /* Coral, from the logo: large text and icons only (3.1:1 on Paper 200) */

  --line: rgba(19, 33, 28, 0.12);
  --line-strong: rgba(19, 33, 28, 0.22);
  --field-line: #78847f;  /* Form field borders: 3.8:1 on Paper 100 (WCAG 1.4.11) */
  --focus-ring: var(--accent-600);
  --on-dark: #eaf1ec;
  --on-dark-2: rgba(234, 241, 236, 0.72);
  --line-dark: rgba(255, 255, 255, 0.12);

  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 1px 2px rgba(12, 49, 38, 0.06), 0 14px 36px -20px rgba(12, 49, 38, 0.32);
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  color-scheme: light;
}

/* ---------- Base ---------- */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 32px);
}

.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;
}

.nowrap { white-space: nowrap; }

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--green-900);
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }
main:focus { outline: none; }
/* On dark backgrounds the ring switches to the light accent (8:1 on Forest). */
.band, .section-cta, .site-footer, .aside-card.dark { --focus-ring: var(--accent-400); }
.form-card { --focus-ring: var(--accent-600); }

.icon {
  width: 1.1em;
  height: 1.1em;
  flex: none;
}

/* ---------- Type ---------- */

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  line-height: 1.08;
  margin: 0.5rem 0 1rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent-700);
}

.section-intro {
  font-size: 1.125rem;
  color: var(--ink-2);
  max-width: 40em;
  text-wrap: pretty;
}

/* ---------- Buttons & links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.4rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s var(--ease), box-shadow 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .icon { transition: transform 0.2s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(3px); }

.btn-primary { background: var(--green-800); color: #fff; }
.btn-primary:hover { background: var(--green-900); box-shadow: 0 10px 24px -12px rgba(12, 49, 38, 0.6); }

.btn-secondary { background: transparent; color: var(--green-800); border-color: var(--green-800); }
.btn-secondary:hover { background: var(--green-100); }

.btn-accent { background: var(--accent-500); color: var(--green-950); }
.btn-accent:hover { background: var(--accent-400); box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.45); }

.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.6); }

.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.6); }

.btn-light { background: #fff; color: var(--ink); border-color: var(--field-line); }
.btn-light:hover { border-color: var(--ink); box-shadow: 0 10px 24px -14px rgba(12, 49, 38, 0.4); }

.btn-sm { padding: 0.6rem 1.1rem; font-size: 0.94rem; }

.text-link {
  font-weight: 600;
  color: var(--green-700);
  text-decoration: none;
  border-bottom: 1.5px solid transparent;
  transition: border-color 0.2s;
}
/* Inside running text, links need more than color to stand out (WCAG 1.4.1). */
p > .text-link { border-bottom-color: color-mix(in srgb, currentColor 45%, transparent); }
.text-link:hover { border-bottom-color: var(--accent-500); }
.text-link .icon {
  display: inline-block;
  vertical-align: -0.15em;
  margin-left: 0.3em;
  transition: transform 0.2s var(--ease);
}
.text-link:hover .icon-arrow { transform: translateX(3px); }
.text-link .icon:first-child { margin: 0 0.3em 0 0; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(252, 245, 238, 0.86);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s, background-color 0.25s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
/* At the top of the page the header sits on the hero's own background;
   it picks up its frosted fill once main.js marks it .is-scrolled. */
.js .site-header:not(.is-scrolled) {
  background-color: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  flex: 0 1 auto;
  min-width: 0;  /* lets the name wrap before the menu button runs off screen */
}
.brand-mark { width: 38px; height: 38px; }

/* Coalition mark: one <symbol> shared by header and footer. Colors come from
   these tokens; hand (overlap) colors are the pre-mixed neighbor blends. */
.logo-mark {
  --lm-0: #ef5b3b; --lm-1: #f2a516; --lm-2: #1e7a55; --lm-3: #12a5a0; --lm-4: #2e7fd8; --lm-5: #8a4fc9;
  --lm-p0: #c83110; --lm-p1: #134d36; --lm-p2: #134d36; --lm-p3: #1c5798; --lm-p4: #1c5798; --lm-p5: #c83110;
}
.lm-s0 { stroke: var(--lm-0); } .lm-p0 { stroke: var(--lm-p0); } .lm-f0 { fill: var(--lm-0); }
.lm-s1 { stroke: var(--lm-1); } .lm-p1 { stroke: var(--lm-p1); } .lm-f1 { fill: var(--lm-1); }
.lm-s2 { stroke: var(--lm-2); } .lm-p2 { stroke: var(--lm-p2); } .lm-f2 { fill: var(--lm-2); }
.lm-s3 { stroke: var(--lm-3); } .lm-p3 { stroke: var(--lm-p3); } .lm-f3 { fill: var(--lm-3); }
.lm-s4 { stroke: var(--lm-4); } .lm-p4 { stroke: var(--lm-p4); } .lm-f4 { fill: var(--lm-4); }
.lm-s5 { stroke: var(--lm-5); } .lm-p5 { stroke: var(--lm-p5); } .lm-f5 { fill: var(--lm-5); }
.brand-name {
  display: flex;
  flex-direction: column;
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.brand-name small {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}
.nav-links a:hover { background: rgba(19, 33, 28, 0.06); color: var(--ink); }
.nav-links a[aria-current="true"] { color: var(--green-800); background: var(--green-100); }

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

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}
.menu-toggle .icon { width: 22px; height: 22px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-menu { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

.mobile-menu {
  border-top: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 24px 40px -24px rgba(12, 49, 38, 0.35);
}
.mobile-menu ul { list-style: none; margin: 0; padding: 8px 0; }
.mobile-menu li + li { border-top: 1px solid var(--line); }
.mobile-menu a:not(.btn) {
  display: block;
  padding: 14px 0;
  font-size: 1.05rem;
  font-weight: 500;
  text-decoration: none;
}
.mobile-menu .btn { width: 100%; margin: 4px 0 20px; }

@media (max-width: 1060px) {
  .site-header nav[aria-label="Primary"] { display: none; }
  .menu-toggle { display: inline-flex; }
}
@media (max-width: 480px) {
  .nav-cta { display: none; }
}
@media (min-width: 1061px) {
  .mobile-menu { display: none !important; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  /* Extend up under the sticky header (72px + 1px border) so the glow reaches the top. */
  margin-top: calc(-1 * (var(--header-h) + 1px));
  padding: calc(clamp(40px, 7vw, 96px) + var(--header-h) + 1px) 0 clamp(36px, 5vw, 56px);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -15%;
  width: min(70vw, 900px);
  aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(34, 197, 94, 0.14), rgba(34, 197, 94, 0));
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

/* Date badges ("Begins Jan 1, 2027", "We are here"): a ring grows out of the
   badge border and fades. Outline follows border-radius, so it keeps the pill shape. */
@keyframes badge-pulse {
  0% { outline: 2px solid color-mix(in srgb, var(--live) 80%, transparent); outline-offset: 0; }
  100% { outline: 2px solid transparent; outline-offset: 7px; }
}
/* Two pulses when the badge scrolls into view, then still. Anything that
   blinks for more than 5 seconds would need a pause button (WCAG 2.2.2). */
.is-visible .pill-orange,
.is-visible .tl-now { animation: badge-pulse 2.4s var(--ease) 0.6s 2; }

/* Note above the headline that the site keeps growing. The coalition asked
   for it in a clearly visible place (Anish, November 17, 2026). */
.hero-note {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.6em;
  margin: 0 0 1.5rem;
  padding: 0.45rem 1rem 0.45rem 0.85rem;
  border: 1px solid var(--green-200);
  border-radius: 999px;
  background: var(--green-50);
  color: var(--green-800);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.4;
  text-wrap: pretty;
}
.hero-note::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  margin-top: calc((1.4em - 8px) / 2);
  border-radius: 50%;
  background: var(--accent-500);
}

.hero h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(2.7rem, 6vw, 4.75rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
}
.hero h1 em {
  font-style: italic;
  color: var(--green-700);
  text-decoration: underline;
  text-decoration-color: var(--accent-500);
  text-decoration-thickness: 0.07em;
  text-underline-offset: 0.12em;
}

.lede {
  max-width: 34em;
  font-size: clamp(1.1rem, 1.5vw, 1.24rem);
  line-height: 1.55;
  color: var(--ink-2);
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 2rem 0 1.25rem;
}

.hero-art { position: relative; }
.hero-art.is-paused .ring-progress { animation-play-state: paused; }
/* Moving content that runs longer than 5 seconds needs a way to stop it (WCAG 2.2.2). */
.motion-toggle {
  position: absolute;
  right: 0;
  bottom: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 6px 12px 6px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-2);
  font: 600 0.8rem/1 var(--sans);
  cursor: pointer;
  clip-path: inset(50% round 999px);
}
/* Appears on hover, and whenever it has keyboard focus. Touch screens can't
   hover, so there it stays visible. It's hidden by clipping, not opacity:
   it stays focusable, and contrast checkers don't read it as invisible text.
   The -6px leaves room for the focus ring. */
.hero-art:hover .motion-toggle,
.motion-toggle:focus-visible { clip-path: inset(-6px round 999px); }
@media (hover: none) { .motion-toggle { clip-path: none; } }
.motion-toggle:hover { border-color: var(--green-500); color: var(--ink); }
.motion-toggle .icon { width: 14px; height: 14px; }
.hero-art svg { width: 100%; height: auto; overflow: visible; }
.hero-art .tag rect { fill: var(--surface); stroke: var(--line-strong); }
.hero-art .tag text { font-family: var(--sans); font-size: 14px; font-weight: 600; fill: var(--ink-2); }
.hero-art .flow { fill: none; stroke: var(--green-700); stroke-opacity: 0.22; stroke-width: 2; stroke-linecap: round; }
.hero-art .flow-dot { fill: var(--accent-500); }
.hero-art .ring-track { fill: none; stroke: var(--green-100); stroke-width: 7; }
.hero-art .ring-progress {
  fill: none;
  stroke: var(--success);
  stroke-width: 7;
  stroke-linecap: round;
  stroke-dasharray: 327;
  stroke-dashoffset: 327;
  animation: ring 6s var(--ease) infinite;
}
@keyframes ring {
  0% { stroke-dashoffset: 327; }
  70%, 92% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}
.hero-art .node { fill: var(--green-800); }
.hero-art .check { fill: none; stroke: #fff; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.hero-art .art-kicker { font-family: var(--sans); font-size: 12.5px; font-weight: 700; letter-spacing: 0.12em; fill: var(--accent-700); }
.hero-art .art-title { font-family: var(--serif); font-size: 22px; font-weight: 500; fill: var(--ink); }
.hero-art .art-sub { font-family: var(--sans); font-size: 13.5px; fill: var(--ink-2); }

.partner-strip {
  position: relative;
  margin-top: clamp(40px, 6vw, 72px);
}
.partner-strip p {
  margin: 0 0 14px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.partner-strip ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  list-style: none;
  margin: 0;
  padding: 26px 0 0;
  border-top: 1px solid var(--line);
}
.partner-strip li { display: flex; }

@media (max-width: 860px) {
  .partner-strip ul {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-items: center;
    gap: 26px 16px;
  }
}

/* Partner logos have very different shapes (stacked, wide, round mark), so
   each <img> sets --s to scale a shared base height until they look equal. */
.partner-logo {
  --logo-h: 26px;
  width: auto;
  height: calc(var(--logo-h) * var(--s, 1));
  max-width: 100%;
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 520px; width: 100%; margin-inline: auto; }
}
@media (max-width: 560px) {
  .hero-actions .btn { flex: 1 1 100%; }
  /* The illustration scales down on phones; bump its type so labels stay legible. */
  .hero-art .tag text { font-size: 18px; }
  .hero-art .art-kicker { font-size: 15px; }
  .hero-art .art-title { font-size: 27px; }
  .hero-art .art-sub { font-size: 17px; }
}

/* ---------- Deadline band ---------- */

.band {
  background: var(--green-900);
  color: var(--on-dark);
  padding: clamp(36px, 5vw, 56px) 0;
}
.band-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) 2fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.countdown {
  padding: 24px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: #16392f;  /* Forest + 4% white, flattened so checkers can read it */
}
.countdown-label {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent-400);
}
.countdown-date {
  margin: 0.25rem 0 1rem;
  font-family: var(--serif);
  font-size: 1.6rem;
  line-height: 1.2;
  color: #fff;
}
/* Three joined cells: only the outer corners are rounded, and neighbors
   share a single divider. */
.cd { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.cd > div {
  padding: 12px 8px 10px;
  border: 1px solid var(--line-dark);
  background: #24453b;  /* card + 6% white, flattened */
  text-align: center;
}
.cd > div + div { border-left: 0; }
.cd > div:first-child { border-radius: 12px 0 0 12px; }
.cd > div:last-child { border-radius: 0 12px 12px 0; }
.cd span {
  display: block;
  font-family: var(--sans);
  font-size: 2.1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  font-variant-numeric: tabular-nums lining-nums;
  color: var(--accent-400);
}
.cd small {
  display: block;
  margin-top: 2px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-dark-2);
}
.cd-done {
  margin: 0;
  font-size: 1rem;
  color: var(--on-dark-2);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 0;
}
.stat { padding-left: 20px; border-left: 1px solid var(--line-dark); }
.stat dt {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 3.4vw, 2.9rem);
  line-height: 1;
  color: #fff;
  font-variant-numeric: lining-nums;
}
.stat dd {
  margin: 0.6rem 0 0;
  font-size: 0.93rem;
  line-height: 1.45;
  color: var(--on-dark-2);
}

@media (max-width: 980px) {
  .band-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
}
@media (max-width: 420px) {
  .stat { padding-left: 14px; }
  .stat dd { font-size: 0.88rem; }
}

/* ---------- Sections ---------- */

.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-surface { background: var(--surface); }
.section-tint { background: var(--paper-2); }

/* Subtle dot texture on the "Who it's for", "In their words" and "Beyond the
   requirements" bands: strongest at the top-right corner, easing to about a
   third of that across the rest of the section, behind all content. */
.section-tint,
.section-voices,
.mission { position: relative; isolation: isolate; }
.section-tint,
.mission { --dot: rgba(25, 90, 69, 0.18); }
.section-voices { --dot: rgba(255, 255, 255, 0.075); }
.section-tint::before,
.section-voices::before,
.mission::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(var(--dot) 1.1px, transparent 1.6px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(140% 120% at 100% 0%, #000 0%, rgba(0, 0, 0, 0.35) 75%);
          mask-image: radial-gradient(140% 120% at 100% 0%, #000 0%, rgba(0, 0, 0, 0.35) 75%);
  pointer-events: none;
}

/* What's changing */
.changes-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: start;
}
.changes-grid .section-head { margin-bottom: 0; }

.note-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  margin-top: 32px;
  padding: 22px 24px;
  border: 1px solid var(--green-200);
  border-radius: var(--radius);
  background: var(--green-100);
  color: var(--green-900);
}
.note-card .icon { width: 28px; height: 28px; color: var(--green-700); }
.note-card strong { display: block; font-family: var(--serif); font-size: 1.3rem; font-weight: 500; line-height: 1.2; margin-bottom: 4px; }
.note-card p { margin: 0; font-size: 0.98rem; color: var(--green-800); }

.program-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.program {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 8px 28px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line-strong);
}
.program-name {
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1;
  font-weight: 500;
}
.program-name small {
  display: block;
  margin-top: 8px;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-3);
}
.program-body p { margin: 0.6rem 0 0; color: var(--ink-2); }
.pill {
  display: inline-block;
  padding: 0.22rem 0.7rem;
  border-radius: 999px;
  background: var(--accent-100);
  color: var(--accent-700);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.pill-green { background: var(--green-100); color: var(--green-700); }
/* Same as the timeline's "We are here" badge. Padding drops by the border
   width so it stays the size of the filled pills. */
.pill-orange {
  padding: calc(0.22rem - 1.5px) calc(0.7rem - 1.5px);
  border: 1.5px solid var(--live);
  background: none;
  color: var(--ink);
}

@media (max-width: 860px) {
  .changes-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .program { grid-template-columns: 1fr; }
}

/* How it works */
.loop { --gap: 28px; --node: 52px; }

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gap);
  list-style: none;
  margin: 0;
  padding: 0;
}
.steps::before {
  content: "";
  position: absolute;
  top: calc(var(--node) / 2 - 1px);
  left: calc(var(--node) / 2);
  right: calc((100% - 3 * var(--gap)) / 4 - var(--node) / 2);
  height: 2px;
  background: linear-gradient(90deg, var(--green-500), var(--accent-500));
  transform-origin: left center;
  transition: transform 1.4s var(--ease) 0.15s;
}
.js .steps:not(.is-visible)::before { transform: scaleX(0); }

.step-node {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: var(--node);
  height: var(--node);
  border-radius: 50%;
  background: var(--green-800);
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: 0 0 0 7px var(--surface);
}
.step-node .icon { width: 24px; height: 24px; }
.step:last-child .step-node { background: var(--accent-500); color: var(--green-950); }

.step-kicker {
  margin: 22px 0 6px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent-700);
}
.step h3 { font-size: 1.5rem; line-height: 1.15; margin-bottom: 0.65rem; }
.step p { font-size: 0.98rem; color: var(--ink-2); }

.tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 16px 0 0; padding: 0; }
.tags li {
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: var(--green-100);
  color: var(--green-800);
  font-size: 0.78rem;
  font-weight: 600;
}

.loop-return {
  position: relative;
  height: 46px;
  margin: 36px calc((100% - 3 * var(--gap)) / 4 - var(--node) / 2) 0 calc(var(--node) / 2);
  border: 2px dashed rgba(55, 131, 102, 0.55);
  border-top: 0;
  border-radius: 0 0 28px 28px;
}
.loop-return::before {
  content: "";
  position: absolute;
  top: -9px;
  left: -8px;
  border: 7px solid transparent;
  border-top: 0;
  border-bottom: 10px solid var(--green-500);
}
.loop-return span {
  position: absolute;
  left: 50%;
  bottom: -15px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  background: var(--surface);
  color: var(--green-800);
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
}

.mini-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 72px;
}
.mini-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.mini-card .icon-wrap {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border: 1px solid rgba(22, 146, 79, 0.22); /* --accent-600 at 22% */
  border-radius: 12px;
  background: var(--accent-100);
  color: var(--accent-700);
}
.mini-card .icon-wrap .icon { width: 22px; height: 22px; }
.mini-card h3 { font-size: 1.3rem; margin-bottom: 0.3rem; }
.mini-card p { margin: 0; font-size: 0.97rem; color: var(--ink-2); }

@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .steps::before {
    top: calc(var(--node) / 2);
    bottom: calc(var(--node) / 2);
    left: calc(var(--node) / 2 - 1px);
    right: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, var(--green-500), var(--accent-500));
    transform-origin: center top;
  }
  .js .steps:not(.is-visible)::before { transform: scaleY(0); }
  .step { display: grid; grid-template-columns: var(--node) minmax(0, 1fr); column-gap: 20px; }
  .step-kicker { margin-top: 4px; }
  .loop-return {
    height: auto;
    margin: 32px 0 0;
    border: 0;
    text-align: left;
  }
  .loop-return::before { display: none; }
  .loop-return span {
    position: static;
    transform: none;
    white-space: normal;
    padding: 12px 16px;
    border-radius: 12px;
    background: var(--green-100);
  }
  .mini-cards { grid-template-columns: 1fr; margin-top: 40px; }
}

/* Who it's for (tabs) */
.tablist {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}
.tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.25rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-2);
  font: inherit;
  font-size: 0.97rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}
.tab:hover { color: var(--ink); background: rgba(19, 33, 28, 0.05); }
.tab .icon { width: 1.15em; height: 1.15em; }
.tab[aria-selected="true"] { background: var(--green-800); color: #fff; }

.tabpanel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 64px);
  margin-top: 28px;
  padding: clamp(24px, 4.5vw, 56px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.tabpanel[hidden] { display: none; }
html:not(.js) .tabpanel[hidden] { display: grid; }
.tabpanel.is-entering { animation: panel-in 0.45s var(--ease); }
@keyframes panel-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.panel-intro h3 {
  margin: 0.8rem 0 1rem;
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  line-height: 1.12;
}
.panel-intro > p { color: var(--ink-2); }
.panel-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.6rem; }
/* One full-width button on top, two equal buttons side by side below it.
   They stack when there isn't room for both. */
.panel-actions-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }
.panel-actions-split .btn { text-align: center; }
.panel-actions-split .btn:first-child { grid-column: 1 / -1; }
.panel-footnote { margin-top: 1.25rem; font-size: 0.95rem; color: var(--ink-3); }
.panel-footnote strong { color: var(--ink); }

.callout-stat {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  margin-top: 1.5rem;
  padding: 18px 20px;
  border: 1px solid rgba(22, 146, 79, 0.22); /* --accent-600 at 22%, like the icon boxes */
  border-radius: 12px;
  background: var(--accent-100);
}
.callout-stat .big {
  font-family: var(--serif);
  font-size: 3rem;
  line-height: 1;
  color: var(--accent-700);
}
.callout-stat p { margin: 0; font-size: 0.93rem; color: var(--ink-2); }

.list-label {
  margin: 0 0 1.1rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.checklist { display: grid; gap: 18px; list-style: none; margin: 0; padding: 0; }
.checklist li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 14px;
  color: var(--ink-2);
  font-size: 0.98rem;
}
.checklist .icon { width: 26px; height: 26px; color: var(--green-700); }
.checklist strong { display: block; color: var(--ink); font-size: 1.02rem; margin-bottom: 2px; }

@media (max-width: 860px) {
  .tabpanel { grid-template-columns: 1fr; }
}
.tab-short { display: none; }
/* Equal-width tabs in one row. If the labels can't fit (larger text, or
   wider letter and word spacing), they wrap to a second row instead of
   running off the screen (WCAG 1.4.12). */
@media (max-width: 560px) {
  .tablist { display: flex; flex-wrap: wrap; border-radius: 16px; }
  .tab { flex: 1 1 0; gap: 0.35rem; border-radius: 12px; padding: 0.65rem 0.4rem; font-size: 0.92rem; white-space: nowrap; }
  .tab .icon { width: 1em; height: 1em; }
  .tab-full { display: none; }
  .tab-short { display: inline; }
}
/* 320px screens (and 400% zoom): icon above the label so all three tabs fit. */
@media (max-width: 345px) {
  .tab { flex-direction: column; gap: 4px; padding: 0.55rem 0.25rem; font-size: 0.86rem; }
}

/* Partners */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.partner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s;
}
.partner:hover {
  transform: translateY(-3px);
  border-color: rgba(25, 90, 69, 0.3);
  box-shadow: var(--shadow);
}
.partner-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.partner-num {
  font-family: var(--serif);
  font-size: 0.95rem;
  color: var(--ink-3);
  font-variant-numeric: lining-nums;
}
.partner h3 { font-size: 1.6rem; line-height: 1.15; }
.partner-name {
  display: flex;
  align-items: center;
  min-height: 72px;
  margin: 6px 0 2px;
}
.partner-name .partner-logo { --logo-h: 36px; }
.partner p { flex: 1; margin: 0; font-size: 0.98rem; color: var(--ink-2); }
.partner .text-link { align-self: flex-start; margin-top: 6px; font-size: 0.95rem; }

@media (max-width: 960px) {
  .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .partner-grid { grid-template-columns: 1fr; }
}

/* Voices */
.section-voices { background: var(--green-900); color: var(--on-dark); }
.section-voices .eyebrow { color: var(--accent-400); }
.section-voices h2 { color: #fff; }
/* Quotes read top to bottom as rows: words on the left, speaker on the right. */
.quotes { display: grid; border-top: 1px solid var(--line-dark); }
.quote {
  --quote-size: clamp(1.25rem, 2.1vw, 1.65rem);
  --quote-mark: 4.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 240px);
  gap: clamp(24px, 5vw, 80px);
  align-items: start;
  margin: 0;
  padding: clamp(36px, 5vw, 56px) 0;
  border-bottom: 1px solid var(--line-dark);
}
/* Drop the author so the portrait's top meets the cap height of the quote's
   first line: the quote mark's height plus the gap above the capitals. */
.quote figcaption {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-top: calc(var(--quote-mark) * 0.55 + var(--quote-size) * 0.42);
}
.quote-avatar {
  flex: none;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px var(--accent-500);
}
.quote-by { display: flex; flex-direction: column; gap: 1px; line-height: 1.35; }
.quote-by strong { color: #fff; font-weight: 600; }
.quote-by span { font-size: 0.93rem; color: var(--on-dark-2); }
.quote blockquote { margin: 0; }
.quote blockquote::before {
  content: "\201C";
  display: block;
  height: 0.55em;
  font-family: var(--serif);
  font-size: var(--quote-mark);
  line-height: 1;
  color: var(--accent-400);
}
.quote blockquote p {
  margin: 0;
  font-family: var(--serif);
  font-size: var(--quote-size);
  line-height: 1.45;
  color: #fff;
  text-wrap: pretty;
}

@media (max-width: 860px) {
  .quote { grid-template-columns: 1fr; gap: 20px; }
  .quote figcaption { flex-direction: row; align-items: center; gap: 14px; margin-top: 0; }
  .quote-avatar { width: 56px; height: 56px; }
}

/* Mission */
/* The photo is part of the section's background: it bleeds off the right
   edge and a wash of the section color fades it in behind the statement. */
.mission { position: relative; overflow: hidden; padding: clamp(64px, 8vw, 112px) 0; }
.mission-copy { position: relative; z-index: 1; max-width: min(600px, 54%); }
.mission-media {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(56vw, 900px);
}
.mission-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 35%;
}
.mission-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    var(--paper) 0%,
    color-mix(in srgb, var(--paper) 85%, transparent) 16%,
    color-mix(in srgb, var(--paper) 40%, transparent) 36%,
    transparent 62%);
}
@media (max-width: 899px) {
  .mission { padding-bottom: 0; }
  .mission-copy { max-width: none; }
  .mission-media { position: relative; width: auto; height: clamp(220px, 56vw, 360px); margin-top: 28px; }
  .mission-media::after {
    background: linear-gradient(180deg, var(--paper) 0%, color-mix(in srgb, var(--paper) 50%, transparent) 22%, transparent 50%);
  }
}
.mission-text {
  max-width: 980px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
  line-height: 1.22;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
/* Highlighter: Emerald 200 behind dark text (12.7:1). clone keeps the padding and
   rounded ends on each line when the phrase wraps. */
.mission-text em {
  font-style: italic;
  font-weight: 500;
  color: var(--ink);
  background: var(--accent-200);
  padding: 0 0.16em;
  border-radius: 0.12em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.mission .eyebrow { margin-bottom: 1.25rem; }

/* What's next */
.next-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}

.timeline { position: relative; list-style: none; margin: 0; padding: 0 0 0 44px; }
.timeline::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 11px;
  width: 2px;
  background: var(--line-strong);
}
.timeline li { position: relative; padding-bottom: 34px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  top: 2px;
  left: -44px;
  width: 24px;
  height: 24px;
  border: 2px solid var(--green-500);
  border-radius: 50%;
  background: var(--paper);
  box-sizing: border-box;
}
.timeline li.is-done::before { background: var(--green-500); box-shadow: inset 0 0 0 5px var(--paper); }
.timeline li.is-current::before {
  border-color: var(--accent-500);
  background: var(--accent-500);
  box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.25);
}
/* Scoped under .timeline so it outranks the `.timeline p` text rule. */
.timeline .tl-date {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-700);
}
.tl-now {
  padding: calc(0.15rem - 1.5px) calc(0.55rem - 1.5px);
  border: 1.5px solid var(--live);
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}
.timeline h3 { font-size: 1.45rem; line-height: 1.2; margin-bottom: 0.4rem; }
.timeline p { margin: 0; color: var(--ink-2); font-size: 0.98rem; }

.priorities {
  padding: clamp(24px, 3.5vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.priorities h3 { font-size: 1.6rem; margin-bottom: 1.2rem; }
.priorities ol { list-style: none; counter-reset: p; margin: 0; padding: 0; display: grid; gap: 0; }
.priorities ol li {
  counter-increment: p;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  /* Text sits 2px higher than the number for optical alignment: the row loses
     2px on top and the number gets it back via margin-top. */
  padding: 12px 0 14px;
  border-top: 1px solid var(--line);
  color: var(--ink-2);
}
.priorities ol li::before {
  content: counter(p, decimal-leading-zero);
  margin-top: 2px;
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--accent-700);
  font-variant-numeric: lining-nums;
}
.priorities .footnote { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: 0.93rem; color: var(--ink-3); }

@media (max-width: 900px) {
  .next-grid { grid-template-columns: 1fr; }
}

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}
.faq-aside { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-aside .section-head { margin-bottom: 1.25rem; }
.disclaimer {
  margin-top: 1.5rem;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent-500);
  background: var(--surface);
  border-radius: 0 12px 12px 0;
  font-size: 0.93rem;
  color: var(--ink-2);
}

/* Dividers sit between --line and --line-strong: present, but quiet. */
.faq-list { --faq-line: rgba(19, 33, 28, 0.15); border-top: 1px solid var(--faq-line); }
.faq-list details { border-bottom: 1px solid var(--faq-line); }
.faq-list summary {
  position: relative;
  padding: 22px 52px 22px 0;
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--green-700); }
.faq-icon {
  position: absolute;
  top: 50%;
  right: 4px;
  width: 32px;
  height: 32px;
  margin-top: -16px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.3s var(--ease);
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  margin: -1px 0 0 -6px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s var(--ease);
}
.faq-icon::after { transform: rotate(90deg); }
details[open] .faq-icon { background: var(--green-800); border-color: var(--green-800); color: #fff; }
details[open] .faq-icon::after { transform: rotate(0deg); }
/* Hover and keyboard focus light the icon up in the primary accent, open or closed. */
.faq-list summary:hover .faq-icon,
.faq-list summary:focus-visible .faq-icon {
  background: var(--accent-500);
  border-color: var(--accent-500);
  color: var(--ink);
  transform: scale(1.1);
}
.faq-answer { padding: 0 52px 24px 0; color: var(--ink-2); }

@media (max-width: 900px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq-aside { position: static; }
}

/* Get involved */
.section-cta {
  position: relative;
  overflow: hidden;
  background: var(--green-900);
  color: var(--on-dark);
}
.section-cta .cta-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.5;
}
.section-cta .eyebrow { color: var(--accent-400); }
.section-cta h2 { color: #fff; }
.section-cta .section-intro { color: var(--on-dark-2); }

.cta-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}
.cta-grid .section-head { margin-bottom: 32px; }

.paths { display: grid; gap: 12px; list-style: none; margin: 0; padding: 0; }
.path {
  padding: 20px 22px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  /* 5% white as an image layer, not a background color: contrast checkers
     then measure the text against the dark section behind the card. */
  background: linear-gradient(rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.05));
  /* Frosted: soften the decorative lines that run behind the cards. */
  -webkit-backdrop-filter: blur(4px) saturate(1.2);
  backdrop-filter: blur(4px) saturate(1.2);
}
.path h3 { font-size: 1.3rem; color: #fff; margin-bottom: 0.25rem; }
.path p { margin: 0 0 0.9rem; font-size: 0.95rem; color: var(--on-dark-2); }
.path-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
.path-links a:not(.btn) {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--accent-400);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
}
.path-links a:not(.btn):hover { text-decoration: underline; text-underline-offset: 3px; }
.path-links .muted { font-size: 0.9rem; color: var(--on-dark-2); }

.form-card {
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.5);
}
.form-card h3 { font-size: 1.75rem; margin-bottom: 0.35rem; }
.form-card > p { color: var(--ink-3); font-size: 0.97rem; }
.form-note { grid-column: 1 / -1; margin: -8px 0 0; font-size: 0.88rem; color: var(--ink-3); }
.form-note .req { color: var(--accent-700); font-weight: 700; }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.field label .req { color: var(--accent-700); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.78rem 0.9rem;
  border: 1.5px solid var(--field-line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field select {
  appearance: none;
  padding-right: 2.4rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2362716b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 18px;
}
.field textarea { min-height: 112px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
  border-color: var(--green-700);
}
.field input:user-invalid,
.field select:user-invalid { border-color: #b4462b; }

.check-row { display: flex; align-items: flex-start; gap: 10px; font-size: 0.93rem; color: var(--ink-2); }
.check-row input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--green-700); flex: none; }

.form-submit { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 4px; }
.form-submit .btn { min-width: 180px; }
.form-submit .btn[disabled] { opacity: 0.7; cursor: progress; transform: none; }
.form-privacy { margin: 0; font-size: 0.85rem; color: var(--ink-3); flex: 1 1 220px; }
.form-error { grid-column: 1 / -1; margin: 0; padding: 12px 14px; border-radius: 10px; background: #fbe9e3; color: #8a2f18; font-size: 0.93rem; }

.form-success { text-align: left; }
.form-success .success-icon {
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-700);
}
.form-success .success-icon .icon { width: 30px; height: 30px; }
.form-success h3 { font-size: 1.75rem; margin-bottom: 0.5rem; }
.form-success p { color: var(--ink-2); }
.demo-note {
  margin-top: 1rem;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--accent-100);
  color: var(--accent-700);
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .cta-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .form-grid { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--green-950);
  color: var(--on-dark-2);
  padding: clamp(56px, 7vw, 88px) 0 32px;
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 64px);
}
.site-footer .brand-name { color: #fff; }
.site-footer .brand-name small { color: var(--on-dark-2); }
.footer-about p { max-width: 34em; margin-top: 1.25rem; }
.footer-col h2 {
  margin: 0 0 1rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent-400);
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { text-decoration: none; color: var(--on-dark); }
.footer-col a:hover,
.footer-col .link-button:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--accent-500); text-underline-offset: 3px; }
/* Buttons that look like the links around them, such as "Cookie settings". */
.footer-col .link-button {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: var(--on-dark);
  text-align: left;
  cursor: pointer;
}

/* Links that open a new tab reveal a ↗ arrow on hover/focus (always shown on touch). */
.footer-col a[target="_blank"]::after,
.aside-card ul a[target="_blank"]::after {
  content: "";
  display: inline-block;
  width: 0.78em;
  height: 0.78em;
  /* Net zero width, so a long name never wraps just to fit the arrow. */
  margin-left: 0.35em;
  margin-right: -1.13em;
  vertical-align: -0.02em;
  background: var(--accent-500);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 12 12 4M5.5 4H12v6.5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 12 12 4M5.5 4H12v6.5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: 0;
  transform: translate(-4px, 4px);
  transition: opacity 0.2s var(--ease), transform 0.25s var(--ease);
}
.footer-col a[target="_blank"]:hover::after,
.footer-col a[target="_blank"]:focus-visible::after,
.aside-card ul a[target="_blank"]:hover::after,
.aside-card ul a[target="_blank"]:focus-visible::after {
  opacity: 1;
  transform: none;
}
@media (hover: none) {
  .footer-col a[target="_blank"]::after,
  .aside-card ul a[target="_blank"]::after { opacity: 0.7; transform: none; }
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  margin-top: clamp(40px, 6vw, 64px);
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  font-size: 0.86rem;
}
.footer-bottom p { margin: 0; max-width: 60em; }

@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
}
@media (max-width: 420px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Press page ---------- */

.press-hero { padding: clamp(40px, 6vw, 80px) 0 0; }
.press-hero .eyebrow { display: flex; margin-top: 2rem; }
.press-hero h1 {
  max-width: none;
  margin: 1rem 0 1.25rem;
  font-size: clamp(2.1rem, 4.2vw, 3.1rem);
  line-height: 1.08;
}
.press-meta { display: flex; flex-wrap: wrap; gap: 8px 10px; color: var(--ink-3); font-size: 0.95rem; }

.press-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
  padding-block: clamp(40px, 5vw, 64px) clamp(64px, 9vw, 120px);
}
.press-body { max-width: 720px; font-size: 1.1rem; line-height: 1.7; }
.press-body p { margin-bottom: 1.4em; }
.a11y-list { margin: 0 0 1.4em; padding-left: 1.2rem; display: grid; gap: 10px; }
.a11y-list li::marker { color: var(--accent-600); }
.press-body h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin: 2.4rem 0 1rem; line-height: 1.2; }
.press-body a { color: var(--green-700); font-weight: 600; text-underline-offset: 3px; }
.press-body blockquote {
  margin: 2rem 0;
  padding: 0 0 0 24px;
  border-left: 3px solid var(--accent-500);
  font-family: var(--serif);
  font-size: 1.3rem;
  line-height: 1.5;
}
.press-body blockquote p { margin-bottom: 0.6em; }
.press-body blockquote cite { display: block; font-family: var(--sans); font-style: normal; font-size: 0.95rem; color: var(--ink-3); }
.takeaways {
  margin: 0 0 2.4rem;
  padding: clamp(22px, 3vw, 32px);
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}
.takeaways h2 { margin-top: 0; font-size: 1.35rem; }
.takeaways ul { margin: 0; padding-left: 1.2rem; display: grid; gap: 12px; font-size: 1.02rem; color: var(--ink-2); }
.takeaways li::marker { color: var(--accent-600); }
/* Plain-language summary ahead of the official release text. */
.plain-summary { background: var(--accent-100); border-color: transparent; }
.plain-summary ul { color: var(--ink); }
.plain-summary li::marker { color: var(--accent-700); }
.dateline { font-weight: 700; }
.end-mark { text-align: center; letter-spacing: 0.4em; color: var(--ink-3); margin: 2.4rem 0; }

.press-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 16px; }
.aside-card {
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}
.aside-card h2 { margin: 0 0 0.6rem; font-size: 1.25rem; line-height: 1.2; }
.aside-card p { font-size: 0.95rem; color: var(--ink-2); }
.aside-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 0.95rem; }
.aside-card li { position: relative; padding-left: 0.72em; }
.aside-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.64em;
  width: 0.32em;
  height: 0.32em;
  border-radius: 50%;
  background: var(--accent-600);
}
.aside-card ul a { color: var(--green-700); font-weight: 600; text-decoration: none; }
.aside-card ul a:hover { text-decoration: underline; text-decoration-color: var(--accent-500); text-underline-offset: 3px; }
.aside-card.dark { background: var(--green-900); border-color: var(--green-900); color: var(--on-dark); }
.aside-card.dark h2 { color: #fff; }
.aside-card.dark p { color: var(--on-dark-2); }
.aside-card .btn { margin-top: 0.6rem; width: 100%; }

@media (max-width: 900px) {
  .press-layout { grid-template-columns: 1fr; }
  .press-aside { position: static; }
}

/* ---------- Motion ---------- */

/* Sections fade in as they scroll in. With reduced motion, and in print,
   they're simply shown. Contrast checkers that scan the whole page read
   sections not yet scrolled to as invisible text: scroll to the end first. */
.js .reveal {
  opacity: 0;
  transition: opacity 0.8s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.js .reveal.is-visible { opacity: 1; }
@media print { .js .reveal { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
  }
  .hero-art .flow-dot { display: none; }
  .hero-art .ring-progress { stroke-dashoffset: 0; animation: none; }
  .motion-toggle { display: none; }
  .js .reveal { opacity: 1; }
}
