/* src/fonts.css */
/*
 * Self-hosted Inter 4.1 (variable: wght 400-700, opsz 14-32), split into a
 * latin and a latin-ext subset. Pages preload only the latin file. See
 * fonts/INTER-LICENSE.txt (SIL Open Font License 1.1).
 */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/inter-latin.f80dca5096.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+03A3, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/inter-latin-ext.25c336e0d9.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Fallback with Inter's metrics, so the swap does not shift the layout. */
@font-face {
  font-family: 'Inter fallback';
  src: local('Arial');
  ascent-override: 90.49%;
  descent-override: 22.56%;
  line-gap-override: 0%;
  size-adjust: 107.06%;
}

/* src/tokens.css */
/*
 * Miko design tokens. This is the only edited token file: every literal
 * colour, size, radius, shadow, z-index and duration lives here.
 * `pnpm run tokens` writes tokens.json from this file; CI fails when the
 * two differ. Light in :root, dark in [data-theme='dark'] on <html> only.
 */

:root {
  color-scheme: light;

  /* Primitives, copied from the logo kit (assets/logo-kit-tokens.json). */
  --zee-950: #121212;
  --zee-900: #181818;
  --zee-850: #212121;
  --zee-800: #2A2A2A;
  --zee-700: #333333;
  --zee-600: #6E6E6E;
  --zee-400: #9B9B9B;
  --zee-300: #B4B4B4;
  --zee-100: #ECECEC;
  --mist-50: #FFFFFF;
  --mist-200: #F7F7F8;
  --mist-300: #EFEFF1;
  --mist-400: #E3E3E6;
  --mist-450: #C4C4CA;
  --mist-500: #8C8C94;
  --mist-600: #6B6B73;
  --mist-700: #4D4D55;
  --mist-950: #0D0D0D;
  --iris-300: #B3A6FF;
  --iris-400: #8F7BFF;
  --iris-600: #5B3FD9;
  --iris-700: #4A2FC2;
  --iris-950: #160D3D;
  --ok-300: #6EE0A6;
  --ok-700: #1A6B40;
  --warn-300: #FF9F5A;
  --warn-700: #B54708;
  --err-300: #FF8E80;
  --err-700: #B42318;

  /* Semantic colours, light theme. Components use only these. */
  --bg: var(--mist-50);
  --surface: var(--mist-50);
  --surface-2: var(--mist-200);
  --surface-3: var(--mist-300);
  --raised: var(--mist-50);
  --line: var(--mist-400);
  --line-strong: var(--mist-500);
  --text: var(--mist-950);
  --text-2: var(--mist-700);
  --text-3: var(--mist-600);
  --primary: var(--mist-950);
  --primary-strong: #2B2B2B;
  --on-primary: var(--mist-50);
  --accent: var(--iris-600);
  --accent-strong: var(--iris-700);
  --accent-soft: rgba(91, 63, 217, 0.08);
  --on-accent: var(--mist-50);
  --ok: var(--ok-700);
  --warn: var(--warn-700);
  --err: var(--err-700);
  --chart: var(--mist-500);
  --chart-other: var(--mist-400);
  --chart-grid: var(--mist-300);
  --edge: var(--mist-450);
  --mark-bubble: var(--iris-600);
  --mark-layer: var(--mist-50);
  --scrim: rgba(13, 13, 13, 0.48);

  /* Type: Inter only, code in ui-monospace. */
  --font-sans: 'Inter', 'Inter fallback', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: ui-monospace, 'SF Mono', 'Cascadia Mono', Menlo, Consolas, monospace;
  --weight-400: 400;
  --weight-500: 500;
  --weight-600: 600;
  --weight-700: 700;

  /* Type scale: size, line height and tracking per step. 13 is for grid cells only. */
  --fs-12: 12px;
  --lh-12: 16px;
  --ls-12: 0em;
  --fs-13: 13px;
  --lh-13: 18px;
  --ls-13: 0em;
  --fs-14: 14px;
  --lh-14: 20px;
  --ls-14: -0.006em;
  --fs-16: 16px;
  --lh-16: 24px;
  --ls-16: -0.011em;
  --fs-18: 18px;
  --lh-18: 26px;
  --ls-18: -0.014em;
  --fs-22: 22px;
  --lh-22: 28px;
  --ls-22: -0.018em;
  --fs-28: 28px;
  --lh-28: 34px;
  --ls-28: -0.021em;
  --fs-36: 36px;
  --lh-36: 40px;
  --ls-36: -0.022em;
  --fs-48: 48px;
  --lh-48: 52px;
  --ls-48: -0.022em;
  --fs-64: 64px;
  --lh-64: 68px;
  --ls-64: -0.025em;

  /* Space. */
  --space-2: 2px;
  --space-4: 4px;
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-20: 20px;
  --space-24: 24px;
  --space-32: 32px;
  --space-48: 48px;
  --space-64: 64px;
  --space-96: 96px;

  /* Sizes: controls, rows, icons, layout. */
  --control-24: 24px;
  --control-32: 32px;
  --control-40: 40px;
  --control-48: 48px;
  --target-min: 24px;
  --target-touch: 44px;
  --row-grid: 32px;
  --row-table: 40px;
  --icon-16: 16px;
  --icon-20: 20px;
  --icon-24: 24px;
  --icon-stroke: 1.75;
  --border-1: 1px;
  --nav-sidebar: 240px;
  --nav-rail: 64px;
  --content-max: 1200px;
  --dialog-width: 480px;
  --toast-width: 360px;
  --tooltip-width: 240px;
  --breakpoint-720: 720px;
  --breakpoint-980: 980px;

  /* Radius. */
  --radius-6: 6px;
  --radius-10: 10px;
  --radius-16: 16px;
  --radius-24: 24px;
  --radius-composer: 28px;
  --radius-pill: 999px;
  --radius-round: 50%;

  /* Shadow (elevation), light theme. */
  --shadow-1: 0 0 0 1px var(--line);
  --shadow-2: 0 0 0 1px var(--line), 0 4px 16px rgba(0, 0, 0, 0.06);
  --shadow-3: 0 0 0 1px var(--line), 0 16px 48px rgba(0, 0, 0, 0.12);
  --shadow-selected: 0 0 0 2px var(--accent);

  /* Focus: one 2 px accent ring with a 2 px offset. */
  --focus-width: 2px;
  --focus-offset: 2px;
  --focus-offset-input: 0px;
  --focus-offset-cell: -2px;
  --scroll-padding-top: 72px;

  /* Layers. */
  --z-0: 0;
  --z-1: 1;
  --z-20: 20;
  --z-30: 30;
  --z-40: 40;
  --z-50: 50;

  /* Motion. Nothing else moves; numbers never move. */
  --duration-120: 120ms;
  --duration-180: 180ms;
  --duration-260: 260ms;
  --duration-420: 420ms;
  --duration-flash: 1600ms;
  --ease-settle: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-lift: cubic-bezier(0.3, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
}

/*
 * Dark theme: set data-theme="dark" on <html> only. Semantic colours point at
 * the kit's zee primitives; depth comes from lighter surfaces plus a 1 px line,
 * because shadows do not show on dark.
 */
[data-theme='dark'] {
  color-scheme: dark;

  --bg: var(--zee-950);
  --surface: var(--zee-900);
  --surface-2: var(--zee-850);
  --surface-3: var(--zee-800);
  --raised: var(--zee-850);
  --line: var(--zee-700);
  --line-strong: var(--zee-600);
  --text: var(--zee-100);
  --text-2: var(--zee-300);
  --text-3: var(--zee-400);
  --primary: var(--zee-100);
  --primary-strong: var(--zee-300);
  --on-primary: var(--zee-950);
  --accent: var(--iris-300);
  --accent-strong: var(--iris-400);
  --accent-soft: rgba(179, 166, 255, 0.12);
  --on-accent: var(--zee-950);
  --ok: var(--ok-300);
  --warn: var(--warn-300);
  --err: var(--err-300);
  --chart: var(--zee-400);
  --chart-other: var(--zee-600);
  --chart-grid: var(--zee-800);
  --edge: var(--zee-600);
  --mark-bubble: var(--iris-400);
  --mark-layer: var(--zee-950);
  --scrim: rgba(0, 0, 0, 0.64);

  --shadow-1: 0 0 0 1px var(--line);
  --shadow-2: 0 0 0 1px var(--line), 0 4px 16px rgba(0, 0, 0, 0.32);
  --shadow-3: 0 0 0 1px var(--line-strong), 0 16px 48px rgba(0, 0, 0, 0.48);
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --duration-120: 0ms;
    --duration-180: 0ms;
    --duration-260: 0ms;
    --duration-420: 0ms;
    --duration-flash: 0ms;
  }
}

/* src/tokens-landing.css */
/*
 * Landing tokens: the Miko landing page's own glows, shadows and motion,
 * approved by the captain on 30-10-2026 ("hero BG licht met sterke violette
 * gloed", "Achtergrond zachte gloed", "Beweging met extra"): an exception to
 * lock list 21 (violet glows) and lock list 30 (motion). The product never
 * uses them, so they live apart from tokens.css and only apps/landing loads
 * this file, after tokens.css. Like tokens.css, it may hold literal values.
 */

:root {
  --landing-glow-hero: radial-gradient(70vw 70vh at 50% 10%, rgba(91, 63, 217, 0.22), transparent 70%);
  --landing-glow-blob-1: radial-gradient(closest-side, rgba(91, 63, 217, 0.38), rgba(91, 63, 217, 0));
  --landing-glow-blob-2: radial-gradient(closest-side, rgba(143, 123, 255, 0.32), rgba(143, 123, 255, 0));
  --landing-glow-blob-3: radial-gradient(closest-side, rgba(179, 166, 255, 0.35), rgba(179, 166, 255, 0));
  --landing-glow-slide: radial-gradient(55vw 50vh at 90% 8%, rgba(91, 63, 217, 0.11), transparent 70%), radial-gradient(45vw 45vh at 4% 96%, rgba(143, 123, 255, 0.09), transparent 70%);
  --landing-glow-accent: radial-gradient(60vw 55vh at 88% 10%, rgba(91, 63, 217, 0.4), transparent 70%), radial-gradient(50vw 50vh at 6% 94%, rgba(74, 47, 194, 0.32), transparent 70%);
  --landing-glow-card: radial-gradient(420px 280px at 85% 0%, rgba(91, 63, 217, 0.55), transparent 70%);
  --landing-ring: rgba(91, 63, 217, 0.22);
  --landing-halo: rgba(143, 123, 255, 0.55);
  --landing-shadow-field: 0 0 0 1px rgba(91, 63, 217, 0.25), 0 16px 48px rgba(91, 63, 217, 0.25);
  --landing-shadow-violet: 0 10px 30px rgba(91, 63, 217, 0.35);
  --landing-shadow-window: 0 0 0 1px var(--line), 0 16px 48px rgba(0, 0, 0, 0.12), 0 30px 80px rgba(91, 63, 217, 0.18);
  --landing-glass: rgba(255, 255, 255, 0.82);
  --duration-landing-enter: 640ms;
  --duration-landing-grow: 900ms;
  --duration-landing-drift: 14s;
  --duration-landing-glow: 12s;
  --duration-landing-spin: 60s;
  --duration-landing-type: 1300ms;
  --duration-landing-blink: 1000ms;
  --duration-landing-status: 1900ms;
  /* The Agents slide (Sprint 19): the app screen in light mode; dark on the dark page. The product's orb, the board, tints and glows. */
  --landing-agent-orb: radial-gradient(circle at 50% 40%, #8f7bff, #5b3fd9 60%, #2a2160);
  --landing-agent-board: linear-gradient(180deg, rgba(91, 63, 217, 0.07), rgba(255, 255, 255, 0.9) 55%);
  --landing-agent-card: linear-gradient(180deg, #ffffff, #f4f3f8);
  --landing-agent-card-current: linear-gradient(180deg, #e9e4ff, #ffffff);
  --landing-agent-iris: rgba(143, 123, 255, 0.14);
  --landing-agent-ok: rgba(110, 224, 166, 0.12);
  --landing-agent-warn: rgba(255, 159, 90, 0.12);
  --landing-agent-ring: 0 0 0 3px rgba(143, 123, 255, 0.15);
  --landing-agent-live: 0 0 0 4px rgba(143, 123, 255, 0.18);
  --landing-agent-press: 0 0 0 6px rgba(143, 123, 255, 0.25);
  --landing-agent-lift: 0 8px 24px rgba(91, 63, 217, 0.45);
  --landing-agent-fly: 0 10px 30px rgba(22, 13, 61, 0.2), 0 0 18px rgba(143, 123, 255, 0.35);
  --landing-agent-dot: 0 0 10px #8f7bff;
  --landing-agent-pulse: 0 0 0 0 rgba(110, 224, 166, 0.6);
  --landing-agent-pulse-end: 0 0 0 8px rgba(110, 224, 166, 0);
  --landing-agent-bar: linear-gradient(90deg, #5b3fd9, #f3d27a);
  --landing-agent-chart: linear-gradient(180deg, #8f7bff, #5b3fd9);
  --duration-landing-fly: 760ms;
  --duration-landing-pulse: 1600ms;
  --duration-landing-turn: 800ms;
}

[data-theme='dark'] {
  --landing-glow-hero: radial-gradient(70vw 70vh at 50% 10%, rgba(143, 123, 255, 0.3), transparent 70%);
  --landing-glow-slide: radial-gradient(55vw 50vh at 90% 8%, rgba(143, 123, 255, 0.16), transparent 70%), radial-gradient(45vw 45vh at 4% 96%, rgba(91, 63, 217, 0.14), transparent 70%);
  --landing-glow-accent: radial-gradient(60vw 55vh at 88% 10%, rgba(91, 63, 217, 0.16), transparent 70%), radial-gradient(50vw 50vh at 6% 94%, rgba(143, 123, 255, 0.14), transparent 70%);
  --landing-glow-card: radial-gradient(420px 280px at 85% 0%, rgba(143, 123, 255, 0.4), transparent 70%);
  --landing-ring: rgba(179, 166, 255, 0.22);
  --landing-shadow-window: 0 0 0 1px var(--line-strong), 0 16px 48px rgba(0, 0, 0, 0.48);
  --landing-glass: rgba(18, 18, 18, 0.82);
  --landing-agent-board: linear-gradient(180deg, rgba(26, 23, 48, 0.85), rgba(16, 16, 16, 0.9) 55%);
  --landing-agent-card: linear-gradient(180deg, #191919, #141414);
  --landing-agent-card-current: linear-gradient(180deg, #221c45, #151515);
  --landing-agent-fly: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 18px rgba(143, 123, 255, 0.35);
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --duration-landing-enter: 0ms;
    --duration-landing-grow: 0ms;
  }
}

/* src/base.css */
/* Base: document defaults, the focus ring and the skip link. Tokens only. */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--text);
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--scroll-padding-top);
}

body {
  background: var(--bg);
  color: var(--text);
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-16);
  line-height: var(--lh-16);
  letter-spacing: var(--ls-16);
  font-weight: var(--weight-400);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  accent-color: var(--accent);
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

a {
  color: var(--accent);
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--accent-strong);
}

code,
pre,
kbd {
  font-family: var(--font-mono);
  font-size: var(--fs-14);
}

/* Numbers line up: tabular figures and a slashed zero, only where numbers are. */
.num,
.is-number {
  font-variant-numeric: tabular-nums slashed-zero;
}

/* One focus ring everywhere: 2 px accent, 2 px away. */
:focus-visible {
  outline: var(--focus-width) solid var(--accent);
  outline-offset: var(--focus-offset);
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline-offset: var(--focus-offset-input);
}

td:focus-visible,
th:focus-visible {
  outline-offset: var(--focus-offset-cell);
}

@media (forced-colors: active) {
  :focus-visible {
    outline-color: Highlight;
  }
}

.skip-link {
  position: absolute;
  top: var(--space-8);
  left: var(--space-8);
  z-index: var(--z-50);
  padding: var(--space-8) var(--space-16);
  border-radius: var(--radius-pill);
  background: var(--primary);
  color: var(--on-primary);
  font-weight: var(--weight-500);
  text-decoration: none;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

[hidden],
.icon-sprite {
  display: none !important;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* src/components.css */
/*
 * The component kit: button, badge, field, input, select, card, source
 * monogram, empty, loading and error states, data table with sortable
 * headers, tabs, navigation, modal, toast and tooltip. Semantic tokens only;
 * violet means link, focus, selected, chart accent or the mark, never a call
 * to action. Behaviour lives in src/kit.mjs.
 */

.icon {
  flex: none;
  width: var(--icon-16);
  height: var(--icon-16);
  fill: none;
  stroke: currentColor;
  stroke-width: var(--icon-stroke);
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Button: an ink pill, plus secondary and ghost. */
.button {
  --button-height: var(--control-40);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  min-width: var(--target-min);
  height: var(--button-height);
  padding: 0 var(--space-16);
  border: var(--border-1) solid transparent;
  border-radius: var(--radius-pill);
  background: var(--primary);
  color: var(--on-primary);
  font-family: var(--font-sans);
  font-size: var(--fs-14);
  line-height: var(--lh-14);
  letter-spacing: var(--ls-14);
  font-weight: var(--weight-500);
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--duration-180) var(--ease-out);
}

.button:hover {
  background: var(--primary-strong);
  color: var(--on-primary);
}

.button:active {
  transform: translateY(1px);
}

.button[aria-pressed='true'] {
  box-shadow: var(--shadow-selected);
}

.button--secondary {
  border-color: var(--line-strong);
  background: var(--surface);
  color: var(--text);
}

.button--secondary:hover {
  background: var(--surface-2);
  color: var(--text);
}

.button--ghost {
  background: transparent;
  color: var(--text);
}

.button--ghost:hover {
  background: var(--surface-2);
  color: var(--text);
}

.button--sm {
  --button-height: var(--control-32);
  padding: 0 var(--space-12);
}

.button--icon {
  width: var(--button-height);
  padding: 0;
}

.button--lg {
  --button-height: var(--control-48);
  padding: 0 var(--space-24);
  font-size: var(--fs-16);
  line-height: var(--lh-16);
  letter-spacing: var(--ls-16);
}

/* Disabled is --text-3 on --surface-2, never transparency. */
.button:disabled,
.button[aria-disabled='true'] {
  border-color: transparent;
  background: var(--surface-2);
  color: var(--text-3);
  cursor: not-allowed;
  transform: none;
}

/* Loading keeps a full-contrast label, a 16 px spinner and its width. */
.button[aria-busy='true'] {
  cursor: progress;
}

.spinner {
  flex: none;
  width: var(--icon-16);
  height: var(--icon-16);
  border: var(--focus-width) solid currentColor;
  border-right-color: transparent;
  border-radius: var(--radius-round);
  animation: spin var(--duration-flash) linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(1turn);
  }
}

/* Badge: status is always an icon plus a word; phases are neutral and dashed. */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-4);
  height: var(--control-24);
  padding: 0 var(--space-8);
  border-radius: var(--radius-pill);
  background: var(--surface-2);
  color: var(--text-2);
  font-size: var(--fs-12);
  line-height: var(--lh-12);
  letter-spacing: var(--ls-12);
  font-weight: var(--weight-500);
  white-space: nowrap;
}

.badge--ok {
  color: var(--ok);
}

.badge--warn {
  color: var(--warn);
}

.badge--err {
  color: var(--err);
}

.badge--neutral {
  border: var(--border-1) dashed var(--line-strong);
  background: transparent;
}

/* Field: label, input, help and error. */
.field {
  display: grid;
  gap: var(--space-4);
  min-width: 0;
}

.field__label {
  color: var(--text);
  font-size: var(--fs-14);
  line-height: var(--lh-14);
  letter-spacing: var(--ls-14);
  font-weight: var(--weight-500);
}

.field__help {
  color: var(--text-2);
  font-size: var(--fs-12);
  line-height: var(--lh-12);
}

.field__error {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  color: var(--err);
  font-size: var(--fs-12);
  line-height: var(--lh-12);
  font-weight: var(--weight-500);
}

.input {
  width: 100%;
  height: var(--control-40);
  padding: 0 var(--space-12);
  border: var(--border-1) solid var(--line-strong);
  border-radius: var(--radius-10);
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--fs-16);
  line-height: var(--lh-16);
  letter-spacing: var(--ls-16);
}

