/* ==========================================================================
   Fanlight · main stylesheet
   tokens → base → chrome → film → components → pages → footer → motion
   Cream (#FCF1DE) matches the background of the AI-rendered film scenes, so
   film posters, stills and page sit on one continuous surface.
   ========================================================================== */

@font-face { font-family: "Fraunces"; src: url(/assets/fonts/fraunces-latin.woff2) format("woff2"); font-weight: 300 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url(/assets/fonts/fraunces-italic-latin.woff2) format("woff2"); font-weight: 300 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url(/assets/fonts/instrument-sans-latin.woff2) format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url(/assets/fonts/instrument-sans-italic-latin.woff2) format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }

:root {
  /* surfaces */
  --cream: #FCF1DE;
  --cream-2: #F6E6CB;
  --cream-3: #EFDCBC;
  --paper: #FFFAF2;
  /* ink */
  --ink: #1C2633;
  --ink-2: #4A5563;
  --line: rgba(28, 38, 51, 0.13);
  --line-strong: rgba(28, 38, 51, 0.26);
  /* brand */
  --green: #2E5A4C;
  --green-deep: #1F4237;
  --green-tint: #DDE8DC;
  --amber: #E7A93E;
  --amber-soft: #F6D9A0;
  --amber-ink: #8A5A10;
  --brick: #B4553D;
  --brick-ink: #9A4330;
  --sage: #A8C09E;
  /* charts (validated: dataviz validate_palette.js, light mode, surface #FCF1DE) */
  --chart-pos: #008A70;
  --chart-neg: #CB5F33;
  --chart-bar: #2E5A4C;
  --chart-zero: rgba(28, 38, 51, 0.35);

  --f-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --f-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --t-hero: clamp(2.65rem, 1.55rem + 4.5vw, 5.6rem);
  --t-xl: clamp(2.15rem, 1.5rem + 2.7vw, 3.75rem);
  --t-lg: clamp(1.7rem, 1.3rem + 1.6vw, 2.6rem);
  --t-md: clamp(1.25rem, 1.1rem + 0.6vw, 1.6rem);

  --max: 1200px;
  --gutter: clamp(16px, 4vw, 48px);
  --space-section: clamp(4.5rem, 3rem + 6vw, 8.5rem);
  --header-h: 68px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(28, 38, 51, 0.05), 0 10px 30px -8px rgba(28, 38, 51, 0.16);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 1.0625rem/1.62 var(--f-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg, video, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-deep); }
p { margin: 0 0 1rem; }
h1, h2, h3, h4 { margin: 0; }
ul, ol { margin: 0; }
strong { font-weight: 650; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--amber-soft); color: var(--ink); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -100px; z-index: 200; background: var(--ink); color: var(--cream); padding: .7rem 1rem; border-radius: 10px; }
.skip:focus { top: 1rem; }

