/* YALineo site 2.0 (3 November 2026): the mock-up the owner approved. A light ground and white cards with a hairline,
   navy bands for trust and action, DM Sans (the typeface of databricks.com), and the line colours only where they mean
   a line of the map or a theme (Getting started blue, lineage red, costs amber, simulations teal, governance purple). */
/* The type of databricks.com: DM Sans with its optical sizes (variable, 400 to 700) and DM Mono (OFL, files in fonts/).
   Each latin-ext face comes before its latin face (Google Fonts order): where their ranges overlap (œ), the face
   declared last is tried first, so a French page never downloads latin-ext for it. */
@font-face { font-family: 'DM Sans'; src: url('fonts/dm-sans-var-latin-ext.woff2') format('woff2'); font-weight: 400 700; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'DM Sans'; src: url('fonts/dm-sans-var-latin.woff2') format('woff2'); font-weight: 400 700; font-display: swap; 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+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'DM Mono'; src: url('fonts/dm-mono-400-latin-ext.woff2') format('woff2'); font-weight: 400; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'DM Mono'; src: url('fonts/dm-mono-400.woff2') format('woff2'); font-weight: 400; font-display: swap; 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+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'DM Mono'; src: url('fonts/dm-mono-500-latin-ext.woff2') format('woff2'); font-weight: 500; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'DM Mono'; src: url('fonts/dm-mono-500.woff2') format('woff2'); font-weight: 500; font-display: swap; 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+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ground: #f5f6f7; --paper-2: #eef1f5; --card: #ffffff;
  /* A light blue for what is chosen or current (a tag, a menu item, a lit mark), a paler one for a highlighted column. */
  --tint: #e8eef9; --tint-strong: #d8e2f6; --tint-2: #f4f7fc;
  --ink: #1d2d3e; --ink-2: #32475c; --ink-3: #536a80;
  --rule: #e3e7ec; --rule-2: #cfd6de; --rule-3: #9eabba;
  --navy: #0f1e3a; --navy-2: #12233f; --navy-3: #1c3258; --on-navy: #ffffff; --on-navy-2: #c6d2e3; --on-navy-3: #a9bad3;
  --on-navy-line: #6f84a5; --focus-on-navy: #8cc2ff; --code-ink: #e8edf6;
  --accent: #0060d0; --accent-2: #004fae; --focus: #0060d0;
  --red: #d7262b; --blue: #1a3fa8; --green: #0e7a3e; --amber: #e3a100; --orange: #e86a10; --teal: #008c95; --purple: #7a2e8e; --grey: #8a97a6;
  --warn: #8c5300;
  /* State, never a line: a check that says yes (DESIGN.md on-time), its ink on a light ground. Dark ink on amber and orange. */
  --ok: #137a3a; --ok-ink: #116b33; --ink-on-light: #11171c;
  --display: 'DM Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --text: 'DM Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'DM Mono', ui-monospace, Consolas, monospace;
  --wrap: 1440px; --pad: 32px; --sec: 112px; /* 1440 px since 6 November 2026 (owner: the page should use the screen) */
  --action: var(--navy-2); --action-hover: var(--navy-3); /* arrow links (« Voir les écrans → »): night blue, owner's choice */
  /* One reading measure for long text: about 72 to 75 characters a line in DM Sans (the ch unit is a digit's width, near
     one and a half letters, so 78ch let 110 letters through). */
  --measure: 36em;
  /* Four corners (a tag, a control, a card, a panel), the pill and the circle; three shadows (a frame, a card that floats, a menu). */
  --r-sm: 6px; --r-md: 10px; --radius: 16px; --r-xl: 24px;
  --shadow-ui: 0 1px 2px rgba(15, 30, 58, .06), 0 16px 40px -12px rgba(15, 30, 58, .22);
  --shadow-float: 0 2px 6px rgba(15, 30, 58, .08), 0 28px 56px -16px rgba(15, 30, 58, .34);
  --shadow-menu: 0 16px 36px rgba(15, 30, 58, .14);
}

*, *::before, *::after { box-sizing: border-box; }
/* Smooth scrolling once the page has opened (site.js): an address with an anchor lands at once. */
html.smooth { scroll-behavior: smooth; }
html { scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--card); color: var(--ink); font: 400 16px/1.6 var(--text); font-optical-sizing: auto; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
/* Touch (a phone or a tablet). Hover styles sit behind (hover: hover) and (pointer: fine): a tap never leaves one stuck
   on. Each of them has an :active twin with the same declarations, so a press shows the look already designed (and
   checked for contrast) for the pointer; buttons and questions also take the 1px press of DESIGN.md. The browser's
   grey tap flash is off. Controls skip the double-tap wait, and the words of the buttons and of the language and menu
   buttons are not selected by a long press; the rest of the page, the questions of the FAQ included, stays selectable. */
html { -webkit-tap-highlight-color: transparent; }
a, button, summary { touch-action: manipulation; }
button, .btn, .langmenu summary, .navmenu summary { -webkit-user-select: none; user-select: none; }
.btn:active, button:active, summary:active { transform: translateY(1px); }
/* Links with no hover look of their own (and links in lists and running text): the press thickens the underline, or
   presses 1px, and keeps the ink. */
p a:active, li a:active, .legal a:active, .crumbs a:active, .back:active { text-decoration-thickness: 2px; }
.brand:active, .shot-zoom:active, .shot-big a:active, .foot-sponsor:active, .skip:active { transform: translateY(1px); }
h1, h2, h3, h4, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
h1, h2, h3 { font-weight: 650; text-wrap: balance; }
p, li, dd, td, th, figcaption { text-wrap: pretty; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }
/* Code reads in DM Mono everywhere (a browser gives <code> its own monospace otherwise). */
code, kbd, samp { font-family: var(--mono); }
pre code { font: inherit; }
[hidden] { display: none !important; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: var(--r-sm); }
/* On the navy bands the ring turns light blue (it is drawn on navy there). */
.trust, .cta-band, .path-index { --focus: var(--focus-on-navy); }
@media (min-width: 1500px) { :root { --pad: 40px; } }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--pad)); margin-inline: auto; padding-inline: var(--pad); }
/* Over the night-blue bar, the skip link is a white button with the light ring (review of 6 November 2026). */
.skip { position: absolute; left: 16px; top: -64px; z-index: 60; background: var(--card); color: var(--navy); padding: 10px 16px; border-radius: var(--r-md); font-weight: 600; text-decoration: none; --focus: var(--focus-on-navy); }
.skip:focus { top: 8px; } /* its ring stays on the bar, 61 px high on a phone */
.yi { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
/* The stroke is drawn in screen pixels: 1.75 px for every icon (2.5 for the ticks that say yes). */
.yi * { vector-effect: non-scaling-stroke; }
.muted { color: var(--ink-3); }
/* Read by screen readers, not shown. */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.small { font-size: 14px; line-height: 1.5; }
.label { font: 650 13px/1.4 var(--display); letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); }

/* The colours of meaning: one class per theme sets --c; dots, bars and station rings read it. */
.c-red { --c: var(--red); } .c-blue { --c: var(--blue); } .c-amber { --c: var(--amber); } .c-teal { --c: var(--teal); }
.c-green { --c: var(--green); } .c-purple { --c: var(--purple); } .c-none { --c: var(--grey); }
/* Navy ink: a marker that names no line and no theme (the home's lists, the demo's programme). */
.c-ink { --c: var(--navy-2); }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--c); flex: none; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; line-height: 1.4; color: var(--ink-3); }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); flex: none; }
.legend i.c-none { background: var(--card); border: 2.5px solid var(--c); }
.legend-after { margin-top: 24px; }

/* ---------- buttons and links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: var(--r-md); font: 600 16px/1 var(--text); text-decoration: none; white-space: nowrap; border: 1px solid transparent; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.btn .yi { width: 18px; height: 18px; transition: transform .15s; }
.btn-big { height: 52px; padding: 0 24px; font-size: 17px; border-radius: var(--r-md); }
.btn-ink { background: var(--navy-2); color: var(--on-navy); }
@media (hover: hover) and (pointer: fine) { .btn-ink:hover { background: var(--navy-3); } }
.btn-ink:active { background: var(--navy-3); }
@media (hover: hover) and (pointer: fine) { .btn-ink:hover .yi { transform: translateX(3px); } }
.btn-ink:active .yi { transform: translateX(3px); }
/* The header's install button: the navy of every main button (DESIGN.md), at the bar's height. */
.btn-head { height: 40px; padding: 0 16px; font-size: 15px; }
.btn-ghost { background: var(--card); color: var(--ink); border-color: var(--rule-2); }
@media (hover: hover) and (pointer: fine) { .btn-ghost:hover { border-color: var(--rule-3); background: var(--ground); } }
.btn-ghost:active { border-color: var(--rule-3); background: var(--ground); }
.btn-light { background: var(--card); color: var(--navy); }
@media (hover: hover) and (pointer: fine) { .btn-light:hover { background: var(--tint); } }
.btn-light:active { background: var(--tint); }
.btn-ghost-light { color: var(--on-navy); border-color: rgba(255, 255, 255, .45); }
@media (hover: hover) and (pointer: fine) { .btn-ghost-light:hover { border-color: var(--on-navy); background: rgba(255, 255, 255, .08); } }
.btn-ghost-light:active { border-color: var(--on-navy); background: rgba(255, 255, 255, .08); }
.more { display: inline-flex; align-items: center; gap: 6px; color: var(--action); font-weight: 600; text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .more:hover { color: var(--action-hover); text-decoration: underline; text-underline-offset: 3px; } }
.more:active { color: var(--action-hover); text-decoration: underline; text-underline-offset: 3px; }
.more .yi { transition: transform .15s; }
@media (hover: hover) and (pointer: fine) { .more:hover .yi { transform: translateX(3px); } }
.more:active .yi { transform: translateX(3px); }
/* The control of what moves on its own: a quiet button, its icon and its words say what a press does. */
.motion { display: inline-flex; align-items: center; gap: 7px; min-height: 32px; padding: 0 12px 0 9px; border: 1px solid var(--rule-2); border-radius: 999px; background: var(--card); color: var(--ink-2); font: 500 14px/1.2 var(--text); cursor: pointer; transition: border-color .15s, color .15s; }
@media (hover: hover) and (pointer: fine) { .motion:hover { color: var(--ink); border-color: var(--ink-3); } }
.motion:active { color: var(--ink); border-color: var(--ink-3); }
.motion .yi { width: 16px; height: 16px; stroke-width: 2; }
.motion .motion-play, .motion.is-paused .motion-pause { display: none; }
.motion.is-paused .motion-play { display: block; }
/* Paused by the reader: the endless animations of the map and of the tour stand still (the trains: site.js). */
.motion-paused .ym[data-sel] .ym-route.lit .ym-flow, .motion-paused .ym-hit.is-on .ym-ring, .motion-paused .hot.on b::after { animation-play-state: paused; }
/* A table or a block of code that scrolls sideways shows the keyboard's ring inside its frame. */
[data-scroll]:focus-visible { outline-offset: -2px; }
/* A block of code is navy: its ring goes round it, on the page, where the blue reads at 3:1. */
pre[data-scroll]:focus-visible { outline-offset: 3px; }

