/* Hallmark · genre: modern-minimal · macrostructure: Split Studio
 * Theme: EMS Fluid Intelligence · nav: N1b · footer: Ft2
 * Reference: ems-landing/tokens.css. Local assets; no external requests.
 * Pre-emit critique: philosophy 5, hierarchy 5, execution 4,
 * specificity 5, restraint 5, variety 4. Contrast: pass (40–41). */

@font-face {
  font-family: 'Space Grotesk';
  src: url('assets/fonts/space-grotesk-latin.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Geist';
  src: url('assets/fonts/geist-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Shared EMS palette and typography. */
  --font-display: 'Space Grotesk', Arial, sans-serif;
  --font-sans: 'Geist', Arial, sans-serif;
  --color-paper: #0e1219;
  --color-paper-2: #181e28;
  --color-paper-3: #232c3b;
  --color-ink: #f3f2ef;
  --color-ink-2: #b7bfcb;
  --color-muted: #929eaf;
  --color-rule: #303a49;
  --color-rule-soft: #1d2531;
  --color-accent: #2858f5;
  --color-accent-hover: #3a68ff;
  --color-accent-light: #7a9bff;
  --color-accent-on-light: #2046c9;
  --color-accent-ink: #fffefd;
  --color-focus: #a2b9ff;
  --color-light: #f2f3ef;
  --color-light-2: #e7e9e4;
  --color-light-ink: #1b2028;
  --color-light-muted: #5a626c;
  --color-light-rule: #c9cfca;
  --color-transparent: transparent;

  /* Contextual tokens default to the light content sections. */
  --bg: var(--color-light);
  --surface: var(--color-light);
  --surface-tint: var(--color-light-2);
  --ink: var(--color-light-ink);
  --ink-soft: var(--color-light-muted);
  --ink-faint: var(--color-light-muted);
  --line: var(--color-light-rule);
  --line-strong: var(--color-accent-on-light);
  --focus: var(--color-accent-on-light);
  --signal: var(--color-accent-on-light);

  --s-1: .25rem;
  --s-2: .5rem;
  --s-3: .75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --s-9: 6rem;
  --s-10: 8rem;
  --r-sm: .25rem;
  --r-md: .5rem;
  --r-lg: .75rem;
  --r-pill: 999px;
  --maxw: 1376px;
  --gutter: clamp(1.25rem, 5vw, 6rem);
  --nav-h: 88px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --dur: 220ms;
  --z-nav: 10;
  --z-skip: 20;
}

/* Dark surfaces share the same context as the EMS masthead and hero. */
.nav, .hero, .trust, .band, .shots, .cta, .contact-hero, .footer, .plan--featured {
  --bg: var(--color-paper);
  --surface: var(--color-paper-2);
  --surface-tint: var(--color-paper-3);
  --ink: var(--color-ink);
  --ink-soft: var(--color-ink-2);
  --ink-faint: var(--color-muted);
  --line: var(--color-rule);
  --line-strong: var(--color-accent-light);
  --focus: var(--color-focus);
  --signal: var(--color-accent-light);
  color-scheme: dark;
}

/* Base and shared controls. */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + var(--s-5));
  overflow-x: clip;
  background: var(--color-paper);
}
body {
  margin: 0;
  overflow-x: clip;
  color: var(--color-ink);
  background: var(--color-paper);
  font: 400 1rem/1.65 var(--font-sans);
  -webkit-font-smoothing: antialiased;
}
::selection { color: var(--color-accent-ink); background: var(--color-accent); }
h1, h2, h3, h4 {
  min-width: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-style: normal;
  line-height: 1.15;
  letter-spacing: -.045em;
  overflow-wrap: anywhere;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; text-underline-offset: .3em; }
a:hover { text-decoration: underline; }
a, button, select, summary { touch-action: manipulation; -webkit-tap-highlight-color: var(--color-transparent); }
button, select { font: inherit; }
button, select, summary { cursor: pointer; }
a:where(.btn, .brand, .brand__parent), .nav__links a, .footer__links a { white-space: nowrap; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 5px; }
.skip-link {
  position: fixed;
  inset: var(--s-4) auto auto var(--s-4);
  z-index: var(--z-skip);
  padding: var(--s-3) var(--s-5);
  background: var(--color-ink);
  color: var(--color-paper);
  transform: translateY(-180%);
}
.skip-link:focus { transform: none; }
html.is-translating body { opacity: 0; }

