/* dojocardmachines.co.uk : site.css
   One stylesheet for the whole site. Art direction follows dojo.tech (measured 4 December 2026):
   Dojo Roobert type, deep green and mint, pill buttons, 24px cards, capsule photography.
   See docs/02-design-brief-sitemap-shotlist.md, section 1. */

/* ---------------------------------------------------------------------
   Fonts
   Dojo's typeface is Dojo Roobert. Only switch this block on if Dojo's
   partner kit licenses the font files to you. Put the WOFF2 files in
   /assets/fonts/ with these names, then remove the comment markers.
   Until then, the stack falls back to Satoshi (Indian Type Foundry, free
   for commercial use under the ITF Free Font License, self-hosted below).
   --------------------------------------------------------------------- */
@font-face { font-family: "Satoshi"; src: url("/assets/fonts/satoshi-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("/assets/fonts/satoshi-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("/assets/fonts/satoshi-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("/assets/fonts/satoshi-900.woff2") format("woff2"); font-weight: 900; font-style: normal; font-display: swap; }
/*
@font-face { font-family: "Dojo Roobert"; src: url("/assets/fonts/dojo-roobert-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Dojo Roobert"; src: url("/assets/fonts/dojo-roobert-medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Dojo Roobert"; src: url("/assets/fonts/dojo-roobert-bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Dojo Roobert"; src: url("/assets/fonts/dojo-roobert-heavy.woff2") format("woff2"); font-weight: 900; font-style: normal; font-display: swap; }
*/

/* ---------------------------------------------------------------------
   Tokens
   --------------------------------------------------------------------- */
:root {
  --green-950: #001a15;
  --green-900: #003f33;
  --green-700: #196254;
  --green-600: #228471;
  --mint: #3ceac7;
  --mint-hover: #74f0d8;
  --mint-100: #dcfaf3;
  --ink: #180f06;
  --muted: #645e58;
  --stone: #f1f1ec;
  --white: #ffffff;
  --tint: #eaf7f7;
  --line: #deddd6;
  --line-strong: #c9c7bf;
  --error: #b3261e;
  --error-bg: #fdf1f0;

  --font: "Dojo Roobert", "Satoshi", "Onest", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --container: 1185px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(64px, 8vw, 96px);
  --header-h: 88px;

  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --pill: 999px;

  --shadow-float: 0 10px 30px rgb(0 26 21 / 0.12), 0 2px 6px rgb(0 26 21 / 0.06);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------------------------------------------------------------------
   Base
   --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
:where(ul[role="list"], ol[role="list"]) { list-style: none; padding: 0; }
[hidden] { display: none !important; }
h1, h2, h3, h4 { font-weight: 500; line-height: 1.1; letter-spacing: -0.01em; text-wrap: balance; }
p { text-wrap: pretty; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
strong, b { font-weight: 700; }
:focus-visible { outline: 2px solid var(--green-700); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible, .hero :focus-visible { outline-color: var(--mint); }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: 12px; z-index: 100;
  padding: 12px 20px; border-radius: var(--pill);
  background: var(--green-900); color: var(--white); text-decoration: none;
  transform: translateY(-200%); transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: none; }

.placeholder-text { background: rgb(60 234 199 / 0.28); border-radius: 4px; padding: 0 0.2em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* ---------------------------------------------------------------------
   Type
   --------------------------------------------------------------------- */
.display {
  font-size: clamp(44px, 5.4vw, 72px);
  line-height: 0.9;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.h2, h2 { font-size: clamp(32px, 3.4vw, 40px); line-height: 1.1; }
.h3 { font-size: clamp(22px, 2vw, 24px); line-height: 1.2; }
.lead { font-size: clamp(17px, 1.3vw, 18px); line-height: 1.4; }
.muted { color: var(--muted); }
.small { font-size: 12px; line-height: 1.5; }
.eyebrow { font-size: 16px; font-weight: 500; line-height: 1.3; }

.link { color: var(--green-700); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.link:hover { text-decoration-thickness: 2px; }
.on-dark .link, .hero .link { color: var(--mint); }

.more {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; color: var(--green-700); text-decoration: none;
}
.more .icon { transition: transform 0.2s var(--ease); }
.more:hover .icon, a:hover > .more .icon, .card-link:hover .more .icon { transform: translateX(4px); }
.on-dark .more { color: var(--mint); }

/* ---------------------------------------------------------------------
   Buttons
   --------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px 24px;
  border: 1.5px solid transparent; border-radius: var(--pill);
  background: var(--mint); color: var(--green-950);
  font-size: 16px; font-weight: 500; line-height: 1; text-decoration: none; white-space: nowrap;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn:hover { background: var(--mint-hover); }
.btn .icon { width: 18px; height: 18px; }
.btn--dark { background: var(--green-900); color: var(--white); }
.btn--dark:hover { background: var(--green-700); }
.btn--outline { background: transparent; color: var(--mint); border-color: var(--mint); }
.btn--outline:hover { background: rgb(60 234 199 / 0.12); }
.btn--outline-dark { background: transparent; color: var(--green-900); border-color: var(--green-900); }
.btn--outline-dark:hover { background: var(--green-900); color: var(--white); }
.btn--sm { padding: 12px 20px; font-size: 15px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.7; cursor: progress; }
.btn .btn-spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin 0.8s linear infinite; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------------------------------------------------------------------
   Promo bar
   --------------------------------------------------------------------- */
.promo {
  position: relative; z-index: 60;
  background: var(--mint); color: var(--ink);
  font-size: 15px; font-weight: 500; line-height: 1.35; text-align: center;
  padding: 10px 56px;
}
.promo a { color: inherit; text-underline-offset: 3px; }
.promo-close {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  display: grid; place-items: center; width: 36px; height: 36px;
  border: 0; border-radius: 50%; background: transparent; color: var(--ink);
}
.promo-close:hover { background: rgb(0 26 21 / 0.08); }
.no-js .promo-close { display: none; }
.offer-pill { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0 0 20px; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--mint-100); color: var(--ink); font-size: 14px; line-height: 1.4; }
.offer-pill b { padding: 4px 10px; border-radius: 999px; background: var(--mint); color: var(--green-950); font-weight: 600; }
.offer-pill a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.hero:not(.hero--stone) .offer-pill { background: rgb(241 241 236 / 0.12); color: var(--white); }
.callout--offer { background: var(--tint); border-left: 6px solid var(--mint); }
.callout--offer .btn { margin-top: 6px; }
.offer-line { margin-top: 10px; font-size: 15px; }
.offer-line a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 560px) { .promo { font-size: 14px; padding: 8px 44px 8px 16px; text-align: left; } .promo-close { right: 4px; } }

/* ---------------------------------------------------------------------
   Header: a floating white pill over the hero
   --------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  padding: 14px var(--gutter) 0;
  pointer-events: none;
}
.nav-pill {
  pointer-events: auto;
  display: flex; align-items: center; gap: 12px;
  max-width: calc(var(--container) + 24px);
  min-height: 64px;
  margin-inline: auto;
  padding: 8px 8px 8px 20px;
  background: var(--white);
  border-radius: var(--pill);
  transition: box-shadow 0.25s var(--ease);
}
.site-header.is-condensed .nav-pill { box-shadow: var(--shadow-float); }

.brand-group { display: flex; align-items: center; gap: 12px; min-width: 0; margin-right: auto; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); font-size: 17px; font-weight: 700; letter-spacing: -0.02em; white-space: nowrap; }
.brand-mark { width: 30px; height: 30px; flex: none; }
.brand-tld { font-weight: 500; color: var(--muted); }
.partner-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px 6px 8px;
  border-radius: var(--pill);
  background: var(--mint-100); color: var(--green-900);
  font-size: 12px; font-weight: 500; line-height: 1; white-space: nowrap;
}
.partner-badge .icon { width: 15px; height: 15px; }

.primary-nav ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-link {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 10px 12px;
  border: 0; border-radius: var(--pill); background: transparent;
  font-size: 16px; font-weight: 500; line-height: 1; color: var(--ink); text-decoration: none; white-space: nowrap;
}
.nav-link:hover, .nav-link[aria-expanded="true"] { background: var(--stone); }
.nav-link .icon { width: 16px; height: 16px; transition: transform 0.2s var(--ease); }
.nav-link[aria-expanded="true"] .icon { transform: rotate(180deg); }
.has-menu { position: relative; }
.menu {
  position: absolute; left: 50%; top: calc(100% + 16px); transform: translateX(-50%);
  width: max-content; max-width: min(760px, calc(100vw - 48px));
  padding: 16px; border-radius: var(--r-lg);
  background: var(--white); box-shadow: var(--shadow-float);
  display: grid; grid-template-columns: repeat(2, minmax(220px, 1fr)); gap: 4px;
}
.menu[hidden] { display: none; }
.menu a { display: grid; gap: 2px; padding: 12px 14px; border-radius: var(--r-md); text-decoration: none; }
.menu a:hover { background: var(--stone); }
.menu strong { font-weight: 500; }
.menu span { font-size: 14px; color: var(--muted); }
.menu--products { grid-template-columns: repeat(2, minmax(250px, 1fr)); }
.menu--products a { grid-template-columns: 64px 1fr; align-items: center; column-gap: 14px; }
.menu--products img { grid-row: span 2; width: 64px; height: 64px; border-radius: var(--r-sm); background: var(--stone); object-fit: contain; }
.menu-foot { grid-column: 1 / -1; display: flex; justify-content: flex-end; padding: 8px 14px 4px; border-top: 1px solid var(--line); margin-top: 6px; }
.menu-foot a { display: inline-flex; padding: 0; }
.menu-foot a:hover { background: none; }

.header-cta { flex: none; }
.nav-toggle {
  display: none; align-items: center; gap: 6px;
  padding: 10px 16px; border: 1.5px solid var(--green-900); border-radius: var(--pill);
  background: var(--white); color: var(--green-900); font-size: 15px; font-weight: 500; line-height: 1;
}
.nav-toggle .icon { width: 18px; height: 18px; }

.mobile-nav {
  position: fixed; inset: 0; z-index: 45;
  padding: calc(var(--header-h) + 16px) var(--gutter) 32px;
  background: var(--white); overflow-y: auto;
}
.mobile-nav[hidden] { display: none; }
.mobile-nav > ul { list-style: none; margin: 0 0 24px; padding: 0; }
.mobile-nav > ul > li { border-bottom: 1px solid var(--line); }
.mobile-nav a, .mobile-nav summary { display: flex; align-items: center; justify-content: space-between; padding: 18px 4px; font-size: 20px; font-weight: 500; text-decoration: none; cursor: pointer; list-style: none; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav details[open] summary .icon { transform: rotate(180deg); }
.mobile-nav details ul { list-style: none; margin: 0 0 12px; padding: 0 0 0 4px; }
.mobile-nav details a { padding: 10px 4px; font-size: 17px; color: var(--muted); }
.mobile-nav-note { margin-top: 16px; font-size: 14px; color: var(--muted); }

@media (max-width: 1099px) {
  .primary-nav, .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
}
@media (max-width: 1240px) and (min-width: 1100px) {
  .nav-link { padding-inline: 9px; font-size: 15px; }
  .partner-badge { display: none; }
}
@media (max-width: 560px) {
  :root { --header-h: 84px; }
  .site-header { padding-top: 10px; }
  .nav-pill { min-height: 64px; padding: 8px 8px 8px 16px; border-radius: 28px; }
  .brand-group { display: grid; gap: 4px; }
  .brand { font-size: 15px; gap: 7px; }
  .brand-mark { width: 24px; height: 24px; }
  .partner-badge { margin-left: 31px; padding: 0; background: none; font-size: 11px; color: var(--green-700); }
  .partner-badge .icon { width: 13px; height: 13px; }
}
@media (max-width: 360px) { .brand-tld { display: none; } }

/* ---------------------------------------------------------------------
   Sections
   --------------------------------------------------------------------- */
.section { padding-block: var(--section); }
.bg-stone { background: var(--stone); }
.bg-white { background: var(--white); }
.on-dark { background: var(--green-900); color: var(--stone); }
.on-dark h2, .on-dark h3 { color: var(--white); }
.on-dark .muted { color: rgb(241 241 236 / 0.82); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head p { margin-top: 16px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-foot { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 24px; }

/* ---------------------------------------------------------------------
   Hero: dark green, uppercase headline, capsule photos
   --------------------------------------------------------------------- */
.hero {
  margin-top: calc(var(--header-h) * -1);
  padding: calc(var(--header-h) + clamp(40px, 6vw, 72px)) 0 clamp(64px, 8vw, 96px);
  background: var(--green-900); color: var(--stone);
  overflow: hidden;
}
.hero-grid { display: grid; gap: 48px; align-items: center; }
.hero h1 { color: var(--stone); }
.hero .lead { margin-top: 24px; max-width: 520px; }
.hero .actions { margin-top: 32px; }
.hero-foot { margin-top: 24px; max-width: 520px; font-size: 12px; line-height: 1.5; color: rgb(241 241 236 / 0.8); }
.hero-trust { margin-top: 20px; font-size: 14px; }
.hero-rating { display: inline-flex; align-items: center; gap: 8px; color: var(--mint); text-decoration: underline; text-underline-offset: 3px; }
.hero-rating .icon { flex: none; width: 16px; height: 16px; fill: currentColor; }

.capsules {
  display: grid; grid-template-columns: 1fr 1.1fr 0.86fr; gap: 16px;
  height: clamp(300px, 36vw, 460px);
}
.capsule { position: relative; border-radius: var(--pill); overflow: hidden; background: var(--green-700); }
.capsule img { width: 100%; height: 100%; object-fit: cover; }
.capsule:nth-child(1) { margin-top: 12%; margin-bottom: 2%; }
.capsule:nth-child(2) { margin-bottom: 10%; }
.capsule:nth-child(3) { margin-top: 20%; margin-bottom: 6%; }

@media (min-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; }
}
@media (max-width: 959px) {
  .capsules { max-width: 560px; }
}

/* Facts strip, in the place of dojo.tech's logo wall */
.facts { background: var(--stone); padding-block: 36px; }
.facts ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; list-style: none; margin: 0; padding: 0; }
.facts li { display: flex; align-items: center; justify-content: center; gap: 12px; font-size: 16px; font-weight: 500; line-height: 1.3; text-align: left; }
.facts .icon { width: 28px; height: 28px; color: var(--green-700); }
@media (max-width: 959px) { .facts ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } .facts li { justify-content: flex-start; } }
@media (max-width: 480px) { .facts ul { grid-template-columns: 1fr; gap: 14px; } }

/* ---------------------------------------------------------------------
   Split sections (photo one side, copy the other)
   --------------------------------------------------------------------- */
.split { display: grid; gap: 40px; align-items: center; }
.split-media img, .split-media .media { width: 100%; border-radius: var(--r-xl); object-fit: cover; }
.split-copy h2 + * { margin-top: 20px; }
.split-copy p + p { margin-top: 12px; }
.split-copy .actions, .split-copy .more { margin-top: 32px; }
.bullets { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.bullets li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; color: var(--muted); }
.bullets .icon { width: 22px; height: 22px; margin-top: 1px; color: var(--green-600); }
.bullets strong { color: var(--ink); font-weight: 500; }
@media (min-width: 960px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; }
  .split--media-right .split-media { order: 2; }
}

/* Quote section: steps and photo on the left, form card on the right */
.quote-split { display: grid; gap: 48px; align-items: start; }
.steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 24px; }
.steps li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; }
.step-num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--mint); color: var(--green-950); font-weight: 700; }
.steps h3 { font-size: 18px; line-height: 1.3; margin: 8px 0 4px; }
.steps p { color: var(--muted); }
.quote-photo { margin-top: 40px; }
.quote-photo img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; object-position: 50% 30%; border-radius: var(--r-xl); }
@media (min-width: 1024px) {
  .quote-split { grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 72px; }
}
/* On the quote page the form comes before the explanation until the two sit side by side */
@media (max-width: 1023px) { .quote-split--form-first > .quote-wrap { order: -1; } }

