:root {
  /* The app's accent, SoapidoApp/DesignTokens.swift: rgb(0.953, 0.341, 0.557). */
  --pink: #f3578e;
  --pink-press: #e4467d;
  /* The same pink darkened until small text on white passes WCAG AA (5:1). */
  --pink-ink: #c8336c;

  --night: #10171c;
  --night-line: rgba(255, 255, 255, 0.1);
  --on-night: #f3f5f6;
  --on-night-2: rgba(243, 245, 246, 0.74);
  --on-night-3: rgba(243, 245, 246, 0.58);

  --paper: #ffffff;
  --paper-grey: #f4f3f1;
  --ink: #12171b;
  --ink-2: #4b555d;
  --ink-3: #636b73;
  --line: rgba(18, 23, 27, 0.1);
  --bar-plain: #8b9298;

  --radius: 12px;
  --radius-panel: 20px;
  --shadow: 0 1px 2px rgba(18, 23, 27, 0.05), 0 14px 34px -14px rgba(18, 23, 27, 0.16);

  --gutter: clamp(16px, 4vw, 40px);
  --max: 1200px;
  --header-h: 68px;

  /* System fonts: on a Mac these are the app's own San Francisco faces, and the page makes no font requests. */
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  /* One scale for the hero: the headline, the counters and every bubble derive from it.
     It stops growing near where the container does, so the copy never crowds out the bubbles. */
  --u: clamp(5.6px, 0.38vw + 0.36vh, 9.5px);
}

@supports (height: 1svh) {
  :root { --u: clamp(5.6px, 0.38vw + 0.36svh, 9.5px); }
}

@media (min-width: 960px) {
  :root { --header-h: 80px; }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
h1, h2, h3, h4 { text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
ul, ol { padding: 0; list-style: none; }
img, video { max-width: 100%; height: auto; }
img, video, canvas, svg { display: block; }
button { font: inherit; color: inherit; }
a { color: inherit; }
code { font-family: var(--font-mono); }

::selection { background: rgba(243, 87, 142, 0.24); }

:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 3px;
  border-radius: 4px;
}

[id] { scroll-margin-top: 24px; }

.container {
  width: min(100% - 2 * var(--gutter), var(--max));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: var(--gutter);
  z-index: 20;
  padding: 10px 16px;
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--shadow);
  transform: translateY(-200%);
}

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

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

  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

.site-header {
  position: relative;
  z-index: 10;
}

/* Over the hero world on the home page; in the page flow everywhere else. */
.site-header--overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  color: var(--on-night);
}

.site-header--light { color: var(--ink); }

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--header-h);
}

.site-header--light .site-header__inner { border-bottom: 1px solid var(--line); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.015em;
  text-decoration: none;
}

.brand img { width: 42px; }

.site-nav {
  display: none;
  margin-left: auto;
}

.site-nav ul {
  display: flex;
  gap: 28px;
}

.site-nav a {
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-header--overlay .site-nav a { color: var(--on-night-2); }
.site-header--overlay .site-nav a:hover { color: var(--on-night); }
.site-header--light .site-nav a { color: var(--ink-2); }
.site-header--light .site-nav a:hover,
.site-header--light .site-nav a[aria-current="page"] { color: var(--ink); }

.button--header { margin-left: auto; }

@media (min-width: 840px) {
  .site-nav { display: block; }
  .button--header { margin-left: 4px; }
}

/* The hero is the one edge-to-edge world; its content keeps to the container. */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-top: var(--header-h);
  color: var(--on-night);
  background-color: var(--night);
  background-image:
    radial-gradient(58% 60% at 74% 42%, rgba(70, 108, 130, 0.3), transparent 72%),
    radial-gradient(36% 42% at 92% 96%, rgba(243, 87, 142, 0.16), transparent 72%),
    linear-gradient(180deg, #18232a 0%, var(--night) 58%, #121416 100%);
}

.hero__canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}

.hero__unit {
  position: absolute;
  width: var(--u);
  height: 0;
  visibility: hidden;
}

.hero.is-over-bubble { cursor: pointer; }

.hero__frame {
  --field-min: clamp(440px, 60vh, 520px);
  position: relative;
  z-index: 1;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto minmax(var(--field-min), 1fr) auto auto;
  grid-template-areas: "copy" "field" "gauge" "rail";
}

@supports (height: 1svh) {
  .hero__frame {
    --field-min: clamp(440px, 60svh, 520px);
    min-height: calc(100svh - var(--header-h));
  }
}