.nav__inner, .hero, .trust__list, .band__inner, .shots__inner, .cta__inner, .contact-hero__inner, .footer__inner {
  max-width: calc(var(--maxw) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.eyebrow, .hero__eyebrow {
  margin: 0 0 var(--s-5);
  color: var(--ink-soft);
  font-size: .75rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: .02em;
}
.eyebrow--onDark { color: var(--signal); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-6);
  min-height: 54px;
  max-width: 100%;
  padding: .85rem 1.2rem;
  border: 1px solid var(--color-transparent);
  border-radius: var(--r-pill);
  font-size: .875rem;
  font-weight: 500;
  line-height: 1.4;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.btn::after { content: '\2197'; flex-shrink: 0; font-size: 1.25rem; font-weight: 400; line-height: 1; }
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--color-accent); color: var(--color-accent-ink); }
.btn--primary:hover { background: var(--color-accent-hover); }
.btn--ghost { border: 0; padding-inline: 0; color: var(--ink); background: var(--color-transparent); gap: var(--s-4); }
.btn--ghost::after { content: '\2192'; }
.btn--ghost:hover { text-decoration: underline; }
.btn--lg { min-height: 58px; }

/* Masthead: product identity, with a direct link to the parent brand. */
.nav {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  background: color-mix(in srgb, var(--bg) 96%, var(--color-transparent));
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--color-rule-soft);
  color: var(--ink);
}
.nav__inner {
  position: relative;
  min-height: var(--nav-h);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3) var(--s-5);
  padding-block: var(--s-4);
}
.brand-family { display: grid; gap: var(--s-1); }
.brand { display: inline-flex; width: fit-content; line-height: 1; }
.brand:hover { text-decoration: none; }
.brand__word { font: 700 1.6rem/1 var(--font-display); letter-spacing: -.07em; }
.brand__dot { color: var(--color-accent); }
.brand__parent {
  display: inline-flex;
  align-items: center;
  gap: .3em;
  min-height: 24px;
  width: fit-content;
  color: var(--ink-faint);
  font-size: .65rem;
}
.brand__parent:hover { color: var(--ink); }
.nav__links {
  display: flex;
  flex: 1 0 100%;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-3) var(--s-5);
  padding-bottom: var(--s-4);
}
.nav__links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-soft); font-size: .8rem; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--ink); text-decoration: none; }
.nav__links .nav__cta { color: var(--ink); border-color: var(--line); background: var(--color-transparent); }
.nav__links .nav__cta:hover { background: var(--surface); }
.lang-select {
  min-height: 44px;
  padding: .6rem .7rem;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  color: var(--ink-soft);
  background: var(--bg);
  font-size: .75rem;
}
.lang-select:hover { color: var(--ink); border-color: var(--line-strong); }
.nav__toggle {
  display: none;
  position: relative;
  width: 52px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--color-transparent);
  color: var(--ink);
}
.nav__toggle:hover { background: var(--surface); }
.nav__bars, .nav__bars::before, .nav__bars::after {
  content: '';
  position: absolute;
  left: 50%;
  width: 18px;
  height: 1px;
  background: var(--ink);
  transform: translateX(-50%);
  transition: transform var(--dur) var(--ease);
}
.nav__bars { top: 50%; }
.nav__bars::before { top: -5px; }
.nav__bars::after { top: 5px; }
.nav__toggle[aria-expanded='true'] .nav__bars { background: var(--color-transparent); }
.nav__toggle[aria-expanded='true'] .nav__bars::before { transform: translateX(-50%) translateY(5px) rotate(45deg); }
.nav__toggle[aria-expanded='true'] .nav__bars::after { transform: translateX(-50%) translateY(-5px) rotate(-45deg); }
.has-js .nav__toggle { display: inline-flex; }
.has-js .nav__links {
  position: absolute;
  top: 100%;
  inset-inline: var(--gutter);
  max-height: calc(100svh - var(--nav-h) - var(--s-5));
  overflow-y: auto;
  flex-direction: column;
  align-items: stretch;
  flex-wrap: nowrap;
  gap: var(--s-2);
  padding: var(--s-5);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0 0 var(--r-lg) var(--r-lg);
}
.has-js .nav__links:not(.is-open) { display: none; }
.has-js .nav__links a { padding-inline: var(--s-3); }
.has-js .nav__links .nav__cta { margin-top: var(--s-2); padding-inline: var(--s-5); }
.lang-switch { display: inline-flex; }