.input::placeholder {
  color: var(--text-3);
}

.input:focus-visible {
  border-color: var(--accent);
}

.input[aria-invalid='true'] {
  border-color: var(--err);
}

.input:disabled {
  border-color: var(--line);
  background: var(--surface-2);
  color: var(--text-3);
}

/* Card. */
.card {
  min-width: 0;
  padding: var(--space-16);
  border-radius: var(--radius-16);
  background: var(--surface);
  box-shadow: var(--shadow-1);
}

.card--raised {
  box-shadow: var(--shadow-2);
}

/* Source monogram: 24 px, neutral, Inter 12/600. */
.monogram {
  display: inline-grid;
  flex: none;
  place-items: center;
  width: var(--control-24);
  height: var(--control-24);
  border-radius: var(--radius-6);
  background: var(--surface-3);
  color: var(--text);
  font-size: var(--fs-12);
  line-height: var(--lh-12);
  font-weight: var(--weight-600);
}

/* Empty state: a title of at most four words, one sentence, one button. */
.empty {
  display: grid;
  justify-items: start;
  gap: var(--space-8);
  padding: var(--space-24);
  border: var(--border-1) dashed var(--line-strong);
  border-radius: var(--radius-16);
}

.empty__title {
  font-size: var(--fs-16);
  line-height: var(--lh-16);
  letter-spacing: var(--ls-16);
  font-weight: var(--weight-600);
}

.empty__text {
  margin-bottom: var(--space-8);
  color: var(--text-2);
  font-size: var(--fs-14);
  line-height: var(--lh-14);
}

/* Data table: cents and ISO dates in the data, nl-NL only on display. */
.table-wrap {
  overflow-x: auto;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-14);
  line-height: var(--lh-14);
  letter-spacing: var(--ls-14);
}

.table caption {
  padding-bottom: var(--space-8);
  color: var(--text-2);
  font-size: var(--fs-12);
  line-height: var(--lh-12);
  text-align: left;
}

.table th,
.table td {
  height: var(--row-table);
  padding: 0 var(--space-8);
  border-bottom: var(--border-1) solid var(--line);
  text-align: left;
  white-space: nowrap;
}

.table th:first-child,
.table td:first-child {
  padding-left: 0;
}

.table th:last-child,
.table td:last-child {
  padding-right: 0;
}

.table thead th {
  color: var(--text-2);
  font-size: var(--fs-12);
  line-height: var(--lh-12);
  font-weight: var(--weight-600);
}

.table tbody th {
  color: var(--text);
  font-weight: var(--weight-500);
}

.table .is-number {
  text-align: right;
}

.table tfoot td {
  border-bottom: 0;
  font-weight: var(--weight-600);
}

/* Sortable header: a real button in the th; aria-sort on the th picks the arrow. */
.table__sort {
  display: inline-flex;
  align-items: center;
  gap: var(--space-4);
  min-height: var(--target-min);
  padding: 0;
  border: 0;
  border-radius: var(--radius-6);
  background: transparent;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  cursor: pointer;
}

.table__sort:hover,
.table th[aria-sort] .table__sort {
  color: var(--text);
}

.table__sort:focus-visible {
  outline-offset: var(--focus-offset-cell);
}

.table__sort .icon--asc,
.table__sort .icon--desc,
.table th[aria-sort='ascending'] .table__sort .icon--both,
.table th[aria-sort='descending'] .table__sort .icon--both {
  display: none;
}

.table th[aria-sort='ascending'] .table__sort .icon--asc,
.table th[aria-sort='descending'] .table__sort .icon--desc {
  display: block;
}

/* Select: the platform control, so keyboard and screen readers work, with the kit chevron. */
.select {
  position: relative;
  display: grid;
  min-width: 0;
}

.select .input {
  padding-right: var(--space-48);
  appearance: none;
  cursor: pointer;
}

.select .input:disabled {
  cursor: not-allowed;
}

.select__icon {
  position: absolute;
  top: 50%;
  right: var(--space-12);
  color: var(--text-2);
  pointer-events: none;
  transform: translateY(-50%);
}

/* Card parts: a header with title and meta, a body and a footer of actions. */
.card__header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-8);
}

/* Title and meta share a text baseline; other header items keep the top edge. */
.card__header > :is(.card__title, .card__meta) {
  align-self: baseline;
}

.card__title {
  font-size: var(--fs-16);
  line-height: var(--lh-16);
  letter-spacing: var(--ls-16);
  font-weight: var(--weight-600);
}

.card__meta {
  color: var(--text-2);
  font-size: var(--fs-12);
  line-height: var(--lh-12);
}

.card__body {
  margin-top: var(--space-12);
  color: var(--text-2);
  font-size: var(--fs-14);
  line-height: var(--lh-14);
}

.card__footer {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
  margin-top: var(--space-16);
  padding-top: var(--space-12);
  border-top: var(--border-1) solid var(--line);
}

/* Loading and error states: same frame as the empty state, label always visible. */
.state {
  display: grid;
  justify-items: start;
  gap: var(--space-8);
  padding: var(--space-24);
  border: var(--border-1) solid var(--line);
  border-radius: var(--radius-16);
}

.state__title {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  font-size: var(--fs-16);
  line-height: var(--lh-16);
  letter-spacing: var(--ls-16);
  font-weight: var(--weight-600);
}

.state__text {
  margin-bottom: var(--space-8);
  color: var(--text-2);
  font-size: var(--fs-14);
  line-height: var(--lh-14);
}

.state--error .state__title .icon {
  color: var(--err);
}

.state__lines {
  display: grid;
  gap: var(--space-8);
  width: 100%;
}

/* Skeleton lines stand still: nothing loops except the spinner. */
.skeleton {
  display: block;
  height: var(--space-12);
  border-radius: var(--radius-pill);
  background: var(--surface-3);
}

.skeleton--short {
  width: 40%;
}

/* Tabs: roving focus with the arrow keys; the selected tab gets the accent line. */
.tabs__list {
  display: flex;
  gap: var(--space-4);
  overflow-x: auto;
  border-bottom: var(--border-1) solid var(--line);
  scrollbar-width: none;
}

.tabs__tab {
  position: relative;
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: var(--space-8);
  height: var(--control-40);
  padding: 0 var(--space-12);
  border: 0;
  border-radius: var(--radius-6) var(--radius-6) 0 0;
  background: transparent;
  color: var(--text-2);
  font-family: var(--font-sans);
  font-size: var(--fs-14);
  line-height: var(--lh-14);
  letter-spacing: var(--ls-14);
  font-weight: var(--weight-500);
  white-space: nowrap;
  cursor: pointer;
}

.tabs__tab:hover {
  background: var(--surface-2);
  color: var(--text);
}

.tabs__tab:focus-visible {
  outline-offset: var(--focus-offset-cell);
}

.tabs__tab[aria-selected='true'] {
  color: var(--text);
}

.tabs__tab[aria-selected='true']::after {
  position: absolute;
  right: var(--space-12);
  bottom: 0;
  left: var(--space-12);
  height: var(--focus-width);
  border-radius: var(--radius-pill);
  background: var(--accent);
  content: '';
}

.tabs__tab:disabled {
  background: transparent;
  color: var(--text-3);
  cursor: not-allowed;
}

.tabs__panel {
  padding-top: var(--space-16);
}

/* Navigation: sidebar from 980 px, rail from 721 px, tab bar below 720 px. */
.nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
  width: var(--nav-sidebar);
  min-height: 100%;
  padding: var(--space-12);
  border-right: var(--border-1) solid var(--line);
  background: var(--surface);
}

.nav__list,
.nav__section {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav__section {
  gap: var(--space-8);
}

.nav__heading {
  padding: 0 var(--space-12);
  color: var(--text-2);
  font-size: var(--fs-12);
  line-height: var(--lh-12);
  font-weight: var(--weight-600);
}

.nav__link {
  display: flex;
  align-items: center;
  gap: var(--space-12);
  min-height: var(--control-40);
  padding: 0 var(--space-12);
  border-radius: var(--radius-10);
  color: var(--text-2);
  font-size: var(--fs-14);
  line-height: var(--lh-14);
  letter-spacing: var(--ls-14);
  font-weight: var(--weight-500);
  text-decoration: none;
}

.nav__link:hover {
  background: var(--surface-2);
  color: var(--text);
}

.nav__link[aria-current='page'] {
  background: var(--accent-soft);
  color: var(--text);
}

.nav__link[aria-current='page'] .icon {
  color: var(--accent);
}

.nav__label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav__footer {
  display: grid;
  gap: var(--space-2);
  margin-top: auto;
  padding-top: var(--space-12);
  border-top: var(--border-1) solid var(--line);
}

.nav--rail {
  align-items: center;
  width: var(--nav-rail);
  padding: var(--space-12) var(--space-8);
}

.nav--rail .nav__link {
  justify-content: center;
  width: var(--control-48);
  padding: 0;
}

/* The rail hides labels visually; the tooltip and the accessible name keep them. */
.nav--rail .nav__label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.tabbar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: var(--border-1) solid var(--line);
  background: var(--surface);
  list-style: none;
}

.tabbar__link {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: var(--space-2);
  min-height: var(--target-touch);
  padding: var(--space-4);
  color: var(--text-2);
  font-size: var(--fs-12);
  line-height: var(--lh-12);
  font-weight: var(--weight-500);
  text-decoration: none;
}

.tabbar__link:hover {
  color: var(--text);
}

.tabbar__link[aria-current='page'] {
  color: var(--text);
  font-weight: var(--weight-600);
}

.tabbar__link[aria-current='page'] .icon {
  color: var(--accent);
}

.tabbar__link .icon {
  width: var(--icon-20);
  height: var(--icon-20);
}

.tabbar__count {
  position: absolute;
  top: var(--space-2);
  left: calc(50% + var(--space-8));
  min-width: var(--icon-16);
  padding: 0 var(--space-4);
  border-radius: var(--radius-pill);
  background: var(--primary);
  color: var(--on-primary);
  font-size: var(--fs-12);
  line-height: var(--lh-12);
  font-weight: var(--weight-600);
  text-align: center;
}

/* Modal: the native dialog, so focus stays inside, Escape closes and focus returns. */
.modal {
  width: min(100% - var(--space-32), var(--dialog-width));
  max-width: none;
  max-height: calc(100% - var(--space-32));
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: var(--radius-16);
  background: var(--raised);
  color: var(--text);
  box-shadow: var(--shadow-3);
}

.modal::backdrop {
  background: var(--scrim);
}

:root:has(.modal[open]) {
  overflow: hidden;
}

.modal__body {
  display: grid;
  gap: var(--space-12);
  padding: var(--space-24);
}

.modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-12);
}

.modal__title {
  font-size: var(--fs-18);
  line-height: var(--lh-18);
  letter-spacing: var(--ls-18);
  font-weight: var(--weight-600);
}

.modal__text {
  color: var(--text-2);
  font-size: var(--fs-14);
  line-height: var(--lh-14);
}

.modal__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: var(--space-8);
  margin-top: var(--space-8);
}

/* Toast: at most seven words, six seconds, paused on hover and focus. */
.toast-region {
  position: fixed;
  right: var(--space-16);
  bottom: var(--space-16);
  left: var(--space-16);
  z-index: var(--z-40);
  display: grid;
  justify-items: center;
  pointer-events: none;
}

.toast-region__list {
  display: grid;
  gap: var(--space-8);
  width: min(100%, var(--toast-width));
  margin: 0;
  padding: 0;
  list-style: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  min-height: var(--control-48);
  padding: var(--space-4) var(--space-4) var(--space-4) var(--space-16);
  border-radius: var(--radius-10);
  background: var(--raised);
  color: var(--text);
  box-shadow: var(--shadow-3);
  font-size: var(--fs-14);
  line-height: var(--lh-14);
  letter-spacing: var(--ls-14);
  pointer-events: auto;
}

.toast__text {
  flex: 1;
  min-width: 0;
}

/* Tooltip: on hover and focus, hoverable, Escape hides it; the trigger names it via aria-describedby. */
.tooltip-anchor {
  position: relative;
  display: inline-flex;
}

.tooltip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  z-index: var(--z-30);
  width: max-content;
  max-width: var(--tooltip-width);
  margin-bottom: var(--space-4);
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius-6);
  background: var(--primary);
  color: var(--on-primary);
  font-size: var(--fs-12);
  line-height: var(--lh-12);
  letter-spacing: var(--ls-12);
  font-weight: var(--weight-500);
  text-align: left;
  white-space: normal;
  transform: translateX(-50%);
}

/* A bridge over the gap keeps the tooltip open while the pointer moves onto it. */
.tooltip::after {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  height: var(--space-4);
  content: '';
}

.tooltip--start {
  left: 0;
  transform: none;
}

.tooltip--end {
  right: 0;
  left: auto;
  transform: none;
}

/* Opens downward, for triggers with no room above, such as a th in a scrolling .table-wrap. */
.tooltip--below {
  top: 100%;
  bottom: auto;
  margin-top: var(--space-4);
  margin-bottom: 0;
}

.tooltip--below::after {
  top: auto;
  bottom: 100%;
}

.tooltip--right {
  top: 50%;
  bottom: auto;
  left: 100%;
  margin-bottom: 0;
  margin-left: var(--space-8);
  transform: translateY(-50%);
}