.container { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.narrow { max-width: 820px; }
.section { padding-block: var(--space-section); }
.section--tight { padding-block: clamp(3rem, 2rem + 4vw, 5rem); }
.section--alt { background: var(--cream-2); }
.section--paper { background: var(--paper); }
.section--green { background: var(--green); color: var(--cream); }
.section--green .eyebrow { color: var(--amber); }
.section--green .lead, .section--green p { color: rgba(252, 241, 222, 0.86); }
.section--green a { color: var(--amber-soft); }

.eyebrow { display: block; font: 600 0.78rem/1.2 var(--f-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber-ink); margin: 0 0 1rem; }
.h1, .h2, .h3, .page-hero__title, .film__title, .cta-band__title { font-family: var(--f-display); font-variation-settings: "SOFT" 60, "opsz" 96; font-weight: 600; letter-spacing: -0.015em; text-wrap: balance; }
.h1 { font-size: var(--t-xl); line-height: 1.04; }
.h2 { font-size: var(--t-lg); line-height: 1.08; margin-bottom: 1rem; }
.h3 { font-size: var(--t-md); line-height: 1.2; margin-bottom: .6rem; font-variation-settings: "SOFT" 60, "opsz" 36; }
.h2 em, .h1 em, .page-hero__title em { font-style: italic; color: var(--green); }
.section--green .h2 em { color: var(--amber); }
.lead { font-size: clamp(1.12rem, 1rem + 0.45vw, 1.32rem); line-height: 1.55; color: var(--ink-2); max-width: 62ch; }
.muted { color: var(--ink-2); }
.src { font-size: 0.82rem; line-height: 1.5; color: var(--ink-2); margin-top: 1rem; }
.src a { color: inherit; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.section-head { max-width: 760px; margin-bottom: clamp(2.2rem, 1.5rem + 2vw, 3.5rem); }
.section-head.center { margin-inline: auto; }
.prose { max-width: 70ch; }
.prose h2 { font-family: var(--f-display); font-weight: 600; font-size: var(--t-md); line-height: 1.2; margin: 2.4rem 0 .8rem; }
.prose h3 { font-weight: 650; font-size: 1.1rem; margin: 1.8rem 0 .5rem; }
.prose ul, .prose ol { padding-left: 1.2rem; margin: 0 0 1rem; }
.prose li { margin-bottom: .4rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.split--top { align-items: start; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, .5rem + 1.5vw, 1.75rem); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, .5rem + 1.5vw, 1.75rem); }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, .5rem + 1.5vw, 1.75rem); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; font: 600 1rem/1 var(--f-body); padding: .95rem 1.4rem; min-height: 48px; border-radius: 999px; border: 1.5px solid transparent; text-decoration: none; cursor: pointer; transition: transform .25s var(--ease), background-color .2s, border-color .2s, color .2s, box-shadow .25s; white-space: nowrap; }
.btn .i { width: 1.15em; height: 1.15em; transition: transform .25s var(--ease); }
.btn:hover .i { transform: translateX(3px); }
.btn--primary { background: var(--green); color: var(--cream); box-shadow: 0 8px 20px -10px rgba(31, 66, 55, .7); }
.btn--primary:hover { background: var(--green-deep); color: var(--cream); transform: translateY(-1px); }
.btn--ghost { background: color-mix(in srgb, var(--paper) 55%, transparent); color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-1px); }
.btn--amber { background: var(--amber); color: var(--ink); }
.btn--amber:hover { background: #F0B751; color: var(--ink); transform: translateY(-1px); }
.btn--light-ghost { color: var(--cream); border-color: rgba(252, 241, 222, .45); }
.btn--light-ghost:hover { color: var(--cream); border-color: var(--cream); }
.btn--sm { min-height: 40px; padding: .62rem 1.05rem; font-size: .93rem; }
.btn--lg { min-height: 56px; padding: 1.1rem 1.7rem; font-size: 1.06rem; }
.btn--block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; text-decoration: none; }
.link-arrow .i { width: 1.1em; height: 1.1em; transition: transform .25s var(--ease); }
.link-arrow:hover .i { transform: translateX(3px); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h); background: color-mix(in srgb, var(--cream) 80%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, background-color .3s; }
.site-header.is-scrolled { border-bottom-color: var(--line); background: color-mix(in srgb, var(--cream) 92%, transparent); }
.site-header__inner { height: 100%; width: min(100% - 2 * var(--gutter), 1320px); margin-inline: auto; display: flex; align-items: center; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand:hover { color: var(--ink); }
.brand__mark { width: 40px; height: 26px; }
.brand__name { font-family: var(--f-display); font-weight: 650; font-size: 1.5rem; letter-spacing: -0.02em; font-variation-settings: "SOFT" 80, "opsz" 48; }
.nav { margin-left: auto; }
.nav__list { list-style: none; display: flex; gap: .15rem; padding: 0; }
.nav__list a { display: block; padding: .55rem .8rem; border-radius: 999px; font-size: .96rem; font-weight: 500; color: var(--ink-2); text-decoration: none; transition: color .2s, background-color .2s; }
.nav__list a:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 6%, transparent); }
.nav__list a[aria-current="page"] { color: var(--ink); background: color-mix(in srgb, var(--amber) 28%, transparent); }
.site-header__actions { display: flex; align-items: center; gap: .6rem; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line-strong); background: var(--paper); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle__bars { display: grid; gap: 5px; width: 18px; }
.nav-toggle__bars i { display: block; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.nav-sheet { position: fixed; inset: var(--header-h) 0 auto; background: var(--cream); border-bottom: 1px solid var(--line); padding: 1rem var(--gutter) 1.5rem; max-height: calc(100dvh - var(--header-h)); overflow: auto; box-shadow: var(--shadow); }
.nav-sheet ul { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.nav-sheet li a { display: block; padding: .9rem .2rem; font-size: 1.15rem; font-weight: 500; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.nav-sheet .btn { width: 100%; }
main { padding-top: var(--header-h); }
body.has-film main { padding-top: 0; }

/* breadcrumbs */
.crumbs { padding-top: 1.25rem; font-size: .88rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; padding: 0; color: var(--ink-2); }
.crumbs li + li::before { content: "/"; margin-right: .35rem; opacity: .5; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* ---------- film (scroll-scrubbed fly-through) ----------
   Base (no JS / reduced motion): a readable sequence of full-height panels.
   html.film-js (set in <head>): pinned stage, scrubbed video, overlaid copy. */
.film { position: relative; background: var(--cream); }
html:not(.film-js) .film__sticky { display: contents; }
html:not(.film-js) :is(.film__stage, .film__scrim, .film__rail, .film__note, .film__hint) { display: none; }

.film__copy { position: relative; min-height: 100svh; display: grid; align-items: end; padding: calc(var(--header-h) + 2rem) var(--gutter) clamp(3rem, 8vh, 6rem); overflow: hidden; isolation: isolate; }
.film__still { position: absolute; inset: 0; z-index: -2; }
.film__still img { width: 100%; height: 100%; object-fit: cover; }
.film__copy::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, var(--cream) 0%, color-mix(in srgb, var(--cream) 82%, transparent) 30%, transparent 62%), linear-gradient(90deg, color-mix(in srgb, var(--cream) 80%, transparent) 0%, transparent 55%); }
.film__text { max-width: 38rem; display: grid; gap: 1rem; justify-items: start; }
.film__text .eyebrow { margin: 0; }
.film__title { font-size: var(--t-xl); line-height: 1.02; margin: 0; }
.film__copy--greet .film__title, .film__copy--hold .film__title { font-size: var(--t-hero); line-height: .98; }
.film__copy--greet .film__text, .film__copy--hold .film__text { max-width: 44rem; }
.film__title em { font-style: italic; color: var(--green); }
.film__body { font-size: clamp(1.04rem, .97rem + .32vw, 1.22rem); line-height: 1.55; color: var(--ink-2); max-width: 34rem; margin: 0; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: .25rem 0 0; padding: 0; }
.tags li { font-size: .85rem; font-weight: 600; color: var(--ink); padding: .45rem .85rem; border-radius: 999px; background: color-mix(in srgb, var(--paper) 78%, transparent); border: 1px solid var(--line); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .5rem; }

.film-js .film { height: calc(var(--film-h, 12) * 100vh); }
.film-js .film__sticky { display: block; position: sticky; top: 0; height: 100vh; height: 100lvh; overflow: hidden; }
.film-js .film__stage { position: absolute; inset: 0; background: var(--cream) var(--stage-bg, none) center / cover no-repeat; }
@media (max-width: 860px) and (orientation: portrait) { .film-js .film__stage { background-image: var(--stage-bg-m, var(--stage-bg, none)); } }
.film__scene { position: absolute; inset: 0; will-change: opacity; }
.film__poster, .film__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film__poster { z-index: 2; transition: opacity .25s linear; }
.film__video { z-index: 1; }
.film__scene.has-clip .film__poster { opacity: 0; }
.film__scrim { position: absolute; inset: 0; z-index: 4; pointer-events: none; background: linear-gradient(90deg, color-mix(in srgb, var(--cream) 94%, transparent) 0%, color-mix(in srgb, var(--cream) 80%, transparent) 30%, color-mix(in srgb, var(--cream) 40%, transparent) 46%, color-mix(in srgb, var(--cream) 0%, transparent) 60%), linear-gradient(180deg, color-mix(in srgb, var(--cream) 70%, transparent) 0, transparent 16%); }
.film-js .film__copies { position: absolute; inset: 0; z-index: 6; pointer-events: none; }
.film-js .film__copy { position: absolute; inset: 0; min-height: 0; display: flex; align-items: center; padding: calc(var(--header-h) + 1rem) var(--gutter) 2rem; overflow: visible; opacity: 0; visibility: hidden; will-change: opacity, transform; }
.film-js .film__copy::before, .film-js .film__still { display: none; }
.film-js .film__text { pointer-events: auto; max-width: min(36rem, 46vw); }
.film-js .film__copy--greet .film__text, .film-js .film__copy--hold .film__text { max-width: min(44rem, 52vw); }
.film-js .film__copy--greet { opacity: 1; visibility: visible; }
.film__title, .film__body, .film__text .eyebrow { text-shadow: 0 1px 18px color-mix(in srgb, var(--cream) 85%, transparent); }

.film__rail { position: absolute; z-index: 7; right: var(--gutter); top: 50%; transform: translateY(-50%); display: flex; gap: 1rem; }
.film__rail ol { list-style: none; padding: 0; display: grid; gap: .15rem; }
.film__rail a { display: flex; align-items: center; justify-content: flex-end; gap: .7rem; min-height: 32px; text-decoration: none; font-size: .78rem; font-weight: 600; letter-spacing: .04em; color: var(--ink-2); }
.film__rail-n { font-variant-numeric: tabular-nums; opacity: .7; }
.film__rail-l { opacity: 0; transform: translateX(6px); transition: opacity .3s var(--ease), transform .3s var(--ease); background: color-mix(in srgb, var(--paper) 85%, transparent); padding: .3rem .65rem; border-radius: 999px; border: 1px solid var(--line); }
.film__rail a:hover .film__rail-l, .film__rail a:focus-visible .film__rail-l, .film__rail a.is-on .film__rail-l { opacity: 1; transform: none; }
.film__rail a.is-on { color: var(--ink); }
.film__rail a.is-on .film__rail-n { color: var(--green); opacity: 1; }
.film__progress { position: relative; width: 2px; border-radius: 2px; background: var(--line); }
.film__progress i { position: absolute; inset: 0; border-radius: 2px; background: var(--green); transform-origin: top; transform: scaleY(var(--p, 0)); }
.film__note { position: absolute; z-index: 7; left: var(--gutter); bottom: 1.4rem; margin: 0; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); opacity: .8; }
.film__hint { position: absolute; z-index: 7; left: 50%; bottom: calc(1.25rem + env(safe-area-inset-bottom)); transform: translateX(-50%); display: grid; justify-items: center; gap: .5rem; margin: 0; font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); pointer-events: none; }
.film__hint i { width: 22px; height: 34px; border-radius: 12px; border: 2px solid var(--line-strong); position: relative; }
.film__hint i::after { content: ""; position: absolute; left: 50%; top: 6px; width: 4px; height: 7px; border-radius: 2px; background: var(--green); transform: translateX(-50%); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { opacity: 0; top: 5px; } 35% { opacity: 1; } 100% { opacity: 0; top: 17px; } }