/* Split hero and the box illustration. */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: var(--s-5);
  padding-block: var(--s-7) var(--s-5);
  color: var(--ink);
}
.hero__content { min-width: 0; position: relative; z-index: 1; }
.hero__eyebrow { display: flex; align-items: center; gap: var(--s-3); font-size: .65rem; letter-spacing: .08em; text-transform: uppercase; }
.hero__eyebrow::before { content: '+'; color: var(--signal); font-size: 1.25rem; font-weight: 300; }
.hero__title { margin: 0 0 var(--s-5); font-size: clamp(1.9rem, 8.5vw, 3.8rem); letter-spacing: -.06em; line-height: 1.08; }
.hero__title-accent { color: var(--ink); }
.hero__sub { max-width: 50ch; margin: 0 0 var(--s-6); font-size: 1rem; line-height: 1.8; color: var(--ink-soft); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-6); }
.hero__trial { margin: var(--s-4) 0 0; color: var(--ink-soft); font-size: .875rem; }
.hero__visual { min-width: 0; margin: 0; }
.hero__visual figcaption { padding-block: var(--s-3); color: var(--ink-faint); font-size: .7rem; text-align: center; }

/* Open, ruled promise strip echoes the EMS service links. */
.trust { color: var(--ink); }
.trust__list { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 var(--s-6); margin-block: 0; padding-block: var(--s-5) var(--s-7); }
.trust__item { display: flex; align-items: center; gap: var(--s-3); min-height: 64px; padding-block: var(--s-3); border-top: 1px solid var(--line); font-size: .8rem; color: var(--ink-soft); }
.trust__item svg { flex-shrink: 0; width: 20px; height: 20px; color: var(--signal); }

/* Light content sections retain the product's original information. */
.section { padding: var(--s-8) var(--gutter) var(--s-9); background: var(--bg); color: var(--ink); }
.section > * { max-width: var(--maxw); margin-inline: auto; }
.section--tint { background: var(--surface-tint); border-top: 1px solid var(--line); }
.section__head { margin-bottom: var(--s-7); }
.section__title { max-width: 23ch; margin: 0 0 var(--s-5); font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1.12; letter-spacing: -.055em; }
.section__lead { max-width: 56ch; margin: 0; color: var(--ink-soft); font-size: 1rem; line-height: 1.8; }
.cards { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 var(--s-8); padding: 0; margin-block: 0; }
.card { min-width: 0; padding-block: var(--s-6) var(--s-7); border-top: 1px solid var(--line); }
.card__icon { display: inline-flex; margin-bottom: var(--s-5); color: var(--ink-soft); }
.card__icon svg { width: 28px; height: 28px; }
.card__title { margin: 0 0 var(--s-4); font-size: clamp(1.45rem, 2.2vw, 2rem); }
.card__text { max-width: 49ch; margin: 0; color: var(--ink-soft); font-size: .95rem; line-height: 1.8; }
.more { margin-top: var(--s-6); padding-top: var(--s-7); border-top: 1px solid var(--line); }
.more__head { margin: 0 0 var(--s-6); font-size: 1.6rem; }
.more__grid { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-6) var(--s-7); margin: 0; padding: 0; }
.more__title { margin: 0 0 var(--s-2); font-family: var(--font-sans); font-size: .95rem; font-weight: 500; letter-spacing: -.01em; line-height: 1.4; }
.more__text { margin: 0; max-width: 46ch; color: var(--ink-soft); font-size: .875rem; line-height: 1.8; }

/* Delivery is a sequence of ruled columns, rather than a second card grid. */
.steps { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-6); margin-block: 0; padding: 0; }
.step { min-width: 0; padding-top: var(--s-5); border-top: 1px solid var(--line); }
.step__num { color: var(--signal); font-size: .75rem; font-variant-numeric: tabular-nums; }
.step__title { margin: var(--s-5) 0 var(--s-4); font-size: 1.6rem; }
.step__text { max-width: 36ch; margin: 0; color: var(--ink-soft); font-size: .95rem; line-height: 1.8; }