.tooltip--right::after {
  top: 0;
  right: 100%;
  bottom: 0;
  left: auto;
  width: var(--space-8);
  height: auto;
}

/* The logo masters: one file per background, picked by the theme. */
.mark--on-dark {
  display: none;
}

[data-theme='dark'] .mark--on-light {
  display: none;
}

[data-theme='dark'] .mark--on-dark {
  display: inline-block;
}

/* src/landing.css */
/*
 * Landing layout. Builds on the design system's tokens and components;
 * tokens only, breakpoints 720 and 980 px only. Light by default with a dark
 * switch ([data-theme='dark'] on <html>), never following the browser's
 * colour preference. The glows and the extra motion are the landing's
 * approved exceptions (tokens --landing-* and --duration-landing-*).
 */

/* Light by default, said three times: the color-scheme meta in every page,
   color-scheme here, and an explicit background on html and body in both
   themes, so a dark browser setting or an auto-dark mode never leaves the
   canvas to the browser. Only the switch turns the page dark. */
:root {
  color-scheme: only light;
}

:root[data-theme='dark'] {
  color-scheme: dark;
}

html,
body {
  background: var(--bg);
  color: var(--text);
}

main:focus {
  outline: none;
}

/* The processing page and the privacy notice fill the screen, so their
   footer stays at the bottom when the content is short. */
html:not(.l-deck) body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

html:not(.l-deck) main {
  flex: 1 0 auto;
}

.l-wrap {
  max-width: var(--content-max);
  margin: 0 auto;
  padding-right: var(--space-16);
  padding-left: var(--space-16);
}

.l-meta {
  color: var(--text-2);
  font-size: var(--fs-14);
  line-height: var(--lh-14);
  letter-spacing: var(--ls-14);
}

.l-lede {
  max-width: 64ch;
  color: var(--text-2);
  font-size: var(--fs-18);
  line-height: var(--lh-18);
  letter-spacing: var(--ls-18);
}

/* ---------------------------------------------------------------------------
   Header: the brand, the section links, the language link and the dark
   switch. On the landing it floats over the slides and turns dark over the
   dark slide; on the inner pages it is an ordinary bar.
   ------------------------------------------------------------------------ */
.l-header {
  position: sticky;
  top: 0;
  z-index: var(--z-30);
  background: var(--landing-glass);
  backdrop-filter: blur(12px);
  color: var(--text);
}

.l-deck .l-header {
  position: fixed;
  right: 0;
  left: 0;
}

.l-header.is-dark {
  --bg: var(--zee-950);
  --text: var(--zee-100);
  --text-2: var(--zee-300);
  --line: var(--zee-700);
  --mark-bubble: var(--iris-400);
  --mark-layer: var(--zee-950);
  --accent: var(--iris-300);
  --landing-glass: transparent;
}

[data-theme='dark'] .l-header.is-dark {
  --bg: var(--mist-50);
  --text: var(--mist-950);
  --text-2: var(--mist-700);
  --line: var(--mist-400);
  --mark-bubble: var(--iris-600);
  --mark-layer: var(--mist-50);
  --accent: var(--iris-600);
}

.l-header__inner {
  display: flex;
  align-items: center;
  gap: var(--space-16);
  height: var(--control-48);
  padding: 0 var(--space-16);
}

.l-brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  color: var(--text);
  font-size: var(--fs-18);
  line-height: var(--lh-18);
  letter-spacing: var(--ls-18);
  font-weight: var(--weight-600);
  text-decoration: none;
}

/* The lockup file's 124.8 by 46.2 units, clear space included, so the mark is 24 px. */
.l-brand__lockup {
  width: 86px;
  height: 32px;
}

/* The inline logo (@terp/design-system/logo): its fills follow the mark tokens. */
.mark__bubble {
  fill: var(--mark-bubble);
}

.mark__layer {
  fill: var(--mark-layer);
}

.mark__ink {
  fill: var(--text);
}

.l-nav {
  display: none;
  margin: 0 auto;
}

.l-nav ul {
  display: flex;
  gap: var(--space-24);
  margin: 0;
  padding: 0;
  list-style: none;
}

.l-nav a,
.l-nav__button {
  padding: 0;
  border: 0;
  background: none;
  color: var(--text-2);
  font: inherit;
  font-size: var(--fs-14);
  line-height: var(--lh-14);
  letter-spacing: var(--ls-14);
  text-decoration: none;
  cursor: pointer;
}

.l-nav a:hover,
.l-nav a.is-current,
.l-nav__button:hover {
  color: var(--text);
}

.l-header__end {
  display: flex;
  align-items: center;
  gap: var(--space-12);
  margin-left: auto;
}

.l-lang {
  color: var(--text);
  font-size: var(--fs-14);
  line-height: var(--lh-14);
  letter-spacing: var(--ls-14);
  font-weight: var(--weight-500);
  text-decoration: none;
}

.l-lang:hover {
  text-decoration: underline;
}

.l-theme {
  display: grid;
  place-items: center;
  width: var(--control-32);
  height: var(--control-32);
  padding: 0;
  border: 0;
  border-radius: var(--radius-pill);
  background: none;
  color: var(--text);
  cursor: pointer;
}

.l-theme:hover {
  background: var(--surface-2);
}

.l-icon {
  width: var(--icon-16);
  height: var(--icon-16);
}

.l-theme__sun,
[data-theme='dark'] .l-theme__moon {
  display: none;
}

[data-theme='dark'] .l-theme__sun {
  display: block;
}

/* ---------------------------------------------------------------------------
   Dialogs: prices, the questions and the EU promise, on the design system's
   modal.
   ------------------------------------------------------------------------ */
.l-dialog__title {
  margin: var(--space-8) 0;
  font-size: var(--fs-22);
  line-height: var(--lh-22);
  letter-spacing: var(--ls-22);
  font-weight: var(--weight-600);
}

.l-dialog__note {
  margin-top: var(--space-12);
  color: var(--text-2);
  font-size: var(--fs-14);
  line-height: var(--lh-14);
}

.l-claim {
  display: grid;
  gap: var(--space-8);
  max-width: 60ch;
}

.l-claim__text {
  font-weight: var(--weight-500);
}

.l-claim__keten {
  color: var(--text-2);
  font-size: var(--fs-14);
  line-height: var(--lh-14);
  letter-spacing: var(--ls-14);
}

.l-faqs {
  display: grid;
  border-top: var(--border-1) solid var(--line);
}

.l-faq {
  border-bottom: var(--border-1) solid var(--line);
}

.l-faq summary {
  padding: var(--space-12) 0;
  font-weight: var(--weight-600);
  cursor: pointer;
}

.l-faq p {
  padding-bottom: var(--space-12);
  color: var(--text-2);
}

/* ---------------------------------------------------------------------------
   Footer, and the inner pages: the processing page and the privacy notice.
   ------------------------------------------------------------------------ */
.l-footer {
  border-top: var(--border-1) solid var(--line);
  color: var(--text-2);
  font-size: var(--fs-14);
  line-height: var(--lh-14);
  letter-spacing: var(--ls-14);
}

.l-footer__inner {
  display: grid;
  gap: var(--space-12);
  max-width: var(--content-max);
  margin: 0 auto;
  padding: var(--space-32) var(--space-16) var(--space-48);
}

.l-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8) var(--space-24);
  margin: 0;
  padding: 0;
  list-style: none;
}

.l-footer__links a,
.l-footer__button {
  padding: 0;
  border: 0;
  background: none;
  color: var(--text-2);
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  cursor: pointer;
}

.l-page {
  display: grid;
  gap: var(--space-48);
  padding-top: var(--space-48);
  padding-bottom: var(--space-64);
}

.l-page__head {
  display: grid;
  gap: var(--space-16);
  max-width: 64ch;
}

.l-page h1 {
  font-size: var(--fs-36);
  line-height: var(--lh-36);
  letter-spacing: var(--ls-36);
  font-weight: var(--weight-700);
}

.l-page .l-claim {
  max-width: none;
}

.l-group {
  display: grid;
  gap: var(--space-8);
}

.l-group h2,
.l-prose h2 {
  font-size: var(--fs-22);
  line-height: var(--lh-22);
  letter-spacing: var(--ls-22);
  font-weight: var(--weight-600);
}

.l-group__intro {
  margin-bottom: var(--space-8);
  color: var(--text-2);
}

.l-vendors {
  margin: 0;
  padding: 0;
  border-top: var(--border-1) solid var(--line);
  list-style: none;
}

.l-vendors__head {
  display: none;
}

.l-vendor {
  display: grid;
  gap: var(--space-8);
  padding: var(--space-16) 0;
  border-bottom: var(--border-1) solid var(--line);
}

.l-vendor__name {
  font-size: var(--fs-16);
  line-height: var(--lh-16);
  letter-spacing: var(--ls-16);
  font-weight: var(--weight-600);
}

.l-vendor__facts {
  display: grid;
  gap: var(--space-4);
  margin: 0;
}

.l-vendor__facts div {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: var(--space-12);
}

.l-vendor__facts dt {
  color: var(--text-2);
  font-size: var(--fs-14);
  line-height: var(--lh-14);
  letter-spacing: var(--ls-14);
}

.l-vendor__facts dd {
  margin: 0;
  font-size: var(--fs-14);
  line-height: var(--lh-14);
  letter-spacing: var(--ls-14);
}

.l-prose {
  display: grid;
  gap: var(--space-32);
  max-width: 64ch;
}

.l-prose__part {
  display: grid;
  gap: var(--space-8);
}

@media (min-width: 720px) {
  .l-wrap {
    padding-right: var(--space-24);
    padding-left: var(--space-24);
  }

  .l-header__inner {
    height: auto;
    padding: var(--space-16) var(--space-48);
  }

  .l-page h1 {
    font-size: var(--fs-48);
    line-height: var(--lh-48);
    letter-spacing: var(--ls-48);
  }
}

@media (min-width: 980px) {
  .l-header__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  }

  .l-nav {
    display: block;
  }

  .l-brand {
    justify-self: start;
  }

  .l-header__end {
    justify-self: end;
  }

  .l-vendors__head,
  .l-vendor {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 3fr) minmax(0, 4fr) minmax(0, 4fr);
    gap: var(--space-16);
  }

  .l-vendors__head {
    padding-bottom: var(--space-8);
    color: var(--text-2);
    font-size: var(--fs-12);
    line-height: var(--lh-12);
    font-weight: var(--weight-600);
  }

  .l-vendor {
    align-items: baseline;
  }

  .l-vendor__facts,
  .l-vendor__facts div {
    display: contents;
  }

  .l-vendor__facts dt {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .l-vendor__name,
  .l-vendor__facts dd {
    font-size: var(--fs-14);
    line-height: var(--lh-14);
    letter-spacing: var(--ls-14);
  }
}

/* ===========================================================================
   The deck: eleven full-height slides. Each slide holds one design canvas,
   1280 x 800 on a wide screen and 390 x 844 on a phone, scaled by
   landing.js to fill the slide (--l-zoom, --l-x, --l-y, --l-slide). Layout
   inside a canvas is in canvas pixels; the phone layout is a container query
   on the canvas.
   ======================================================================== */
.l-deck {
  scroll-padding-top: 0;
  scroll-snap-type: y mandatory;
}

.l-slide {
  position: relative;
  height: var(--l-slide, 100svh);
  overflow: hidden;
  scroll-snap-align: start;
  background-color: var(--bg);
  background-image: var(--landing-glow-slide);
}

.l-canvas {
  position: absolute;
  top: var(--l-y, 0);
  left: var(--l-x, 0);
  width: 1280px;
  height: 800px;
  transform: scale(var(--l-zoom, 1));
  transform-origin: 0 0;
  container: slide / size;
}

.l-scr {
  position: relative;
  width: 100%;
  height: 100%;
}

.l-scr > * {
  position: absolute;
}

@media (max-width: 719.98px) {
  .l-canvas {
    width: 390px;
    height: 844px;
  }
}

/* The cost slide is taller on a phone: the approved design stacks two panels. */
@media (max-width: 719.98px) {
  .l-slide--costs {
    height: calc(var(--l-cost-height) * var(--l-zoom, 1));
  }

  .l-slide--costs > .l-canvas {
    height: var(--l-cost-height);
  }
}

/* The dark slide: dark on a light page, light on a dark page. */
.l-slide--accent {
  --bg: var(--zee-950);
  --surface: var(--zee-900);
  --surface-2: var(--zee-850);
  --surface-3: var(--zee-800);
  --raised: var(--zee-850);
  --line: var(--zee-700);
  --line-strong: var(--zee-600);
  --edge: var(--zee-600);
  --text: var(--zee-100);
  --text-2: var(--zee-300);
  --text-3: var(--zee-400);
  --primary: var(--zee-100);
  --on-primary: var(--zee-950);
  --accent: var(--iris-300);
  --mark-bubble: var(--iris-400);
  --mark-layer: var(--zee-950);

  background-image: var(--landing-glow-accent);
  color: var(--text);
}

[data-theme='dark'] .l-slide--accent {
  --bg: var(--mist-50);
  --surface: var(--mist-50);
  --surface-2: var(--mist-200);
  --surface-3: var(--mist-300);
  --raised: var(--mist-50);
  --line: var(--mist-400);
  --line-strong: var(--mist-500);
  --edge: var(--mist-450);
  --text: var(--mist-950);
  --text-2: var(--mist-700);
  --text-3: var(--mist-600);
  --primary: var(--mist-950);
  --on-primary: var(--mist-50);
  --accent: var(--iris-600);
  --mark-bubble: var(--iris-600);
  --mark-layer: var(--mist-50);
}

