/*
  Layout and components for the Mobile Modernizer website, look B: a gradient
  in the petrol family, glass panels on it, solid surfaces for evidence.
  The home page follows the design reference of 18 November 2026 (direction C).
  No colour, size, font or duration is written here: every value comes from tokens.css.
  The only literal lengths are the breakpoints (40rem, 56rem),
  because CSS does not allow custom properties in media queries.
*/

/* ---------- Base ---------- */

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

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

/* The gradient behind the page, with a soft petrol wash at the top right.
   It runs once over the whole height of the page. */
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(70% 55% at var(--gradient-wash-position), var(--gradient-wash), transparent 70%),
    linear-gradient(var(--gradient-angle), var(--gradient-1) 0%, var(--gradient-2) 38%, var(--gradient-3) 68%, var(--gradient-4) 100%);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: var(--leading-body);
  font-weight: var(--weight-regular);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: var(--weight-semibold);
  line-height: var(--leading-heading);
  letter-spacing: var(--tracking-heading);
}

h1,
h2 {
  text-wrap: balance;
}

h1 {
  font-size: var(--text-h1);
  line-height: var(--leading-display);
  letter-spacing: var(--tracking-h1);
}

h2 { font-size: var(--text-h2); }

h3 {
  font-size: var(--text-h3);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-h3);
}

p,
ul,
ol,
figure,
table {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

code,
pre {
  font-family: var(--font-mono);
  font-size: var(--text-mono);
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--color-accent);
  text-decoration-thickness: var(--hairline);
  text-underline-offset: var(--underline-offset);
  transition: color var(--duration) var(--easing),
    background-color var(--duration) var(--easing),
    border-color var(--duration) var(--easing);
}

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

:focus-visible {
  outline: var(--focus-width) solid var(--color-accent);
  outline-offset: var(--focus-offset);
  border-radius: var(--radius-sm);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

[hidden] {
  display: none !important;
}

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

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: var(--space-2);
  z-index: 10;
  padding: var(--space-2) var(--space-4);
  background: var(--color-bg);
  color: var(--color-accent);
  transform: translateY(-200%);
}

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

/* ---------- Layout ---------- */