/* On a tablet the field takes what the screen has left, so the counters and the rail stay on it. */
@media (min-width: 600px) and (max-width: 959px) {
  .hero__frame { --field-min: 280px; }
}

.hero__copy {
  grid-area: copy;
  padding-block: clamp(16px, 4vh, 48px) 4px;
}

.hero__icon {
  display: none;
  width: calc(var(--u) * 7.2);
  margin-left: calc(var(--u) * -0.7);
}

.hero__title {
  margin-top: calc(var(--u) * 1.8);
  color: #fff;
  font-size: min(calc(var(--u) * 7), 10.5vw);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.hero__title span { display: block; }

.hero__lead {
  margin-top: calc(var(--u) * 2.6);
  max-width: 31em;
  color: var(--on-night-2);
  font-size: clamp(16.5px, 0.35vw + 14px, 19.5px);
  line-height: 1.6;
}

.hero__actions {
  margin-top: calc(var(--u) * 3.6);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
}

.hero__fine {
  margin-top: 16px;
  color: var(--on-night-3);
  font-size: 14px;
}

.hero__field {
  grid-area: field;
  position: relative;
}

/* Under the copy it sits at the foot of the field, so a phone's first screen shows bubbles, not labels. */
.readout {
  position: absolute;
  bottom: 12px;
  left: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--on-night-3);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  line-height: 1.4;
}

.readout span { white-space: nowrap; }
.readout__hint { color: var(--pink); }
.readout__hint--touch,
.readout__hint--still { display: none; }

@media (hover: none) and (pointer: coarse) {
  .readout__hint--pointer { display: none; }
  .readout__hint--touch { display: inline; }
}

/* With motion reduced, scrolling no longer pops anything; the hint says only what still works. */
@media (prefers-reduced-motion: reduce) {
  .readout__hint--pointer,
  .readout__hint--touch { display: none; }
  .readout__hint--still { display: inline; }
}

.gauge {
  grid-area: gauge;
  padding-block: 4px 18px;
  font-family: var(--font-mono);
}

.gauge__counters {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: auto auto;
  column-gap: 20px;
}

.gauge__counter {
  display: grid;
  grid-row: span 2;
  grid-template-rows: subgrid;
  row-gap: 8px;
}

.gauge__label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--on-night-3);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  line-height: 1.45;
}

/* Centred on the first line, so a label that wraps on a phone keeps its mark. */
.gauge__label .swatch { margin-top: calc((1.45em - 9px) / 2); }