/* ---------- header ---------- */
/* The top bar is a night-blue band (owner's choice, 6 November 2026): the brand and the places in light ink, the install
   button white; the menus it opens stay white cards. */
.topbar { position: sticky; top: 0; z-index: 40; background: var(--navy); border-bottom: 1px solid var(--navy); }
.topbar .brand, .topnav a, .langmenu summary, .navmenu summary, .topbar .btn-head { --focus: var(--focus-on-navy); }
.topbar-in { display: flex; align-items: center; gap: 20px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 20px/1 var(--display); letter-spacing: -.01em; color: var(--ink); }
.topbar .brand { color: var(--on-navy); }
/* On a phone, with a reader's text spacing (WCAG 1.4.12), the word may be wider than its room: it ends with an
   ellipsis instead of running under the globe. At the normal spacing it always fits whole (measured from 350 to 480 px);
   on a wider screen the rule does not apply. */
@media (max-width: 960px) {
  .topbar .brand { min-width: 0; }
  .topbar .brand span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
.topbar .brand-tile { box-shadow: 0 0 0 1px var(--on-navy-line); }
.brand-tile { width: 32px; height: 32px; border-radius: 8px; } /* the corner of the icon's own art */
.foot .brand-tile { width: 28px; height: 28px; border-radius: var(--r-sm); }
.topnav { display: flex; gap: 2px; margin-left: 20px; align-self: stretch; }
.topnav a { position: relative; display: flex; align-items: center; padding: 0 12px; color: var(--on-navy-2); text-decoration: none; font-weight: 500; font-size: 15px; }
@media (hover: hover) and (pointer: fine) { .topnav a:hover { color: var(--on-navy); } }
.topnav a:active { color: var(--on-navy); }
.topnav a:focus-visible { outline-offset: -10px; }
.topnav a[aria-current="page"] { color: var(--on-navy); font-weight: 600; }
.topnav a[aria-current="page"]::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--on-navy); }
.langmenu { position: relative; margin-left: auto; }
.langmenu summary, .navmenu summary { list-style: none; display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 12px; border: 1px solid var(--on-navy-line); border-radius: var(--r-md); color: var(--on-navy-2); cursor: pointer; font: 600 13px var(--display); letter-spacing: .5px; background: transparent; }
.langmenu summary::-webkit-details-marker, .navmenu summary::-webkit-details-marker { display: none; }
.langmenu[open] summary, .navmenu[open] summary { color: var(--on-navy); border-color: var(--on-navy-3); background: var(--navy-3); }
@media (hover: hover) and (pointer: fine) { .langmenu summary:hover, .navmenu summary:hover { color: var(--on-navy); border-color: var(--on-navy-3); background: var(--navy-3); } }
.langmenu summary:active, .navmenu summary:active { color: var(--on-navy); border-color: var(--on-navy-3); background: var(--navy-3); }
.langmenu summary .yi, .navmenu summary .yi { width: 19px; height: 19px; }
.langmenu ul { position: absolute; right: 0; top: calc(100% + 10px); z-index: 50; min-width: 190px; padding: 6px; background: var(--card); border: 1px solid var(--rule); border-radius: var(--r-md); box-shadow: var(--shadow-menu); }
.langmenu a { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 12px; border-radius: var(--r-md); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
@media (hover: hover) and (pointer: fine) { .langmenu a:hover { background: var(--paper-2); } }
.langmenu a:active { background: var(--paper-2); }
.langmenu a small { font: 700 12px var(--display); letter-spacing: .6px; color: var(--ink-3); }
.langmenu a[aria-current="true"] { background: var(--tint); }
.langmenu a[aria-current="true"] small { color: var(--accent-2); }
.navmenu { display: none; }
.navmenu:not([open]) nav { display: none; }
.navmenu nav { position: absolute; left: 0; right: 0; top: 100%; z-index: 50; display: grid; padding: 8px 16px 16px; background: var(--card); border-bottom: 1px solid var(--rule); box-shadow: var(--shadow-menu); }
.navmenu nav a { padding: 13px 4px; color: var(--ink); text-decoration: none; font: 600 17px var(--display); border-bottom: 1px solid var(--rule); }
@media (hover: hover) and (pointer: fine) { .navmenu nav a:hover { background: var(--paper-2); } }
.navmenu nav a:active { background: var(--paper-2); }
.navmenu nav a[aria-current="page"] { color: var(--accent-2); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 7px; }
.linestrip { display: flex; height: 4px; }
.linestrip i { flex: 1; }
.linestrip i:nth-child(1) { background: var(--red); } .linestrip i:nth-child(2) { background: var(--blue); } .linestrip i:nth-child(3) { background: var(--green); }
.linestrip i:nth-child(4) { background: var(--amber); } .linestrip i:nth-child(5) { background: var(--teal); } .linestrip i:nth-child(6) { background: var(--purple); }

/* ---------- sections ---------- */
.sec { position: relative; padding: var(--sec) 0; }
.sec-ground { background: var(--ground); }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font: 650 13px/1.3 var(--display); letter-spacing: .07em; text-transform: uppercase; color: var(--ink-2); }
.h2, .h-section { font-size: clamp(30px, 2vw + 14px, 44px); line-height: 1.14; letter-spacing: -.02em; font-weight: 650; }
.h-section { max-width: 22ch; }
.h3 { font-size: clamp(25px, 1vw + 15px, 32px); line-height: 1.2; letter-spacing: -.016em; }
.lead { font-size: 18px; line-height: 1.6; color: var(--ink-2); max-width: 34em; }
.sec-lead { margin-top: 18px; max-width: 36em; }
.sec-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px 64px; align-items: end; margin-bottom: 64px; }
.sec-head .h2 { max-width: 20ch; }
.sec-aside { display: grid; gap: 16px; padding-bottom: 6px; }
.sec-aside .legend { justify-content: flex-start; }

/* ---------- home: the hero ("La scène", owner, 13 November 2026) and its map ---------- */
/* A night-blue stage under the top bar holds the promise and the action; the map's window rises --rise into it, and the
   stage keeps --gap of night blue between its lowest element and the window at every width, so the buttons never touch
   the window. On night blue the focus ring turns light (#8cc2ff). */
.hero { --rise: 118px; --gap: 32px; background: var(--card); }
.hero-band { --focus: var(--focus-on-navy); background: var(--navy); color: var(--on-navy); padding: 64px 0 calc(var(--rise) + var(--gap)); }
/* The title's column never gets narrower than its longest unbreakable run ("plateforme Databricks."): with the WCAG
   text spacing (1.4.12) the action column gives way instead, its button wrapping, rather than the title running over
   it. At ordinary spacing the title fits and nothing moves. */
.hero-in { display: grid; grid-template-columns: minmax(min-content, 1.25fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; }
.hero-title { font: 650 clamp(36px, 3.2vw + 12px, 62px)/1.07 var(--display); letter-spacing: -.026em; color: var(--on-navy); }
.hero-title span { display: inline-block; }
.hero-title .nw { white-space: nowrap; }
.hero-lead { margin-top: 22px; max-width: 34em; font-size: clamp(17px, .4vw + 15px, 20px); line-height: 1.55; color: var(--on-navy-2); }
/* The action, centred in the right column (the same night blue on each side of it), halfway down the title and lead;
   its left edge (button and note) is the line the eye follows. */
.hero-act { justify-self: center; align-self: center; width: fit-content; max-width: 100%; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.hero-cta .btn { white-space: normal; height: auto; min-height: 52px; padding-block: 8px; text-align: center; }
.hero-fine { margin-top: 18px; max-width: 30em; font-size: 14px; line-height: 1.5; color: var(--on-navy-2); }
/* The home film (its own section under the hero): a link beside the demo button, white on night blue. */
.hero-film { color: var(--on-navy); }
@media (hover: hover) and (pointer: fine) { .hero-film:hover { color: var(--on-navy); } }
.hero-film:active { color: var(--on-navy); }
@media (hover: hover) and (pointer: fine) { .hero-film:hover .yi { transform: none; } }
.hero-film:active .yi { transform: none; }
.hero .metro { position: relative; margin-top: calc(-1 * var(--rise)); }
.film-player { max-width: 960px; margin: 0 auto; }
.film-player video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: var(--radius); background: var(--navy); box-shadow: var(--shadow-ui); }
.film-player video:focus-visible { outline-offset: 4px; }
.film-player figcaption { margin-top: 14px; font-size: 14px; line-height: 1.5; color: var(--ink-2); text-align: center; }
/* The film in words, opened on demand under the player (a fold like a tutorial's), as wide as the player. */
.film-text { max-width: 960px; margin-inline: auto; }
.film-text > p, .film-text ol { max-width: var(--measure); margin-top: 12px; color: var(--ink-2); }
.film-text ol { display: grid; gap: 8px; list-style: decimal; padding-left: 24px; }

/* The map: a window of the studio (its navy band and line strip), the map beside the station's sheet. */
.metro { margin-top: 64px; }
.metro-window { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--rule-2); background: var(--card); box-shadow: var(--shadow-float); }
.metro-bar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 10px 16px; background: var(--navy); color: var(--on-navy-2); font-size: 14px; }
.metro-where b { color: var(--on-navy); font-weight: 600; }
.metro-hint { margin-left: auto; }
.metro-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; }
.metro-mapbox { position: relative; min-width: 0; border-right: 1px solid var(--rule); }
.metro-map { position: relative; min-width: 0; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; scroll-padding-inline: 48px; }
.metro-stage { min-width: 720px; }
.metro-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 22px; padding: 12px 16px; border-top: 1px solid var(--rule); font-size: 14px; color: var(--ink-2); }
.metro-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.metro-legend li { display: inline-flex; align-items: center; gap: 7px; }
.metro-legend i { width: 20px; height: 6px; border-radius: 3px; }
/* In the window's bar, on navy: before the map in the keyboard's order. */
.metro-bar { --focus: var(--focus-on-navy); }
.metro-bar .motion { margin-left: auto; min-height: 30px; background: transparent; border-color: rgba(255, 255, 255, .32); color: var(--on-navy-2); font-size: 13px; }
@media (hover: hover) and (pointer: fine) { .metro-bar .motion:hover { color: var(--on-navy); border-color: var(--on-navy-2); } }
.metro-bar .motion:active { color: var(--on-navy); border-color: var(--on-navy-2); }
.metro-hint + .motion { margin-left: 0; }
/* Its place is kept until site.js shows it, so the bar never moves (layout shift); without the script or for reduced
   motion, where it never shows, it takes none. */
