/* MagCoff · SmartCart
   Field Manual, refined. White paper and graphite ink; MagCoff green is used
   as the trolley's signal colour and as the brochure's band. One family,
   Archivo, in four weights. IBM Plex Mono appears only where a machine speaks:
   timecodes and spec labels. The brochure's cut corner is a signature, used
   twice: on the hero footage and on the green band.
   Mobile first. Breakpoints: 600px, 1024px, 1280px. */

/* ---------- Fonts (self hosted and subset: tools/build-fonts.py) ---------- */
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-text.woff2") format("woff2");
  font-weight: 400 700; font-style: normal; font-display: swap;
  unicode-range: U+0020-007E, U+00A0-00FF, U+2018-201D, U+2022, U+2026, U+2190-2193, U+2212;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-text-rupee.woff2") format("woff2");
  font-weight: 400 700; font-style: normal; font-display: swap; unicode-range: U+20B9;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/plexmono-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0020-007E, U+00A0-00FF, U+2018-201D, U+2022, U+2026, U+2190-2193, U+2212;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/plexmono-400-rupee.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+20B9;
}
/* Metric matched fallbacks, so swapping to Archivo does not move the layout. */
@font-face {
  font-family: "Archivo Fallback";
  src: local("Arial"), local("ArialMT"), local("Roboto"), local("Roboto-Regular");
  font-weight: 400 500; size-adjust: 98.3%; ascent-override: 89.3%; descent-override: 21.4%; line-gap-override: 0%;
}
@font-face {
  font-family: "Archivo Fallback";
  src: local("Arial Bold"), local("Arial-BoldMT"), local("Roboto Bold"), local("Roboto-Bold");
  font-weight: 600 700; size-adjust: 97.9%; ascent-override: 89.7%; descent-override: 21.5%; line-gap-override: 0%;
}

/* ---------- Tokens ---------- */
:root {
  /* Layout: a 1320px column on a full bleed grid; the hero footage bleeds to the right edge */
  /* Warm paper: soft off-white page, stone bands, crisp white cards on top */
  --bg: #fafaf6;
  --bg-soft: #f1f2ec;
  --bg-soft-edge: #e8e9e1;
  --card: #ffffff;
  --bg-render: #f2f3f5;
  --bg-dark: #121411;
  --bg-darker: #0d0f0c;
  --ink: #171916;
  --ink-2: #3e423c;
  --muted: #666b63;
  --line: #e4e6e0;
  --line-2: #cdd1c8;
  --green: #9ed059;
  --green-deep: #8bc145;
  --green-ink: #3d6a10;
  --green-wash: #edf5e2;
  --on-green: #26301c;
  --red: #c2341b;
  --red-wash: #fbe7e2;
  --dark-text: #e7e9e4;
  --dark-muted: #a7aba2;
  --dark-line: #2c2f2a;

  --font: "Archivo", "Archivo Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --fs-hero: clamp(2.6rem, 1.6rem + 4.1vw, 4.5rem);
  --fs-h2: clamp(1.9rem, 1.4rem + 2vw, 3rem);
  --fs-h3: clamp(1.1rem, 1.03rem + 0.3vw, 1.25rem);
  --fs-lede: clamp(1.08rem, 1rem + 0.35vw, 1.25rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-xs: 0.8125rem;

  --max: 1320px;
  --gutter: 20px;
  --pad-l: max(var(--gutter), env(safe-area-inset-left, 0px));
  --pad-r: max(var(--gutter), env(safe-area-inset-right, 0px));
  --section: clamp(4.25rem, 2.8rem + 5.6vw, 7.5rem);
  --header-h: 68px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --cut: 36px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 1px 2px rgba(23, 25, 22, .06), 0 10px 30px -14px rgba(23, 25, 22, .22);
  color-scheme: light;
}
@media (min-width: 600px) { :root { --gutter: 32px; --cut: 48px; } }
@media (min-width: 1024px) { :root { --gutter: 40px; --header-h: 78px; --cut: 64px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--bg); color: var(--ink-2);
  font-family: var(--font); font-size: var(--fs-body); line-height: 1.6;
  font-synthesis: none; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img, video, svg, picture { display: block; max-width: 100%; }
img, video { height: auto; }
h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 700; line-height: 1.06; letter-spacing: -0.03em; }
h1, h2 { text-wrap: balance; }
h3 { font-size: var(--fs-h3); font-weight: 600; letter-spacing: -0.012em; line-height: 1.25; }
p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
strong { color: var(--ink); font-weight: 600; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--green-ink); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--green); color: var(--ink); }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-left: var(--pad-l); padding-right: var(--pad-r); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: var(--pad-l); top: -100px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: var(--r-sm); font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }
.link { color: var(--green-ink); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.link:hover { color: var(--ink); }
.mono { font-family: var(--mono); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 1rem/1 var(--font); letter-spacing: -0.005em; text-decoration: none; white-space: nowrap;
  transition: background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease), transform .18s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: #30342e; }
.btn--secondary { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--secondary:hover { border-color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--green); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .95rem; }
.btn__meta { font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(250, 250, 246, .94);
  -webkit-backdrop-filter: saturate(1.5) blur(14px); backdrop-filter: saturate(1.5) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s var(--ease);
}
.site-header.is-stuck { border-bottom-color: var(--line); }
.site-header__bar { display: flex; align-items: center; gap: 12px; height: var(--header-h); }
.brand { display: inline-flex; flex: none; margin-right: auto; }
.brand img { width: 146px; height: auto; }
.site-nav { display: none; }
.menu-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-right: -10px; background: none; border: 0; border-radius: 999px; color: var(--ink); }
.menu-btn svg { width: 24px; height: 24px; }
.menu-btn .i-close { display: none; }
.menu-btn[aria-expanded="true"] .i-open { display: none; }
.menu-btn[aria-expanded="true"] .i-close { display: block; }
.mobile-nav { padding: 4px var(--pad-r) 20px var(--pad-l); border-top: 1px solid var(--line); background: var(--bg); }
.mobile-nav a { display: flex; align-items: center; justify-content: space-between; min-height: 54px; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: 1.05rem; text-decoration: none; }
.mobile-nav a::after { content: "→"; color: var(--muted); font-weight: 400; }
@media (max-width: 419px) { .header-cta { display: none; } }
@media (min-width: 1024px) {
  .brand { margin-right: 0; }
  .brand img { width: 172px; }
  .site-nav { display: flex; gap: 2px; margin-left: 36px; margin-right: auto; }
  .site-nav a { padding: 10px 14px; border-radius: 999px; color: var(--ink-2); font-size: .975rem; font-weight: 500; text-decoration: none; }
  .site-nav a:hover { color: var(--ink); background: var(--bg-soft); }
  /* Demo stands apart from the section links: it opens its own page */
  .site-nav .nav-demo { display: inline-flex; align-items: center; gap: 8px; margin-left: 6px; box-shadow: inset 0 0 0 1.5px var(--line-2); color: var(--ink); font-weight: 600; }
  .site-nav .nav-demo::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green-deep); box-shadow: 0 0 0 3px var(--green-wash); }
  .site-nav .nav-demo:hover, .site-nav .nav-demo[aria-current="page"] { background: var(--card); box-shadow: inset 0 0 0 1.5px var(--ink); }
  .menu-btn, .mobile-nav { display: none !important; }
}