.gauge__value {
  align-self: end;
  color: var(--on-night);
  font-size: clamp(26px, 7vw, 34px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  transition: text-shadow 0.3s ease;
}

.gauge__counter[data-counter="selected"] .gauge__value { color: var(--pink); }
.gauge__counter[data-counter="selected"].is-bumped .gauge__value { text-shadow: 0 0 26px rgba(243, 87, 142, 0.6); }
.gauge__counter[data-counter="approval"].is-bumped .gauge__value { text-shadow: 0 0 22px rgba(255, 255, 255, 0.45); }

.gauge__meta {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  color: var(--on-night-3);
  font-size: 11px;
  letter-spacing: 0.16em;
}

.gauge__action {
  padding: 0;
  border: 0;
  background: none;
  color: var(--pink);
  font: inherit;
  letter-spacing: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.index-rail {
  grid-area: rail;
  padding-block: 12px 20px;
  border-top: 1px solid var(--night-line);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
}

/* On a phone the seven entries form a deliberate grid instead of wrapping one stray item. */
.index-rail ol {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 12px;
}

.index-rail a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-block: 8px;
  color: var(--on-night-2);
  text-decoration: none;
  transition: color 0.2s ease;
}

.index-rail a span {
  color: var(--on-night-3);
  transition: color 0.2s ease;
}

.index-rail a:hover { color: #fff; }
.index-rail a:hover span { color: var(--pink); }

@media (min-width: 760px) {
  .index-rail {
    padding-block: 14px 22px;
    font-size: 11.5px;
    letter-spacing: 0.16em;
  }

  .index-rail ol {
    display: flex;
    column-gap: clamp(16px, 2.4vw, 36px);
  }

  .index-rail a {
    flex-direction: row;
    gap: 10px;
  }
}

@media (min-width: 960px) {
  .hero__frame {
    grid-template-columns: minmax(0, calc(var(--u) * 62)) minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) auto auto;
    grid-template-areas: "copy field" "copy gauge" "rail rail";
    column-gap: clamp(32px, 4vw, 64px);
  }

  .hero__copy {
    align-self: center;
    padding-block: clamp(24px, 4vh, 56px);
  }

  /* Only beside the field: under it, the icon would push the bubbles off the first screen. */
  .hero__icon { display: block; }

  .readout {
    top: clamp(12px, 3vh, 32px);
    bottom: auto;
    right: 0;
    left: auto;
    align-items: flex-end;
    text-align: right;
  }

  .gauge {
    justify-self: end;
    padding-block: 0 26px;
    text-align: right;
  }

  .gauge__counters {
    grid-template-columns: repeat(2, auto);
    column-gap: 44px;
  }

  .gauge__label {
    justify-content: flex-end;
    white-space: nowrap;
  }

  /* Room for the widest total ("25.12 GB"), so the labels hold still while the figures count. */
  .gauge__value {
    min-width: 8ch;
    font-size: clamp(30px, calc(var(--u) * 4.2), 48px);
  }

  .gauge__meta { justify-content: flex-end; }
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

/* White on the brand pink passes AA only as large text, so this label stays 19px bold. */
.button--primary {
  padding: 16px 26px;
  background: var(--pink);
  color: #fff;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  box-shadow: 0 18px 40px -18px rgba(243, 87, 142, 0.8);
}

.button--primary:hover { background: var(--pink-press); }
.button--primary:active { transform: translateY(1px); }

.button--header {
  padding: 9px 16px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 600;
}

.site-header--overlay .button--header {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: var(--on-night);
}

.site-header--overlay .button--header:hover { background: rgba(255, 255, 255, 0.12); }

.site-header--light .button--header {
  background: var(--ink);
  color: #fff;
}

.site-header--light .button--header:hover { background: #2a3238; }

.release-line {
  color: var(--on-night-2);
  font-family: var(--font-mono);
  font-size: clamp(10.5px, 2.9vw, 12.5px);
  line-height: 1.6;
}

.release-line span { white-space: nowrap; }

.text-link {
  color: var(--ink-2);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

/* Legend marks: filled pink is ticked for you, a ring is left to you. */
.swatch {
  display: inline-block;
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.swatch--selected { background: var(--pink); }
.swatch--approval { border: 1.5px solid rgba(243, 245, 246, 0.8); }
.swatch--muted { background: rgba(255, 255, 255, 0.24); }
.swatch--plain { background: var(--bar-plain); }

/* Screenshots of the app. The PNGs carry the window's own rounded corners. */
.shot {
  display: grid;
  gap: 14px;
}

.shot img {
  width: 100%;
  filter: drop-shadow(0 22px 36px rgba(18, 23, 27, 0.18)) drop-shadow(0 2px 6px rgba(18, 23, 27, 0.08));
}

.shot figcaption {
  color: var(--ink-3);
  font-size: 14px;
  line-height: 1.5;
}

.shot--on-dark img { filter: drop-shadow(0 26px 48px rgba(0, 0, 0, 0.55)); }
.shot--on-dark figcaption { color: var(--on-night-3); }

.shot--pair {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: end;
}

.shot__window { grid-column: 1 / -1; }
.shot__panel { grid-column: 3 / 11; }
/* The panel capture is square; on screen the panel has rounded corners. */
.shot__panel img { border-radius: 12px; }
.shot--pair figcaption { grid-column: 1 / -1; }

@media (min-width: 600px) {
  .shot__window {
    grid-column: 1 / 11;
    grid-row: 1;
  }

  /* The menu bar panel drops over the window's corner, as it does on screen. */
  .shot__panel {
    position: relative;
    z-index: 1;
    grid-column: 9 / 13;
    grid-row: 1;
    margin-bottom: -3%;
  }
}

/* Measured figures, each with what it means. */
.tally { margin-top: 28px; }

.tally dl {
  display: grid;
  gap: 16px;
}

.tally dl div {
  display: grid;
  gap: 2px;
}

.tally dt {
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.tally dd {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.5;
}

.tally--wide {
  margin-top: clamp(32px, 4vw, 48px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.tally--wide dl { gap: 20px 56px; }
.tally--wide dt { font-size: clamp(28px, 1.6vw + 18px, 40px); }
.tally--wide dd { max-width: 26em; }

@media (min-width: 640px) {
  .tally--wide dl {
    grid-template-columns: repeat(2, minmax(0, max-content));
    grid-template-rows: auto auto;
  }

  /* Shared rows: the "≥" comes from a fallback font whose taller line would push one text down. */
  .tally--wide dl div {
    grid-row: span 2;
    grid-template-rows: subgrid;
  }
}

/* A list of modules in one card, rows split by hairlines. */
.modules {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.modules li { padding: 20px clamp(20px, 2.4vw, 28px); }
.modules li + li { border-top: 1px solid var(--line); }

.modules h3,
.modules h4 {
  font-size: 17.5px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.modules p {
  margin-top: 6px;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.6;
}

@media (min-width: 760px) {
  .modules--grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .modules--grid li + li { border-top: 0; }
  .modules--grid li:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .modules--grid li:nth-child(even) { border-left: 1px solid var(--line); }
}

@media (min-width: 1120px) {
  .modules--grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .modules--grid li:nth-child(n + 3) { border-top: 0; }
  .modules--grid li:nth-child(n + 4) { border-top: 1px solid var(--line); }
  .modules--grid li:nth-child(even) { border-left: 0; }
  .modules--grid li:not(:nth-child(3n + 1)) { border-left: 1px solid var(--line); }
}

/* Horizontal bars drawn as SVG lines: the length is data in the markup, the look is here. */
.bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 6.2em;
  align-items: center;
  gap: 14px;
}

.bar svg,
.measure__track {
  width: 100%;
  height: 12px;
  padding-inline: 5px;
  overflow: visible;
}

.bar line,
.measure__track line {
  stroke-width: 10px;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.bar--plain line { stroke: var(--bar-plain); }
.bar--real line { stroke: var(--pink); }

.bar__value {
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 14px;
  text-align: right;
  white-space: nowrap;
}

.readout-table {
  display: grid;
  gap: 10px;
  padding-block: 14px;
  border-block: 1px solid var(--line);
}

.readout-table div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.readout-table dt {
  color: var(--ink-2);
  font-size: 15px;
}

.readout-table dd {
  color: var(--ink-2);
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.readout-table .is-claimed {
  color: var(--ink-3);
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
}

.readout-table .is-real { color: var(--pink-ink); }

.section { padding-block: clamp(72px, 9vw, 128px); }

/* A coloured section is a rounded panel inside the container; the white sections around it give the air. */
.section--panel { padding-block: clamp(8px, 1.5vw, 24px); }

/* Panels clip what they hold, so a screenshot's shadow never bleeds onto the page around them. */
.panel,
.ai-panel { overflow: hidden; }

.panel {
  padding: clamp(24px, 5vw, 72px);
  border-radius: var(--radius-panel);
}

.panel--grey { background: var(--paper-grey); }

.panel--dark {
  background: var(--night);
  color: var(--on-night);
}

.section-head { max-width: 46rem; }

/* At least a fifth smaller than the hero headline, so the hero keeps the largest type. */
.section-head h2,
.get h2 {
  font-size: clamp(25px, 1.5vw + 20px, 46px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.section-lead {
  margin-top: 18px;
  color: var(--ink-2);
  font-size: clamp(17px, 0.3vw + 15px, 20px);
  line-height: 1.6;
}

.group__index {
  margin-bottom: 12px;
  color: var(--pink-ink);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
}

.panel--dark .group__index { color: var(--pink); }

/* AI leftovers */
.ai-panel {
  margin-top: clamp(40px, 5vw, 64px);
  display: grid;
  gap: clamp(32px, 4vw, 56px);
  padding: clamp(24px, 5vw, 64px);
  border-radius: var(--radius-panel);
  background: var(--night);
  color: var(--on-night);
}

.ai-panel__intro { max-width: 46rem; }

.ai-panel__intro h3 {
  color: #fff;
  font-size: clamp(23px, 1.1vw + 18.5px, 36px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.028em;
}

.ai-panel__intro p {
  margin-top: 18px;
  color: var(--on-night-2);
  font-size: 17px;
  line-height: 1.65;
}

.ai-panel__intro .ai-panel__count {
  margin-top: 28px;
  color: var(--on-night);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}

.ai-panel__intro .ai-panel__tools {
  margin-top: 10px;
  color: var(--on-night-3);
  font-size: 14.5px;
  line-height: 1.6;
}

.verdicts {
  display: grid;
  gap: 28px 32px;
  padding-top: clamp(28px, 3vw, 40px);
  border-top: 1px solid var(--night-line);
}

.verdict h4 {
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
}

.verdict ul {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.verdict li {
  position: relative;
  padding-left: 22px;
  color: var(--on-night-2);
  font-size: 15.5px;
  line-height: 1.55;
}

.verdict li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.verdict--ticked li::before { background: var(--pink); }
.verdict--yours li::before { border: 1.5px solid rgba(243, 245, 246, 0.8); }

.verdict--never li::before {
  top: 0.72em;
  width: 10px;
  height: 2px;
  border-radius: 1px;
  background: var(--on-night-3);
}

.measure {
  display: grid;
  gap: 12px;
  padding-top: clamp(28px, 3vw, 40px);
  border-top: 1px solid var(--night-line);
}

.ai-panel__count span { white-space: nowrap; }

.measure__head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #fff;
  font-size: 17px;
  font-weight: 600;
}

.measure__total {
  font-family: var(--font-mono);
  font-weight: 500;
  white-space: nowrap;
}

.measure__whole { stroke: rgba(255, 255, 255, 0.16); }
.measure__part { stroke: var(--pink); }

.measure__rows {
  display: grid;
  gap: 8px 40px;
}

.measure__rows div {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 12px;
}

.measure__rows dt {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.measure__rows dd {
  color: var(--on-night-3);
  font-size: 14.5px;
}

@media (min-width: 640px) {
  .measure__rows {
    grid-template-columns: repeat(2, max-content);
  }
}

@media (min-width: 900px) {
  .verdicts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Module groups: the head stays in view while its screenshot and list scroll past. */
.groups {
  margin-top: clamp(72px, 9vw, 128px);
  display: grid;
  gap: clamp(72px, 9vw, 128px);
}

.group {
  display: grid;
  gap: 28px;
}

h3.group__title {
  font-size: clamp(22px, 0.8vw + 19px, 32px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.024em;
}

.group__purpose {
  margin-top: 14px;
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.6;
}

.group__body {
  display: grid;
  gap: clamp(28px, 3vw, 40px);
}

@media (min-width: 960px) {
  .group {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    column-gap: clamp(40px, 5vw, 80px);
    align-items: start;
  }

  .group__head {
    position: sticky;
    top: 32px;
  }
}

/* Safety: the head beside the app's own promise screen, the six rules under both. */
.safety {
  display: grid;
  gap: clamp(32px, 4vw, 56px);
}

@media (min-width: 960px) {
  .safety {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: clamp(40px, 5vw, 80px);
    align-items: center;
  }

  .safety .modules { grid-column: 1 / -1; }
}

/* Honest numbers */
.pairs {
  margin-top: clamp(36px, 4vw, 56px);
  padding: clamp(22px, 3vw, 36px);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.pairs__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.pairs__title {
  font-size: 17px;
  font-weight: 600;
}

.pairs__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  color: var(--ink-2);
  font-size: 14px;
}

.pairs__legend > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pair {
  display: grid;
  gap: 14px;
  padding-block: 22px;
}

.pair + .pair { border-top: 1px solid var(--line); }
.pair:last-child { padding-bottom: 4px; }

.pair h3 {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
}

.pair p {
  margin-top: 4px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.55;
}

.pair__bars {
  display: grid;
  gap: 8px;
}

@media (min-width: 860px) {
  .pair {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    column-gap: 48px;
    align-items: center;
  }
}

.evidence {
  margin-top: 20px;
  display: grid;
  gap: 20px;
}

.evidence__card {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: clamp(22px, 2.4vw, 30px);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.evidence__card h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.evidence__card p {
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.6;
}

@media (min-width: 760px) {
  .evidence { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Side by side, the two cards share their rows, so title, figures and text start level. */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 760px) {
    .evidence__card {
      grid-row: span 3;
      grid-template-rows: subgrid;
    }
  }
}

.rules {
  margin-top: clamp(40px, 5vw, 64px);
  display: grid;
  gap: 28px 32px;
}

.rules h3 {
  font-size: 17px;
  font-weight: 600;
}

.rules p {
  margin-top: 8px;
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.6;
}

@media (min-width: 640px) {
  .rules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1120px) {
  .rules { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.panel__foot {
  margin-top: clamp(40px, 5vw, 56px);
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.panel__foot p {
  max-width: 48rem;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
}

/* Get it */
.get {
  display: grid;
  gap: clamp(36px, 4vw, 56px);
}

.get__icon {
  width: 72px;
  margin: 0 0 20px -6px;
}

.get h2 { color: #fff; }

.get__lead {
  margin-top: 16px;
  max-width: 30em;
  color: var(--on-night-2);
  font-size: 18px;
  line-height: 1.6;
}

.get__actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
}

.spec { border-top: 1px solid var(--night-line); }

.spec div {
  display: grid;
  gap: 2px;
  padding-block: 14px;
  border-bottom: 1px solid var(--night-line);
}

@media (min-width: 480px) {
  .spec div {
    grid-template-columns: 7.5em minmax(0, 1fr);
    gap: 16px;
  }
}

.spec dt {
  padding-top: 3px;
  color: var(--on-night-3);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.spec dd {
  color: var(--on-night);
  font-size: 16px;
  line-height: 1.55;
}

@media (min-width: 960px) {
  .get {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    column-gap: clamp(48px, 6vw, 96px);
  }
}

/* Questions */
.faq {
  margin-top: clamp(32px, 4vw, 48px);
  display: grid;
  column-gap: 56px;
}

.faq__item {
  padding-block: 24px;
  border-top: 1px solid var(--line);
}

.faq dt {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.faq dd {
  margin-top: 8px;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.6;
}

.faq a,
.faq__support a {
  color: var(--pink-ink);
  text-underline-offset: 3px;
}

.faq__support {
  margin-top: 24px;
  color: var(--ink-2);
}

@media (min-width: 860px) {
  .faq { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Privacy, changelog and the missing page share one quiet layout. */
.page { padding-block: clamp(48px, 7vw, 96px) clamp(72px, 9vw, 128px); }

.page-head { max-width: 46rem; }

.page-head h1 {
  font-size: clamp(40px, 3vw + 24px, 64px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.page-lead {
  margin-top: 18px;
  color: var(--ink-2);
  font-size: clamp(18px, 0.4vw + 15px, 21px);
  line-height: 1.55;
}

.page-meta {
  margin-top: 14px;
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.prose {
  margin-top: clamp(40px, 5vw, 64px);
  max-width: 46rem;
  display: grid;
  gap: clamp(36px, 4vw, 48px);
}

.prose h2 {
  font-size: clamp(22px, 0.6vw + 18px, 28px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.prose p,
.prose li {
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.65;
}

.prose h2 + *,
.prose p + p,
.prose p + dl { margin-top: 14px; }

.prose a {
  color: var(--pink-ink);
  text-underline-offset: 3px;
}

.prose code,
.facts code {
  padding: 1px 6px;
  border-radius: 6px;
  background: var(--paper-grey);
  color: var(--ink);
  font-size: 0.86em;
  overflow-wrap: anywhere;
}

/* Bulleted lists in running text: small grey dots, no coloured marks. */
.prose ul,
.release__notes {
  display: grid;
  gap: 10px;
}

.prose ul li,
.release__notes li {
  position: relative;
  padding-left: 20px;
}

.prose ul li::before,
.release__notes li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink-3);
}

.facts { border-top: 1px solid var(--line); }

.facts div {
  display: grid;
  gap: 4px;
  padding-block: 16px;
  border-bottom: 1px solid var(--line);
}

.facts dt {
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
}

.facts dd {
  color: var(--ink-2);
  font-size: 16.5px;
  line-height: 1.6;
}

@media (min-width: 720px) {
  .facts div {
    grid-template-columns: 11em minmax(0, 1fr);
    gap: 24px;
  }
}

/* Changelog */
.releases {
  margin-top: clamp(40px, 5vw, 64px);
  max-width: 46rem;
}

.release {
  padding-block: 32px;
  border-top: 1px solid var(--line);
}

.release__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 16px;
}

.release__version {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.release__version a {
  color: var(--ink);
  text-decoration: none;
}

.release__version a:hover,
.release:target .release__version a { color: var(--pink-ink); }

.release__meta {
  color: var(--ink-2);
  font-size: 16px;
}

.release__notes {
  margin-top: 16px;
}

.release__notes li {
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.6;
}

.release__notes strong {
  color: var(--ink);
  font-weight: 600;
}

/* The missing page */
.page-code {
  margin-bottom: 14px;
  color: var(--pink-ink);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.16em;
}

.page-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
}

.site-footer { padding-bottom: 48px; }

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 15px;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
}

.site-footer__links a {
  color: var(--ink-2);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer__links a:hover,
.site-footer__links a[aria-current="page"] { color: var(--ink); }