.metro-bar .motion[hidden] { display: inline-flex !important; visibility: hidden; }
@media (scripting: none), (prefers-reduced-motion: reduce) { .metro-bar .motion[hidden] { display: none !important; } }
.metro-method { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--action); text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .metro-method:hover { text-decoration: underline; text-underline-offset: 3px; } }
.metro-method:active { text-decoration: underline; text-underline-offset: 3px; }
.metro figcaption { margin-top: 18px; text-align: center; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
/* One colour per line of the example (sample.mjs line colours; a test keeps them equal). */
.l-sale { --line: #1A3FA8; } .l-store { --line: #D7262B; } .l-inventory { --line: #E86A10; } .l-ecommerce { --line: #E3A100; }
.metro-legend i, .st-line { background: var(--line); }

.ym { display: block; width: 100%; height: auto; }
.ym-zone rect { fill: transparent; }
.ym-zone.alt rect { fill: rgba(15, 30, 58, .035); }
.ym-zone text { font: 700 12px var(--display); letter-spacing: 1.2px; text-transform: uppercase; fill: var(--ink-3); }
.ym-sheath { fill: none; stroke: var(--card); stroke-width: 13; stroke-linecap: round; }
/* The casing: night blue, 1.25 px each side of the 7 px line, drawn with it; the lines not chosen stay at .5, so the
   casing keeps about 3:1 against the white ground (WCAG 1.4.11). */
.ym-case { fill: none; stroke: var(--navy); stroke-width: 9.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.4s cubic-bezier(.35, .1, .25, 1) forwards; }
.ym-route:nth-of-type(2) .ym-case { animation-delay: .12s; } .ym-route:nth-of-type(3) .ym-case { animation-delay: .24s; } .ym-route:nth-of-type(4) .ym-case { animation-delay: .36s; }
.ym-line { fill: none; stroke-width: 7; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.4s cubic-bezier(.35, .1, .25, 1) forwards; }
.ym-route:nth-of-type(2) .ym-line { animation-delay: .12s; } .ym-route:nth-of-type(3) .ym-line { animation-delay: .24s; } .ym-route:nth-of-type(4) .ym-line { animation-delay: .36s; }
.ym-flow { fill: none; stroke: var(--card); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 2 16; opacity: 0; }
.ym-route { transition: opacity .4s ease-out; }
.ym[data-sel] .ym-route:not(.lit) { opacity: .5; }
.ym[data-sel] .ym-route.lit .ym-flow { opacity: .95; animation: ym-flow 1.1s linear infinite; }
@keyframes ym-flow { to { stroke-dashoffset: -18; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.ym-planned { fill: none; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 2 10; opacity: .75; }
.ym-transfer { fill: none; stroke: var(--ink-3); stroke-width: 2.4; stroke-dasharray: 1.5 5; stroke-linecap: round; }
.ym-train rect { stroke: var(--card); stroke-width: 2.5; }
.ym-stops { animation: ym-fade .6s .8s ease-out both; }
@keyframes ym-fade { from { opacity: 0; } }
.ym-hit { cursor: pointer; outline: none; }
.ym-pad { fill: transparent; }
.ym-ring { fill: none; stroke: var(--accent); stroke-width: 3; opacity: 0; }
@media (hover: hover) and (pointer: fine) { .ym-hit:hover .ym-ring { opacity: .6; } }
.ym-hit:active .ym-ring { opacity: .6; }
.ym-hit:focus-visible .ym-ring { stroke: var(--ink); opacity: 1; }
.ym-hit.is-on .ym-ring { opacity: 1; transform-box: fill-box; transform-origin: center; animation: ym-ring 2.4s ease-out infinite; }
@keyframes ym-ring { 0% { transform: scale(.7); opacity: 1; } 70%, 100% { transform: scale(1.5); opacity: 0; } }
/* Off screen (site.js marks the map), the endless animations stop with the trains: no style work for a map nobody sees. */
.ym.is-off[data-sel] .ym-route.lit .ym-flow, .ym.is-off .ym-hit.is-on .ym-ring { animation-play-state: paused; }
.ym-st { fill: var(--card); stroke: var(--ink); stroke-width: 3; }
.ym-st.big { stroke-width: 3.4; }
.ym-st.src { stroke: var(--ink-3); stroke-width: 2; stroke-dasharray: 2 2.4; }
.ym-st.warn { stroke: var(--warn); stroke-dasharray: 3.5 2.5; }
.ym-st.planned { stroke: var(--orange); stroke-dasharray: 4 3; }
.ym-term { stroke: var(--ink); stroke-width: 5; stroke-linecap: round; }
.ym-name { font: 500 14.5px var(--text); fill: var(--ink); paint-order: stroke; stroke: var(--card); stroke-width: 4px; stroke-linejoin: round; }
.ym-name.mono { font: 400 14px var(--mono); }
.ym-name.warn { fill: var(--warn); }
.ym-sub { font: 400 12.5px var(--text); fill: var(--ink-3); paint-order: stroke; stroke: var(--card); stroke-width: 4px; }
.ym-hit.is-on .ym-name { font-weight: 700; }
.ym-hit.is-on .ym-name.mono { font-weight: 500; } /* DM Mono has no bold: the station chosen goes from 400 to 500 */

.metro-sheets { position: relative; padding: 20px 22px 22px; min-width: 0; background: var(--card); }
.st-sheet { display: none; }
.st-sheet.is-on { display: block; animation: st-in .35s ease-out; }
/* Without the script, a station's link opens its sheet (its target). With it, site.js shows the station chosen, even
   when the page was opened at another station's address. */
html:not(.js) .metro-sheets:has(.st-sheet:target) .st-sheet { display: none; }
html:not(.js) .metro-sheets:has(.st-sheet:target) .st-sheet:target { display: block; }
@keyframes st-in { from { opacity: 0; transform: translateY(6px); } }
.st-kind { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 13px; color: var(--ink-3); }
.st-line { display: inline-flex; align-items: center; height: 21px; padding: 0 9px; border-radius: 999px; color: var(--on-navy); font: 700 12px var(--display); letter-spacing: .02em; }
/* White or the near-black ink, whichever reads better on the line: white on the blue and the red, ink on the orange and the amber. */
.l-inventory.st-line, .l-ecommerce.st-line { color: var(--ink-on-light); }
.st-name { margin-top: 10px; font: 600 22px/1.2 var(--display); letter-spacing: -.015em; overflow-wrap: anywhere; text-wrap: balance; }
.st-name.mono { font: 500 20px/1.25 var(--mono); letter-spacing: -.01em; }
.st-rows { margin-top: 14px; display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 0 12px; }
.st-rows dt { padding: 12px 0 0; border-top: 1px solid var(--rule); font: 650 12px var(--display); letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); }
.st-rows dd { margin: 0; padding: 10px 0 12px; border-top: 1px solid var(--rule); min-width: 0; }
.st-rows dd b { display: block; font: 600 18px/1.3 var(--display); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.st-rows dd b small { font-size: 13px; font-weight: 500; color: var(--ink-3); }
.st-rows dd span { display: block; margin-top: 3px; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.st-prec { margin-top: 6px; }
.st-prec summary { display: inline-flex; align-items: center; gap: 6px; padding: 2px 8px; border-radius: var(--r-sm); background: var(--tint); color: var(--ink); font: 600 13px/1.5 var(--text); cursor: pointer; list-style: none; }
.st-prec summary::-webkit-details-marker { display: none; }
.st-prec summary::after { content: ''; width: 6px; height: 6px; margin-top: -3px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg); }
.st-prec[open] summary::after { margin-top: 3px; transform: rotate(-135deg); }
@media (hover: hover) and (pointer: fine) { .st-prec summary:hover { background: var(--tint-strong); } }
.st-prec summary:active { background: var(--tint-strong); }
.st-prec p { margin-top: 6px; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.st-sheet.is-warn .st-rows dd:last-child b { color: var(--warn); }

/* ---------- home: facts, the three sides, for whom ---------- */
.facts-band { padding: 56px 0 0; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1024px; }
.facts li { display: flex; flex-direction: column; gap: 6px; padding: 4px 24px; border-left: 1px solid var(--rule); text-align: center; }
.facts li:first-child { border-left: 0; }
.facts span { font: 650 13px var(--display); letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); }
.facts b { font-size: 17px; font-weight: 600; color: var(--ink); }

.sides { display: grid; gap: 128px; }
.side { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: center; }
.side.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.side.flip .side-text { order: 2; }
.side-text .h3 { max-width: 16ch; }
/* The question links to the guide that answers it: the title's ink, a quiet underline, as in the list of guides. */
.side-text .h3 a { text-decoration-color: var(--rule-3); text-underline-offset: 5px; }
@media (hover: hover) and (pointer: fine) { .side-text .h3 a:hover { color: var(--accent-2); text-decoration-color: currentColor; } }
.side-text .h3 a:active { color: var(--accent-2); text-decoration-color: currentColor; }
.side-lead { margin-top: 16px; font-size: 17px; line-height: 1.6; color: var(--ink-2); max-width: 28em; }
.side-text .more { margin-top: 28px; }
.stations { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--rule); }
.stations li { position: relative; padding: 0 0 10px 28px; font-size: 16px; line-height: 1.45; color: var(--ink); }
.stations li::before { content: ''; position: absolute; left: 0; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--card); border: 3px solid var(--c); z-index: 1; }
.stations li::after { content: ''; position: absolute; left: 6px; top: 11px; bottom: -4px; width: 2px; background: var(--c); }
.stations li:last-child { padding-bottom: 0; }
.stations li:last-child::after { display: none; }
.side-visual { min-width: 0; }
.visual { position: relative; height: 580px; border-radius: var(--r-xl); overflow: hidden; }
/* One flat ground under the captures (no pastel gradient). */
.v-lineage, .v-finops, .v-calc { background: var(--paper-2); }
.vi { position: relative; width: 100%; height: 100%; margin-inline: auto; }
.visual img { position: absolute; max-width: none; border-radius: var(--r-md); border: 1px solid rgba(15, 30, 58, .1); background: var(--card); box-shadow: var(--shadow-ui); }
.visual img:last-child { z-index: 2; box-shadow: var(--shadow-float); }
.lineage-map { width: 808px; left: 40px; top: 196px; }
.lineage-card { width: 338px; right: 32px; top: 32px; }
.finops-map { width: 810px; left: 40px; top: 40px; }
.finops-card { width: 338px; right: 32px; bottom: 32px; }
/* The Calculator's two crops narrow with their frame (never under 0.75 of their size): the card never covers the amounts of the steps. */
.calc-steps { width: min(336px, 50%); left: 24px; top: 20px; }
.calc-card { width: min(278px, 41.5%); right: 20px; top: 88px; }
.side-visual figcaption, .metro figcaption { margin-top: 16px; text-align: center; font-size: 14px; line-height: 1.5; color: var(--ink-2); }

.who-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.who-card { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; padding: 32px; background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); }
.who-card h3 { display: flex; align-items: baseline; gap: 12px; font-size: 20px; line-height: 1.25; letter-spacing: -.012em; }
.who-card > p { margin-top: 12px; font-size: 16px; line-height: 1.6; color: var(--ink-2); max-width: var(--measure); }
.who-foot { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--rule); }
.who-shots { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.who-shots a { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border: 1px solid var(--rule-2); border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--ink); text-decoration: none; background: var(--card); }
@media (hover: hover) and (pointer: fine) { .who-shots a:hover { border-color: var(--ink-2); background: var(--paper-2); } }
.who-shots a:active { border-color: var(--ink-2); background: var(--paper-2); }

