/* Min-Tech — dark two-page site
   Core dark: green #008854 (with deeper shades for depth). Accent: lime #A5CD39. Navy #0C1C33 for ink.
   Lime text is too low-contrast on green, so on dark surfaces lime is used for fills, tags and rules,
   and accent text uses --lime-pale.
   White is reserved for the contact block and the About page sections. */
:root {
  --lime: #a5cd39;
  --green: #008854;
  --lime-pale: #e2f3a3;   /* accent text on dark green */
  --navy: #0c1c33;
  --core: #008854;        /* core dark surface */
  --core-2: #007549;      /* raised surfaces: cards */
  --core-deep: #005e3a;   /* deep bands, menus */
  --core-deepest: #00452b;/* footer */
  --on-dark: #fff;
  --on-dark-muted: #fff;  /* white is the only body colour with AA contrast on #008854 */
  --line-dark: rgba(255, 255, 255, .22);
  --ink: #0c1c33;
  --ink-muted: #4b5b70;
  --line-light: #e3e8ee;
  --surface-light: #f4f7f9;
  --grad: linear-gradient(95deg, #f0fac8 0%, var(--lime-pale) 40%, #c9e675 100%);
  --radius: 18px;
  --radius-lg: 28px;
  --header-h: 112px;      /* topbar + shrunk main bar */
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; font-family: var(--font); font-size: .999rem; line-height: 1.65; color: var(--on-dark); background: var(--core); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: #fff; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.1; font-weight: 800; letter-spacing: -.025em; }
h2 { font-size: clamp(1.88rem, 3.948vw, 3.196rem); letter-spacing: -.035em; }
h3 { font-size: 1.175rem; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
address { font-style: normal; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--lime); color: var(--navy); font-weight: 700; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.section--light :focus-visible { outline-color: var(--green); }

.wrap { width: min(1240px, 100% - 2 * clamp(16px, 4vw, 40px)); margin-inline: auto; }
.wrap--narrow { width: min(860px, 100% - 32px); }

/* ---------- Type helpers ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 18px; font-size: .733rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: #fff; }
.eyebrow::before { content: ""; width: 36px; height: 3px; border-radius: 2px; background: var(--lime); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: clamp(.987rem, 1.316vw, 1.128rem); color: var(--on-dark-muted); max-width: 62ch; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 28px; border: 2px solid transparent; border-radius: 999px; font: 700 .94rem/1 var(--font); text-decoration: none; cursor: pointer; transition: transform .2s, background-color .2s, border-color .2s, color .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--lime); color: var(--navy); box-shadow: 0 10px 30px -12px rgba(0, 40, 24, .6); }
.btn--primary:hover { background: #b6dc4c; }
.btn--secondary { background: var(--green); color: #fff; }
.btn--secondary:hover { background: #00744a; }
.btn--ghost { border-color: rgba(255, 255, 255, .55); color: #fff; background: rgba(255, 255, 255, .06); }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .14); }
.btn--outline { border-color: var(--lime); color: #fff; }
.btn--outline:hover { background: var(--lime); color: var(--navy); }
.section--light .btn--outline { border-color: var(--green); color: var(--green); }
.section--light .btn--outline:hover { background: var(--green); color: #fff; }
.btn--block { width: 100%; }

/* ---------- Header: green utility bar + white main bar ---------- */
/* The main bar starts large and shrinks once the page scrolls (.is-stuck, set in main.js).
   --header-h is the shrunk height (used for anchor offsets); --header-h-lg the arrival height. */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; }
.topbar { background: var(--core); color: #fff; font-size: .752rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; min-height: 38px; }
.topbar__social { display: grid; place-items: center; width: 28px; height: 28px; margin-left: -6px; border-radius: 6px; color: #fff; transition: color .2s, background-color .2s; }
.topbar__social:hover { color: var(--lime); background: rgba(255, 255, 255, .12); }
.topbar__social svg { width: 16px; height: 16px; }
.topbar__nav ul { display: flex; gap: 4px; }
.topbar__nav a { display: block; padding: 6px 12px; color: #fff; font-weight: 600; letter-spacing: .04em; text-decoration: none; border-radius: 999px; }
.topbar__nav a:hover { background: rgba(255, 255, 255, .14); }
.topbar__nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--lime); border-radius: 0; }
.mainbar { background: #fff; color: var(--ink); transition: box-shadow .3s; }
.site-header.is-stuck .mainbar { box-shadow: 0 12px 30px -18px rgba(0, 40, 24, .45); }
.mainbar :focus-visible { outline-color: var(--green); }
.mainbar__inner { display: flex; align-items: center; gap: 24px; min-height: var(--mainbar-lg); transition: min-height .3s ease; }
.site-header.is-stuck .mainbar__inner { min-height: var(--mainbar-sm); }
.brand img { height: var(--logo-lg); width: auto; transition: height .3s ease; }
.site-header.is-stuck .brand img { height: var(--logo-sm); }
.site-nav { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav__list { display: flex; gap: 2px; }
.nav__list a { position: relative; display: block; padding: 12px 16px; color: var(--ink); font-weight: 700; font-size: .94rem; text-decoration: none; border-radius: 999px; transition: color .2s, background-color .2s; }
.nav__list a:hover { background: #eef6e0; color: var(--green); }
.nav__list a.is-active { color: var(--green); }
.nav__list a.is-active::after { content: ""; position: absolute; left: 50%; bottom: 4px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--lime); }
.nav__list--company { display: none; }
.nav__cta { margin-left: 10px; min-height: 48px; padding: 0 26px; box-shadow: none; }
.nav__toggle { display: none; margin-left: auto; width: 46px; height: 46px; padding: 10px; border: 1px solid var(--line-light); border-radius: 12px; background: transparent; color: var(--ink); cursor: pointer; }
.nav__toggle svg { width: 100%; height: 100%; }
.nav__toggle .icon-close, .nav__toggle[aria-expanded="true"] .icon-open { display: none; }
.nav__toggle[aria-expanded="true"] .icon-close { display: block; }
:root { --mainbar-lg: 112px; --mainbar-sm: 74px; --logo-lg: 54px; --logo-sm: 38px; --header-h-lg: 150px; }

@media (max-width: 1060px) {
  :root { --mainbar-lg: 88px; --mainbar-sm: 66px; --logo-lg: 40px; --logo-sm: 30px; --header-h: 66px; --header-h-lg: 88px; }
  .topbar { display: none; }
  .nav__toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; max-height: calc(100vh - var(--mainbar-sm)); overflow-y: auto; padding: 8px clamp(16px, 4vw, 40px) 28px; background: #fff; border-top: 1px solid var(--line-light); box-shadow: 0 24px 40px -20px rgba(0, 40, 24, .45); }
  .site-nav.is-open { display: flex; }
  .nav__list { flex-direction: column; }
  .nav__list a { padding: 15px 4px; border-radius: 0; border-bottom: 1px solid var(--line-light); font-size: .987rem; }
  .nav__list a:hover { background: none; }
  .nav__list a.is-active::after { display: none; }
  .nav__list--company { display: flex; margin-top: 10px; }
  .nav__list--company a { padding: 11px 4px; font-size: .865rem; font-weight: 600; color: var(--ink-muted); border: 0; }
  .nav__cta { margin: 18px 0 0; }
}

/* ---------- Hero ---------- */
.hero, .page-hero { position: relative; overflow: hidden; isolation: isolate; background:
  radial-gradient(55% 55% at 88% 12%, rgba(165, 205, 57, .28), transparent 70%),
  radial-gradient(60% 70% at 0% 100%, rgba(0, 50, 30, .55), transparent 70%),
  var(--core); }
.hero { padding: calc(var(--header-h-lg) + clamp(56px, 9vw, 120px)) 0 clamp(40px, 6vw, 64px); }
.hero__media { position: absolute; inset: 0 0 0 42%; z-index: -1; opacity: .5; -webkit-mask: linear-gradient(90deg, transparent, #000 55%); mask: linear-gradient(90deg, transparent, #000 55%); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1); mix-blend-mode: multiply; }
.hero__inner { max-width: 900px; }
.hero h1 { font-size: clamp(2.444rem, 6.58vw, 5.264rem); line-height: 1.02; letter-spacing: -.045em; margin-bottom: 26px; }
.hero__sub { max-width: 640px; font-size: clamp(.987rem, 1.41vw, 1.147rem); color: var(--on-dark-muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(56px, 8vw, 96px); }
.highlight { display: flex; align-items: center; gap: 22px; padding: 30px 32px; border: 1px solid var(--line-dark); border-radius: var(--radius-lg); background: rgba(0, 70, 43, .45); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.highlight__icon { flex: none; display: grid; place-items: center; width: 76px; height: 76px; border-radius: 22px; background: var(--lime); color: var(--navy); }
.highlight__icon svg { width: 40px; height: 40px; }
.highlight strong { display: block; font-size: clamp(1.692rem, 2.82vw, 2.35rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; }
.highlight span:not(.highlight__icon) { display: block; margin-top: 4px; font-size: .893rem; }
.stat-row dt { font-size: clamp(1.41rem, 2.444vw, 1.974rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.stat-row dd { margin: 4px 0 0; font-size: .846rem; color: var(--on-dark-muted); }
.page-hero { padding: calc(var(--header-h-lg) + clamp(48px, 7vw, 96px)) 0 clamp(56px, 7vw, 88px); }
.page-hero h1 { max-width: 900px; font-size: clamp(2.256rem, 5.64vw, 4.324rem); line-height: 1.04; letter-spacing: -.045em; margin-bottom: 22px; }
@media (max-width: 960px) { .highlights { grid-template-columns: 1fr; max-width: 520px; } }
@media (max-width: 720px) {
  .hero__media { inset: 0; opacity: .25; -webkit-mask: none; mask: none; }
  .highlight { padding: 20px 22px; gap: 18px; }
  .highlight__icon { width: 60px; height: 60px; border-radius: 18px; }
  .highlight__icon svg { width: 32px; height: 32px; }
}

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(83px, 11vw, 147px) 0; }
.section--deep { background: radial-gradient(60% 80% at 100% 0%, rgba(165, 205, 57, .16), transparent 70%), var(--core-deep); }
/* Background photo treated like the hero: greyscale, multiplied into the green, fading from the top-right corner */
.section--media { overflow: hidden; isolation: isolate; background: var(--core); }
.section__media { position: absolute; top: 0; right: 0; z-index: -1; width: 64%; height: min(920px, 100%); opacity: .5;
  -webkit-mask: radial-gradient(110% 100% at 100% 0%, #000 30%, transparent 75%); mask: radial-gradient(110% 100% at 100% 0%, #000 30%, transparent 75%); }
.section__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1); mix-blend-mode: multiply; }
@media (max-width: 720px) { .section__media { width: 100%; height: 640px; opacity: .3; } }
/* Light version for white sections: the photo keeps its colour (softened) and fades to white toward the copy */
.section--light.section--media { background: #fff; }
.section__media--light { width: 64%; height: 100%; opacity: .7;
  -webkit-mask: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .5) 28%, #000 62%), linear-gradient(180deg, #000 65%, transparent 100%);
  -webkit-mask-composite: source-in; mask: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .5) 28%, #000 62%), linear-gradient(180deg, #000 65%, transparent 100%); mask-composite: intersect; }
.section__media--light img { filter: saturate(.75) contrast(.95); mix-blend-mode: normal; }
.section--light .about-intro { position: relative; }
@media (max-width: 720px) { .section__media--light { width: 100%; height: 420px; opacity: .3; } }
/* Buy Back follows Our Services on the same green, so drop the stacked padding: the gap above the panel matches the one below it */
#services { padding-bottom: 0; }
.section--light { background: #fff; color: var(--ink); }
.section--light .eyebrow { color: var(--green); }
.section--light .lede { color: var(--ink-muted); }
.section--light a:not(.btn) { color: var(--green); }
.section--light .grad { background-image: linear-gradient(95deg, #6f9a12, var(--green)); }
.section--rule { padding-top: 0; }
.section--rule > .wrap { padding-top: clamp(83px, 11vw, 147px); border-top: 1px solid var(--line-light); }
.section-head { max-width: 780px; margin-bottom: clamp(40px, 5vw, 60px); }

/* ---------- Services ---------- */
.subhead { margin-bottom: 28px; font-size: clamp(1.316rem, 2.256vw, 1.786rem); letter-spacing: -.025em; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service { display: flex; flex-direction: column; padding: 37px 32px; border: 1px solid var(--line-dark); border-radius: var(--radius-lg); background: linear-gradient(180deg, var(--core-2), rgba(0, 117, 73, .45)); transition: border-color .25s, transform .25s; }
.service:hover { border-color: var(--lime); transform: translateY(-4px); }
.service__icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 24px; border-radius: 16px; background: var(--lime); color: var(--navy); }
.service__icon svg { width: 28px; height: 28px; }
.service p { color: var(--on-dark-muted); font-size: .921rem; }
@media (max-width: 1060px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .service-grid { grid-template-columns: 1fr; } }

/* Case study + closed-loop diagram */
.case { margin-top: clamp(64px, 8vw, 104px); padding: clamp(32px, 4.4vw, 64px); border: 1px solid var(--line-dark); border-radius: var(--radius-lg); background: var(--core-2); scroll-margin-top: calc(var(--header-h) + 16px); }
.case__intro { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.case__intro h3 { font-size: clamp(1.598rem, 2.82vw, 2.256rem); letter-spacing: -.03em; }
.case__intro .btn { margin-top: 10px; }
.case__intro { align-items: center; }
/* Case study impact infographic */
.impact { display: grid; gap: 22px; margin: 0; padding: clamp(24px, 3vw, 36px); border: 1px solid var(--line-dark); border-radius: var(--radius-lg); background: var(--core-deep); }
.impact__kicker { font-size: .705rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--lime-pale); }
.impact__stat { padding-bottom: 22px; border-bottom: 1px dashed rgba(255, 255, 255, .22); }
.impact__pre { display: block; font-size: .8rem; font-weight: 700; color: rgba(255, 255, 255, .8); }
.impact__big { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0; }
.impact__big strong { font-size: clamp(2.6rem, 5vw, 3.8rem); font-weight: 800; line-height: 1; letter-spacing: -.04em; color: var(--lime); font-variant-numeric: tabular-nums; }
.impact__big span { font-size: 1.1rem; font-weight: 800; }
.impact__label { margin: 6px 0 0; font-size: .94rem; font-weight: 600; }
.impact__cars { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 8px; color: var(--lime); }
.impact__cars svg { width: 28px; height: 28px; }
.impact__equiv { margin: 0; font-size: .846rem; color: rgba(255, 255, 255, .85); }
.impact__equiv strong { color: var(--lime-pale); }
.impact__stat--ring { display: grid; grid-template-columns: 104px 1fr; gap: 20px; align-items: center; }
.impact__ring { width: 104px; height: 104px; transform: rotate(-90deg); }
.impact__ring circle { fill: none; stroke-width: 10; }
.impact__ring-track { stroke: rgba(255, 255, 255, .15); }
.impact__ring-fill { stroke: var(--lime); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 0; transition: stroke-dashoffset 1.4s ease-out; }
.impact__check { fill: none; stroke: #fff; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; transform: rotate(90deg); transform-origin: 60px 60px; }
.impact__ref { margin-left: 2px; color: var(--lime-pale); font-weight: 800; text-decoration: none; }
.impact__note { margin: 0; font-size: .74rem; line-height: 1.5; color: rgba(255, 255, 255, .78); }
/* Lead stat on top, the two supporting stats side by side and smaller beneath it */
.impact__stat--lead .impact__big strong { position: relative; font-size: clamp(3rem, 6vw, 4.4rem); }
.impact__stat--lead .impact__big strong::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 4px; border-radius: 2px; background: var(--lime); transform-origin: left; }
.impact__stat--lead .impact__label { margin-top: 16px; }
.impact__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; padding-bottom: 22px; border-bottom: 1px dashed rgba(255, 255, 255, .22); }
.impact__row .impact__stat { padding-bottom: 0; border-bottom: 0; }
.impact__stat--sm .impact__big strong { font-size: clamp(1.8rem, 2.8vw, 2.3rem); }
.impact__stat--sm .impact__big span { font-size: .85rem; }
.impact__stat--sm .impact__label { font-size: .8rem; }
.impact__stat--sm .impact__cars { gap: 4px; margin: 12px 0 6px; }
.impact__stat--sm .impact__cars svg { width: 16px; height: 16px; }
.impact__stat--sm .impact__equiv { font-size: .75rem; }
.impact__stat--sm.impact__stat--ring { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.impact__stat--sm .impact__ring { width: 72px; height: 72px; }
.impact__check { stroke-dasharray: 60; stroke-dashoffset: 0; transition: stroke-dashoffset .5s ease-out 1.5s; }
@media (max-width: 420px) { .impact__row { grid-template-columns: 1fr; } }

/* animated state, switched on by main.js only when motion is allowed */
.impact--animate .impact__stat { transition: opacity .6s ease, transform .6s ease; }
.impact--animate .impact__stat--lead { transition-delay: .05s; }
.impact--animate .impact__row .impact__stat:first-child { transition-delay: .25s; }
.impact--animate .impact__row .impact__stat:last-child { transition-delay: .45s; }
.impact--animate:not(.is-visible) .impact__stat { opacity: 0; transform: translateY(16px); }
.impact--animate .impact__stat--lead .impact__big strong::after { transition: transform 1.2s cubic-bezier(.2, .7, .2, 1) .3s; }
.impact--animate:not(.is-visible) .impact__stat--lead .impact__big strong::after { transform: scaleX(0); }
.impact--animate:not(.is-visible) .impact__check { stroke-dashoffset: 60; }
.impact--animate .impact__cars svg { transition: opacity .3s ease, transform .3s ease; }
.impact--animate:not(.is-visible) .impact__cars svg { opacity: 0; transform: translateY(6px); }
.impact--animate:not(.is-visible) .impact__ring-fill { stroke-dashoffset: 100; }
/* Benefits: compact cards, smaller than the cards elsewhere on the site */
.benefits { margin-top: clamp(40px, 5vw, 56px); }
.benefits h4 { margin-bottom: 18px; font-size: 1.128rem; text-align: center; }
/* cards wrap and stay centred, so a short last row sits in the middle */
.benefits__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.benefits__grid .benefit { flex: 0 1 272px; }
@media (max-width: 620px) { .benefits__grid .benefit { flex-basis: 100%; } }
.benefit { display: flex; gap: 14px; padding: 16px 18px; border: 1px solid var(--line-dark); border-radius: var(--radius); background: var(--core-deep); }
.benefit__icon { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--lime); color: var(--navy); }
.benefit__icon svg { width: 20px; height: 20px; }
.benefit h5 { margin: 2px 0 3px; font-size: .94rem; font-weight: 800; letter-spacing: -.01em; }
.benefit p { margin: 0; font-size: .827rem; line-height: 1.5; }

.loop { margin: clamp(56px, 7vw, 88px) 0 0; }
.loop__title { margin-bottom: 20px; text-align: center; font-size: clamp(1.222rem, 2.068vw, 1.598rem); font-weight: 800; letter-spacing: -.02em; }
/* Circular graphic: ring drawn in a 900x600 SVG; nodes sit on its four points (top, right, bottom, left)
   and their labels sit outside the ring. Sizes use container units so it all scales together. */
.loop__graphic { position: relative; max-width: 900px; margin: clamp(70px, 9vw, 96px) auto clamp(4px, .8vw, 12px); aspect-ratio: 3 / 2; container-type: inline-size; }
.loop__ring { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--lime); }
.loop__node { --s: clamp(56px, 9.4cqw, 84px); position: absolute; width: var(--s); height: var(--s); margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2); }
.loop__node--top { left: 50%; top: 16.667%; }
.loop__node--right { left: 72.222%; top: 50%; }
.loop__node--bottom { left: 50%; top: 83.333%; }
.loop__node--left { left: 27.778%; top: 50%; }
.loop__icon { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: var(--lime); color: var(--navy); box-shadow: 0 0 0 8px rgba(165, 205, 57, .2); }
.loop__icon svg { width: 46%; height: 46%; }
.loop__text { position: absolute; width: 22cqw; }
.loop__node--top .loop__text { bottom: calc(100% + 16px); left: 50%; transform: translateX(-50%); text-align: center; }
.loop__node--bottom .loop__text { top: calc(100% + 16px); left: 50%; transform: translateX(-50%); text-align: center; }
.loop__node--right .loop__text { left: calc(100% + 18px); top: 50%; transform: translateY(-50%); }
.loop__node--left .loop__text { right: calc(100% + 18px); top: 50%; transform: translateY(-50%); text-align: right; }
.loop__node--top .loop__text, .loop__node--bottom .loop__text { width: 40cqw; }
.loop__text h5 { margin: 0; font-size: clamp(.987rem, 2.068cqw, 1.222rem); font-weight: 800; letter-spacing: -.015em; }
.loop__text p { margin: 2px 0 0; font-size: clamp(.799rem, 1.598cqw, .921rem); line-height: 1.4; }
.loop__hub { position: absolute; left: 50%; top: 50%; display: grid; place-content: center; width: 27cqw; aspect-ratio: 1; margin: 0; transform: translate(-50%, -50%); border-radius: 50%; background: var(--core-deep); border: 1px solid var(--line-dark); text-align: center; font-size: clamp(.94rem, 2.444cqw, 1.363rem); font-weight: 800; line-height: 1.2; letter-spacing: -.02em; }
.loop__hub span { color: var(--lime-pale); }
@media (prefers-reduced-motion: no-preference) {
  .loop__ring g { animation: loop-flow 1.6s linear infinite; }
}
@keyframes loop-flow { to { stroke-dashoffset: -28; } }
/* Narrow screens: same graphic as a vertical track */
@media (max-width: 720px) {
  .loop__graphic { aspect-ratio: auto; margin: 28px 0 0; display: flex; flex-direction: column; gap: 24px; }
  .loop__ring { display: none; }
  .loop__nodes { position: relative; display: grid; gap: 22px; }
  .loop__nodes::before { content: ""; position: absolute; left: 30px; top: 30px; bottom: 30px; border-left: 3px dotted var(--lime); }
  .loop__node, .loop__node--top, .loop__node--right, .loop__node--bottom, .loop__node--left { --s: 60px; position: relative; left: auto; top: auto; display: flex; align-items: center; gap: 18px; width: auto; height: auto; margin: 0; }
  .loop__icon { flex: none; width: var(--s); height: var(--s); box-shadow: 0 0 0 6px rgba(165, 205, 57, .2); }
  .loop__node .loop__text, .loop__node--top .loop__text, .loop__node--bottom .loop__text { position: static; width: auto; transform: none; text-align: left; }
  .loop__text h5 { font-size: 1.034rem; }
  .loop__text p { font-size: .893rem; }
  .loop__hub { position: static; width: auto; aspect-ratio: auto; transform: none; padding: 16px 20px; border-radius: var(--radius); font-size: 1.034rem; }
  .loop__hub br { display: none; }
}
@media (max-width: 860px) {
  .case__intro { grid-template-columns: 1fr; }
}

/* ---------- Buy back: a navy, lime-outlined panel so it stands apart from the green blocks ---------- */
.buyback-section { background: radial-gradient(50% 60% at 0% 100%, rgba(0, 50, 30, .45), transparent 70%), var(--core); }
.buyback-panel { position: relative; overflow: hidden; padding: clamp(32px, 5vw, 72px); border: 2px solid var(--lime); border-radius: 36px;
  /* soft light from the top-right corner toward the middle, behind the badge */
  background: radial-gradient(75% 90% at 100% 0%, rgba(165, 205, 57, .3) 0%, rgba(0, 136, 84, .18) 45%, transparent 72%), radial-gradient(45% 60% at 0% 100%, rgba(0, 136, 84, .28), transparent 70%), var(--navy);
  box-shadow: 0 0 0 8px rgba(165, 205, 57, .12), 0 40px 80px -40px rgba(0, 30, 18, .8); }
.buyback-panel__top { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.buyback-panel p { color: rgba(255, 255, 255, .82); }
.buyback-panel .lede { color: rgba(255, 255, 255, .92); }
.pill { display: inline-flex; margin-bottom: 22px; padding: 8px 16px; border-radius: 999px; background: var(--lime); color: var(--navy); font-size: .705rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.perks { display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 26px 0 32px; }
.perks li { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: .94rem; }
.perks svg { flex: none; width: 24px; height: 24px; padding: 5px; border-radius: 50%; background: var(--lime); color: var(--navy); }
.btn--lg { min-height: 58px; padding: 0 34px; font-size: 1.03rem; }
.buyback-panel__badge picture { display: block; width: 100%; }
.buyback-panel__badge img { display: block; margin-inline: auto; }
.buyback-panel__badge img { width: min(380px, 100%); filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .45)); }
@media (prefers-reduced-motion: no-preference) { .buyback-panel__badge img { animation: badge-float 6s ease-in-out infinite; } }
@keyframes badge-float { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-12px) rotate(3deg); } }

/* Steps to join: a left-to-right flow chart that ends on the payout */
.flow { margin-top: clamp(48px, 6vw, 72px); padding-top: clamp(36px, 4vw, 52px); border-top: 1px dashed rgba(255, 255, 255, .22); }
.flow__title { margin-bottom: 32px; text-align: center; font-size: clamp(1.222rem, 2.068vw, 1.504rem); }
.flow__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 44px; }
.flow__step { position: relative; padding: 28px 22px 26px; border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius-lg); background: rgba(255, 255, 255, .05); text-align: center; }
.flow__step:not(:last-child)::after { content: ""; position: absolute; top: 60px; right: -42px; width: 40px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 16'%3E%3Cpath d='M0 8h31' stroke='%23a5cd39' stroke-width='2.5' stroke-dasharray='4 4'/%3E%3Cpath d='M30 2l8 6-8 6' fill='none' stroke='%23a5cd39' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.flow__icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 16px; border: 2px solid var(--lime); border-radius: 50%; background: var(--core); color: #fff; }
.flow__icon svg { width: 30px; height: 30px; }
.flow__step b { display: block; margin-bottom: 6px; font-size: .705rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--lime-pale); }
.flow__step h4 { margin-bottom: 6px; font-size: 1.034rem; }
.flow__step p { margin: 0; font-size: .846rem; line-height: 1.5; color: rgba(255, 255, 255, .8); }
.flow__step--goal { border-color: var(--lime); background: var(--lime); color: var(--navy); box-shadow: 0 20px 40px -20px rgba(165, 205, 57, .6); }
.flow__step--goal .flow__icon { border-color: var(--navy); background: var(--navy); color: var(--lime); }
.flow__step--goal b, .flow__step--goal p { color: var(--navy); }
@media (max-width: 1000px) {
  .flow__steps { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; gap: 46px; }
  .flow__step:not(:last-child)::after { top: auto; right: auto; bottom: -38px; left: 50%; transform: translateX(-50%) rotate(90deg); }
}
@media (max-width: 860px) {
  .buyback-panel__top { grid-template-columns: 1fr; }
  .buyback-panel__badge { order: -1; }
  .buyback-panel__badge img { width: min(200px, 60%); }
}

/* ---------- Materials ---------- */
.material-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.material { padding: 32px; border-radius: var(--radius-lg); border: 1px solid var(--line-dark); background: var(--core-2); transition: border-color .25s, transform .25s; }
.material:hover { border-color: var(--lime); transform: translateY(-3px); }
.material__tag { display: inline-block; margin-bottom: 18px; padding: 5px 12px; border-radius: 8px; background: var(--lime); color: var(--navy); font-size: .705rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.material p { margin: 0; color: var(--on-dark-muted); font-size: .902rem; }
.callout { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 28px; padding: clamp(30px, 4.4vw, 46px); border-radius: var(--radius-lg); background: linear-gradient(110deg, var(--core-deep), rgba(0, 94, 58, .55)); border: 1px solid var(--lime); }
.callout h3 { font-size: 1.316rem; }
.callout p { margin: 0; color: var(--on-dark-muted); max-width: 60ch; }
.callout .btn { flex: none; }
@media (max-width: 960px) { .material-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .callout { flex-direction: column; align-items: flex-start; } }
@media (max-width: 560px) { .material-grid { grid-template-columns: 1fr; } }

/* ---------- Contact (white) ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.info-list { display: grid; gap: 22px; margin-top: 36px; }
.info-list li { display: flex; gap: 18px; }
.info-list svg { flex: none; width: 46px; height: 46px; padding: 11px; border-radius: 14px; background: #eef6e0; color: var(--green); }
.info-list h3 { margin-bottom: 2px; font-size: .94rem; }
.info-list address, .info-list p { margin: 0; color: var(--ink-muted); }
.form-card { padding: clamp(30px, 4.4vw, 51px); border-radius: var(--radius-lg); background: var(--surface-light); border: 1px solid var(--line-light); }
.form-card h3 { font-size: 1.41rem; margin-bottom: 22px; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
/* HubSpot contact form (embedded raw HTML), styled to match the site */
#hubspot-contact-form .hs-form { font-family: var(--font); }
#hubspot-contact-form fieldset { max-width: none !important; }
#hubspot-contact-form .form-columns-1, #hubspot-contact-form .form-columns-2 { display: flex; gap: 16px; }
#hubspot-contact-form .form-columns-2 .hs-form-field { flex: 1 1 0; }
#hubspot-contact-form .form-columns-1 .hs-form-field { flex: 1 1 auto; width: 100%; }
/* The checkbox group needs the full width, so stack the row it sits in */
#hubspot-contact-form .form-columns-2:has(.hs-fieldtype-checkbox) { flex-direction: column; gap: 0; }
#hubspot-contact-form .form-columns-2:has(.hs-fieldtype-checkbox) .hs-form-field { flex: none; width: 100% !important; }
#hubspot-contact-form .form-columns-2 .hs-form-field, #hubspot-contact-form .form-columns-1 .hs-form-field { float: none !important; padding: 0 !important; }
#hubspot-contact-form .hs-form-field { margin-bottom: 18px; }
#hubspot-contact-form .input { margin: 0 !important; }
#hubspot-contact-form .hs-form-field > label { display: block; margin-bottom: 6px; font-size: .827rem; font-weight: 700; color: var(--ink); }
#hubspot-contact-form .hs-form-required { color: var(--green); }
#hubspot-contact-form input.hs-input:not([type="checkbox"]):not([type="radio"]), #hubspot-contact-form textarea.hs-input, #hubspot-contact-form select.hs-input {
  width: 100% !important; padding: 13px 16px; border: 1px solid #cfd8e2; border-radius: 12px; background: #fff; color: var(--ink); font: inherit; font-size: 1rem; transition: border-color .2s, box-shadow .2s;
}
#hubspot-contact-form input.hs-input:focus, #hubspot-contact-form textarea.hs-input:focus, #hubspot-contact-form select.hs-input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(0, 136, 84, .15); }
#hubspot-contact-form textarea.hs-input { min-height: 130px; resize: vertical; }
/* "I'm Interested In" checkboxes */
/* "I'm Interested In": checkbox + label pairs run inline across the form and wrap when out of room;
   a label too long for one line wraps with its text indented past the checkbox */
#hubspot-contact-form .inputs-list { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 0; padding: 0; list-style: none; }
#hubspot-contact-form .hs-form-checkbox, #hubspot-contact-form .hs-form-booleancheckbox { margin: 0; }
#hubspot-contact-form .hs-form-checkbox-display { display: flex; align-items: flex-start; gap: 8px; margin: 0; font-size: .827rem; font-weight: 500; line-height: 1.4; color: var(--ink); cursor: pointer; }
#hubspot-contact-form .hs-form-checkbox-display:hover { color: var(--green); }
#hubspot-contact-form .hs-form-checkbox-display:has(input:checked) { color: var(--green); font-weight: 700; }
#hubspot-contact-form input.hs-input[type="checkbox"] { width: 16px; height: 16px; flex-shrink: 0; margin: 1px 0 0; accent-color: var(--green); }
#hubspot-contact-form .hs-form-checkbox-display > span, #hubspot-contact-form .hs-form-booleancheckbox-display > span { margin: 0 !important; }
#hubspot-contact-form .hs-error-msgs { margin: 6px 0 0; padding: 0; list-style: none; }
#hubspot-contact-form .hs-error-msgs label { color: #b42318; font-size: .78rem; font-weight: 600; }
/* Consent block */
#hubspot-contact-form .legal-consent-container { margin-top: 4px; font-size: .8rem; line-height: 1.55; color: var(--ink-muted); }
#hubspot-contact-form .legal-consent-container .hs-richtext p { margin: 0 0 10px; }
#hubspot-contact-form .legal-consent-container .hs-form-field { margin-bottom: 14px; }
#hubspot-contact-form .hs-form-booleancheckbox-display { display: flex; align-items: flex-start; gap: 10px; margin: 0; font-weight: 400; cursor: pointer; }
#hubspot-contact-form .hs-form-booleancheckbox-display input.hs-input[type="checkbox"] { margin-top: 2px; }
#hubspot-contact-form .hs_submit { margin-top: 8px; }
#hubspot-contact-form input.hs-button { width: 100%; min-height: 52px; padding: 0 28px; border: 0; border-radius: 999px; background: var(--green); color: #fff; font: 700 .94rem/1 var(--font); cursor: pointer; transition: background-color .2s, transform .2s; }
#hubspot-contact-form input.hs-button:hover { background: #00744a; transform: translateY(-2px); }
#hubspot-contact-form .submitted-message { padding: 24px; border-radius: var(--radius); background: #eef6e0; color: var(--ink); font-weight: 600; }
@media (max-width: 520px) { #hubspot-contact-form .form-columns-2 { flex-direction: column; gap: 0; } }

/* ---------- About page (white sections) ---------- */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.split p:not(.lede) { color: var(--ink-muted); }
.split__media img { width: 100%; border-radius: var(--radius-lg); aspect-ratio: 4 / 5; object-fit: cover; }
.about-intro { max-width: 860px; }
.about-intro h2 { font-size: clamp(1.645rem, 3.008vw, 2.444rem); letter-spacing: -.03em; line-height: 1.15; }
.about-intro p:not(.lede) { color: var(--ink-muted); }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: clamp(48px, 6vw, 80px) 0 0; padding-top: 30px; border-top: 1px solid var(--line-light); }
.stat-row dt { color: var(--green); }
.stat-row dd { color: var(--ink-muted); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pillar { padding: 37px 32px; border-radius: var(--radius-lg); background: var(--surface-light); border: 1px solid var(--line-light); }
.pillar__icon { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 22px; border-radius: 18px; background: var(--green); color: #fff; }
.pillar__icon svg { width: 32px; height: 32px; }
.pillar p { margin: 0; color: var(--ink-muted); }
.quote { display: flex; align-items: center; gap: clamp(24px, 4vw, 48px); margin: clamp(48px, 6vw, 80px) 0 0; padding: clamp(30px, 4.4vw, 51px); border-radius: var(--radius-lg); background: var(--core); color: var(--on-dark); }
.quote img { flex: none; width: 150px; border-radius: var(--radius); }
.quote__title { margin-bottom: 12px; font-size: clamp(1.222rem, 2.068vw, 1.598rem); color: var(--lime-pale); }
.quote blockquote { margin: 0 0 14px; font-size: clamp(1.034rem, 1.692vw, 1.316rem); font-weight: 600; line-height: 1.45; letter-spacing: -.01em; }
.quote figcaption { color: var(--on-dark-muted); }
.quote figcaption b { color: var(--lime-pale); }
/* Sustainability: green block between the white About and Careers sections */
.sustain { background: radial-gradient(60% 80% at 100% 0%, rgba(165, 205, 57, .2), transparent 70%), var(--core); }
.sustain .pillar { background: var(--core-2); border-color: var(--line-dark); }
.sustain .pillar p { color: #fff; }
.sustain .pillar__icon { background: var(--lime); color: var(--navy); }
.sustain .quote { background: var(--core-deep); border: 1px solid var(--line-dark); }
.careers { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.careers h2 { font-size: clamp(1.645rem, 3.008vw, 2.444rem); letter-spacing: -.03em; line-height: 1.15; }
.careers .btn { margin-top: 12px; }
.checklist { display: grid; gap: 12px; padding: clamp(28px, 4.4vw, 46px); border-radius: var(--radius-lg); background: var(--core); color: var(--on-dark); }
.checklist li { display: flex; gap: 14px; align-items: flex-start; line-height: 1.5; padding: 10px 0; font-weight: 600; }
.checklist li + li { border-top: 1px solid var(--line-dark); padding-top: 18px; }
.checklist li::before { content: ""; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230c1c33' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 15px no-repeat; }
@media (max-width: 900px) {
  .split, .careers { grid-template-columns: 1fr; }
  .split__media img { aspect-ratio: 16 / 10; }
  .pillars { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) { .quote { flex-direction: column; align-items: flex-start; } .quote img { width: 110px; } }

/* CLN network block (shared with the other CLN sites) */
.network { overflow: hidden; isolation: isolate; text-align: center; background: #fff; border-top: 1px solid var(--line-light); }
.network::before, .network::after { content: ""; position: absolute; z-index: -1; pointer-events: none; aspect-ratio: 1; background: url("../img/cln-network.webp") center / contain no-repeat; }
.network { --net-a: min(640px, 88vw); --net-b: min(520px, 72vw); }
.network::before { width: var(--net-a); left: calc(var(--net-a) * -.18); top: calc(var(--net-a) * -.45); transform: rotate(-14deg); }
.network::after { width: var(--net-b); right: calc(var(--net-b) * -.17); bottom: calc(var(--net-b) * -.6); transform: rotate(12deg) scaleX(-1); }
.network__card { padding: clamp(32px, 5.5vw, 64px); border-radius: var(--radius-lg); background: rgba(255, 255, 255, .86); border: 1px solid #fff; box-shadow: 0 30px 60px -30px rgba(12, 28, 51, .35); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.network__card .eyebrow { justify-content: center; }
.network__card .lede { margin-inline: auto; }
@media (prefers-reduced-motion: no-preference) {
  .network::before { animation: net-drift-a 26s ease-in-out infinite alternate; }
  .network::after { animation: net-drift-b 32s ease-in-out infinite alternate; }
}
@keyframes net-drift-a { from { transform: rotate(-14deg) translate(0, 0); } to { transform: rotate(-10deg) translate(14px, 10px); } }
@keyframes net-drift-b { from { transform: rotate(12deg) scaleX(-1) translate(0, 0); } to { transform: rotate(8deg) scaleX(-1) translate(14px, -10px); } }

/* CTA band (dark) */
.cta-band { padding: clamp(83px, 11vw, 138px) 0; text-align: center; background:
  radial-gradient(50% 80% at 50% 0%, rgba(165, 205, 57, .26), transparent 70%), var(--core); }
.cta-band h2 { font-size: clamp(1.88rem, 3.76vw, 2.82rem); }
.cta-band p { max-width: 58ch; margin-inline: auto; color: var(--on-dark-muted); }
.cta-band .hero__actions { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { padding: clamp(64px, 7.7vw, 101px) 0 32px; background: var(--core-deepest); color: rgba(255, 255, 255, .82); font-size: .884rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 40px; }
.footer__brand img { height: 34px; width: auto; margin-bottom: 18px; }
.footer__brand p { max-width: 36ch; }
.site-footer h4 { margin-bottom: 14px; color: var(--on-dark); font-size: .733rem; letter-spacing: .18em; text-transform: uppercase; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: rgba(255, 255, 255, .82); text-decoration: none; }
.site-footer a:hover { color: var(--lime); }
.footer__map { display: block; width: 100%; height: 160px; margin-top: 16px; border: 1px solid var(--line-dark); border-radius: 12px; background: var(--core-deep); }
.footer__map-link { display: inline-block; margin-top: 8px; font-size: .8rem; font-weight: 700; color: var(--lime) !important; }
.footer__map-link:hover { text-decoration: underline; }
.footer__social { display: flex; align-items: center; gap: 10px; width: fit-content; margin-top: 14px; font-size: .846rem; font-weight: 600; }
.footer__social svg { width: 22px; height: 22px; color: #fff; transition: color .2s; }
.footer__social:hover svg { color: var(--lime); }
.footer__network { display: flex; align-items: center; gap: 18px; padding: 28px 0; border-top: 1px solid var(--line-dark); }
.footer__network img { flex: none; width: 200px; padding: 8px 10px; border-radius: 10px; background: #fff; }
.footer__network p { margin: 0; max-width: 520px; font-size: .733rem; }
.footer__network p a { color: var(--lime); font-weight: 700; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: .771rem; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } .footer__network { flex-direction: column; align-items: flex-start; } }

/* ---------- Footer legal links ---------- */
.footer__legal { display: inline-flex; flex-wrap: wrap; gap: 4px 6px; align-items: center; }
.footer__cookie-link { padding: 0; border: 0; background: none; font: inherit; color: rgba(255, 255, 255, .82); cursor: pointer; }
.footer__cookie-link:hover { color: var(--lime); }

/* ---------- Cookie consent (same pattern as the other CLN sites) ---------- */
.cookie-consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1000; display: flex; justify-content: flex-start; pointer-events: none; }
.cookie-consent[hidden] { display: none; }
.cookie-consent__panel { position: relative; overflow: hidden; pointer-events: auto; width: 100%; max-width: 560px; padding: 26px 22px 18px; background: #fff; color: var(--ink); border-radius: var(--radius-lg); box-shadow: 0 24px 60px -20px rgba(0, 40, 24, .45), 0 0 0 1px var(--line-light); animation: cookie-in .35s ease-out; }
.cookie-consent__panel::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--green), var(--lime)); }
@keyframes cookie-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .cookie-consent__panel { animation: none; } }
.cookie-consent__title { margin: 0 0 8px; font-size: 1.13rem; font-weight: 800; letter-spacing: -.02em; }
.cookie-consent__text { margin: 0 0 14px; font-size: .846rem; line-height: 1.55; color: var(--ink-muted); }
.cookie-consent__text a { color: var(--green); font-weight: 700; }
.cookie-consent__prefs { display: grid; gap: 8px; margin: 0 0 14px; }
.cookie-consent__prefs[hidden] { display: none; }
.cookie-consent__option { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--line-light); border-radius: 12px; font-size: .8rem; line-height: 1.45; color: var(--ink-muted); cursor: pointer; }
.cookie-consent__option input { margin-top: 3px; accent-color: var(--green); width: 16px; height: 16px; flex-shrink: 0; }
.cookie-consent__option strong { display: block; color: var(--ink); }
.cookie-consent__actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.cookie-consent__actions .btn { min-height: 42px; padding: 0 18px; font-size: .81rem; }
.cookie-consent__actions .btn--outline { border-color: var(--green); color: var(--green); }
.cookie-consent__actions .btn--outline:hover { background: var(--green); color: #fff; }
.cookie-consent__actions .btn--primary { box-shadow: none; }
.cookie-consent__actions [hidden] { display: none; }
.cookie-consent :focus-visible { outline-color: var(--green); }
@media (max-width: 480px) { .cookie-consent { left: 8px; right: 8px; bottom: 8px; } .cookie-consent__actions .btn { flex: 1 1 auto; } }

/* ---------- Legal pages ---------- */
.link-button { padding: 0; border: 0; background: none; font: inherit; color: var(--green); font-weight: 600; text-decoration: underline; cursor: pointer; }
.legal { max-width: 820px; font-size: .94rem; line-height: 1.7; color: var(--ink-muted); }
.legal h2 { margin: 2.2em 0 .6em; font-size: clamp(1.15rem, 1.6vw, 1.4rem); letter-spacing: -.015em; color: var(--ink); }
.legal h2:first-of-type { margin-top: 1.4em; }
.legal p, .legal ul { margin: 0 0 1em; }
.legal ul { padding-left: 1.2em; list-style: disc; }
.legal li { margin-bottom: .5em; }
.legal a { color: var(--green); font-weight: 600; }
.legal strong { color: var(--ink); }
.legal code { font-size: .88em; padding: 1px 6px; border-radius: 6px; background: var(--surface-light); border: 1px solid var(--line-light); white-space: nowrap; }
.legal__updated { font-size: .85rem; }
.legal__notice { margin: 0 0 1.6em; padding: 16px 18px; border-radius: var(--radius); background: #f3f8e6; border: 1px solid #d7e9a8; color: var(--ink); font-size: .9rem; }
.legal__table { margin: 0 0 1.4em; overflow-x: auto; border: 1px solid var(--line-light); border-radius: var(--radius); }
.legal__table table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: .83rem; line-height: 1.5; }
.legal__table th, .legal__table td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-light); }
.legal__table th { background: var(--surface-light); color: var(--ink); font-weight: 700; }
.legal__table tr:last-child td { border-bottom: 0; }
.legal__table td code { white-space: normal; }
@media (max-width: 700px) {
  .legal__table { border: 0; overflow: visible; }
  .legal__table table, .legal__table tbody, .legal__table tr, .legal__table td { display: block; min-width: 0; width: 100%; }
  .legal__table thead { display: none; }
  .legal__table tr { margin-bottom: 12px; padding: 10px 14px; border: 1px solid var(--line-light); border-radius: var(--radius); }
  .legal__table td { position: relative; padding: 5px 0 5px 98px; border: 0; }
  .legal__table td::before { content: attr(data-label); position: absolute; left: 0; top: 5px; font-weight: 700; color: var(--ink); }
}