.container {
  width: 100%;
  max-width: calc(var(--content-max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* The 12-column grid of the simple pages. On narrow screens every child spans
   all columns; the spans below take effect from 56rem. */
.grid {
  display: grid;
  grid-template-columns: repeat(var(--grid-columns), minmax(0, 1fr));
  column-gap: var(--grid-gap);
  row-gap: var(--space-6);
}

.grid > * {
  grid-column: 1 / -1;
}

/* ---------- Surfaces ---------- */

/* Glass, with a solid fallback where backdrop-filter is not supported.
   Used on the navigation bar and the light panels and tiles. */
.glass {
  background: var(--glass-fallback);
  border: var(--hairline) solid var(--glass-edge);
  border-radius: var(--radius);
  box-shadow: var(--shadow-glass);
}

@supports ((backdrop-filter: blur(var(--hairline))) or (-webkit-backdrop-filter: blur(var(--hairline)))) {
  .glass {
    background: var(--glass);
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
    backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  }
}

/* Glass panels that answer the mouse: a small lift and a band of light.
   Only where the device can hover; nothing moves for reduced motion. */
.glass--hover {
  position: relative;
  overflow: hidden;
  transition: transform var(--duration-hover) var(--easing),
    background-color var(--duration-hover) var(--easing),
    border-color var(--duration-hover) var(--easing),
    box-shadow var(--duration-hover) var(--easing);
}

/* The band of light: it waits left of the panel and crosses it once on hover.
   It has no transition of its own at rest, so it jumps back unseen. */
.glass--hover::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: var(--sheen);
  transform: translateX(-120%);
}

@media (hover: hover) {
  .glass--hover:hover {
    transform: translateY(var(--hover-lift));
    border-color: var(--glass-hover-edge);
    box-shadow: var(--shadow-glass-hover);
  }

  .glass--hover:hover::after {
    transform: translateX(120%);
    transition: transform var(--duration-sheen) var(--easing);
  }
}

/* The brighter glass, only where the glass is half-transparent; the solid
   fallback keeps its ground. Not on the petrol tile, which keeps its own. */
@supports ((backdrop-filter: blur(var(--hairline))) or (-webkit-backdrop-filter: blur(var(--hairline)))) {
  @media (hover: hover) {
    .glass.glass--hover:hover {
      background-color: var(--glass-hover);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .glass--hover:hover {
    transform: none;
  }

  .glass--hover::after {
    display: none;
  }
}

/* The small line icons: 24 by 24, drawn with a stroke */
.icon {
  flex: none;
  width: var(--icon-size);
  height: var(--icon-size);
  fill: none;
  stroke: var(--color-accent);
  stroke-width: var(--icon-stroke);
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Buttons ---------- */

.button {
  display: inline-block;
  padding: var(--space-3) var(--space-5);
  border: var(--hairline) solid var(--color-accent);
  border-radius: var(--radius-sm);
  background: var(--color-accent);
  color: var(--color-on-accent);
  font: inherit;
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  line-height: var(--leading-tight);
  text-decoration: none;
  box-shadow: var(--shadow-button);
  cursor: pointer;
  transition: background-color var(--duration) var(--easing),
    border-color var(--duration) var(--easing),
    color var(--duration) var(--easing);
}

.button:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  color: var(--color-on-accent);
}

.button--large {
  padding: var(--space-r15) var(--space-r28);
  font-size: var(--text-md);
  box-shadow: var(--shadow-button-large);
}

/* The light button on the deep petrol of the closing panel */
.button--light {
  background: var(--color-bg);
  border-color: var(--color-bg);
  color: var(--color-accent-hover);
  font-weight: var(--weight-semibold);
  box-shadow: var(--shadow-button-light);
}

.button--light:hover {
  background: var(--color-button-light-hover);
  border-color: var(--color-button-light-hover);
  color: var(--color-accent-hover);
}

.button--quiet {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-hairline);
  box-shadow: none;
}

.button--quiet:hover {
  background: transparent;
  color: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
}

/* ---------- Placeholders and slots ---------- */

/* A bracketed fact that is not known yet, e.g. [TO BE WRITTEN] */
.placeholder {
  display: inline-block;
  padding: 0 var(--space-1);
  border: var(--hairline) dashed var(--color-text-muted);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  color: var(--color-text);
  font-weight: var(--weight-medium);
}

/* An image slot: a framed placeholder with a fixed aspect ratio and a caption.
   To fill it, put an <img alt="..."> or inline <svg> inside .slot__frame in
   place of the .slot__label span. */
.slot__frame {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: var(--slot-ratio, var(--ratio-screenshot));
  overflow: hidden;
  border: var(--slot-border) dashed var(--color-text-muted);
  border-radius: var(--radius);
  background: var(--color-surface);
}

.slot__frame > img,
.slot__frame > svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slot__label {
  padding: var(--space-2);
  color: var(--color-text-muted);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
}

.slot__caption {
  margin-top: var(--space-2);
  color: var(--color-text);
  font-size: var(--text-sm);
  line-height: var(--leading-tight);
}

.slot--hero { --slot-ratio: var(--ratio-hero); }
.slot--step { --slot-ratio: var(--ratio-step); }
.slot--screenshot { --slot-ratio: var(--ratio-screenshot); }

/* ---------- Header: a floating glass bar ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  padding-top: var(--space-3);
}

.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3) var(--space-5);
  padding: var(--space-3) var(--space-r20);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--color-text);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-heading);
  line-height: var(--leading-heading);
  text-decoration: none;
}

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

.brand__mark {
  flex: none;
  width: var(--mark-size);
  height: auto;
}

.brand__mark--small {
  width: var(--mark-size-small);
}

.menu-toggle {
  /* Shown only by js/menu.js, and only on narrow screens */
  font-size: var(--text-sm);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3) var(--space-6);
  width: 100%;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-5);
}

.site-nav ul a {
  color: var(--color-text);
  font-size: var(--text-sm);
  text-decoration: none;
}

.site-nav ul a:hover {
  color: var(--color-accent-hover);
  text-decoration: underline;
}

