/* Ewastelessly — site styles
   One stylesheet for every page. Colours and type live in :root. */

:root {
  --ink: #10201A;
  --ink-2: #2B3A33;
  --muted: #4A5A52;
  --ground: #F3F5F2;
  --surface: #FFFFFF;
  --tint: #E6EEE8;
  --line: #DDE5E0;
  --green: #157A52;        /* buttons, white text passes 5:1 */
  --green-text: #146C46;   /* green text on light */
  --green-bright: #1F9D6B; /* charts only */
  --green-soft: #E3F4EA;
  --mint: #7FDCA8;
  --night: #0F1F17;
  --night-2: #2A3D33;
  --blue: #3B6FD4;
  --blue-soft: #E6EEFB;
  --blue-text: #1E4FA3;
  --amber: #E8A23B;
  --amber-soft: #FBF0DC;
  --amber-text: #7A4E07;
  --radius: 22px;
  --shadow: 0 18px 40px rgba(16, 32, 26, 0.10);
  --head: 'Space Grotesk', Inter, system-ui, sans-serif;
  --body: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--green-text); }
a:hover { color: #0E4F33; }
h1, h2, h3 { font-family: var(--head); margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--green-bright); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--white { background: var(--surface); }
.section--tint { background: var(--tint); }
.eyebrow { font-size: 14px; font-weight: 600; color: var(--green-text); letter-spacing: 0.08em; text-transform: uppercase; }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 680px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.08; }
.lede { font-size: 17px; color: var(--ink-2); }
.note { font-size: 13px; color: var(--muted); margin-top: 20px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none; border: 1px solid transparent; cursor: pointer; font-family: var(--body); }
.btn--primary { background: var(--green); color: #fff; }
.btn--primary:hover { background: #106342; color: #fff; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { color: var(--ink); background: #F0F4F1; }
.btn--outline { border-color: #C9D4CD; color: var(--ink); background: transparent; }
.btn--outline:hover { color: var(--ink); background: rgba(255,255,255,0.6); }
.btn--ghost-dark { border-color: #5E7A6B; color: #fff; }
.btn--ghost-dark:hover { color: #fff; background: rgba(255,255,255,0.08); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

.pill { display: inline-flex; align-items: center; gap: 8px; width: fit-content; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.pill--green { background: var(--green-soft); color: var(--green-text); }
.pill--blue { background: var(--blue-soft); color: var(--blue-text); }
.pill--amber { background: var(--amber-soft); color: var(--amber-text); }
.pill--grey { background: #F2F4F3; color: var(--ink-2); }
.pill--mint { background: var(--mint); color: var(--night); }

/* Header */
.site-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; background: rgba(255,255,255,0.9); border-radius: 18px; padding: 10px 12px 10px 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand__logo { display: block; height: 30px; width: auto; }
.brand__by { font-size: 12px; color: var(--muted); padding-top: 6px; align-self: center; }
.brand__mark { display: inline-flex; width: 38px; height: 38px; border-radius: 11px; background: var(--green); align-items: center; justify-content: center; flex-shrink: 0; }
.brand__name { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name strong { font-family: var(--head); font-size: 17px; }
.brand__name span { font-size: 12px; color: var(--muted); }
.nav { display: flex; flex-wrap: wrap; gap: 2px; }
.nav a { padding: 10px 14px; border-radius: 999px; text-decoration: none; color: var(--ink-2); font-size: 15px; }
.nav a:hover, .nav a[aria-current="page"] { background: #fff; color: var(--ink); }
.header-actions { display: flex; gap: 8px; }
.menu-toggle { display: none; }

@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .nav, .header-actions { display: none; width: 100%; }
  .site-header.is-open .nav { display: flex; flex-direction: column; }
  .site-header.is-open .header-actions { display: flex; }
  .site-header.is-open .header-actions .btn { flex: 1; }
}

/* Hero */
.hero { position: relative; overflow: hidden; padding: 24px 0 96px; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero > .wrap { position: relative; }
.hero__copy { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; padding: 88px 0 56px; }
.hero__badge { background: rgba(255,255,255,0.9); color: var(--green-text); font-size: 14px; font-weight: 500; padding: 8px 14px; border-radius: 999px; display: inline-flex; gap: 8px; align-items: center; }
.hero h1 { font-size: clamp(42px, 7vw, 84px); line-height: 1.02; letter-spacing: -0.03em; max-width: 900px; }
.hero__sub { font-size: 19px; color: var(--ink-2); max-width: 680px; }
.hero .btn-row { justify-content: center; }

.cards-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.float-card { background: var(--surface); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; }
.float-card--dark { background: var(--night); color: #fff; }
.float-card__title { font-size: 14px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.float-card--dark .float-card__title { color: #BFE3CF; }
.big-num { font-family: var(--head); font-size: 34px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.small { font-size: 14px; color: var(--muted); }
.float-card--dark .small { color: #C9DCD1; }
.bar { height: 8px; background: var(--night-2); border-radius: 999px; }
.bar > span { display: block; height: 8px; background: var(--mint); border-radius: 999px; }

/* Stat strip */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; padding: 48px 24px; }
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat strong { font-family: var(--head); font-size: 44px; letter-spacing: -0.02em; line-height: 1.1; }
.stat span { font-size: 15px; color: var(--muted); }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.step { background: var(--surface); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.step__n { font-family: var(--head); font-weight: 700; color: var(--green-text); font-size: 15px; }
.step h3 { font-size: 22px; }
.step p { font-size: 15px; color: var(--muted); }
.step--dark { background: var(--ink); color: #fff; }
.step--dark .step__n { color: var(--mint); }
.step--dark p { color: #D5E6DC; }

/* Below 1130px the steps become a swipe row: the next card peeks in, cards snap.
   (Five cards need ~1112px plus room for a desktop scrollbar; above that they sit
   in one fixed row of five.) The row bleeds to the screen edges (cancels .wrap
   padding) so cards scroll edge to edge. */
@media (min-width: 1130px) {
  .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 1129px) {
  .steps { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin: 0 -24px; padding: 4px 24px 16px; scroll-padding-inline: 24px; scrollbar-width: thin; }
  .step { flex: 0 0 min(78%, 280px); scroll-snap-align: start; }
}

/* Previous / next buttons for a swipe row: only with a mouse or trackpad,
   and only while the row actually scrolls (site.js toggles [hidden]). */
.row-arrows { display: flex; justify-content: flex-end; gap: 8px; margin-top: 4px; }
.row-arrows[hidden] { display: none; }
.row-arrow { width: 48px; padding: 0; }
.row-arrow:disabled { opacity: .35; cursor: default; transform: none; }
@media (hover: none), (pointer: coarse) { .row-arrows { display: none; } }

/* Platform preview */
.preview { background: var(--surface); border-radius: 26px; padding: 16px; box-shadow: 0 24px 60px rgba(16,32,26,0.12); display: flex; flex-wrap: wrap; gap: 16px; }
.preview__side { flex: 1 1 200px; max-width: 240px; display: flex; flex-direction: column; gap: 4px; padding: 12px; }
.preview__side span { padding: 10px 12px; border-radius: 12px; font-size: 14px; color: var(--ink-2); }
.preview__side span.is-active { background: var(--green-soft); color: var(--ink); font-weight: 600; }
.preview__brand { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; padding: 6px 8px 16px !important; }
.preview__main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 16px; padding: 8px; }
.preview__top { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; }
.preview__top h3 { font-size: 26px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 16px; }
.span-2 { grid-column: span 2; min-width: 0; }
@media (max-width: 640px) { .span-2 { grid-column: auto; } .preview__side { max-width: none; flex-direction: row; flex-wrap: wrap; } }
.panel { background: #F6F8F6; border-radius: 20px; padding: 20px; }
.panel--line { background: transparent; border: 1px solid #E3E9E5; }
.panel--dark { background: var(--night); color: #fff; }
.panel__kpi { display: flex; flex-wrap: wrap; gap: 20px; }
.panel__kpi > div { flex: 1 1 180px; display: flex; flex-direction: column; gap: 8px; justify-content: flex-end; }
.panel__kpi svg { flex: 2 1 280px; min-width: 0; height: 150px; }
.huge { font-family: var(--head); font-size: 52px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.table-box { border: 1px solid #E3E9E5; border-radius: 20px; overflow: hidden; }
.table-box__head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; font-weight: 700; font-size: 17px; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 520px; }
th { text-align: left; background: #F6F8F6; padding: 12px 20px; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
td { padding: 14px 20px; border-top: 1px solid #EDF1EE; color: var(--ink-2); }
td:first-child { font-weight: 600; color: var(--ink); }
.legend { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.legend div { display: flex; justify-content: space-between; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 8px; }

/* Packs */
.pack { background: var(--surface); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.pack h3 { font-size: 26px; }
.pack__price { font-family: var(--head); font-size: 34px; font-weight: 700; }
.pack p { font-size: 15px; color: var(--muted); }
.pack ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: var(--ink-2); }
.pack .btn { margin-top: auto; }
.pack--dark { background: var(--ink); color: #fff; }
.pack--dark p { color: #D5E6DC; }
.pack--dark ul { color: #E7F1EB; }

/* Journeys */
.journey { background: var(--ground); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.journey h3 { font-size: 24px; }
.journey p { font-size: 15px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { background: #fff; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; }

/* About */
.about { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.about > div { flex: 1 1 380px; display: flex; flex-direction: column; gap: 16px; }
.about h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; }
.awards { flex: 1 1 380px; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.awards li { background: #fff; border-radius: 18px; padding: 20px; font-size: 15px; }
.awards strong { display: block; font-size: 16px; margin-bottom: 4px; }

/* CTA band */
.cta { position: relative; overflow: hidden; border-radius: 28px; background: var(--ink); color: #fff; }
.cta svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.cta__inner { position: relative; padding: 64px 32px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.cta h2 { font-size: clamp(32px, 4.4vw, 56px); line-height: 1.05; }
.cta p { font-size: 18px; color: #D5E6DC; max-width: 560px; }
.cta .btn-row { justify-content: center; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .wrap { padding-top: 32px; padding-bottom: 32px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--muted); }
.site-footer nav { display: flex; gap: 16px; flex-wrap: wrap; }

/* Inner pages */
.page-hero { padding: 24px 0 0; }
.page-hero .wrap > header + * { margin-top: 56px; }
.page-title { display: flex; flex-direction: column; gap: 14px; max-width: 760px; padding: 56px 0 40px; }
.page-title h1 { font-size: clamp(36px, 5vw, 60px); line-height: 1.05; }
.prose { max-width: 760px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 16px; }
.prose h2 { font-size: 24px; margin-top: 24px; }
.prose ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }

/* Form */
.form-layout { display: flex; flex-wrap: wrap; gap: 32px; padding-bottom: 96px; align-items: flex-start; }
.form-card { flex: 999 1 520px; min-width: 0; background: #fff; border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 22px; }
.form-aside { flex: 1 1 280px; display: flex; flex-direction: column; gap: 16px; }
.aside-card { background: #fff; border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.aside-card h2 { font-size: 20px; }
.aside-card ol, .aside-card ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: var(--ink-2); }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, fieldset legend { font-weight: 600; font-size: 15px; }
.field .hint { font-size: 13px; color: var(--muted); font-weight: 400; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea { font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid #C9D4CD; border-radius: 12px; padding: 12px 14px; min-height: 48px; width: 100%; }
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(31,157,107,0.35); border-color: var(--green); }
fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 8px; }
.check { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 12px; border: 1px solid #DDE5E0; border-radius: 12px; font-size: 15px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--green); margin: 0; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--green); }
.hidden-field { position: absolute; left: -9999px; }
.form-status { font-size: 15px; font-weight: 500; }
.form-status.is-error { color: #A12B2B; }
/* hCaptcha: the widget is a fixed 303 x 78px. Give it room on phones and
   scale it down where even that is too narrow. */
.captcha-box { min-height: 78px; }
@media (max-width: 480px) { .form-card { padding: 24px 20px; } }
@media (max-width: 400px) { .captcha-box .h-captcha { transform: scale(.76); transform-origin: left top; height: 60px; } .captcha-box { min-height: 60px; } }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: #A12B2B; box-shadow: 0 0 0 1px #A12B2B; }
.consent input[aria-invalid="true"] { outline: 2px solid #A12B2B; outline-offset: 2px; }
.consent:has(input[aria-invalid="true"]) span { color: #A12B2B; }

/* Screen-reader-only text (used by the typewriter) */
.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; }

/* ============ Motion ============
   Everything below runs only when the visitor has not asked for reduced motion,
   and every animation plays once (nothing loops forever).
   site.js adds .reveal / .is-visible and runs the typewriter and count-ups. */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }

  /* Gentle easing on interactive things */
  .btn, .nav a, .check { transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
  .btn:hover { transform: translateY(-1px); }
  .btn:active { transform: none; }

  /* Mobile menu slides open */
  .site-header.is-open .nav, .site-header.is-open .header-actions { animation: menu-in .22s ease both; }

  /* Hero: items rise in, one after another, on load */
  .hero__copy > *, .hero .cards-3 > *, .page-title > * { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
  .hero__copy > :nth-child(2) { animation-delay: .1s; }
  .hero__copy > :nth-child(3) { animation-delay: .25s; }
  .hero__copy > :nth-child(4) { animation-delay: .4s; }
  .hero .cards-3 > :nth-child(1) { animation-delay: .55s; }
  .hero .cards-3 > :nth-child(2) { animation-delay: .67s; }
  .hero .cards-3 > :nth-child(3) { animation-delay: .79s; }
  .page-title > :nth-child(2) { animation-delay: .08s; }
  .page-title > :nth-child(3) { animation-delay: .16s; }
  .page-title > :nth-child(4) { animation-delay: .24s; }

  /* Typewriter phrase: hidden until site.js types it. If the script never
     runs, the phrase simply appears after 2.5s. */
  .type { visibility: hidden; animation: show 0s 2.5s forwards; }
  .type.is-typing { visibility: visible; animation: none; }
  .type .w { white-space: nowrap; }
  .type .ch { visibility: hidden; position: relative; }
  .type .ch.on { visibility: visible; }
  .type .ch.caret::after { content: ''; position: absolute; right: -0.07em; top: 0.12em; bottom: 0.08em; width: 0.06em; background: var(--green); animation: blink 1s steps(1) 3; }

  /* Hero route card: dots pop in, then the route dashes flow along */
  .hero .float-card svg circle { transform-box: fill-box; transform-origin: center; animation: pop .45s cubic-bezier(.3,1.6,.5,1) both; }
  .hero .float-card svg circle:nth-of-type(1) { animation-delay: 1s; }
  .hero .float-card svg circle:nth-of-type(2) { animation-delay: 1.12s; }
  .hero .float-card svg circle:nth-of-type(3) { animation-delay: 1.24s; }
  .hero .float-card svg circle:nth-of-type(4) { animation-delay: 1.36s; }
  .hero .float-card svg path[stroke-dasharray] { animation: route 1.2s linear 1s 3; }

  /* Bars fill from the left */
  .hero .bar > span { animation: grow 1.1s cubic-bezier(.2,.7,.2,1) 1.1s both; }
  .bar > span { transform-origin: left center; }
  .is-visible .bar > span { animation: grow 1.1s cubic-bezier(.2,.7,.2,1) .5s both; }

  /* Scroll reveal: fade up as each block comes into view */
  .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
  .reveal.is-visible { opacity: 1; transform: none; }

  /* Platform preview: chart line draws, donut sweeps in */
  .is-visible .chart-line { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.6s cubic-bezier(.4,0,.2,1) .4s forwards; }
  .is-visible .panel--line svg { animation: sweep 1.1s cubic-bezier(.2,.7,.2,1) .4s both; }
}

@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes show { to { visibility: visible; } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes route { from { stroke-dashoffset: 24; } to { stroke-dashoffset: 0; } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes sweep { from { opacity: 0; transform: rotate(-120deg) scale(.85); } to { opacity: 1; transform: none; } }
@keyframes menu-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* Cookie choice banner (built by site.js; Google Analytics loads only after "Allow") */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; max-width: 520px; margin-left: auto;
  background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 18px 50px rgba(16, 32, 26, 0.22); padding: 18px 20px; display: flex; flex-direction: column; gap: 14px; }
.cookie-banner[hidden] { display: none; }
.cookie-banner p { font-size: 15px; color: var(--ink-2); }
.cookie-banner strong { display: block; font-family: var(--head); font-size: 17px; color: var(--ink); margin-bottom: 4px; }
.cookie-banner .btn { flex: 1 1 170px; min-height: 44px; padding: 10px 16px; font-size: 15px; white-space: nowrap; }
.footer-link { background: none; border: 0; padding: 0; font: inherit; color: var(--green-text); text-decoration: underline; cursor: pointer; }
.footer-link:hover { color: #0E4F33; }
.footer-link[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .cookie-banner:not([hidden]) { animation: rise .45s cubic-bezier(.2,.7,.2,1) both; }
}

/* ============ Inner pages and shared blocks (multi-page site) ============ */
.breadcrumb { padding-top: 36px; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); }
.breadcrumb li + li::before { content: "›"; margin-right: 8px; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--ink); }
.page-intro .breadcrumb + .page-title { padding-top: 20px; }
/* the first plain section sits close under the page title */
.page-intro + .section:not(.section--tint):not(.section--white) { padding-top: 8px; }
.page-actions { padding-bottom: 96px; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 20px; }
.card { background: var(--surface); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.card h3 { font-size: 22px; }
.card p { font-size: 15px; color: var(--muted); }
.section--white .card { background: var(--ground); }

.link-card { background: var(--surface); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 10px; color: var(--ink); text-decoration: none; border: 1px solid transparent; }
.link-card:hover { color: var(--ink); border-color: var(--line); box-shadow: var(--shadow); }
.link-card h3 { font-size: 22px; }
.link-card p { font-size: 15px; color: var(--muted); }
.link-card__kicker { font-size: 13px; font-weight: 600; color: var(--green-text); letter-spacing: 0.06em; text-transform: uppercase; }
.link-card__more { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; color: var(--green-text); }
.section--white .link-card { background: var(--ground); }

.more-link { margin-top: 28px; }
.more-link a { font-weight: 600; text-decoration: none; }
.more-link a:hover { text-decoration: underline; }

.feature-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 20px 32px; }
.feature-list li { display: flex; flex-direction: column; gap: 6px; border-left: 3px solid var(--green); padding-left: 16px; }
.feature-list strong { font-family: var(--head); font-size: 18px; }
.feature-list span { font-size: 15px; color: var(--muted); }

.ladder { list-style: none; margin: 0; padding: 0; counter-reset: rung; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); gap: 12px; }
.ladder li { counter-increment: rung; background: var(--ground); border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.ladder li::before { content: "0" counter(rung); font-family: var(--head); font-weight: 700; font-size: 15px; color: var(--green-text); }
.ladder li:last-child { background: var(--amber-soft); }
.ladder li:last-child::before { color: var(--amber-text); }
.ladder strong { font-family: var(--head); font-size: 20px; }
.ladder span { font-size: 15px; color: var(--muted); }

@media (prefers-reduced-motion: no-preference) {
  .link-card { transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease; }
  .link-card:hover { transform: translateY(-2px); }
}
.section-head--small { margin-bottom: 24px; }
.section-head--small h2 { font-size: 24px; line-height: 1.2; }