@media (max-width: 860px) {
  .film-js .film__copy { align-items: flex-end; padding-bottom: calc(clamp(4.5rem, 12vh, 6.5rem) + env(safe-area-inset-bottom)); }
  .film-js .film__text, .film-js .film__copy--greet .film__text, .film-js .film__copy--hold .film__text { max-width: 100%; }
  .film__scrim { background: linear-gradient(0deg, var(--cream) 8%, color-mix(in srgb, var(--cream) 88%, transparent) 42%, color-mix(in srgb, var(--cream) 40%, transparent) 62%, transparent 78%), linear-gradient(180deg, color-mix(in srgb, var(--cream) 70%, transparent) 0, transparent 14%); }
  .film__copy::before { background: linear-gradient(0deg, var(--cream) 0%, var(--cream) 30%, color-mix(in srgb, var(--cream) 86%, transparent) 55%, color-mix(in srgb, var(--cream) 30%, transparent) 78%, transparent 92%); }
  .film__rail { top: calc(var(--header-h) + env(safe-area-inset-top)); right: 0; left: 0; transform: none; padding: 0 var(--gutter); }
  .film__rail ol { display: none; }
  .film__progress { width: 100%; height: 2px; }
  .film__progress i { transform-origin: left; transform: scaleX(var(--p, 0)); }
  .film__note { bottom: auto; top: calc(var(--header-h) + 12px); font-size: .64rem; }
  .film__body { font-size: 1rem; }
  .tags li { font-size: .78rem; padding: .4rem .7rem; }
  .film-js .film__copy--greet .tags { display: none; }   /* phones: let the opening island show above the hero copy */
}