/* Narrow screens with JavaScript: the links collapse behind the Menu button
   and, when open, stack inside the glass bar.
   Without JavaScript the button stays hidden and the links stay visible. */
@media (max-width: 55.99rem) {
  .site-header[data-menu="closed"] .site-nav {
    display: none;
  }

  .site-header[data-menu] .site-nav {
    flex-direction: column;
    align-items: flex-start;
    padding-block: var(--space-3) var(--space-2);
  }

  .site-header[data-menu] .site-nav ul {
    flex-direction: column;
  }
}

@media (min-width: 56rem) {
  .menu-toggle {
    display: none;
  }

  .site-nav {
    width: auto;
  }
}

/* ---------- First screen: the text and the two phones side by side,
   one under the other where they no longer fit ---------- */

.hero {
  padding-block: var(--space-hero-top) var(--space-home-section);
  overflow-x: clip;
}

.hero__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-7) var(--space-r56);
}

.hero__text {
  flex: var(--flex-hero-text);
  min-width: 0;
}

.hero__label {
  margin-bottom: var(--space-r14);
  color: var(--color-text-muted);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
}

.hero__title-accent {
  display: block;
  margin-top: var(--space-title-accent);
  color: var(--color-accent);
}

.hero__lead {
  margin-top: var(--space-r26);
  max-width: var(--measure-lead);
  font-size: var(--text-lead);
  line-height: var(--leading-lead);
  text-wrap: pretty;
}

.hero__actions {
  margin-top: var(--space-r34);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-r14) var(--space-r22);
}

.hero__note {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: var(--leading-snug);
}

.hero__figure {
  flex: var(--flex-hero-figure);
  min-width: 0;
}

.hero__stage {
  position: relative;
}

/* The mark, large and faint, behind the phones; it fades out downwards */
.hero__motif {
  position: absolute;
  z-index: 0;
  left: var(--motif-left);
  top: var(--motif-top);
  width: var(--motif-width);
  max-width: none;
  height: auto;
  pointer-events: none;
  -webkit-mask-image: var(--mask-hero-mark);
  mask-image: var(--mask-hero-mark);
}

.hero__motif-light {
  fill: var(--color-mark-light);
  opacity: var(--mark-hero-opacity-1);
}

.hero__motif-dark {
  fill: var(--color-mark-dark);
  opacity: var(--mark-hero-opacity-2);
}

.hero__motif-top {
  opacity: var(--mark-hero-opacity-3);
}

/* The two phones, one picture each, over one another. The fade sits on the
   stage, so it stays put while the phones move (see js/parallax.js) */
.phones__stage {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: var(--ratio-phones);
  -webkit-mask-image: var(--mask-hero-image);
  mask-image: var(--mask-hero-image);
}

.phones__layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform-origin: 50% 60%;
  will-change: transform;
}

.phones__layer--before {
  transform: translate3d(0, calc(var(--parallax, 0) * var(--parallax-before-shift)), 0) rotate(calc(var(--parallax, 0) * var(--parallax-before-turn)));
}

.phones__layer--after {
  transform: translate3d(0, calc(var(--parallax, 0) * var(--parallax-after-shift)), 0) rotate(calc(var(--parallax, 0) * var(--parallax-after-turn)));
}

/* The two labels: under the illustration, one under the other, on narrow
   screens; on the illustration from 40rem */
.hero__chip {
  display: flex;
  align-items: flex-start;
  gap: var(--space-r9);
  margin-top: var(--space-3);
  padding: var(--space-r10) var(--space-r14);
  border-radius: var(--radius);
  font-size: var(--text-sm);
  line-height: var(--leading-tight);
  -webkit-backdrop-filter: blur(var(--chip-blur)) saturate(var(--glass-saturate));
  backdrop-filter: blur(var(--chip-blur)) saturate(var(--glass-saturate));
}

.hero__chip--before {
  background: var(--chip-before);
  border: var(--hairline) solid var(--chip-before-edge);
  box-shadow: var(--chip-before-shadow);
}