/* Hand-built isometric illustration of the box on the dark hero; colours from the palette tokens. */
.box-art { max-width: 34rem; margin: 0 auto; }
.box-art__svg { width: 100%; height: auto; overflow: visible; }
.box-art__shadow { fill: var(--color-accent); opacity: .16; filter: blur(22px); }
.box-art__top { fill: var(--color-paper-3); }
.box-art__front { fill: var(--color-paper-2); }
.box-art__side { fill: var(--color-rule-soft); }
.box-art__edge { fill: none; stroke: var(--color-rule); stroke-width: 1.2; stroke-linejoin: round; }
.box-art__vents path { stroke: var(--color-paper); stroke-width: 3; stroke-linecap: round; }
.box-art__button { fill: var(--color-paper); stroke: var(--color-muted); stroke-width: 1.2; }
.box-art__led { fill: var(--color-accent-light); }
.box-art__led-glow { fill: var(--color-accent); opacity: .55; filter: blur(3px); }
.box-art__port { fill: var(--color-paper); stroke: var(--color-rule); stroke-width: .8; }
.box-art__word { fill: var(--color-ink-2); font-family: var(--font-display); font-size: 22px; font-weight: 500; letter-spacing: -.04em; }
.box-art__dot { fill: var(--color-accent-light); }
.box-art__cable { fill: none; stroke: var(--color-light-muted); stroke-width: 4; stroke-linecap: round; }
.box-art__plug { fill: var(--color-light-muted); }

/* Real app screenshots on a dark band: a horizontal, scroll-snapped gallery with
   one full-width shot per slide, every shot in the same 16:10 frame. */
.shots { padding-block: var(--s-8); color: var(--ink); background: var(--bg); }
.shots__head { margin-bottom: var(--s-7); }
.shots__title { max-width: 22ch; margin: 0 0 var(--s-5); font-size: clamp(2rem, 4vw, 3.6rem); letter-spacing: -.055em; line-height: 1.1; }
.shots__lead { max-width: 56ch; margin: 0; color: var(--ink-soft); font-size: 1rem; line-height: 1.8; }
.shot { min-width: 0; margin: 0; }
.shot img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--color-light); }
.shot figcaption { margin-top: var(--s-3); color: var(--ink-soft); font-size: .9rem; }
.gallery img { aspect-ratio: 16 / 10; object-fit: cover; object-position: left top; }
.gallery__track { position: relative; display: flex; gap: var(--s-5); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; list-style: none; margin: 0; padding: 0 0 var(--s-3); scrollbar-color: var(--line) var(--color-transparent); }
.has-js .gallery__track { scrollbar-width: none; }
.has-js .gallery__track::-webkit-scrollbar { display: none; }
.gallery__slide { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; }
.gallery__slide--phone img, .gallery__thumb--phone img { object-fit: contain; object-position: center; background: var(--surface); }
.gallery__bar { display: none; align-items: center; gap: var(--s-4); margin-top: var(--s-4); }
.has-js .gallery__bar { display: flex; }
.gallery__btn { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: var(--r-pill); color: var(--ink); background: var(--color-transparent); font-size: 1.2rem; }
.gallery__btn:hover:not(:disabled) { background: var(--surface); }
.gallery__btn:active:not(:disabled) { transform: translateY(1px); }
.gallery__btn:disabled { opacity: .35; cursor: default; }
.gallery__count { min-width: 3.5rem; margin: 0; color: var(--ink-soft); font-size: .85rem; font-variant-numeric: tabular-nums; text-align: center; }
.gallery__thumbs { display: none; gap: var(--s-2); list-style: none; margin: 0 0 0 auto; padding: 0; }
.gallery__thumb { display: block; width: 5.5rem; padding: 0; border: 2px solid var(--color-transparent); border-radius: var(--r-md); background: var(--color-transparent); opacity: .55; transition: opacity var(--dur) var(--ease); }
.gallery__thumb img { display: block; width: 100%; height: auto; border-radius: var(--r-sm); }
.gallery__thumb:hover, .gallery__thumb[aria-current="true"] { opacity: 1; }
.gallery__thumb[aria-current="true"] { border-color: var(--signal); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Privacy takes the same graphite treatment as EMS's solution section. */
.band { padding-block: var(--s-8); color: var(--ink); background: var(--bg); }
.band__inner { display: grid; gap: 0 var(--s-9); }
.band__title { max-width: 19ch; margin: 0 0 var(--s-5); font-size: clamp(2.2rem, 4vw, 3.8rem); letter-spacing: -.055em; line-height: 1.1; }
.band__text { max-width: 52ch; margin: 0; color: var(--ink-soft); font-size: 1rem; line-height: 1.8; }

/* "What leaves the box?" ledger: one row per kind of data, "Never" in the signal colour. */
.ledger { margin-top: var(--s-7); }
.ledger__title { margin: 0 0 var(--s-4); font-size: 1.3rem; }
.ledger__list { margin: 0; border-top: 1px solid var(--line); }
.ledger__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: var(--s-4); padding-block: var(--s-4); border-bottom: 1px solid var(--line); }
.ledger__row dt { color: var(--ink); font-size: .9rem; line-height: 1.6; }
.ledger__row dd { margin: 0; color: var(--ink-soft); font-size: .9rem; line-height: 1.6; }
.ledger__row .ledger__never { color: var(--signal); font-family: var(--font-display); font-weight: 500; }
.ledger__note { margin: var(--s-5) 0 0; color: var(--ink-faint); font-size: .8rem; line-height: 1.7; }