/* ---------- page hero ---------- */
.page-hero { padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem) clamp(3rem, 2rem + 4vw, 5.5rem); }
.page-hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
.page-hero__title { font-size: var(--t-xl); line-height: 1.03; margin-bottom: 1.25rem; }
.page-hero__lead { font-size: clamp(1.12rem, 1rem + .5vw, 1.35rem); line-height: 1.55; color: var(--ink-2); max-width: 58ch; margin: 0; }
.page-hero__art { position: relative; }
.page-hero__art img { width: 100%; border-radius: var(--radius); }
.page-hero__art figcaption { position: absolute; left: .9rem; bottom: .8rem; font-size: .7rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); background: color-mix(in srgb, var(--paper) 80%, transparent); padding: .3rem .6rem; border-radius: 999px; }
.trust { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; list-style: none; padding: 0; margin: 1.75rem 0 0; font-size: .92rem; color: var(--ink-2); }
.trust li { display: inline-flex; align-items: center; gap: .45rem; }
.trust li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px var(--green-tint); }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--paper); padding: clamp(1.4rem, 1rem + 1.4vw, 2.2rem); display: flex; flex-direction: column; gap: .4rem; }
.stat__num { font-family: var(--f-display); font-weight: 600; font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.6rem); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: lining-nums; font-variation-settings: "SOFT" 40, "opsz" 120; }
.stat__label { font-size: .98rem; line-height: 1.45; color: var(--ink); }
.stat__src { margin-top: auto; padding-top: .6rem; font-size: .78rem; color: var(--ink-2); }
.section--green .stats { background: rgba(252, 241, 222, .18); border-color: rgba(252, 241, 222, .18); }
.section--green .stat { background: var(--green); }
.section--green .stat__num { color: var(--amber); }
.section--green .stat__label { color: var(--cream); }
.section--green .stat__src { color: rgba(252, 241, 222, .7); }

/* ---------- cards ---------- */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 1rem + 1vw, 2rem); display: flex; flex-direction: column; gap: .6rem; }
.card h3 { font-family: var(--f-display); font-weight: 600; font-size: 1.35rem; line-height: 1.2; font-variation-settings: "SOFT" 60, "opsz" 36; }
.card p { margin: 0; color: var(--ink-2); }
.card__icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--green-tint); color: var(--green); }
.card__icon svg { width: 24px; height: 24px; }
.card--link { text-decoration: none; color: inherit; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.card--link:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); color: inherit; }
.card .link-arrow { margin-top: auto; padding-top: .6rem; }
.card--media { padding: 0; overflow: hidden; }
.card--media img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; background: var(--cream-2); }
.card--media .card__body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.pill { display: inline-flex; align-items: center; gap: .35rem; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--green); background: var(--green-tint); padding: .3rem .65rem; border-radius: 999px; width: fit-content; }
.pill--amber { color: var(--amber-ink); background: color-mix(in srgb, var(--amber) 26%, transparent); }

/* steps (how it works) */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, .5rem + 1.5vw, 1.75rem); list-style: none; padding: 0; }
.step { counter-increment: step; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.step img { aspect-ratio: 16 / 11; object-fit: cover; width: 100%; background: var(--cream-2); }
.step__body { padding: 1.3rem 1.4rem 1.6rem; display: grid; gap: .5rem; }
.step__body::before { content: counter(step, decimal-leading-zero); font: 700 .78rem/1 var(--f-body); letter-spacing: .12em; color: var(--amber-ink); }
.step h3 { font-family: var(--f-display); font-weight: 600; font-size: 1.3rem; line-height: 1.2; }
.step p { margin: 0; color: var(--ink-2); font-size: .98rem; }

/* checklists */
.checks { list-style: none; padding: 0; display: grid; gap: .7rem; }
.checks li { position: relative; padding-left: 2rem; }
.checks li::before { content: ""; position: absolute; left: 0; top: .2rem; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: var(--green-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%232E5A4C' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat; }
.checks--two { grid-template-columns: 1fr 1fr; gap: .7rem 2rem; }

/* document list (The Open Book) */
.docs { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.docs li { background: var(--paper); padding: 1.25rem 1.4rem; display: grid; grid-template-columns: auto 1fr; gap: .2rem 1rem; }
.docs b { grid-row: span 2; width: 38px; height: 38px; border-radius: 10px; background: var(--amber-soft); color: var(--amber-ink); display: grid; place-items: center; font: 700 .8rem/1 var(--f-body); }
.docs strong { font-size: 1.02rem; }
.docs span { color: var(--ink-2); font-size: .94rem; }

/* timeline */
.timeline { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: linear-gradient(90deg, var(--line-strong), var(--line-strong) 75%, var(--green) 75%); }
.timeline li { position: relative; padding-top: 2.25rem; }
.timeline li::before { content: ""; position: absolute; top: 3px; left: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--cream); border: 2px solid var(--ink-2); }
.timeline li.is-now::before { background: var(--amber); border-color: var(--green); box-shadow: 0 0 0 5px color-mix(in srgb, var(--amber) 30%, transparent); }
.timeline time, .timeline .when { display: block; font: 700 .8rem/1.2 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--amber-ink); margin-bottom: .4rem; }
.timeline h3 { font-family: var(--f-display); font-weight: 600; font-size: 1.2rem; line-height: 1.25; margin-bottom: .4rem; }
.timeline p { color: var(--ink-2); font-size: .96rem; margin: 0; }

/* anchor price comparison */
.anchor { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(1rem, .5rem + 2vw, 2.5rem); align-items: stretch; }
.anchor__col { border-radius: var(--radius); padding: clamp(1.5rem, 1rem + 1.5vw, 2.4rem); display: flex; flex-direction: column; gap: .5rem; }
.anchor__col--them { background: var(--paper); border: 1px solid var(--line); }
.anchor__col--us { background: var(--green); color: var(--cream); }
.anchor__label { font-size: .85rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; opacity: .85; }
.anchor__amount { font-family: var(--f-display); font-weight: 600; font-size: clamp(2.6rem, 2rem + 2.6vw, 4.2rem); line-height: 1; letter-spacing: -0.03em; }
.anchor__col--them .anchor__amount { color: var(--ink-2); text-decoration: line-through; text-decoration-thickness: 3px; text-decoration-color: var(--brick); }
.anchor__col--us .anchor__amount { color: var(--amber); }
.anchor__note { font-size: .92rem; margin: 0; opacity: .9; }
.anchor__vs { align-self: center; font-family: var(--f-display); font-style: italic; font-size: 1.4rem; color: var(--ink-2); }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, .5rem + 1.5vw, 1.5rem); align-items: stretch; }
.plan { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 1.1rem + 1.2vw, 2.25rem); display: flex; flex-direction: column; gap: 1rem; }
.plan--featured { border: 2px solid var(--green); box-shadow: var(--shadow); transform: translateY(-10px); }
.plan__badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--green); color: var(--cream); font: 700 .74rem/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; padding: .5rem .9rem; border-radius: 999px; white-space: nowrap; }
.plan__name { font-family: var(--f-display); font-weight: 600; font-size: 1.5rem; }
.plan__for { color: var(--ink-2); font-size: .96rem; margin: -.4rem 0 0; }
.plan__price { font-family: var(--f-display); font-weight: 600; font-size: clamp(2.4rem, 2rem + 1.6vw, 3.2rem); line-height: 1; letter-spacing: -0.03em; }
.plan__price small { display: block; margin-top: .45rem; font: 500 .85rem/1.35 var(--f-body); letter-spacing: 0; color: var(--ink-2); }
.plan .checks { font-size: .96rem; flex: 1; }
.plan .btn { width: 100%; }
.plan__fine { font-size: .8rem; color: var(--ink-2); margin: 0; }