.hero__chip--after {
  background: var(--chip-after);
  border: var(--hairline) solid var(--chip-after-edge);
  box-shadow: var(--chip-after-shadow);
}

.hero__dot {
  flex: none;
  width: var(--dot-size);
  height: var(--dot-size);
  margin-top: var(--dot-offset);
  border-radius: 50%;
  background: var(--color-dot-before);
}

.hero__chip--after .hero__dot {
  background: var(--color-accent);
}

@media (min-width: 40rem) {
  .hero__chip {
    position: absolute;
    z-index: 2;
    margin: 0;
  }

  .hero__chip--before {
    left: 0;
    top: var(--chip-before-top);
    max-width: var(--chip-before-width);
  }

  .hero__chip--after {
    right: 0;
    bottom: var(--chip-after-bottom);
    max-width: var(--chip-after-width);
  }
}

.hero__caption {
  margin-top: var(--space-1);
  color: var(--color-text-muted);
  font-size: var(--text-xs);
  line-height: var(--leading-table);
}

/* ---------- Sections: the label and heading above the body, or beside it
   in the split sections; text straight on the gradient ---------- */

.section {
  padding-block: var(--space-home-section);
  border-top: var(--hairline) solid var(--color-rule-soft);
  scroll-margin-top: calc(var(--space-8) + var(--space-4));
}

.section__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-r44);
}

.section__inner--split {
  flex-direction: row;
  flex-wrap: wrap;
  gap: var(--space-r36) var(--space-r56);
}

.section__head {
  max-width: var(--measure-head);
}

.section__inner--split > .section__head {
  flex: var(--flex-head);
  min-width: 0;
}

.section__label {
  margin-bottom: var(--space-r14);
  color: var(--color-text);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
}

.section__body {
  flex: var(--flex-body);
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.section__body--tight { gap: var(--space-2); }
.section__body--wide { gap: var(--space-r44); }
.section__body--example { gap: var(--space-r36); }

.section__intro {
  max-width: var(--measure-intro);
  font-size: var(--text-lead);
  line-height: var(--leading-lead);
}

/* Two or three panels side by side, one under the other where they no longer fit */
.panel-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-r20);
}

/* ---------- Why now: three rules, numbered, between hairlines ---------- */

.rule-list__item {
  display: flex;
  gap: var(--space-r20);
  padding-block: var(--space-r26);
  border-top: var(--hairline) solid var(--color-rule);
}

.rule-list__item:first-child {
  padding-top: 0;
  border-top: 0;
}

.rule-list__number {
  flex: none;
  width: var(--rule-number-width);
  padding-top: var(--space-r3);
  color: var(--color-accent);
  font-family: var(--font-mono);
  font-size: var(--text-mono);
  font-weight: var(--weight-medium);
}

.rule-list__text {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  min-width: 0;
}

.rule-list__text p {
  max-width: var(--measure-rule);
  font-size: var(--text-copy);
}

.note-panel {
  padding: var(--space-5) var(--space-r28);
}

.note-panel p {
  max-width: var(--measure-text);
  font-size: var(--text-copy);
}

/* ---------- Who does the work: a large heading, a lead, three tiles ---------- */

.statement__title {
  font-size: var(--text-h2-request);
  line-height: var(--leading-display);
  letter-spacing: var(--tracking-display);
}

.statement__accent {
  color: var(--color-accent);
}

.statement__lead {
  margin-top: var(--space-r22);
}

/* ---------- What you get: five tiles, the last one in deep petrol ---------- */

.tiles {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-r20);
}

.tile {
  flex: var(--flex-tile);
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-r14);
  padding: var(--space-r28);
  border-radius: var(--radius);
}

.tile--wide {
  flex: var(--flex-tile-wide);
}

.tile p {
  font-size: var(--text-tile);
}

.tile__icon {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--icon-box);
  height: var(--icon-box);
  border-radius: var(--radius);
  background: var(--tint-icon);
}

.tile--accent {
  background: var(--gradient-tile);
  border: var(--hairline) solid var(--tile-accent-edge);
  box-shadow: var(--shadow-tile-accent);
  color: var(--color-on-accent);
}