/* ---------------------------------------------------------------------
   Quote form card
   --------------------------------------------------------------------- */
.quote-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 36px);
}
.quote-card__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-bottom: 20px; }
.quote-card__title { font-size: 28px; line-height: 1.1; }
.quote-card__title:focus { outline: none; }
.quote-card__time { padding: 6px 12px; border-radius: var(--pill); background: var(--stone); font-size: 13px; font-weight: 500; color: var(--muted); }

.progress { margin-bottom: 24px; }
.progress-steps { display: flex; gap: 20px; list-style: none; margin: 0 0 12px; padding: 0; font-size: 14px; font-weight: 500; color: var(--muted); }
.progress-steps li { display: inline-flex; align-items: center; gap: 8px; }
.step-dot { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--stone); color: var(--muted); font-size: 12px; font-weight: 700; }
.step-dot .icon { width: 14px; height: 14px; stroke-width: 2.2; }
.progress-steps [aria-current="step"] { color: var(--ink); }
.progress-steps [aria-current="step"] .step-dot { background: var(--green-900); color: var(--mint); }
.progress-steps .is-done .step-dot { background: var(--mint); color: var(--green-950); }
.progress-steps .step-check { display: none; }
.progress-steps .is-done .step-check { display: block; }
.progress-steps .is-done .step-n { display: none; }
.progress-bar { height: 4px; border-radius: 4px; background: var(--stone); overflow: hidden; }
.progress-bar span { display: block; width: 50%; height: 100%; border-radius: inherit; background: var(--green-600); transition: width 0.4s var(--ease); }
.quote-form[data-current-step="2"] .progress-bar span { width: 100%; }