/* comparison table */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--paper); -webkit-overflow-scrolling: touch; }
.compare, .data-table, .bands { width: 100%; border-collapse: collapse; font-size: .98rem; }
.compare th, .compare td, .data-table th, .data-table td, .bands th, .bands td { padding: .95rem 1.1rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.compare thead th, .data-table thead th, .bands thead th { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); background: var(--cream-2); }
.compare tbody tr:last-child > *, .data-table tbody tr:last-child > *, .bands tbody tr:last-child > * { border-bottom: 0; }
.compare tbody th { font-weight: 600; }
.compare .us { background: color-mix(in srgb, var(--green) 7%, transparent); }
.compare thead .us { background: var(--green); color: var(--cream); }
.yes, .no, .meh { display: inline-flex; align-items: center; gap: .4rem; font-size: .92rem; }
.yes::before, .no::before, .meh::before { content: ""; flex: none; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: center / 75% no-repeat; }
.yes::before { background-color: var(--green-tint); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%232E5A4C' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.no::before { background-color: #F3DCD3; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6.5 6.5l7 7m0-7-7 7' fill='none' stroke='%239A4330' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.meh::before { background-color: var(--cream-3); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10h8' fill='none' stroke='%234A5563' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.data-table td { font-variant-numeric: tabular-nums; }
.data-table thead button { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: .35rem; }
.data-table thead button::after { content: "↕"; font-size: .9em; opacity: .45; }
.data-table th[aria-sort="ascending"] button::after { content: "↑"; opacity: 1; }
.data-table th[aria-sort="descending"] button::after { content: "↓"; opacity: 1; }
.data-table thead button:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 4px; }
.data-table tbody th a { font-weight: 600; color: var(--ink); text-decoration: none; }
.data-table tbody th a:hover { color: var(--green); text-decoration: underline; }
.data-table tbody th small { font-weight: 400; color: var(--ink-2); }
.data-table tbody tr:hover { background: color-mix(in srgb, var(--amber) 9%, transparent); }
.pos::before, .neg::before { content: ""; display: inline-block; width: .55em; height: .55em; margin-right: .4em; border-radius: 2px; vertical-align: .05em; }
.pos::before { background: var(--chart-pos); }
.neg::before { background: var(--chart-neg); }

/* ---------- charts (bar lists) ---------- */
.charts { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 1rem + 2vw, 3rem); margin-top: 2rem; }
.chart { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.2rem, 1rem + 1vw, 1.8rem); }
.chart__title { font-weight: 700; font-size: .95rem; margin-bottom: 1rem; }
.chart__note { font-weight: 400; color: var(--ink-2); font-size: .82rem; margin-left: .35rem; }
.bars { list-style: none; padding: 0; display: grid; gap: 2px; }
.bars li { display: grid; grid-template-columns: minmax(7.5rem, 11rem) 1fr 5.4rem; align-items: center; gap: .75rem; min-height: 30px; border-radius: 6px; padding: 0 .35rem; }
.bars li:hover { background: color-mix(in srgb, var(--amber) 12%, transparent); }
.bars a { color: var(--ink); text-decoration: none; font-size: .9rem; line-height: 1.2; }
.bars a:hover { text-decoration: underline; }
.bars b { font-weight: 600; font-size: .88rem; text-align: right; font-variant-numeric: tabular-nums; }
.bar { position: relative; height: 14px; }
.bar i { position: absolute; top: 0; bottom: 0; left: 0; width: var(--w); background: var(--chart-bar); border-radius: 0 4px 4px 0; }
.bars--diverging .bar::before { content: ""; position: absolute; left: 50%; top: -6px; bottom: -6px; width: 1px; background: var(--chart-zero); }
.bars--diverging .bar--pos i { left: 50%; background: var(--chart-pos); border-radius: 0 4px 4px 0; }
.bars--diverging .bar--neg i { left: auto; right: 50%; background: var(--chart-neg); border-radius: 4px 0 0 4px; }
.bars li.is-current { background: color-mix(in srgb, var(--amber) 22%, transparent); }
.bars li.is-current a { font-weight: 700; }
.bars li.is-current a::after { content: " · here"; font-weight: 600; color: var(--amber-ink); }
.bars li.is-current .bar i { box-shadow: 0 0 0 2px var(--paper), 0 0 0 3.5px var(--ink); }