/* ---------- home: trust (privacy) ---------- */
.trust { background: var(--navy); color: var(--on-navy); }
.trust .eyebrow { color: var(--on-navy-3); }
.trust-top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px 80px; align-items: center; }
.trust .h2 { max-width: 20ch; }
.route { position: relative; height: 168px; width: 100%; max-width: 440px; justify-self: end; }
.route-line { position: absolute; left: 11px; right: 11px; top: 9px; height: 4px; background: var(--card); border-radius: 2px; }
.route-branch { position: absolute; left: 50%; top: 13px; height: 76px; border-left: 3px dashed var(--on-navy-line); margin-left: -1.5px; }
.route-stop { position: absolute; display: flex; flex-direction: column; gap: 4px; font-size: 14px; line-height: 1.35; }
.route-stop i { display: block; width: 22px; height: 22px; border-radius: 50%; background: var(--navy); border: 5px solid var(--card); }
.route-stop b { font-weight: 600; color: var(--on-navy); margin-top: 10px; }
.route-stop.a { left: 0; top: 0; max-width: 140px; }
.route-stop.b { right: 0; top: 0; align-items: flex-end; text-align: right; max-width: 170px; }
.route-stop.off { left: 50%; top: 80px; transform: translateX(-11px); }
.route-stop.off i { display: grid; place-items: center; border: 3px solid var(--on-navy-line); color: var(--on-navy-3); }
.route-stop.off i .yi { width: 12px; height: 12px; stroke-width: 2; }
.route-stop.off b { color: var(--on-navy-2); margin-top: 8px; }
.route-stop.off em { font-style: normal; color: var(--on-navy-3); }
.points { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; margin-top: 72px; }
.points li { padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .18); }
.point-i { width: 26px; height: 26px; stroke-width: 1.75; }
.points h3 { margin-top: 16px; font-size: 20px; line-height: 1.3; letter-spacing: -.01em; }
.points p { margin-top: 8px; font-size: 16px; line-height: 1.6; color: var(--on-navy-2); }
.trust-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 40px; margin-top: 56px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .18); }
.trust-links { display: flex; flex-wrap: wrap; gap: 12px 32px; }
.trust-links a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--on-navy); text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .trust-links a:hover { text-decoration: underline; text-underline-offset: 4px; } }
.trust-links a:active { text-decoration: underline; text-underline-offset: 4px; }
.trust-note { font-size: 14px; color: var(--on-navy-3); }

/* ---------- home: install, demo, questions ---------- */
.hline { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.hline::before { content: ''; position: absolute; left: 24px; right: calc(33.33% - 40px); top: 22px; height: 4px; border-radius: 2px; background: var(--navy-2); }
.hline li { position: relative; }
.hstop { position: relative; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--navy-2); color: var(--on-navy); font: 700 18px/1 var(--display); box-shadow: 0 0 0 6px var(--card); }
.hline h3 { margin-top: 24px; font-size: 20px; line-height: 1.3; letter-spacing: -.012em; }
.hline p { margin-top: 8px; color: var(--ink-2); max-width: 21em; }
.install-foot { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px 64px; margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--rule); }
.needs p + p { margin-top: 8px; color: var(--ink-2); max-width: var(--measure); }
.needs .more { margin-top: 20px; }
.stores { display: grid; }
.store { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--rule); color: var(--ink); text-decoration: none; font-size: 15px; }
.store:first-child { padding-top: 0; }
.store-ico { width: 22px; height: 22px; color: var(--ink-2); stroke-width: 1.75; }
.store-name { font-weight: 600; }
.store-cta { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-3); }
a.store .store-cta { color: var(--action); font-weight: 600; }
@media (hover: hover) and (pointer: fine) { a.store:hover .store-name { text-decoration: underline; text-underline-offset: 3px; } }
a.store:active .store-name { text-decoration: underline; text-underline-offset: 3px; }
.stores-box > p { margin-top: 10px; }
.dev { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 12px 14px; border: 1px solid var(--rule); border-radius: var(--r-md); text-decoration: none; color: var(--ink); font-size: 15px; }
.dev-cta { margin-left: auto; display: inline-flex; gap: 6px; align-items: center; font-weight: 600; color: var(--action); white-space: nowrap; }

.panel.demo-panel { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; padding: 64px; border-radius: var(--r-xl); background: var(--paper-2); }
.demo-panel .h2 { max-width: 15ch; }
.demo-text { margin-top: 16px; font-size: 18px; line-height: 1.6; color: var(--ink-2); max-width: 30em; }
.demo-cta { margin-top: 32px; }
.demo-note { margin-top: 14px; max-width: 34em; font-size: 14px; color: var(--ink-3); }
.demo-side { align-self: center; }
.program { margin-top: 20px; }
.program li { position: relative; padding: 0 0 18px 34px; font-size: 16px; line-height: 1.45; font-weight: 500; }
.program li::before { content: ''; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; border: 4px solid var(--navy-2); background: var(--card); z-index: 1; }
.program li::after { content: ''; position: absolute; left: 8px; top: 12px; bottom: -2px; width: 2px; background: var(--rule-2); }
.program li:last-child { padding-bottom: 0; }
.program li:last-child::after { display: none; }
#demo { padding-top: 0; padding-bottom: 0; }

.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 64px; }
.faq-head { position: sticky; top: 104px; align-self: start; }
.faq-head .more { margin-top: 20px; }
.faq-list { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding: 24px 0; cursor: pointer; list-style: none; font-size: 18px; line-height: 1.4; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
@media (hover: hover) and (pointer: fine) { .faq summary:hover { color: var(--accent-2); } }
.faq summary:active { color: var(--accent-2); }
.faq summary:focus-visible { outline-offset: 2px; }
.qa-i { width: 22px; height: 22px; margin-top: 1px; color: var(--ink-2); transition: transform .2s; }
.faq details[open] .qa-i { transform: rotate(45deg); }
.faq details > p { padding: 0 48px 28px 0; color: var(--ink-2); max-width: var(--measure); box-sizing: content-box; }
.faq-more { margin-top: 32px; height: 40px; font-size: 15px; }

/* ---------- footer ---------- */
.foot { background: var(--ground); border-top: 1px solid var(--rule); padding: 72px 0 40px; color: var(--ink-2); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2.4fr)); gap: 40px; }
.foot-brand p { margin-top: 16px; max-width: 19em; }
.foot-mail { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-weight: 600; color: var(--accent); text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .foot-mail:hover { text-decoration: underline; text-underline-offset: 3px; } }
.foot-mail:active { text-decoration: underline; text-underline-offset: 3px; }
.foot-h { margin-bottom: 14px; font: 650 13px var(--display); letter-spacing: .07em; text-transform: uppercase; color: var(--ink); }
.foot-col a { display: block; padding: 5px 0; font-size: 15px; color: var(--ink-2); text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .foot-col a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; } }
.foot-col a:active { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.foot-bottom { display: grid; gap: 12px; margin-top: 56px; font-size: 14px; color: var(--ink-3); }
.foot-bottom::before { content: ''; display: block; height: 1px; background: var(--rule); margin-bottom: 16px; }
.foot-safe { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); max-width: var(--measure); }
.foot-safe .yi { margin-top: 2px; color: var(--ok); }

/* ---------- inner pages: hero, sub-navigation ---------- */
.page-hero { background: var(--ground); padding: 88px 0 72px; }
.h1-page { font: 650 clamp(38px, 3.6vw + 12px, 64px)/1.07 var(--display); letter-spacing: -.026em; max-width: 18ch; }
.page-lead { margin-top: 24px; font-size: clamp(18px, .4vw + 15px, 20px); line-height: 1.55; color: var(--ink-2); max-width: 34em; }
.subnav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.subnav a { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--rule-2); font-size: 15px; font-weight: 500; color: var(--ink-2); text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .subnav a:hover { color: var(--ink); border-color: var(--rule-3); } }
.subnav a:active { color: var(--ink); border-color: var(--rule-3); }
.page-hero + .gains-sec { padding-top: 0; background: linear-gradient(180deg, var(--ground) 0 96px, var(--card) 96px); }

/* ---------- features: benefits, without and with, screens, call to action ---------- */
.gains-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; }
.gain { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; align-content: start; padding: 40px 36px 32px; border-left: 1px solid var(--rule); border-top: 1px solid var(--rule); }
.gain:nth-child(3n + 1) { border-left: 0; }
.gain:nth-child(-n + 3) { border-top: 0; }
.gain-i { width: 30px; height: 30px; color: var(--navy-2); stroke-width: 1.75; }
.gain h3 { margin-top: 24px; font-size: 20px; line-height: 1.3; letter-spacing: -.012em; max-width: 22ch; }
.gain > p:not(.gain-proof) { margin: 12px 0 24px; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.gain-proof { display: flex; gap: 10px; align-items: flex-start; padding-top: 20px; border-top: 1px solid var(--rule); font-size: 14px; line-height: 1.5; color: var(--ink-3); }
.gain-proof .yi { width: 16px; height: 16px; margin-top: 2px; color: var(--ok); stroke-width: 2.25; }

.compare { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; }
.compare-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.compare-table thead th { padding: 18px 28px; font: 650 13px var(--display); letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); text-align: left; border-bottom: 1px solid var(--rule); background: var(--ground); }
.compare-table thead th:nth-child(1), .compare-table thead th:nth-child(2) { width: 30%; }
.compare-table thead th.with { color: var(--navy-2); background: var(--tint-2); }
.compare-table tbody th, .compare-table td { padding: 22px 28px; vertical-align: top; text-align: left; border-bottom: 1px solid var(--rule); font-size: 16px; line-height: 1.55; }
.compare-table tbody tr:last-child > * { border-bottom: 0; }
.compare-table tbody th { font-weight: 600; color: var(--ink); }
.compare-table td { position: relative; padding-left: 58px; color: var(--ink-2); }
.compare-table td.with { background: var(--tint-2); color: var(--ink); }
.compare-table td > span { display: block; }
.compare-table .no, .compare-table .yes { position: absolute; left: 28px; top: 24px; width: 18px; height: 18px; border-radius: 50%; }
.compare-table .no { border: 2px solid var(--ink-3); }
.compare-table .no::after { content: ''; position: absolute; left: 3px; top: 6px; width: 8px; height: 2px; background: var(--ink-3); border-radius: 1px; }
.compare-table .yes { padding: 3px; background: var(--ok); color: var(--on-navy); stroke-width: 2.5; }
.see-shot { display: inline-flex; min-height: 28px; align-items: center; gap: 4px; white-space: nowrap; color: var(--action); font-weight: 600; font-size: 15px; text-decoration: none; }
.see-shot .yi { width: 15px; height: 15px; }
@media (hover: hover) and (pointer: fine) { .see-shot:hover { text-decoration: underline; text-underline-offset: 3px; } }
.see-shot:active { text-decoration: underline; text-underline-offset: 3px; }

