/* Tolven — landing page styles.
   The page opens with a scam told in numbered steps on one vertical thread: it starts on the marketplace (light),
   finishes off it (the dark band, the part the platform can't see), comes back as a thin report (light), and
   Tolven's case file closes the story. Everything else stays quiet: cool paper, navy ink, cobalt for actions,
   highlighter yellow only on evidence. */

:root {
  --paper: #F4F6F9;
  --surface: #FFFFFF;
  --ink: #14202E;
  --muted: #566173;
  --line: #D7DDE6;
  --cobalt: #2346C8;
  --cobalt-deep: #1A379F;
  --mark: #FFE27A;
  --mark-deep: #FFD84A;
  --alert: #B42318;
  --alert-soft: #FCEBE8;
  --chip: #EDF0F5;
  --on-ink: #E9EDF3;
  --on-ink-muted: #AEB8C6;
  --thread: #B3BDCA;
  --arrow: #8792A4; /* arrowheads on the thread */
  --font-display: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --wrap: 1160px;
  --gutter: 24px;
  --m: 44px; /* size of the step markers on the thread */
  --m-gap: 22px;
  color-scheme: light;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

svg { display: block; }

a {
  color: var(--cobalt);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
a:hover { color: var(--cobalt-deep); }

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

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

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

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 20;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.skip:focus { top: 12px; color: #fff; }

/* Type */

h1, h2, h3 { font-family: var(--font-display); color: var(--ink); }

h2 {
  margin: 0 0 20px;
  font-size: clamp(30px, 3.3vw, 44px);
  font-stretch: 114%;
  font-weight: 740;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-stretch: 104%;
  font-weight: 660;
  line-height: 1.25;
  letter-spacing: -0.005em;
  text-wrap: balance;
}

p { margin: 0; }

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

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1.5px solid transparent;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-small { min-height: 40px; padding: 0 15px; font-size: 15px; }

.btn-primary { background: var(--cobalt); color: #fff; }
.btn-primary:hover { background: var(--cobalt-deep); color: #fff; }

.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }

.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--cobalt); color: #fff; }

.btn-mark { background: var(--mark); color: var(--ink); }
.btn-mark:hover { background: var(--mark-deep); color: var(--ink); }

.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 70px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}
.brand:hover { color: var(--ink); }
.mark { width: 30px; height: 30px; flex: none; }

.wordmark {
  font-family: var(--font-display);
  font-size: 21px;
  font-stretch: 118%;
  font-weight: 720;
  letter-spacing: -0.015em;
}

.header-nav { display: flex; align-items: center; gap: 22px; }

.nav-link {
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.nav-link:hover { color: var(--ink); text-decoration: underline; }

/* The story: numbered steps on one thread */

.beats { margin: 0; padding: 0; list-style: none; }

/* Each step clips its own piece of the thread, so the pieces join into one line across the light and dark bands. */
.beat { position: relative; overflow: hidden; }

.beat-dark { --thread: rgba(255, 255, 255, 0.3); --arrow: rgba(255, 255, 255, 0.62); background: var(--ink); color: var(--on-ink); }

.beat-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 36px clamp(36px, 5vw, 72px);
  align-items: center;
  padding-top: clamp(52px, 5.2vw, 72px);
  padding-bottom: clamp(52px, 5.2vw, 72px);
}
.beat:first-child .beat-grid { padding-top: clamp(40px, 4vw, 56px); }

.beat-lede {
  position: relative;
  display: grid;
  grid-template-columns: var(--m) minmax(0, 1fr);
  gap: 0 var(--m-gap);
  align-items: start;
}

/* The thread runs through the centre of the markers. It starts at the first marker and ends at the last. */
.beat-lede::before {
  content: "";
  position: absolute;
  left: calc(var(--m) / 2 - 1px);
  top: calc(var(--m) / 2 - 2400px);
  width: 2px;
  height: 4800px;
  background: var(--thread);
}
.beat:first-child .beat-lede::before { top: calc(var(--m) / 2); height: 2400px; }
.beat:last-child .beat-lede::before { height: 2400px; }

.beat-marker {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: var(--m);
  height: var(--m);
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 18px;
  font-stretch: 110%;
  font-weight: 800;
  line-height: 1;
}
.beat-dark .beat-marker { border-color: #fff; background: var(--ink); color: #fff; }
.beat-marker-brand { border-color: var(--cobalt); background: var(--surface); }

/* Arrowheads on the thread point down into steps 2 to 4, so the line reads as a path to follow. */
.beat + .beat .beat-marker::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(100% + 5px);
  margin-left: -6px;
  border-top: 8px solid var(--arrow);
  border-right: 6px solid transparent;
  border-left: 6px solid transparent;
}
.beat + .beat .beat-marker-brand::before { border-top-color: var(--cobalt); }

/* The arrow at the bottom of the first screen, on the thread: the story goes on below. The script shows it while
   step 2 is still out of sight, places it under the first marker (--cue-x) and removes it once step 2 plays. */
.scroll-cue {
  position: fixed;
  bottom: 18px;
  left: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 8px 20px -8px rgba(20, 32, 46, 0.5);
  transform: translateX(calc(var(--cue-x, -100px) - 50%));
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}
.scroll-cue svg { width: 18px; height: 18px; }
.scroll-cue:hover { background: var(--ink); color: #fff; }
.scroll-cue.is-shown { opacity: 1; visibility: visible; transition: opacity 0.5s ease 1.2s, visibility 0s linear 1.2s; }
.scroll-cue.is-shown.is-gone { opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0s linear 0.3s; }
.beat-marker-brand svg { width: 24px; height: 24px; }

.beat-where {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: var(--m);
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
}
.beat-where svg { width: 20px; height: 20px; flex: none; }

.beat-title {
  margin: 0 0 16px;
  font-size: clamp(32px, 3.8vw, 54px);
  font-stretch: 116%;
  font-weight: 770;
  line-height: 1.03;
  letter-spacing: -0.027em;
}

.beat-text { max-width: 30em; font-size: clamp(17px, 1.4vw, 19.5px); line-height: 1.55; text-wrap: pretty; }

.beat-dark .beat-where { color: var(--on-ink-muted); }
.beat-dark .beat-title { color: #fff; }

.beat-copy .actions { margin-top: 30px; }

.beat-visual { justify-self: end; width: min(100%, 480px); }

/* Mock screens in the story */

.mock {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(20, 32, 46, 0.05), 0 22px 44px -22px rgba(20, 32, 46, 0.26);
}

.mock-top {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
}

.mock-avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--chip);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
}
.mock-avatar svg { width: 18px; height: 18px; }

.mock-who { display: grid; min-width: 0; line-height: 1.3; }
.mock-who strong { font-size: 15.5px; font-weight: 650; }
.mock-who span { color: var(--muted); font-size: 13.5px; }

.mock-place {
  margin-left: auto;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--chip);
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}

.mock-log { display: grid; gap: 12px; padding: 18px; }

.bub { display: grid; gap: 4px; max-width: 88%; }
.bub-who { color: var(--muted); font-size: 12.5px; font-weight: 650; }
.bub-body {
  padding: 9px 13px;
  border-radius: 15px;
  font-size: 15.5px;
  line-height: 1.42;
  overflow-wrap: anywhere;
}
.bub-body .mono { font-size: 14px; }

.bub-buyer { justify-self: end; justify-items: end; }
.bub-buyer .bub-body { border-bottom-right-radius: 5px; background: var(--cobalt); color: #fff; }

.bub-scam { justify-self: start; justify-items: start; }
.bub-scam .bub-who { color: var(--alert); }
.bub-scam .bub-body { border-bottom-left-radius: 5px; background: var(--chip); }

.mock-system {
  justify-self: center;
  max-width: 30em;
  color: var(--muted);
  font-size: 14px;
  font-style: italic;
  text-align: center;
}

.mock-foot { padding: 14px 18px 16px; border-top: 1px dashed var(--line); }
.mock-foot-label { margin-bottom: 8px; color: var(--muted); font-size: 13.5px; font-weight: 600; }

/* The off-platform screen sits in the dark band. */
.mock-dark {
  border-color: rgba(255, 255, 255, 0.14);
  background: #1D2A3A;
  color: var(--on-ink);
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.6);
}
.mock-dark .mock-top { border-bottom-color: rgba(255, 255, 255, 0.12); }
.mock-dark .mock-avatar { background: rgba(255, 255, 255, 0.1); color: #fff; }
.mock-dark .mock-who strong { color: #fff; font-family: var(--font-mono); font-weight: 500; }
.mock-dark .mock-who span { color: var(--on-ink-muted); }
.mock-dark .bub-who { color: var(--on-ink-muted); }
.mock-dark .bub-scam .bub-who { color: #FF9F93; }
.mock-dark .bub-scam .bub-body { background: #2E3D50; color: #fff; }
.mock-dark .mock-system { color: var(--on-ink-muted); }
.mock-dark .mock-foot { border-top-color: rgba(255, 255, 255, 0.2); }
.mock-dark .mock-foot-label { color: #fff; }

/* The report form today */
.form { display: grid; gap: 14px; padding: 18px; }
.form-field { display: grid; gap: 6px; }
.form-label { color: var(--muted); font-size: 13.5px; font-weight: 600; }
.form-select,
.form-text {
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 15.5px;
  line-height: 1.45;
}
.form-select { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.form-select svg { width: 16px; height: 16px; flex: none; color: var(--muted); }
.form-text { min-height: 68px; }

/* Chips */

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.chips li {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}
.chips-gap li { background: var(--alert-soft); color: var(--alert); }
.chips-facts li { background: var(--chip); color: var(--ink); }
.chips-dark li { border: 1px solid rgba(255, 255, 255, 0.32); color: #fff; padding: 2px 10px; }

/* The case file */

.case { position: relative; margin: 0; padding-top: 31px; }

.case-tab {
  position: absolute;
  top: 0;
  left: 22px;
  z-index: 1;
  display: flex;
  align-items: center;
  height: 33px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
  background: var(--surface);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 13px;
}

.case-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(20, 32, 46, 0.05), 0 24px 48px -20px rgba(20, 32, 46, 0.22);
}

.case-after { padding: 20px 24px 22px; }

.case-label {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.ids { display: grid; margin: 0 0 16px; }

.id {
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr);
  gap: 2px 14px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
}
.id:first-child { padding-top: 2px; border-top: 0; }

.id dt {
  padding-top: 3px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.id dd { display: grid; gap: 3px; min-width: 0; margin: 0; }

.id small { color: var(--muted); font-size: 13px; line-height: 1.4; }

.hl {
  justify-self: start;
  max-width: 100%;
  padding: 1px 5px;
  border-radius: 3px;
  background-image: linear-gradient(var(--mark), var(--mark));
  background-repeat: no-repeat;
  background-size: 100% 100%;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

@keyframes cue-nudge {
  0%, 50%, 100% { transform: none; }
  20% { transform: translateY(4px); }
  35% { transform: translateY(1px); }
}

@keyframes mark-in {
  from { background-size: 0% 100%; }
  to { background-size: 100% 100%; }
}

.case figcaption { margin-top: 14px; color: var(--muted); font-size: 14px; }
.case figcaption a { color: inherit; }
.case figcaption a:hover { color: var(--ink); }

/* The words, markers and screens are there from the start, so the next step always shows below the fold (step 2's
   number and headline sit at the bottom of the first screen on most laptops). What plays as a step scrolls into view
   is the action: the messages arrive one by one, the missing details get flagged, and the case file's identifiers get
   marked like a reviewer with a highlighter. Until a step plays, the arrowhead into it nudges downward. */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .scroll-cue.is-shown svg { animation: cue-nudge 2.4s ease-in-out 1.8s infinite; }
  .js .reveal:not(.is-in) .beat-marker::before { animation: cue-nudge 2.4s ease-in-out 1.4s infinite; }

  .js .reveal .mock-log > * {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.45s ease, transform 0.45s ease;
  }
  .js .reveal.is-in .mock-log > * { opacity: 1; transform: none; }
  .js .reveal.is-in .mock-log > :nth-child(1) { transition-delay: calc(var(--lag, 0s) + 0.5s); }
  .js .reveal.is-in .mock-log > :nth-child(2) { transition-delay: calc(var(--lag, 0s) + 1.2s); }
  .js .reveal.is-in .mock-log > :nth-child(3) { transition-delay: calc(var(--lag, 0s) + 1.9s); }
  .js .reveal.is-in .mock-log > :nth-child(4) { transition-delay: calc(var(--lag, 0s) + 2.6s); }

  .js .reveal .chips-gap li {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.3, 1.5, 0.5, 1);
  }
  .js .reveal.is-in .chips-gap li { opacity: 1; transform: none; }
  .js .reveal.is-in .chips-gap li:nth-child(1) { transition-delay: calc(var(--lag, 0s) + 0.6s); }
  .js .reveal.is-in .chips-gap li:nth-child(2) { transition-delay: calc(var(--lag, 0s) + 0.85s); }
  .js .reveal.is-in .chips-gap li:nth-child(3) { transition-delay: calc(var(--lag, 0s) + 1.1s); }

  .js .reveal .case .hl { background-size: 0% 100%; }
  .js .reveal.is-in .case .hl { animation: mark-in 0.65s cubic-bezier(0.3, 0.7, 0.3, 1) both; }
  .js .reveal.is-in .case .id:nth-child(1) .hl { animation-delay: calc(var(--lag, 0s) + 0.5s); }
  .js .reveal.is-in .case .id:nth-child(2) .hl { animation-delay: calc(var(--lag, 0s) + 0.85s); }
  .js .reveal.is-in .case .id:nth-child(3) .hl { animation-delay: calc(var(--lag, 0s) + 1.2s); }
  .js .reveal.is-in .case .id:nth-child(4) .hl { animation-delay: calc(var(--lag, 0s) + 1.55s); }
}

/* Research: one panel, the number first. */

.proof-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px clamp(24px, 3.5vw, 44px);
  align-items: center;
  padding: clamp(24px, 3vw, 36px) clamp(24px, 3.5vw, 44px);
  border: 1px solid #D3DCF4;
  border-radius: 18px;
  background: #EEF2FC;
}

.proof-stat {
  color: var(--cobalt);
  font-family: var(--font-display);
  font-size: clamp(64px, 7.2vw, 100px);
  font-stretch: 112%;
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.035em;
}

.proof-text {
  max-width: 34em;
  font-family: var(--font-display);
  font-size: clamp(20px, 1.9vw, 25px);
  font-stretch: 104%;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.proof-sub { margin-top: 10px; color: var(--muted); }

/* The panel already separates the story from How it works, so that section needs less air on top. */
.proof + .how { padding-top: clamp(56px, 7vw, 88px); }

/* Sections */

.section { padding: clamp(64px, 9vw, 112px) 0; }

.section-lead { max-width: 36em; font-size: 18px; }

/* How it works: a real sequence, so it is numbered. */

.how h2 { margin-bottom: 44px; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.step {
  padding-top: 20px;
  border-top: 2px solid var(--ink);
  counter-increment: step;
}
.step::before {
  content: counter(step);
  display: block;
  margin-bottom: 16px;
  color: var(--cobalt);
  font-family: var(--font-display);
  font-size: 42px;
  font-stretch: 125%;
  font-weight: 800;
  line-height: 1;
}
.step p { max-width: 34em; }

.how-note {
  max-width: 44em;
  margin-top: 52px;
  padding-left: 18px;
  border-left: 3px solid var(--mark);
  font-size: 18px;
}

/* Matching across reports */

.network { border-top: 1px solid var(--line); background: var(--surface); }

.network-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 44px clamp(36px, 5vw, 72px);
  align-items: center;
}


.links { margin: 0; }

.links-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(20, 32, 46, 0.05), 0 24px 48px -20px rgba(20, 32, 46, 0.22);
}

.links-head { padding: 20px 24px 18px; border-bottom: 1px dashed var(--line); }
.links-label { margin-bottom: 6px; color: var(--muted); font-size: 14px; font-weight: 600; }
.links-value .hl { font-size: 17px; }
.links-count { margin-top: 10px; font-size: 16px; font-weight: 650; }

.links-list { margin: 0; padding: 4px 24px 10px; list-style: none; }
.links-list li {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: baseline;
  padding: 11px 0;
  border-top: 1px solid var(--line);
}
.links-list li:first-child { border-top: 0; }
.links-case { color: var(--muted); font-family: var(--font-mono); font-size: 13.5px; }
.links-acct { font-family: var(--font-mono); font-size: 14.5px; overflow-wrap: anywhere; }
.links-list time { color: var(--muted); font-size: 14px; white-space: nowrap; }

.this-case {
  display: inline-block;
  margin-left: 6px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--chip);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.7;
  vertical-align: 1px;
}

.links figcaption { margin-top: 14px; color: var(--muted); font-size: 14px; }

/* Pilot */

.pilot { background: var(--ink); color: var(--on-ink); }
.pilot :focus-visible { outline-color: var(--mark); }

.pilot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 48px 72px;
  padding-top: clamp(64px, 9vw, 112px);
  padding-bottom: clamp(64px, 9vw, 112px);
}

.pilot h2, .pilot h3 { color: #fff; }
.pilot-copy p { max-width: 34em; }
.pilot .actions { margin-top: 32px; }
.reply-note { margin-top: 14px; color: var(--on-ink-muted); font-size: 15px; }

.pilot-measures h3 { margin-bottom: 14px; font-size: 18px; }

.measures { margin: 0; padding: 0; list-style: none; }
.measures li {
  display: grid;
  gap: 4px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.measures li:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.16); }
.measures strong { color: #fff; font-weight: 650; }
.measures span { color: var(--on-ink-muted); font-size: 16px; line-height: 1.5; }

/* Footer */

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--ink);
  color: var(--on-ink-muted);
}
.site-footer :focus-visible { outline-color: var(--mark); }

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 32px;
  padding-top: 26px;
  padding-bottom: 26px;
  font-size: 14px;
}
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--mark); }