/* ---------- area links ---------- */
.area-links { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; }
.area-links a { display: grid; grid-template-columns: 1fr auto; gap: .15rem .5rem; padding: 1rem 1.1rem; border-radius: var(--radius-sm); background: var(--paper); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color .2s, transform .25s var(--ease); }
.area-links a:hover { border-color: var(--green); transform: translateY(-2px); color: var(--ink); }
.area-links span { font-weight: 600; grid-column: 1 / -1; }
.area-links b { font-weight: 500; font-variant-numeric: tabular-nums; color: var(--ink-2); font-size: .92rem; }
.area-links small { font-size: .85rem; font-variant-numeric: tabular-nums; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .75rem; }
.faq__item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.faq__item summary { list-style: none; cursor: pointer; padding: 1.15rem 3.4rem 1.15rem 1.3rem; font-weight: 600; font-size: 1.05rem; position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ""; position: absolute; right: 1.2rem; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--cream-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 5v10M5 10h10' stroke='%231C2633' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 60% no-repeat; transition: transform .3s var(--ease); }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item summary:hover { color: var(--green); }
.faq__a { padding: 0 1.3rem 1.25rem; color: var(--ink-2); }
.faq__a p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--green); color: var(--cream); padding-block: clamp(4rem, 3rem + 4vw, 7rem); position: relative; overflow: hidden; }
.cta-band__inner { position: relative; text-align: center; display: grid; justify-items: center; gap: 1.1rem; }
.cta-band__mark { width: 120px; color: var(--amber); margin-bottom: .5rem; }
.cta-band__title { font-size: var(--t-xl); line-height: 1.04; max-width: 20ch; }
.cta-band__lead { font-size: clamp(1.08rem, 1rem + .4vw, 1.28rem); color: rgba(252, 241, 222, .86); max-width: 54ch; margin: 0; }
.cta-band__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: .75rem; }
.cta-band::before { content: ""; position: absolute; left: 50%; bottom: -55vw; width: 110vw; height: 110vw; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle at 50% 0, rgba(231, 169, 62, .16), transparent 55%); pointer-events: none; }

/* ---------- forms ---------- */
.field { display: grid; gap: .45rem; }
.field + .field { margin-top: 1.1rem; }
.field label, .field legend, .label { font-weight: 600; font-size: .95rem; }
.field .hint { font-size: .85rem; color: var(--ink-2); margin: 0; }
.input, .select, textarea.input { width: 100%; font: 400 1rem/1.4 var(--f-body); color: var(--ink); background: var(--paper); border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm); padding: .85rem 1rem; min-height: 50px; transition: border-color .2s, box-shadow .2s; }
.input:focus, .select:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px color-mix(in srgb, var(--green) 18%, transparent); }
.input[aria-invalid="true"] { border-color: var(--brick); }
.field-error { color: var(--brick-ink); font-size: .86rem; margin: 0; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 8l5 5 5-5' fill='none' stroke='%231C2633' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; background-size: 18px; padding-right: 2.6rem; }
.input-money { position: relative; }
.input-money::before { content: "£"; position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); font-weight: 600; color: var(--ink-2); }
.input-money .input { padding-left: 2rem; font-size: 1.25rem; font-weight: 600; font-variant-numeric: tabular-nums; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.choices { display: grid; gap: .6rem; }
.choices--row { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: grid; gap: .15rem; padding: .85rem 1rem; border-radius: var(--radius-sm); border: 1.5px solid var(--line-strong); background: var(--paper); font-weight: 600; cursor: pointer; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.choice small { font-weight: 400; color: var(--ink-2); font-size: .85rem; }
.choice input:checked + span { border-color: var(--green); background: color-mix(in srgb, var(--green) 8%, var(--paper)); box-shadow: 0 0 0 1px var(--green) inset; }
.choice input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 2px; }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .95rem; }
.check input { width: 20px; height: 20px; margin-top: .15rem; accent-color: var(--green); flex: none; }
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 1rem + 2vw, 2.6rem); box-shadow: var(--shadow); }
.form-status { margin: 1rem 0 0; padding: 1rem 1.1rem; border-radius: var(--radius-sm); background: var(--cream-2); border: 1px solid var(--line); font-size: .95rem; }
.form-status.is-ok { background: var(--green-tint); border-color: color-mix(in srgb, var(--green) 30%, transparent); }
.progress { display: grid; gap: .6rem; margin-bottom: 1.75rem; }
.progress__bar { height: 6px; border-radius: 999px; background: var(--cream-3); overflow: hidden; }
.progress__bar i { display: block; height: 100%; width: var(--p, 0%); background: var(--green); border-radius: inherit; transition: width .5s var(--ease); }
.progress__label { display: flex; justify-content: space-between; font-size: .85rem; font-weight: 600; color: var(--ink-2); }
.step-panel h2 { font-family: var(--f-display); font-weight: 600; font-size: var(--t-md); margin-bottom: 1.25rem; }
.step-nav { display: flex; justify-content: space-between; gap: .75rem; margin-top: 1.75rem; }