/* --- Motion: the slide zooms in, then its parts rise one after the other. */
@keyframes l-zoom {
  from {
    opacity: 0;
    transform: scale(1.08);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes l-rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes l-fade {
  to {
    opacity: 1;
  }
}

@keyframes l-bar {
  from {
    opacity: 0;
    transform: translateY(40%);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes l-grow-x {
  from {
    transform: scaleX(0);
  }

  to {
    transform: none;
  }
}

@keyframes l-grow-y {
  from {
    transform: scaleY(0);
  }

  to {
    transform: none;
  }
}

@keyframes l-type {
  from {
    max-width: 0;
  }

  to {
    max-width: 100%;
  }
}

@keyframes l-blink {
  50% {
    opacity: 0;
  }
}

@keyframes l-indicator {
  0%,
  10% {
    opacity: 0.25;
  }

  30%,
  70% {
    opacity: 1;
  }

  90%,
  100% {
    opacity: 0.25;
  }
}

@keyframes l-status {
  0% {
    opacity: 0;
  }

  9%,
  90% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@keyframes l-drift {
  from {
    translate: -16px 0;
  }

  to {
    translate: 16px 0;
  }
}

@keyframes l-glow {
  from {
    transform: translate(-40px, 0) scale(1);
  }

  to {
    transform: translate(40px, 30px) scale(1.12);
  }
}

@keyframes l-breathe {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.04);
  }
}

@keyframes l-cue {
  0% {
    opacity: 0;
    transform: translateY(0);
  }

  30% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateY(34px);
  }
}

@keyframes l-spin {
  to {
    transform: rotate(360deg);
  }
}

.is-play > .l-canvas > .l-scr {
  animation: l-zoom var(--duration-landing-enter) var(--ease-settle) both;
}

.l-js .l-rise {
  opacity: 0;
}

.l-js .l-fade {
  opacity: 0;
}

.l-js .l-bar {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  opacity: 0;
}

.is-play .l-rise {
  animation: l-rise var(--duration-420) var(--ease-settle) both;
}

.is-play .l-fade {
  animation: l-fade var(--duration-180) var(--ease-out) both;
}

.is-play .l-bar {
  animation: l-bar var(--duration-420) var(--ease-settle) both;
}

@media (prefers-reduced-motion: reduce) {
  .l-js .l-rise,
  .l-js .l-fade,
  .l-js .l-bar,
  .is-play .l-rise,
  .is-play .l-fade,
  .is-play .l-bar,
  .is-play > .l-canvas > .l-scr {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* --- Shared slide text. */
.l-eyebrow {
  margin-bottom: var(--space-12);
  color: var(--text-2);
  font-size: var(--fs-12);
  line-height: var(--lh-12);
  font-weight: var(--weight-600);
}

.l-title {
  color: var(--text);
  font-size: var(--fs-48);
  line-height: var(--lh-48);
  letter-spacing: var(--ls-48);
  font-weight: var(--weight-700);
}

.l-title--xl {
  font-size: var(--fs-64);
  line-height: var(--lh-64);
  letter-spacing: var(--ls-64);
}

.l-title__2 {
  color: var(--text-3);
}

.l-sub {
  margin-top: var(--space-16);
  color: var(--text-2);
  font-size: var(--fs-18);
  line-height: var(--lh-18);
  letter-spacing: var(--ls-18);
}

.l-text {
  top: 200px;
  left: 96px;
  width: 440px;
}

.l-text--wide {
  top: 72px;
  width: 1088px;
}

.l-caption {
  margin-bottom: var(--space-4);
  color: var(--text-2);
  font-size: var(--fs-12);
  line-height: var(--lh-12);
  font-weight: var(--weight-600);
}

.l-card {
  min-width: 0;
  padding: var(--space-12);
  border-radius: var(--radius-16);
  background: var(--surface-2);
}

.l-who {
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  color: var(--text-2);
  font-size: var(--fs-12);
  line-height: var(--lh-12);
  font-weight: var(--weight-600);
}

.l-who__mark {
  width: var(--icon-16);
  height: var(--icon-16);
}

.l-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-8);
}

.l-kpis > div {
  min-width: 0;
  padding: var(--space-8) var(--space-12);
  border-radius: var(--radius-10);
  background: var(--surface-2);
}

.l-kpis b {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  font-size: var(--fs-22);
  line-height: var(--lh-22);
  letter-spacing: var(--ls-22);
  font-weight: var(--weight-700);
  font-variant-numeric: tabular-nums;
}

.l-kpis span {
  color: var(--text-2);
  font-size: var(--fs-12);
  line-height: var(--lh-12);
}

.l-hbar {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 92px 40px;
  gap: var(--space-8);
  align-items: center;
  padding: var(--space-4) 0;
  font-size: var(--fs-14);
  line-height: var(--lh-14);
}

.l-hbar--small {
  grid-template-columns: 132px minmax(0, 1fr) 84px;
  padding: var(--space-2) 0;
  font-size: var(--fs-13);
  line-height: var(--lh-13);
}

.l-hbar__track {
  height: 16px;
  overflow: hidden;
  border-radius: var(--radius-6);
  background: var(--surface-2);
}

.l-card .l-hbar__track {
  background: var(--bg);
}

.l-hbar__track i,
.l-oee__track i {
  display: block;
  height: 100%;
  border-radius: var(--radius-6);
  background: var(--chart);
  transform-origin: 0 50%;
}

.l-hbar.is-top .l-hbar__track i {
  background: var(--accent);
}

.l-hbar.is-top .l-hbar__label,
.l-hbar.is-top .l-hbar__value {
  font-weight: var(--weight-600);
}

.l-hbar__value,
.l-hbar__days {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.l-hbar__days {
  color: var(--text-2);
}

.is-play .l-hbar__track i,
.is-play .l-oee__track i {
  animation: l-grow-x var(--duration-landing-grow) var(--ease-settle) both;
  animation-delay: 600ms;
}

.l-tie {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  font-size: var(--fs-13);
  line-height: var(--lh-13);
}

.l-tie .l-icon {
  flex: none;
  color: var(--ok);
}

.l-step {
  display: inline-grid;
  flex: none;
  place-items: center;
  width: var(--control-24);
  height: var(--control-24);
  border-radius: var(--radius-pill);
  background: var(--primary);
  color: var(--on-primary);
  font-size: var(--fs-12);
  line-height: var(--lh-12);
  font-weight: var(--weight-600);
}

.l-send {
  display: grid;
  flex: none;
  place-items: center;
  width: var(--target-touch);
  height: var(--target-touch);
  padding: 0;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--primary);
  color: var(--on-primary);
  cursor: pointer;
}

.l-send .l-icon {
  width: var(--icon-20);
  height: var(--icon-20);
}

.l-send--small {
  width: var(--control-32);
  height: var(--control-32);
}

.l-ind {
  width: var(--icon-20);
  height: var(--icon-20);
}

/* The layers light up from the bottom: the widest first, the top one last. */
.is-play .l-ind .mark__layer {
  animation: l-indicator var(--duration-flash) linear infinite;
}

.is-play .l-ind .mark__layer:nth-of-type(2) {
  animation-delay: 200ms;
}

.is-play .l-ind .mark__layer:nth-of-type(1) {
  animation-delay: 400ms;
}

.l-status {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  color: var(--text-2);
  font-size: var(--fs-14);
  line-height: var(--lh-14);
}

/* --- The app window: a browser bar, the portal's side or rail, the main area. */
.l-window {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-16);
  background: var(--bg);
  box-shadow: var(--landing-shadow-window);
}

.l-window__bar {
  display: flex;
  flex: none;
  align-items: center;
  gap: var(--space-12);
  height: 36px;
  padding: 0 var(--space-12);
  border-bottom: var(--border-1) solid var(--line);
  background: var(--surface-2);
}

.l-dots {
  display: flex;
  gap: var(--space-4);
}

.l-dots i {
  width: 9px;
  height: 9px;
  border-radius: var(--radius-pill);
  background: var(--line);
}

.l-window__title {
  flex: 1;
  margin-right: var(--space-48);
  padding: var(--space-2) var(--space-12);
  border-radius: var(--radius-6);
  background: var(--bg);
  color: var(--text-2);
  font-size: var(--fs-12);
  line-height: var(--lh-12);
  font-weight: var(--weight-500);
  text-align: center;
}

.l-window__body {
  display: flex;
  flex: 1;
  min-height: 0;
}

.l-app__side {
  display: flex;
  flex: none;
  flex-direction: column;
  gap: var(--space-2);
  width: 168px;
  padding: var(--space-12) var(--space-8);
  background: var(--surface-2);
  font-size: var(--fs-13);
  line-height: var(--lh-13);
}

.l-app__brand {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  padding: 0 var(--space-8);
  font-size: var(--fs-14);
  line-height: var(--lh-14);
  font-weight: var(--weight-600);
}

.l-app__mark {
  width: 18px;
  height: 18px;
}

.l-app__ws {
  padding: var(--space-2) var(--space-8) var(--space-8);
  color: var(--text-2);
  font-size: var(--fs-12);
  line-height: var(--lh-12);
}

.l-app__nav {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  padding: var(--space-8);
  border-radius: var(--radius-6);
  color: var(--text);
}

.l-app__nav .l-icon {
  color: var(--text-2);
}

.l-app__nav.is-current {
  background: var(--surface-3);
  font-weight: var(--weight-500);
}

.l-app__nav.is-current .l-icon {
  color: var(--accent);
}

.l-app__user {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  margin-top: auto;
  padding: var(--space-8);
  font-size: var(--fs-12);
  line-height: var(--lh-12);
  font-weight: var(--weight-500);
}

.l-app__user small {
  display: block;
  color: var(--text-2);
  font-weight: var(--weight-400);
}

.l-app__user i,
.l-app__avatar {
  display: grid;
  flex: none;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--on-accent);
  font-size: var(--fs-12);
  line-height: var(--lh-12);
  font-style: normal;
  font-weight: var(--weight-600);
}

.l-app__rail {
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  width: 56px;
  padding: var(--space-12) 0;
  background: var(--surface-2);
}

.l-app__rail > .l-app__mark {
  width: 28px;
  height: 28px;
  margin-bottom: var(--space-8);
}

.l-app__rail .l-app__nav {
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: var(--radius-10);
}

.l-app__rail .l-app__nav .l-icon {
  width: 18px;
  height: 18px;
}

.l-app__avatar {
  margin-top: auto;
}

.l-app__main {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: var(--space-12);
  min-width: 0;
  padding: var(--space-16) var(--space-16) var(--space-12);
  overflow: hidden;
}

.l-app__compose {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--target-touch);
  margin-top: auto;
  padding: 0 var(--space-4) 0 var(--space-16);
  border-radius: var(--radius-composer);
  background: var(--raised);
  box-shadow: var(--shadow-2);
  color: var(--text-3);
  font-size: var(--fs-13);
  line-height: var(--lh-13);
}

/* ===========================================================================
   1 Hero: the mark, the slogan, the waitlist; light with a strong violet glow.
   ======================================================================== */
/* The hero always fills the browser: a phone taller than the 390 x 844
   canvas would otherwise end the slide early, and the glow, clipped to the
   canvas, would stop short of a window taller than 1160 x 800. The slide
   itself clips the glow. */
.l-slide--hero {
  min-height: 100vh;
  min-height: 100dvh;
  background-image: var(--landing-glow-hero);
}

.l-scr--start {
  overflow: visible;
}

.l-glow {
  inset: 0;
  overflow: visible;
  pointer-events: none;
}

.l-glow i {
  position: absolute;
  border-radius: var(--radius-round);
  filter: blur(40px);
}

.l-glow__1 {
  top: 0;
  left: calc(50% - 450px);
  width: 900px;
  height: 600px;
  background: var(--landing-glow-blob-1);
}

.l-glow__2 {
  bottom: -25%;
  left: -10%;
  width: 700px;
  height: 560px;
  background: var(--landing-glow-blob-2);
}

.l-glow__3 {
  top: 20%;
  right: -8%;
  width: 560px;
  height: 520px;
  background: var(--landing-glow-blob-3);
}

.is-play .l-glow__1 {
  animation: l-glow var(--duration-landing-glow) ease-in-out infinite alternate;
}

.is-play .l-glow__2,
.is-play .l-glow__3 {
  animation: l-glow var(--duration-landing-drift) ease-in-out infinite alternate-reverse;
}

.l-rings {
  top: 46%;
  left: 50%;
  width: 1400px;
  height: 900px;
  overflow: visible;
  translate: -50% -50%;
}

.l-rings rect {
  fill: none;
  stroke: var(--landing-ring);
}

.is-play .l-rings {
  animation: l-breathe var(--duration-landing-glow) ease-in-out infinite alternate;
}

.l-hero {
  top: 96px;
  right: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 var(--space-24);
  text-align: center;
}

.l-hero__mark {
  width: 120px;
  height: 120px;
  margin-bottom: var(--space-24);
  overflow: visible;
}

.l-hero__mark--small {
  width: 72px;
  height: 72px;
}

.l-slogan {
  max-width: 1100px;
  color: var(--text);
  font-size: var(--fs-64);
  line-height: var(--lh-64);
  letter-spacing: var(--ls-64);
  font-weight: var(--weight-700);
  text-wrap: balance;
}

.l-slogan__2 {
  color: var(--accent);
}

.l-slogan--close .l-slogan__2 {
  color: var(--text-3);
}

.l-slogan--close {
  font-size: var(--fs-48);
  line-height: var(--lh-48);
  letter-spacing: var(--ls-48);
}

.l-cue {
  bottom: 96px;
  left: 50%;
  width: 2px;
  height: 28px;
  background: linear-gradient(var(--line), transparent);
  translate: -50% 0;
}

.l-cue i {
  position: absolute;
  top: 0;
  left: -2px;
  width: 6px;
  height: 6px;
  border-radius: var(--radius-pill);
  background: var(--text-3);
  opacity: 0;
}

.is-play .l-cue i {
  animation: l-cue var(--duration-flash) var(--ease-out) infinite 1200ms;
}

.l-hero__trust {
  right: 64px;
  bottom: 28px;
  left: 64px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-16);
  font-size: var(--fs-14);
  line-height: var(--lh-14);
}

.l-badges {
  display: inline-flex;
  flex-wrap: wrap;
  gap: var(--space-8);
}

.l-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  height: var(--control-32);
  padding: 0 var(--space-12) 0 var(--space-8);
  border: var(--border-1) solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: none;
  color: var(--text);
  font: inherit;
  font-size: var(--fs-13);
  line-height: var(--lh-13);
  font-weight: var(--weight-600);
  white-space: nowrap;
}

.l-badge--button {
  cursor: pointer;
}

.l-badge--button:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* The waitlist field: the composer's shape with the ink button inside. */
.l-wl {
  position: static;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-12);
  margin-top: var(--space-32);
}

.l-wl__box {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  width: 540px;
  max-width: 100%;
  padding: var(--space-4) var(--space-4) var(--space-4) var(--space-20);
  border-radius: var(--radius-composer);
  background: var(--raised);
  box-shadow: var(--landing-shadow-field);
}

.l-wl__box:focus-within {
  outline: var(--focus-width) solid var(--accent);
  outline-offset: var(--focus-offset-input);
}

.l-wl[data-state='email'] .l-wl__box {
  box-shadow: 0 0 0 var(--border-1) var(--err);
}

.l-wl__input {
  flex: 1;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: var(--fs-16);
  line-height: var(--lh-16);
  outline: none;
}

.l-wl__input::placeholder {
  color: var(--text-3);
}

.l-wl__trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
}

.l-wl__status {
  max-width: 540px;
  font-size: var(--fs-14);
  line-height: var(--lh-14);
}

.l-wl[data-state='ok'] .l-wl__status {
  padding: var(--space-12) var(--space-20);
  border-radius: var(--radius-composer);
  background: var(--raised);
  box-shadow: var(--shadow-2);
  color: var(--ok);
  font-size: var(--fs-16);
  line-height: var(--lh-16);
  font-weight: var(--weight-500);
}

.l-wl[data-state='email'] .l-wl__status,
.l-wl[data-state='rate'] .l-wl__status,
.l-wl[data-state='down'] .l-wl__status {
  color: var(--err);
}

.l-wl__consent {
  color: var(--text-2);
  font-size: var(--fs-14);
  line-height: var(--lh-14);
}

.l-wl[data-state='ok'] .l-wl__consent {
  display: none;
}

.l-wl__price {
  padding: 0;
  border: 0;
  background: none;
  color: var(--text-2);
  font: inherit;
  font-size: var(--fs-14);
  line-height: var(--lh-14);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  cursor: pointer;
}

/* ===========================================================================
   2 Connections: 8000+ and the marks in the brand's own ink.
   ======================================================================== */
.l-head {
  top: 104px;
  right: 0;
  left: 0;
  text-align: center;
}

.l-logos {
  top: 350px;
  right: 0;
  left: 0;
  display: grid;
  gap: var(--space-12);
}

.l-logos__row {
  display: flex;
  justify-content: center;
  gap: var(--space-12);
}

.l-logos__row--0 {
  transform: translateX(-24px);
}

.l-logos__row--2 {
  transform: translateX(24px);
}

.is-play .l-logos__row--0,
.is-play .l-logos__row--2 {
  animation: l-drift var(--duration-landing-drift) ease-in-out infinite alternate;
}

.is-play .l-logos__row--1 {
  animation: l-drift var(--duration-landing-drift) ease-in-out infinite alternate-reverse;
}

.l-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  width: 108px;
  height: 92px;
  border-radius: var(--radius-16);
  background: var(--surface-2);
  color: var(--text-2);
}

.l-logo:hover {
  background: var(--surface-3);
  color: var(--text);
}

.l-logo__mark {
  display: flex;
  height: 32px;
}

.l-logo__mark svg {
  width: auto;
  height: 32px;
}

.l-logo__name {
  color: var(--text-3);
  font-size: var(--fs-12);
  line-height: var(--lh-12);
  font-weight: var(--weight-500);
  white-space: nowrap;
}

.l-knock {
  fill: var(--surface-2);
}

.l-knock-line {
  stroke: var(--surface-2);
}

.l-wordmark {
  font-family: var(--font-sans);
  font-weight: var(--weight-700);
}

.l-logos__more {
  right: 0;
  bottom: 72px;
  left: 0;
  color: var(--text-2);
  font-size: var(--fs-16);
  line-height: var(--lh-16);
  text-align: center;
}

/* ===========================================================================
   3 Knowledge base, B "Vertel het Miko": the conversation on the left, the
   network on the right. Nothing changes size while the chat runs.
   ======================================================================== */
.l-kb {
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: var(--space-48);
  padding: var(--space-64) var(--space-64) var(--space-24) var(--space-96);
}

.l-kb__chat {
  display: flex;
  flex-direction: column;
  margin-top: var(--space-20);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-16);
  background: var(--surface);
}

.l-kb__who {
  display: flex;
  flex: none;
  align-items: center;
  gap: var(--space-8);
  height: 32px;
  padding: var(--space-8) var(--space-12) var(--space-4);
  color: var(--text-3);
  font-size: var(--fs-12);
  line-height: var(--lh-12);
}

.l-kb__mark {
  width: 16px;
  height: 16px;
}

/* A fixed window; the log hangs from its bottom and older lines fade out at the top. */
.l-kb__window {
  position: relative;
  flex: none;
  height: 270px;
  overflow: hidden;
  mask-image: linear-gradient(to bottom, transparent 0, var(--zee-950) 60px);
}

.l-kb__log {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  padding: 0 var(--space-12) var(--space-4);
  will-change: transform;
}

.l-kb__log.is-glide {
  transition: transform var(--duration-420) var(--ease-settle);
}

.l-kb__msg {
  max-width: 88%;
  padding: var(--space-8) var(--space-12);
  border: 1px solid var(--line);
  border-radius: var(--radius-16);
  font-size: var(--fs-14);
  line-height: var(--lh-14);
  animation: l-kb-pop var(--duration-260) var(--ease-out) both;
}

.l-kb__msg--m {
  align-self: flex-start;
  border-bottom-left-radius: var(--radius-6);
  background: var(--surface-2);
}