/* Single plan card, the cloud-vs-PrivateOS table, and the ownership timeline. */
.pricing__grid { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; gap: var(--s-8) var(--s-8); margin-block: 0; }
.plan { position: relative; min-width: 0; display: flex; flex-direction: column; padding: var(--s-6); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg); color: var(--ink); }
.plan--featured { border-color: var(--color-paper); }

.plan__tag { margin: 0 0 var(--s-5); color: var(--ink-soft); font-size: .75rem; }
.plan__name { margin: 0 0 var(--s-3); font-size: 2rem; }
.plan__desc { margin: 0 0 var(--s-6); color: var(--ink-soft); font-size: .875rem; line-height: 1.7; }
.plan__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s-2); margin: 0 0 var(--s-3); font-variant-numeric: tabular-nums; }
.plan__amount { max-width: 100%; font-family: var(--font-display); font-size: clamp(1.9rem, 3vw, 3.25rem); font-weight: 500; letter-spacing: -.055em; line-height: 1.15; white-space: nowrap; }
.plan__period { color: var(--ink-soft); font-size: .8rem; }
.plan__setup { margin: 0 0 var(--s-6); color: var(--ink-soft); font-size: .8rem; font-variant-numeric: tabular-nums; }
.plan__trial { margin: calc(-1 * var(--s-4)) 0 var(--s-6); color: var(--signal); font-size: .8rem; font-weight: 500; line-height: 1.6; }
.plan__list { display: grid; gap: var(--s-3); list-style: none; margin: 0 0 var(--s-6); padding: var(--s-5) 0 0; border-top: 1px solid var(--line); }
.plan__list li { position: relative; padding-left: var(--s-5); color: var(--ink-soft); font-size: .875rem; line-height: 1.7; }
.plan__list li::before { content: '\2713'; position: absolute; left: 0; color: var(--signal); }
.plan__cta { margin-top: auto; }

.vs { min-width: 0; }
.vs__title { max-width: 20ch; margin: 0 0 var(--s-6); font-size: clamp(1.6rem, 3vw, 2.6rem); line-height: 1.12; letter-spacing: -.05em; }
/* Fixed, equal value columns so the bars share one scale. */
.vs__table { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: .875rem; line-height: 1.6; }
.vs__table thead tr > :first-child { width: 24%; }
.vs__table th, .vs__table td { padding: var(--s-4); border-top: 1px solid var(--line); text-align: left; vertical-align: top; color: var(--ink-soft); font-weight: 400; }
.vs__table tr > :first-child { padding-left: 0; }
.vs__table thead th, .vs__table thead td { border-top: 0; color: var(--ink); font-size: .8rem; font-weight: 500; }
.vs__table tbody th { color: var(--ink); font-size: .8rem; }
.vs__table .vs__us { background: var(--surface-tint); color: var(--ink); }
.vs__table thead .vs__us { border-radius: var(--r-md) var(--r-md) 0 0; color: var(--signal); }
.vs__table tbody tr:last-child .vs__us { border-radius: 0 0 var(--r-md) var(--r-md); }
.vs__num { display: inline-block; color: var(--ink); font-family: var(--font-display); font-size: clamp(1.15rem, 1.8vw, 1.45rem); font-weight: 500; letter-spacing: -.03em; line-height: 1.3; font-variant-numeric: tabular-nums; white-space: nowrap; }
.vs__us .vs__num { color: var(--signal); }
.vs__bar {
  --bar: var(--ink-faint);
  display: block;
  width: calc(var(--to) * 100%);
  height: 6px;
  margin-top: var(--s-2);
  border-radius: var(--r-pill);
  background: linear-gradient(90deg, var(--bar) calc(var(--from) / var(--to) * 100%), var(--line) 0);
}
.vs__us .vs__bar { --bar: var(--signal); }
.vs__punch { max-width: 36ch; margin: var(--s-6) 0 var(--s-4); color: var(--ink); font-family: var(--font-display); font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 500; letter-spacing: -.03em; line-height: 1.35; }
.vs__note { max-width: 70ch; margin: 0; color: var(--ink-faint); font-size: .75rem; line-height: 1.8; }