/* ---------- calculator ---------- */
.calc { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(1.25rem, 1rem + 1.5vw, 2rem); align-items: start; }
.calc__inputs { display: grid; gap: 1.25rem; }
.seg { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; border-radius: 999px; background: var(--cream-3); width: 100%; }
.seg label { position: relative; text-align: center; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: block; padding: .6rem .5rem; border-radius: 999px; font-weight: 600; font-size: .9rem; cursor: pointer; color: var(--ink-2); transition: background-color .2s, color .2s; }
.seg input:checked + span { background: var(--paper); color: var(--ink); box-shadow: 0 1px 3px rgba(28, 38, 51, .15); }
.seg input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 1px; }
.calc__result { position: sticky; top: calc(var(--header-h) + 1rem); background: var(--green); color: var(--cream); border-radius: var(--radius); padding: clamp(1.4rem, 1rem + 1.5vw, 2.2rem); display: grid; gap: 1rem; }
.calc__total-label { font-size: .85rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(252, 241, 222, .8); }
.calc__total { font-family: var(--f-display); font-weight: 600; font-size: clamp(2.8rem, 2rem + 3vw, 4.4rem); line-height: 1; letter-spacing: -0.03em; color: var(--amber); font-variant-numeric: tabular-nums; }
.calc__meta { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; font-size: .92rem; color: rgba(252, 241, 222, .88); margin: 0; }
.calc__result .bands { color: var(--ink); background: var(--paper); border-radius: var(--radius-sm); overflow: hidden; font-size: .9rem; }
.calc__result .bands th, .calc__result .bands td { padding: .65rem .85rem; }
.calc__result .bands td:last-child, .calc__result .bands th:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.calc__result .bands tfoot td { font-weight: 700; border-top: 2px solid var(--line-strong); }
.calc__note { font-size: .86rem; color: rgba(252, 241, 222, .85); margin: 0; }
.calc__note a { color: var(--amber-soft); }
.calc--mini { grid-template-columns: 1fr 1fr; }
.calc--mini .calc__result { position: static; }

/* ---------- quiz ---------- */
.quiz { max-width: 760px; margin-inline: auto; }
.q { display: grid; gap: 1rem; }
.q__n { font: 700 .78rem/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--amber-ink); }
.q__title { font-family: var(--f-display); font-weight: 600; font-size: var(--t-md); line-height: 1.25; }
.q__why { color: var(--ink-2); font-size: .95rem; margin: 0; }
.q .choices { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.score { display: grid; grid-template-columns: auto 1fr; gap: 1.5rem 2rem; align-items: center; }
.score__dial { --v: 0; width: 170px; aspect-ratio: 1; border-radius: 50%; background: conic-gradient(var(--green) calc(var(--v) * 1%), var(--cream-3) 0); display: grid; place-items: center; position: relative; }
.score__dial::before { content: ""; position: absolute; inset: 14px; border-radius: 50%; background: var(--paper); }
.score__dial span { position: relative; font-family: var(--f-display); font-weight: 600; font-size: 3rem; line-height: 1; }
.score__dial small { display: block; font: 600 .78rem/1 var(--f-body); color: var(--ink-2); text-align: center; margin-top: .3rem; }
.todo { list-style: none; padding: 0; display: grid; gap: .6rem; margin: 1.25rem 0 0; }
.todo li { background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--amber); border-radius: 10px; padding: .85rem 1rem; }
.todo li strong { display: block; }
.todo li span { color: var(--ink-2); font-size: .94rem; }

/* ---------- region pages ---------- */
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin: 2.2rem 0 0; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.kpi { background: var(--paper); padding: 1.2rem 1.3rem; display: grid; gap: .25rem; }
.kpi dt { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.kpi dd { margin: 0; font-family: var(--f-display); font-weight: 600; font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.5rem); line-height: 1.05; letter-spacing: -0.02em; font-variant-numeric: lining-nums tabular-nums; }
.kpi dd small { font: 500 .85rem var(--f-body); color: var(--ink-2); letter-spacing: 0; }
.kpi dd::before { display: none; }   /* the +/− sign carries direction at display size */
.kpi > span { font-size: .85rem; color: var(--ink-2); }
.tax-cards { display: grid; gap: .75rem; }
.tax-card { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.1rem 1.3rem; }
.tax-card span { font-weight: 600; }
.tax-card b { font-family: var(--f-display); font-weight: 600; font-size: 1.8rem; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.tax-card--accent { border: 2px solid var(--green); }
.deposits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; margin: 0; }
.deposits div { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.1rem; }
.deposits dt { font-size: .85rem; font-weight: 600; color: var(--ink-2); }
.deposits dd { margin: .3rem 0 0; font-family: var(--f-display); font-weight: 600; font-size: 1.5rem; font-variant-numeric: tabular-nums; }
.near { list-style: none; padding: 0; display: grid; gap: .5rem; }
.near a { display: flex; justify-content: space-between; padding: .85rem 1rem; border-radius: var(--radius-sm); background: var(--paper); border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; }
.near a span { font-weight: 500; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.near a:hover { border-color: var(--green); }

/* ---------- glossary ---------- */
.az { position: sticky; top: var(--header-h); z-index: 5; background: color-mix(in srgb, var(--cream) 92%, transparent); backdrop-filter: blur(10px); padding: .75rem 0; margin-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.az ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.az a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--paper); border: 1px solid var(--line); text-decoration: none; font-weight: 700; color: var(--ink); }
.az a:hover { border-color: var(--green); color: var(--green); }
.gloss__group { display: grid; grid-template-columns: 80px 1fr; gap: 1rem 2rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.gloss__letter { font-family: var(--f-display); font-weight: 600; font-size: 2.6rem; line-height: 1; color: var(--green); }
.gloss__group dl { margin: 0; display: grid; gap: 1.4rem; }
.gloss__item dt { font-weight: 700; font-size: 1.08rem; margin-bottom: .3rem; }
.gloss__item dd { margin: 0; color: var(--ink-2); max-width: 68ch; }
.gloss__item:target { background: color-mix(in srgb, var(--amber) 16%, transparent); border-radius: 10px; padding: .6rem .8rem; margin: -.6rem -.8rem; }

/* ---------- community ---------- */
.ritual { display: grid; grid-template-columns: 7rem 1fr; gap: 1.25rem; padding: 1.4rem 0; border-top: 1px solid var(--line); }
.ritual:last-child { border-bottom: 1px solid var(--line); }
.ritual__when { font: 700 .82rem/1.3 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--amber-ink); }
.ritual h3 { font-family: var(--f-display); font-weight: 600; font-size: 1.25rem; margin-bottom: .3rem; }
.ritual p { margin: 0; color: var(--ink-2); }
.quote { margin: 0; padding: clamp(1.4rem, 1rem + 1.5vw, 2.2rem); border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.quote p { font-family: var(--f-display); font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); line-height: 1.35; font-style: italic; margin: 0 0 1rem; }
.quote footer { font-size: .9rem; color: var(--ink-2); }
.sample-tag { display: inline-block; font: 700 .68rem/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); border: 1px dashed var(--line-strong); padding: .3rem .5rem; border-radius: 6px; margin-bottom: .8rem; }