.tile--accent .tile__icon {
  background: var(--tint-icon-on-accent);
}

.tile--accent .icon {
  stroke: var(--color-on-accent);
}

/* The quiet form of the hover on the petrol tile: same lift, its own edge and
   shadow, a fainter band; its ground does not change */
.tile--accent.glass--hover::after {
  background: var(--sheen-quiet);
}

@media (hover: hover) {
  .tile--accent.glass--hover:hover {
    border-color: var(--petrol-hover-edge);
    box-shadow: var(--shadow-petrol-hover);
  }
}

/* ---------- How it works: four numbered columns, the four lines, the timer ---------- */

.steps {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6) var(--space-5);
}

.step {
  flex: var(--flex-step);
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-r10);
  padding-top: var(--space-4);
  border-top: var(--hairline) solid var(--color-text);
}

.step__number {
  color: var(--color-accent);
  font-size: var(--text-step-number);
  font-weight: var(--weight-medium);
  line-height: var(--leading-display);
  font-variant-numeric: tabular-nums;
}

.step p {
  font-size: var(--text-tile);
}

.code-inline {
  padding: var(--space-r1) var(--space-r6);
  border-radius: var(--radius-xs);
  background: var(--tint-icon);
  font-size: var(--text-sm);
}

/* The four lines: the one dark, solid panel */
.lines-panel {
  flex: var(--flex-panel);
  min-width: 0;
  padding: var(--space-r28) var(--space-r28) var(--space-r14);
  border-radius: var(--radius);
  background: var(--color-dark-bg);
  color: var(--color-dark-text);
  box-shadow: var(--shadow-dark);
}

.lines-panel__list {
  margin-top: var(--space-r14);
}

.lines-panel__item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--space-r6) var(--space-r14);
  padding-block: var(--space-r14);
}

.lines-panel__item + .lines-panel__item {
  border-top: var(--hairline) solid var(--color-dark-hairline);
}

.lines-panel__code {
  padding: var(--space-1) var(--space-r10);
  border-radius: var(--radius-sm);
  background: var(--tint-code-dark);
  color: var(--color-dark-text);
  font-size: var(--text-sm);
  white-space: nowrap;
}

.lines-panel__text {
  color: var(--color-dark-muted);
  font-size: var(--text-md);
  line-height: var(--leading-lead);
}

/* The typing cursor, shown while js/type-on-view.js types the text */
.typed--running::after {
  content: "";
  display: inline-block;
  width: var(--caret-width);
  height: var(--caret-height);
  margin-left: var(--caret-gap);
  margin-right: calc(-1 * (var(--caret-width) + var(--caret-gap)));
  vertical-align: var(--caret-shift);
  background: currentColor;
  opacity: var(--caret-opacity);
  animation: caret var(--caret-blink) steps(1) infinite;
}

/* in the dark panel the accent is too dark: the cursor takes the panel's text color */
.lines-panel .typed--running::after {
  background: var(--color-dark-text);
}

@keyframes caret {
  50% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .typed--running::after {
    animation: none;
  }
}

/* The timer: text and the drawing, which bleeds out of the panel */
.timer-panel {
  flex: var(--flex-panel);
  min-width: 0;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2) var(--space-4);
  padding: var(--space-r28);
}

.timer-panel__text {
  flex: var(--flex-timer-text);
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.timer-panel__text p {
  font-size: var(--text-copy);
}

.timer-panel__image {
  flex: var(--flex-timer-image);
  min-width: 0;
  width: var(--timer-width);
  height: auto;
  margin: var(--timer-offset-top) var(--timer-offset-right) var(--timer-offset-bottom) 0;
  opacity: var(--timer-opacity);
}

/* Under the text on small screens: the whole timer, centred, inside the padding */
@media (max-width: 39.99rem) {
  .timer-panel__image {
    flex: none;
    width: var(--timer-width-small);
    margin: 0 auto;
  }
}

/* ---------- Scope and price ---------- */

.scope-panel {
  min-width: 0;
  padding: var(--space-r28);
  border-radius: var(--radius);
}

.scope-panel--included {
  flex: var(--flex-included);
}

.scope-panel--excluded {
  flex: var(--flex-excluded);
  border: var(--hairline) solid var(--color-rule-strong);
}

/* A list with a round mark before each line: a check, or a minus */
.check-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-top: var(--space-r20);
}

