/* Every style of the site lives in one cascade layer. The reduced-motion
   rules below stay outside it: unlayered rules win over layered ones
   whatever their specificity, so « réduire les animations » always holds,
   without !important (docs/10). */
/* Fonts served by the site (OFL, licences in polices/), generated by
   scripts/polices-woff2.ts. No third-party request: the visitor's address
   stays with us. */
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("polices/SchibstedGrotesk-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("polices/SchibstedGrotesk-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("polices/SchibstedGrotesk-MediumItalic.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("polices/SchibstedGrotesk-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("polices/SchibstedGrotesk-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("polices/SchibstedGrotesk-ExtraBold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Martian Mono";
  src: url("polices/MartianMono-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Martian Mono";
  src: url("polices/MartianMono-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Martian Mono";
  src: url("polices/MartianMono-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@layer site {
  /* Lenarta · page d'accueil. Concept : une journée de travail, de 07:02 à 18:30. Une marge horaire à gauche, comme un registre ;
   chaque section est une heure. Papier, filets, aucun dégradé, aucune ombre. Le carré tient, le rond bouge. */
  :root {
    --paper: #f2f0e9;
    --sheet: #ffffff;
    --ink: #141613;
    --grey: #5e6058;
    --rule: #d6d3c9;
    --green: #1c5a45;
    --green-l: #7fc2a3;
    --listing: #e2ece5;
    --bg: #f2f0e9;
    --fg: #141613;
    --muted: #5e6058;
    --line: #d6d3c9;
    --strong: #141613;
    --accent: #1c5a45;
    --on-accent: #ffffff;
    --card: #ffffff;
    --row: #e2ece5;
    --ecart: #b4501a;
    --av: #2f5376;
    --hatch: #e7e4da;
    --night: #141613;
    --night-fg: #f2f0e9;
    --night-muted: #a9aaa2;
    --night-line: #33362f;
    --night-accent: #7fc2a3;
    --night-card: #1e211d;
    --doc: #ffffff;
    --doc-ink: #141613;
    --doc-muted: #5e6058;
    --doc-line: #d6d3c9;
    --doc-row: #e2ece5;
    --doc-green: #1c5a45;
    --display: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
    --mono: "Martian Mono", "SF Mono", Menlo, Consolas, monospace;
    --ease: cubic-bezier(0.2, 0, 0, 1);
    --wrap: 1240px;
    --gut: 132px;
  }
  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
      --bg: #141613;
      --fg: #f2f0e9;
      --muted: #a9aaa2;
      --line: #33362f;
      --strong: #f2f0e9;
      --accent: #7fc2a3;
      --on-accent: #141613;
      --card: #1e211d;
      --row: #1f2b25;
      --ecart: #e08a5a;
      --av: #8fb3d9;
      --hatch: #262a24;
      --night: #0b0c0a;
      --night-card: #171915;
      color-scheme: dark;
    }
  }
  :root[data-theme="dark"] {
    --bg: #141613;
    --fg: #f2f0e9;
    --muted: #a9aaa2;
    --line: #33362f;
    --strong: #f2f0e9;
    --accent: #7fc2a3;
    --on-accent: #141613;
    --card: #1e211d;
    --row: #1f2b25;
    --ecart: #e08a5a;
    --av: #8fb3d9;
    --hatch: #262a24;
    --night: #0b0c0a;
    --night-card: #171915;
    color-scheme: dark;
  }

  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }
  html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
  }
  body {
    margin: 0;
    background: var(--bg);
    color: var(--fg);
    font: 400 18px / 1.55 var(--display);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
  }
  h1,
  h2,
  h3,
  p,
  ul,
  ol,
  figure {
    margin: 0;
  }
  ul,
  ol {
    padding: 0;
    list-style: none;
  }
  h1,
  h2,
  h3 {
    text-wrap: balance;
  }
  a {
    color: inherit;
  }
  button,
  input,
  select,
  textarea {
    font: inherit;
    color: inherit;
  }
  button {
    cursor: pointer;
    background: none;
    border: 0;
    padding: 0;
  }
  :focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
  }
  .mono {
    font-family: var(--mono);
    font-variant-numeric: tabular-nums;
  }
  .lbl {
    font: 500 12px / 1.3 var(--mono);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .ic {
    display: block;
    flex: none;
  }

  /* ---------- en-tête ---------- */
  body::before {
    content: "";
    position: fixed;
    inset: 0 0 auto;
    height: env(safe-area-inset-top, 0px);
    z-index: 60;
    background: var(--bg);
  }
  .hd {
    position: sticky;
    top: env(safe-area-inset-top, 0px);
    z-index: 50;
    background: var(--bg);
  }
  .hd__in {
    max-width: calc(var(--wrap) + 64px);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: 68px;
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
  }
  .hd__logo {
    display: flex;
    align-items: center;
    text-decoration: none;
  }
  .hd__logo svg {
    height: 22px;
    width: auto;
    display: block;
  }
  .clock {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-left: 8px;
    padding-left: 20px;
    border-left: 1px solid var(--line);
  }
  .clock .t {
    font: 500 15px / 1 var(--mono);
  }
  .clock .lbl {
    font-size: 10.5px;
  }
  .hd nav {
    margin-left: auto;
    display: flex;
    gap: 26px;
    font-size: 15px;
    font-weight: 500;
  }
  .hd nav a {
    text-decoration: none;
  }
  .hd .short {
    display: none;
  }
  .hd nav a:hover {
    text-decoration: underline;
    text-underline-offset: 5px;
  }
  .perf {
    display: flex;
    justify-content: space-between;
    max-width: calc(var(--wrap) + 64px);
    margin: 0 auto;
    height: 10px;
    align-items: center;
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
    border-bottom: 1px solid var(--line);
  }
  .perf i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    border: 1px solid var(--line);
    display: block;
    transition:
      background 180ms var(--ease),
      border-color 180ms var(--ease);
  }
  .perf i.on {
    background: var(--accent);
    border-color: var(--accent);
  }

  /* ---------- boutons ---------- */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 22px;
    border: 1.5px solid var(--strong);
    font: 600 16px / 1 var(--display);
    text-decoration: none;
    white-space: nowrap;
    background: transparent;
    transition:
      transform 80ms var(--ease),
      background 120ms var(--ease);
  }
  .btn:active {
    transform: translateY(1px);
  }
  .btn--ink {
    background: var(--strong);
    color: var(--bg);
  }
  .btn--ink:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--on-accent);
  }
  .btn--line:hover {
    background: var(--card);
  }
  .btn--sm {
    min-height: 40px;
    padding: 0 14px;
    font-size: 14px;
  }
  .btn--green {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--on-accent);
  }
  kbd {
    display: inline-grid;
    place-items: center;
    min-width: 22px;
    height: 22px;
    padding: 0 5px;
    border: 1px solid currentColor;
    font: 500 11px / 1 var(--mono);
  }

  /* ---------- gabarit : marge horaire + contenu ---------- */
  .sec {
    padding-block: clamp(84px, 11vw, 168px);
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
    position: relative;
  }
  .wrap {
    max-width: var(--wrap);
    margin: 0 auto;
    display: grid;
    grid-template-columns: var(--gut) minmax(0, 1fr);
    column-gap: 0;
  }
  .wrap > * {
    min-width: 0;
  }
  .time {
    padding-top: 14px;
    position: relative;
  }
  .time .t {
    font: 500 15px / 1 var(--mono);
    display: block;
  }
  .time .lbl {
    display: block;
    margin-top: 8px;
    font-size: 10.5px;
  }
  .time::after {
    content: "";
    position: absolute;
    left: 0;
    right: 28px;
    top: 0;
    border-top: 1.5px solid var(--strong);
  }
  .body {
    min-width: 0;
  }
  .kick {
    margin-bottom: 18px;
  }
  .h2 {
    font: 800 clamp(40px, 5.6vw, 84px) / 0.98 var(--display);
    letter-spacing: -0.045em;
    max-width: 15ch;
  }
  .lead {
    font-size: clamp(18px, 1.5vw, 21px);
    line-height: 1.55;
    max-width: 58ch;
    margin-top: 24px;
    color: var(--fg);
  }
  .lead.muted,
  .muted {
    color: var(--muted);
  }
  .split {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(32px, 5vw, 80px);
    align-items: start;
    margin-top: 56px;
  }
  .split > * {
    min-width: 0;
  }
  .rule {
    border-top: 1px solid var(--line);
  }

  /* ---------- hero ---------- */
  .hero {
    padding-block: clamp(28px, 3.6vw, 52px) clamp(72px, 9vw, 140px);
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
  }
  .hero .wrap {
    row-gap: 0;
  }
  .hero__top {
    grid-column: 1 / -1;
  }
  .hero h1 {
    font: 800 clamp(52px, 8.6vw, 124px) / 0.9 var(--display);
    letter-spacing: -0.055em;
    margin-top: 18px;
  }
  .hero h1 span {
    display: block;
  }
  .hero h1 .v {
    color: var(--accent);
  }
  .hero h1 .w {
    display: inline-block;
  }
  .hero__grid {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(32px, 5vw, 80px);
    margin-top: clamp(28px, 3vw, 44px);
    align-items: start;
  }
  .hero__grid > * {
    min-width: 0;
  }
  .hero__txt {
    padding-top: 8px;
    display: grid;
    gap: 28px;
  }
  .hero__txt .lead {
    margin-top: 0;
  }
  .ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }
  .facts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
  }
  .facts span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font: 500 12px / 1.3 var(--mono);
    letter-spacing: 0.04em;
    color: var(--muted);
  }
  .facts span::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
  }
  .stage {
    position: relative;
    min-height: 600px;
    -webkit-user-select: none;
    user-select: none;
  }
  .sheet {
    position: absolute;
    right: 0;
    left: 268px;
    top: 40px;
    background: var(--doc);
    color: var(--doc-ink);
    border: 1px solid var(--strong);
    padding: 26px 26px 22px 52px;
    font-size: 14px;
  }
  .sheet .lbl {
    color: var(--doc-muted);
  }
  .sheet h3 {
    font: 800 26px / 1.05 var(--display);
    letter-spacing: -0.035em;
    margin: 10px 0 4px;
  }
  .sheet .sub {
    color: var(--doc-muted);
    font-size: 13px;
  }
  .lines {
    margin-top: 18px;
    display: grid;
    border-top: 1.5px solid var(--doc-ink);
  }
  .lines div {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) auto;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid var(--doc-line);
    align-items: baseline;
  }
  .lines .mono {
    font-size: 12px;
  }
  .lines div.ghost {
    color: var(--doc-line);
  }
  .lines div.ghost .mono {
    color: var(--doc-line);
  }
  .lines div.new {
    animation: printLine 520ms steps(18, end) both;
    background: var(--doc-row);
  }
  .lines div.done {
    background: transparent;
    transition: background 900ms var(--ease);
  }
  .sheet .foot {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 16px;
    font-size: 12px;
    color: var(--doc-muted);
  }
  .stamp {
    position: absolute;
    z-index: 6;
    padding: 9px 14px 11px;
    border: 3px solid var(--doc-green);
    color: var(--doc-green);
    background: var(--doc);
    text-align: center;
    font: 600 12px / 1.2 var(--mono);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    pointer-events: none;
    transform: translate(-50%, -50%) rotate(-6deg);
  }
  .stamp b {
    display: block;
    font: 800 26px / 1 var(--display);
    letter-spacing: -0.02em;
    text-transform: none;
    margin-bottom: 3px;
  }
  .stamp.ink {
    border-color: var(--doc-ink);
    color: var(--doc-ink);
  }

  /* téléphone */
  .phone {
    position: absolute;
    left: 0;
    top: 0;
    width: 300px;
    height: 520px;
    border: 10px solid #141613;
    border-radius: 46px;
    background: #ffffff;
    color: #141613;
    overflow: hidden;
    z-index: 3;
  }
  .phone::before {
    content: "";
    position: absolute;
    top: 9px;
    left: 50%;
    width: 88px;
    height: 24px;
    border-radius: 12px;
    background: #141613;
    transform: translateX(-50%);
    z-index: 4;
  }
  .scr {
    position: absolute;
    inset: 0;
    padding: 50px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  .scr .top {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .scr .top .lbl {
    color: #5e6058;
    font-size: 10px;
  }
  .scr .av {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1.5px solid #141613;
    display: grid;
    place-items: center;
    font: 600 12px var(--mono);
  }
  .scr h4 {
    margin: 0;
    font: 800 27px / 1 var(--display);
    letter-spacing: -0.035em;
  }
  .today {
    border: 1px solid #141613;
    padding: 12px;
    display: grid;
    gap: 4px;
    font-size: 13px;
  }
  .today .lbl {
    color: #1c5a45;
    font-size: 10px;
  }
  .today strong {
    font-size: 17px;
    letter-spacing: -0.01em;
  }
  .today .mono {
    font-size: 12px;
    color: #5e6058;
  }
  .big {
    margin-top: auto;
    display: grid;
    gap: 6px;
  }
  .big .t {
    font: 500 56px / 1 var(--mono);
    letter-spacing: -0.04em;
  }
  .big .lbl {
    color: #5e6058;
    font-size: 10px;
  }
  .swipe {
    position: relative;
    height: 64px;
    background: #1c5a45;
    color: #ffffff;
    display: flex;
    align-items: center;
    overflow: hidden;
    user-select: none;
    touch-action: none;
  }
  .swipe__fill {
    position: absolute;
    inset: 0 auto 0 0;
    width: 0;
    background: #141613;
  }
  .swipe__txt {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding-left: 64px;
    font: 600 15px / 1 var(--display);
    pointer-events: none;
  }
  .swipe__thumb {
    position: relative;
    z-index: 2;
    width: 64px;
    height: 64px;
    background: #ffffff;
    border: 4px solid #1c5a45;
    display: grid;
    place-items: center;
    color: #1c5a45;
    cursor: grab;
    touch-action: none;
  }
  .swipe__thumb:active {
    cursor: grabbing;
  }
  .swipe.done {
    background: #141613;
  }
  .swipe.done .swipe__thumb {
    border-color: #141613;
    color: #141613;
  }
  /* Done, the thumb sits at the right end: the label is centred in the
     space left of it, as in the kit's prototype (.swipe.done .swipe__text). */
  .swipe.done .swipe__txt {
    padding-left: 10px;
    padding-right: 74px;
    text-align: center;
  }
  .punch {
    position: absolute;
    right: 18px;
    top: 50%;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #ffffff;
    transform: translate(0, -50%) scale(0);
    z-index: 3;
  }
  .hint {
    position: absolute;
    z-index: 5;
    pointer-events: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font: 500 11px / 1.2 var(--mono);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .hint i {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 2px solid var(--strong);
    display: block;
  }
  .replay {
    position: absolute;
    left: 0;
    bottom: 0;
  }
  .caption {
    position: absolute;
    left: 320px;
    right: 0;
    bottom: 0;
    color: var(--muted);
    font-size: 15px;
    max-width: 42ch;
  }

  /* ---------- la journée (index) ---------- */
  .day {
    border-top: 1.5px solid var(--strong);
    border-bottom: 1px solid var(--line);
    overflow-x: auto;
    scrollbar-width: none;
  }
  .day::-webkit-scrollbar {
    display: none;
  }
  .day ol {
    display: grid;
    grid-template-columns: repeat(8, minmax(118px, 1fr));
    min-width: 944px;
  }
  .day li a {
    display: grid;
    gap: 8px;
    padding: 16px 14px 18px;
    text-decoration: none;
    border-right: 1px solid var(--line);
    height: 100%;
  }
  .day li:last-child a {
    border-right: 0;
  }
  .day li a:hover {
    background: var(--card);
  }
  .day .t {
    font: 500 14px / 1 var(--mono);
  }
  .day .w {
    font-weight: 600;
    font-size: 15px;
    line-height: 1.25;
  }
  .day i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1.5px solid var(--strong);
    display: block;
  }
  .day li.on i {
    background: var(--accent);
    border-color: var(--accent);
  }
  .daywrap {
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
  }
  .daywrap > div {
    max-width: var(--wrap);
    margin: 0 auto;
  }

  /* ---------- trois gestes ---------- */
  .gestures {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin-top: 64px;
    border-top: 1px solid var(--strong);
    border-left: 1px solid var(--line);
  }
  .g {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 22px 22px 26px;
    display: grid;
    gap: 18px;
    align-content: start;
    min-width: 0;
  }
  .g h3 {
    font: 800 30px / 1 var(--display);
    letter-spacing: -0.035em;
  }
  .g p {
    color: var(--muted);
    font-size: 16px;
  }
  .mini {
    aspect-ratio: 4 / 3;
    max-width: 100%;
    background: var(--doc);
    color: var(--doc-ink);
    border: 1px solid var(--strong);
    position: relative;
    overflow: hidden;
    display: grid;
    place-items: center;
  }
  .mini .swipe {
    width: 78%;
    height: 54px;
  }
  .mini .swipe__thumb {
    width: 54px;
    height: 54px;
    cursor: default;
  }
  .mini .swipe__txt {
    padding-left: 54px;
    font-size: 13px;
  }
  .mini .swipe.done .swipe__txt {
    padding-left: 8px;
    padding-right: 62px;
  }
  .cam {
    position: relative;
    width: 62%;
    aspect-ratio: 3 / 4;
    max-width: 100%;
    border: 1.5px solid #141613;
    display: grid;
    place-items: center;
    overflow: hidden;
  }
  .ticket {
    width: 70%;
    font: 500 9.5px / 1.6 var(--mono);
    padding: 8px;
    border: 1px dashed #d6d3c9;
    background: #ffffff;
  }
  .ticket b {
    font-weight: 600;
  }
  .ticket .hlx {
    background: #e2ece5;
  }
  .shutter {
    position: absolute;
    background: #141613;
    transition: transform 120ms var(--ease);
  }
  .shutter.t {
    left: 0;
    right: 0;
    top: 0;
    height: 50%;
    transform: translateY(-100%);
  }
  .shutter.b {
    left: 0;
    right: 0;
    bottom: 0;
    height: 50%;
    transform: translateY(100%);
  }
  .shutter.l {
    top: 0;
    bottom: 0;
    left: 0;
    width: 50%;
    transform: translateX(-100%);
  }
  .shutter.r {
    top: 0;
    bottom: 0;
    right: 0;
    width: 50%;
    transform: translateX(100%);
  }
  .cam.snap .shutter {
    transform: none;
  }
  .eq {
    display: grid;
    grid-template-columns: repeat(9, 10px);
    gap: 6px;
    align-items: end;
    height: 70px;
  }
  .eq span {
    display: grid;
    gap: 4px;
    align-content: end;
  }
  .eq i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1.5px solid #141613;
    display: block;
  }
  .eq i.on {
    background: #1c5a45;
    border-color: #1c5a45;
  }
  .voice {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 12px;
    font-size: 12.5px;
    line-height: 1.4;
    min-height: 3em;
  }
  .voice u {
    text-decoration: none;
    background: #e2ece5;
  }
  .langs {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0;
    border-left: 1px solid var(--line);
  }
  .langs > div {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 22px;
    display: grid;
    gap: 10px;
    align-content: start;
    min-width: 0;
  }
  .roll {
    height: 1.1em;
    overflow: hidden;
    font: 800 clamp(30px, 3.4vw, 46px) / 1.1 var(--display);
    letter-spacing: -0.035em;
  }
  .roll ul {
    transition: transform 520ms var(--ease);
  }
  .roll li {
    height: 1.1em;
    white-space: nowrap;
  }
  .tape {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
  }
  .tape i {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid var(--strong);
    display: block;
    transition:
      background 180ms var(--ease),
      border-color 180ms var(--ease);
  }
  .tape i.on {
    background: var(--accent);
    border-color: var(--accent);
  }
  .band {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    padding: 8px 12px;
    background: var(--strong);
    color: var(--bg);
    font-size: 13px;
    font-weight: 600;
  }

  /* ---------- Lenarta écrit ---------- */
  .writes {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    gap: clamp(40px, 7vw, 120px);
    margin-top: 64px;
    align-items: start;
  }
  .writes > * {
    min-width: 0;
  }
  .events {
    display: grid;
    border-top: 1.5px solid var(--strong);
  }
  .ev {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 12px;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    transition: background 300ms var(--ease);
    position: relative;
  }
  .ev .mono {
    font-size: 13px;
  }
  .ev small {
    display: block;
    color: var(--muted);
    font-size: 13px;
  }
  .ev.lit {
    background: var(--row);
  }
  .ev .dot {
    position: absolute;
    right: 0;
    top: 50%;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1.5px solid var(--strong);
    transform: translate(50%, -50%);
    background: var(--bg);
  }
  .ev.lit .dot {
    background: var(--accent);
    border-color: var(--accent);
  }
  .doc {
    background: var(--doc);
    color: var(--doc-ink);
    border: 1px solid var(--strong);
    padding: clamp(20px, 3vw, 40px);
    position: relative;
  }
  .doc .head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--doc-muted);
  }
  .doc .head strong {
    color: var(--doc-ink);
    font-size: 15px;
  }
  .doc h3 {
    font: 800 clamp(26px, 2.8vw, 36px) / 1 var(--display);
    letter-spacing: -0.04em;
    margin: 28px 0 18px;
  }
  .dl {
    display: grid;
    border-top: 1.5px solid var(--doc-ink);
  }
  .dl > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 88px 110px;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--doc-line);
    align-items: start;
    font-size: 14.5px;
  }
  .dl > div.ghost > * {
    visibility: hidden;
  }
  .dl > div.ghost {
    position: relative;
  }
  .dl > div.ghost::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    border-top: 2px dotted var(--doc-line);
  }
  .dl > div.p {
    animation: printLine 560ms steps(20, end) both;
  }
  .dl .r {
    text-align: right;
  }
  .dl .mono {
    font-size: 13px;
  }
  .src {
    display: inline-flex;
    margin: 6px 6px 0 0;
    height: 22px;
    align-items: center;
    padding: 0 7px;
    border: 1px solid var(--doc-line);
    font: 500 10.5px / 1 var(--mono);
    color: var(--doc-muted);
    white-space: nowrap;
  }
  .tot {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 24px;
    max-width: 320px;
    margin: 18px 0 0 auto;
    font-size: 14.5px;
  }
  .tot .r {
    text-align: right;
  }
  .tot .grand {
    font-weight: 700;
    border-top: 1.5px solid var(--doc-ink);
    padding-top: 10px;
    font-size: 17px;
  }
  .outs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
  }
  .out {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 34px;
    padding: 0 12px;
    border: 1px solid var(--strong);
    font-size: 14px;
    font-weight: 600;
    background: var(--card);
  }
  .out i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    display: block;
  }
  .wires {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: visible;
  }
  .wires path {
    fill: none;
    stroke: var(--accent);
    stroke-width: 1.5;
  }
  .quote {
    font: 700 clamp(22px, 2.4vw, 30px) / 1.25 var(--display);
    letter-spacing: -0.02em;
    max-width: 34ch;
    margin-top: 56px;
  }
  .quote span {
    color: var(--muted);
  }

  /* ---------- la pile ---------- */
  .pilebox {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: clamp(40px, 6vw, 96px);
    margin-top: 64px;
    align-items: start;
  }
  .pilebox > * {
    min-width: 0;
  }
  .pile {
    position: relative;
    height: 380px;
    -webkit-user-select: none;
    user-select: none;
  }
  .pile__count {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 14px;
  }
  .pile__count .n {
    font: 500 22px / 1 var(--mono);
  }
  .card {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    background: var(--doc);
    color: var(--doc-ink);
    border: 1px solid var(--strong);
    padding: 22px 22px 18px;
    height: 318px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    touch-action: pan-y;
    user-select: none;
    will-change: transform;
  }
  .card.top {
    cursor: grab;
  }
  .card.top:active {
    cursor: grabbing;
  }
  .card .ty {
    font: 500 11px / 1.3 var(--mono);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #2f5376;
  }
  .card .ty.ec {
    color: #b4501a;
  }
  .card h3 {
    font: 800 26px / 1.05 var(--display);
    letter-spacing: -0.03em;
  }
  .card .amt {
    font: 500 30px / 1 var(--mono);
    letter-spacing: -0.03em;
  }
  .card p {
    color: var(--doc-muted);
    font-size: 14.5px;
  }
  .card .acts {
    margin-top: auto;
    display: flex;
    gap: 8px;
  }
  .card .acts button {
    flex: 1;
    min-height: 46px;
    border: 1.5px solid #141613;
    font-weight: 600;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }
  .card .acts .ok {
    background: #1c5a45;
    border-color: #1c5a45;
    color: #ffffff;
  }
  .card .acts .no {
    background: #ffffff;
    color: #141613;
  }
  .card .tag {
    position: absolute;
    top: 18px;
    padding: 6px 10px;
    border: 2.5px solid currentColor;
    font: 600 12px / 1 var(--mono);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transform: scale(0);
  }
  .card .tag.yes {
    right: 18px;
    color: #1c5a45;
    transform-origin: right top;
  }
  .card .tag.nope {
    left: 18px;
    color: #141613;
    transform-origin: left top;
  }
  .phrase {
    border: 1px solid var(--strong);
    background: var(--card);
    padding: 18px;
    display: grid;
    gap: 12px;
    margin-top: 14px;
  }
  .chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .chips button {
    height: 32px;
    padding: 0 10px;
    border: 1px solid var(--line);
    font-size: 13.5px;
    background: var(--bg);
  }
  .chips button[aria-pressed="true"] {
    border-color: var(--strong);
    background: var(--strong);
    color: var(--bg);
  }
  .tr {
    border-top: 1px dashed var(--line);
    padding-top: 10px;
    font-size: 15px;
  }
  .tr .lbl {
    margin-bottom: 4px;
    display: block;
  }
  .pile-empty {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    text-align: center;
    border: 1.5px dashed var(--strong);
    padding: 24px;
  }
  .pile-empty h3 {
    font: 800 clamp(30px, 3vw, 40px) / 1.05 var(--display);
    letter-spacing: -0.035em;
  }
  .rules {
    display: grid;
    gap: 0;
    margin-top: 32px;
    border-top: 1px solid var(--strong);
  }
  .rules div {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
  }
  .toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--muted);
  }
  .toggle i {
    width: 34px;
    height: 18px;
    border: 1.5px solid var(--strong);
    position: relative;
    display: block;
  }
  .toggle i::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--strong);
    transition: transform 160ms var(--ease);
  }
  .toggle[aria-pressed="true"] i::after {
    transform: translateX(15px);
    background: var(--accent);
  }

  /* ---------- argent ---------- */
  .q4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1.5px solid var(--strong);
    margin-top: 56px;
  }
  .q4 > div {
    padding: 22px 20px 26px 0;
    border-right: 1px solid var(--line);
    display: grid;
    gap: 14px;
    align-content: start;
    min-width: 0;
  }
  .q4 > div + div {
    padding-left: 20px;
  }
  .q4 > div:last-child {
    border-right: 0;
  }
  .q4 .q {
    font: 700 18px / 1.25 var(--display);
    min-height: 2.5em;
  }
  .q4 .v {
    font: 500 clamp(24px, 2.6vw, 38px) / 1 var(--mono);
    letter-spacing: -0.04em;
    white-space: nowrap;
  }
  .q4 .s {
    color: var(--muted);
    font-size: 14px;
  }
  .seg {
    display: inline-flex;
    border: 1.5px solid var(--strong);
    /* A fieldset (a real group for screen readers) without its default box. */
    margin: 0;
    padding: 0;
    min-inline-size: 0;
  }
  .seg button {
    padding: 10px 16px;
    font-weight: 600;
    font-size: 14px;
  }
  .seg button[aria-pressed="true"] {
    background: var(--strong);
    color: var(--bg);
  }
  .chart {
    margin-top: 40px;
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: end;
  }
  .chart > * {
    min-width: 0;
  }
  .chart svg {
    width: 100%;
    height: auto;
    display: block;
  }
  .chart text {
    font: 500 10.5px var(--mono);
    fill: var(--muted);
  }
  .chart .ln {
    fill: none;
    stroke: var(--accent);
    stroke-width: 2.2;
  }
  .chart .ar {
    fill: var(--row);
  }
  .chart .gr {
    stroke: var(--line);
    stroke-width: 1;
  }

  /* ---------- odomètre ---------- */
  .odo {
    display: inline-flex;
    overflow: hidden;
    vertical-align: bottom;
    height: 1.1em;
    line-height: 1.1;
  }
  .odo .d {
    display: inline-block;
    height: 1.1em;
    overflow: hidden;
  }
  .odo .col {
    display: flex;
    flex-direction: column;
    transition: transform 560ms var(--ease);
  }
  .odo .col span {
    height: 1.1em;
    line-height: 1.1;
  }

  /* ---------- modules (registre) ---------- */
  .reg {
    margin-top: 56px;
    border-top: 1.5px solid var(--strong);
  }
  .reg li {
    display: grid;
    grid-template-columns: 34px minmax(0, 3fr) minmax(0, 5fr) minmax(130px, 2fr);
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    align-items: baseline;
    transition: background 160ms var(--ease);
  }
  .reg li:hover {
    background: var(--card);
  }
  .reg li i {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1.5px solid var(--strong);
    display: block;
    align-self: center;
  }
  .reg li.now i {
    background: var(--accent);
    border-color: var(--accent);
  }
  .reg li.later {
    color: var(--muted);
  }
  .reg li.later i {
    border-style: dashed;
  }
  .reg strong {
    font-size: 19px;
    letter-spacing: -0.01em;
  }
  .reg .w {
    font: 500 12px / 1.3 var(--mono);
    letter-spacing: 0.04em;
    text-align: right;
  }
  .swiss {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 28px;
  }
  .swiss span {
    height: 30px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--strong);
    font: 500 12px / 1 var(--mono);
  }
  .trades {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 56px;
    border-top: 1px solid var(--strong);
    border-left: 1px solid var(--line);
  }
  .trades > div {
    padding: 18px 20px 22px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    display: grid;
    gap: 6px;
    min-width: 0;
  }
  .trades strong {
    font-size: 20px;
    letter-spacing: -0.015em;
  }
  .trades span {
    color: var(--muted);
    font-size: 15px;
  }

  /* ---------- confiance ---------- */
  .trust {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin-top: 56px;
    border-top: 1.5px solid var(--strong);
    border-left: 1px solid var(--line);
  }
  .trust > div {
    padding: 26px 26px 30px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    display: grid;
    gap: 14px;
    align-content: start;
    min-width: 0;
  }
  .trust h3 {
    font: 800 28px / 1.05 var(--display);
    letter-spacing: -0.03em;
  }
  .trust p {
    color: var(--muted);
    font-size: 16px;
    max-width: 52ch;
  }
  .undo {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 14px;
    align-items: center;
    background: var(--strong);
    color: var(--bg);
    padding: 14px 16px;
    max-width: 520px;
  }
  .undo .holes {
    grid-column: 1 / -1;
    display: flex;
    gap: 8px;
  }
  .undo .holes i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 1.5px solid var(--bg);
    display: block;
  }
  .undo .holes i.on {
    background: var(--green-l);
    border-color: var(--green-l);
  }
  .undo button {
    border: 1.5px solid var(--bg);
    min-height: 36px;
    padding: 0 12px;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    gap: 8px;
    align-items: center;
  }
  .chain {
    display: flex;
    gap: 0;
    align-items: center;
    flex-wrap: wrap;
    row-gap: 10px;
  }
  .chain span {
    border: 1px solid var(--strong);
    padding: 6px 8px;
    font: 500 11px / 1.3 var(--mono);
    background: var(--card);
  }
  .chain b {
    width: 18px;
    height: 1.5px;
    background: var(--strong);
    display: block;
  }
  .never li {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 10px;
    padding: 7px 0;
    border-bottom: 1px solid var(--line);
    font-size: 15.5px;
    align-items: center;
  }
  .never li.no span {
    position: relative;
    color: var(--muted);
  }
  .never li.no span::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 55%;
    height: 1.5px;
    background: var(--fg);
    transform-origin: left;
    transform: scaleX(var(--k, 1));
    transition: transform 600ms var(--ease);
  }

  /* ---------- prix ---------- */
  .size {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px 28px;
    align-items: center;
    margin-top: 56px;
    border-top: 1.5px solid var(--strong);
    padding-top: 22px;
  }
  .size label {
    font: 700 20px / 1.25 var(--display);
  }
  .size .n {
    font: 500 clamp(30px, 3.4vw, 46px) / 1 var(--mono);
    letter-spacing: -0.04em;
    text-align: right;
  }
  .size .n small {
    font-size: 14px;
    color: var(--muted);
    letter-spacing: 0;
    margin-left: 6px;
  }
  input[type="range"] {
    grid-column: 1 / -1;
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    height: 28px;
    background: transparent;
  }
  input[type="range"]::-webkit-slider-runnable-track {
    height: 2px;
    background: var(--strong);
  }
  input[type="range"]::-moz-range-track {
    height: 2px;
    background: var(--strong);
  }
  input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--accent);
    border: 4px solid var(--bg);
    outline: 1.5px solid var(--strong);
    margin-top: -12px;
    cursor: grab;
  }
  input[type="range"]::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--accent);
    border: 4px solid var(--bg);
    outline: 1.5px solid var(--strong);
    cursor: grab;
  }
  .ticks {
    grid-column: 1 / -1;
    position: relative;
    height: 14px;
    font: 500 11px / 1 var(--mono);
    color: var(--muted);
    margin: -4px 13px 0;
  }
  .ticks span {
    position: absolute;
    top: 0;
    transform: translateX(-50%);
  }
  .plans {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin-top: 36px;
    border-left: 1px solid var(--line);
    border-top: 1px solid var(--line);
  }
  .plan {
    padding: 26px 24px 28px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    display: grid;
    gap: 16px;
    align-content: start;
    min-width: 0;
    position: relative;
  }
  .plan.full {
    background: var(--card);
    outline: 1.5px solid var(--strong);
    outline-offset: -1px;
  }
  .plan h3 {
    font: 800 30px / 1 var(--display);
    letter-spacing: -0.035em;
  }
  .plan .price {
    font: 500 clamp(32px, 3.2vw, 44px) / 1 var(--mono);
    letter-spacing: -0.04em;
  }
  .plan .price small {
    font: 400 14px / 1.4 var(--display);
    color: var(--muted);
    letter-spacing: 0;
    display: block;
    margin-top: 8px;
  }
  .plan ul {
    display: grid;
    gap: 8px;
    font-size: 15.5px;
  }
  .plan li {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 8px;
  }
  .plan li::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--fg);
    margin-top: 8px;
  }
  .plan li.plus::before {
    background: var(--accent);
  }
  .plan .who {
    color: var(--muted);
    font-size: 15px;
  }
  .fine {
    color: var(--muted);
    font-size: 14px;
    margin-top: 20px;
    max-width: 80ch;
  }
  .founders {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px 28px;
    align-items: center;
    margin-top: 36px;
    padding: 22px;
    border: 1.5px dashed var(--strong);
  }
  .founders .seats {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    max-width: 150px;
  }
  .founders .seats i {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1.5px solid var(--strong);
    display: block;
  }
  .founders .seats i.on {
    background: var(--accent);
    border-color: var(--accent);
  }
  .steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 56px;
    border-top: 1.5px solid var(--strong);
  }
  .steps li {
    padding: 20px 20px 24px 0;
    display: grid;
    gap: 10px;
    align-content: start;
    border-right: 1px solid var(--line);
    min-width: 0;
  }
  .steps li + li {
    padding-left: 20px;
  }
  .steps li:last-child {
    border-right: 0;
  }
  .steps .n {
    font: 500 13px / 1 var(--mono);
    color: var(--muted);
  }
  .steps strong {
    font-size: 20px;
    letter-spacing: -0.015em;
    line-height: 1.2;
  }
  .steps span {
    color: var(--muted);
    font-size: 15px;
  }

  /* ---------- questions ---------- */
  .faq {
    margin-top: 56px;
    border-top: 1.5px solid var(--strong);
  }
  .faq details {
    border-bottom: 1px solid var(--line);
  }
  .faq summary {
    list-style: none;
    cursor: pointer;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 28px;
    gap: 16px;
    padding: 20px 0;
    font: 700 clamp(18px, 1.6vw, 22px) / 1.3 var(--display);
    letter-spacing: -0.01em;
  }
  .faq summary::-webkit-details-marker {
    display: none;
  }
  .faq summary i {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1.5px solid var(--strong);
    position: relative;
    display: block;
    margin-top: 2px;
    transition:
      transform 240ms var(--ease),
      background 160ms var(--ease);
  }
  .faq summary i::before,
  .faq summary i::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 10px;
    height: 1.5px;
    background: var(--strong);
    transform: translate(-50%, -50%);
  }
  .faq summary i::after {
    transform: translate(-50%, -50%) rotate(90deg);
    transition: transform 240ms var(--ease);
  }
  .faq details[open] summary i::after {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  .faq details > div {
    padding: 0 44px 24px 0;
    color: var(--muted);
    font-size: 17px;
    max-width: 70ch;
  }

  /* ---------- le soir ---------- */
  .night {
    background: var(--night);
    color: var(--night-fg);
  }
  .night .time::after {
    border-color: var(--night-fg);
  }
  .night .lbl,
  .night .muted {
    color: var(--night-muted);
  }
  .night .h2 {
    font-size: clamp(56px, 10vw, 160px);
    line-height: 0.9;
    letter-spacing: -0.055em;
    max-width: none;
  }
  .night .h2 em {
    font-style: normal;
    color: var(--night-accent);
  }
  .vision {
    font: 600 clamp(20px, 2vw, 26px) / 1.4 var(--display);
    max-width: 40ch;
    margin-top: 36px;
  }
  .y1954 {
    margin-top: 40px;
    display: flex;
    gap: 18px;
    align-items: baseline;
    flex-wrap: wrap;
    padding-top: 18px;
    border-top: 1px solid var(--night-line);
  }
  .y1954 .mono {
    color: var(--night-accent);
    font-size: 14px;
  }
  .y1954 p {
    font-size: 17px;
  }
  .close {
    display: grid;
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    gap: clamp(40px, 6vw, 96px);
    margin-top: 88px;
    align-items: start;
  }
  .close > * {
    min-width: 0;
  }
  .founder {
    border-top: 1px solid var(--night-line);
    padding-top: 20px;
    display: grid;
    gap: 16px;
  }
  .founder p {
    font-size: 18px;
    line-height: 1.6;
    max-width: 52ch;
  }
  .founder .sig {
    display: flex;
    gap: 14px;
    align-items: center;
  }
  .founder .sig i {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid var(--night-fg);
    display: grid;
    place-items: center;
    font: 600 13px var(--mono);
    font-style: normal;
  }
  .form {
    background: var(--night-card);
    border: 1px solid var(--night-line);
    padding: clamp(20px, 3vw, 32px);
    display: grid;
    gap: 16px;
    position: relative;
    overflow: hidden;
  }
  .form h3 {
    font: 800 28px / 1.05 var(--display);
    letter-spacing: -0.03em;
  }
  .f {
    display: grid;
    gap: 6px;
  }
  .f label {
    font: 500 11px / 1.3 var(--mono);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--night-muted);
  }
  .f input,
  .f select {
    width: 100%;
    min-height: 48px;
    border: 1.5px solid var(--night-fg);
    background: transparent;
    color: var(--night-fg);
    padding: 0 12px;
    border-radius: 0;
    font-size: 16px;
  }
  .f select option {
    color: #141613;
  }
  .f2 {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
  }
  /* The card is a grid that clips: on a 320 px screen the button wraps
     instead of losing its last word. */
  .form .btn {
    background: var(--night-accent);
    border-color: var(--night-accent);
    color: #141613;
    min-height: 56px;
    padding-block: 12px;
    white-space: normal;
    text-align: center;
    line-height: 1.25;
    flex-wrap: wrap;
    gap: 2px 0.28em;
  }
  /* The button's display would otherwise win over the hidden attribute. */
  .insecable {
    white-space: nowrap;
  }
  .form .btn[hidden],
  .form[hidden] {
    display: none;
  }
  .form .btn:hover {
    background: var(--night-fg);
    border-color: var(--night-fg);
  }
  .form .note {
    font-size: 15px;
    line-height: 1.45;
    color: var(--night-muted);
  }
  .form .err {
    color: #e08a5a;
    font-size: 14px;
  }
  /* Honeypot (ADR-029): out of sight and out of the tab order, still in the
     form for robots that fill every field. */
  .form .piege {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
  }
  .form .stamp {
    border-color: var(--night-accent);
    color: var(--night-accent);
    background: var(--night-card);
    left: 50%;
    top: 50%;
  }
  /* ---------- pied de page ----------
     The registre grid of the sections: the mark in the left column, under
     the same 1.5 px rule as a time; four numbered groups on the right.
     Links at 16 px, 44 px targets at the mouse, 56 px at the thumb (kit,
     rule 5). */
  .sec--fin {
    padding-bottom: clamp(64px, 7vw, 112px);
  }
  .ft {
    background: var(--night);
    color: var(--night-fg);
    padding-block: clamp(48px, 6vw, 80px)
      calc(clamp(32px, 4vw, 48px) + env(safe-area-inset-bottom, 0px));
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
    border-top: 1.5px solid var(--night-line);
  }
  .ft__in {
    max-width: var(--wrap);
    margin: 0 auto;
    display: grid;
    grid-template-columns: var(--gut) minmax(0, 1fr);
  }
  .ft__in > * {
    min-width: 0;
  }
  .ft__marque {
    position: relative;
    padding-top: 14px;
    padding-right: 28px;
  }
  .ft__marque::after {
    content: "";
    position: absolute;
    left: 0;
    right: 28px;
    top: 0;
    border-top: 1.5px solid var(--night-fg);
  }
  .ft__marque svg {
    display: block;
    width: 104px;
    max-width: 100%;
    height: auto;
  }
  .ft__devise {
    font: 800 clamp(30px, 3.6vw, 48px) / 1 var(--display);
    letter-spacing: -0.035em;
  }
  .ft__devise span {
    display: block;
  }
  .ft__liens {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 40px 24px;
    margin-top: clamp(40px, 5vw, 64px);
  }
  .ft .ft__titre {
    padding-top: 14px;
    margin-bottom: 6px;
    border-top: 1.5px solid var(--night-fg);
    color: var(--night-muted);
  }
  .ft__liens a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding-block: 6px;
    font: 400 16px / 1.3 var(--display);
    color: var(--night-fg);
    text-decoration: none;
  }
  .ft__liens a:hover,
  .ft__liens a:focus-visible {
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 4px;
  }
  @media (pointer: coarse) {
    .ft__liens a {
      min-height: 56px;
    }
  }
  .ft__bas {
    margin-top: clamp(40px, 5vw, 64px);
    padding-top: 20px;
    border-top: 1px solid var(--night-line);
    font: 400 15px / 1.4 var(--display);
    color: var(--night-muted);
  }
  @media (max-width: 860px) {
    .ft__in {
      grid-template-columns: minmax(0, 1fr);
    }
    .ft__marque {
      padding-top: 12px;
      padding-right: 0;
      margin-bottom: 28px;
    }
    .ft__marque::after {
      right: 0;
    }
    .ft__liens {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 32px 16px;
    }
  }

  /* ---------- mouvement ---------- */
  @keyframes printLine {
    from {
      clip-path: inset(0 100% 0 0);
    }
    to {
      clip-path: inset(0 0 0 0);
    }
  }
  @keyframes printDown {
    from {
      clip-path: inset(0 0 100% 0);
      transform: translateY(-8px);
    }
    to {
      clip-path: inset(0 0 -4px 0);
      transform: none;
    }
  }
  @keyframes rule {
    from {
      transform: scaleX(0);
    }
  }
  .js .rv {
    clip-path: inset(0 0 99% 0);
    transform: translateY(-8px);
  }
  .js .rv.in {
    animation: printDown 520ms var(--ease) both;
    animation-delay: var(--d, 0ms);
  }
  .js .time.rv.in::after,
  .js .time.in::after {
    transform-origin: left;
    animation: rule 520ms var(--ease) both;
  }
  .shake {
    animation: shake 300ms linear;
  }
  @keyframes shake {
    0%,
    100% {
      transform: none;
    }
    16% {
      transform: translateX(-10px);
    }
    33% {
      transform: translateX(8px);
    }
    50% {
      transform: translateX(-6px);
    }
    66% {
      transform: translateX(4px);
    }
    83% {
      transform: translateX(-2px);
    }
  }

  /* ---------- largeurs ---------- */
  @media (max-width: 1100px) {
    :root {
      --gut: 96px;
    }
    .hd nav {
      display: none;
    }
    .stage {
      min-height: 580px;
    }
    .q4 {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .q4 > div:nth-child(2) {
      border-right: 0;
    }
    .q4 > div:nth-child(3) {
      padding-left: 0;
    }
    .q4 > div:nth-child(-n + 2) {
      border-bottom: 1px solid var(--line);
    }
    .steps {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .steps li:nth-child(2) {
      border-right: 0;
    }
    .steps li:nth-child(3) {
      padding-left: 0;
    }
  }
  @media (max-width: 860px) {
    .wrap {
      grid-template-columns: minmax(0, 1fr);
    }
    .time {
      padding-top: 12px;
      margin-bottom: 26px;
      display: flex;
      gap: 12px;
      align-items: baseline;
    }
    .time .lbl {
      margin-top: 0;
    }
    .time::after {
      right: 0;
    }
    .hero__grid,
    .split,
    .writes,
    .pilebox,
    .close,
    .chart {
      grid-template-columns: minmax(0, 1fr);
    }
    .stage {
      min-height: 0;
      display: grid;
      gap: 20px;
    }
    .phone {
      position: relative;
      margin: 0 auto;
      order: -1;
    }
    .sheet {
      position: relative;
      width: 100%;
      top: 0;
      left: 0;
      padding-left: 26px;
    }
    .caption {
      position: static;
      max-width: none;
    }
    .replay {
      position: static;
    }
    .gestures,
    .trust,
    .plans {
      grid-template-columns: minmax(0, 1fr);
    }
    .langs {
      grid-template-columns: minmax(0, 1fr);
    }
    .trades {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .reg li {
      grid-template-columns: 24px minmax(0, 1fr);
    }
    .reg li > span,
    .reg li > strong {
      grid-column: 2;
    }
    .reg .w {
      text-align: left;
    }
    .reg li {
      row-gap: 4px;
    }
    .wires {
      display: none;
    }
    .clock .lbl {
      display: none;
    }
    .founders {
      grid-template-columns: minmax(0, 1fr);
    }
    .rules div {
      grid-template-columns: minmax(0, 1fr);
      gap: 4px;
    }
    .dl > div {
      grid-template-columns: minmax(0, 1fr) 64px 84px;
    }
  }
  @media (max-width: 520px) {
    body {
      font-size: 17px;
    }
    .hd__in {
      gap: 12px;
      min-height: 60px;
    }
    .hd .btn {
      padding: 0 12px;
      min-height: 40px;
      font-size: 14px;
    }
    .hd .long {
      display: none;
    }
    .hd .short {
      display: inline;
    }
    .ticks .opt {
      display: none;
    }
    .clock {
      padding-left: 12px;
      margin-left: 0;
    }
    .q4,
    .steps,
    .trades {
      grid-template-columns: minmax(0, 1fr);
    }
    .q4 > div,
    .q4 > div + div,
    .steps li,
    .steps li + li {
      padding-left: 0;
      border-right: 0;
      border-bottom: 1px solid var(--line);
    }
    .phone {
      width: 280px;
      height: 510px;
    }
    .big .t {
      font-size: 56px;
    }
    .f2 {
      grid-template-columns: minmax(0, 1fr);
    }
    .card h3 {
      font-size: 23px;
    }
    .pile {
      height: 400px;
    }
  }
}

/* Text pages (mentions légales, protection des données): no script, the
   same tokens, light and dark. */
@layer site {
  .texte__haut,
  .texte,
  .texte__pied {
    max-width: 760px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
  }
  .texte__haut {
    padding-top: 32px;
  }
  .texte__haut svg {
    height: 28px;
    width: auto;
    display: block;
  }
  .texte {
    padding-top: 48px;
    padding-bottom: 64px;
  }
  .texte h1 {
    font: 800 clamp(34px, 5vw, 52px) / 1 var(--display);
    letter-spacing: -0.03em;
    margin-top: 12px;
  }
  .texte h2 {
    font: 700 22px / 1.25 var(--display);
    margin-top: 40px;
    padding-top: 16px;
    border-top: 1.5px solid var(--fg);
  }
  .texte p,
  .texte li,
  .texte dd {
    font-size: 18px;
    line-height: 1.55;
    margin-top: 10px;
  }
  .texte ul {
    padding-left: 22px;
    margin-top: 6px;
  }
  .texte dl {
    margin-top: 6px;
  }
  .texte dt {
    font: 500 13px / 1.3 var(--mono);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-top: 18px;
  }
  .texte dd {
    margin: 4px 0 0;
  }
  .texte a {
    color: inherit;
  }
  /* The same links as the home page footer, in the paper colours: one rule
     opens it, three columns at the mouse, two at the thumb. */
  .texte__pied {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 24px;
    padding-top: 16px;
    padding-bottom: calc(48px + env(safe-area-inset-bottom, 0px));
    font: 400 16px / 1.3 var(--display);
  }
  /* The rule spans the text column, like the rules of the headings. */
  .texte__pied::before {
    content: "";
    position: absolute;
    top: 0;
    left: 20px;
    right: 20px;
    border-top: 1.5px solid var(--fg);
  }
  .texte__pied a {
    color: inherit;
    min-height: 44px;
    display: flex;
    align-items: center;
    padding-block: 6px;
    text-decoration: none;
  }
  .texte__pied a:hover,
  .texte__pied a:focus-visible {
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 4px;
  }
  @media (max-width: 640px) {
    .texte__pied {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 0 16px;
    }
  }
  /* What Albert still has to give: in the brown of « Écart », never mistaken
     for a final text. */
  .a-remplir {
    color: var(--ecart);
    font: 500 15px / 1.4 var(--mono);
    border-bottom: 1.5px dashed currentColor;
  }

  /* The other language of the page, each language by its own name (docs/05). */
  .texte__haut {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
  }
  .langues {
    display: flex;
    gap: 4px 20px;
    font: 500 15px / 1.4 var(--mono);
  }
  .langues a,
  .langues button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  /* The page in the other language is a link; on /i, where the phone picks
     the language, a segmented choice: the chosen one is filled, both read as
     buttons (revue UX du 04.11.2026). Phrase type: a language is a word, not
     a label. */
  .choix-langue {
    align-items: center;
    gap: 10px;
  }
  .choix-langue .segments {
    display: flex;
    border: 1.5px solid var(--strong);
  }
  .choix-langue button {
    min-height: 56px;
    padding: 0 16px;
    font: 600 17px / 1.2 var(--display);
  }
  .choix-langue button[aria-pressed="true"] {
    background: var(--strong);
    color: var(--bg);
  }
  /* At the thumb, 56 px; at the mouse, 44 px (kit, rule 5). */
  @media (pointer: coarse) {
    .texte__pied a,
    .langues a {
      min-height: 56px;
    }
  }
  .texte__pied a[aria-current="page"] {
    font-weight: 600;
    text-decoration: none;
  }
  .langues[hidden],
  .texte [hidden],
  .texte__pied[hidden] {
    display: none;
  }
  .texte h3 {
    font: 700 19px / 1.3 var(--display);
    margin-top: 28px;
  }
  /* Square marks (right angles), numbers for steps to follow in order. */
  .texte ul {
    list-style: square;
  }
  .texte ol {
    list-style: decimal;
    padding-left: 26px;
    margin-top: 6px;
  }
  .texte ol li::marker {
    font-family: var(--mono);
    font-weight: 500;
  }
  /* The next section opens with its own rule: none under « En bref ». */
  .texte .en-bref {
    margin-top: 24px;
  }
  .texte p .mono {
    font-size: 0.9em;
  }

  /* Tables of the policy: rules, no fill. On a phone each row becomes a block
     and each cell takes its column name, so nothing scrolls sideways. */
  .texte table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
    border-top: 1.5px solid var(--fg);
  }
  .texte th,
  .texte td {
    text-align: left;
    vertical-align: top;
    padding: 12px 16px 12px 0;
    border-bottom: 1px solid var(--line);
    font-size: 17px;
    line-height: 1.5;
  }
  .texte thead th {
    font: 500 15px / 1.3 var(--mono);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .texte tbody th {
    font-weight: 600;
  }
  @media (max-width: 640px) {
    .texte table,
    .texte tbody,
    .texte tr,
    .texte th,
    .texte td {
      display: block;
    }
    /* Hidden from everyone: once rows are blocks, VoiceOver would read the
       header row alone; each cell carries its column name instead. */
    .texte thead {
      display: none;
    }
    .texte tbody tr {
      padding: 12px 0;
      border-bottom: 1px solid var(--line);
    }
    .texte th,
    .texte td {
      padding: 2px 0;
      border: 0;
    }
    .texte td[data-l]::before {
      content: attr(data-l);
      display: block;
      margin-top: 10px;
      font: 500 15px / 1.3 var(--mono);
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: var(--muted);
    }
  }

  /* Fallback page of invitation links (ADR-015): one green, the button that
     opens the app. */
  .invitation .btn {
    margin-top: 24px;
    min-height: 56px;
    width: 100%;
    max-width: 420px;
    font-size: 18px;
    /* Longer languages and 200 % zoom wrap instead of overflowing. */
    white-space: normal;
    line-height: 1.25;
    padding-block: 14px;
  }
  .invitation .btn[hidden] {
    display: none;
  }
  /* Brown rules for the « Écart » state; the text stays ink: the brown on
     paper is 4.49:1, under the 4.5:1 of a sentence. */
  .invitation .avis {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-top: 24px;
    padding: 14px 0;
    border-top: 1.5px solid var(--ecart);
    border-bottom: 1.5px solid var(--ecart);
    font-weight: 600;
  }
  /* The pictogram of the state may be brown: 3:1 is enough for a shape. */
  .invitation .avis .ic {
    color: var(--ecart);
    margin-top: 2px;
  }
  .invitation .avis[hidden] {
    display: none;
  }
}

/* What used to be style="" attributes (index.html, and the batch dots of the
   pile in site.js), forbidden by the CSP. In the last layer, so that they
   win over every rule of `site` as the attributes did; the reduced-motion
   rules below stay unlayered and still win over everything. */
@layer ligne {
  .d80 {
    --d: 80ms;
  }
  .d160 {
    --d: 160ms;
  }
  .d240 {
    --d: 240ms;
  }
  .sans-haut {
    padding-top: 0;
  }
  .fond-carte {
    background: var(--card);
  }
  .encre-nuit {
    color: var(--night-fg);
  }
  .mt0 {
    margin-top: 0;
  }
  .mt4 {
    margin-top: 4px;
  }
  .mt6 {
    margin-top: 6px;
  }
  .mt14 {
    margin-top: 14px;
  }
  .mt20 {
    margin-top: 20px;
  }
  .mt24 {
    margin-top: 24px;
  }
  .mt32 {
    margin-top: 32px;
  }
  .mb12 {
    margin-bottom: 12px;
  }
  .t12 {
    font-size: 12px;
  }
  .t13 {
    font-size: 13px;
  }
  .t14 {
    font-size: 14px;
  }
  .t15 {
    font-size: 15px;
  }
  .t155 {
    font-size: 15.5px;
  }
  .t16 {
    font-size: 16px;
  }
  .t19 {
    font-size: 19px;
  }
  .sous-boutons {
    margin-top: -14px;
  }
  .rangee {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
  }
  .phrase-forte {
    font: 700 22px / 1.3 var(--display);
    letter-spacing: -0.015em;
    margin-top: 10px;
  }
  .lotp {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
  }
  .lotp i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1.5px solid #141613;
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 1ms;
    animation-delay: 0ms;
    transition-duration: 1ms;
  }
  .js .rv {
    clip-path: none;
    transform: none;
  }
}