.l-kb__msg--u {
  align-self: flex-end;
  border-color: var(--iris-600);
  border-bottom-right-radius: var(--radius-6);
  background: var(--accent-soft);
}

.l-kb__msg small {
  display: block;
  margin-top: var(--space-2);
  color: var(--accent);
  font-size: var(--fs-12);
  line-height: var(--lh-12);
}

@keyframes l-kb-pop {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.l-kb__typing {
  display: flex;
  flex: none;
  align-items: center;
  gap: var(--space-4);
  height: 24px;
  padding: 0 var(--space-12);
  color: var(--text-3);
  font-size: var(--fs-12);
  line-height: var(--lh-12);
  opacity: 0;
  transition: opacity var(--duration-180) var(--ease-out);
}

.l-kb__typing.is-on {
  opacity: 1;
}

.l-kb__typing i {
  width: 5px;
  height: 5px;
  border-radius: var(--radius-round);
  background: var(--text-3);
  animation: l-kb-bob var(--duration-landing-blink) ease-in-out infinite;
}

.l-kb__typing i:nth-child(2) {
  animation-delay: 150ms;
}

.l-kb__typing i:nth-child(3) {
  animation-delay: 300ms;
}

@keyframes l-kb-bob {
  50% {
    background: var(--accent);
    transform: translateY(-3px);
  }
}

.l-kb__chips {
  display: flex;
  flex: none;
  align-items: center;
  gap: var(--space-8);
  height: 40px;
  padding: var(--space-4) var(--space-12);
  overflow-x: auto;
  scrollbar-width: none;
  mask-image: linear-gradient(to right, var(--zee-950) 85%, transparent);
  transition: opacity var(--duration-260) var(--ease-out);
}

.l-kb__chips::-webkit-scrollbar {
  display: none;
}

.l-kb__chips.is-wait {
  opacity: 0.35;
  pointer-events: none;
}

.l-kb__chips button {
  flex: none;
  padding: var(--space-4) var(--space-12);
  border: 1px solid var(--iris-600);
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--text);
  font: inherit;
  font-size: var(--fs-12);
  line-height: var(--lh-12);
  white-space: nowrap;
  cursor: pointer;
}

.l-kb__chips button[disabled] {
  opacity: 0.35;
  cursor: default;
}

.l-kb__say {
  display: flex;
  flex: none;
  gap: var(--space-8);
  padding: var(--space-8) var(--space-12) var(--space-12);
  border-top: 1px solid var(--line);
}

.l-kb__input {
  flex: 1;
  min-width: 0;
  padding: var(--space-8) var(--space-12);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-10);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: var(--fs-14);
  line-height: var(--lh-14);
}

.l-kb__input::placeholder {
  color: var(--text-3);
}

.l-kb__input:focus-visible {
  outline: var(--focus-width) solid var(--accent);
  outline-offset: 0;
}

.l-kb__send {
  padding: 0 var(--space-12);
  border: 0;
  border-radius: var(--radius-10);
  background: var(--iris-600);
  color: var(--mist-50);
  font: inherit;
  font-size: var(--fs-14);
  line-height: var(--lh-14);
  font-weight: var(--weight-600);
  cursor: pointer;
}

.l-kb__send:focus-visible {
  outline: var(--focus-width) solid var(--accent);
  outline-offset: var(--focus-width);
}

.l-kb__send[disabled],
.l-kb__input[disabled] {
  opacity: 0.5;
  cursor: default;
}

/* The network: it never moves; topics light up as the conversation connects them. */
.l-kb__graph {
  position: relative;
}

.l-kb__net {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.l-kb__count {
  position: absolute;
  right: 8px;
  bottom: 4px;
  width: 22em;
  max-width: calc(100% - 16px);
  padding: var(--space-2) var(--space-12);
  border: 1px solid var(--iris-600);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--accent);
  font-size: var(--fs-13);
  line-height: var(--lh-13);
  font-variant-numeric: tabular-nums;
  text-align: center;
  white-space: nowrap;
}

.l-kb__link {
  stroke: var(--edge);
  stroke-width: 0.8;
}

.l-kb__spoke {
  stroke: var(--line);
  stroke-width: 0.7;
}

.l-kb__item {
  fill: var(--text-3);
  opacity: 0.75;
}

.l-kb__halo {
  fill: var(--accent);
  opacity: 0.13;
}

.l-kb__dot {
  fill: var(--text);
}

.l-kb__label {
  fill: var(--text);
  font-family: var(--font-sans);
  font-size: var(--fs-16);
  font-weight: var(--weight-600);
  text-anchor: middle;
}

.l-kb__hub,
.l-kb__link {
  transition: opacity var(--duration-landing-enter) ease;
}

.l-kb__hub.is-dim {
  opacity: 0.1;
}

.l-kb__link.is-dim {
  opacity: 0.05;
}

.l-kb__hub.is-new .l-kb__dot {
  animation: l-kb-flash var(--duration-landing-grow) ease;
}

@keyframes l-kb-flash {
  from {
    fill: var(--accent);
  }

  to {
    fill: var(--text);
  }
}

/* The answer's path: from the customer to its invoice, the note and a call. */
.l-kb__path {
  opacity: 0;
  transition: opacity var(--duration-landing-enter) ease;
}

.l-kb__path.is-on {
  opacity: 1;
}

.l-kb__pulse {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-dasharray: 7 8;
  animation: l-kb-dash var(--duration-landing-status) linear infinite;
}

@keyframes l-kb-dash {
  to {
    stroke-dashoffset: -60;
  }
}

.l-kb__end {
  fill: var(--accent);
}

.l-kb__glow {
  fill: var(--accent);
  opacity: 0.22;
}

.l-kb__path-label {
  fill: var(--accent);
  font-family: var(--font-sans);
  font-size: var(--fs-14);
  font-weight: var(--weight-700);
}

@media (prefers-reduced-motion: reduce) {
  .l-kb__msg,
  .l-kb__typing i,
  .l-kb__pulse,
  .l-kb__hub.is-new .l-kb__dot {
    animation: none;
  }

  .l-kb__log.is-glide,
  .l-kb__hub,
  .l-kb__link,
  .l-kb__path {
    transition: none;
  }
}

@container slide (max-width: 600px) {
  .l-kb {
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
    align-items: start;
    gap: var(--space-12);
    padding: var(--space-64) var(--space-20) 0;
  }

  .l-kb__chat {
    margin-top: var(--space-12);
  }

  /* The phone canvas holds the text, the chat and the whole network in 844 px. */
  .l-kb__window {
    height: 150px;
  }

  .l-kb__count {
    font-size: var(--fs-12);
    line-height: var(--lh-12);
  }

  .l-kb__hub.is-minor .l-kb__label {
    display: none;
  }

  .l-kb__label,
  .l-kb__path-label {
    font-size: var(--fs-22);
  }
}

/* ===========================================================================
   4 Chat: the question types itself, Miko reads, the answer builds.
   ======================================================================== */
.l-text--chat {
  top: 240px;
  width: 420px;
}

.l-stage--chat {
  top: 72px;
  left: 560px;
  width: 640px;
}

.l-composer {
  display: flex;
  align-items: center;
  gap: var(--space-12);
  height: 56px;
  padding: 0 var(--space-8) 0 var(--space-20);
  border-radius: var(--radius-composer);
  background: var(--raised);
  box-shadow: var(--shadow-3);
  font-size: var(--fs-16);
  line-height: var(--lh-16);
}

.l-composer__q {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
}

.l-typed {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  white-space: nowrap;
}

.l-caret {
  display: none;
  width: 2px;
  height: 20px;
  background: var(--accent);
  vertical-align: middle;
}

.is-play .l-typed {
  animation: l-type var(--duration-landing-type) steps(46, end) both 200ms;
}

.is-play .l-caret {
  display: inline-block;
  animation: l-blink var(--duration-landing-blink) steps(1) 4 both;
}

.l-stage--chat .l-status {
  height: 20px;
  margin: var(--space-20) 0 0 var(--space-8);
  opacity: 0;
}

.is-play .l-stage--chat .l-status {
  animation: l-status var(--duration-landing-status) linear both;
}

.l-answer {
  display: grid;
  gap: var(--space-12);
  margin-top: var(--space-16);
  padding: var(--space-20) var(--space-24);
  border-radius: var(--radius-24);
  background: var(--raised);
  box-shadow: var(--shadow-3);
}

.l-answer__who {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.l-answer__lead {
  font-size: var(--fs-18);
  line-height: var(--lh-18);
  letter-spacing: var(--ls-18);
  font-weight: var(--weight-600);
}

.l-sources {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
}

.l-source {
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  height: 28px;
  padding: 0 var(--space-12) 0 var(--space-4);
  border-radius: var(--radius-pill);
  background: var(--surface-2);
  color: var(--text-2);
  font-size: var(--fs-12);
  line-height: var(--lh-12);
  font-weight: var(--weight-500);
}

.l-source b {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: var(--radius-pill);
  background: var(--surface-3);
  color: var(--text);
  font-size: var(--fs-12);
  line-height: var(--lh-12);
}

.l-acts {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
}

.l-acts a.l-chip {
  color: var(--text);
  text-decoration: none;
}

.l-acts a.l-chip:hover {
  border-color: var(--text);
}

.l-answer__basis {
  color: var(--text-2);
  font-size: var(--fs-13);
  line-height: var(--lh-13);
}

/* ===========================================================================
   5 Proof: the app at work, the invoices behind the number.
   ======================================================================== */
.l-text--proof {
  top: 150px;
  width: 380px;
}

.l-window--proof {
  top: 64px;
  left: 500px;
  width: 700px;
  height: 680px;
}

.l-bubble {
  align-self: flex-end;
  max-width: 80%;
  padding: var(--space-8) var(--space-12);
  border-radius: var(--radius-16);
  background: var(--surface-3);
  font-size: var(--fs-14);
  line-height: var(--lh-14);
}

.l-total {
  display: flex;
  align-items: center;
  gap: var(--space-12);
}

.l-total__value {
  font-size: var(--fs-36);
  line-height: var(--lh-36);
  letter-spacing: var(--ls-36);
  font-weight: var(--weight-700);
  font-variant-numeric: tabular-nums;
}

.l-invoices {
  display: flex;
  align-items: flex-start;
  gap: var(--space-12);
}

.l-invoices .table-wrap {
  flex: 1;
  min-width: 0;
  border: var(--border-1) solid var(--line);
  border-radius: var(--radius-10);
}

.l-table th {
  background: var(--surface-2);
}

.l-table td {
  vertical-align: top;
}

.l-invoices .table-wrap[hidden] {
  display: none;
}

.l-table th,
.l-table td,
.l-table th:first-child,
.l-table td:first-child,
.l-table th:last-child,
.l-table td:last-child {
  padding: var(--space-8);
  font-size: var(--fs-12);
  line-height: var(--lh-12);
}

.l-table small {
  display: block;
  color: var(--text-3);
}

.l-mono {
  font-family: var(--font-mono);
}

.l-phone-only {
  display: none;
}

.l-sum td {
  background: var(--surface-2);
  font-weight: var(--weight-600);
}

/* ===========================================================================
   6 Dashboards: a chat with Miko builds the dashboard, in the app.
   ======================================================================== */
.l-title--line {
  font-size: var(--fs-48);
  line-height: var(--lh-48);
}

.l-window--wide {
  top: 176px;
  left: 96px;
  width: 1088px;
  height: 600px;
}

.l-app__main--dash {
  flex-direction: row;
  gap: var(--space-16);
  padding: var(--space-16);
}

.l-chatcol {
  display: flex;
  flex: none;
  flex-direction: column;
  justify-content: flex-end;
  gap: var(--space-8);
  width: 300px;
}

.l-msg {
  max-width: 92%;
  padding: var(--space-8) var(--space-12);
  border-radius: var(--radius-16);
  font-size: var(--fs-14);
  line-height: var(--lh-14);
}

.l-msg--u {
  align-self: flex-end;
  background: var(--surface-3);
}

.l-msg--m {
  align-self: flex-start;
  background: var(--raised);
  box-shadow: var(--shadow-2);
}

.l-msg .l-who__mark {
  display: block;
  margin-bottom: var(--space-4);
}

.l-status--small {
  font-size: var(--fs-12);
  line-height: var(--lh-12);
}

.l-dash {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: var(--space-12);
  min-width: 0;
  padding: var(--space-16) var(--space-20);
  border-radius: var(--radius-24);
  background: var(--raised);
  box-shadow: var(--shadow-2);
}

.l-dash__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-12);
}

.l-dash__name {
  font-size: var(--fs-18);
  line-height: var(--lh-18);
  letter-spacing: var(--ls-18);
  font-weight: var(--weight-600);
}

.l-dash__sub {
  color: var(--text-2);
  font-size: var(--fs-12);
  line-height: var(--lh-12);
}

.l-dash__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: var(--space-12);
}

.l-cols {
  display: flex;
  align-items: flex-end;
  gap: var(--space-12);
  height: 140px;
}

.l-col {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  height: 100%;
}

.l-col__value {
  font-size: var(--fs-12);
  line-height: var(--lh-12);
  font-weight: var(--weight-500);
}

.l-col.is-top .l-col__value {
  font-weight: var(--weight-700);
}

.l-col__bar {
  display: flex;
  flex: 1;
  align-items: flex-end;
  width: 56px;
}

.l-col__bar i {
  display: block;
  width: 100%;
  border-radius: var(--radius-6) var(--radius-6) 0 0;
  background: var(--chart);
  transform-origin: 50% 100%;
}

.l-col.is-top .l-col__bar i {
  background: var(--accent);
}

.is-play .l-col__bar i {
  animation: l-grow-y var(--duration-landing-grow) var(--ease-settle) both;
  animation-delay: 2300ms;
}

.l-col__label {
  color: var(--text-2);
  font-size: var(--fs-12);
  line-height: var(--lh-12);
  text-align: center;
}

.l-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-8);
  padding: var(--space-8) var(--space-12);
  border-radius: var(--radius-10);
  background: var(--surface-2);
  font-size: var(--fs-13);
  line-height: var(--lh-13);
}

.l-share__label {
  font-weight: var(--weight-600);
}

.l-seg {
  display: inline-flex;
  padding: var(--space-2);
  border: var(--border-1) solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--bg);
}

.l-seg button {
  padding: var(--space-4) var(--space-12);
  border: 0;
  border-radius: var(--radius-pill);
  background: none;
  color: var(--text-2);
  font: inherit;
  font-size: var(--fs-12);
  line-height: var(--lh-12);
  cursor: pointer;
}

.l-seg button[aria-pressed='true'] {
  background: var(--primary);
  color: var(--on-primary);
}

.l-share__roles {
  display: inline-flex;
  gap: var(--space-8);
}

.l-share__roles[hidden] {
  display: none;
}

.l-avatars {
  display: inline-flex;
  gap: var(--space-2);
  margin-left: auto;
}

.l-avatars i,
.l-avatars b {
  display: grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  border-radius: var(--radius-pill);
  background: var(--surface-2);
  font-size: var(--fs-12);
  line-height: var(--lh-12);
  font-style: normal;
  font-weight: var(--weight-600);
}

.l-avatars b {
  background: var(--primary);
  color: var(--on-primary);
}

/* ===========================================================================
   7 Apps: the production app, its 3D line and its charts.
   ======================================================================== */
.l-app__main--apps {
  gap: var(--space-8);
  padding: 0;
}

.l-prod__bar {
  display: flex;
  flex: none;
  align-items: center;
  gap: var(--space-12);
  height: 40px;
  padding: 0 var(--space-16);
  border-bottom: var(--border-1) solid var(--line);
  font-size: var(--fs-14);
  line-height: var(--lh-14);
}

.l-prod__ask {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  color: var(--text-2);
  font-size: var(--fs-13);
  line-height: var(--lh-13);
  font-style: italic;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.l-live {
  display: inline-flex;
  align-items: center;
  gap: var(--space-4);
  color: var(--ok);
  font-size: var(--fs-12);
  line-height: var(--lh-12);
  font-weight: var(--weight-500);
}

.l-live i {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-pill);
  background: var(--ok);
}

.l-kpis--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 0 var(--space-16);
}

.l-kpis--four b {
  font-size: var(--fs-16);
  line-height: var(--lh-16);
}

.l-kpis .is-bottleneck b {
  font-size: var(--fs-14);
  line-height: var(--lh-14);
  font-weight: var(--weight-400);
}

.l-kpis .is-bottleneck .l-icon {
  color: var(--warn);
}

.l-fac {
  display: block;
  width: 100%;
  height: auto;
  cursor: grab;
  touch-action: none;
}

.lf-floor {
  fill: var(--surface-2);
}

.lf-lane {
  fill: var(--line);
}

.lf-steel {
  fill: var(--raised);
}