.form-step { border: 0; margin: 0; padding: 0; min-width: 0; }
.js .quote-form .form-step[data-step="2"] { display: none; }
.js .quote-form[data-current-step="2"] .form-step[data-step="1"] { display: none; }
.js .quote-form[data-current-step="2"] .form-step[data-step="2"] { display: block; animation: step-in 0.35s var(--ease); }
@keyframes step-in { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }

.field { position: relative; margin-bottom: 18px; }
.field-row { display: grid; gap: 0 16px; }
@media (min-width: 520px) { .field-row--2 { grid-template-columns: 1fr 1fr; } }
.label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 500; line-height: 20px; color: var(--ink); }
.label .opt { font-weight: 400; color: var(--muted); }
.input, .select {
  display: block; width: 100%; height: 52px;
  padding: 0 44px 0 16px;
  border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  background: var(--white); color: var(--ink);
  font-size: 16px; line-height: 1.2;
  transition: border-color 0.15s, box-shadow 0.15s;
  appearance: none; -webkit-appearance: none;
}
.input::placeholder { color: #8b857e; }
.input:hover, .select:hover { border-color: #a8a59c; }
.input:focus, .select:focus { outline: none; border-color: var(--green-700); box-shadow: 0 0 0 3px rgb(60 234 199 / 0.5); }
.select {
  padding-right: 48px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23180f06' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6.5 9.5 5.5 5.5 5.5-5.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 20px;
}
.select:invalid, .select option[disabled] { color: #8b857e; }
.select option { color: var(--ink); }
[aria-invalid="true"].input, [aria-invalid="true"].select { border-color: var(--error); background-color: var(--error-bg); }
[aria-invalid="true"].input:focus, [aria-invalid="true"].select:focus { box-shadow: 0 0 0 3px rgb(179 38 30 / 0.18); }
.hint { margin-top: 6px; font-size: 13px; line-height: 1.4; color: var(--muted); }
.field-error { font-size: 13px; line-height: 1.4; color: var(--error); font-weight: 500; }
.field-error:not(:empty) { margin-top: 6px; }
.field .tick { position: absolute; right: 14px; top: 43px; width: 18px; height: 18px; color: var(--green-600); stroke-width: 2.2; opacity: 0; transform: scale(0.6); transition: opacity 0.2s, transform 0.2s var(--ease); pointer-events: none; }
.field.is-valid .tick { opacity: 1; transform: none; }
.field.has-select .tick { right: 42px; }

.input-wrap { position: relative; }
.input-wrap > .icon { position: absolute; left: 14px; top: 16px; width: 20px; height: 20px; color: var(--muted); pointer-events: none; }
.input-wrap .input { padding-left: 44px; }
.spinner { position: absolute; right: 14px; top: 16px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-strong); border-top-color: var(--green-700); animation: spin 0.8s linear infinite; }
.spinner[hidden] { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.combo { position: relative; }
.combo-list {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 20;
  max-height: 320px; overflow-y: auto;
  list-style: none; margin: 0; padding: 6px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-float);
}
.combo-list[hidden] { display: none; }
.combo-option { display: grid; gap: 2px; padding: 10px 12px; border-radius: 10px; cursor: pointer; }
.combo-option[aria-selected="true"], .combo-option:hover { background: var(--mint-100); }
.combo-option .co-name { font-weight: 500; font-size: 15px; line-height: 1.3; }
.combo-option .co-meta { font-size: 12px; color: var(--muted); }
.combo-empty { padding: 12px; font-size: 14px; color: var(--muted); }
.combo-foot { padding: 8px 12px 4px; margin-top: 4px; border-top: 1px solid var(--line); font-size: 11px; color: var(--muted); }

.ch-confirm { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 10px 12px; border-radius: var(--r-sm); background: var(--mint-100); font-size: 14px; animation: pop 0.25s var(--ease); }
.ch-confirm[hidden] { display: none; }
.ch-confirm .icon { width: 20px; height: 20px; color: var(--green-700); }
.ch-confirm span { flex: 1; min-width: 0; }
.ch-confirm button { border: 0; background: none; padding: 0; color: var(--green-700); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
@keyframes pop { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

.mode-switch { margin-top: -6px; }
.text-button { border: 0; background: none; padding: 0; text-align: left; font-size: 14px; font-weight: 500; color: var(--green-700); text-decoration: underline; text-underline-offset: 3px; }
.text-button:hover { text-decoration-thickness: 2px; }
.js .manual-fields:not(.is-open) { display: none; }
.js [data-show-when]:not(.is-shown) { display: none; }

.choice { border: 0; margin: 0 0 18px; padding: 0; min-width: 0; }
.choice > legend { padding: 0; }
.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.segmented label { position: relative; }
.segmented input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.segmented span { display: grid; place-items: center; height: 52px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); font-weight: 500; transition: background-color 0.15s, border-color 0.15s, color 0.15s; }
.segmented label:hover span { border-color: #a8a59c; }
.segmented input:checked + span { background: var(--green-900); border-color: var(--green-900); color: var(--white); }
.segmented input:focus-visible + span { outline: 2px solid var(--green-700); outline-offset: 3px; }
.choice[aria-invalid="true"] .segmented span { border-color: var(--error); }

.check { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-size: 14px; line-height: 1.45; color: var(--muted); cursor: pointer; }
.check input {
  appearance: none; -webkit-appearance: none;
  position: relative; width: 24px; height: 24px; margin: 0;
  border: 1.5px solid var(--line-strong); border-radius: 7px; background: var(--white); cursor: pointer;
}
.check input::after {
  content: ""; position: absolute; inset: 4px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233ceac7' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
  transform: scale(0); transition: transform 0.15s var(--ease);
}
.check input:checked { background: var(--green-900); border-color: var(--green-900); }
.check input:checked::after { transform: scale(1); }
.check input[aria-invalid="true"] { border-color: var(--error); }

.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-actions { margin-top: 24px; }
.form-actions--split { display: grid; grid-template-columns: auto 1fr; gap: 12px; }
.btn-back { display: inline-flex; align-items: center; gap: 6px; padding: 0 20px; border: 1.5px solid var(--line-strong); border-radius: var(--pill); background: var(--white); font-weight: 500; }
.btn-back:hover { border-color: var(--green-900); }
.btn-back .icon { width: 18px; height: 18px; }
.form-alert { margin-top: 16px; padding: 12px 16px; border-radius: var(--r-sm); background: var(--error-bg); border-left: 4px solid var(--error); font-size: 14px; color: var(--ink); }
.form-alert[hidden] { display: none; }
.form-alert--nojs { display: none; }
.form-alert--nojs:target { display: block; }
.form-alert:focus { outline: none; }
.form-note { display: flex; gap: 10px; margin-top: 20px; font-size: 13px; line-height: 1.45; color: var(--muted); }
.form-note .icon { width: 18px; height: 18px; color: var(--green-700); margin-top: 1px; }

/* ---------------------------------------------------------------------
   Industry cards
   --------------------------------------------------------------------- */
.industry-grid { display: grid; gap: 32px 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.industry-grid + .industry-grid { margin-top: 40px; }
.industry-grid--small { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card-link { position: relative; display: flex; flex-direction: column; text-decoration: none; }
.card-link img { width: 100%; aspect-ratio: 747 / 800; object-fit: cover; border-radius: var(--r-lg); transition: transform 0.4s var(--ease); }
.card-link .img-wrap { overflow: hidden; border-radius: var(--r-lg); }
.card-link:hover img { transform: scale(1.03); }
.card-link h3 { margin-top: 20px; font-size: 24px; }
.card-link p { margin-top: 8px; color: var(--muted); }
.card-link .more { margin-top: 16px; }
.industry-grid--small .card-link img { aspect-ratio: 1 / 1; }
.industry-grid--small .card-link h3 { font-size: 20px; margin-top: 16px; }
.industry-grid--small .card-link p { font-size: 15px; }
@media (max-width: 959px) {
  .industry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .industry-grid--small { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .industry-grid { grid-template-columns: 1fr; }
  .industry-grid--small { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .industry-grid--small .card-link p { display: none; }
}

/* Fee rows inside the cost split */
.fee-list { margin-top: 28px; border-top: 1px solid var(--line); }
.fee-list > div { display: grid; grid-template-columns: 1fr auto; gap: 4px 24px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.fee-list dt { font-weight: 500; }
.fee-list dd { grid-column: 1; font-size: 14px; color: var(--muted); }
.fee-list dd.fee-val { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: 28px; font-weight: 500; color: var(--green-900); letter-spacing: -0.02em; }
.fee-foot { margin-top: 16px; font-size: 12px; line-height: 1.5; color: var(--muted); }

/* ---------------------------------------------------------------------
   Dark section with a wide photo (payouts)
   --------------------------------------------------------------------- */
.wide-media img { width: 100%; aspect-ratio: 900 / 390; object-fit: cover; border-radius: var(--r-xl); }
.wide-media--photo img { aspect-ratio: 16 / 9; object-position: 50% 30%; }
.wide-copy { display: grid; gap: 24px 80px; margin-top: 56px; }
.wide-copy .actions { margin-top: 28px; }
@media (min-width: 960px) { .wide-copy { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.payout-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 48px; list-style: none; padding: 0; }
.payout-steps li { padding: 24px 28px; border-radius: var(--r-md); background: var(--green-700); }
.payout-steps li.is-key { background: var(--mint); color: var(--green-950); }
.payout-steps .when { display: block; font-size: 28px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; }
.payout-steps .what { display: block; margin-top: 8px; font-size: 15px; line-height: 1.4; opacity: 0.9; }
.payout-foot { margin-top: 16px; font-size: 12px; color: rgb(241 241 236 / 0.75); }
@media (max-width: 720px) { .payout-steps { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------------
   Stat cards
   --------------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; list-style: none; margin: 0; padding: 0; }
.stat { display: flex; flex-direction: column; padding: 32px 28px 40px; border-radius: var(--r-lg); background: var(--white); }
.bg-white .stat { background: var(--stone); }
.stat-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; font-size: 18px; font-weight: 500; line-height: 1.3; }
.stat-head .icon { width: 28px; height: 28px; color: var(--green-600); }
.stat-value { margin-top: 32px; font-size: clamp(44px, 4vw, 52px); font-weight: 500; line-height: 1; letter-spacing: -0.03em; color: var(--green-900); }
.stat-value small { font-size: 0.42em; letter-spacing: 0; font-weight: 500; }
.stat p { margin-top: 12px; color: var(--muted); }
.stats-foot { margin-top: 24px; font-size: 12px; color: var(--muted); text-align: center; }
@media (max-width: 1023px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .stats { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------------
   Carousels (products and stories)
   --------------------------------------------------------------------- */
.carousel-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.carousel-head .section-head { margin-bottom: 0; }
.carousel-track {
  display: grid; grid-auto-flow: column; gap: 24px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x proximity; scroll-behavior: smooth;
  scrollbar-width: none;
  margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
  scroll-padding-inline: var(--gutter);
  list-style: none; margin-block: 0; padding-block: 0;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > * { scroll-snap-align: start; }
.carousel-controls { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 32px; }
.no-js .carousel-controls { display: none; }
/* The dots stay 8px to look at, but each has a 24px tap area, and the gap keeps those areas from overlapping */
.dots { display: flex; gap: 16px; }
.dots button { position: relative; width: 8px; height: 8px; padding: 0; border: 0; border-radius: var(--pill); background: var(--line-strong); transition: width 0.25s var(--ease), background-color 0.25s; }
.dots button[aria-current="true"] { width: 28px; background: var(--green-900); }
.dots button::after { content: ""; position: absolute; inset: -8px; }
.arrows { display: flex; gap: 12px; }
.arrow-btn { display: grid; place-items: center; width: 48px; height: 48px; border: 1.5px solid var(--ink); border-radius: 50%; background: transparent; color: var(--ink); transition: background-color 0.2s, color 0.2s, opacity 0.2s; }
.arrow-btn:hover:not([disabled]) { background: var(--ink); color: var(--white); }
.arrow-btn[disabled] { opacity: 0.3; cursor: default; }
.arrow-btn .icon { width: 20px; height: 20px; }

.products-track { grid-auto-columns: min(354px, 82vw); }
.product-card {
  position: relative; display: flex; flex-direction: column;
  min-height: 560px; padding: 32px 28px 0; border-radius: var(--r-lg);
  overflow: hidden; text-decoration: none;
}
.product-card--green { background: var(--green-600); color: var(--white); }
.product-card--stone { background: var(--stone); color: var(--ink); }
.product-card--mint { background: var(--mint); color: var(--green-950); }
.product-card--dark { background: var(--green-900); color: var(--white); }
.product-card--white { background: var(--white); color: var(--ink); }
.product-card .eyebrow { padding-right: 56px; opacity: 0.85; }
.product-card h3 { margin-top: 10px; padding-right: 8px; font-size: clamp(28px, 2.6vw, 36px); line-height: 1.05; letter-spacing: -0.02em; }
.product-card p { margin-top: 12px; font-size: 16px; opacity: 0.9; }
.product-price { margin-top: 16px; font-weight: 700; }
.product-card .arrow-circle { position: absolute; top: 28px; right: 24px; display: grid; place-items: center; width: 40px; height: 40px; border: 1.5px solid currentColor; border-radius: 50%; transition: transform 0.25s var(--ease); }
.product-card .arrow-circle .icon { width: 18px; height: 18px; }
.product-card:hover .arrow-circle { transform: rotate(-45deg); }
.product-card img { width: calc(100% + 56px); max-width: none; margin: auto -28px 0; padding-top: 24px; aspect-ratio: 1062 / 948; object-fit: cover; }

.stories-track { grid-auto-columns: min(590px, 86vw); }
.story-card { position: relative; display: block; aspect-ratio: 590 / 480; border-radius: var(--r-lg); overflow: hidden; color: var(--white); text-decoration: none; background: var(--green-900); }
.story-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.story-card:hover img { transform: scale(1.03); }
.story-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(0 26 21 / 0) 40%, rgb(0 26 21 / 0.78) 100%); }
.story-card .story-text { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 28px 32px 32px; }
.story-card .story-who { display: block; font-size: 14px; font-weight: 500; opacity: 0.9; }
.story-card .story-title { display: block; margin-top: 6px; font-size: clamp(20px, 2vw, 24px); font-weight: 500; line-height: 1.2; }
.story-card .arrow-circle { position: absolute; top: 24px; right: 24px; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--white); color: var(--green-900); }
.story-card .arrow-circle .icon { width: 20px; height: 20px; }
.stories-note { margin-top: 20px; font-size: 12px; color: var(--muted); }

/* ---------------------------------------------------------------------
   Trustpilot band
   --------------------------------------------------------------------- */
.tp-band { text-align: center; }
.tp-band h2 { margin-inline: auto; }
.tp-band .lead { margin: 16px auto 0; max-width: 640px; }
.tp-note { max-width: 640px; margin: 16px auto 0; font-size: 12px; line-height: 1.5; color: rgb(241 241 236 / 0.75); }
.rating-card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 32px; align-items: center; max-width: 600px; margin: 40px auto 0; padding: 28px 32px; border-radius: var(--r-lg); background: var(--green-700); text-align: left; }
.rating-score { display: grid; justify-items: center; gap: 6px; line-height: 1; }
.rating-score .icon { width: 22px; height: 22px; fill: currentColor; color: var(--mint); }
.rating-score b { font-size: 56px; font-weight: 500; letter-spacing: -0.02em; color: var(--white); }
.rating-score span { font-size: 14px; color: rgb(241 241 236 / 0.8); }
.rating-bars { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; font-size: 14px; color: rgb(241 241 236 / 0.9); }
.rating-bars li { display: grid; grid-template-columns: 56px minmax(0, 1fr) 40px; gap: 12px; align-items: center; }
.rating-bars li > span:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.rating-bar { height: 8px; border-radius: 999px; background: rgb(241 241 236 / 0.15); overflow: hidden; }
.rating-bar i { display: block; width: var(--w); height: 100%; border-radius: inherit; background: var(--mint); }
.tp-band .actions { justify-content: center; margin-top: 32px; }
@media (max-width: 560px) { .rating-card { grid-template-columns: 1fr; gap: 20px; padding: 24px; } }

/* ---------------------------------------------------------------------
   Switching (centred)
   --------------------------------------------------------------------- */
.switching { text-align: center; }
.switch-media img { width: min(100%, 760px); margin: 0 auto 48px; aspect-ratio: 1200 / 520; object-fit: cover; border-radius: var(--r-xl); }
.switching .lead { max-width: 680px; margin: 20px auto 0; }
.switch-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 960px; margin: 48px auto 0; padding: 0; list-style: none; text-align: left; }
.switch-list li { display: grid; grid-template-columns: 28px 1fr; gap: 16px; padding: 28px; border-radius: var(--r-lg); background: var(--white); }
.switch-list .icon { width: 28px; height: 28px; color: var(--green-600); }
.switch-list strong { display: block; font-size: 18px; font-weight: 500; line-height: 1.3; }
.switch-list p { margin-top: 6px; color: var(--muted); }
.switching .actions { justify-content: center; margin-top: 40px; }
.switch-foot { max-width: 760px; margin: 32px auto 0; font-size: 12px; line-height: 1.5; color: var(--muted); }
@media (max-width: 720px) { .switch-list { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------------
   FAQs (dark)
   --------------------------------------------------------------------- */
.faq h2 { text-align: center; }
.faq.on-dark .section-head p { color: rgb(241 241 236 / 0.85); }
.faq-list { max-width: 880px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { border-radius: var(--r-md); background: var(--green-700); color: var(--white); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 28px 32px; cursor: pointer; list-style: none;
  font-size: clamp(18px, 1.6vw, 20px); font-weight: 500; line-height: 1.3;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { outline-offset: -4px; border-radius: var(--r-md); }
.faq-toggle { flex: none; width: 24px; height: 24px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6.5 9.5 5.5 5.5 5.5-5.5'/%3E%3C/svg%3E") center / 24px no-repeat; transition: transform 0.25s var(--ease); }
.faq-item[open] .faq-toggle { transform: rotate(180deg); }
.faq-answer { padding: 0 32px 28px; color: rgb(241 241 236 / 0.9); }
/* Links inside a green FAQ card: white and underlined, whatever class they carry */
.faq-answer a:not(.btn), .faq-answer .link { color: var(--white); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.faq-answer a:not(.btn):hover { text-decoration-thickness: 2px; }
.faq-item[open] .faq-answer { animation: faq-in 0.25s var(--ease); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (max-width: 560px) { .faq-item summary { padding: 22px 22px; } .faq-answer { padding: 0 22px 22px; } }

/* ---------------------------------------------------------------------
   Sources and last updated
   --------------------------------------------------------------------- */
.sources { padding-block: 48px; border-top: 1px solid var(--line); }
.sources-grid { display: grid; gap: 16px 48px; }
@media (min-width: 960px) { .sources-grid { grid-template-columns: 280px 1fr; } }
.sources h2 { font-size: 16px; font-weight: 700; letter-spacing: 0; }
.updated { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 14px; font-weight: 500; }
.updated .icon { width: 18px; height: 18px; color: var(--green-700); }
.sources-checked { margin-top: 6px; font-size: 13px; color: var(--muted); }
.sources ol { margin: 0; padding-left: 20px; columns: 2 320px; column-gap: 48px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.sources li { break-inside: avoid; margin-bottom: 6px; }
.sources a { color: var(--green-700); }

/* ---------------------------------------------------------------------
   Footer (light, like dojo.tech)
   --------------------------------------------------------------------- */
.site-footer { background: var(--stone); color: var(--ink); }
.footer-top { display: grid; gap: 40px; padding-block: 64px 48px; }
@media (min-width: 960px) { .footer-top { grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: 32px; } }
@media (min-width: 560px) and (max-width: 959px) { .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-about { grid-column: 1 / -1; } }
.footer-about .brand { font-size: 18px; }
.footer-about p { margin-top: 16px; max-width: 340px; font-size: 15px; color: var(--muted); }
.footer-about p a { color: var(--ink); }
.footer-about .partner-badge { margin-top: 16px; }
.footer-col h2 { font-size: 16px; font-weight: 500; letter-spacing: 0; margin-bottom: 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a, .footer-col button { padding: 0; border: 0; background: none; font-size: 16px; color: var(--ink); text-decoration: none; text-underline-offset: 3px; text-decoration-thickness: 1px; text-align: left; }
.footer-col a:hover, .footer-col button:hover { color: var(--green-700); text-decoration: underline; }
.footer-legal-links { display: flex; flex-wrap: wrap; gap: 10px 28px; padding-top: 24px; border-top: 1px solid var(--line-strong); list-style: none; margin: 0; padding-left: 0; font-size: 14px; }
.footer-legal-links a, .footer-legal-links button { padding: 0; border: 0; background: none; color: var(--ink); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.footer-legal { display: grid; gap: 12px; padding-block: 24px 40px; font-size: 14px; line-height: 1.55; color: var(--muted); max-width: 980px; }
.footer-strip { background: var(--tint); padding-block: 16px; font-size: 13px; color: var(--muted); }
.footer-strip .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }

/* ---------------------------------------------------------------------
   Sticky mobile CTA
   --------------------------------------------------------------------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  background: var(--white); box-shadow: 0 -8px 24px rgb(0 26 21 / 0.1);
  transform: translateY(110%); transition: transform 0.3s var(--ease);
}
.sticky-cta.is-visible { transform: none; }
.sticky-cta .btn { width: 100%; }
@media (min-width: 1024px) { .sticky-cta { display: none; } }

/* ---------------------------------------------------------------------
   Cookie consent
   --------------------------------------------------------------------- */
.consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 70;
  max-width: 460px; padding: 24px;
  border-radius: var(--r-lg); background: var(--white); color: var(--ink); box-shadow: var(--shadow-float);
  font-size: 14px; line-height: 1.5;
  animation: consent-in 0.35s var(--ease);
}
.consent[hidden] { display: none; }
@keyframes consent-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.consent h2 { font-size: 20px; margin-bottom: 8px; }
.consent p { color: var(--muted); }
.consent-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.consent-actions .btn { flex: 1 1 auto; }
.consent-actions .btn--ghost { background: transparent; color: var(--green-900); border-color: var(--green-900); }
.consent-actions .btn--ghost:hover { background: var(--stone); }
.consent-actions [hidden] { display: none; }
.consent-prefs { display: grid; gap: 10px; margin-top: 14px; }
.consent-prefs[hidden] { display: none; }
.consent-pref { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 16px; padding: 12px 14px; border-radius: var(--r-sm); background: var(--stone); cursor: pointer; }
.consent-pref b { font-weight: 500; }
.consent-pref span { grid-column: 1; font-size: 12px; color: var(--muted); }
.consent-pref input { grid-column: 2; grid-row: 1 / span 2; }
.switch { appearance: none; -webkit-appearance: none; position: relative; width: 44px; height: 26px; margin: 0; border-radius: var(--pill); background: var(--line-strong); cursor: pointer; transition: background-color 0.2s; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--white); box-shadow: 0 1px 3px rgb(0 0 0 / 0.2); transition: transform 0.2s var(--ease); }
.switch:checked { background: var(--green-900); }
.switch:checked::after { transform: translateX(18px); }
.switch:disabled { opacity: 0.55; cursor: not-allowed; }
@media (min-width: 1024px) { .consent { left: 24px; bottom: 24px; } }

/* ---------------------------------------------------------------------
   Motion
   --------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Without JavaScript the form shows both steps and manual entry only */
.no-js .progress, .no-js [data-next], .no-js [data-back], .no-js [data-lookup], .no-js .mode-switch { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .carousel-track { scroll-behavior: auto; }
}

@media print {
  .promo, .site-header, .sticky-cta, .consent, .carousel-controls, .site-footer nav { display: none !important; }
  .hero, .on-dark { background: none; color: #000; }
  .hero { margin-top: 0; padding-top: 0; }
}

/* Fit note under the industry cards */
.fit-note { display: grid; gap: 8px; margin-top: 56px; padding: 28px 32px; border-radius: var(--r-lg); background: var(--white); }
.fit-note strong { font-size: 18px; font-weight: 500; }
.fit-note p { color: var(--muted); max-width: 900px; }
.carousel-controls[hidden] { display: none; }

/* =====================================================================
   Inner pages
   Components for guides, product, industry, comparison, story and legal
   pages. Same tokens and shapes as the home page. See docs/06-page-kit.md.
   ===================================================================== */

/* Page hero: dark green by default, stone for guides and legal pages */
.hero--page { padding-bottom: clamp(56px, 7vw, 88px); }
.hero--page .hero-grid { align-items: center; }
.display--page { font-size: clamp(40px, 4.6vw, 60px); }
.hero--page .lead { max-width: 600px; }
.hero-photo { position: relative; border-radius: var(--r-xl); overflow: hidden; background: var(--green-700); aspect-ratio: 4 / 3; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo--tall { aspect-ratio: 4 / 5; max-width: 480px; justify-self: end; width: 100%; }
.capsules--two { grid-template-columns: 1fr 1fr; max-width: 520px; justify-self: end; width: 100%; }
.capsules--two .capsule:nth-child(1) { margin-top: 10%; margin-bottom: 0; }
.capsules--two .capsule:nth-child(2) { margin-top: 0; margin-bottom: 10%; }
.hero--stone { background: var(--stone); color: var(--ink); }
.hero--stone h1 { color: var(--ink); }
.hero--stone .lead { color: var(--muted); }
.hero--stone .hero-foot { color: var(--muted); }
.hero--stone :focus-visible { outline-color: var(--green-700); }
.hero--stone .link { color: var(--green-700); }
.hero--text .hero-grid { grid-template-columns: minmax(0, 1fr); }
.hero--text .hero-grid > div { max-width: 860px; }
@media (max-width: 959px) { .hero-photo--tall { justify-self: start; max-width: 420px; } .capsules--two { justify-self: start; height: clamp(260px, 60vw, 380px); } }

/* Breadcrumbs, shown above the page title */
.breadcrumbs { margin-bottom: 28px; font-size: 14px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li { display: inline-flex; align-items: center; }
.breadcrumbs li + li::before { content: ""; width: 6px; height: 6px; margin: 0 12px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); opacity: 0.6; }
.breadcrumbs a { color: inherit; text-decoration: none; opacity: 0.85; }
.breadcrumbs a:hover { text-decoration: underline; opacity: 1; }
.breadcrumbs [aria-current] { opacity: 0.7; }

/* Meta line under the hero copy: last updated and reading time */
.page-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 28px; font-size: 14px; }
.page-meta span { display: inline-flex; align-items: center; gap: 8px; }
.page-meta .icon { width: 18px; height: 18px; color: var(--mint); }
.hero--stone .page-meta .icon { color: var(--green-700); }

/* The short answer: first thing under the hero, written to be quoted */
.answer { padding: 28px 32px; border-radius: var(--r-lg); background: var(--tint); border-left: 6px solid var(--mint); }
.answer-label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 700; letter-spacing: 0.02em; color: var(--green-700); }
.answer p { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.45; color: var(--ink); }
.answer p + p { margin-top: 10px; }

/* Article layout: contents list beside the text on wide screens */
.article { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; }
@media (min-width: 1100px) { .article { grid-template-columns: 250px minmax(0, 1fr); gap: 72px; } }
.toc { align-self: start; font-size: 15px; }
@media (min-width: 1100px) { .toc { position: sticky; top: calc(var(--header-h) + 24px); } }
.toc-title { display: block; margin-bottom: 12px; font-size: 14px; font-weight: 700; }
.toc ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; border-left: 2px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 16px; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; line-height: 1.35; }
.toc a:hover { color: var(--ink); border-left-color: var(--line-strong); }
.toc a[aria-current="true"] { color: var(--green-900); border-left-color: var(--green-600); font-weight: 500; }
@media (max-width: 1099px) { .toc { padding: 20px 24px; border-radius: var(--r-md); background: var(--stone); } .toc ol { border-left: 0; } .toc a { padding-left: 0; border-left: 0; } }

/* Long-form text */
.prose { max-width: 760px; color: var(--ink); }
.prose > * + * { margin-top: 18px; }
.prose h2 { margin-top: 64px; scroll-margin-top: calc(var(--header-h) + 24px); }
.prose > h2:first-child { margin-top: 0; }
.prose .answer + h2 { margin-top: 56px; }
.prose h3 { margin-top: 36px; font-size: clamp(21px, 1.8vw, 23px); line-height: 1.25; font-weight: 500; scroll-margin-top: calc(var(--header-h) + 24px); }
.prose h2 + p, .prose h3 + p { margin-top: 14px; }
.prose p, .prose li { font-size: 17px; line-height: 1.6; color: #3c352e; }
.prose strong { color: var(--ink); font-weight: 700; }
.prose a:not(.btn):not(.more) { color: var(--green-700); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:not(.btn):not(.more):hover { text-decoration-thickness: 2px; }
.prose ul, .prose ol { padding-left: 0; list-style: none; display: grid; gap: 10px; }
.prose ul:not([class]) > li { position: relative; padding-left: 26px; }
.prose ul:not([class]) > li::before { content: ""; position: absolute; left: 4px; top: 0.62em; width: 8px; height: 8px; border-radius: 50%; background: var(--green-600); }
.prose ol:not([class]) { counter-reset: n; }
.prose ol:not([class]) > li { position: relative; padding-left: 40px; counter-increment: n; }
.prose ol:not([class]) > li::before { content: counter(n); position: absolute; left: 0; top: 0.1em; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--mint); color: var(--green-950); font-size: 14px; font-weight: 700; line-height: 1; }
.prose .small, .prose .table-note { font-size: 13px; line-height: 1.5; color: var(--muted); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin-block: 48px; }
.prose > * + .checklist { margin-top: 18px; }
.prose figure img { display: block; width: 100%; height: auto; border-radius: var(--r-lg); }
.prose figcaption { margin-top: 10px; font-size: 13px; line-height: 1.5; color: var(--muted); }

/* Data tables: fees, comparisons, specs */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); -webkit-overflow-scrolling: touch; }
.table-wrap:focus-visible { outline: 2px solid var(--green-700); outline-offset: 2px; }
.data-table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
/* Wide tables (five or more text columns) scroll sideways on small screens instead of squeezing every cell */
.data-table--wide { min-width: 960px; }
/* Tables with four or more columns: text cells keep a readable width and the table scrolls, rather than every cell wrapping to a few words a line */
.data-table:has(thead th:nth-child(4)) td:not(.num) { min-width: 10em; }
.data-table:has(thead th:nth-child(4)) td:last-child:not(.num) { min-width: 16em; }
.data-table caption { padding: 18px 20px 0; text-align: left; font-size: 14px; font-weight: 700; color: var(--ink); }
.data-table th, .data-table td { padding: 14px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.data-table thead th { background: var(--stone); font-size: 14px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.data-table tbody th { font-weight: 500; color: var(--ink); min-width: 160px; }
.data-table td { color: #3c352e; }
.data-table tbody tr:last-child > * { border-bottom: 0; }
.data-table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.data-table .is-dojo { background: rgb(234 247 247 / 0.7); }
.data-table thead .is-dojo { background: var(--tint); color: var(--green-900); }
.data-table tfoot td, .data-table tfoot th { background: var(--stone); font-weight: 700; color: var(--ink); border-bottom: 0; }
.data-table td.yes::before, .data-table td.no::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 8px; border-radius: 50%; vertical-align: 0.05em; }
.data-table td.yes::before { background: var(--green-600); }
.data-table td.no::before { background: var(--line-strong); }
.table-note { margin-top: 10px; font-size: 13px; line-height: 1.5; color: var(--muted); }
@media (max-width: 640px) { .data-table { font-size: 14px; } .data-table th, .data-table td { padding: 12px 14px; } }

/* Callouts: a note, an illustrative example, or a warning */
.callout { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 24px 28px; border-radius: var(--r-lg); background: var(--stone); }
.callout .icon { width: 24px; height: 24px; margin-top: 2px; color: var(--green-700); }
.callout-title { display: block; margin-bottom: 6px; font-weight: 700; color: var(--ink); }
.callout p { font-size: 16px; line-height: 1.55; color: #3c352e; }
.callout p + p { margin-top: 8px; }
.callout--warn { background: #fdf3e6; }
.callout--warn .icon { color: #9a5b00; }
.example { padding: 32px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); }
.example-label { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: var(--pill); background: var(--stone); font-size: 13px; font-weight: 700; color: var(--green-900); }
.example h3 { margin-top: 16px; }
.example > * + * { margin-top: 14px; }
.example p, .example li { font-size: 16px; }
.bg-stone .example { border-color: transparent; }

/* Ticked checklist */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
/* The tick is positioned, not a grid column, so links and bold text inside an item flow as one line of text */
.checklist li { position: relative; padding-left: 40px; font-size: 17px; line-height: 1.5; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23001a15' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 16px no-repeat; }

/* Two columns: where Dojo fits, where another option may suit better */
.fit-grid { display: grid; gap: 20px; }
@media (min-width: 800px) { .fit-grid { grid-template-columns: 1fr 1fr; } }
.fit-card { padding: 28px 30px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); }
.bg-stone .fit-card { border-color: transparent; }
.fit-card h3 { font-size: 21px; line-height: 1.25; }
.fit-card ul { margin-top: 14px; }
.fit-card--dojo { background: var(--tint); border-color: transparent; }

/* Specs as label and value pairs */
.specs { display: grid; grid-template-columns: max-content 1fr; gap: 0; margin: 24px 0 0; border-top: 1px solid var(--line); font-size: 15px; }
.specs dt, .specs dd { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--line); }
.specs dt { padding-right: 24px; font-weight: 500; color: var(--ink); }
.specs dd { color: var(--muted); }
.on-dark .specs, .on-dark .specs dt, .on-dark .specs dd { border-color: rgb(241 241 236 / 0.2); }
.on-dark .specs dt { color: var(--white); }
.on-dark .specs dd { color: rgb(241 241 236 / 0.82); }

/* Product rows on the card machines page: photo and details, alternating */
.product-row { display: grid; gap: 40px; align-items: center; }
.product-row + .product-row { margin-top: clamp(64px, 8vw, 112px); }
.product-media { border-radius: var(--r-xl); overflow: hidden; }
.product-media img { width: 100%; height: auto; }
.product-media--green { background: var(--green-600); }
.product-media--mint { background: var(--mint); }
.product-media--stone { background: var(--stone); }
.product-media--white { background: var(--white); border: 1px solid var(--line); }
.product-row .eyebrow { color: var(--green-700); }
.product-row h2 { margin-top: 10px; }
.product-row .lead { margin-top: 16px; color: var(--muted); }
.price-line { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: baseline; margin-top: 20px; }
.price-line strong { font-size: 28px; font-weight: 500; letter-spacing: -0.01em; color: var(--ink); }
.price-line span { color: var(--muted); font-size: 15px; }
@media (min-width: 960px) {
  .product-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: start; }
  .product-row .product-media { position: sticky; top: calc(var(--header-h) + 24px); }
  .product-row--flip .product-media { order: 2; }
}

/* Related links: text cards with an arrow */
.related { display: grid; gap: 16px; }
@media (min-width: 720px) { .related { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .related--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.related a { display: flex; flex-direction: column; gap: 8px; min-height: 100%; padding: 24px 26px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color 0.2s, transform 0.2s var(--ease); }
.bg-stone .related a { border-color: transparent; }
.related a:hover { border-color: var(--green-600); transform: translateY(-2px); }
.related strong { font-size: 19px; font-weight: 500; line-height: 1.3; }
.related span { font-size: 15px; color: var(--muted); }
.related .more { margin-top: auto; padding-top: 8px; }
@media (min-width: 1100px) { .related--grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Hub lists built by the builder's <!--list--> directive */
.link-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px 32px; }
@media (min-width: 720px) { .link-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .link-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.link-list a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.link-list a:hover { color: var(--green-700); }
.az-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.az-nav a { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 10px; border-radius: var(--pill); background: var(--white); border: 1px solid var(--line); color: var(--green-900); font-weight: 700; text-decoration: none; }
.az-nav a:hover { border-color: var(--green-600); }
.az-list { display: grid; gap: 48px; margin-top: 48px; }
.az-group h2 { font-size: clamp(32px, 3vw, 40px); color: var(--green-700); scroll-margin-top: calc(var(--header-h) + 24px); }
.az-group dl { display: grid; gap: 0 40px; margin: 16px 0 0; }
@media (min-width: 900px) { .az-group dl { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.az-group dl > div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.az-group dt a { font-size: 19px; font-weight: 500; color: var(--ink); text-decoration: none; }
.az-group dt a:hover { color: var(--green-700); text-decoration: underline; text-underline-offset: 3px; }
.az-group dd { margin: 6px 0 0; font-size: 15px; line-height: 1.5; color: var(--muted); }

/* Timeline: what happens when, for switching and set-up guides */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.timeline > li { position: relative; display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 20px; padding: 0 0 28px; }
.timeline > li::before { content: ""; position: absolute; left: 117px; top: 10px; bottom: -6px; width: 2px; background: var(--line); }
.timeline > li:last-child::before { display: none; }
.timeline-when { font-size: 14px; font-weight: 700; color: var(--green-700); padding-top: 2px; }
.timeline > li > div { position: relative; padding-left: 22px; }
.timeline > li > div::before { content: ""; position: absolute; left: -9px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px var(--white); }
.timeline h3 { margin: 0; font-size: 19px; font-weight: 500; line-height: 1.3; }
.prose .timeline h3 { margin-top: 0; font-size: 19px; }
.timeline p { margin-top: 6px; font-size: 16px; line-height: 1.55; color: #3c352e; }
@media (max-width: 520px) { .timeline > li { grid-template-columns: 1fr; gap: 6px; padding-left: 22px; } .timeline > li::before { left: 5px; top: 28px; } .timeline > li > div { padding-left: 0; } .timeline > li > div::before { left: -22px; top: -22px; } }

/* Glossary: the definition box reuses .answer; related terms sit in a row of pills */
.term-pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.term-pills a { display: inline-block; padding: 8px 14px; border-radius: var(--pill); background: var(--stone); color: var(--green-900); font-size: 15px; text-decoration: none; }
.prose .term-pills { display: flex; }
.prose .term-pills a:not(.btn):not(.more) { color: var(--green-900); text-decoration: none; }
.term-pills a:hover { background: var(--tint); }

/* Figures inside an article: a row of stat cards (data pages) */
.prose .stats { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.prose .stat { border: 1px solid var(--line); padding: 24px; }
.prose .stat-value { margin-top: 16px; font-size: clamp(34px, 3vw, 42px); }
.prose .stat p { margin-top: 8px; font-size: 15px; color: var(--muted); }

/* Closing band: dark green, rounded, one action */
.cta-band { display: grid; gap: 28px; align-items: center; padding: clamp(36px, 5vw, 64px); border-radius: var(--r-xl); background: var(--green-900); color: var(--stone); }
.cta-band h2 { color: var(--white); }
.cta-band p { margin-top: 12px; max-width: 560px; color: rgb(241 241 236 / 0.85); }
.cta-band .actions { justify-content: flex-start; }
@media (min-width: 960px) { .cta-band { grid-template-columns: minmax(0, 1fr) auto; } }

/* Story slots for the partner's own customer stories (kept empty until filled) */
.story-slot { padding: 28px; border: 2px dashed var(--line-strong); border-radius: var(--r-lg); color: var(--muted); }

/* Legal pages */
.legal-meta { margin-top: 12px; font-size: 14px; color: var(--muted); }
.prose--legal p, .prose--legal li { font-size: 16px; }
.prose--legal h2 { font-size: clamp(26px, 2.6vw, 30px); margin-top: 48px; }

/* 404 */
.not-found { min-height: 50vh; display: grid; align-content: center; }
