/* ex9.tech — redesign (proposal). One stylesheet for every page built by redesign.py.
   Design code: palette #232323 / #E84C2B / grey / #C5C3C5 / #FFFFFF (+ #F3F3F3 tint, #FBAE40 only in the seam),
   Contrast (WCAG AA): ex9 orange only for large type (≥ 24 px, or ≥ 19 px bold), icons, lines and fills; small text is
   charcoal, white or grey. Grey is #6B6B6B (passes on white and on the #F3F3F3 tint; #757575 didn't on the tint).
   titles TeX Gyre Adventor Bold (self-hosted, free; stands in for Century Gothic, which we may not host), body Public Sans.
   Century Gothic is deliberately NOT in the font list: visitors who have it installed would see a different font. */

@font-face {
  font-family: "TeX Gyre Adventor";
  src: url("../fonts/tex-gyre-adventor-bold.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
  --c: #232323; --o: #E84C2B; --g: #6B6B6B; --lg: #C5C3C5; --w: #FFFFFF; --t: #F3F3F3; --amber: #FBAE40;
  --line-dark: rgba(255,255,255,.15);
  --ex9-title: "TeX Gyre Adventor", Arial, sans-serif;
  --ex9-body: "Public Sans", Arial, sans-serif;
  --gut: 32px; --sec: 88px; --radius: 0; --head: 76px;
  /* motion: ease-out for things appearing, ease-in-out for things moving on screen */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1); --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  /* one elevation: a soft two-layer shadow tinted to charcoal; --shadow-2 for things floating over video */
  --shadow-1: 0 1px 2px rgba(35,35,35,.06), 0 10px 28px rgba(35,35,35,.10);
  --shadow-2: 0 2px 4px rgba(35,35,35,.18), 0 16px 36px rgba(35,35,35,.32);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--w); color: var(--c); font: 400 16px/1.6 var(--ex9-body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }   /* width/height attributes give the shape; CSS sizes it */