.tabs-bar { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.tabs-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 12px 24px; }
/* The four themes of the tour: one chosen shows its screens below. */
.tour-themes { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 16px; border-bottom: 1px solid var(--rule); }
.tour-themes button { display: inline-flex; align-items: center; gap: 9px; min-height: 42px; padding: 6px 16px 6px 14px; text-align: left; border: 1px solid var(--rule-2); border-radius: var(--r-md); background: var(--card); font-size: 15px; font-weight: 600; color: var(--ink-2); cursor: pointer; transition: border-color .15s, color .15s, background-color .15s; }
.tour-themes button i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); flex: none; }
.tour-themes button small { font-size: 13px; font-weight: 500; color: var(--ink-3); font-variant-numeric: tabular-nums; }
@media (hover: hover) and (pointer: fine) { .tour-themes button:hover { color: var(--ink); border-color: var(--rule-3); } }
.tour-themes button:active { color: var(--ink); border-color: var(--rule-3); }
.tour-themes button[aria-pressed="true"] { color: var(--ink); border-color: var(--navy-2); box-shadow: inset 0 0 0 1px var(--navy-2); background: var(--tint); }
/* The link to the full capture shows on a phone only, where a capture is drawn too small to read. */
.shot-big { display: none; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tabs button { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px 0 12px; border-radius: 999px; border: 1px solid var(--rule-2); background: var(--card); font-size: 15px; font-weight: 500; color: var(--ink-2); cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.tabs button i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); flex: none; }
@media (hover: hover) and (pointer: fine) { .tabs button:hover { color: var(--ink); border-color: var(--rule-3); } }
.tabs button:active { color: var(--ink); border-color: var(--rule-3); }
.tabs button[aria-selected="true"] { background: var(--navy-2); border-color: var(--navy-2); color: var(--on-navy); }
.tabs button[aria-selected="true"] i { box-shadow: 0 0 0 2px var(--card); }
/* Forced colours (a contrast theme) drop the fill and the shadow that mark the chosen screen and theme: a Highlight border
   and a thick underline keep the state, without moving the row (no outline: it is the focus ring). */
@media (forced-colors: active) {
  .tabs button[aria-selected="true"], .tour-themes button[aria-pressed="true"] { border-color: Highlight; text-decoration-line: underline; text-decoration-thickness: 3px; text-decoration-color: Highlight; text-underline-offset: 5px; }
  /* The current language and the current page: their fill and their white bar would vanish too. */
  .langmenu a[aria-current="true"] { border: 1px solid Highlight; text-decoration-line: underline; text-decoration-thickness: 3px; text-decoration-color: Highlight; text-underline-offset: 5px; }
  .topnav a[aria-current="page"]::after { background: Highlight; forced-color-adjust: none; }
}
.shot:focus-visible { outline-offset: 6px; }
.frame { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--rule-2); background: var(--card); box-shadow: var(--shadow-ui); }
.frame-body { background: var(--ground); }
.shot-pair .frame-body { display: flex; flex-wrap: wrap; gap: 26px; justify-content: center; align-items: flex-start; padding: 26px; }
.shot-pair .hotwrap { flex: 0 1 520px; border-radius: var(--r-md); box-shadow: var(--shadow-ui); }
.shot-pair .hotwrap:last-child { flex-basis: 320px; }
.shot-pair img { border-radius: var(--r-md); }
.shot-stack .frame-body { display: grid; gap: 1px; background: var(--rule-2); }
.shot-stack img { width: 100%; }
.shot figcaption { margin-top: 20px; font-size: 15px; line-height: 1.55; color: var(--ink-2); max-width: var(--measure); }
.shot figcaption b { color: var(--ink); font-weight: 650; margin-right: 4px; }
/* The guided tour: a train of the line colours passes when a screen arrives, then numbered marks pop on and one
   label at a time lights up (site.js places them from their data attributes). */
.shot .frame::after { content: ''; position: absolute; z-index: 4; top: 0; bottom: 0; left: 0; width: 16%; pointer-events: none; opacity: 0; transform: translateX(-112.5%);
  background: linear-gradient(90deg, var(--red) 0 14.3%, var(--blue) 0 28.6%, var(--green) 0 42.9%, var(--amber) 0 57.1%, var(--teal) 0 71.4%, var(--purple) 0 85.7%, var(--orange) 0); }
.shot .frame.arrive::after { animation: train-pass .8s cubic-bezier(.6, 0, .3, 1) both; }
.shot .frame.arrive .frame-body { animation: reveal-fade .8s cubic-bezier(.6, 0, .3, 1) both; }
/* Transform and opacity only (DESIGN.md): the train crosses the frame, the screen fades in behind it. */
@keyframes train-pass { 0% { transform: translateX(-112.5%); opacity: 1; } 99% { transform: translateX(650%); opacity: 1; } 100% { transform: translateX(650%); opacity: 0; } }
@keyframes reveal-fade { from { opacity: 0; } to { opacity: 1; } }
.hotwrap { position: relative; }
.hotwrap img { display: block; width: 100%; }
.hot { display: none; }
.js .hot { position: absolute; left: var(--x); top: var(--y); z-index: 3; display: flex; align-items: center; gap: 8px; transform: translate(-15px, -15px); opacity: 0; }
.js .hot.left { flex-direction: row-reverse; transform: translate(calc(-100% + 15px), -15px); }
.hot.on { z-index: 5; }
.hot b { position: relative; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--card); color: var(--navy); border: 3px solid var(--accent); font: 700 14px/1 var(--display); cursor: default; transition: scale .25s cubic-bezier(.2, .7, .2, 1), background-color .25s, color .25s; }
.hot.on b { scale: 1.14; background: var(--accent); color: var(--on-navy); }
/* The ring of the lit mark grows and fades (a transform and an opacity, never a shadow that repaints). */
.hot b::after { content: ''; position: absolute; inset: -3px; border-radius: 50%; border: 3px solid var(--accent); opacity: 0; pointer-events: none; }
.hot.on b::after { animation: hot-ring 1.8s ease-out infinite; }
.is-off .hot.on b::after { animation-play-state: paused; }
.hot em { font: 600 14px/1.25 var(--display); font-style: normal; color: var(--on-navy); background: var(--navy); padding: 7px 11px; border-radius: var(--r-md); white-space: nowrap; box-shadow: var(--shadow-menu); opacity: 0; translate: 0 6px; transition: opacity .25s ease-out, translate .3s cubic-bezier(.2, .7, .2, 1); pointer-events: none; }
.hot.on em { opacity: 1; translate: 0 0; }
.hotwrap.compact .hot em { display: none; }
.frame.marked .hot { animation: hot-in .45s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(.85s + var(--n) * .16s); }
@keyframes hot-in { from { opacity: 0; scale: .6; } to { opacity: 1; scale: 1; } }
@keyframes hot-ring { 0% { transform: scale(1); opacity: .55; } 70%, 100% { transform: scale(1.9); opacity: 0; } }
.hot-legend { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 18px; }
.hot-legend li { display: flex; align-items: center; gap: 8px; padding: 5px 13px 5px 5px; border-radius: 999px; border: 1px solid var(--rule-2); background: var(--card); font: 500 15px/1.25 var(--display); color: var(--ink-2); cursor: default; transition: border-color .25s, background-color .25s, color .25s; }
.hot-legend li b { flex: none; display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--card); border: 2px solid var(--accent); font: 700 12px/1 var(--display); color: var(--navy); transition: background-color .25s, color .25s; }
.hot-legend li.on { border-color: var(--accent); background: var(--tint); color: var(--ink); }
.hot-legend li.on b { background: var(--accent); color: var(--on-navy); }

.cta-band { padding: 80px 64px; border-radius: var(--r-xl); background: var(--navy); color: var(--on-navy); text-align: center; display: flex; flex-direction: column; align-items: center; }
.cta-band .h2 { max-width: 20ch; }
.cta-band > p { margin-top: 16px; font-size: 18px; line-height: 1.6; color: var(--on-navy-2); max-width: 34em; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.cta-band > .cta-actions { margin-top: 36px; }
.cta-band > .cta-note { margin-top: 14px; font-size: 14px; color: var(--on-navy-2); max-width: 34em; }

/* ---------- tutorials: the video, the paths, the contents, the articles ---------- */
.tuto-video-grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 48px; align-items: start; }
.tuto-video-player video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: var(--radius); background: var(--navy); box-shadow: var(--shadow-ui); }
.tuto-video-player video:focus-visible { outline-offset: 4px; }
.tuto-video-player figcaption { margin-top: 16px; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.tuto-video-player figcaption b { color: var(--ink); font-weight: 600; margin-right: 6px; }
.tuto-video-parts .label { margin-bottom: 12px; }
.tuto-video-parts ol { position: relative; }
.tuto-video-parts li { position: relative; }
.tuto-video-parts li:not(:last-child)::after { content: ''; position: absolute; left: 26px; top: 36px; bottom: -14px; width: 3px; background: var(--c); }
.tuto-video-parts li + li::before { content: ''; position: absolute; left: 26px; top: -2px; height: 14px; width: 3px; background: var(--c); }
.tuto-video-parts button { position: relative; z-index: 1; display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 14px; width: 100%; padding: 9px 12px; border: 0; border-radius: var(--r-md); background: none; text-align: left; cursor: pointer; transition: background-color .15s; }
@media (hover: hover) and (pointer: fine) { .tuto-video-parts button:hover { background: var(--paper-2); } }
.tuto-video-parts button:active { background: var(--paper-2); }
.tuto-video-parts button[aria-current="true"] { background: var(--tint); }
.tuto-video-parts button i, .line-steps i, .tutos i { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--card); border: 3px solid var(--c); color: var(--ink); font: 700 13px/1 var(--display); font-style: normal; font-variant-numeric: tabular-nums; flex: none; }
.tuto-video-parts button[aria-current="true"] i { border-width: 4px; }
.ch-t { font-size: 16px; font-weight: 600; line-height: 1.35; color: var(--ink); }
.tuto-video-parts small { font-size: 14px; color: var(--ink-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.legend-tight { margin-top: 16px; padding-left: 12px; gap: 6px 14px; }
.tuto-video-parts > p.small { margin-top: 16px; padding-left: 12px; }

.paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.path { --path: var(--c); display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0; align-content: start; padding: 32px; background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); }
.path-theme { display: flex; align-items: center; gap: 10px; font-size: 14px; line-height: 1.4; font-weight: 500; color: var(--ink-3); }
.path h3 { margin-top: 16px; font-size: 20px; line-height: 1.25; letter-spacing: -.012em; }
.path-text { margin-top: 10px; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.line-steps { display: flex; flex-direction: column; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--rule); }
.line-steps li { position: relative; display: flex; gap: 14px; align-items: flex-start; padding-bottom: 14px; }
.line-steps li::after { content: ''; position: absolute; left: 13.5px; top: 15px; bottom: -15px; width: 3px; background: var(--path); }
.line-steps li:last-child::after { display: none; }
.line-steps i { position: relative; z-index: 1; }
.line-steps a { padding-top: 4px; font-size: 15px; line-height: 1.45; font-weight: 500; color: var(--ink); text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .line-steps a:hover { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; } }
.line-steps a:active { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; }
.line-steps.has-more.folded li:nth-child(5) { flex: 1 0 auto; }
.line-steps.has-more.folded li:nth-child(5)::after { display: block; width: 0; background: none; border-left: 3px dashed var(--path); bottom: -16px; }
.path-more { display: inline-flex; align-items: center; gap: 14px; align-self: start; margin-top: 2px; padding: 0; border: 0; background: none; font-size: 15px; font-weight: 600; color: var(--accent); cursor: pointer; border-radius: var(--r-md); }
.path-more i { width: 30px; height: 30px; border-radius: 50%; border: 2px dashed var(--path); }
@media (hover: hover) and (pointer: fine) { .path-more:hover span { text-decoration: underline; text-underline-offset: 3px; } }
.path-more:active span { text-decoration: underline; text-underline-offset: 3px; }
.path-index { background: var(--navy); border-color: var(--navy); color: var(--on-navy); }
.path-index h3 { color: var(--on-navy); }
.index { grid-row: 3 / span 2; display: flex; flex-direction: column; margin: 24px 0; border-top: 1px solid rgba(255, 255, 255, .16); }
.index li { flex: 1 0 auto; display: flex; }
.index a { flex: 1; display: grid; grid-template-columns: 28px minmax(0, 1fr) auto 18px; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .16); font-weight: 500; color: var(--on-navy); text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .index a:hover span { text-decoration: underline; text-underline-offset: 3px; } }
.index a:active span { text-decoration: underline; text-underline-offset: 3px; }
.index .bar, .group h3::before { display: block; width: 28px; height: 6px; border-radius: 3px; background: var(--c); }
.index small { font-size: 14px; color: var(--on-navy-2); font-variant-numeric: tabular-nums; }
.index .yi { width: 16px; height: 16px; color: var(--on-navy-3); }
.index-video { grid-row: 5; align-self: end; display: flex; align-items: center; gap: 14px; color: var(--on-navy); text-decoration: none; }
.index-video .yi { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: var(--card); color: var(--navy); fill: var(--navy); stroke: none; }
.index-video span { display: grid; gap: 2px; }
.index-video b { font-weight: 600; font-size: 16px; }
.index-video small { font-size: 14px; color: var(--on-navy-2); }
@media (hover: hover) and (pointer: fine) { .index-video:hover b { text-decoration: underline; text-underline-offset: 3px; } }
.index-video:active b { text-decoration: underline; text-underline-offset: 3px; }