.check-list__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-r14);
}

.check-list__icon {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--icon-box-small);
  height: var(--icon-box-small);
  margin-top: var(--space-r1);
  border-radius: 50%;
  background: var(--tint-check);
}

.check-list__icon--minus {
  background: var(--tint-minus);
}

.check-list__icon--minus .icon {
  stroke: var(--color-text-muted);
}

.check-list__text {
  font-size: var(--text-copy);
  line-height: var(--leading-list);
}

/* The same list between hairlines, in "Your code" */
.check-list--ruled {
  gap: 0;
  margin-top: 0;
}

.check-list--ruled > .check-list__item {
  padding-block: var(--space-4);
  border-top: var(--hairline) solid var(--color-rule);
}

.check-list--ruled > .check-list__item:first-child {
  padding-top: 0;
  border-top: 0;
}

.price {
  padding: var(--space-6);
  border: var(--hairline) solid var(--price-edge);
  border-radius: var(--radius);
  background: var(--gradient-price);
  box-shadow: var(--shadow-price);
}

.price__label {
  margin-bottom: var(--space-3);
  color: var(--color-accent-hover);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  line-height: var(--leading-body);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
}

.price__text {
  max-width: var(--measure-price);
  font-size: var(--text-price);
  font-weight: var(--weight-medium);
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-h3);
  text-wrap: balance;
}

/* ---------- Who tests what ---------- */

/* A block with its own heading */
.block {
  display: flex;
  flex-direction: column;
}

.block--tests { gap: var(--space-r10); }
.block--claims { gap: var(--space-r14); }
.block--code { gap: var(--space-r18); }

.block__text {
  max-width: var(--measure-text);
  font-size: var(--text-copy);
}

/* The claims table on a solid surface; it scrolls inside its frame on narrow screens */
.table-wrap {
  padding: var(--space-r6) var(--space-5) var(--space-r10);
  overflow-x: auto;
  border: var(--hairline) solid var(--color-hairline);
  border-radius: var(--radius);
  background: var(--color-bg);
}

.claims {
  width: 100%;
  min-width: var(--table-min);
  border-collapse: collapse;
  font-size: var(--text-table);
  line-height: var(--leading-table);
}

.claims th,
.claims td {
  padding: var(--space-r14) var(--space-4) var(--space-r14) 0;
  border-top: var(--hairline) solid var(--color-hairline);
  text-align: left;
  vertical-align: top;
}

.claims thead th {
  border-top: 0;
  border-bottom: var(--hairline) solid var(--color-text);
  color: var(--color-text-muted);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
}

.claims tbody tr:first-child > * {
  border-top: 0;
}

.claims tbody th {
  font-weight: var(--weight-medium);
}

.claims__never {
  font-weight: var(--weight-semibold);
}

/* ---------- Example: the versions and the timeline ---------- */

.move {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  padding: var(--space-r14);
}

.move__cell {
  flex: var(--flex-move);
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding: var(--space-r14) var(--space-r18);
  border: var(--hairline) solid var(--color-hairline);
  border-radius: var(--radius-md);
  background: var(--color-bg);
}

.move__cell--to {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-on-accent);
}

.move__label {
  color: var(--color-text-muted);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
}

.move__cell--to .move__label {
  color: inherit;
}

.move__value {
  font-family: var(--font-mono);
  font-size: var(--text-md);
  font-weight: var(--weight-medium);
}

.timeline {
  margin-left: var(--timeline-indent);
}

.timeline__item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: 0 0 var(--space-r30) var(--space-r34);
  border-left: var(--hairline) solid var(--color-rule-timeline);
}

.timeline__item:last-child {
  padding-bottom: 0;
  border-left-color: transparent;
}

.timeline__dot {
  position: absolute;
  left: calc(-1 * var(--timeline-indent));
  top: var(--dot-offset);
  width: var(--timeline-dot);
  height: var(--timeline-dot);
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: var(--ring-timeline);
}