a { color: var(--c); text-decoration-color: var(--o); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.on-dark a:not(.btn), .cover a:not(.btn) { color: #fff; }
.formcard a, .ex9r__card a:not(.ex9p-btn), .ex9calc a { color: var(--c) !important; }   /* white cards inside dark sections */
:focus-visible { outline: 2px solid var(--o); outline-offset: 3px; }
p, h1, h2, h3, ul, ol, figure, dl, dd { margin: 0; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--c); color: #fff; padding: 10px 16px; border-radius: 0; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: 1264px; margin: 0 auto; padding: 0 var(--gut); }

/* ---- type ---- */
.k { font: 600 13px/1.2 var(--ex9-body); letter-spacing: .12em; text-transform: uppercase; color: var(--c); }
/* the orange mark carries the colour, but only on the main label above a section or page heading;
   sub-labels (lists, sector names, footer, contact, jobs) stay plain so squares don't pile up */
.sec__head .k::before, .cover .k::before, .stack > .k:first-child::before {
  content: ""; display: inline-block; width: 9px; height: 9px; margin: 0 10px 1px 0; background: var(--o); vertical-align: middle; }
.on-dark .k, .cover .k { color: #fff; }
.h1, .h2, .h3, .h4 { font-family: var(--ex9-title); font-weight: 700; letter-spacing: 0; color: inherit; }
.h1 { font-size: clamp(32px, 3.8vw, 50px); line-height: 1.06; }
.h2 { font-size: clamp(27px, 2.8vw, 38px); line-height: 1.12; }
.h3 { font-size: 20px; line-height: 1.25; }
.h4 { font-size: 20px; line-height: 1.25; }   /* same as .h3: one card-title size */
/* no single word left alone on the last line: headlines balance their lines, text avoids short last lines
   (redesign.py also glues the last two words with a non-breaking space for browsers without text-wrap) */
h1, h2, h3, h4, .h1, .h2, .h3, .h4, .k, .label, .btn { text-wrap: balance; }
p, li, dd, td, th, .lead { text-wrap: pretty; }
.o { color: var(--o); }
.ex9 { text-transform: none !important; }   /* brand name stays lowercase, even in uppercase labels */
/* text measure: ~60 characters per line (headlines, photos and grids keep the full 1,200 px) */
.lead { font-size: 17px; line-height: 1.6; color: var(--g); max-width: 540px; }
.stack > p:not(.k):not(.h2):not(.h3) { max-width: 560px; }
.muted { color: var(--g); }
.on-dark, .cover { color: #fff; }
.on-dark .lead, .cover .lead, .on-dark .muted, .cover .muted { color: var(--lg); }
.label { font: 600 15px/1.35 var(--ex9-body); }
/* facts still to confirm: visible on purpose, easy to find */
.ph { background: rgba(232,76,43,.1); border-bottom: 1px dashed var(--o); padding: 0 .15em; border-radius: 0; }
.on-dark .ph, .cover .ph { background: rgba(232,76,43,.22); }

/* ---- buttons & links ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px;
  border-radius: 0; border: 1.5px solid transparent; font: 700 19px/1.2 var(--ex9-body); text-decoration: none;   /* 19 px bold: white on ex9 orange counts as large text */
  cursor: pointer; transition: background .15s var(--ease-out), color .15s var(--ease-out), border-color .15s var(--ease-out), transform .14s var(--ease-out); text-align: center; }
.btn--o { background: var(--o); color: #fff; border-color: var(--o); }
@media (hover: hover) and (pointer: fine) { .btn--o:hover { background: var(--c); border-color: var(--c); color: #fff; } }
@media (hover: hover) and (pointer: fine) { .on-dark .btn--o:hover, .cover .btn--o:hover, .sh .btn--o:hover { background: #fff; border-color: #fff; color: var(--c); } }
.btn--line { border-color: var(--c); color: var(--c); background: transparent; }
@media (hover: hover) and (pointer: fine) { .btn--line:hover { background: var(--c); color: #fff; } }
.on-dark .btn--line, .cover .btn--line { border-color: #fff; color: #fff; }
@media (hover: hover) and (pointer: fine) { .on-dark .btn--line:hover, .cover .btn--line:hover { background: #fff; color: var(--c); } }
.btns { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
/* only two button designs: .btn--o (main) and .btn--line (secondary); everything else is a plain text link */
.more { font-weight: 600; color: var(--c); text-decoration: underline; text-decoration-color: var(--o); text-decoration-thickness: 2px; text-underline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .more:hover { color: var(--c); } }
@media (hover: hover) and (pointer: fine) { .on-dark .more:hover, .cover .more:hover { color: #fff; } }

/* ---- header ---- */
.sh { position: sticky; top: 0; z-index: 50; background: var(--c); color: #fff; }
.sh__bar { display: flex; align-items: center; gap: 36px; height: var(--head); }
.sh__logo { flex: none; display: block; }
.sh__logo img { width: 58px; height: auto; }
.sh__nav { display: flex; gap: 30px; flex: 1; }
.sh__nav a { color: #fff; text-decoration: none; font: 600 15px var(--ex9-body); padding: 6px 0; border-bottom: 2px solid transparent; }
.sh__nav a[aria-current="page"] { border-bottom-color: var(--o); }
@media (hover: hover) and (pointer: fine) { .sh__nav a:hover { border-bottom-color: var(--o); } }
.sh__cta { min-height: 44px; padding: 0 18px; }
.sh__burger { display: none; margin-left: auto; width: 44px; height: 44px; background: none; border: 0; padding: 0 9px; cursor: pointer; }
.sh__burger span { display: block; height: 2px; background: #fff; margin: 5px 0; transition: transform .2s, opacity .2s; }
.sh--open .sh__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.sh--open .sh__burger span:nth-child(2) { opacity: 0; }
.sh--open .sh__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.sh__panel { display: none; }
.sh.is-scrolled { box-shadow: 0 1px 0 var(--line-dark); }

/* ---- sections ---- */
.sec { padding: var(--sec) 0; }
.sec--tint { background: var(--t); }
.sec--dark { background: var(--c); color: #fff; }
.sec--tight { padding: 56px 0; }
.sec__head { display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: flex-end; justify-content: space-between; margin-bottom: 40px; }
.sec__head > div { display: flex; flex-direction: column; gap: 12px; max-width: 720px; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0,1fr)); }

/* ---- heroes: full width, the photo anchored right and fading softly into charcoal on the left, text on top ----
   Homepage: the full screen below the header. Every other page: one shorter, shared height. */
.cover { position: relative; overflow: hidden; background: var(--c); color: #fff; display: flex; align-items: center; }
.cover__photo { position: absolute; top: 0; right: 0; bottom: 0; left: 26%; width: 74%; height: 100%; object-fit: cover; z-index: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 34%); mask-image: linear-gradient(90deg, transparent 0%, #000 34%); }
.cover::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(35,35,35,.55) 0%, rgba(35,35,35,.35) 40%, rgba(35,35,35,0) 62%),
              linear-gradient(0deg, rgba(35,35,35,.4) 0%, rgba(35,35,35,0) 30%); }
.cover--plain::before { display: none; }
.cover__body { position: relative; z-index: 3; width: 100%; }
.cover__text { max-width: 600px; display: flex; flex-direction: column; gap: 20px; }
.cover .h1 { text-shadow: 0 2px 24px rgba(35,35,35,.35); }
.cover .k, .cover .lead { text-shadow: 0 1px 10px rgba(35,35,35,.85); }

.hero { min-height: max(640px, calc(100vh - var(--head))); }
.hero .cover__body { padding-top: 96px; padding-bottom: 104px; }
.phero { min-height: var(--phero-h, 520px); }
.phero .cover__body { padding-top: 72px; padding-bottom: 80px; }
.hero__pause { position: absolute; z-index: 4; right: var(--gut); top: 24px; width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.6); background: rgba(35,35,35,.35); cursor: pointer; display: grid; place-items: center; }
.hero__pause span { width: 12px; height: 14px; border-left: 4px solid #fff; border-right: 4px solid #fff; }
.hero__pause.is-paused span { width: 0; height: 0; border: 0; border-left: 13px solid #fff; border-top: 8px solid transparent; border-bottom: 8px solid transparent; margin-left: 4px; }
@media (hover: hover) and (pointer: fine) { .hero__pause:hover { border-color: var(--o); } }
.phero--plain .cover__text { max-width: 860px; }

/* closing call to action */
.closing { min-height: 560px; }
.closing .cover__body { padding-top: 120px; padding-bottom: 120px; }
.closing .cover__text { max-width: 560px; }

/* ---- proof strip ---- */
.proof { border-bottom: 1px solid var(--lg); }
.proof .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 28px 48px; padding-top: 32px; padding-bottom: 32px; }
.proof__m { display: flex; flex-direction: column; gap: 4px; min-width: 260px; max-width: 360px; }
.proof__m .k { font-size: 12px; }
.logos { display: flex; flex-wrap: wrap; align-items: center; gap: 28px 44px; flex: 1; justify-content: flex-end; list-style: none; padding: 0; }
/* backer logos in their original colours: funders' logo rules don't allow altering them */
.logos img { height: 40px; width: auto; max-width: 150px; object-fit: contain; }
.logos--wall { justify-content: flex-start; gap: 40px 56px; }
.backers { border-top: 1px solid var(--lg); }
.backers .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 56px; }
.backers .logos { justify-content: flex-start; gap: 28px 48px; }
.logos--wall img { height: 52px; max-width: 170px; }

/* ---- tiles, steps, parts ---- */
.tile { background: var(--t); border-radius: 0; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.sec--tint .tile { background: #fff; }
.tile svg { width: 32px; height: 32px; flex: none; }
.tile p { font-size: 16px; color: var(--g); }
.steps { list-style: none; padding: 0; display: grid; gap: 24px; counter-reset: s; }
.steps--6 { grid-template-columns: repeat(6, minmax(0,1fr)); }
.steps--4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.steps > li { display: flex; flex-direction: column; gap: 8px; }   /* one marker per step: its icon (no number, no line) */
.steps p { font-size: 15px; color: var(--g); }
.on-dark .steps p, .cover .steps p { color: var(--lg); }
.rows > * { padding: 20px 0; border-top: 1px solid var(--lg); }
.rows > *:last-child { border-bottom: 1px solid var(--lg); }
.on-dark .rows > *, .cover .rows > * { border-color: var(--line-dark); }
.rows p { font-size: 15px; }
.media { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 0; }   /* one shape for every media-kit photo */

/* ---- cards (industries) ---- */
.card { display: flex; flex-direction: column; background: #fff; border-radius: 0; overflow: hidden; color: var(--c); text-decoration: none; transition: box-shadow .2s var(--ease-out); }
.card img { width: 100%; aspect-ratio: 850 / 1000; object-fit: cover; }
.card > div { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 6px; }
.card p { font-size: 15px; color: var(--g); }
@media (hover: hover) and (pointer: fine) { a.card:hover { color: var(--c); box-shadow: var(--shadow-1); } }   @media (hover: hover) and (pointer: fine) { /* no lift: the hovered target never moves */
a.card:hover .h4 { color: var(--o); } }

/* ---- software screenshots: shown whole (never cropped), framed like a window ---- */
.screen { width: 100%; height: auto; display: block; border-radius: 0; border: 1px solid var(--lg);
  box-shadow: var(--shadow-1); background: #fff; }
.on-dark .screen { border-color: rgba(255,255,255,.18); box-shadow: var(--shadow-2); }
.screens { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 28px 24px; padding: 8px 0 48px; }
.screens figure { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.screens__main { grid-column: 1 / -1; }
.screens figcaption { font-size: 14px; color: var(--g); }
.screens figcaption b { color: var(--c); }

/* ---- the two vehicles (homepage) ---- */
.vehicle { display: flex; flex-direction: column; gap: 12px; }
.vehicle img, .vehicle__video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 0; background: var(--c); margin-bottom: 8px; display: block; }
.vehicle p { color: var(--g); }

/* ---- platform parts (solution) ---- */
.part { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 48px; align-items: center; padding: 40px 0; border-top: 1px solid var(--lg); }
.part img, .part__video { width: 100%; height: 320px; object-fit: cover; border-radius: 0; display: block; background: var(--c); }
.part > div { display: flex; flex-direction: column; gap: 14px; }
.part--rev img, .part--rev .part__video, .part--rev .part__pair { order: 2; }
.part img.screen { height: auto; object-fit: contain; background: none; }   /* software screens keep their full frame */
.part img.part__wide { height: auto; aspect-ratio: 1.8; }   /* wide photo: keep both vehicles in frame on phones too */
.part > .part__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.num { font: 700 13px var(--ex9-body); color: var(--c); letter-spacing: .08em; text-transform: uppercase; }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 32px; padding: 40px 0 0; border-top: 1px solid var(--lg); }
.trio > div { display: flex; flex-direction: column; gap: 12px; }
.trio p { font-size: 16px; color: var(--g); }

/* ---- check list ---- */
.chk { list-style: none; padding: 0; }
.chk li { position: relative; padding: 10px 0 10px 28px; border-top: 1px solid var(--lg); font-size: 16px; }
.chk li:last-child { border-bottom: 1px solid var(--lg); }
.chk li::before { content: ""; position: absolute; left: 4px; top: 18px; width: 10px; height: 10px; border-radius: 0; background: var(--o); }
.on-dark .chk li, .cover .chk li { border-color: var(--line-dark); }
.chk--x li::before { background: var(--lg); }

/* ---- tables ---- */
.tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.tbl th, .tbl td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--lg); }
.tbl thead th { font: 600 13px var(--ex9-body); letter-spacing: .06em; text-transform: uppercase; color: var(--g); }
.tbl tbody th { font-weight: 600; }
.tbl .hl { background: rgba(232,76,43,.06); }
.on-dark .tbl, .cover .tbl { color: #fff; }
.on-dark .tbl th, .cover .tbl th, .on-dark .tbl td, .cover .tbl td { border-color: var(--line-dark); }
.on-dark .tbl thead th, .cover .tbl thead th { color: var(--lg); }

/* ---- stats ---- */
.stat .h2 { color: var(--o); font-size: clamp(34px, 3vw, 40px); line-height: 1; font-variant-numeric: tabular-nums; }
.stat p { font-size: 15px; color: var(--g); margin-top: 10px; }

/* ---- sector rows (industries) ---- */
.sector { display: grid; grid-template-columns: minmax(0,5fr) minmax(0,7fr); gap: 48px; padding: 44px 0; border-top: 1px solid var(--lg); align-items: start; }
.sector:nth-of-type(even) { grid-template-columns: minmax(0,7fr) minmax(0,5fr); }   /* photo on the right, same width as on odd rows */
.sector:nth-of-type(even) img { order: 2; }
.sector img { width: 100%; aspect-ratio: 850 / 1000; object-fit: cover; border-radius: 0; }   /* the photos' own shape: nothing cropped */
.sector__body { display: flex; flex-direction: column; gap: 18px; }
.sector__lists { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 28px; margin-top: 8px; }
.sector__lists .k { color: var(--g); margin-bottom: 6px; }
.sector__lists .chk li { font-size: 15px; }
.sector__lists .chk b { font-weight: 600; color: var(--c); }

/* ---- method (how we calculate) ---- */
.method { background: #fff; border-radius: 0; padding: 26px; }
.method dt { font-weight: 600; margin-top: 16px; }
.method dd { font-size: 15px; color: var(--g); margin-top: 4px; max-width: 470px; }
/* How we work method: today vs ex9, one row per cost line */
.cmp { min-width: 640px; }
.cmp th, .cmp td { padding: 14px 18px; }
.cmp thead th { color: var(--c); }
.cmp thead th.hl { color: var(--o); }
.cmp tbody th { width: 22%; }
.cmp td { color: var(--g); width: 39%; }
.cmp td b { color: var(--c); font-weight: 600; }
.cmp .hl { background: rgba(232,76,43,.06); }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
.cmp__note { font-size: 14px; color: var(--g); margin: 18px 18px 0; max-width: 760px; }
.cmp__note b { color: var(--c); font-weight: 600; }
@media (max-width: 700px) {   /* phones: each cost line stacks, today above ex9 */
  .cmp { min-width: 0; }
  .cmp thead { display: none; }
  .cmp tr, .cmp th, .cmp td { display: block; width: auto !important; }
  .cmp tbody tr { border-bottom: 1px solid var(--lg); padding: 12px 0; }
  .cmp tbody tr:last-child { border-bottom: 0; }
  .cmp th, .cmp td { border: 0; padding: 4px 0; }
  .cmp td.hl { padding: 8px 10px; border-radius: 0; margin-top: 4px; }
  .cmp td::before { content: attr(data-label); display: block; font: 600 13px var(--ex9-body); color: var(--g); margin-bottom: 2px; }   /* not uppercase: ex9 stays lowercase */
  .cmp td.hl::before { color: var(--o); }
  .cmp__note { margin: 12px 0 0; }
}

/* ---- team / people ---- */
.person { display: flex; flex-direction: column; gap: 6px; }
.person img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 0; margin-bottom: 12px; }
.person p { font-size: 15px; color: var(--g); }

/* ---- jobs ---- */
.job { display: grid; grid-template-columns: 200px minmax(0,1fr) auto; gap: 32px; align-items: start; padding: 24px 0; border-top: 1px solid var(--lg); }
.job:last-child { border-bottom: 1px solid var(--lg); }
.job p { font-size: 16px; color: var(--g); }

/* ---- forms on the new pages (fields come from contact-form.html / ex9-proposal.css) ---- */
.formcard { background: #fff; border-radius: 0; padding: 28px; }
.sec--tint .formcard, .sec--dark .formcard { box-shadow: none; }
.formcard .ex9p-form { max-width: none; }
.ex9p-form input[type=email], .ex9p-form input[type=text], .ex9p-form select, .ex9p-form textarea { border-color: var(--lg) !important; }
/* form, calculator and readiness-test buttons look exactly like .btn--o */
.ex9p-form button, .ex9calc__btn, .ex9r button[type=submit], .ex9r__next, #ex9r-savings {
  border-radius: 0 !important; min-height: 48px; padding: 0 26px !important; border-width: 1.5px !important;
  font: 700 19px/1.2 var(--ex9-body) !important; text-transform: none !important; letter-spacing: 0 !important; }
@media (hover: hover) and (pointer: fine) { .ex9p-form button:hover, .ex9calc__btn:hover, .ex9r__next:hover, #ex9r-savings:hover, .ex9r button[type=submit]:hover {
  background: var(--c) !important; border-color: var(--c) !important; color: #fff !important; } }
#ex9r-savings { display: inline-flex; align-items: center; background: var(--o) !important; color: #fff !important; text-decoration: none; }
/* the test's "Back" / "Start again" use the secondary (outline) design */
.ex9r__back, .ex9r__restart { border-radius: 0 !important; min-height: 48px; padding: 0 26px !important; font: 600 16px/1.2 var(--ex9-body) !important;
  background: transparent !important; color: var(--c) !important; border: 1.5px solid var(--c) !important; text-transform: none !important; cursor: pointer; }
@media (hover: hover) and (pointer: fine) { .ex9r__back:hover, .ex9r__restart:hover { background: var(--c) !important; color: #fff !important; } }
@media (hover: hover) and (pointer: fine) { .ex9p-form button:hover { background: var(--c) !important; border-color: var(--c) !important; color: #fff !important; } }

/* ---- calculator + readiness test, re-skinned to the new layout ---- */
.ex9calc { max-width: none !important; padding: 0 !important; }
.ex9calc__card { box-shadow: none !important; border-radius: 0 !important; }
.ex9calc__title, .ex9calc__big, .ex9calc__mid { font-family: var(--ex9-title) !important; font-weight: 700 !important; }
.ex9calc__big, .ex9calc__mid, .ex9calc td { font-variant-numeric: tabular-nums; }
.ex9calc__btn { border-radius: 0 !important; }
.ex9calc__lead { display: none; }   /* the page section already says what the calculator does */
/* compact calculator: tighter padding, rows and numbers, so it fits on one screen on desktop */
.ex9calc__inputs, .ex9calc__results { padding: 26px 30px !important; }
.ex9calc__title { font-size: 20px !important; margin: 0 0 18px !important; }
.ex9calc__field { margin: 0 0 14px !important; }
.ex9calc__row { margin: 0 0 4px !important; }
.ex9calc__row label, .ex9calc__seg legend { font-size: 15px !important; }
.ex9calc__row output { font-size: 16px !important; }
.ex9calc input[type=range] { height: 22px !important; }
.ex9calc__seg { gap: 6px !important; margin: 0 0 14px !important; }
.ex9calc__seg legend { margin: 0 0 6px !important; }
.ex9calc__seg label { padding: 8px 0 !important; font-size: 15px !important; }
.ex9calc__seg--2 { margin: 8px 0 0 !important; }
.ex9calc__seg--2 label { padding: 8px 0 !important; font-size: 15px !important; }   /* same height as the shift buttons above */
.ex9calc__hint { font-size: 13px !important; margin: 4px 0 0 !important; }
.ex9calc__sep { margin: 2px 0 14px !important; }
.ex9calc__quiet .ex9calc__field { margin-bottom: 10px !important; }
.ex9calc__help { font-size: 13px !important; padding-top: 12px !important; }
.ex9calc__big { font-size: 40px !important; margin: 0 0 12px !important; }
.ex9calc__mid { font-size: 20px !important; }
.ex9calc__mid--open { font-size: 20px !important; margin: 0 0 12px !important; }
.ex9calc__pair { margin: 0 0 8px !important; }
.ex9calc__table td, .ex9calc__table th { padding: 4px 0 !important; font-size: 13px; }
.ex9calc__table tr.ex9calc__group td { padding-top: 6px !important; }
.ex9calc__form { margin: 14px 0 0 !important; padding: 16px !important; }
.ex9calc__form h3 { font-size: 16px !important; }
.ex9calc__form p.ex9calc__sub { font-size: 13px !important; margin: 0 0 10px !important; }
.ex9calc__formrow input { padding: 10px 12px !important; font-size: 16px !important; }   /* 16 px: no zoom on iPhone */
.ex9calc__btn { margin: 10px 0 0 !important; }
.ex9calc__trust { margin: 8px 0 0 !important; }
.ex9calc__assume-wrap { margin-top: 12px !important; }
/* calm calculator: orange only on the savings figure and the button */
/* locked report: a 3-row teaser + total is enough to show what's inside; all rows appear once unlocked */
.ex9calc__locked.is-locked .ex9calc__table tbody tr:nth-child(n+4):not(.ex9calc__total) { display: none; }
.ex9calc__lockbadge { display: none !important; }
.ex9calc__locked.is-locked { padding-top: 0 !important; }
.ex9calc__row output { color: var(--ink, #232323) !important; }
.ex9calc input[type=range] { accent-color: #232323 !important; }
.ex9calc__seg input:checked + label { background: #232323 !important; border-color: #232323 !important; }
.ex9calc__form { background: none !important; border: 0 !important; border-top: 1px solid rgba(255,255,255,.15) !important;
  border-radius: 0 !important; padding: 18px 0 0 !important; margin-top: 8px !important; }
.ex9calc__mid--open { margin-bottom: 20px !important; }
.ex9calc__trust a { color: rgba(255,255,255,.75) !important; }
/* email + button on one line; the button already says what the form does, so the form title is hidden */
.ex9calc__form h3 { display: none; }
.ex9calc__formrow { grid-template-columns: 1fr auto !important; }
.ex9calc__formrow .ex9calc__btn { margin: 0 !important; width: auto; white-space: nowrap; padding: 10px 18px !important; font-size: 19px !important; }
@media (max-width: 420px) { .ex9calc__formrow { grid-template-columns: 1fr !important; } .ex9calc__formrow .ex9calc__btn { width: 100%; } }
.ex9r .ex9p__wrap { padding: 0 !important; max-width: none; }
.ex9r .ex9p__kicker, .ex9r .ex9p__h2, .ex9r .ex9p__lead { display: none; }   /* the page section carries the heading */
.ex9r .ex9r__title, .ex9r__dial span { font-family: var(--ex9-title) !important; }

/* ---- legal prose ---- */
.prose { max-width: 620px; }
.prose h2 { font: 700 26px/1.25 var(--ex9-title); margin: 44px 0 12px; }
.prose p, .prose ul { margin: 0 0 14px; }
.prose ul { padding-left: 22px; }
.prose .date { color: var(--g); font-style: italic; }
.prose h3 { font: 700 20px/1.25 var(--ex9-title); margin: 24px 0 10px; }
.prose .tbl-wrap { margin: 0 0 16px; }
.prose .tbl { min-width: 480px; font-size: 15px; }
.ex9pp { padding: 0 !important; max-width: 700px !important; margin: 0 !important; }
.ex9pp h1 { font-family: var(--ex9-title) !important; font-weight: 700 !important; font-size: clamp(34px, 4vw, 48px) !important; margin: 0 0 8px !important; }
.ex9pp h2 { font-family: var(--ex9-title) !important; font-weight: 700 !important; }
.ex9pp .ex9pp-lang label { border-radius: 0; }

/* ---- footer ---- */
.sf { background: var(--c); color: #fff; border-top: 1px solid rgba(255,255,255,.08); }
.sf .wrap { display: flex; flex-wrap: wrap; gap: 48px; justify-content: space-between; padding-top: 64px; padding-bottom: 56px; }
.sf__cols { display: flex; flex-wrap: wrap; gap: 32px 72px; }
.sf__cols ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.sf__cols .k { color: var(--lg); margin-bottom: 6px; }
.sf a { color: #fff; text-decoration: none; font-size: 15px; }
@media (hover: hover) and (pointer: fine) { .sf a:hover { text-decoration: underline; text-decoration-color: var(--o); text-decoration-thickness: 2px; } }
.sf__brand { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; text-align: right; }
.sf__brand img { width: 84px; height: auto; }
.sf__brand p { font-size: 13px; color: var(--lg); }
.sf__social { display: flex; gap: 16px; }

/* ---- reveal on scroll (only when JS runs and motion is allowed) ---- */
@media (prefers-reduced-motion: no-preference) {
  .js .rv { opacity: 0; transform: translateY(8px); transition: opacity .32s var(--ease-out), transform .32s var(--ease-out); }
  .js .rv.in { opacity: 1; transform: none; }
}

/* ---- responsive ---- */
@media (max-width: 1100px) {
  .steps--6 { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .grid--4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .sh__nav { gap: 22px; }
}
@media (max-width: 980px) {
  :root { --sec: 68px; --head: 64px; }
  .sh__nav, .sh__cta { display: none; }
  .sh__burger { display: block; }
  .sh__logo img { width: 48px; }
  .sh--open .sh__panel { display: flex; flex-direction: column; gap: 4px; padding: 8px var(--gut) 28px; border-top: 1px solid var(--line-dark);
    max-height: calc(100vh - var(--head)); overflow-y: auto; }
  .sh__panel a:not(.btn) { color: #fff; text-decoration: none; font: 600 20px var(--ex9-body); padding: 14px 0; border-bottom: 1px solid var(--line-dark); }
  .sh__panel a[aria-current="page"] { color: #fff; text-decoration: underline; text-decoration-color: var(--o); text-decoration-thickness: 2px; }
  .sh__panel .btn { margin-top: 20px; }
  .grid--3, .trio { grid-template-columns: 1fr; }
  .screens { grid-template-columns: 1fr; gap: 24px; }
  .grid--2, .part, .sector, .sector:nth-of-type(even), .sector__lists { grid-template-columns: 1fr; gap: 32px; }
  .part--rev img, .part--rev .part__video, .part--rev .part__pair, .sector:nth-of-type(even) img { order: 0; }
  .part img.screen { height: auto; }
  .part img, .part__video { height: 300px; }
  .steps--4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .job { grid-template-columns: 1fr; gap: 10px; }
  .sf__brand { align-items: flex-start; text-align: left; }
  .logos { justify-content: flex-start; }

  /* phones: the photo fills the top of the hero and fades into charcoal behind the text */
  .cover { align-items: flex-end; }
  .cover__photo { left: 0; width: 100%; height: 58%; bottom: auto;
    -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 55%, transparent 100%); }
  .cover::before { background: linear-gradient(180deg, rgba(35,35,35,0) 0%, rgba(35,35,35,0) 30%, rgba(35,35,35,.6) 52%, rgba(35,35,35,.92) 66%); }
  .hero { min-height: calc(100svh - var(--head)); }
  .phero { min-height: var(--phero-h-m, 520px); }
  .phero .cover__photo { height: 52%; }
  .hero .cover__body, .closing .cover__body { padding-top: 200px; padding-bottom: 56px; }
  .phero .cover__body { padding-top: 150px; padding-bottom: 44px; }
  .cover--plain { align-items: center; }
  .cover--plain .cover__body { padding-top: 56px; padding-bottom: 56px; }
  .hero__pause { top: 14px; right: 14px; width: 40px; height: 40px; }
  .cover:not(.cover--plain) .k { align-self: flex-start; background: rgba(35,35,35,.8); padding: 5px 9px; border-radius: 0; }
}
@media (max-width: 640px) {
  :root { --gut: 20px; --sec: 56px; }
  body { font-size: 16px; }
  .lead { font-size: 17px; }
  .steps--6, .steps--4, .grid--4 { grid-template-columns: 1fr; }
  .btns .btn { width: 100%; }
  .sec__head { margin-bottom: 40px; }
  .tile, .formcard, .method { padding: 24px; }
  .logos img { height: 32px; max-width: 120px; }
  .backers .wrap { flex-direction: column; align-items: flex-start; gap: 20px; }
  .backers .logos { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px 28px; width: 100%; }
  .logos { gap: 20px 28px; }
  .logos--wall img { height: 40px; }
}

/* ---------- Solution: mission film (ex9-mission.js) ---------- */
.mf__film { border-radius: 0; overflow: hidden; background: var(--c); box-shadow: var(--shadow-1); }
.mf__stage { position: relative; aspect-ratio: 2296 / 1071;   /* the fleet software's screen shape; camera clips are cut to it */ background: var(--c); overflow: hidden; }
.mf__still, .mf__layer { position: absolute; inset: 0; width: 100%; height: 100%; }
.mf__still { object-fit: cover; background: #fff; transition: opacity .3s var(--ease-out); }
.mf__still.is-off { opacity: 0; }
.mf__layer { opacity: 0; transition: opacity .3s var(--ease-out); }
.mf__layer.is-on { opacity: 1; }
.mf__layer > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--c); }
.mf__layer > video.mf__pip { inset: auto 16px 16px auto; width: 46%; height: auto; aspect-ratio: 2296 / 1071; border: 3px solid #fff;
  border-radius: 0; box-shadow: var(--shadow-2); background: #fff; }
.mf__chip, .mf__sub { position: absolute; z-index: 2; margin: 0; color: #fff; background: rgba(35,35,35,.72); font-weight: 600;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.mf__chip { left: 16px; top: 16px; display: flex; gap: 8px; align-items: center; padding: 7px 13px; border-radius: 0; font-size: 13px; }
/* the step bar already shows the step; the label stays for screen readers only (it covered the ex9 logo in the software clips) */
.mf__chip { width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.mf__chip b { font-weight: 700; }
.mf__sub { right: 16px; top: 16px; padding: 5px 10px; border-radius: 0; font-size: 12px; }
.mf__sub--pip { top: auto; right: 22px; bottom: calc(46% + 26px); }   /* just above the inset: same shape as the stage, 46% wide */
.mf__ctrl { position: absolute; z-index: 2; left: 16px; bottom: 16px; width: 42px; height: 42px; border: 0; border-radius: 50%;
  background: rgba(35,35,35,.72); cursor: pointer; display: grid; place-items: center; }
.mf__ctrl span { width: 12px; height: 14px; border-left: 4px solid #fff; border-right: 4px solid #fff; }
.mf__ctrl.is-paused span { width: 0; height: 0; border: 0; border-left: 13px solid #fff; border-top: 8px solid transparent;
  border-bottom: 8px solid transparent; margin-left: 4px; }
.mf__ctrl:focus-visible, .mf__step:focus-visible { outline: 2px solid var(--o); outline-offset: -2px; }
.mf__steps { display: grid; grid-template-columns: repeat(6, 1fr); }
.mf__step { position: relative; padding: 15px 14px 17px; border: 0; border-left: 1px solid var(--line-dark); background: none;
  color: rgba(255,255,255,.55); font: inherit; text-align: left; cursor: pointer; transition: color .15s var(--ease-out), background .15s var(--ease-out); }
.mf__step:first-child { border-left: 0; }
@media (hover: hover) and (pointer: fine) { .mf__step:hover { color: #fff; } }
.mf__bar { position: absolute; left: 0; right: 0; top: 0; height: 3px; background: rgba(255,255,255,.08); }
.mf__bar i { display: block; width: 100%; height: 100%; background: var(--o); transform: scaleX(0); transform-origin: left; }
.mf__n { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 8px; border: 1.5px solid currentColor;
  border-radius: 50%; font-size: 13px; font-weight: 700; }
.mf__name { font-size: 15px; font-weight: 700; }
.mf__step.is-done { color: rgba(255,255,255,.8); }
.mf__step.is-done .mf__bar i { transform: none; }
.mf__step.is-on { color: #fff; background: rgba(255,255,255,.06); }
.mf__step.is-on .mf__n { background: #fff; border-color: var(--o); color: var(--c); box-shadow: 0 0 0 2px var(--o); }
.mf__cap { margin: 0; padding: 14px 20px; border-bottom: 1px solid var(--line-dark); color: #fff; font-size: 15px; line-height: 1.5; }   /* the current step, inside the film's frame */
@media (max-width: 760px) {
  .mf__steps { grid-template-columns: repeat(3, 1fr); }
  .mf__step { padding: 12px 10px; border-top: 1px solid var(--line-dark); }
  .mf__step:nth-child(4) { border-left: 0; }
  .mf__name { font-size: 13px; }
    .mf__chip { left: 10px; top: 10px; font-size: 12px; }
  .mf__sub { right: 10px; top: 10px; font-size: 11px; }
  .mf__layer > video.mf__pip { right: 10px; bottom: 10px; width: 50%; }
  .mf__sub--pip { display: none; }
  .mf__ctrl { left: 10px; bottom: 10px; width: 36px; height: 36px; }
  .mf__cap { padding: 12px 14px; font-size: 14px; min-height: calc(3em + 24px); }   /* room for 2 lines, so the frame does not jump between steps */
}

/* ---------- Solution: five parts in one panel (ex9-parts.js) ---------- */
.pp { display: grid; grid-template-columns: minmax(280px, 1fr) 1.75fr; gap: 28px; align-items: center; }
.pp__tabs { display: flex; flex-direction: column; gap: 6px; }
.pp__tab { position: relative; display: block; width: 100%; padding: 14px 18px 16px; border: 0; border-radius: 0; background: none;
  color: var(--g); font: inherit; text-align: left; cursor: pointer; overflow: hidden; transition: background .15s var(--ease-out), color .15s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .pp__tab:hover { color: var(--c); } }
.pp__tab:focus-visible { outline: 2px solid var(--o); outline-offset: 2px; }
.pp__name { display: block; font-size: 20px; font-weight: 700; }
.pp__text { display: block; max-height: 0; overflow: hidden; opacity: 0; color: var(--c); font-size: 15px; line-height: 1.5;
  transition: max-height .3s var(--ease-out), opacity .25s var(--ease-out), margin .3s var(--ease-out); }
.pp__tab.is-on { background: #fff; color: var(--c); box-shadow: var(--shadow-1); }
.pp__tab.is-on .pp__name { color: var(--c); }
.pp__tab.is-on .pp__text { max-height: 9em; opacity: 1; margin-top: 6px; }
.pp__bar { position: absolute; left: 18px; right: 18px; bottom: 0; height: 3px; }
.pp__bar i { display: block; width: 100%; height: 100%; background: var(--o); transform: scaleX(0); transform-origin: left; }
.pp__tab:not(.is-on) .pp__bar { display: none; }
.pp__stage { position: relative; aspect-ratio: 16 / 10; border-radius: 0; overflow: hidden; background: #fff;
  box-shadow: var(--shadow-1); }
.pp__pane { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .3s var(--ease-out), visibility 0s .3s; }
.pp__pane.is-on { opacity: 1; visibility: visible; transition: opacity .3s var(--ease-out); }
.pp__media { display: block; width: 100%; height: 100%; object-fit: contain; padding: 14px; background: #fff; }
.pp__media.is-cover { object-fit: cover; padding: 0; }
@media (max-width: 860px) {
  .pp { grid-template-columns: 1fr; gap: 16px; }
  .pp__stage { order: -1; }
  .pp__tab { padding: 11px 14px 13px; }
  .pp__name { font-size: 18px; }
  .pp__bar { left: 14px; right: 14px; }
  .pp__media { padding: 8px; }
}
@media (prefers-reduced-motion: reduce) { .pp__pane, .pp__text { transition: none; } }

/* ---------- Type system: one size per role on every page ----------
   page title .h1 · section title .h2 · card title .h3/.h4 (20px) — TeX Gyre Adventor (title font), 700
   kicker .k 13px caps · lead .lead 17px · body 16px · secondary text 15px · label .label 15px/600 · notes 13–14px — Public Sans
   Big stat numbers (.stat .h2) are figures, not headings, and stay larger. */
p.k { font-size: 13px; line-height: 1.2; }   /* beats container rules like ".job p" / ".rows p" */
p.h3, p.h4 { font-size: 20px; line-height: 1.25; color: inherit; }   /* card titles set on a <p>, e.g. team names (".person p") */
p.label { font-size: 15px; }   /* e.g. media tiles (".tile p") */
.ex9r .ex9r__title { font-size: 20px !important; line-height: 1.25 !important; }
.ex9r .ex9r__formtitle { font: 700 20px/1.25 var(--ex9-title) !important; }

/* ---------- Pictograms: Lucide icons ({{ICON:name}} in the pages, inlined by redesign.py) ---------- */
.ico { display: block; width: 32px; height: 32px; flex: none; color: var(--o); }
.tile .ico { width: 32px; height: 32px; }
.steps > li > .ico { margin: 0 0 4px; }
.howlink { margin-top: 48px; }
.why { margin-top: 8px; }
.rows--ico > * { display: grid; grid-template-columns: 32px minmax(0, 1fr); column-gap: 16px; align-items: start; }
.rows--ico > * > .ico { grid-row: span 2; }
.chk--ico li { padding-left: 44px; }
.chk--ico li::before { display: none; }
.chk--ico .ico { position: absolute; left: 0; top: 8px; width: 26px; height: 26px; }

/* a line break only on wider screens (on phones the text wraps by itself) */
@media (max-width: 600px) { br.br-wide { display: none; } }

/* readiness test result: the tick or ! is the only marker */
.ex9r .ex9r__points, .ex9r .ex9r__points li { list-style: none !important; }
.ex9r .ex9r__points li::marker { content: none; }

/* press feedback: buttons answer the click (rule: scale .97 on :active, ~140 ms ease-out) */
.btn:active, .ex9p-form button:active, .ex9calc__btn:active, .ex9r__next:active, .ex9r__back:active, .ex9r__restart:active,
#ex9r-savings:active, .ex9p-btn:active, .ex9c__btn:active, .mf__ctrl:active, .hero__pause:active { transform: scale(.97); }
.ex9p-form button, .ex9calc__btn, .ex9r__next, .ex9r__back, .ex9r__restart, #ex9r-savings, .ex9p-btn, .ex9c__btn, .mf__ctrl, .hero__pause {
  transition-property: background, color, border-color, transform; transition-duration: .14s; transition-timing-function: var(--ease-out); }
@media (prefers-reduced-motion: reduce) {
  .btn:active, .ex9p-form button:active, .ex9calc__btn:active, .ex9r__next:active, .ex9r__back:active, .ex9r__restart:active,
  #ex9r-savings:active, .ex9p-btn:active, .ex9c__btn:active, .mf__ctrl:active, .hero__pause:active { transform: none; }
}

/* ---------- Solution: safety (five points in a row, standards as four facts) ---------- */
.safe { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px; }
.safe li { display: flex; flex-direction: column; gap: 14px; }
.safe p { color: #fff; font-size: 16px; line-height: 1.5; }
.stds { margin-top: 72px; padding-top: 32px; border-top: 1px solid var(--line-dark); }
.stds .k { color: var(--lg); margin-bottom: 24px; }
.stds__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin: 0; }
.stds__grid dt { font: 700 24px/1.2 var(--ex9-title); color: #fff; margin-bottom: 8px; }
.stds__grid dd { margin: 0; color: var(--lg); font-size: 15px; line-height: 1.5; }
.stds__more { margin-top: 32px; font-size: 15px; }
@media (max-width: 980px) {
  .safe { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stds__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .safe { grid-template-columns: 1fr; gap: 20px; }
  .safe li { flex-direction: row; align-items: flex-start; gap: 16px; }
  .safe .ico { width: 28px; height: 28px; }
  .stds { margin-top: 48px; }
  .stds__grid { grid-template-columns: 1fr; gap: 24px; }
}

/* form fields: ex9 charcoal text, site grey placeholders (not the browser's black and mid-grey) */
input, select, textarea { color: var(--c); }
::placeholder { color: var(--g); opacity: 1; }
.hero__pause, .mf__ctrl { color: #fff; }
/* one label size (15 px / 600) for every form label */
.ex9p-form label.ex9p-form__label, .ex9calc__label { font-size: 15px !important; font-weight: 600 !important; }

/* ---------- Company: founders beside the heading; calmer logo wall; apply line under the jobs ---------- */
.team__people { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 32px; }
/* logos keep their own colours (funders' rules): calm the wall with one cell size and a regular grid instead */
.logos--wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 36px 40px; justify-items: center; }
.logos--wall li { display: flex; align-items: center; justify-content: center; height: 56px; width: 100%; }
.logos--wall img { height: auto; max-height: 44px; max-width: 140px; }
.apply { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; margin-top: 40px; }
.apply .lead { color: var(--c); margin: 0; }
@media (max-width: 760px) {
  .logos--wall { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 28px 24px; }
  .logos--wall img { max-height: 36px; max-width: 120px; }
  .team__people { gap: 20px; }
}

/* ---------- form send error (ex9-forms.js) ---------- */
.ex9p-form__err { margin: 4px 0 0; font-size: 15px; line-height: 1.5; color: var(--c); border-left: 3px solid var(--o); padding-left: 12px; }
.ex9p-form__err[hidden] { display: none; }
/* calculator error, on the dark results panel: white text, orange marker, readable email link (was charcoal on charcoal) */
.ex9calc .ex9calc__err { color: #fff; font-size: 14px; line-height: 1.5; border-left: 3px solid var(--o); padding-left: 12px; }
.ex9calc .ex9calc__err a { color: #fff !important; text-decoration-color: var(--o); }

/* ---------- Infographics (Nov 2026 review): figures with pictograms, cost bars, included items ---------- */
.nw { white-space: nowrap; }
.steps--3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
@media (max-width: 640px) { .steps--3 { grid-template-columns: 1fr; } }

/* figure tiles: pictogram, big number, short line */
.figs { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); column-gap: 28px; }
.figs > li { display: flex; flex-direction: column; gap: 6px; padding: 20px 0 22px; border-top: 1px solid var(--lg); }
.figs .ico { width: 28px; height: 28px; margin-bottom: 4px; }
.fig__n { font: 700 clamp(30px, 3vw, 40px)/1 var(--ex9-title); color: var(--o); font-variant-numeric: tabular-nums; }
.figs p:not(.fig__n):not(.label) { font-size: 15px; color: var(--g); }
.figs--today .fig__n { color: var(--c); }            /* today in charcoal, ex9 in orange */
.figs--today .ico { color: var(--g); }
.figs--big { grid-template-columns: repeat(3, minmax(0,1fr)); column-gap: 40px; }   /* same number size as the other figures */
.figs--big > li { padding: 24px 0 28px; }
.figs--big .fig__n { margin: 2px 0 4px; }
.on-dark .figs > li { border-color: var(--line-dark); }
.on-dark .figs p:not(.fig__n):not(.label) { color: var(--lg); }
.on-dark .figs .label { color: #fff; }
.note { font-size: 13px; line-height: 1.5; color: var(--g); }
.why__src { margin-top: 20px; }

/* cost comparison: one vehicle, today vs with ex9 */
.cmp { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px; align-items: center;
  background: #fff; padding: 36px 40px; margin: 8px 0 48px; }
.cmp__chart { display: flex; flex-direction: column; gap: 18px; }
.cmp__chart .k { color: var(--g); margin-bottom: 4px; }
.bar { display: grid; grid-template-columns: 170px minmax(0, 1fr) 64px; gap: 16px; align-items: center; }
.bar__name { font-size: 15px; color: var(--g); }
.bar__track { display: block; }
.bar__fill { display: block; height: 32px; width: var(--w); background: var(--lg); }
.bar--ex9 .bar__fill { background: var(--o); }
.bar--ex9 .bar__name { color: var(--c); font-weight: 600; }
.bar__val { font: 700 20px/1 var(--ex9-title); font-variant-numeric: tabular-nums; text-align: right; }
.cmp__big { border-left: 1px solid var(--lg); padding-left: 40px; display: flex; flex-direction: column; gap: 8px; }
.cmp__n { font: 700 clamp(48px, 6vw, 76px)/1 var(--ex9-title); color: var(--o); font-variant-numeric: tabular-nums; }
.cmp__big .note { font-size: 13px; color: var(--g); margin-top: 6px; }

/* what's included / awards: pictogram tiles */
.inc { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 0 40px; }
.inc > li { display: flex; flex-direction: column; gap: 8px; padding: 28px 0 32px; border-top: 1px solid var(--lg); }
.inc .ico { width: 36px; height: 36px; margin-bottom: 6px; }
.inc p:not(.k) { font-size: 15px; color: var(--g); }
.inc--awards .k { color: var(--g); }

@media (max-width: 980px) {
  .cmp { grid-template-columns: 1fr; gap: 28px; padding: 28px; }
  .cmp__big { border-left: 0; border-top: 1px solid var(--lg); padding: 24px 0 0; }
  .figs--big, .inc { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 640px) {
  .cmp { padding: 24px 20px; }
  .bar { grid-template-columns: minmax(0, 1fr) 56px; row-gap: 6px; }
  .bar__name { grid-column: 1 / -1; }
  .figs--big, .inc { grid-template-columns: 1fr; }
}

/* very narrow phones (≤360 px): section titles one step smaller, so word pairs kept together still fit */
@media (max-width: 360px) { .h2 { font-size: 24px; } }

/* thank-you pop-up after a booking form (ex9-forms.js): square card on a dimmed page, the visitor stays where they were */
.thanks { border: 0; border-radius: 0; padding: 40px; width: min(480px, calc(100% - 40px)); background: #fff; color: var(--c);
  box-shadow: 0 24px 64px rgba(35,35,35,.35); }
.thanks::backdrop { background: rgba(35,35,35,.6); }
.thanks .k { margin-bottom: 12px; }
.thanks .h2 { margin-bottom: 12px; }
.thanks .lead { margin-bottom: 28px; }
@media (prefers-reduced-motion: no-preference) {
  .thanks[open] { animation: thanks-in .22s var(--ease-out); }
  @keyframes thanks-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}
@media (max-width: 640px) { .thanks { padding: 28px 24px; } .thanks .btn { width: 100%; } }