.groups { display: grid; gap: 64px; }
.group h3 { display: flex; align-items: baseline; gap: 14px; padding-bottom: 16px; border-bottom: 4px solid var(--c); font-size: 22px; line-height: 1.3; letter-spacing: -.012em; }
.group h3::before { content: ''; align-self: center; }
.group h3 small { margin-left: auto; font-size: 14px; font-weight: 500; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.tutos { columns: 2; column-gap: 48px; }
.tutos li { break-inside: avoid; border-bottom: 1px solid var(--rule); }
.tutos a { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 14px 4px; color: var(--ink); text-decoration: none; }
.tutos span { font-size: 16px; font-weight: 500; line-height: 1.4; }
.tutos small { font-size: 14px; color: var(--ink-3); white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (hover: hover) and (pointer: fine) { .tutos a:hover span { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; } }
.tutos a:active span { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; }

.tutos-articles { background: var(--ground); }
.tutos-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; max-width: calc(980px + 2 * var(--pad)); }
.line-blue { --line: var(--blue); } .line-red { --line: var(--red); } .line-amber { --line: var(--amber); } .line-teal { --line: var(--teal); } .line-green { --line: var(--green); }
.tuto { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: 36px; }
.tuto header { display: flex; gap: 16px; align-items: center; }
.tuto header > div { flex: 1 1 0; min-width: 0; }
/* Back to the contents from any tutorial (the page holds 57 of them). */
.tuto-top { margin-left: auto; align-self: flex-start; display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border: 1px solid var(--rule-2); border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--ink-2); text-decoration: none; white-space: nowrap; }
@media (hover: hover) and (pointer: fine) { .tuto-top:hover { color: var(--ink); border-color: var(--ink-3); } }
.tuto-top:active { color: var(--ink); border-color: var(--ink-3); }
.tuto-n { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--card); border: 4px solid var(--line); font: 700 18px/1 var(--display); }
.tuto-group { font: 650 13px var(--display); text-transform: uppercase; letter-spacing: .07em; color: var(--ink-3); }
.tuto h2 { margin-top: 4px; font-size: clamp(24px, 1vw + 16px, 30px); line-height: 1.2; letter-spacing: -.016em; }
.tuto-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 22px; }
.tuto-body > * { min-width: 0; }
.tuto.has-narrow .tuto-body { grid-template-columns: minmax(0, 1fr) 300px; align-items: start; }
/* A long word (a workspace address, a path) breaks rather than widen the page on a phone. */
.tuto-text, .glossary dd, .path-text { overflow-wrap: anywhere; }
/* The text of a tutorial keeps the reading measure; its captures keep the whole width. */
.tuto-text { max-width: calc(var(--measure) + 48px); }
.tuto-intro { font-size: 17px; color: var(--ink-2); }
.tuto-label { font: 650 13px/1.2 var(--display); letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); }
/* One drawing for every inset of a tutorial (before you start, to check, good to know): a quiet ground, no border, no bar. */
.tuto-need, .tuto-check, .tuto-tip { margin-top: 18px; padding: 14px 18px; border-radius: var(--r-md); background: var(--ground); color: var(--ink-2); font-size: 16px; }
.tuto-need ul { margin-top: 8px; display: grid; gap: 4px; }
.tuto-need li { position: relative; padding-left: 20px; font-size: 16px; color: var(--ink-2); }
.tuto-need li::before { content: ''; position: absolute; left: 2px; top: .55em; width: 9px; height: 9px; border-radius: 50%; border: 2.5px solid var(--line); }
.tuto-steps { counter-reset: step; display: grid; gap: 12px; margin-top: 20px; }
.tuto-steps li { counter-increment: step; position: relative; padding-left: 44px; min-height: 30px; min-width: 0; color: var(--ink-2); }
.tuto-steps li b { color: var(--ink); }
.tuto-steps li::before { content: counter(step); position: absolute; left: 0; top: -1px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--card); border: 3px solid var(--line); color: var(--ink); font: 700 13px/1 var(--display); }
.tuto-code { margin-top: 18px; padding: 16px 18px; background: var(--navy); color: var(--code-ink); border-radius: var(--r-md); overflow-x: auto; overscroll-behavior-x: contain; font: 14px/1.6 var(--mono); }
.tuto-check b { color: var(--ok-ink); margin-right: 4px; }
/* Folded parts of a tutorial: its troubleshooting and its captures, opened on demand. */
.tuto-fold { margin-top: 18px; border-top: 1px solid var(--rule); }
.tuto-fold summary { display: flex; align-items: center; gap: 10px; padding: 14px 0 2px; cursor: pointer; list-style: none; font-weight: 600; font-size: 16px; color: var(--ink); }
.tuto-fold summary::-webkit-details-marker { display: none; }
.tuto-fold summary small { font-weight: 500; font-size: 14px; color: var(--ink-3); }
@media (hover: hover) and (pointer: fine) { .tuto-fold summary:hover span { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; } }
.tuto-fold summary:active span { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; }
.tuto-fold[open] .qa-i { transform: rotate(45deg); }
.tuto-trouble dl { margin-top: 12px; display: grid; gap: 8px; }
.tuto-trouble dt { font-weight: 600; font-size: 16px; }
.tuto-trouble dd { margin: 2px 0 0; color: var(--ink-2); font-size: 16px; }
.tuto-tip b { color: var(--ink); margin-right: 4px; }
.tuto-shots { display: grid; gap: 18px; margin-top: 16px; }
.tuto-shots .tuto-shot.narrow { justify-self: start; }
.tuto-shot { border: 1px solid var(--rule); border-radius: var(--r-md); overflow: hidden; background: var(--ground); }
.tuto-shot.narrow { max-width: 300px; }
.tuto-shot.chip { max-width: 580px; }
.tuto-shot img { display: block; width: 100%; height: auto; }
.tuto-shot figcaption { padding: 10px 14px; font-size: 14px; color: var(--ink-2); background: var(--card); border-top: 1px solid var(--rule); }
.tuto-schema figcaption { display: flex; justify-content: center; align-items: center; gap: 10px; color: var(--ink-3); }
.tuto-schema figcaption span { text-decoration: line-through; text-decoration-thickness: 2px; }
.shot-zoom { display: block; cursor: zoom-in; }
.shot-zoom:focus-visible { outline-offset: -3px; }
.tuto-clip { margin-top: 22px; }
.tuto-clip video { display: block; width: 100%; height: auto; border: 1px solid var(--rule); border-radius: var(--r-md); background: var(--navy); }
.tuto-clip figcaption { margin-top: 8px; font-size: 14px; color: var(--ink-3); }
.glossary { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: 36px; }
.glossary h2 { font-size: clamp(24px, 1vw + 16px, 30px); line-height: 1.2; letter-spacing: -.016em; }
.glossary dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 28px; margin-top: 20px; }
.glossary dt { font-weight: 600; font-size: 17px; }
.glossary dd { margin: 4px 0 0; color: var(--ink-2); font-size: 16px; }