.lf-steel2 {
  fill: var(--line);
}

.lf-steel3 {
  fill: var(--edge);
}

.lf-dark {
  fill: var(--text-2);
}

.lf-ink {
  fill: var(--text);
}

.lf-glass {
  fill: var(--text-3);
}

.lf-oven {
  fill: var(--warn);
}

.lf-oven2 {
  fill: var(--warn);
}

.lf-led {
  fill: var(--ok);
}

.lf-alarm {
  fill: var(--err);
}

.lf-card rect {
  fill: var(--raised);
  stroke: var(--line);
}

.lf-card.is-bottleneck rect {
  stroke: var(--warn);
  stroke-width: 1.5;
}

.lf-card__pin {
  stroke: var(--line-strong);
  stroke-dasharray: 2 3;
}

.lf-card__name {
  fill: var(--text-2);
  font-family: var(--font-sans);
  font-size: var(--fs-12);
  font-weight: var(--weight-600);
}

.lf-card__value {
  fill: var(--text);
  font-family: var(--font-sans);
  font-size: var(--fs-14);
  font-weight: var(--weight-700);
}

.lf-card__sub {
  fill: var(--text-3);
  font-family: var(--font-sans);
  font-size: var(--fs-12);
  font-weight: var(--weight-500);
}

.lf-card.is-bottleneck .lf-card__value,
.lf-card.is-bottleneck .lf-card__sub {
  fill: var(--warn);
}

.lf-card__spark {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.6;
}

.lf-card.is-bottleneck .lf-card__spark {
  stroke: var(--warn);
}

.l-prod__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-8);
  padding: 0 var(--space-12) var(--space-12);
}

.l-spark {
  display: block;
  width: 100%;
  height: 54px;
}

.l-spark__area {
  fill: var(--accent-soft);
}

.l-spark__line {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
}

.l-spark__plan {
  stroke: var(--line-strong);
  stroke-dasharray: 4 4;
}

.l-spark__x {
  display: flex;
  justify-content: space-between;
  color: var(--text-3);
  font-size: var(--fs-12);
  line-height: var(--lh-12);
}

.l-oee {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) 36px;
  gap: var(--space-8);
  align-items: center;
  font-size: var(--fs-12);
  line-height: var(--lh-12);
}

.l-oee__track {
  height: 8px;
  overflow: hidden;
  border-radius: var(--radius-6);
  background: var(--bg);
}

.l-oee.is-bottleneck {
  color: var(--warn);
  font-weight: var(--weight-700);
}

.l-oee.is-bottleneck .l-oee__track i {
  background: var(--warn);
}

.l-advice {
  margin-bottom: var(--space-8);
  font-size: var(--fs-13);
  line-height: var(--lh-13);
}

.l-chip {
  display: inline-flex;
  align-items: center;
  height: var(--control-32);
  padding: 0 var(--space-12);
  border: var(--border-1) solid var(--line-strong);
  border-radius: var(--radius-pill);
  font-size: var(--fs-13);
  line-height: var(--lh-13);
}

/* ===========================================================================
   7b Agents (Sprint 19, the captain's approved design round 14, in place of
   the Sprint 17 task slide): five examples as picture cards, the systems it
   works in, three steps, and a board where the request is typed, the flow is
   built block by block, a person switches it on once and it runs by itself.
   The example happens inside the app, open on a screen in light mode: the
   same window, bar and rail as Dashboards and Apps (follows the page theme).
   On a phone it is taller than the others and the flow stacks.
   ======================================================================== */
.l-slide--agents {
  --l-agents-height: 1480px;
  --ag-ok: var(--ok-700);
  --ag-ok-line: var(--ok-300);
  --ag-warn: var(--warn-700);
  --ag-iris: var(--iris-600);
  --ag-iris-2: var(--iris-700);
  --ag-white: var(--mist-50);
}

[data-theme='dark'] .l-slide--agents {
  --ag-ok: var(--ok-300);
  --ag-ok-line: var(--ok-700);
  --ag-warn: var(--warn-300);
  --ag-iris: var(--iris-400);
  --ag-iris-2: var(--iris-300);
}

@media (max-width: 719.98px) {
  .l-slide--agents {
    height: calc(var(--l-agents-height) * var(--l-zoom, 1));
  }

  .l-slide--agents > .l-canvas {
    height: var(--l-agents-height);
  }
}

/* The app window, in the deck column like Apps; below the two-line title. */
.l-window--agents {
  top: 224px;
  height: 552px;
}

.l-app__main--agents {
  gap: 0;
  padding: 0;
}

/* The screen's own bar: its name, the systems it works in, "Voorbeeld". */
.l-ag__bar > b {
  flex: none;
}

/* The five agents, the steps and the note on the left; the board on the right. */
.l-ag__work {
  display: flex;
  flex: 1;
  gap: var(--space-12);
  min-height: 0;
  padding: var(--space-12) var(--space-16) var(--space-12) var(--space-12);
}

.l-ag__side {
  display: flex;
  flex: none;
  flex-direction: column;
  gap: var(--space-12);
  width: 196px;
}

.l-ag__stage {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}

.l-ag__glyph {
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.l-ag__badge {
  flex: none;
  padding: 0 var(--space-8);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-pill);
  color: var(--text-2);
  font-size: var(--fs-12);
  line-height: var(--lh-12);
  white-space: nowrap;
}

/* The five examples. */
/* A list of the five agents, as the app lists them; five tiles on a phone. */
.l-ag__pick {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-4);
}

.l-ag__card {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-8);
  padding: var(--space-4) var(--space-12) var(--space-4) var(--space-4);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-10);
  background: var(--landing-agent-card);
  color: var(--text-3);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color var(--duration-260) ease, color var(--duration-260) ease, transform var(--duration-260) ease;
}

.l-ag__card:hover {
  border-color: var(--line-strong);
}

.l-ag__card:focus-visible,
.l-ag__send:focus-visible,
.l-ag__play:focus-visible,
.l-ag__yes:focus-visible,
.l-ag__no:focus-visible {
  outline: var(--focus-width) solid var(--ag-iris-2);
  outline-offset: var(--focus-offset);
}

.l-ag__card-ic {
  display: grid;
  flex: none;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: var(--radius-10);
  background: var(--surface-3);
  transition: box-shadow var(--duration-260) ease;
}

.l-ag__card-ic .l-ag__glyph {
  width: 18px;
  height: 18px;
}

.l-ag__card-l {
  font-size: var(--fs-13);
  line-height: var(--lh-13);
  font-weight: var(--weight-600);
}

.l-ag__card > i {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--surface-3);
}

.l-ag__card > i b {
  display: block;
  width: 0;
  height: 100%;
  background: var(--ag-iris);
}

.l-ag__card.is-cur {
  border-color: var(--ag-iris);
  background: var(--landing-agent-card-current);
  color: var(--text);
}

.l-ag__card.is-cur .l-ag__card-ic {
  background: var(--landing-agent-orb);
  color: var(--ag-white);
  box-shadow: var(--landing-agent-lift);
}

.l-ag__card.is-seen {
  color: var(--text-2);
}

.l-ag__card.is-seen > i b {
  background: var(--ag-ok-line);
}

/* The systems it works in. */
.l-ag__tools {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-8);
  min-width: 0;
}

.l-ag__tl {
  color: var(--text-3);
  font-size: var(--fs-13);
  line-height: var(--lh-13);
}

.l-ag__t {
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  padding: var(--space-2) var(--space-8);
  border: 1px solid var(--line);
  border-radius: var(--radius-6);
  background: var(--surface);
  color: var(--text-3);
  font-size: var(--fs-13);
  line-height: var(--lh-13);
  transition: color var(--duration-260) ease, border-color var(--duration-260) ease;
}

.l-ag__t.is-use {
  border-color: var(--ag-iris);
  background: var(--landing-agent-iris);
  color: var(--text);
}

.l-ag__t.is-use::after {
  width: 7px;
  height: 7px;
  border-radius: var(--radius-round);
  background: var(--ag-warn);
  content: '';
}

.l-ag__t.is-on::after {
  background: var(--ag-ok);
}

.l-ag__t--more {
  border-style: dashed;
}

/* The three steps, down the left panel; across the screen on a phone. */
.l-ag__steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-4);
  margin: 0;
  padding: 0;
  list-style: none;
}

.l-ag__steps li {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  padding: var(--space-2) 0 var(--space-2) var(--space-8);
  border-left: 3px solid var(--surface-3);
  color: var(--text-3);
  font-size: var(--fs-14);
  line-height: var(--lh-14);
  transition: color var(--duration-260) ease, border-color var(--duration-260) ease;
}

.l-ag__steps li b {
  display: grid;
  flex: none;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: var(--radius-round);
  background: var(--surface-3);
  color: var(--text-3);
  font-size: var(--fs-12);
  line-height: var(--lh-12);
}

.l-ag__steps li.is-now {
  border-left-color: var(--ag-iris);
  color: var(--text);
}

.l-ag__steps li.is-now b {
  background: var(--iris-600);
  color: var(--ag-white);
}

.l-ag__steps li.is-done {
  border-left-color: var(--ag-ok-line);
  color: var(--text-2);
}

.l-ag__steps li.is-done b {
  background: var(--landing-agent-ok);
  color: var(--ag-ok);
}

/* The board: the request, the reply, the flow and its state. It fills the
   right of the screen; the flow sits in the middle of what is left. */
.l-ag__board {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
  padding: var(--space-12);
  border: 1px solid var(--line);
  border-radius: var(--radius-16);
  background: var(--landing-agent-board);
}

.l-ag__prompt {
  display: flex;
  align-items: flex-end;
  gap: var(--space-8);
  padding: var(--space-8) var(--space-8) var(--space-8) var(--space-12);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-16);
  background: var(--bg);
  transition: border-color var(--duration-260) ease, box-shadow var(--duration-260) ease;
}

.l-ag__prompt:focus-within,
.l-ag__prompt.is-typing {
  border-color: var(--ag-iris);
  box-shadow: var(--landing-agent-ring);
}

.l-ag__say {
  flex: 1;
  min-width: 0;
  height: 2.1em;
  padding: var(--space-4) 0;
  overflow: hidden;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: var(--fs-16);
  line-height: var(--lh-16);
  resize: none;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.l-ag__say:focus {
  outline: none;
}

.l-ag__send {
  display: grid;
  flex: none;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: var(--radius-10);
  background: var(--iris-600);
  color: var(--ag-white);
  cursor: pointer;
  transition: transform var(--duration-120) ease;
}

.l-ag__send.is-press,
.l-ag__yes.is-press {
  box-shadow: var(--landing-agent-press);
  transform: scale(0.88);
}

.l-ag__reply {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  min-height: 1.5em;
  margin: var(--space-8) var(--space-2) 0;
  color: var(--ag-iris-2);
  font-size: var(--fs-14);
  line-height: var(--lh-14);
}

.l-ag__reply:empty {
  visibility: hidden;
}

.l-ag__reply::before {
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: var(--radius-round);
  background: var(--landing-agent-orb);
  content: '';
}

/* At least as tall as the mailbox example's three bins. */
.l-ag__flow {
  display: flex;
  flex: 1;
  align-items: center;
  min-height: 232px;
  padding: var(--space-8) 0 var(--space-4);
}

.l-ag__n {
  position: relative;
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  min-width: 0;
  max-width: 170px;
  min-height: 104px;
  padding: var(--space-12) var(--space-8);
  border: 1px solid var(--line);
  border-radius: var(--radius-16);
  background: var(--surface);
  text-align: center;
  transition: border-color var(--duration-260) ease, box-shadow var(--duration-260) ease;
  animation: l-ag-pop var(--duration-420) cubic-bezier(0.2, 0.8, 0.2, 1.2) both;
}

.l-ag__n > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  min-width: 0;
  max-width: 100%;
}

.l-ag__n b {
  color: var(--text);
  font-size: var(--fs-14);
  line-height: var(--lh-14);
}

.l-ag__n small,
.l-ag__tick {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.l-ag__ic {
  display: grid;
  flex: none;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-16);
  background: var(--surface-3);
  color: var(--text);
}

.l-ag__n.is-product .l-ag__ic {
  background: var(--landing-agent-orb);
  color: var(--ag-white);
}

.l-ag__n.is-live {
  border-color: var(--ag-iris);
  background: var(--landing-agent-iris);
  box-shadow: var(--landing-agent-live);
}

.l-ag__n.is-ok {
  border-color: var(--ag-ok-line);
}

/* The round mark on a block: busy while it connects, a tick once done. */
.l-ag__pill {
  position: absolute;
  top: -8px;
  right: -8px;
  z-index: var(--z-1);
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid var(--ag-ok-line);
  border-radius: var(--radius-round);
  background-color: var(--bg);
  background-image: linear-gradient(var(--landing-agent-ok), var(--landing-agent-ok));
  color: var(--ag-ok);
  font-size: 0;
  /* The hidden label must not take a line, or the tick sits off centre. */
  line-height: 0;
}

.l-ag__pill[hidden] {
  display: none;
}

.l-ag__pill::before {
  width: 9px;
  height: 5px;
  border: solid currentColor;
  border-width: 0 0 2px 2px;
  content: '';
  transform: rotate(-45deg) translate(1px, -1px);
}

.l-ag__pill.is-busy {
  border-color: var(--ag-iris);
  background-image: linear-gradient(var(--landing-agent-iris), var(--landing-agent-iris));
  color: var(--ag-iris-2);
}

.l-ag__pill.is-busy::before {
  width: 10px;
  height: 10px;
  border-width: 2px;
  border-color: currentColor currentColor currentColor transparent;
  border-radius: var(--radius-round);
  transform: none;
  animation: l-ag-spin var(--duration-landing-turn) linear infinite;
}

/* The connectors, with a dot running along when work passes. */
.l-ag__c {
  position: relative;
  flex: 0 0 28px;
  align-self: center;
  height: 2px;
  background: var(--line-strong);
  transform-origin: left center;
  animation: l-ag-grow var(--duration-420) ease both;
}

.l-ag__c.is-go::after {
  position: absolute;
  top: -4px;
  left: -5px;
  width: 10px;
  height: 10px;
  border-radius: var(--radius-round);
  background: var(--ag-iris-2);
  box-shadow: var(--landing-agent-dot);
  content: '';
  animation: l-ag-dot-x var(--duration-landing-enter) ease-in both;
}

/* The bins the work lands in, filling with icons. */
.l-ag__bins {
  display: flex;
  flex: 1.9 1 0;
  flex-direction: column;
  gap: var(--space-8);
  min-width: 0;
  animation: l-ag-pop var(--duration-420) cubic-bezier(0.2, 0.8, 0.2, 1.2) both;
}

.l-ag__bin {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: var(--space-4);
  min-width: 0;
  padding: var(--space-8) var(--space-8);
  border: 1px solid var(--line);
  border-radius: var(--radius-16);
  background: var(--surface);
  transition: border-color var(--duration-260) ease;
}

.l-ag__bin.is-hit {
  border-color: var(--ag-iris);
}

.l-ag__bin-head {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  color: var(--text);
  font-size: var(--fs-13);
  line-height: var(--lh-13);
  font-weight: var(--weight-700);
}

.l-ag__bin ul {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  min-height: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.l-ag__bin li {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-6);
  background: var(--surface-2);
  animation: l-ag-in var(--duration-420) ease both;
}

.l-ag--muted {
  --ag-tone: var(--text-3);
}

.l-ag--ok {
  --ag-tone: var(--ag-ok);
}

.l-ag--iris {
  --ag-tone: var(--ag-iris-2);
}

.l-ag--warn {
  --ag-tone: var(--ag-warn);
}

.l-ag__bin .l-ag__glyph {
  color: var(--ag-tone);
}

/* The receivables list and the sales chart. */
.l-ag__list {
  flex: 1.8 1 0;
  align-items: stretch;
  max-width: 270px;
  text-align: left;
}

/* The icon beside the title, as in the design; the block's own column rule
   (.l-ag__n > div) would otherwise stack them. */
.l-ag__list > .l-ag__hd {
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
}

.l-ag__hd .l-ag__ic {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-10);
}

.l-ag__rows {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin: var(--space-2) 0 0;
  padding: 0;
  list-style: none;
}

.l-ag__rows li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--space-2) var(--space-8);
  color: var(--text);
  font-size: var(--fs-12);
  line-height: var(--lh-12);
  animation: l-ag-in var(--duration-420) ease both;
}