.timeline__text {
  max-width: var(--measure-text);
  font-size: var(--text-copy);
}

/* ---------- Request: the closing panel in deep petrol ---------- */

.section--request {
  padding-block: var(--space-home-section);
}

.request {
  position: relative;
  overflow: hidden;
  padding: var(--space-request-block) var(--space-request-inline);
  border: var(--hairline) solid var(--request-edge);
  border-radius: var(--radius-lg);
  background: var(--gradient-request);
  box-shadow: var(--shadow-request);
  color: var(--color-on-accent);
}

.request__mark {
  position: absolute;
  z-index: 0;
  right: var(--request-mark-right);
  top: var(--request-mark-top);
  width: var(--request-mark-width);
  max-width: none;
  height: auto;
  pointer-events: none;
}

.request__mark-light {
  fill: var(--color-request-mark-light);
  opacity: var(--request-mark-opacity-1);
}

.request__mark-dark {
  fill: var(--color-request-mark-dark);
  opacity: var(--request-mark-opacity-2);
}

.request__mark-top {
  opacity: var(--request-mark-opacity-3);
}

.request__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-r20);
  max-width: var(--measure-request);
}

.section__label--on-dark {
  margin-bottom: 0;
  color: var(--color-request-muted);
}

.request h2 {
  font-size: var(--text-h2-request);
  line-height: var(--leading-display);
  letter-spacing: var(--tracking-display);
}

.request__text {
  color: var(--color-dark-text);
  font-size: var(--text-request);
  line-height: var(--leading-list);
}

.request__actions {
  margin-top: var(--space-2);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-r14) var(--space-r22);
}

.request__contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-1);
  min-width: 0;
}

.request__address {
  color: var(--color-dark-text);
  font-size: var(--text-body);
  line-height: var(--leading-snug);
  overflow-wrap: anywhere;
}

.request__address:hover {
  color: var(--color-request-muted);
}

.request__address:focus-visible {
  outline-color: var(--color-dark-text);
}

.request__line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2) var(--space-r14);
}

/* Shown by js/copy.js; without JavaScript it stays hidden. */
.request__copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: var(--request-copy-min-width);
  min-height: var(--touch-target);
  padding: var(--space-2) var(--space-4);
  border: var(--hairline) solid var(--request-copy-edge);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--color-dark-text);
  font: inherit;
  font-size: var(--text-sm);
  line-height: var(--leading-tight);
  cursor: pointer;
  transition: background-color var(--duration) var(--easing);
}

.request__copy[hidden] {
  display: none;
}

.request__copy:hover,
.request__copy:focus-visible {
  background: var(--request-copy-tint);
}

.request__copy:focus-visible {
  outline-color: var(--color-dark-text);
}

.request__note {
  color: var(--color-request-muted);
  font-size: var(--text-sm);
  line-height: var(--leading-snug);
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: var(--hairline) solid var(--color-rule);
  padding-block: var(--space-r40) var(--space-7);
  font-size: var(--text-sm);
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4) var(--space-6);
}

.brand--footer {
  line-height: inherit;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-5);
}

.site-footer__links a {
  color: var(--color-text);
}

.site-footer__links a:hover {
  color: var(--color-accent-hover);
}

/* ---------- Simple pages: privacy, imprint, 404 ---------- */

.page {
  padding-block: var(--space-section);
}

.page p {
  max-width: var(--measure);
}

.page h1 + * {
  margin-top: var(--space-5);
}

.page h2 {
  margin-top: var(--space-7);
  font-size: var(--text-h3);
  max-width: var(--measure);
}

.page h2 + p,
.page p + p {
  margin-top: var(--space-3);
}

/* A list in running text: the base style removes the bullets. */
.page__list {
  margin-top: var(--space-3);
  padding-left: var(--space-5);
  max-width: var(--measure);
  list-style: disc;
}

.page__list li + li {
  margin-top: var(--space-2);
}

.page__list + p {
  margin-top: var(--space-3);
}

@media (min-width: 56rem) {
  .page__body { grid-column: 1 / span 8; }
}