/* ---------- method page ---------- */
.page-hero .h-section { font-size: clamp(38px, 3.6vw + 12px, 60px); line-height: 1.07; letter-spacing: -.026em; max-width: 20ch; }
.natures { margin-top: 40px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.natures li { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: 22px; }
.natures h2 { font-size: 18px; line-height: 1.25; letter-spacing: -.01em; }
.natures p { margin-top: 8px; font-size: 15px; color: var(--ink-2); }
.method-head { padding-top: 72px; padding-bottom: 32px; }
.method-head-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.method-head .lead { margin-top: 14px; }
.identity { margin-top: 22px; background: var(--navy); color: var(--on-navy); border-radius: var(--r-md); padding: 18px 20px; font: 400 15px/1.5 var(--mono); }
/* An amount too wide to sit beside its term (a narrow phone, a reader's text spacing, WCAG 1.4.12) goes under it, on the right. */
.id-row { display: flex; flex-wrap: wrap; justify-content: space-between; column-gap: 16px; padding: 4px 0; }
.id-row dt { display: flex; gap: 10px; flex: 1 1 0; }
.id-row dd { margin: 0 0 0 auto; font-variant-numeric: tabular-nums; white-space: nowrap; }
.id-op { width: 1ch; color: var(--focus-on-navy); }
.id-total { border-bottom: 1px solid rgba(255, 255, 255, .2); padding-bottom: 8px; margin-bottom: 4px; color: var(--on-navy); font-weight: 500; }
.h-sub { font-size: 24px; line-height: 1.2; letter-spacing: -.015em; }
.scale > p:not(.levels-end) { margin-top: 10px; color: var(--ink-2); }
.levels-end { margin-top: 16px; font: 650 13px var(--display); letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); }
.levels { margin: 8px 0 0 7px; border-left: 4px solid var(--navy-2); border-radius: 2px; }
.levels li { position: relative; padding: 9px 0 9px 22px; display: grid; gap: 2px; }
.levels li::before { content: ''; position: absolute; left: -13px; top: 15px; width: 10px; height: 10px; border-radius: 50%; background: var(--card); border: 3px solid var(--navy-2); }
.levels b { font-size: 16px; }
.levels span { font-size: 14px; color: var(--ink-3); line-height: 1.45; }
.method-body { padding-top: 56px; }
/* The method's text keeps the reading measure; its contents stay in sight beside it, the section in view marked. */
.method-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; align-items: start; }
.method-layout > .legal { grid-column: 1; grid-row: 1; padding: 0; max-width: none; }
.method-toc { grid-column: 2; grid-row: 1; position: sticky; top: 92px; max-height: calc(100vh - 112px); max-height: calc(100dvh - 112px); overflow-y: auto; overscroll-behavior: contain; padding: 4px 0 4px 20px; border-left: 1px solid var(--rule); }
.method-toc h2 { margin: 0 0 10px; font-size: 13px; line-height: 1.3; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); }
.method-toc ol { display: grid; gap: 2px; }
.method-toc a { display: block; padding: 5px 10px; margin-left: -10px; border-radius: var(--r-sm); font-size: 15px; line-height: 1.4; color: var(--ink-2); text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .method-toc a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; } }
.method-toc a:active { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.method-toc a:focus-visible { outline-offset: -2px; }
/* The section in view: a tint and the ink (never a coloured bar on its side, DESIGN.md). */
.method-toc a[aria-current="true"] { color: var(--ink); font-weight: 600; background: var(--tint); }

/* ---------- reading pages: privacy, security, the method's text, 404 ---------- */
.legal { padding-top: 48px; padding-bottom: 96px; max-width: calc(76ch + 2 * var(--pad)); }
.legal h1 { margin: 20px 0 12px; font-size: clamp(36px, 3vw + 14px, 56px); line-height: 1.08; letter-spacing: -.024em; }
.legal h2 { margin: 40px 0 10px; font-size: 26px; line-height: 1.2; letter-spacing: -.016em; }
.legal h3 { margin: 28px 0 8px; font-size: 20px; line-height: 1.25; }
.legal p, .legal li { color: var(--ink-2); }
/* Long text at the reading measure; tables and code keep the width of the page. */
.legal > p, .legal > ul, .legal > ol, .legal > h2, .legal > h3, .notice p, .contact-project p { max-width: var(--measure); }
.legal p + p, .legal ul, .legal ul + p, .legal ol + p { margin-top: 12px; }
.legal ul { list-style: disc; padding-left: 22px; }
.legal ol { list-style: decimal; padding-left: 24px; margin-top: 12px; }
.legal li + li { margin-top: 6px; }
.legal a { color: var(--accent-2); overflow-wrap: anywhere; }
.legal code { font: .9em var(--mono); background: var(--paper-2); padding: 1px 5px; border-radius: var(--r-sm); overflow-wrap: anywhere; }
.legal em { color: var(--ink-3); }
.legal p + .table-wrap, .legal .table-wrap + p, .legal pre { margin-top: 14px; }
.legal pre { overflow-x: auto; overscroll-behavior-x: contain; padding: 14px 16px; background: var(--navy); color: var(--code-ink); border-radius: var(--r-md); font: 14px/1.55 var(--mono); }
.legal pre code { background: none; padding: 0; color: inherit; font: inherit; overflow-wrap: normal; }
.back { display: inline-flex; font-weight: 600; color: var(--accent); text-underline-offset: 4px; }
.table-wrap { overflow-x: auto; overscroll-behavior-x: contain; margin-top: 14px; border: 1px solid var(--rule); border-radius: var(--r-md); background: var(--card); }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table-wrap th, .table-wrap td { text-align: left; vertical-align: top; padding: 9px 12px; border-bottom: 1px solid var(--rule); color: var(--ink-2); }
.table-wrap th { color: var(--ink); font-weight: 600; background: var(--ground); }
.table-wrap tr:last-child td { border-bottom: 0; }
/* Guides (SEO phase 2): the trail, the lead and the date, where to go next, the other guides, and the index. */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0; padding: 0; list-style: none; font-size: 14px; color: var(--ink-3); }
.crumbs li, .legal .crumbs li + li { margin: 0; color: var(--ink-3); }
.crumbs li:not(:last-child)::after { content: "/"; content: "/" / ""; margin: 0 10px; color: var(--rule-3); }
.crumbs a { color: var(--accent); font-weight: 600; text-underline-offset: 4px; }
.legal .guide-lead { margin-top: 4px; max-width: var(--measure); }
.legal .guide > p, .legal .guide > ul, .legal .guide > ol, .legal .guide > h2, .legal .guide > h3 { max-width: var(--measure); }
.legal .guide-meta { margin-top: 14px; font-size: 14px; color: var(--ink-3); }
.legal .guide-meta a { color: var(--ink-3); }
.guide-next, .guide-related { margin-top: 48px; max-width: var(--measure); }
.guide-next { padding: 22px 24px 24px; background: var(--ground); border: 1px solid var(--rule); border-radius: var(--radius); }
.legal .guide-next h2, .legal .guide-related h2 { margin-top: 0; font-size: 22px; }
.guide-next .btn { margin-top: 18px; }
.legal .guide-next ul + p { margin-top: 0; }
.legal .guide-next .btn-ink { color: var(--on-navy); text-decoration: none; }
.guide .table-wrap td:first-child code { white-space: nowrap; overflow-wrap: normal; }
.legal .guide-list { display: grid; gap: 14px; margin-top: 28px; padding: 0; list-style: none; max-width: var(--measure); }
.legal .guide-list li { margin: 0; padding: 18px 22px 20px; background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); }
.legal .guide-list h2 { margin: 0 0 6px; font-size: 21px; }
.legal .guide-list h2 a { color: var(--ink); text-decoration-color: var(--rule-3); text-underline-offset: 5px; }
@media (hover: hover) and (pointer: fine) { .legal .guide-list h2 a:hover { color: var(--accent-2); text-decoration-color: currentColor; } }
.legal .guide-list h2 a:active { color: var(--accent-2); text-decoration-color: currentColor; }
/* Security page: the summary of the latest test report, before the first section. */
.report-card { margin-top: 28px; padding: 22px 24px 24px; background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); box-shadow: var(--shadow-ui); }
.report-card h2 { margin: 0 0 8px; font-size: 22px; }
.report-card .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.report-card .report-code { display: block; font-size: 13px; color: var(--ink-3); }
.report-card .report-source { margin-top: 10px; font-size: 14px; color: var(--ink-3); }

/* ---------- contact page ---------- */
.founder-in { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 56px; align-items: start; }
.founder-photo { position: sticky; top: 100px; width: 240px; height: 240px; margin: 10px 0 0 10px; border-radius: 50%; }
.founder-photo img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 6px var(--card), 0 0 0 9px var(--navy-2), 0 18px 40px rgba(15, 30, 58, .18); }
.founder-text { max-width: 40em; }
.founder-text > p:not(.eyebrow) { margin-top: 16px; font-size: 18px; line-height: 1.7; color: var(--ink-2); }
.founder-text > p.founder-lead { margin-top: 22px; font-size: 24px; line-height: 1.4; font-weight: 600; color: var(--ink); letter-spacing: -.01em; }
.founder-text > p.founder-thanks { color: var(--ink); font-weight: 500; }
.founder-sign { display: flex; flex-direction: column; gap: 4px; margin-top: 30px !important; padding-top: 22px; border-top: 1px solid var(--rule); }
.founder-sign b { font-size: 20px; font-weight: 600; color: var(--ink); }
.founder-role { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; font-size: 15px; color: var(--ink-3); }  /* the roles one under the other: no separator left alone at a line's end, at any width */
.founder-role span:first-child { color: var(--ink-2); font-weight: 600; }
.founder-links { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 15px !important; }
.founder-links a { color: var(--accent); text-underline-offset: 3px; font-weight: 600; }
.contact-project { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 40px; margin-top: 52px; padding: 32px; background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); box-shadow: var(--shadow-ui); }
.project-text { flex: 1 1 460px; }
.contact-ico { width: 30px; height: 30px; color: var(--navy-2); stroke-width: 1.75; }
.contact-project h3 { margin-top: 14px; font-size: clamp(24px, 1vw + 16px, 30px); line-height: 1.15; letter-spacing: -.016em; }
.contact-project p { margin-top: 10px; color: var(--ink-2); font-size: 17px; }
.project-offers { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 16px; }
.project-offers li { padding: 5px 12px; border: 1px solid var(--rule-2); border-radius: 999px; background: var(--card); font-size: 15px; font-weight: 500; }
.contact-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
.contact-card { position: relative; display: flex; flex-direction: column; padding: 28px 24px 24px; background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); }
.contact-card h3 { margin-top: 14px; font-size: 20px; line-height: 1.2; letter-spacing: -.012em; }
.contact-card p { margin-top: 8px; color: var(--ink-2); font-size: 16px; flex: 1; }
.contact-link { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--action); text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .contact-link:hover { text-decoration: underline; text-underline-offset: 3px; } }
.contact-link:active { text-decoration: underline; text-underline-offset: 3px; }
.notice { margin-top: 40px; display: flex; gap: 22px; align-items: flex-start; padding: 28px 32px; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--ground); }
.notice-ico { width: 34px; height: 34px; color: var(--ok); flex: none; stroke-width: 1.75; }
.notice h3 { font-size: 20px; line-height: 1.2; letter-spacing: -.01em; }
.notice p { margin-top: 8px; color: var(--ink-2); }