.own__steps { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-6); margin: 0; padding: 0; }
.own__step { position: relative; display: grid; gap: var(--s-2); padding-top: var(--s-5); border-top: 2px solid var(--line); }
.own__step::before { content: ''; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border: 2px solid var(--signal); border-radius: 50%; background: var(--bg); }
.own__step--end { border-top-color: var(--signal); }
.own__step--end::before { background: var(--signal); }
.own__when { color: var(--signal); font-size: .75rem; font-variant-numeric: tabular-nums; }
.own__what { color: var(--ink); font-family: var(--font-display); font-size: 1.4rem; font-weight: 500; letter-spacing: -.035em; line-height: 1.25; }
.own__text { max-width: 36ch; color: var(--ink-soft); font-size: .875rem; line-height: 1.7; }

/* After month 36: keep / Care / upgrade. The upgrade card carries the signal colour. */
.after { margin-top: var(--s-8); padding-top: var(--s-7); border-top: 1px solid var(--line); scroll-margin-top: var(--s-9); }
.after__title { max-width: 22ch; margin: 0 0 var(--s-3); font-size: clamp(1.6rem, 3vw, 2.6rem); line-height: 1.12; letter-spacing: -.05em; }
.after__lead { max-width: 60ch; margin: 0 0 var(--s-6); color: var(--ink-soft); font-size: 1rem; line-height: 1.7; }
.after__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-5); }
.after__card { display: flex; flex-direction: column; gap: var(--s-3); padding: var(--s-6); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg); }
.after__card--featured { border-color: var(--signal); background: var(--surface-tint); }
.after__tag { margin: 0; color: var(--ink-soft); font-size: .75rem; }
.after__card--featured .after__tag { color: var(--signal); }
.after__name { margin: 0; color: var(--ink); font-family: var(--font-display); font-size: 1.4rem; font-weight: 500; letter-spacing: -.035em; line-height: 1.25; }
.after__text { margin: 0; color: var(--ink-soft); font-size: .875rem; line-height: 1.7; }
.after__note { margin: var(--s-5) 0 0; color: var(--ink-faint); font-size: .8rem; line-height: 1.7; }

/* Narrow screens: each comparison row becomes a label above two value cells. */
@media (max-width: 39.99rem) {
  .vs__table, .vs__table thead, .vs__table tbody { display: block; }
  .vs__table tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .vs__table thead td { display: none; }
  .vs__table tbody th { grid-column: 1 / -1; padding-bottom: 0; }
  .vs__table tbody td { border-top: 0; }
  .vs__table tbody th { background: linear-gradient(90deg, var(--color-transparent) 50%, var(--surface-tint) 50%); }
  .vs__num { white-space: normal; }
}
.pricing__footnote { margin-top: var(--s-7); margin-bottom: 0; color: var(--ink-faint); font-size: .75rem; line-height: 1.9; }
.pricing__markets { margin-top: var(--s-4); margin-bottom: 0; color: var(--ink-soft); font-size: .75rem; }

/* Native disclosures use the same ruled accordion voice as EMS. */
#faq { padding-top: var(--s-6); }
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); min-height: 88px; padding-block: var(--s-5); color: var(--ink); font-family: var(--font-display); font-size: clamp(1.05rem, 1.8vw, 1.6rem); font-weight: 500; letter-spacing: -.025em; line-height: 1.4; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: '+'; flex-shrink: 0; width: 1rem; font-family: var(--font-sans); font-size: 1.4rem; font-weight: 300; line-height: 1; }
.faq__item[open] summary { color: var(--signal); }
.faq__item[open] summary::after { content: '\2212'; }
.faq__item summary:hover { color: var(--signal); }
.faq__answer { max-width: 72ch; padding-bottom: var(--s-6); color: var(--ink-soft); font-size: .95rem; line-height: 1.8; }
.faq__answer p { margin: 0; }