.l-ag__rows li span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.l-ag__rows li em {
  color: var(--ag-warn);
  font-style: normal;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.l-ag__rows li i {
  grid-column: 1 / -1;
  height: 4px;
  overflow: hidden;
  border-radius: var(--radius-pill);
  background: var(--surface-3);
}

.l-ag__rows li i::before {
  display: block;
  width: var(--w);
  height: 100%;
  border-radius: var(--radius-pill);
  background: var(--landing-agent-bar);
  content: '';
  animation: l-ag-bar var(--duration-landing-enter) ease both;
}

.l-ag__bars {
  display: flex;
  align-items: flex-end;
  gap: var(--space-8);
  height: 70px;
  margin: var(--space-8) 0 var(--space-2);
  padding: 0;
  list-style: none;
}

.l-ag__bars li {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: flex-end;
  min-width: 0;
  height: 100%;
}

.l-ag__bars li i {
  display: block;
  height: var(--h);
  border-radius: var(--radius-6) var(--radius-6) 0 0;
  background: var(--landing-agent-chart);
  animation: l-ag-bar-h var(--duration-landing-enter) cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

/* The team that gets the list. */
.l-ag__team {
  display: flex;
  justify-content: center;
}

.l-ag__av {
  width: 22px;
  height: 22px;
  margin-left: calc(var(--space-4) * -1.5);
  border: 2px solid var(--surface);
  border-radius: var(--radius-round);
}

.l-ag__av--1 {
  background: var(--iris-400);
}

.l-ag__av--2 {
  background: var(--ok-300);
}

.l-ag__av--3 {
  background: var(--warn-300);
}

/* Ready to switch on, then running by itself. */
.l-ag__on {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-12);
  min-height: 32px;
  margin-top: 0;
  color: var(--text);
  font-size: var(--fs-14);
  line-height: var(--lh-14);
  text-align: center;
}

.l-ag__on:empty {
  visibility: hidden;
}

.l-ag__on > * {
  animation: l-ag-in var(--duration-420) ease both;
}

.l-ag__ask {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-8);
}

.l-ag__yes,
.l-ag__no {
  padding: var(--space-4) var(--space-12);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-10);
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: var(--fs-13);
  line-height: var(--lh-13);
  cursor: pointer;
  transition: transform var(--duration-120) ease;
}

.l-ag__yes {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--on-primary);
  font-weight: var(--weight-600);
}

.l-ag__state {
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  color: var(--text);
}

.l-ag__state > i {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-round);
  background: var(--ag-ok);
  animation: l-ag-pulse var(--duration-landing-pulse) ease-out infinite;
}

.l-ag__state small {
  color: var(--ag-ok);
  font-size: var(--fs-12);
  line-height: var(--lh-12);
}

.l-ag__days {
  display: flex;
  gap: var(--space-4);
}

.l-ag__days span {
  min-width: 76px;
  padding: var(--space-2) var(--space-8);
  border: 1px solid var(--line);
  border-radius: var(--radius-6);
  color: var(--text-3);
  font-size: var(--fs-12);
  line-height: var(--lh-12);
  text-align: center;
  transition: color var(--duration-260) ease, border-color var(--duration-260) ease;
}

.l-ag__days span.is-cur {
  border-color: var(--ag-iris);
  background: var(--landing-agent-iris);
  color: var(--text);
}

.l-ag__days span.is-did {
  border-color: var(--ag-ok-line);
  background: var(--landing-agent-ok);
  color: var(--ag-ok);
}

.l-ag__away {
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  color: var(--text-3);
  font-size: var(--fs-13);
  line-height: var(--lh-13);
}

/* The work in flight, drawn by agents.js. */
.l-ag__fly {
  position: absolute;
  top: 0;
  left: 0;
  z-index: var(--z-20);
  display: grid;
  place-items: center;
  padding: var(--space-8);
  border: 1px solid var(--ag-iris);
  border-radius: var(--radius-round);
  background: var(--iris-950);
  color: var(--ag-white);
  box-shadow: var(--landing-agent-fly);
  pointer-events: none;
}

/* Play and pause, and how far the five examples are. */
.l-ag__video {
  display: flex;
  flex: none;
  align-items: center;
  gap: var(--space-8);
  margin-top: var(--space-8);
}

.l-ag__play {
  display: grid;
  flex: none;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-round);
  background: var(--surface-2);
  color: var(--text);
  cursor: pointer;
}

.l-ag__go,
.is-paused .l-ag__pause {
  display: none;
}

.is-paused .l-ag__go {
  display: block;
}

.l-ag__prog {
  flex: 1;
  height: 4px;
  overflow: hidden;
  border-radius: var(--radius-pill);
  background: var(--surface-3);
}

.l-ag__prog i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: var(--radius-pill);
  background: var(--ag-iris);
}

.l-ag__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-8);
  margin: auto 0 0;
  color: var(--text-3);
  font-size: var(--fs-12);
  line-height: var(--lh-12);
}

@keyframes l-ag-pop {
  from {
    opacity: 0;
    transform: scale(0.6);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes l-ag-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes l-ag-grow {
  from {
    transform: scaleX(0);
  }
}

@keyframes l-ag-grow-y {
  from {
    transform: scaleY(0);
  }
}

@keyframes l-ag-dot-x {
  from {
    left: -5px;
    opacity: 0;
  }

  20% {
    opacity: 1;
  }

  to {
    left: calc(100% - 5px);
    opacity: 0.2;
  }
}

@keyframes l-ag-dot-y {
  from {
    top: -5px;
    opacity: 0;
  }

  20% {
    opacity: 1;
  }

  to {
    top: calc(100% - 5px);
    opacity: 0.2;
  }
}

@keyframes l-ag-bar {
  from {
    width: 0;
  }
}

@keyframes l-ag-bar-h {
  from {
    height: 0;
  }
}

@keyframes l-ag-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes l-ag-pulse {
  from {
    box-shadow: var(--landing-agent-pulse);
  }

  to {
    box-shadow: var(--landing-agent-pulse-end);
  }
}

/* The phone canvas: the flow stacks, a block is a row with its icon left. */
@container slide (max-width: 600px) {
  /* The same window as Apps on a phone, as tall as what it shows, so the
     board has no empty band below the last block (two classes: the shared
     phone window rule comes later in the file). */
  .l-window.l-window--agents {
    top: 284px;
    height: auto;
  }

  .l-ag__bar {
    flex-wrap: wrap;
    gap: var(--space-8);
    height: auto;
    padding: var(--space-8) var(--space-12);
  }

  .l-ag__bar > b {
    flex: 1;
  }

  .l-ag__bar .l-ag__tools {
    flex-basis: 100%;
    order: 1;
  }

  /* One column: the agents, the steps, the board, then the note. */
  .l-ag__work {
    flex-direction: column;
    padding: var(--space-8);
  }

  .l-ag__side {
    display: contents;
  }

  .l-ag__stage {
    order: 1;
  }

  .l-ag__foot {
    order: 2;
    margin: 0;
  }

  /* The agents as the same list rows as on a wide screen, two per line and
     the fifth across, so every name fits in full. */
  .l-ag__pick {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .l-ag__card:last-child {
    grid-column: 1 / -1;
  }

  .l-ag__tl {
    flex-basis: 100%;
  }

  .l-ag__t {
    font-size: var(--fs-12);
    line-height: var(--lh-12);
  }

  .l-ag__steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .l-ag__steps li {
    gap: var(--space-4);
    padding: var(--space-4) 0 0;
    border-top: 3px solid var(--surface-3);
    border-left: 0;
    font-size: var(--fs-12);
    line-height: var(--lh-12);
  }

  .l-ag__steps li.is-now {
    border-top-color: var(--ag-iris);
  }

  .l-ag__steps li.is-done {
    border-top-color: var(--ag-ok-line);
  }

  .l-ag__steps li b {
    width: 19px;
    height: 19px;
  }

  .l-ag__say {
    font-size: var(--fs-14);
    line-height: var(--lh-14);
  }

  /* As tall as its blocks: the run state follows the last block directly. */
  .l-ag__board,
  .l-ag__flow {
    flex: none;
  }

  .l-ag__flow {
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
  }

  .l-ag__n,
  .l-ag__list {
    flex: none;
    flex-direction: row;
    justify-content: flex-start;
    gap: var(--space-8);
    max-width: none;
    min-height: 0;
    padding: var(--space-8);
    text-align: left;
  }

  .l-ag__n > div {
    flex: 1;
    align-items: flex-start;
  }

  .l-ag__ic {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-10);
  }

  .l-ag__n .l-ag__pill {
    top: calc(50% - 11px);
    right: var(--space-8);
  }

  .l-ag__list {
    flex-direction: column;
    align-items: stretch;
  }

  .l-ag__list > .l-ag__hd {
    justify-content: flex-start;
  }

  .l-ag__c {
    flex: 0 0 14px;
    align-self: auto;
    width: 2px;
    height: auto;
    margin-left: var(--space-24);
    transform-origin: center top;
    animation-name: l-ag-grow-y;
  }

  .l-ag__c.is-go::after {
    top: -5px;
    left: -4px;
    animation-name: l-ag-dot-y;
  }

  .l-ag__bins {
    flex: none;
  }

  .l-ag__team {
    justify-content: flex-start;
    padding-left: var(--space-8);
  }

  .l-ag__on {
    gap: var(--space-8);
  }

  .l-ag__days {
    flex: 1 1 100%;
  }

  .l-ag__days span {
    flex: 1;
    min-width: 0;
    padding: var(--space-2) var(--space-4);
  }
}

@media (prefers-reduced-motion: reduce) {
  .l-ag__n,
  .l-ag__bins,
  .l-ag__c,
  .l-ag__bin li,
  .l-ag__rows li,
  .l-ag__rows li i::before,
  .l-ag__bars li i,
  .l-ag__on > *,
  .l-ag__state > i,
  .l-ag__pill.is-busy::before {
    animation: none;
  }

  .l-ag__c.is-go::after {
    display: none;
  }

  .l-ag__card {
    transition: none;
  }
}

/* ===========================================================================
   8 Costs: what you use now against Miko, the captain's approved design of
   01-11-2026. The people slider, the systems on the left (each grows with the
   slider; "and more" has no amount), an arrow, Miko on the right: the money
   first with its two parts apart, then hours and "systems become 1". On a
   phone the slide is taller than the others and the panels stack.
   ======================================================================== */
.l-slide--costs {
  --l-cost-height: 1400px;
}

.l-text--costs {
  top: 84px;
  width: 640px;
}

.l-title--costs .l-title__2 {
  display: block;
}

.l-emp {
  top: 116px;
  right: 96px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--space-8) var(--space-12);
  align-items: center;
  width: 300px;
  color: var(--text-2);
  font-size: var(--fs-14);
  line-height: var(--lh-14);
  font-weight: var(--weight-600);
}

.l-emp input {
  grid-column: 1 / -1;
  width: 100%;
  accent-color: var(--accent);
}

.l-emp output {
  color: var(--text);
  font-size: var(--fs-28);
  line-height: var(--lh-28);
  font-weight: var(--weight-700);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.l-emp__ticks {
  display: flex;
  grid-column: 1 / -1;
  justify-content: space-between;
  margin-top: calc(var(--space-4) * -1);
  color: var(--text-3);
  font-size: var(--fs-12);
  line-height: var(--lh-12);
  font-weight: var(--weight-500);
  font-variant-numeric: tabular-nums;
}

.l-build {
  top: 236px;
  left: 96px;
  display: flex;
  flex-direction: column;
  width: 516px;
  height: 460px;
  padding: var(--space-24);
  border: var(--border-1) solid var(--line);
  border-radius: var(--radius-composer);
  background: var(--raised);
  box-shadow: var(--shadow-3);
}

.l-build__label {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  margin-bottom: var(--space-16);
  color: var(--text-2);
  font-size: var(--fs-14);
  line-height: var(--lh-14);
  font-weight: var(--weight-600);
}

.l-build__dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-pill);
  background: var(--warn);
}

.l-tools {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-8);
}

.l-tool {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-12) var(--space-8);
  border: var(--border-1) solid var(--line);
  border-radius: var(--radius-16);
  background: var(--surface-2);
  text-align: center;
}

.l-tool__mark {
  width: 28px;
  height: 28px;
  margin-bottom: var(--space-4);
  color: var(--text);
}

.l-tool b {
  font-size: var(--fs-13);
  line-height: var(--lh-13);
  font-weight: var(--weight-600);
}

.l-tool span {
  white-space: nowrap;
  font-size: var(--fs-16);
  line-height: var(--lh-16);
  font-weight: var(--weight-700);
  font-variant-numeric: tabular-nums;
}

/* "And more": a hint only, without an amount, across the full width. */
.l-tool--more {
  flex-direction: row;
  grid-column: 1 / -1;
  gap: var(--space-12);
  padding: var(--space-12) var(--space-16);
  border-style: dashed;
  background: transparent;
  text-align: left;
}

.l-tool--more .l-tool__mark {
  width: 24px;
  height: 24px;
  margin-bottom: 0;
  color: var(--text-3);
}

.l-tool--more b {
  color: var(--text-2);
}

.l-build__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-12);
  margin-top: auto;
  padding-top: var(--space-16);
  border-top: var(--border-1) solid var(--line);
}

.l-build__total > span {
  color: var(--text-2);
  font-size: var(--fs-16);
  line-height: var(--lh-16);
}

.l-build__total b {
  font-size: var(--fs-36);
  line-height: var(--lh-36);
  letter-spacing: var(--ls-36);
  font-weight: var(--weight-700);
  font-variant-numeric: tabular-nums;
}

.l-build__pain {
  display: flex;
  align-items: flex-start;
  gap: var(--space-8);
  margin-top: var(--space-12);
  color: var(--warn);
  font-size: var(--fs-14);
  line-height: var(--lh-14);
}

.l-build__pain .l-icon {
  flex: none;
  width: var(--icon-16);
  height: var(--icon-16);
  margin-top: var(--space-2);
}

.l-arrow {
  top: 440px;
  left: 614px;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: var(--landing-shadow-violet);
}

.l-arrow .l-icon {
  width: var(--icon-24);
  height: var(--icon-24);
}

.l-miko {
  --mark-bubble: var(--iris-400);
  --mark-layer: var(--zee-950);
  --l-miko-line: var(--zee-700);
  --l-miko-box: var(--zee-900);
  --l-miko-soft: var(--zee-300);

  top: 236px;
  left: 668px;
  display: flex;
  flex-direction: column;
  width: 516px;
  height: 460px;
  padding: var(--space-24);
  overflow: hidden;
  border-radius: var(--radius-composer);
  background-color: var(--zee-950);
  background-image: var(--landing-glow-card);
  color: var(--zee-100);
}

[data-theme='dark'] .l-miko {
  --mark-bubble: var(--iris-600);
  --mark-layer: var(--mist-50);
  --l-miko-line: var(--mist-400);
  --l-miko-box: var(--mist-50);
  --l-miko-soft: var(--mist-700);

  background-color: var(--mist-200);
  color: var(--mist-950);
}

.l-miko__head {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  margin-bottom: var(--space-16);
  font-size: var(--fs-14);
  line-height: var(--lh-14);
  font-weight: var(--weight-600);
}

.l-miko__mark {
  width: 24px;
  height: 24px;
}

.l-miko__price {
  margin-left: auto;
  padding: var(--space-2) var(--space-12);
  border: var(--border-1) solid var(--l-miko-line);
  border-radius: var(--radius-pill);
  font-size: var(--fs-13);
  line-height: var(--lh-13);
  font-variant-numeric: tabular-nums;
}

.l-money {
  padding: var(--space-16);
  border: var(--border-1) solid var(--l-miko-line);
  border-radius: var(--radius-16);
  background: var(--l-miko-box);
}

.l-money__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
  color: var(--l-miko-soft);
  font-size: var(--fs-14);
  line-height: var(--lh-14);
  font-weight: var(--weight-600);
}

.l-money__big {
  display: flex;
  align-items: center;
  min-height: var(--lh-48);
  margin: var(--space-4) 0 var(--space-8);
}

.l-money__big b {
  color: var(--ok-300);
  font-size: var(--fs-48);
  line-height: var(--lh-48);
  letter-spacing: var(--ls-48);
  font-weight: var(--weight-700);
  font-variant-numeric: tabular-nums;
}

[data-theme='dark'] .l-money__big b {
  color: var(--ok-700);
}

/* Below the break-even size the money figure gives way to the size from
   which it turns positive; it never shows below zero. */
.l-money__from {
  display: none;
  font-size: var(--fs-22);
  line-height: var(--lh-22);
  font-weight: var(--weight-700);
}

.l-money.is-below .l-money__big b {
  display: none;
}

.l-money.is-below .l-money__from {
  display: block;
}

/* The spending difference: "less spending + € x" while Miko costs less than
   the systems now, "extra spending € x" while it costs more. Never a minus. */
.l-cash .l-cash__extra,
.l-cash.is-extra .l-cash__less {
  display: none;
}

.l-cash.is-extra .l-cash__extra {
  display: block;
}

.l-money__parts,
.l-gains {
  margin: 0;
  padding: 0;
  list-style: none;
}

.l-money__parts li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-12);
  padding: var(--space-8) 0;
  border-top: var(--border-1) solid var(--l-miko-line);
}