/* Smaller screens */

@media (max-width: 920px) {
  /* One column: the screen sits under its words, indented so the thread runs down its left side. */
  .beat-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .beat-visual {
    justify-self: start;
    width: auto;
    max-width: 520px;
    margin-left: calc(var(--m) + var(--m-gap));
  }
  .beat-title { font-size: clamp(32px, 5.6vw, 48px); }

  .network-grid,
  .pilot-grid { grid-template-columns: minmax(0, 1fr); }

  .steps { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .links { max-width: 560px; }
}

@media (max-width: 540px) {
  :root { --gutter: 18px; --m: 34px; --m-gap: 14px; }

  .proof-card { grid-template-columns: minmax(0, 1fr); }

  .nav-link { display: none; }
  .actions .btn { width: 100%; }

  .beat-grid { gap: 24px; }
  .beat-marker { font-size: 15px; }
  .beat + .beat .beat-marker::before { margin-left: -5px; border-top-width: 7px; border-right-width: 5px; border-left-width: 5px; }
  .scroll-cue { bottom: 14px; width: 36px; height: 36px; }
  .scroll-cue svg { width: 16px; height: 16px; }
  .beat-marker-brand svg { width: 19px; height: 19px; }
  .beat-where { font-size: 14px; margin-bottom: 6px; }
  .beat-title { font-size: clamp(28px, calc(7.6vw + 1px), 40px); }
  .beat-text { font-size: 17px; }

  .mock-top { padding: 12px 14px; }
  .mock-place { display: none; }
  .mock-log { padding: 14px; }
  .mock-foot { padding: 12px 14px 14px; }
  .form { padding: 14px; }
  .bub-body { font-size: 15px; }

  .case-after { padding-left: 18px; padding-right: 18px; }
  .case-tab { left: 16px; }
  .id { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .id dt { padding-top: 0; }

  .links-head { padding-left: 18px; padding-right: 18px; }
  .links-list { padding-left: 18px; padding-right: 18px; }
  .links-list li { grid-template-columns: 70px minmax(0, 1fr) auto; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
  .scroll-cue, .scroll-cue.is-shown, .scroll-cue.is-shown.is-gone { transition: none; }
}