/* ---------- article ---------- */
.article-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; font-size: .92rem; color: var(--ink-2); margin-top: 1.25rem; }
.keyfacts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; margin: 2rem 0; }
.keyfacts div { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1rem 1.1rem; }
.keyfacts b { display: block; font-family: var(--f-display); font-weight: 600; font-size: 1.7rem; letter-spacing: -0.02em; }
.keyfacts span { font-size: .9rem; color: var(--ink-2); }
.callout { border-left: 4px solid var(--amber); background: var(--paper); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 1.1rem 1.3rem; margin: 1.5rem 0; }
.callout p:last-child { margin: 0; }
.sources { font-size: .9rem; color: var(--ink-2); }
.sources li { margin-bottom: .45rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--green-deep); color: rgba(252, 241, 222, .82); padding-top: clamp(3.5rem, 2.5rem + 3vw, 5.5rem); font-size: .95rem; }
.site-footer a { color: rgba(252, 241, 222, .82); text-decoration: none; }
.site-footer a:hover { color: var(--cream); text-decoration: underline; }
.site-footer__grid { display: grid; grid-template-columns: 2fr repeat(4, 1fr); gap: 2.5rem 2rem; padding-bottom: 3rem; }
.brand--light, .brand--light:hover { color: var(--cream); }
.site-footer__tag { margin: 1rem 0 1.5rem; max-width: 36ch; }
.site-footer__h { font: 700 .78rem/1.2 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--amber); margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: .55rem; }
.newsletter { max-width: 420px; }
.newsletter__label { display: block; font-weight: 600; color: var(--cream); margin-bottom: .6rem; }
.newsletter__row { display: flex; gap: .5rem; }
.newsletter .input, .newsletter input { flex: 1; min-width: 0; min-height: 48px; border-radius: 999px; border: 1.5px solid rgba(252, 241, 222, .3); background: rgba(252, 241, 222, .08); color: var(--cream); padding: .75rem 1.1rem; font: inherit; }
.newsletter input::placeholder { color: rgba(252, 241, 222, .55); }
.newsletter input:focus { outline: none; border-color: var(--amber); }
.newsletter__fine { font-size: .82rem; color: rgba(252, 241, 222, .65); margin: .6rem 0 0; }
.newsletter .form-status { background: rgba(252, 241, 222, .1); border-color: rgba(252, 241, 222, .2); color: var(--cream); }
.site-footer__legal { border-top: 1px solid rgba(252, 241, 222, .14); padding-block: 1.5rem 2rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 3rem; font-size: .84rem; color: rgba(252, 241, 222, .66); }
.site-footer__legal p { margin: 0; max-width: 80ch; }
.site-footer__legal strong { color: var(--cream); }

/* ---------- reveal motion ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-stagger > * { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal-stagger.is-in > * { opacity: 1; transform: none; }
.js .reveal-stagger.is-in > :nth-child(2) { transition-delay: .08s; }
.js .reveal-stagger.is-in > :nth-child(3) { transition-delay: .16s; }
.js .reveal-stagger.is-in > :nth-child(4) { transition-delay: .24s; }
.js .reveal-stagger.is-in > :nth-child(5) { transition-delay: .32s; }
.js .reveal-stagger.is-in > :nth-child(6) { transition-delay: .4s; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header__actions { margin-left: auto; }
  .site-footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .area-links { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .split, .page-hero__grid, .calc, .calc--mini, .charts { grid-template-columns: 1fr; }
  .grid-3, .grid-4, .plans, .stats, .kpis, .keyfacts { grid-template-columns: 1fr 1fr; }
  .plan--featured { transform: none; }
  .timeline { grid-template-columns: 1fr; gap: 0; padding-left: 1.75rem; }
  .timeline::before { left: 8px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: var(--line-strong); }
  .timeline li { padding: 0 0 1.75rem; }
  .timeline li::before { left: -1.75rem; top: 2px; }
  .anchor { grid-template-columns: 1fr; }
  .anchor__vs { justify-self: center; }
  .docs { grid-template-columns: 1fr; }
  .checks--two { grid-template-columns: 1fr; }
  .calc__result { position: static; }
  .area-links { grid-template-columns: 1fr 1fr; }
  .gloss__group { grid-template-columns: 1fr; gap: .75rem; }
  .ritual { grid-template-columns: 1fr; gap: .4rem; }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4, .plans, .steps, .deposits { grid-template-columns: 1fr; }
  .stats, .kpis, .keyfacts { grid-template-columns: 1fr 1fr; }
  .stat { padding: 1.1rem; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .header-cta { display: none; }
  .brand__name { font-size: 1.35rem; }
  .q .choices { grid-template-columns: 1fr; }
  .score { grid-template-columns: 1fr; justify-items: start; }
  .bars li { grid-template-columns: minmax(6.5rem, 8.5rem) 1fr 4.6rem; gap: .5rem; }
  .bars a { font-size: .84rem; }
  .compare th, .compare td, .data-table th, .data-table td { padding: .8rem .75rem; font-size: .92rem; }
  .newsletter__row { flex-direction: column; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal, .js .reveal-stagger > * { opacity: 1; transform: none; }
  .film__hint i::after { animation: none; }
}

/* ---------- print ---------- */
@media print {
  .site-header, .site-footer, .cta-band, .film__rail, .film__hint, .nav-sheet { display: none !important; }
  main { padding-top: 0; }
  body { background: #fff; }
}