.l-money__parts li > span {
  display: flex;
  flex-direction: column;
}

.l-money__parts li > span > b,
.l-gains li > span > b {
  font-size: var(--fs-14);
  line-height: var(--lh-14);
  font-weight: var(--weight-600);
}

.l-money__parts small,
.l-gains small {
  color: var(--l-miko-soft);
  font-size: var(--fs-12);
  line-height: var(--lh-12);
  font-variant-numeric: tabular-nums;
}

.l-money__parts li > b {
  white-space: nowrap;
  font-size: var(--fs-16);
  line-height: var(--lh-16);
  font-weight: var(--weight-700);
  font-variant-numeric: tabular-nums;
}

.l-gains {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-evenly;
}

.l-gains li {
  display: flex;
  align-items: center;
  gap: var(--space-12);
}

.l-gains li + li {
  padding-top: var(--space-12);
  border-top: var(--border-1) solid var(--l-miko-line);
}

.l-gains li > span:nth-child(2) {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}

.l-gains__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-10);
  background: var(--iris-600);
  color: var(--zee-100);
}

.l-gains__icon .l-icon {
  width: var(--icon-20);
  height: var(--icon-20);
}

.l-gains__value {
  white-space: nowrap;
  font-size: var(--fs-28);
  line-height: var(--lh-28);
  font-weight: var(--weight-700);
  font-variant-numeric: tabular-nums;
}

/* "4 systems become 1": the small marks, an arrow and Miko; when the slide
   plays, the marks slide into Miko once and come back. */
.l-merge {
  display: flex;
  flex: none;
  align-items: center;
  gap: var(--space-8);
}

.l-merge__minis {
  display: grid;
  grid-template-columns: repeat(3, 22px);
  gap: var(--space-2);
}

.l-merge__minis i {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: var(--border-1) solid var(--l-miko-line);
  border-radius: var(--radius-6);
}

.l-merge__mark {
  width: 14px;
  height: 14px;
}

.l-merge > .l-icon {
  width: var(--icon-16);
  height: var(--icon-16);
  color: var(--l-miko-soft);
}

.l-merge__one {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-10);
  background: var(--iris-600);
  box-shadow: var(--landing-shadow-violet);
}

.l-merge__miko {
  /* On the violet tile the layers take the tile's colour, as in the one-colour mark. */
  --mark-bubble: var(--zee-100);
  --mark-layer: var(--iris-600);

  width: 24px;
  height: 24px;
}

@keyframes l-merge {
  0%,
  100% {
    opacity: 1;
    transform: none;
  }

  32%,
  70% {
    opacity: 0;
    transform: translateX(34px) scale(0.4);
  }
}

.is-play .l-merge__minis i {
  animation: l-merge var(--duration-landing-status) var(--ease-settle) 1100ms both;
}

@media (prefers-reduced-motion: reduce) {
  .is-play .l-merge__minis i {
    animation: none;
  }
}

/* ===========================================================================
   9 Trust and governance: the seal, nine points around it, EU once.
   ======================================================================== */
.l-text--trust {
  top: 170px;
  width: 470px;
}

.l-title--trust {
  font-size: var(--fs-48);
  line-height: var(--lh-48);
}

.l-certs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
  margin-top: var(--space-16);
}

.l-cert {
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  height: var(--control-32);
  padding: 0 var(--space-12) 0 var(--space-8);
  border: var(--border-1) solid var(--text);
  border-radius: var(--radius-pill);
  background: var(--raised);
  font-size: var(--fs-13);
  line-height: var(--lh-13);
  font-weight: var(--weight-600);
}

.l-cert--plan {
  padding-left: var(--space-12);
  border-style: dashed;
  border-color: var(--edge);
  background: transparent;
  color: var(--text-2);
  font-weight: var(--weight-500);
}

.l-links {
  margin-top: var(--space-16);
  color: var(--text-3);
  font-size: var(--fs-14);
  line-height: var(--lh-14);
}

.l-link {
  padding: 0;
  border: 0;
  background: none;
  color: var(--accent);
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  cursor: pointer;
}

.l-orbit {
  top: 64px;
  left: 560px;
  width: 660px;
  height: 680px;
}

.l-orbit__rings {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.l-orbit__outer {
  fill: none;
  stroke: var(--edge);
  stroke-width: 0.3;
  stroke-dasharray: 1 1.6;
  transform-origin: 50% 50%;
}

.l-orbit__inner {
  fill: none;
  stroke: var(--edge);
  stroke-width: 0.25;
}

.is-play .l-orbit__outer {
  animation: l-spin var(--duration-landing-spin) linear infinite;
}

.l-orbit__core {
  position: absolute;
  top: calc(50% - 104px);
  left: calc(50% - 95px);
  width: 190px;
}

.l-seal {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 36px var(--landing-ring));
}

.l-seal__body {
  fill: var(--primary);
}

.l-seal__line {
  fill: none;
  stroke: var(--on-primary);
  stroke-opacity: 0.35;
  stroke-width: 1.5;
}

.l-seal__text {
  fill: var(--on-primary);
  font-family: var(--font-sans);
  font-size: var(--fs-28);
  font-weight: var(--weight-700);
}

.l-seal__pill {
  fill: var(--accent);
}

.l-seal__ready {
  fill: var(--on-accent);
  font-family: var(--font-sans);
  font-size: var(--fs-14);
  font-weight: var(--weight-600);
}

.l-govs {
  margin: 0;
  padding: 0;
  list-style: none;
}

.l-gov {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-8);
  width: 150px;
  translate: -75px -60px;
  text-align: center;
}

.l-gov__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-16);
  background: var(--raised);
  box-shadow: var(--shadow-2);
  color: var(--accent);
}

.l-gov__icon .l-icon {
  width: 26px;
  height: 26px;
}

.l-gov b {
  font-size: var(--fs-13);
  line-height: var(--lh-13);
  font-weight: var(--weight-600);
}

.l-gov__text {
  color: var(--text-2);
  font-size: var(--fs-12);
  line-height: var(--lh-12);
  opacity: 0;
}

.l-gov:hover .l-gov__text,
.l-gov:focus-visible .l-gov__text {
  opacity: 1;
}

.l-gov:hover .l-gov__icon,
.l-gov:focus-visible .l-gov__icon {
  box-shadow: var(--shadow-selected), var(--shadow-2);
}

/* Nine points on a circle of radius 41 % around the seal, from the top. */
.l-gov--0 { top: 9%; left: 50%; }
.l-gov--1 { top: 18.6%; left: 76.4%; }
.l-gov--2 { top: 42.9%; left: 90.4%; }
.l-gov--3 { top: 70.5%; left: 85.5%; }
.l-gov--4 { top: 88.5%; left: 64%; }
.l-gov--5 { top: 88.5%; left: 36%; }
.l-gov--6 { top: 70.5%; left: 14.5%; }
.l-gov--7 { top: 42.9%; left: 9.6%; }
.l-gov--8 { top: 18.6%; left: 23.6%; }

/* ===========================================================================
   10 Close: the slogan again, the waitlist, the footer.
   ======================================================================== */
.l-hero--close {
  top: 170px;
}

.l-hero--close .l-wl__box {
  box-shadow: var(--shadow-3);
}

/* The footer bar sits on the bottom edge of the screen, 64 px inside its
   visible sides, also when the canvas is centred in a tall window or cropped
   in a narrow one. --l-x and --l-y are screen pixels, the canvas is in canvas
   pixels, hence the division by the zoom. */
.l-footer--slide {
  right: calc(64px - min(0px, var(--l-x, 0px)) / var(--l-zoom, 1));
  bottom: calc(var(--l-y, 0px) / var(--l-zoom, 1) * -1);
  left: calc(64px - min(0px, var(--l-x, 0px)) / var(--l-zoom, 1));
  border-top: var(--border-1) solid var(--line);
}

.l-footer--slide .l-footer__inner {
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: var(--space-16) 0;
}

.l-footer--slide .l-footer__links {
  justify-content: flex-end;
}

.l-footer--slide .l-badges {
  justify-self: end;
}

.l-footer--slide .l-footer__concept {
  display: none;
}

/* ===========================================================================
   The phone layout: a 390 x 844 canvas.
   ======================================================================== */
@container slide (max-width: 600px) {
  .l-title,
  .l-title--line,
  .l-title--trust {
    font-size: var(--fs-36);
    line-height: var(--lh-36);
    letter-spacing: var(--ls-36);
  }

  .l-title--xl {
    font-size: var(--fs-36);
    line-height: var(--lh-36);
  }

  .l-sub {
    font-size: var(--fs-14);
    line-height: var(--lh-14);
  }

  .l-text,
  .l-text--wide,
  .l-text--chat,
  .l-text--proof,
  .l-text--trust {
    top: 80px;
    right: 20px;
    left: 20px;
    width: auto;
  }

  .l-hero {
    top: 96px;
    padding: 0 var(--space-20);
  }

  .l-hero__mark {
    width: 64px;
    height: 64px;
    margin-bottom: var(--space-16);
  }

  .l-slogan,
  .l-slogan--close {
    font-size: var(--fs-36);
    line-height: var(--lh-36);
    letter-spacing: var(--ls-36);
  }

  .l-rings {
    top: 38%;
    width: 900px;
    height: 640px;
  }

  .l-cue {
    display: none;
  }

  .l-wl {
    gap: var(--space-8);
    width: 100%;
    margin-top: var(--space-24);
  }

  .l-wl__box {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-4);
    padding: var(--space-4);
    border-radius: var(--radius-24);
  }

  .l-wl__input {
    padding: var(--space-12) var(--space-16);
  }

  .l-wl__button {
    width: 100%;
  }

  .l-wl__consent {
    font-size: var(--fs-12);
    line-height: var(--lh-12);
  }

  .l-hero__trust {
    right: 20px;
    bottom: 64px;
    left: 20px;
    justify-content: flex-start;
    gap: var(--space-12);
  }

  .l-head {
    top: 88px;
    padding: 0 var(--space-20);
  }

  .l-logos {
    top: 280px;
    right: 20px;
    left: 20px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-8);
  }

  .l-logos__row {
    display: contents;
  }

  .l-logos__row--2,
  .l-logos__row--1 .l-logo:nth-child(n + 7) {
    display: none;
  }

  .l-logo {
    width: auto;
    height: 76px;
  }

  .l-logos__more {
    bottom: 40px;
    padding: 0 var(--space-20);
    font-size: var(--fs-14);
    line-height: var(--lh-14);
  }

  .l-stage--chat {
    top: 250px;
    right: 20px;
    left: 20px;
    width: auto;
  }

  .l-composer {
    height: 52px;
    padding-left: var(--space-16);
    font-size: var(--fs-14);
  }

  .l-answer {
    padding: var(--space-16);
    border-radius: var(--radius-16);
  }

  .l-answer__lead {
    font-size: var(--fs-16);
    line-height: var(--lh-16);
  }

  .l-kpis b {
    font-size: var(--fs-16);
    line-height: var(--lh-16);
  }

  .l-hbar {
    grid-template-columns: minmax(0, 1fr) 84px 32px;
    gap: var(--space-4) var(--space-8);
  }

  .l-hbar .l-hbar__track {
    grid-column: 1 / -1;
    order: 4;
  }

  .l-sources,
  .l-acts,
  .l-answer__basis {
    display: none;
  }

  .l-window--proof,
  .l-window--wide,
  .l-window--apps {
    top: 260px;
    right: 12px;
    left: 12px;
    width: auto;
    height: 560px;
  }

  .l-window--proof {
    top: 292px;
    height: 536px;
  }

  .l-app__side,
  .l-app__rail,
  .l-app__compose {
    display: none;
  }

  .l-total {
    flex-wrap: wrap;
  }

  .l-total__value {
    font-size: var(--fs-28);
    line-height: var(--lh-28);
  }

  .l-table th:first-child,
  .l-table td:first-child,
  .l-table th:nth-child(3),
  .l-table td:nth-child(3),
  .l-table th:nth-child(4),
  .l-table td:nth-child(4) {
    display: none;
  }

  .l-phone-only {
    display: block;
  }

  .l-app__main--dash {
    flex-direction: column;
    padding: var(--space-8);
  }

  .l-dash {
    padding: var(--space-12);
  }

  .l-dash .l-kpis > div {
    padding: var(--space-8);
  }

  .l-dash .l-kpis b {
    font-size: var(--fs-14);
    line-height: var(--lh-14);
  }

  .l-chatcol {
    width: auto;
  }

  .l-msg:nth-child(1),
  .l-msg:nth-child(2),
  .l-msg:nth-child(3) {
    display: none;
  }

  .l-dash__head .badge,
  .l-card--late,
  .l-share,
  .l-dash .l-tie {
    display: none;
  }

  .l-dash__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .l-prod__ask,
  .l-prod__bar .badge {
    display: none;
  }

  .l-kpis--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .l-kpis--four > div:nth-child(2),
  .l-kpis--four > div:nth-child(3) {
    display: none;
  }

  .l-prod__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .l-prod__grid .l-card:nth-child(1),
  .l-prod__grid .l-card:nth-child(2) {
    display: none;
  }

  /* On a phone the cost slide flows top to bottom in a taller canvas. */
  .l-scr.l-scr--kosten {
    display: flex;
    flex-direction: column;
    gap: var(--space-16);
    padding: calc(var(--space-64) + var(--space-16)) var(--space-20) 0;
  }

  .l-scr.l-scr--kosten > * {
    position: relative;
    inset: auto;
    width: auto;
    height: auto;
  }

  .l-scr--kosten > .l-arrow {
    align-self: center;
    width: 40px;
    height: 40px;
    margin: calc(var(--space-8) * -1) 0;
  }

  .l-emp {
  }

  .l-emp output {
    font-size: var(--fs-22);
    line-height: var(--lh-22);
  }

  .l-build {
    padding: var(--space-16);
    border-radius: var(--radius-24);
  }

  .l-tool {
    padding: var(--space-8);
  }

  .l-tool__mark {
    margin-bottom: 0;
  }

  .l-tool b,
  .l-tool span {
    font-size: var(--fs-13);
    line-height: var(--lh-13);
  }

  .l-tool--more {
    padding: var(--space-8) var(--space-12);
  }

  .l-build__total {
    margin-top: var(--space-16);
    padding-top: var(--space-12);
  }

  .l-build__total > span {
    font-size: var(--fs-14);
    line-height: var(--lh-14);
  }

  .l-build__total b {
    font-size: var(--fs-28);
    line-height: var(--lh-28);
  }

  .l-build__pain {
    font-size: var(--fs-13);
    line-height: var(--lh-13);
  }

  .l-arrow .l-icon {
    transform: rotate(90deg);
  }

  .l-miko {
    padding: var(--space-16);
    border-radius: var(--radius-24);
  }

  .l-money {
    padding: var(--space-12);
  }

  .l-money__big {
    min-height: var(--lh-36);
  }

  .l-money__big b {
    font-size: var(--fs-36);
    line-height: var(--lh-36);
    letter-spacing: var(--ls-36);
  }

  .l-money__from {
    font-size: var(--fs-18);
    line-height: var(--lh-18);
  }

  .l-money__parts li > span > b,
  .l-gains li > span > b {
    font-size: var(--fs-13);
    line-height: var(--lh-13);
  }

  .l-gains {
    margin-top: var(--space-12);
  }

  .l-gains li {
    flex-wrap: wrap;
  }

  /* "Systems become 1": the text takes the row, the visual goes under it. */
  .l-gains li + li > span:nth-child(2) {
    flex: 1 1 200px;
  }

  .l-gains__value {
    font-size: var(--fs-22);
    line-height: var(--lh-22);
  }

  .l-merge {
    margin-left: calc(36px + var(--space-12));
  }

  .l-orbit {
    top: 400px;
    left: 15px;
    width: 360px;
    height: 400px;
  }

  .l-orbit__core {
    top: calc(50% - 60px);
    left: calc(50% - 55px);
    width: 110px;
  }

  .l-gov {
    width: 84px;
    translate: -42px -30px;
  }

  .l-gov__icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-10);
  }

  .l-gov__icon .l-icon {
    width: 20px;
    height: 20px;
  }

  .l-gov b {
    font-size: var(--fs-12);
    line-height: var(--lh-12);
  }

  .l-gov__text {
    display: none;
  }

  .l-hero--close {
    top: 140px;
  }

  .l-footer--slide {
    right: 20px;
    bottom: 20px;
    left: 20px;
    border-top: 0;
  }

  .l-footer--slide .l-footer__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-8);
    padding: 0;
    font-size: var(--fs-12);
    line-height: var(--lh-12);
  }

  .l-footer--slide .l-footer__links {
    justify-content: flex-start;
    gap: var(--space-8) var(--space-16);
  }

  .l-footer--slide .l-badges {
    justify-self: start;
  }
}