/* Closing contact band and compact family footer. */
.cta { padding-block: var(--s-8) var(--s-9); color: var(--ink); background: var(--bg); }
.cta__inner { display: grid; justify-items: start; }
.cta__title { max-width: 17ch; margin: 0 0 var(--s-5); font-size: clamp(2.5rem, 5vw, 4.8rem); line-height: 1.07; letter-spacing: -.06em; }
.cta__text { max-width: 45ch; margin: 0 0 var(--s-6); color: var(--ink-soft); font-size: 1rem; line-height: 1.8; }

/* The email address as a headline: big, underlined in the signal colour, copyable. */
.mail-big { display: inline-block; max-width: 100%; color: var(--ink); font-family: var(--font-display); font-size: clamp(1.6rem, 3.4vw, 3.2rem); font-weight: 500; letter-spacing: -.04em; line-height: 1.15; text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: .06em; text-underline-offset: .18em; overflow-wrap: anywhere; }
.mail-big:hover { color: var(--signal); }
.mail-big--xl { margin-bottom: var(--s-6); font-size: clamp(1.75rem, 7.6vw, 6rem); }
.mail-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4) var(--s-5); margin-top: var(--s-5); }
.copy-btn { display: none; align-items: center; min-height: 44px; padding: 0 var(--s-5); border: 1px solid var(--line); border-radius: var(--r-pill); color: var(--ink); background: var(--color-transparent); font-size: .9rem; }
.has-js .copy-btn { display: inline-flex; }
.copy-btn:hover { background: var(--surface); }
.copy-btn:active { transform: translateY(1px); }
.copy__done { color: var(--signal); }
.mail-call { color: var(--ink-soft); font-size: .9rem; }
.mail-call a { color: var(--ink); text-decoration: underline; text-underline-offset: .2em; white-space: nowrap; }
.mail-call--lg { margin: var(--s-6) 0 0; font-size: 1rem; }
.cta__contact { width: 100%; margin-top: var(--s-7); padding-top: var(--s-6); border-top: 1px solid var(--line); }
.cta__label { margin: 0 0 var(--s-3); color: var(--ink-soft); font-size: .9rem; }

/* Contact page: dark address hero, then what to send and what happens next. */
.contact-hero { padding-block: var(--s-8) var(--s-9); color: var(--ink); background: var(--bg); }
.contact-hero__title { max-width: 18ch; margin: 0 0 var(--s-5); font-size: clamp(2.2rem, 6vw, 4.6rem); letter-spacing: -.06em; line-height: 1.08; }
.contact-hero__lead { max-width: 52ch; margin: 0 0 var(--s-7); color: var(--ink-soft); font-size: 1rem; line-height: 1.8; }
.contact-info__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-8); }
.contact-info__title { margin: 0 0 var(--s-5); font-size: 1.6rem; }
.contact-list { counter-reset: item; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.contact-list li { counter-increment: item; display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); padding-block: var(--s-4); border-bottom: 1px solid var(--line); color: var(--ink); font-size: .95rem; line-height: 1.6; }
.contact-list li::before { content: counter(item, decimal-leading-zero); padding-top: .2rem; color: var(--signal); font-size: .75rem; font-variant-numeric: tabular-nums; }
.contact-info__note { margin: var(--s-5) 0 0; color: var(--ink-soft); font-size: .85rem; line-height: 1.7; }
.own__steps.own__steps--stack { grid-template-columns: minmax(0, 1fr); }
.contact-card { margin-top: var(--s-8); }
.contact-card__list a { color: var(--ink); text-decoration: underline; text-underline-offset: .2em; }