/* Sections slide in once (the page reads fine without scripts or motion). */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease-out, transform .6s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- smaller screens ---------- */
/* The five places of the bar need about 960 pixels: below, the menu takes them. */
@media (max-width: 960px) {
  .topnav { display: none; }
  .navmenu { display: block; }
  .topbar-in { gap: 10px; }
}
@media (max-width: 1100px) {
  .side, .side.flip { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .side.flip .side-text { order: 0; }
  .side-text .h3 { max-width: 30ch; }
  .side-lead { max-width: var(--measure); }
  .vi { width: 720px; max-width: 100%; }
  .trust-top { grid-template-columns: minmax(0, 1fr); }
  .route { justify-self: start; }
  .points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .paths { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tuto-video-grid { grid-template-columns: minmax(0, 1fr); }
  .metro-body { grid-template-columns: minmax(0, 1fr); }
  .metro-mapbox { border-right: 0; border-bottom: 1px solid var(--rule); }
  .metro-hint { display: none; }
  .metro-bar .motion { margin-left: auto; }
  .method-head-grid { grid-template-columns: minmax(0, 1fr); }
  .method-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .method-toc { grid-column: 1; grid-row: auto; position: static; max-height: none; overflow: visible; margin: 0 0 32px; padding: 22px 24px; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--ground); }
  .method-toc ol { display: block; columns: 2 260px; column-gap: 28px; }
  .method-toc li { break-inside: avoid; }
  .method-toc a { margin-left: -10px; padding: 8px 10px; }
  .method-layout > .legal { grid-row: auto; }
  .natures, .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hero { --rise: 96px; --gap: 40px; }
  .hero-band { padding-top: 44px; }
  .hero-in { grid-template-columns: minmax(0, 1fr); }
  .hero-act { justify-self: start; }
  .sec-head { grid-template-columns: minmax(0, 1fr); margin-bottom: 40px; gap: 16px; }
  .panel.demo-panel { grid-template-columns: minmax(0, 1fr); padding: 40px; gap: 40px; }
  .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .faq-head { position: static; }
  .who-grid, .gains-grid { grid-template-columns: minmax(0, 1fr); }
  .gain { border-left: 0 !important; border-top: 1px solid var(--rule) !important; }
  .gain:first-child { border-top: 0 !important; }
  .install-foot { grid-template-columns: minmax(0, 1fr); }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
  .tutos { columns: 1; }
  .tuto.has-narrow .tuto-body { grid-template-columns: minmax(0, 1fr); }
  .founder-in { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .founder-photo { position: relative; top: 0; width: 148px; height: 148px; }
}
@media (max-width: 640px) {
  :root { --pad: 16px; --sec: 72px; }
  body { font-size: 16px; }
  html { scroll-padding-top: 76px; }
  .topbar-in { height: 60px; }
  .langmenu summary span { display: none; }
  .langmenu { position: static; }
  .langmenu ul { top: calc(100% + 4px); right: var(--pad); }
  /* On a phone: a tighter stage, one full-width demo button, the film link under it, the window sooner. */
  .hero { --rise: 76px; }
  .hero-band { padding-top: 32px; }
  .hero-act { width: 100%; }
  /* On a phone the title wraps freely (two kept halves left a word alone on a line) and a little smaller: three lines. */
  .hero-title { font-size: min(34px, 8.8vw); }
  .hero-title span { display: inline; }
  .hero-title .nw { white-space: normal; }
  .h1-page { font-size: min(38px, 9.6vw); }
  .hero-lead { font-size: 17px; }
  .hero-cta { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .hero-cta .btn { width: 100%; min-height: 48px; font-size: 16px; }
  .hero-film { justify-self: start; white-space: nowrap; font-size: 15px; }
  .hero-fine { font-size: 13px; }
  .metro { margin-top: 40px; padding-inline: 0; }
  .metro-window { border-radius: 0; border-left: 0; border-right: 0; }
  .metro figcaption { padding-inline: var(--pad); }
  /* 48 px after the last stations: scrolled to its end, the map brings them clear of the fade on the right. */
  .metro-stage { min-width: 808px; padding-right: 48px; }
  /* The map is wider than a phone: it slides sideways in its frame, and a fade at the right edge says so. */
  .metro-mapbox::after { content: ''; position: absolute; top: 0; right: 0; bottom: 0; width: 44px; background: linear-gradient(90deg, rgba(255, 255, 255, 0), var(--card) 85%); pointer-events: none; }
  .metro-foot { flex-direction: column; align-items: flex-start; }
  .metro-method { margin-left: 0; }
  .facts-band { padding-top: 40px; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .facts li { border-left: 0; border-top: 1px solid var(--rule); padding: 14px 0; flex-direction: row; justify-content: space-between; align-items: baseline; text-align: left; gap: 16px; }
  .facts li:first-child { border-top: 0; }
  .facts b { font-size: 15px; text-align: right; }
  .sides { gap: 72px; }
  .visual { height: auto; padding: 24px 16px; }
  .vi { height: auto; }
  .visual img:first-child, .side-visual .cap-base { display: none; }
  .visual img:last-child { position: static; display: block; width: 100%; max-width: 338px; margin-inline: auto; }
  .who-card, .path { padding: 24px; }
  .route { max-width: 100%; }
  .points { grid-template-columns: minmax(0, 1fr); gap: 32px; margin-top: 48px; }
  .hline { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hline::before { display: none; }
  .hline li { padding-left: 72px; min-height: 48px; }
  .hline li:not(:last-child)::after { content: ''; position: absolute; left: 22px; top: 48px; bottom: -32px; width: 4px; background: var(--navy-2); }
  .hstop { position: absolute; left: 0; top: 0; }
  .hline h3 { margin-top: 10px; }
  .panel.demo-panel { padding: 28px 20px; border-radius: var(--r-xl); }
  .demo-cta .btn { width: 100%; }
  .faq summary { font-size: 17px; padding: 20px 0; }
  .faq details > p { padding-right: 0; }
  .page-hero { padding: 48px 0; }
  .page-hero + .gains-sec { background: linear-gradient(180deg, var(--ground) 0 48px, var(--card) 48px); }
  .gain { padding: 28px 24px 24px; }
  .compare { border-radius: var(--radius); }
  .compare-table, .compare-table tbody, .compare-table tr, .compare-table th, .compare-table td { display: block; width: 100%; }
  .compare-table thead { display: none; }
  .compare-table tbody tr { padding: 20px; border-bottom: 1px solid var(--rule); }
  .compare-table tbody tr:last-child { border-bottom: 0; }
  .compare-table tbody th { padding: 0 0 12px; border: 0; font-size: 17px; }
  .compare-table td { border: 0; padding: 10px 0 10px 30px; font-size: 15px; background: none !important; }
  .compare-table td::before { content: attr(data-label); display: block; margin-bottom: 2px; font: 650 13px var(--display); letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); }
  .compare-table .no, .compare-table .yes { left: 0; top: 12px; }
  /* The last tab can scroll clear of the fade, its focus ring too: 56px after it, for the 48px fade, the 5px ring (a 2px
     outline 3px out) and 3px to spare. */
  .tabs { flex-wrap: nowrap; overflow-x: auto; margin: -6px calc(-1 * var(--pad)) 0; padding: 8px 56px 10px var(--pad); scrollbar-width: none; mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent); overscroll-behavior-x: contain; scroll-padding-inline: 12px 56px; }
  /* The four themes in two rows of two on a phone: all in sight, none cut by a scroller. */
  .tour-themes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tour-themes button { min-width: 0; padding: 6px 12px; font-size: 14px; line-height: 1.3; }
  /* Every capture stays on a phone; each has its link to the full-size file (drawn small, its text is too fine to read). */
  .shot-big { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 12px; }
  .shot-big a { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; font-weight: 600; color: var(--action); text-decoration: none; }
  .shot-big .yi { width: 16px; height: 16px; }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs button { flex: none; }
  .hot em { display: none; }
  .js .hot, .js .hot.left { flex-direction: row; transform: translate(-11px, -11px); }
  .hot:not(.on) { visibility: hidden; }
  .hot b { width: 22px; height: 22px; font-size: 12px; border-width: 2px; }
  .hot-legend { display: grid; gap: 4px; margin-top: 12px; }
  .hot-legend li { border-radius: var(--r-md); padding: 4px 10px 4px 4px; font-size: 14px; }
  .hot-legend li b { width: 21px; height: 21px; font-size: 12px; }
  .shot-pair .frame-body { padding: 12px; gap: 12px; }
  .cta-band { padding: 48px 24px; border-radius: var(--r-xl); }
  .cta-actions { flex-direction: column; width: 100%; }
  .cta-actions .btn { width: 100%; }
  .paths { grid-template-columns: minmax(0, 1fr); }
  .tutos a { gap: 12px; }
  .tuto-video-parts button { padding: 8px 6px; }
  .tuto-video-parts li:not(:last-child)::after, .tuto-video-parts li + li::before { left: 20px; }
  .tuto, .glossary { padding: 22px; }
  /* On a phone the link back to the contents goes under the title. */
  .tuto header { flex-wrap: wrap; }
  .tuto header > div { flex: 1 1 calc(100% - 64px); }
  .tuto-top { order: 3; margin-left: 64px; }
  .glossary dl, .natures, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .identity { font-size: 13px; padding: 14px; }
  .contact-project { padding: 24px 20px; }
  .contact-project .btn { width: 100%; white-space: normal; text-align: center; height: auto; min-height: 52px; padding-block: 12px; }
  .notice { padding: 22px 20px; gap: 14px; }
  .foot { padding-top: 56px; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  /* On a phone the report's table stacks: the suite on one line, its result and its checks under it (it scrolled in its frame). */
  .report-card thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .report-card .table-wrap table, .report-card .table-wrap tbody { display: block; width: 100%; }
  .report-card .table-wrap tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 10px 12px; border-bottom: 1px solid var(--rule); }
  .report-card .table-wrap tbody tr:last-child { border-bottom: 0; }
  .report-card .table-wrap td { display: block; padding: 0; border: 0; }
  .report-card .table-wrap td:first-child { grid-column: 1 / -1; color: var(--ink); font-weight: 600; }
}
/* The bar's items need 363 px at their full size: up to 370 px (a margin for fallback fonts of Arial's or SF's width; a
   wider one such as DejaVu Sans, used only when the site's font does not load, may still end the word with an ellipsis
   up to 385 px) they take a little less room. */
@media (max-width: 370px) {
  .topbar-in { gap: 6px; }
  .topbar .btn-head { padding: 0 11px; }
  .langmenu summary, .navmenu summary { padding: 0 9px; }
  .brand { font-size: 17px; }
  /* « Simulations » and its count hold in the button with a reader's text spacing (WCAG 1.4.12). */
  .tour-themes button { gap: 5px; padding-inline: 10px; }
}
/* Below 350 px the word ran under the globe with a reader's text spacing (WCAG 1.4.12, measured from 320 to 345 px): the
   bar keeps the icon, the link keeps its name (aria-label). From 350 px the word stays (owner, 13 November 2026). */
@media (max-width: 349px) {
  .topbar .brand span { display: none; }
}
/* Reduced motion: everything stands still, the trains of the map included (they run without the script otherwise). */
@media (prefers-reduced-motion: reduce) {
  /* html.smooth too: the class (0,1,1) would win over a bare html (0,0,1) and the page would still glide. */
  html, html.smooth { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-delay: 0s !important; transition-duration: .001s !important; transition-delay: 0s !important; }
  .ym-train { display: none; }
  .ym-line, .ym-case { animation: none; stroke-dashoffset: 0; }
  .ym-stops { animation: none; }
  .ym-hit.is-on .ym-ring { animation: none; opacity: 1; }
  .ym[data-sel] .ym-route.lit .ym-flow { animation: none; opacity: .6; }
  .st-sheet.is-on { animation: none; }
  .shot .frame.arrive::after, .shot .frame.arrive .frame-body, .hot.on b, .hot.on b::after { animation: none; }
  .frame.marked .hot { animation: none; opacity: 1; }
}