/* ---------- Hero ---------- */
.hero { padding-top: 20px; padding-bottom: 36px; }
.hero__copy { padding-left: var(--pad-l); padding-right: var(--pad-r); }
.hero h1 { font-size: var(--fs-hero); line-height: .98; letter-spacing: -0.042em; max-width: 12ch; }
.hero__lede { margin-top: 18px; font-size: var(--fs-lede); color: var(--ink-2); max-width: 40ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
@media (max-width: 479px) { .hero__actions .btn { flex: 1 1 100%; } }
.hero__proof { display: grid; gap: 10px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); font-size: var(--fs-small); color: var(--ink-2); max-width: 46ch; }
.hero__proof li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.hero__proof svg { width: 22px; height: 22px; color: var(--green-ink); margin-top: 1px; }
/* The footage sits on a MagCoff green panel, the brochure's band in rounded form,
   with a step caption that follows the loop. */
.hero__media { position: relative; margin: 34px calc(var(--pad-r) + 6px) 22px calc(var(--pad-l) + 6px); }
.hero__media::before {
  content: ""; position: absolute; z-index: 0; left: -14px; right: 24%; top: 36%; bottom: -14px;
  border-radius: 26px; background: var(--green);
}
.hero__frame {
  position: relative; z-index: 1; overflow: hidden; isolation: isolate; aspect-ratio: 4 / 5;
  border-radius: 22px; background: #e6e8e3;
  box-shadow: 0 2px 6px rgba(23, 25, 22, .08), 0 34px 60px -28px rgba(23, 25, 22, .5);
}
/* A fine light edge and, while the caption shows, a soft shade behind it */
.hero__frame::after {
  content: ""; position: absolute; z-index: 1; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
  background: linear-gradient(to top, rgba(12, 14, 11, .62), rgba(12, 14, 11, 0) 34%);
  opacity: 0; transition: opacity .6s var(--ease);
}
.hero__frame:has(.hero__bar:not([hidden]))::after { opacity: 1; }
.hero__frame > picture, .hero__frame > picture img, .hero__frame > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__video { opacity: 0; transition: opacity .6s var(--ease); }
.hero__video.is-playing { opacity: 1; }
.hero__tag {
  position: absolute; z-index: 2; left: 16px; top: 16px; display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 13px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--ink);
  font-size: var(--fs-xs); font-weight: 600; box-shadow: 0 4px 14px -6px rgba(0, 0, 0, .35);
}
.hero__tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green-deep); box-shadow: 0 0 0 3px var(--green-wash); }
/* Step caption: four segments that fill with the loop, then the step in words */
.hero__bar {
  position: absolute; z-index: 2; left: 18px; right: 74px; bottom: 20px; color: #fff;
  animation: hero-bar-in .6s var(--ease) both;
}
@keyframes hero-bar-in { from { opacity: 0; transform: translateY(8px); } }
.hero__segs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.hero__seg { position: relative; height: 3px; border-radius: 3px; overflow: hidden; background: rgba(255, 255, 255, .32); }
.hero__seg::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--green);
  transform: scaleX(var(--p, 0)); transform-origin: left center;
}
.hero__seg.is-done::after { transform: scaleX(1); background: #fff; }
.hero__caption {
  display: flex; align-items: center; gap: 10px; margin-top: 10px;
  font-size: .95rem; font-weight: 600; line-height: 1.25; text-shadow: 0 1px 8px rgba(0, 0, 0, .35);
}
.hero__caption-num {
  flex: none; padding: 2px 8px; border-radius: 999px; background: var(--green); color: var(--ink);
  font-family: var(--mono); font-size: .72rem; font-weight: 400; text-shadow: none;
}
.media-toggle {
  position: absolute; z-index: 2; right: 16px; bottom: 16px; display: grid; place-items: center;
  width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--ink);
  box-shadow: 0 4px 14px -6px rgba(0, 0, 0, .35); transition: transform .18s var(--ease);
}
.media-toggle:hover { transform: scale(1.06); }
.media-toggle svg { width: 16px; height: 16px; }
.media-toggle .i-play { display: none; }
.media-toggle.is-paused .i-pause { display: none; }
.media-toggle.is-paused .i-play { display: block; }
@media (min-width: 600px) {
  .hero__frame { aspect-ratio: 4 / 3; border-radius: 26px; }
  .hero__media::before { left: -20px; bottom: -20px; border-radius: 32px; }
  /* A small dot grid off the top corner, the drafting detail of a spec sheet */
  .hero__media::after {
    content: ""; position: absolute; z-index: 0; right: -18px; top: -18px; width: 112px; height: 112px;
    background: radial-gradient(circle, #c9cdc4 1.6px, transparent 2px) 0 0 / 16px 16px;
  }
}
@media (min-width: 1024px) {
  .hero { padding-top: 28px; padding-bottom: clamp(64px, 6vw, 104px); }
  .hero__grid {
    display: grid; align-items: center;
    grid-template-columns:
      [full-start] minmax(var(--pad-l), 1fr)
      [content-start] minmax(0, calc(var(--max) * .48))
      [split] minmax(0, calc(var(--max) * .52))
      [content-end] minmax(var(--pad-r), 1fr) [full-end];
  }
  .hero__copy { grid-column: content-start / split; align-self: start; padding: 36px 48px 0 0; }
  .hero__media { grid-column: split / content-end; margin: 24px 0 36px 32px; }
  .hero__media::before { left: -32px; bottom: -32px; top: 32%; right: 30%; border-radius: 38px; }
  .hero__media::after { right: -28px; top: -28px; width: 144px; height: 144px; }
  .hero__frame { border-radius: 30px; }
  .hero__tag { left: 20px; top: 20px; }
  .hero__bar { left: 24px; right: 84px; bottom: 26px; }
  .hero__caption { font-size: 1.02rem; }
  .media-toggle { right: 20px; bottom: 20px; }
}
@media (min-width: 1280px) { .hero__copy { padding-top: 48px; } }

/* ---------- Sections ---------- */
/* Sections off screen are skipped by the browser until they come near the
   viewport, which keeps start up work low on budget phones. */
.section { padding-block: var(--section); content-visibility: auto; contain-intrinsic-size: auto 1000px; }
/* The booking form always renders, and an in-page link renders everything
   first (site.js) so a smooth scroll lands exactly on its target. */
#pilot.section, .render-all .section { content-visibility: visible; }
section[tabindex="-1"]:focus { outline: none; }
.section--soft { background: var(--bg-soft); border-block: 1px solid var(--bg-soft-edge); }
.section--dark { background: var(--bg-dark); color: var(--dark-text); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark :focus-visible { outline-color: var(--green); }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(32px, 4vw, 56px); max-width: 720px; }
.section-head h2 { font-size: var(--fs-h2); }
.section-head p { font-size: var(--fs-lede); max-width: 56ch; }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.section--dark .section-head p { color: var(--dark-muted); }

/* ---------- Films (dark) ---------- */
.film-main { max-width: 1120px; margin-inline: auto; }
.player { position: relative; overflow: hidden; isolation: isolate; border-radius: 20px; background: #000; aspect-ratio: 16 / 9; }
.player video { position: absolute; inset: 0; width: 100%; height: 100%; background: #000; }
.player__cover { position: absolute; inset: 0; z-index: 2; display: block; padding: 0; border: 0; background: #000; color: #fff; }
.player__cover picture, .player__cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.player__cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .05) 40%, rgba(0, 0, 0, .55)); transition: background-color .2s var(--ease); }
.player__label {
  position: absolute; z-index: 1; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: grid; justify-items: center; gap: 12px; font-weight: 600; font-size: var(--fs-small); text-shadow: 0 1px 8px rgba(0, 0, 0, .45);
}
.player__icon {
  display: grid; place-items: center; width: clamp(60px, 7vw, 84px); height: clamp(60px, 7vw, 84px);
  border-radius: 50%; background: var(--green); color: var(--ink); box-shadow: 0 8px 30px rgba(0, 0, 0, .35);
  transition: transform .2s var(--ease);
}
.player__icon svg { width: 38%; height: 38%; margin-left: 6%; }
.player__cover:hover .player__icon { transform: scale(1.06); }
.player--small .player__label { gap: 8px; font-size: var(--fs-xs); }
.player--small .player__icon { width: 56px; height: 56px; }
.player.is-started .player__cover { display: none; }
.film-note { margin-top: 12px; font-size: var(--fs-xs); color: var(--dark-muted); text-align: center; }
.film-more { display: grid; gap: 28px; margin-top: clamp(40px, 5vw, 64px); padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--dark-line); max-width: 1120px; margin-inline: auto; }
.film-more__info { display: grid; gap: 12px; align-content: start; }
.film-more__info h3 { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); font-weight: 700; letter-spacing: -0.02em; }
.film-more__info > p { color: var(--dark-muted); }
.chapters { display: grid; margin-top: 4px; border-top: 1px solid var(--dark-line); }
.chapters button {
  display: grid; grid-template-columns: 3.4rem 1fr; gap: 10px; align-items: baseline; width: 100%;
  min-height: 46px; padding: 10px 8px; border: 0; border-bottom: 1px solid var(--dark-line); border-radius: 0;
  background: none; color: var(--dark-text); text-align: left; font-size: var(--fs-small);
}
.chapters button:hover { background: rgba(255, 255, 255, .04); color: #fff; }
.chapters time { font-family: var(--mono); font-size: var(--fs-xs); color: var(--green); font-variant-numeric: tabular-nums; }
.film-more__note { font-size: var(--fs-xs); color: var(--dark-muted); }
@media (min-width: 1024px) { .film-more { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; } }

/* ---------- How it works ----------
   Phones: a vertical story, each step rising into place as it scrolls in.
   Desktop: the frame stays pinned with a five part progress bar; the rail
   fills green with scroll, the active step comes into focus and the others
   recede, and frames cross fade with a slow settling zoom. */
.steps { display: grid; }
.steps__media { display: none; }
.steps__list { display: grid; gap: 56px; }
.step { display: grid; gap: 18px; min-width: 0; }
.step__fig { border-radius: 18px; overflow: hidden; isolation: isolate; aspect-ratio: 16 / 9; background: var(--bg-soft); }
.step__fig img { width: 100%; height: 100%; object-fit: cover; }
.step__body { position: relative; display: grid; gap: 12px; }
.step__num {
  display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--green-wash); color: var(--green-ink);
  font-size: var(--fs-small); font-weight: 700; font-variant-numeric: tabular-nums;
  transition: background-color .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease), transform .35s var(--ease);
}
.step h3 { font-size: clamp(1.5rem, 1.2rem + 1.25vw, 2.2rem); font-weight: 700; letter-spacing: -0.028em; line-height: 1.1; }
.step__body > p { font-size: clamp(1.06rem, 1rem + .3vw, 1.22rem); line-height: 1.6; max-width: 40ch; }
.step__extra { display: grid; gap: 12px; margin-top: 6px; max-width: 460px; }
.inset { display: grid; grid-template-columns: 120px 1fr; gap: 14px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.inset img { width: 120px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-sm); }
.inset p { font-size: var(--fs-xs); color: var(--ink-2); }
@media (max-width: 1023px) {
  .steps__list.reveal-ready .step { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .steps__list.reveal-ready .step.is-in { opacity: 1; transform: none; }
}
@media (min-width: 1024px) {
  .steps { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(56px, 6vw, 104px); }
  .steps__media { display: block; position: sticky; top: max(calc(var(--header-h) + 24px), calc(50vh - 250px)); align-self: start; }
  .steps__progress { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin-bottom: 18px; }
  .steps__progress span { position: relative; height: 4px; overflow: hidden; border-radius: 4px; background: var(--line); }
  .steps__progress span::after {
    content: ""; position: absolute; inset: 0; background: var(--green-deep);
    transform: scaleX(0); transform-origin: left center; transition: transform .6s var(--ease);
  }
  .steps__progress span.is-done::after, .steps__progress span.is-active::after { transform: scaleX(1); }
  .steps__stack {
    position: relative; aspect-ratio: 16 / 9; overflow: hidden; isolation: isolate; border-radius: 24px; background: var(--bg-soft);
    box-shadow: 0 2px 6px rgba(23, 25, 22, .06), 0 34px 60px -34px rgba(23, 25, 22, .5);
  }
  .steps__stack picture { position: absolute; inset: 0; opacity: 0; transform: scale(1.07); transition: opacity .7s var(--ease), transform 1.6s var(--ease); }
  .steps__stack picture.is-active { opacity: 1; transform: scale(1); }
  .steps__stack img { width: 100%; height: 100%; object-fit: cover; }
  .steps__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 16px; font-size: var(--fs-xs); color: var(--muted); }
  .steps__count { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
  .steps__list { position: relative; gap: 0; padding-left: 68px; }
  .steps__list::before, .steps__list::after { content: ""; position: absolute; left: 18px; top: 0; width: 2px; border-radius: 2px; }
  .steps__list::before { bottom: 0; background: var(--line); }
  .steps__list::after { height: calc(var(--progress, 0) * 100%); background: var(--green-deep); }
  /* Short enough that the steps before and after stay in view, faded */
  .step { min-height: 44vh; align-content: center; padding-block: 28px; }
  .step__fig { display: none; }
  /* Steps out of focus recede in colour (still WCAG AA), not opacity */
  .step__body > h3, .step__body > p { transition: color .45s var(--ease); }
  .step:not(.is-active) .step__body > h3 { color: #878c84; }
  .step:not(.is-active) .step__body > p { color: var(--muted); }
  .step__num { position: absolute; z-index: 1; left: -68px; top: -2px; background: var(--bg); color: var(--muted); box-shadow: inset 0 0 0 2px var(--line-2); }
  .step.is-done .step__num { background: var(--green-deep); color: var(--ink); box-shadow: none; }
  .step.is-active .step__num { background: var(--green); color: var(--ink); box-shadow: 0 0 0 6px var(--green-wash); transform: scale(1.08); }
}

/* ---------- For store owners ---------- */
.outcomes { display: grid; gap: 36px 32px; }
.outcome { display: grid; gap: 12px; align-content: start; min-width: 0; }
.outcome__icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: var(--r-md); background: var(--card); border: 1px solid var(--line); color: var(--green-ink); }
.outcome__icon svg { width: 24px; height: 24px; }
.outcome p { font-size: var(--fs-small); }
.outcome__metric { padding-top: 12px; border-top: 1px dashed var(--line-2); font-size: var(--fs-xs); color: var(--muted); }
@media (min-width: 600px) { .outcomes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .outcomes { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- Hardware ---------- */
/* Feature cards: what the trolley does, as simple diagrams */
.features { display: grid; gap: 16px; margin-top: clamp(36px, 5vw, 56px); }
.feature { display: grid; align-content: start; min-width: 0; padding: 12px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature__art { overflow: hidden; border-radius: 14px; background: var(--bg-soft); }
.feature__art svg { display: block; width: 100%; height: auto; }
.feature__body { display: grid; gap: 6px; padding: 18px 10px 10px; }
.feature__num { font-family: var(--mono); font-size: var(--fs-xs); color: var(--green-ink); }
.feature p { font-size: var(--fs-small); }
@media (min-width: 600px) { .features { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.fa-t { font-family: var(--font); fill: var(--ink); }
.fa-t--s { font-size: 8px; font-weight: 600; }
.fa-t--m { font-size: 10px; font-weight: 600; }
.fa-t--xl { font-size: 24px; font-weight: 700; letter-spacing: -.03em; }
.fa-t--label { font-size: 11px; font-weight: 600; }
.fa-t--note { font-size: 9px; fill: var(--muted); }
.fa-t--c { text-anchor: middle; }
.fa-frame { fill: var(--ink); }
.fa-device { filter: drop-shadow(0 10px 12px rgba(23, 25, 22, .16)); }
.fa-handle { fill: #cdd1c7; }
.fa-live { fill: #3faa3a; }
.fa-shadow { fill: rgba(23, 25, 22, .12); }
.fa-screen { fill: #fff; }
.fa-thumb { fill: var(--green-wash); }
.fa-line { fill: #d6d9d1; }
.fa-line--soft { fill: #e7e9e3; }
.fa-line--price { fill: #b9beb3; }
.fa-pay, .fa-ad, .fa-pack-body { fill: var(--green); }
.fa-ad-glow { fill: #b8de86; }
.fa-ad-glow--soft { fill: #b2d97c; }
.fa-chip, .fa-ad-pack, .fa-pack-label { fill: #fff; }
.fa-ad-label, .fa-pack-seal { fill: var(--green-deep); }
.fa-pack-body { filter: drop-shadow(0 6px 8px rgba(23, 25, 22, .12)); }
.fa-corner { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.fa-scan { fill: var(--green-ink); opacity: .75; }
.fa-pill, .fa-search { fill: #fff; stroke: var(--line); }
.fa-dot--ok { fill: #3faa3a; }
.fa-dot--bad { fill: var(--red); }
.fa-status--bad { opacity: 0; }
.fa-search-icon { fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; }
.fa-block { fill: #e6e8e0; }
.fa-block--target { fill: var(--green-wash); stroke: var(--green-deep); stroke-width: 1.5; }
.fa-route { fill: none; stroke: var(--green-ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 2 7; }
.fa-pin { fill: var(--ink); }
.fa-you-halo { fill: var(--green); opacity: .5; transform-box: fill-box; transform-origin: center; }
/* The shopper's SmartCart at the start of the route */
.fa-cart { filter: drop-shadow(0 4px 6px rgba(23, 25, 22, .22)); }
.fa-cart-badge { fill: #fff; stroke: var(--line-2); stroke-width: 1; }
.fa-cart-screen { fill: var(--ink); }
.fa-cart-handle, .fa-cart-base { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; }
.fa-cart-basket { fill: var(--green); stroke: var(--ink); stroke-width: 1.5; stroke-linejoin: round; }
.fa-cart-wire { fill: none; stroke: rgba(23, 25, 22, .35); stroke-width: 1; stroke-linecap: round; }
.fa-cart-wheel { fill: var(--ink); }
.fa-pin-dot { fill: var(--green); }
@media (prefers-reduced-motion: no-preference) {
  .fa-thumb--new { animation: fa-pop 4s var(--ease) infinite; transform-box: fill-box; transform-origin: center; }
  .fa-scan { animation: fa-scan 2.4s ease-in-out infinite alternate; }
  .fa-status--ok { animation: fa-ok 6s infinite; }
  .fa-status--bad { animation: fa-bad 6s infinite; }
  .fa-route { animation: fa-walk 1.2s linear infinite; }
  .fa-you-halo { animation: fa-pulse 2s ease-out infinite; }
  .fa-cart { animation: fa-bob 2s ease-in-out infinite; }
}
@keyframes fa-pop { 0%, 30% { transform: scale(0); } 40%, 100% { transform: scale(1); } }
@keyframes fa-scan { from { transform: translateY(0); } to { transform: translateY(86px); } }
@keyframes fa-ok { 0%, 58% { opacity: 1; } 64%, 94% { opacity: 0; } 100% { opacity: 1; } }
@keyframes fa-bad { 0%, 58% { opacity: 0; } 64%, 94% { opacity: 1; } 100% { opacity: 0; } }
@keyframes fa-walk { to { stroke-dashoffset: -18; } }
@keyframes fa-pulse { from { transform: scale(.8); opacity: .6; } to { transform: scale(2); opacity: 0; } }
@keyframes fa-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -2px; } }

/* Spec sheet as icon tiles */
.specs__title { margin-top: clamp(48px, 6vw, 80px); margin-bottom: 20px; font-size: clamp(1.3rem, 1.15rem + .6vw, 1.7rem); font-weight: 700; letter-spacing: -0.02em; }
.specs { display: grid; gap: 12px; }
.spec-tile {
  position: relative; min-height: 88px; padding: 20px 20px 20px 84px; border-radius: 18px;
  background: var(--bg-soft); border: 1px solid transparent;
  transition: border-color .2s var(--ease), background-color .2s var(--ease), transform .2s var(--ease);
}
.spec-tile:hover { background: var(--card); border-color: var(--line); transform: translateY(-2px); }
.spec-tile__icon { position: absolute; left: 20px; top: 20px; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--card); color: var(--green-ink); box-shadow: inset 0 0 0 1px var(--line); }
.spec-tile:hover .spec-tile__icon { background: var(--green-wash); box-shadow: none; }
.spec-tile__icon svg { width: 24px; height: 24px; }
.spec-tile dt { padding-top: 2px; font-size: var(--fs-xs); font-weight: 600; letter-spacing: .02em; color: var(--muted); }
.spec-tile dd { margin-top: 4px; color: var(--ink); font-weight: 500; line-height: 1.4; }
@media (min-width: 600px) { .specs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .specs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }

/* ---------- Platform: the real trolley at the centre, three apps around it ---------- */
.hub { display: grid; gap: 16px; }
.hub__product { position: relative; overflow: hidden; isolation: isolate; width: 100%; max-width: 460px; justify-self: center; border-radius: 24px; background: var(--bg-render); aspect-ratio: 665 / 580; box-shadow: 0 30px 60px -34px rgba(23, 25, 22, .45); }
.hub__product img { width: 100%; height: 100%; object-fit: cover; }
.hub__product figcaption {
  position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 13px; border-radius: 999px; background: #fff; color: var(--ink); font-size: var(--fs-xs); font-weight: 700;
  box-shadow: 0 4px 14px -6px rgba(0, 0, 0, .3);
}
.hub__product figcaption::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green-deep); box-shadow: 0 0 0 3px var(--green-wash); }
.hub__card { position: relative; display: grid; gap: 6px; align-content: start; padding: 24px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); }
.hub__icon { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 8px; border-radius: 16px; background: var(--ink); color: var(--green); }
.hub__icon svg { width: 24px; height: 24px; }
.hub__kicker { font-size: var(--fs-xs); font-weight: 600; color: var(--green-ink); }
.hub__card h3 { font-size: clamp(1.2rem, 1.1rem + .4vw, 1.4rem); font-weight: 700; letter-spacing: -0.02em; }
.hub__card > p:last-child { font-size: var(--fs-small); }
@media (min-width: 700px) and (max-width: 1023px) {
  .hub { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hub__product { grid-column: 1 / -1; margin-bottom: 16px; }
}
@media (min-width: 1024px) {
  .hub {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 440px) minmax(0, 1fr);
    grid-template-rows: auto auto; column-gap: 64px; row-gap: 24px; align-items: center;
  }
  .hub__product { grid-column: 2; grid-row: 1 / 3; max-width: none; }
  .hub__card--shopper { grid-column: 1; grid-row: 1; align-self: end; }
  .hub__card--admin { grid-column: 1; grid-row: 2; align-self: start; }
  .hub__card--brands { grid-column: 3; grid-row: 1 / 3; }
  /* Connectors: a dashed line from each card to the trolley, ending in a green dot */
  .hub__card::after { content: ""; position: absolute; top: 50%; width: 64px; border-top: 2px dashed var(--line-2); }
  .hub__card::before { content: ""; position: absolute; z-index: 1; top: calc(50% - 5px); width: 10px; height: 10px; border-radius: 50%; background: var(--green-deep); box-shadow: 0 0 0 4px var(--bg-soft); }
  .hub__card--shopper::after, .hub__card--admin::after { left: 100%; }
  .hub__card--shopper::before, .hub__card--admin::before { left: calc(100% + 59px); }
  .hub__card--brands::after { right: 100%; }
  .hub__card--brands::before { right: calc(100% + 59px); }
}

/* ---------- For brands: the brochure's green band ---------- */
.band-green {
  background: var(--green); color: var(--on-green);
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
}
.band-green h2 { color: var(--ink); font-size: var(--fs-h2); }
.band-green :focus-visible { outline-color: var(--ink); }
.ads { display: grid; gap: 36px; align-items: center; }
.ads__copy { display: grid; gap: 18px; min-width: 0; }
.ads__copy > p { font-size: var(--fs-lede); max-width: 46ch; }
.ads__list { display: grid; gap: 10px; }
.ads__list li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; color: var(--ink); font-weight: 500; }
.ads__list svg { width: 20px; height: 20px; margin-top: 3px; color: var(--ink); }
.ads__media img { border-radius: var(--r-md); width: 100%; height: auto; aspect-ratio: 1568 / 980; object-fit: cover; }
.ads__media figcaption { margin-top: 10px; font-size: var(--fs-xs); color: var(--on-green); }
@media (min-width: 1024px) { .ads { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(48px, 6vw, 96px); } }

/* ---------- Pilots ---------- */
.pilot-steps { display: grid; gap: 28px; }
.pilot-step { display: grid; gap: 10px; align-content: start; }
.pilot-step__num { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--green-wash); color: var(--green-ink); font-weight: 700; font-size: var(--fs-small); }
.pilot-step p { font-size: var(--fs-small); }
.pilot-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: clamp(32px, 4vw, 48px); }
.pilot-cta p { color: var(--muted); font-size: var(--fs-small); }
@media (min-width: 600px) { .pilot-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; } }
@media (min-width: 1024px) {
  .pilot-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; position: relative; }
  .pilot-steps::before { content: ""; position: absolute; left: 18px; right: 18px; top: 17px; height: 2px; background: var(--line); }
  .pilot-step { position: relative; padding-right: 28px; }
}

/* ---------- Company ---------- */
.story { display: grid; gap: 40px; }
.story__intro { display: grid; gap: 14px; }
.story__intro h2 { font-size: var(--fs-h2); }
.story__intro > p { font-size: var(--fs-lede); }
.timeline { display: grid; margin-top: 18px; border-top: 1px solid var(--line-2); }
.timeline li { display: grid; grid-template-columns: 6.5rem 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-2); }
.timeline .when { font-weight: 700; color: var(--green-ink); font-size: var(--fs-small); padding-top: 1px; }
.timeline p { font-size: var(--fs-small); margin-top: 4px; }
.story__media { display: grid; gap: 12px; align-content: start; }
.story__media p { font-size: var(--fs-xs); color: var(--muted); }
.cards-2 { display: grid; gap: 16px; margin-top: clamp(40px, 5vw, 64px); }
.card { display: grid; gap: 14px; align-content: start; padding: clamp(24px, 3vw, 36px); border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); }
.card__kicker { font-size: var(--fs-xs); font-weight: 600; color: var(--green-ink); letter-spacing: .02em; }
.card h3 { font-size: clamp(1.3rem, 1.15rem + .5vw, 1.6rem); font-weight: 700; letter-spacing: -0.02em; }
.card__list { display: grid; gap: 8px; }
.card__list li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: var(--fs-small); color: var(--ink); }
.card__list svg { width: 18px; height: 18px; margin-top: 3px; color: var(--green-ink); }
.card .link { justify-self: start; margin-top: 4px; }
@media (min-width: 760px) { .cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .story { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 6vw, 96px); align-items: start; } }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; gap: 32px; }
.faq-layout__intro { display: grid; gap: 14px; align-content: start; }
.faq-layout__intro h2 { font-size: var(--fs-h2); }
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: grid; grid-template-columns: 1fr 24px; gap: 16px; align-items: center; padding: 20px 0;
  list-style: none; cursor: pointer; color: var(--ink); font-weight: 600; font-size: clamp(1.02rem, .98rem + .2vw, 1.12rem); line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; justify-self: end; width: 12px; height: 12px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-3px) rotate(45deg); transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: translateY(3px) rotate(225deg); }
.faq .answer { padding: 0 0 22px; max-width: 64ch; }
@media (min-width: 1024px) {
  .faq-layout { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(48px, 6vw, 96px); }
  .faq-layout__intro { position: sticky; top: calc(var(--header-h) + 32px); }
}

/* ---------- Book a pilot (dark) ---------- */
.book { display: grid; gap: 40px; }
.book__intro { display: grid; gap: 16px; align-content: start; }
.book__intro h2, .book__intro h1 { font-size: var(--fs-h2); color: #fff; }
/* Demo page */
.demo-page { min-height: calc(100vh - var(--header-h)); }
.demo-kicker { justify-self: start; padding: 5px 12px; border-radius: 999px; background: rgba(158, 208, 89, .14); color: var(--green); font-family: var(--mono); font-size: var(--fs-xs); }
.demo-points { display: grid; gap: 12px; margin: 4px 0 8px; padding: 0; list-style: none; }
.demo-points li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; color: var(--dark-muted); }
.demo-points svg { width: 22px; height: 22px; margin-top: 2px; color: var(--green); }
.demo-points strong { color: #fff; font-weight: 600; }
.form__step { padding-bottom: 8px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.form__step:not(:first-of-type) { margin-top: 8px; }
.form-done h2 { font-size: clamp(1.3rem, 1.15rem + .5vw, 1.6rem); font-weight: 700; letter-spacing: -0.02em; }
.book__intro > p { font-size: var(--fs-lede); color: var(--dark-muted); }
.contact-list { display: grid; margin-top: 8px; border-top: 1px solid var(--dark-line); }
.contact-list a { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: center; min-height: 64px; padding: 10px 0; border-bottom: 1px solid var(--dark-line); text-decoration: none; color: #fff; }
.contact-list .ci { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .06); color: var(--green); }
.contact-list .ci svg { width: 18px; height: 18px; }
.contact-list small { display: block; font-size: var(--fs-xs); color: var(--dark-muted); }
.contact-list strong { color: #fff; font-weight: 600; }
.contact-list a:hover strong { text-decoration: underline; }
@media (min-width: 1024px) { .book { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(48px, 6vw, 96px); align-items: start; } }

.form { display: grid; gap: 18px; padding: clamp(22px, 3.5vw, 40px); border-radius: var(--r-lg); background: #fff; color: var(--ink-2); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5); }
.form__row { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; min-width: 0; align-content: start; }
.field label { color: var(--ink); font-weight: 600; font-size: var(--fs-small); }
.field .opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--line-2); border-radius: 10px;
  background: #fff; color: var(--ink); font-size: 1rem; line-height: 1.4;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.field textarea { min-height: 110px; resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23171916' stroke-width='1.8'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--muted); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px var(--green-wash); }
.field [aria-invalid="true"] { border-color: var(--red); background: var(--red-wash); }
.field .hint { font-size: var(--fs-xs); color: var(--muted); }
.field .error { font-size: var(--fs-xs); color: var(--red); font-weight: 600; }
.phone { display: grid; grid-template-columns: auto 1fr; }
.phone__cc { display: grid; place-items: center; padding: 0 12px; border: 1.5px solid var(--line-2); border-right: 0; border-radius: 10px 0 0 10px; background: var(--bg-soft); color: var(--ink-2); font-size: .95rem; }
.phone input { border-radius: 0 10px 10px 0; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; color: var(--ink-2); font-size: var(--fs-small); font-weight: 400 !important; }
.consent input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--ink); }
.trap { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form__submit { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.form__submit .btn { min-width: 220px; }
.form__submit .btn[aria-busy="true"] { opacity: .7; cursor: progress; }
.form__fine { font-size: var(--fs-xs); color: var(--muted); }
.form-status { padding: 14px 16px; border-radius: 10px; font-size: var(--fs-small); }
.form-status--error { background: var(--red-wash); color: #7a1f0f; border: 1px solid #ecbcb1; }
.form-status--error a { font-weight: 700; }
.form-done { gap: 14px; }
.form-done:focus { outline: none; }
.form-done:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.form-done__kicker { font-size: var(--fs-xs); font-weight: 600; color: var(--green-ink); }
.form-done h3 { font-size: clamp(1.3rem, 1.15rem + .5vw, 1.6rem); font-weight: 700; letter-spacing: -0.02em; }
.form-done ol { display: grid; gap: 10px; counter-reset: next; }
.form-done li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; counter-increment: next; }
.form-done li::before { content: counter(next); display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--green-wash); color: var(--green-ink); font-size: var(--fs-xs); font-weight: 700; }
@media (min-width: 600px) { .form__row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-darker); color: var(--dark-muted); padding-block: 56px calc(28px + env(safe-area-inset-bottom, 0px)); }
.site-footer a { text-decoration: none; color: var(--dark-text); }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer :focus-visible { outline-color: var(--green); }
.footer__top { display: grid; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--dark-line); }
.footer__brand { display: grid; gap: 16px; max-width: 360px; align-content: start; }
.footer__brand img { width: 210px; height: auto; }
.footer__brand p { font-size: var(--fs-small); }
.footer__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.footer__col h2 { margin-bottom: 12px; color: #fff; font-size: var(--fs-small); font-weight: 600; letter-spacing: 0; }
.footer__col ul { display: grid; gap: 2px; }
.footer__col a { display: inline-block; padding: 6px 0; font-size: var(--fs-small); }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 24px; font-size: var(--fs-xs); }
.footer__base ul { display: flex; flex-wrap: wrap; gap: 4px 20px; }
@media (min-width: 1024px) {
  .footer__top { grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); }
  .footer__cols { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- Sticky "Book a pilot" bar (phones) and WhatsApp button (desktop) ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; gap: 10px; align-items: center;
  padding: 10px var(--pad-r) calc(10px + env(safe-area-inset-bottom, 0px)) var(--pad-l);
  background: rgba(250, 250, 246, .96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .28s var(--ease);
}
.sticky-cta.is-visible { transform: none; }
.sticky-cta .btn { flex: 1; min-height: 48px; }
.sticky-cta .wa { flex: none; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: #1fa855; color: #fff; }
.sticky-cta .wa svg { width: 24px; height: 24px; }
.wa-float { display: none; }
@media (max-width: 1023px) { .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); } }
@media (min-width: 1024px) {
  .sticky-cta { display: none; }
  .wa-float {
    position: fixed; z-index: 40; right: max(24px, env(safe-area-inset-right, 0px)); bottom: max(24px, env(safe-area-inset-bottom, 0px));
    display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #1fa855; color: #fff;
    box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .4); opacity: 0; transform: translateY(12px) scale(.96); pointer-events: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease);
  }
  .wa-float svg { width: 28px; height: 28px; }
  .wa-float.is-visible { opacity: 1; transform: none; pointer-events: auto; }
}

/* ---------- Legal and error pages ---------- */
.legal { padding-block: clamp(40px, 6vw, 80px) var(--section); }
.legal__body { max-width: 72ch; display: grid; gap: 16px; }
.legal__kicker { font-size: var(--fs-xs); font-weight: 600; color: var(--green-ink); }
.legal__body h1 { font-size: var(--fs-h2); margin-bottom: 4px; }
.legal__body h2 { font-size: var(--fs-h3); font-weight: 700; margin-top: 22px; }
.legal__body ul { list-style: disc; padding-left: 1.3rem; display: grid; gap: 6px; }
.legal__body a { color: var(--green-ink); font-weight: 600; }
.legal__meta { font-size: var(--fs-xs); color: var(--muted); }
.notice { padding: 14px 16px; border-left: 4px solid var(--green); border-radius: 0 10px 10px 0; background: var(--bg-soft); font-size: var(--fs-small); }

/* ---------- Slots: placeholders that wait for real facts. Hidden on the live
   site; add ?slots to the address to see them outlined. ---------- */
.show-slots [data-slot] { position: relative; outline: 2px dashed var(--red); outline-offset: 4px; }
.show-slots [data-slot]::before {
  content: "SLOT · " attr(data-slot); position: absolute; z-index: 6; top: -12px; left: 0; pointer-events: none;
  padding: 4px 6px; border-radius: 3px; background: var(--red); color: #fff; font: 500 10px/1 var(--mono); letter-spacing: .05em;
}
.slot-banner { position: fixed; z-index: 90; left: 50%; top: 10px; transform: translateX(-50%); padding: 8px 12px; border-radius: 6px; background: var(--red); color: #fff; font: 500 12px/1.3 var(--mono); }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