.footer { padding-block: var(--s-6); border-top: 1px solid var(--line); color: var(--ink); background: var(--bg); }
.footer__inner { display: grid; align-items: start; gap: var(--s-4) var(--s-7); }
.footer__brand { display: grid; gap: var(--s-2); }
.footer__tag { margin: 0; color: var(--ink-soft); font-size: .85rem; }
.footer__addr { margin: 0; color: var(--ink-soft); font-size: .78rem; line-height: 1.7; }
.footer__addr a { color: var(--ink-soft); text-underline-offset: .2em; }
.footer__addr a:hover { color: var(--ink); }
.footer__links { display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--s-5); }
.footer__links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-soft); font-size: .8rem; }
.footer__links a:hover { color: var(--ink); }
.footer__copy { grid-column: 1 / -1; margin: var(--s-4) 0 0; padding-top: var(--s-5); border-top: 1px solid var(--line); color: var(--ink-faint); font-size: .7rem; }
.footer__copy small { display: block; margin-top: var(--s-2); font-size: inherit; }
/* Industry pages link to every solution page from a second footer row. */
.footer__links--solutions { grid-column: 1 / -1; }
.footer__label { color: var(--ink-faint); font-size: .8rem; }
/* "More on …" links under a section on the industry pages. */
.section__more { margin: var(--s-6) 0 0; }
.ledger .btn--ghost { margin-top: var(--s-4); }

@media (min-width: 40rem) {
  .hero { padding-block: var(--s-8) var(--s-6); }
  .hero__visual { width: 75%; justify-self: center; }
  .trust__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards, .more__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery__thumbs { display: flex; }
  .section { padding-top: var(--s-9); }
  .section__head { margin-bottom: var(--s-8); }
  .footer__inner { grid-template-columns: minmax(0, 1fr) auto; }
  .footer__brand { grid-column: 1; }
  .footer__tag { grid-column: 1; }
  .footer__links { grid-column: 2; grid-row: 1 / 3; }
  .footer__links--solutions { grid-column: 1 / -1; grid-row: auto; }
}
@media (min-width: 60rem) {
  .hero { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: var(--s-5); padding-block: var(--s-8) var(--s-7); }
  .hero__title { font-size: clamp(2.7rem, 4.6vw, 4.6rem); }
  .hero__sub { max-width: 49ch; margin-bottom: var(--s-7); }
  .hero__visual { width: 100%; }
  .hero__visual figcaption { font-size: .65rem; }
  .trust__list { grid-template-columns: repeat(4, minmax(0, 1fr)); padding-bottom: var(--s-7); }
  .trust__item { align-items: flex-start; padding-top: var(--s-5); font-size: .75rem; }
  .trust__item svg { margin-top: .15rem; }
  .more__grid, .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pricing__grid { grid-template-columns: minmax(0, 24rem) minmax(0, 1fr); }
  .own__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .after__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contact-info__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .band { padding-block: var(--s-9); }
  .shots { padding-block: var(--s-9); }
  .band__inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
  .band__inner > .eyebrow, .band__title, .band__text { grid-column: 1; }
  .ledger { grid-column: 2; grid-row: 1 / 4; margin: 0; align-self: center; }
  .plan { padding: clamp(1.5rem, 2.4vw, 2.5rem); }
  .cta__inner { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 0 var(--s-9); align-items: start; }
  .cta__inner > .eyebrow, .cta__title { grid-column: 1; }
  .cta__title { grid-row: 2 / 4; margin: 0; }
  .cta__text { grid-column: 2; grid-row: 2; }
  .cta__inner > .btn { grid-column: 2; grid-row: 3; }
  .cta__contact { grid-column: 2; grid-row: 4; }
  .footer__copy { display: flex; justify-content: space-between; gap: var(--s-5); }
  .footer__copy small { margin: 0; }
}
@media (min-width: 75rem) {
  .nav__inner { flex-wrap: nowrap; }
  .brand__word { font-size: 1.75rem; }
  .has-js .nav__toggle { display: none; }
  .nav__links, .has-js .nav__links, .has-js .nav__links:not(.is-open) {
    display: flex;
    position: static;
    flex: 0 1 auto;
    flex-direction: row;
    align-items: center;
    gap: var(--s-5);
    max-height: none;
    overflow: visible;
    padding: 0;
    border: 0;
    background: var(--color-transparent);
  }
  .nav__links a, .has-js .nav__links a { padding-inline: 0; }
  .nav__links .nav__cta, .has-js .nav__links .nav__cta { margin: 0; padding-inline: var(--s-5); }
  .hero { padding-top: var(--s-9); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.001ms !important; }
  .btn:active { transform: none; }
}
