/* Openbox Forge homepage. Design: design/site-concepts/the-margin-v2 (approved 2026-09-30).
   Motion: docs/design/motion-spec.md. The still composition below is complete on its own; every
   animation lives inside prefers-reduced-motion: no-preference and resolves to it. */

/* ============ Fonts: self-hosted, Latin subset, one variable file per family ============ */
/* Inter and Inter Tight, SIL Open Font License 1.1 (fonts/Inter-OFL.txt, fonts/InterTight-OFL.txt).
   Copied from the pinned Fontsource packages by `npm run site:fonts`. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/inter-latin-wght-normal.woff2') format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/inter-tight-latin-wght-normal.woff2') format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============ Tokens ============ */
:root {
  color-scheme: light;
  --bg: #f3f5f8;
  --card: #ffffff;
  --tint: #e9eef4;
  --tint-2: #dee5ee;
  --navy: #0e1a2b;
  --navy-2: #1f3350;
  --gold: #f2a900; /* lines and fills only, never text on light grounds */
  --wash: #fcebc0; /* the one highlight: added, changed or traced */
  --steel: #2c4a6e;
  --slate: #515b69;
  --field: #8793a3;
  --error: #b3261e;
  --error-bg: #fcefee;
  --on-navy: #eef2f6;
  --on-navy-2: #a9b7c8;
  --struck: #8596ac;
  --shadow: 0 1px 2px rgba(14, 26, 43, 0.05), 0 14px 36px -14px rgba(14, 26, 43, 0.18);
  --shadow-flat: 0 1px 2px rgba(14, 26, 43, 0.04), 0 4px 12px -8px rgba(14, 26, 43, 0.1);
  --r-xl: 28px;
  --r-lg: 20px;
  --r-md: 12px;
  --f-display:
    'Inter Tight', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --f-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --gutter: 80px;

  /* Motion tokens (docs/design/motion-spec.md) */
  --ease-standard: cubic-bezier(0.2, 0, 0.38, 0.9);
  --ease-enter: cubic-bezier(0, 0, 0.38, 0.9);
  --ease-expressive: cubic-bezier(0.4, 0.14, 0.3, 1);
  --ease-expressive-enter: cubic-bezier(0, 0, 0.3, 1);
  --ease-settle: cubic-bezier(0.16, 1, 0.3, 1);
  --t: 0ms;
  --dock-from: translateX(16px);
}
@media (prefers-reduced-motion: no-preference) {
  :root {
    --t: 180ms;
  }
  html {
    scroll-behavior: smooth;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--navy);
  font: 400 17px/28px var(--f-body);
  font-feature-settings: 'cv11', 'ss01';
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overflow-wrap: break-word; /* long addresses and domains wrap instead of pushing the page sideways */
}
p,
h1,
h2,
h3,
ul,
ol,
figure,
blockquote,
fieldset {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
a {
  color: var(--steel);
}
img {
  display: block;
  max-width: 100%;
}
:focus-visible {
  outline: 3px solid var(--steel);
  outline-offset: 3px;
  border-radius: 6px;
}
.band :focus-visible {
  outline-color: #fff;
}
.vh {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 50;
  background: var(--navy);
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  font: 600 15px/20px var(--f-body);
  text-decoration: none;
}
.skip:focus {
  top: 12px;
}
.wrap {
  width: 100%;
  max-width: calc(1280px + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Line icons share one drawing style */
.way-i svg,
.aud-i svg {
  fill: none;
  stroke: var(--navy);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.upd-i svg {
  fill: none;
  stroke: var(--on-navy);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
svg.ok,
.tick svg,
.arr,
.sources summary svg {
  flex: none;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
svg.ok {
  stroke: var(--steel);
  stroke-width: 2;
}
.upd-note svg.ok {
  stroke: var(--on-navy);
}
.tick svg {
  stroke: var(--navy);
  stroke-width: 2.2;
}
.arr {
  stroke: currentColor;
  stroke-width: 1.8;
}
.sources summary svg {
  stroke: var(--navy);
  stroke-width: 1.8;
}

/* ============ Type ============ */
h1 {
  font: 700 76px/78px var(--f-display);
  letter-spacing: -0.035em;
}
h2 {
  font: 600 48px/54px var(--f-display);
  letter-spacing: -0.025em;
  text-wrap: balance;
}
h3 {
  font: 600 22px/30px var(--f-display);
  letter-spacing: -0.01em;
  text-wrap: balance;
}
p {
  text-wrap: pretty;
}
.lead {
  font: 400 19px/31px var(--f-body);
  color: var(--slate);
}
.sec {
  padding-block: 148px 0;
}
.sec-head {
  max-width: 760px;
}
.sec-head .lead {
  margin-top: 18px;
  max-width: 640px;
}

/* The one highlight, and the one strike. The highlight is a background image so it can be drawn. */
.hl {
  background: linear-gradient(var(--wash), var(--wash)) no-repeat 0 0 / 100% 100%;
  color: var(--navy);
  border-radius: 4px;
  padding: 1px 3px;
  margin: 0 -1px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  text-decoration: none;
}
.st {
  color: var(--slate);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: currentColor;
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font: 600 16px/20px var(--f-body);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(14, 26, 43, 0.12);
  transition:
    background var(--t) var(--ease-standard),
    transform var(--t) var(--ease-standard),
    box-shadow var(--t) var(--ease-standard),
    opacity var(--t) var(--ease-standard);
}
.btn:hover {
  background: var(--navy-2);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -10px rgba(14, 26, 43, 0.45);
}
.btn-soft {
  background: var(--tint);
  color: var(--navy);
  box-shadow: none;
}
.btn-soft:hover {
  background: var(--tint-2);
  box-shadow: none;
}
.btn .arr {
  transition: transform var(--t) var(--ease-standard);
}
.btn:hover .arr {
  transform: translateX(3px);
}
.btn-sm {
  min-height: 44px;
  padding: 0 20px;
  font-size: 15px;
}
.btn:disabled {
  cursor: default;
  opacity: 0.55;
  transform: none;
  box-shadow: none;
}
.btn:disabled:hover {
  background: var(--navy);
}

/* ============ Header ============ */
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 88px;
}
.brand {
  display: block;
  border-radius: 8px;
}
.brand img {
  height: 42px;
  width: auto;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
.nav-cta {
  white-space: nowrap;
}
.nav-links a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--navy);
  font: 500 15px/20px var(--f-body);
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--t) var(--ease-standard);
}
.nav-links a:hover {
  background: rgba(14, 26, 43, 0.05);
}
.nav-end {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}
.menu {
  display: none;
  position: relative;
}
.menu summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--card);
  box-shadow: var(--shadow);
  font: 600 15px/20px var(--f-body);
  cursor: pointer;
}
.menu summary::-webkit-details-marker {
  display: none;
}
.menu summary i {
  display: inline-grid;
  gap: 4px;
}
.menu summary i::before,
.menu summary i::after {
  content: '';
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--navy);
}
.menu ul {
  position: absolute;
  right: 0;
  top: 54px;
  z-index: 20;
  width: 260px;
  padding: 8px;
  background: var(--card);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
}
.menu li a {
  display: block;
  padding: 12px 14px;
  border-radius: var(--r-md);
  color: var(--navy);
  text-decoration: none;
  font: 500 16px/22px var(--f-body);
}
.menu li a:hover {
  background: var(--bg);
}

/* ============ Hero ============ */
.hero {
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  inset: -88px 0 -120px;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(
    760px 520px at 76% 44%,
    rgba(44, 74, 110, 0.1),
    rgba(44, 74, 110, 0) 70%
  );
}
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 548px) minmax(0, 1fr);
  column-gap: 44px;
  align-items: center;
  padding-top: 12px;
}
.hero-copy {
  padding-top: 0;
}
.hero h1 {
  margin-top: 0;
}
.hero .lead {
  margin-top: 24px;
  font-size: 19px;
  line-height: 31px;
  color: #3c4757;
}
.hero .lead b {
  font-weight: 600;
  color: var(--navy);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.assure {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-top: 22px;
  font: 500 14px/20px var(--f-body);
  color: var(--slate);
}
.assure li {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Hero figure: one slide, one source in the margin, one gold line */
.hero-fig {
  position: relative;
  height: 500px;
}
.fig-margin {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 292px;
  border-radius: var(--r-xl);
  background: linear-gradient(
    180deg,
    rgba(233, 238, 244, 0.55) 0%,
    var(--tint) 30%,
    var(--tint) 70%,
    rgba(233, 238, 244, 0.55) 100%
  );
}
.slide {
  position: absolute;
  left: 0;
  top: 64px;
  width: 412px;
  padding: 30px 32px 36px;
  background: var(--card);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  z-index: 1;
}
.slide > :not(.sweep) {
  position: relative;
}
.slide-k {
  font: 500 13px/18px var(--f-body);
  color: var(--slate);
}
.slide-t {
  margin-top: 14px;
  font: 600 29px/34px var(--f-display);
  letter-spacing: -0.02em;
  color: var(--navy);
  text-wrap: balance;
}
.slide-b {
  margin-top: 22px;
  display: grid;
  gap: 12px;
}
.slide-b li {
  position: relative;
  padding-left: 20px;
  font: 400 16px/25px var(--f-body);
  color: var(--navy);
}
.slide-b li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--navy);
}
.slide-b .hl {
  padding: 2px 5px;
  margin: 0 -3px;
  line-height: 27px;
}
/* The source document heads the margin; the card below it quotes the section. It sits on the
   margin's plane, so it moves with the margin's depth (M4). */
.src-doc {
  position: absolute;
  top: 94px; /* level with the slide's first line, so the two documents face each other */
  right: 20px;
  width: 236px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding-left: 2px;
}
.src-doc svg {
  flex: none;
  margin-top: 2px;
  fill: none;
  stroke: var(--steel);
  stroke-width: 1.5;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.src-doc p {
  font: 400 14px/20px var(--f-body);
  color: var(--slate);
}
.src-doc b {
  display: block;
  font-weight: 600;
  color: var(--navy);
}
.src-doc span {
  display: block;
}
/* What happens to the link when the source changes, under the card. */
.src-note {
  margin-top: 16px;
  padding-left: 2px;
  font: 400 13px/19px var(--f-body);
  color: var(--slate);
}
.src-wrap {
  position: absolute;
  right: 20px;
  top: 183px; /* where main.js places it, level with the traced rule, so nothing moves */
  width: 236px;
  z-index: 3;
}
.src-l {
  margin-bottom: 10px;
  padding-left: 2px;
  font: 500 13px/18px var(--f-body);
  color: var(--slate);
}
.src-card {
  padding: 18px 20px 20px;
  background: var(--card);
  border-radius: var(--r-md);
  box-shadow: var(--shadow);
}
.src-n {
  font: 600 13px/18px var(--f-body);
  color: var(--steel);
}
.src-card blockquote {
  margin-top: 8px;
  font: 400 15px/23px var(--f-body);
  color: var(--navy);
}
.thread {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
  visibility: hidden; /* drawn by main.js; without script there is no line, and no stray dots */
  opacity: 0;
}
.thread.is-drawn {
  visibility: visible;
  opacity: 1;
}
.thread path {
  fill: none;
  stroke: var(--gold);
  stroke-width: 2;
  stroke-linejoin: round;
}
.thread circle {
  fill: var(--gold);
  transform-box: fill-box;
  transform-origin: center;
}
html[data-example-wait] .hero-fig :is(.slide, .src-doc, .src-wrap) {
  visibility: hidden;
}
.sweep {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.sweep i {
  position: absolute;
  background: var(--wash);
  border-radius: 4px;
}

/* ============ Four ways to buy ============ */
.ways {
  padding-top: 36px;
}
.ways-h {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}
.ways-h h2 {
  font: 600 20px/28px var(--f-display);
  letter-spacing: -0.01em;
}
.ways-h p {
  font: 400 16px/24px var(--f-body);
  color: var(--slate);
}
.ways-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}
.way {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  column-gap: 14px;
  align-items: center;
  padding: 22px 24px 24px;
  background: var(--card);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
}
.way-i {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: var(--tint);
}
.way h3 {
  font-size: 20px;
  line-height: 26px;
}
.way p {
  grid-column: 1 / -1;
  margin-top: 14px;
  font: 400 15px/23px var(--f-body);
  color: var(--slate);
}

/* ============ How it works ============ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 56px;
  margin-top: 48px;
  padding: 52px 56px 58px;
  background: var(--card);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow);
}
.step {
  position: relative;
}
.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 23px;
  left: 68px;
  right: -44px;
  height: 2px;
  border-radius: 2px;
  background: var(--tint);
  transform-origin: left center;
}
.step-n {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font: 600 19px/1 var(--f-display);
}
.step h3 {
  margin-top: 28px;
  font-size: 25px;
  line-height: 32px;
}
.step p {
  margin-top: 12px;
  font: 400 16px/26px var(--f-body);
  color: var(--slate);
}

/* ============ Example review: findings in the main column, sources in the margin ============ */
.report {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 388px;
  margin-top: 48px;
  background: var(--card);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow);
}
.r-margin {
  grid-column: 2;
  grid-row: 1 / 6;
  margin: 12px;
  border-radius: var(--r-lg);
  background: var(--tint);
}
.r-head {
  grid-column: 1;
  grid-row: 1;
  padding: 40px 48px 8px;
}
.r-mhead {
  grid-column: 2;
  grid-row: 1;
  padding: 44px 40px 8px;
  font: 500 14px/20px var(--f-body);
  color: var(--slate);
  position: relative;
}
.r-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--tint);
  font: 600 13px/18px var(--f-body);
  color: var(--steel);
}
.r-head h3 {
  margin-top: 14px;
  font-size: 26px;
  line-height: 32px;
}
.r-head p {
  margin-top: 6px;
  font: 400 15px/22px var(--f-body);
  color: var(--slate);
}
.find {
  grid-column: 1;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 28px;
  padding: 36px 48px 0;
  align-items: start;
}
.find svg {
  display: block;
  width: 132px;
  height: auto;
}
.f-loc {
  font: 500 14px/20px var(--f-body);
  color: var(--slate);
}
.f-t {
  margin-top: 6px;
  font: 600 19px/27px var(--f-display);
  letter-spacing: -0.01em;
  color: var(--navy);
}
.f-fix {
  margin-top: 8px;
  font: 400 16px/25px var(--f-body);
  color: var(--slate);
}
.f-fix b {
  font-weight: 600;
  color: var(--navy);
}
.src {
  grid-column: 2;
  padding: 36px 40px 0;
  position: relative;
}
.src .card {
  padding: 18px 20px 20px;
  background: var(--card);
  border-radius: var(--r-md);
  box-shadow: 0 1px 2px rgba(14, 26, 43, 0.05);
}
.src p.q {
  margin-top: 6px;
  font: 400 15px/23px var(--f-body);
  color: var(--navy);
}
.src p.lim {
  margin-top: 8px;
  font: 400 14px/21px var(--f-body);
  color: var(--slate);
}
.row2 {
  grid-row: 2;
}
.row3 {
  grid-row: 3;
  --i: 1;
}
.row4 {
  grid-row: 4;
  --i: 2;
}
.r-foot {
  grid-column: 1;
  grid-row: 5;
  align-self: end;
  padding: 28px 48px 40px;
}
.r-foot p {
  font: 400 15px/23px var(--f-body);
  color: var(--slate);
  max-width: 520px;
}
.r-gap {
  grid-column: 2;
  grid-row: 5;
  height: 40px;
}

/* ============ The navy band: one policy change ============ */
.band {
  position: relative;
  padding: 72px 72px 76px;
  background: var(--navy);
  color: var(--on-navy);
  border-radius: 32px;
  overflow: hidden;
  isolation: isolate;
}
.band::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(
    900px 520px at 88% 0%,
    rgba(44, 74, 110, 0.55),
    rgba(44, 74, 110, 0) 70%
  );
}
.band h2 {
  color: #fff;
  max-width: 680px;
}
.band .lead {
  margin-top: 20px;
  max-width: 620px;
  color: var(--on-navy-2);
}
.band-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: end;
}
.bignum {
  padding-bottom: 6px;
}
.band-grid {
  display: grid;
  grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
  gap: 56px;
  margin-top: 60px;
  align-items: start;
}
.bn-l {
  font: 500 15px/22px var(--f-body);
  color: var(--on-navy-2);
}
.bn {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 26px;
  margin-top: 6px;
  font: 700 128px/1 var(--f-display);
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
}
.bn del,
.bn ins {
  position: relative;
  text-decoration: none;
}
.bn del {
  color: #687b95; /* 3.4:1 or better on the band, even under its glow (large text needs 3:1) */
}
/* The strike and the gold underline are drawn shapes, so they can be drawn in */
.bn del::after {
  content: '';
  position: absolute;
  left: -4%;
  right: -2%;
  top: calc(50% - 3px);
  height: 6px;
  border-radius: 3px;
  background: #c3cedb;
  transform-origin: left center;
}
.bn ins {
  color: #fff;
  padding-bottom: 12px;
}
.bn ins::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 7px;
  border-radius: 0 0 4px 4px;
  background: var(--gold);
  transform-origin: left center;
}
.upd-h + .pol {
  margin-top: 18px;
}
.pol-sum {
  margin-top: 16px;
  padding: 0 28px;
  font: 400 15px/23px var(--f-body);
  color: var(--on-navy-2);
}
.pol {
  padding: 26px 28px 28px;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.06);
}
.pol-n {
  font: 500 14px/20px var(--f-body);
  color: var(--on-navy-2);
}
.pol h4 {
  margin-top: 8px;
  font: 600 20px/28px var(--f-display);
  letter-spacing: -0.01em;
  color: #fff;
}
.pol p {
  margin-top: 8px;
  font: 400 16px/27px var(--f-body);
  color: var(--on-navy);
}
.band .st {
  color: var(--struck);
}
/* On the band, a wash that wraps is one strip across its lines, so it sweeps them in reading order. */
.band .hl {
  -webkit-box-decoration-break: slice;
  box-decoration-break: slice;
}
.upd-h {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}
.upd-h h3 {
  color: #fff;
  font-size: 20px;
  line-height: 28px;
}
.upd-h p {
  font: 500 14px/20px var(--f-body);
  color: var(--on-navy-2);
}
.upd-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}
.upd {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 20px 24px 22px 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
}
.upd:nth-child(2) {
  --i: 1;
}
.upd:nth-child(3) {
  --i: 2;
}
.upd-i {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.08);
}
.upd-t {
  font: 600 16px/22px var(--f-body);
  color: #fff;
}
.upd-t span {
  font-weight: 400;
  color: var(--on-navy-2);
}
.upd-s {
  margin-top: 6px;
  font: 400 16px/26px var(--f-body);
  color: var(--on-navy);
}
.upd-more {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 14px 24px 0 20px;
  font: 400 16px/24px var(--f-body);
  color: var(--on-navy-2);
}
.upd-more b {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  border: 1.5px dashed rgba(169, 183, 200, 0.45);
  color: #fff;
  font: 600 15px/1 var(--f-display);
}
.upd-more strong {
  color: #fff;
  font-weight: 600;
}
.upd-note {
  margin-top: 22px;
  padding-left: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font: 500 15px/22px var(--f-body);
  color: var(--on-navy);
}

/* ============ Who it's for / how the work is checked ============ */
.pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 80px;
  align-items: start;
}
.split h2 {
  max-width: 520px;
}
.aud {
  display: grid;
  gap: 44px;
  padding-top: 6px;
}
.aud h3 {
  font-size: 24px;
  line-height: 31px;
  padding-top: 8px;
}
.aud .say {
  margin-top: 10px;
  font: 400 19px/30px var(--f-body);
  color: var(--navy);
}
.aud .eg {
  margin-top: 10px;
  font: 400 16px/26px var(--f-body);
  color: var(--slate);
}
.aud > div {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  column-gap: 24px;
}
.aud > div > *:not(.aud-i) {
  grid-column: 2;
}
.aud-i {
  grid-row: 1 / 4;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  background: var(--card);
  box-shadow: var(--shadow);
}
.panel {
  display: flex;
  flex-direction: column;
  padding: 38px 40px 40px;
  background: var(--card);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
}
.panel h3 {
  font-size: 24px;
  line-height: 31px;
}
.panel .say {
  margin-top: 12px;
  font: 400 18px/29px var(--f-body);
  color: var(--navy);
}
.panel .eg {
  margin-top: 12px;
  font: 400 16px/26px var(--f-body);
  color: var(--slate);
}
.checks {
  margin-top: 24px;
  display: grid;
  gap: 8px;
}
.checks-l {
  margin-top: 24px;
  font: 500 13px/18px var(--f-body);
  color: var(--slate);
}
.checks-l + .checks {
  margin-top: 10px;
}
.checks li {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 11px 16px;
  border-radius: var(--r-md);
  background: var(--bg);
  font: 400 15px/22px var(--f-body);
}
.checks .n {
  font: 500 14px/22px var(--f-body);
  color: var(--steel);
  font-variant-numeric: tabular-nums;
}
.checks .r {
  font: 500 14px/20px var(--f-body);
  color: var(--slate);
  text-align: right;
}
.stamp {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: var(--r-md);
  background: var(--bg);
}
.stamp svg {
  width: 52px;
  height: 52px;
  flex: none;
  display: block;
}
.stamp-sp {
  flex: 1 0 28px;
}
.stamp p {
  font: 400 15px/22px var(--f-body);
  color: var(--slate);
}
.stamp b {
  display: block;
  font-weight: 600;
  color: var(--navy);
}

/* ============ Close and intake ============ */
.close {
  padding-bottom: 148px;
}
.close-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 540px);
  gap: 72px;
  align-items: start;
}
.close h2 {
  font: 700 64px/68px var(--f-display);
  letter-spacing: -0.035em;
}
/* Each of the closing line's three sentences starts a line, so no line ends one and starts the next. */
.close h2 span {
  display: block;
}
/* Where the form shares the row, the column is the viewport minus 772px. The size steps down so
   the longest sentence, "Improve your training.", fits on one line (42px at 1180, 64px at 1439). */
@media (min-width: 1180px) and (max-width: 1439px) {
  .close h2 {
    font-size: clamp(42px, calc(10.4vw - 82px), 64px);
    line-height: 1.07;
  }
}
.close .lead {
  margin-top: 24px;
  max-width: 540px;
}
.ticks {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}
.ticks li {
  display: flex;
  align-items: center;
  gap: 12px;
  font: 500 16px/24px var(--f-body);
}
.close-alt {
  margin-top: 36px;
}
.tick {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 50%;
  background: var(--tint);
}
.intake {
  position: relative;
  padding: 40px;
  background: var(--card);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow);
}
.intake h3 {
  font-size: 26px;
  line-height: 32px;
}
.intake h3:focus {
  outline: none;
}
.intake fieldset {
  border: 0;
  padding: 0;
  margin: 26px 0 0;
  min-width: 0;
}
.intake .intake-fields {
  margin: 0;
}
.intake-fields[disabled] > * {
  opacity: 0.55;
}
.intake legend {
  padding: 0;
  font: 600 15px/22px var(--f-body);
  color: var(--navy);
}
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 16px 0 13px;
  border-radius: 999px;
  background: var(--bg);
  font: 500 15px/20px var(--f-body);
  color: var(--navy);
  cursor: pointer;
  transition:
    background var(--t) var(--ease-standard),
    color var(--t) var(--ease-standard);
}
.pill:hover {
  background: var(--tint);
}
.pill input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--card);
  flex: none;
}
.pill:has(input:checked) {
  background: var(--navy);
  color: #fff;
}
.pill:has(input:focus-visible) {
  outline: 3px solid var(--steel);
  outline-offset: 2px;
}
.pill input:focus-visible {
  outline: none;
}
.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 26px;
}
.field label {
  display: block;
  font: 600 15px/22px var(--f-body);
}
.field label i {
  font-style: normal;
  font-weight: 400;
  color: var(--slate);
}
.field input {
  display: block;
  width: 100%;
  margin-top: 8px;
  min-height: 50px;
  padding: 12px 16px;
  border: 1px solid var(--field);
  border-radius: var(--r-md);
  background: var(--card);
  color: var(--navy);
  font: 400 16px/22px var(--f-body);
}
.field input:focus-visible {
  outline: 3px solid var(--steel);
  outline-offset: 1px;
  border-color: var(--steel);
}
.field input[aria-invalid='true'] {
  border-color: var(--error);
  box-shadow: inset 0 0 0 1px var(--error);
}
.field-err {
  margin-top: 8px;
  font: 500 14px/20px var(--f-body);
  color: var(--error);
}
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.hint {
  margin-top: 12px;
  font: 400 14px/21px var(--f-body);
  color: var(--slate);
}
.intake .btn {
  margin-top: 26px;
  width: 100%;
}
/* The optional security check (main.js adds it only when Turnstile is on). */
.intake-check {
  margin-top: 22px;
  min-height: 65px;
}
.form-status {
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: var(--r-md);
  background: var(--bg);
  font: 400 15px/23px var(--f-body);
  color: var(--navy);
}
.form-status:empty {
  display: none;
}
.form-status[data-tone='error'] {
  background: var(--error-bg);
}
.form-status b {
  display: block;
  font-weight: 600;
}
.form-status a {
  font-weight: 500;
}
.intake.is-sent .intake-fields {
  display: none;
}
.intake.is-sent .form-status {
  margin-top: 22px;
  padding: 22px 22px 24px;
  font-size: 16px;
  line-height: 25px;
}
.alt-contact {
  margin-top: 14px;
  font: 400 14px/21px var(--f-body);
  color: var(--slate);
  text-align: center;
}
.alt-contact a {
  font-weight: 500;
  user-select: all;
}
.intake:not(.is-live) .alt-live,
.intake.is-live .alt-nojs,
.alt-failed,
.js .intake .alt-nojs {
  display: none;
}
.js .intake:not(.is-failed) .alt-live,
.js .intake.is-failed .alt-failed {
  display: inline;
}

/* ============ Footer ============ */
.site-footer {
  background: var(--navy);
  color: #fff;
}
.site-footer :focus-visible {
  outline-color: #fff;
}
/* One row: the wordmark's capitals and the text's capitals share a center line, with the same room
   above and below it (measured in Edge at 1440 and 2000 px: 29px each way). */
.site-footer .wrap {
  padding-top: 18px;
  padding-bottom: 18px;
}
.foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 32px;
}
.foot-brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 20px;
  min-width: 0;
}
.foot .brand {
  width: fit-content;
}
.foot .brand img {
  height: 30px;
}
.foot-t {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  row-gap: 2px;
  font: 400 15px/22px var(--f-body);
  color: #fff;
}
.foot-t span + span {
  margin-left: 12px;
  padding-left: 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.28);
}
.foot-t a {
  color: #fff;
  font-weight: 500;
}
/* The column heading still names the links for screen readers; the row needs no visible label. */
.foot-h {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.foot-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  /* Each link's 12px padding is offset on both sides, so the links line up with the text above
     them when the row wraps (below about 1431px) and with the page edge when it doesn't. */
  margin: 0 -12px;
}
.foot nav a {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  font: 500 15px/22px var(--f-body);
  color: #fff;
  text-decoration: none;
  transition: background var(--t) var(--ease-standard);
}
.foot nav a:hover {
  background: rgba(255, 255, 255, 0.1);
}
.foot nav a[aria-current='page'] {
  font-weight: 600;
  background: rgba(255, 255, 255, 0.12);
}
/* The last section's closing space sits above the sources, so the sources line ends the page. */
.close:has(+ .page-sources) {
  padding-bottom: 72px;
}
.page-sources .wrap {
  padding-top: 0;
  padding-bottom: 32px;
}
.sources summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  margin-left: -14px;
  border-radius: 999px;
  font: 500 14px/20px var(--f-body);
  color: var(--navy);
  cursor: pointer;
  list-style: none;
}
.sources summary::-webkit-details-marker {
  display: none;
}
.sources summary:hover {
  background: rgba(14, 26, 43, 0.06);
}
.sources summary svg {
  transition: transform var(--t) var(--ease-standard);
}
.sources[open] summary svg {
  transform: rotate(180deg);
}
.sources ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 12px;
}
.sources li {
  padding: 16px 18px;
  border-radius: var(--r-md);
  background: var(--card);
  font: 400 14px/21px var(--f-body);
  color: var(--slate);
}
.sources li b {
  display: block;
  margin-bottom: 4px;
  color: var(--navy);
  font-weight: 600;
}
.sources li b a {
  color: var(--navy);
  text-decoration-color: rgba(14, 26, 43, 0.35);
  text-underline-offset: 3px;
}
.sources li b a:hover {
  text-decoration-color: currentColor;
}
.sources .fict {
  grid-column: 1 / -1;
  margin-top: 4px;
  padding: 0;
  background: none;
}

/* ============ Below 1180: the hero stacks and the header collapses to a menu ============ */
@media (max-width: 1179px) {
  :root {
    --gutter: 40px;
  }
  .nav-links {
    display: none;
  }
  .nav-end {
    margin-left: auto;
  }
  .menu {
    display: block;
  }
  .hero .wrap {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-copy {
    max-width: 640px;
  }
  .hero-fig {
    width: 688px;
    max-width: 100%;
    margin-top: 48px;
  }
  .band-top {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }
  .ways-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .band-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
  }
  .close-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }
  .intake {
    max-width: 640px;
  }
  .report {
    grid-template-columns: minmax(0, 1fr) 320px;
  }
}

/* ============ Below 1024: steps stack, the review's margin folds under each finding ============ */
@media (max-width: 1023px) {
  .steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }
  .step {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    column-gap: 24px;
  }
  .step:not(:last-child)::after {
    top: 60px;
    bottom: -28px;
    left: 23px;
    right: auto;
    width: 2px;
    height: auto;
    transform-origin: center top;
  }
  .step h3 {
    margin-top: 8px;
  }
  .step p {
    grid-column: 2;
  }
  .report {
    grid-template-columns: minmax(0, 1fr);
  }
  .r-margin,
  .r-mhead,
  .r-gap {
    display: none;
  }
  .r-head,
  .find,
  .src,
  .r-foot {
    grid-column: 1;
    grid-row: auto;
  }
  .src {
    padding: 16px 48px 0 208px;
  }
  .src .card {
    background: var(--tint);
    box-shadow: none;
  }
  .pair {
    grid-template-columns: minmax(0, 1fr);
  }
  .split {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
}

/* ============ Intake notes ============ */
.form-note {
  margin-top: 16px;
  font: 400 14px/21px var(--f-body);
  color: var(--slate);
  text-align: center;
}
.form-note a {
  font-weight: 500;
}
.intake.is-sent .form-note {
  display: none;
}

/* ============ Placeholders and draft notices ============ */
/* A fact still to be confirmed. Deliberately loud, so no one approves a page with one in it. */
.tbc {
  padding: 0 5px;
  border: 1px dashed #c8413a;
  border-radius: 6px;
  background: #fdeeed;
  color: #8a1f19;
  font-weight: 500;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.draft-note {
  display: inline-block;
  padding: 10px 16px;
  border-radius: var(--r-md);
  background: var(--card);
  box-shadow: var(--shadow-flat);
  font: 400 14px/22px var(--f-body);
  color: var(--slate);
}
.draft-note b {
  color: var(--navy);
  font-weight: 600;
}

/* ============ Document pages: privacy, accessibility, terms, not found ============ */
.doc-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.doc-page main {
  flex: 1 0 auto;
}
.doc {
  padding: 40px 0 128px;
}
.doc-grid {
  display: grid;
  grid-template-columns: minmax(0, 720px) minmax(0, 300px);
  justify-content: space-between;
  column-gap: 72px;
  align-items: start;
}
.doc-head {
  grid-column: 1;
}
.doc-head h1 {
  margin-top: 24px;
  font: 700 56px/60px var(--f-display);
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.doc-meta {
  margin-top: 16px;
  font: 400 15px/22px var(--f-body);
  color: var(--slate);
}
.doc-meta b {
  font-weight: 600;
  color: var(--navy);
}
.doc-head .lead {
  margin-top: 20px;
}
.doc-toc {
  grid-column: 2;
  grid-row: 1 / span 2;
  position: sticky;
  top: 24px;
  padding: 22px 24px 24px;
  border-radius: var(--r-xl);
  background: var(--tint);
}
.doc-toc summary {
  font: 600 14px/20px var(--f-body);
  color: var(--slate);
  cursor: pointer;
  list-style: none;
}
.doc-toc summary::-webkit-details-marker {
  display: none;
}
.doc-toc ol {
  display: grid;
  gap: 2px;
  margin-top: 10px;
}
.doc-toc a {
  display: block;
  padding: 6px 12px;
  margin-inline: -12px;
  border-radius: 10px;
  color: var(--navy);
  font: 500 15px/21px var(--f-body);
  text-decoration: none;
  transition: background var(--t) var(--ease-standard);
}
.doc-toc a:hover {
  background: rgba(255, 255, 255, 0.7);
}
.doc-body {
  grid-column: 1;
  margin-top: 56px;
}
.doc-body section + section {
  margin-top: 52px;
}
.doc-body h2 {
  font: 600 30px/36px var(--f-display);
  letter-spacing: -0.02em;
  scroll-margin-top: 24px;
}
.doc-body h3 {
  margin-top: 28px;
  font-size: 20px;
  line-height: 28px;
}
.doc-body p,
.doc-body ul {
  margin-top: 14px;
  color: #2a3544;
}
.doc-body ul {
  padding-left: 22px;
  list-style: disc;
}
.doc-body ul ul {
  margin-top: 6px;
  list-style: circle;
}
.doc-body li + li {
  margin-top: 6px;
}
.doc-body li::marker {
  color: var(--slate);
}
.doc-body b {
  font-weight: 600;
  color: var(--navy);
}
.doc-body a {
  text-underline-offset: 3px;
}
.doc-table-wrap {
  margin-top: 18px;
  border-radius: var(--r-lg);
  background: var(--card);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.doc-table {
  width: 100%;
  border-collapse: collapse;
  font: 400 15px/23px var(--f-body);
  color: #2a3544;
}
.doc-table th {
  padding: 14px 18px;
  background: var(--tint);
  font: 600 14px/20px var(--f-body);
  color: var(--navy);
  text-align: left;
}
.doc-table td {
  padding: 14px 18px;
  vertical-align: top;
  border-top: 1px solid var(--tint);
}
.not-found {
  padding: 96px 0 160px;
}
.not-found h1 {
  font: 700 64px/68px var(--f-display);
  letter-spacing: -0.035em;
  max-width: 760px;
}
.not-found .lead {
  margin-top: 20px;
}
.doc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
@media (max-width: 1023px) {
  .doc-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .doc-toc {
    grid-column: 1;
    grid-row: auto;
    position: static;
    margin-top: 32px;
  }
  .doc-body {
    margin-top: 44px;
  }
}

/* ============ Phone and small tablet: the margin folds inline ============ */
@media (max-width: 759px) {
  :root {
    --gutter: 16px;
    --dock-from: translateY(12px);
  }
  body {
    font-size: 16px;
    line-height: 26px;
  }
  h1 {
    font-size: 48px;
    line-height: 50px;
  }
  h2 {
    font-size: 34px;
    line-height: 40px;
  }
  .lead {
    font-size: 17px;
    line-height: 28px;
  }
  .sec {
    padding-top: 88px;
  }
  .site-header .wrap {
    height: 68px;
  }
  .brand img {
    height: 36px;
  }
  .nav-cta {
    display: none;
  }

  .hero .wrap {
    padding-top: 16px;
  }
  .hero-copy {
    padding-top: 12px;
  }
  .hero h1 {
    margin-top: 0;
  }
  .hero .lead {
    margin-top: 18px;
    font-size: 17px;
    line-height: 28px;
  }
  .hero-actions {
    margin-top: 26px;
    flex-direction: column;
    align-items: stretch;
  }
  .assure {
    margin-top: 20px;
    flex-direction: column;
  }

  .hero-fig {
    height: auto;
    width: auto;
    margin-top: 40px;
    display: flex;
    flex-direction: column;
  }
  .fig-margin {
    display: none;
  }
  .slide {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
    padding: 24px 22px 28px;
  }
  .slide-t {
    font-size: 24px;
    line-height: 29px;
  }
  .slide-b li {
    font-size: 15px;
    line-height: 23px;
  }
  .slide-b .hl {
    line-height: 25px;
  }
  .src-doc {
    position: static;
    width: auto;
    margin: 18px 0 0 34px;
  }
  .src-wrap {
    position: relative;
    right: auto;
    top: auto !important;
    width: auto;
    margin: 16px 0 0 34px;
  }
  .src-l {
    display: none;
  }
  .src-card {
    background: var(--tint);
    box-shadow: none;
  }

  .ways {
    padding-top: 56px;
  }
  .ways-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding: 6px 0;
    background: var(--card);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow);
  }
  .way {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    column-gap: 16px;
    align-items: start;
    padding: 14px 18px 16px;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
  }
  .way h3 {
    margin-top: 0;
    font-size: 19px;
    line-height: 26px;
  }
  .way p {
    grid-column: 2;
    margin-top: 2px;
  }
  .way-i {
    grid-row: 1 / 3;
  }

  .steps {
    margin-top: 32px;
    gap: 28px;
    padding: 28px 22px 30px;
    border-radius: var(--r-lg);
  }
  .step {
    grid-template-columns: 40px minmax(0, 1fr);
    column-gap: 16px;
  }
  .step:not(:last-child)::after {
    top: 52px;
    bottom: -20px;
    left: 19px;
  }
  .step-n {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  .step h3 {
    font-size: 21px;
    line-height: 28px;
    margin-top: 5px;
  }
  .step p {
    font-size: 15px;
    line-height: 24px;
    margin-top: 8px;
  }

  .report {
    margin-top: 32px;
    border-radius: var(--r-lg);
  }
  .r-head {
    padding: 26px 20px 0;
  }
  .r-head h3 {
    font-size: 22px;
    line-height: 28px;
  }
  .find {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding: 28px 20px 0;
  }
  .find svg {
    width: 112px;
  }
  .f-t {
    font-size: 18px;
    line-height: 25px;
  }
  .f-fix {
    font-size: 15px;
    line-height: 24px;
  }
  .src {
    padding: 14px 20px 0;
  }
  .r-foot {
    padding: 24px 20px 28px;
  }

  .band {
    padding: 44px 22px 40px;
    border-radius: var(--r-lg);
    margin-inline: -6px;
  }
  .band-grid {
    margin-top: 36px;
    gap: 36px;
  }
  .bn {
    font-size: 92px;
    gap: 18px;
  }
  .bn del::after {
    height: 5px;
    top: calc(50% - 2.5px);
  }
  .bn ins {
    padding-bottom: 8px;
  }
  .bn ins::after {
    height: 6px;
  }
  .pol {
    padding: 20px;
  }
  .upd {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 18px 18px 20px;
  }
  .upd-i {
    display: none;
  }
  .upd-more {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 14px;
    padding: 12px 4px 0;
    font-size: 15px;
    line-height: 23px;
  }
  .upd-note {
    padding-left: 4px;
  }
  .upd-more b {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }
  .upd-h {
    flex-direction: column;
    gap: 2px;
  }

  .pair {
    margin-top: 32px;
    gap: 12px;
  }
  .split {
    gap: 32px;
  }
  .aud {
    gap: 32px;
    padding-top: 0;
  }
  .aud > div {
    grid-template-columns: 44px minmax(0, 1fr);
    column-gap: 16px;
  }
  .aud-i {
    width: 44px;
    height: 44px;
  }
  .aud h3 {
    padding-top: 7px;
    font-size: 21px;
    line-height: 28px;
  }
  .aud .say {
    font-size: 17px;
    line-height: 27px;
  }
  .aud .eg {
    font-size: 15px;
    line-height: 24px;
  }
  .panel {
    padding: 26px 22px 28px;
  }
  .panel h3 {
    font-size: 21px;
    line-height: 28px;
  }
  .panel .say {
    font-size: 17px;
    line-height: 27px;
  }
  .panel .eg {
    font-size: 15px;
    line-height: 24px;
  }
  .checks li {
    grid-template-columns: 44px minmax(0, 1fr);
    padding: 10px 14px;
  }
  .checks .r {
    grid-column: 2;
    text-align: left;
    margin-top: -4px;
  }

  .close {
    padding-bottom: 80px;
  }
  .close h2 {
    font-size: 40px;
    line-height: 44px;
  }
  .close-alt {
    margin-top: 28px;
  }
  .close-alt .btn {
    width: 100%;
  }
  .intake {
    padding: 26px 20px 24px;
    border-radius: var(--r-lg);
  }
  .fields {
    grid-template-columns: minmax(0, 1fr);
  }

  /* Stacked on phones: about 28px from the footer's top to the wordmark's capitals, and the same
     from the last link's baseline to the bottom. */
  .site-footer .wrap {
    padding-top: 19px;
    padding-bottom: 17px;
  }
  .foot-t {
    display: block;
  }
  .foot-t span {
    display: block;
  }
  .foot-t span + span {
    margin-left: 0;
    padding-left: 0;
    border-left: 0;
  }
  .foot-nav ul {
    margin: 0 0 0 -12px;
  }
  .sources ol {
    grid-template-columns: minmax(0, 1fr);
  }

  .doc {
    padding: 24px 0 88px;
  }
  .doc-head h1 {
    font-size: 38px;
    line-height: 42px;
  }
  .doc-body h2 {
    font-size: 25px;
    line-height: 31px;
  }
  .doc-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .doc-table,
  .doc-table tbody,
  .doc-table tr,
  .doc-table td {
    display: block;
  }
  .doc-table tr + tr {
    border-top: 1px solid var(--tint);
  }
  .doc-table tr {
    padding: 14px 18px 16px;
  }
  .doc-table td {
    padding: 4px 0;
    border: 0;
  }
  .doc-table td::before {
    content: attr(data-label);
    display: block;
    font: 600 13px/18px var(--f-body);
    color: var(--slate);
  }
  .not-found {
    padding: 56px 0 96px;
  }
  .not-found h1 {
    font-size: 42px;
    line-height: 46px;
  }
  .doc-actions .btn {
    width: 100%;
  }
}

/* ======================================================================================
   Motion. Everything below runs only with prefers-reduced-motion: no-preference, and only
   while a data-* state set by motion-gate.js or main.js is present. Removing the state
   returns every element to the still composition above.
   ====================================================================================== */

@keyframes sweep {
  from {
    clip-path: inset(0 100% 0 0 round 4px);
  }
  to {
    clip-path: inset(0 0 0 0 round 4px);
  }
}
@keyframes pop {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}
@keyframes draw {
  from {
    stroke-dashoffset: 1;
  }
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes dock {
  from {
    transform: var(--dock-from);
    opacity: 0.55;
    box-shadow: var(--shadow-flat);
  }
  to {
    transform: none;
    opacity: 1;
    box-shadow: var(--shadow);
  }
}
@keyframes settle {
  from {
    transform: translateY(16px);
    opacity: 0.5;
  }
}
@keyframes settle-sm {
  from {
    transform: translateY(10px);
  }
}
@keyframes dock-sm {
  from {
    transform: translateX(12px);
  }
}
@keyframes draw-x {
  from {
    transform: scaleX(0);
  }
}
@keyframes draw-y {
  from {
    transform: scaleY(0);
  }
}
@keyframes wash {
  from {
    background-size: 0% 100%;
  }
}
@keyframes ink {
  from {
    color: var(--on-navy);
  }
}
@keyframes wash-ink {
  from {
    background-position:
      100% 0,
      0 0;
    background-size:
      200% 100%,
      0% 100%;
  }
  to {
    background-position:
      0 0,
      0 0;
    background-size:
      200% 100%,
      100% 100%;
  }
}
@keyframes bn-dim {
  from {
    color: var(--on-navy);
  }
}
@keyframes bn-lift {
  from {
    opacity: 0.28;
    transform: translateY(0.12em);
  }
}

@media (prefers-reduced-motion: no-preference) {
  /* M2: the gold line fades in when it is first drawn (a transition, so it never replays) */
  .thread {
    transition: opacity 240ms var(--ease-enter);
  }

  /* M1: the trace. Opening state, set before the first paint by motion-gate.js */
  html[data-hero^='intro'] .hero-fig .hl {
    background-size: 0% 100%;
  }
  html[data-hero^='intro'] .thread path {
    stroke-dasharray: 1 1;
    stroke-dashoffset: 1;
  }
  html[data-hero^='intro'] .thread circle {
    transform: scale(0);
  }
  html[data-hero^='intro'] .src-card {
    transform: var(--dock-from);
    opacity: 0.55;
    box-shadow: var(--shadow-flat);
  }
  /* The sequence (main.js sets intro-play and the sweep's per-line timing) */
  html[data-hero='intro-play'] .sweep i {
    animation: sweep var(--dur) var(--ease) var(--delay) both;
  }
  html[data-hero='intro-play'] .thread .d1 {
    animation: pop 160ms var(--ease-enter) 620ms both;
  }
  html[data-hero='intro-play'] .thread path {
    animation: draw 660ms var(--ease-expressive) 680ms both;
  }
  html[data-hero='intro-play'] .thread .d2 {
    animation: pop 160ms var(--ease-enter) 1260ms both;
  }
  html[data-hero='intro-play'] .src-card {
    animation: dock 760ms var(--ease-settle) 1200ms both;
  }

  /* M3: section settle. Waiting states are visible (opacity 0.5 or more) */
  [data-settle='wait'][data-settle-self],
  [data-settle='wait'][data-settle-group] > * {
    transform: translateY(16px);
    opacity: 0.5;
  }
  .steps[data-settle='wait'] .step::after {
    transform: scaleX(0);
  }
  /* The card waits at half strength; what is inside it only waits offset, so nothing drops below
     half strength. */
  .report[data-settle='wait'] .find {
    transform: translateY(10px);
  }
  .report[data-settle='wait'] .src .card {
    transform: translateX(12px);
  }
  [data-settle-group] > :nth-child(2),
  .step:nth-child(2) {
    --i: 1;
  }
  [data-settle-group] > :nth-child(3) {
    --i: 2;
  }
  [data-settle-group] > :nth-child(4) {
    --i: 3;
  }
  .aud,
  .pair {
    --stagger: 80ms;
  }
  [data-settle='play'][data-settle-self],
  [data-settle='play'][data-settle-group] > * {
    animation: settle 640ms var(--ease-expressive-enter) calc(var(--i, 0) * var(--stagger, 70ms))
      both;
  }
  .steps[data-settle='play'] .step::after {
    animation: draw-x 360ms var(--ease-expressive-enter) calc(320ms + var(--i, 0) * 120ms) both;
  }
  .report[data-settle='play'] .find {
    animation: settle-sm 600ms var(--ease-expressive-enter) calc(200ms + var(--i, 0) * 90ms) both;
  }
  .report[data-settle='play'] .src .card {
    animation: dock-sm 600ms var(--ease-expressive-enter) calc(260ms + var(--i, 0) * 90ms) both;
  }

  /* M5: the policy change */
  .band[data-change='wait-full'] .bn del {
    color: var(--on-navy);
  }
  .band[data-change='wait-full'] .bn del::after,
  .band[data-change='wait-full'] .bn ins::after {
    transform: scaleX(0);
  }
  .band[data-change='wait-full'] .bn ins {
    opacity: 0.28;
    transform: translateY(0.12em);
  }
  .band[data-change^='wait'] :is(.pol, .pol-sum, .upd, .upd-more, .upd-note) {
    transform: translateY(16px);
    opacity: 0.5;
  }
  /* New text waits in light type, readable on navy, and inks to navy as its wash arrives */
  .band[data-change^='wait'] :is(.pol, .upd) .hl {
    background-size: 0% 100%;
    color: var(--on-navy);
  }
  .band .hl ~ .hl {
    --w: 150ms;
  }
  .band[data-change='play-full'] {
    --t-pol: 400ms;
    --t-wash: 700ms;
    --t-rows: 900ms;
    --t-tail: 1300ms;
  }
  .band[data-change='play-short'] {
    --t-pol: 0ms;
    --t-wash: 260ms;
    --t-rows: 120ms;
    --t-tail: 460ms;
  }
  .band[data-change='play-full'] .bn del {
    animation: bn-dim 400ms var(--ease-expressive-enter) 100ms both;
  }
  .band[data-change='play-full'] .bn del::after {
    animation: draw-x 450ms var(--ease-expressive-enter) both;
  }
  .band[data-change='play-full'] .bn ins {
    animation: bn-lift 500ms var(--ease-expressive) 250ms both;
  }
  .band[data-change='play-full'] .bn ins::after {
    animation: draw-x 450ms var(--ease-expressive-enter) 550ms both;
  }
  .band[data-change^='play'] .pol-sum {
    animation: settle 640ms var(--ease-expressive-enter) calc(var(--t-pol) + 100ms) both;
  }
  .band[data-change^='play'] .pol {
    animation: settle 640ms var(--ease-expressive-enter) var(--t-pol) both;
  }
  .band[data-change^='play'] .pol .hl {
    animation:
      wash 450ms var(--ease-expressive-enter) calc(var(--t-wash) + var(--w, 0ms)) both,
      ink 220ms linear calc(var(--t-wash) + var(--w, 0ms) + 90ms) both;
  }
  .band[data-change^='play'] .upd {
    animation: settle 600ms var(--ease-expressive-enter) calc(var(--t-rows) + var(--i, 0) * 110ms)
      both;
  }
  .band[data-change^='play'] .upd .hl {
    --at: calc(var(--t-rows) + 200ms + var(--i, 0) * 110ms + var(--w, 0ms));
    animation:
      wash 380ms var(--ease-expressive-enter) var(--at) both,
      ink 200ms linear calc(var(--at) + 80ms) both;
  }
  /* Where text can be painted with a background, the new text turns dark exactly where the wash
     has reached it, so it is never light on the light wash. Other browsers keep the plain sweep. */
  @supports ((background-clip: text) or (-webkit-background-clip: text)) {
    @media (forced-colors: none) {
      .band[data-change^='play'] :is(.pol, .upd) .hl {
        color: transparent;
        background-image:
          linear-gradient(90deg, var(--navy) 50%, var(--on-navy) 50%),
          linear-gradient(var(--wash), var(--wash));
        background-repeat: no-repeat;
        -webkit-background-clip: text, padding-box;
        background-clip: text, padding-box;
      }
      .band[data-change^='play'] .pol .hl {
        animation: wash-ink 450ms var(--ease-expressive-enter) calc(var(--t-wash) + var(--w, 0ms))
          both;
      }
      .band[data-change^='play'] .upd .hl {
        animation: wash-ink 380ms var(--ease-expressive-enter) var(--at) both;
      }
    }
  }
  .band[data-change^='play'] .upd-more {
    animation: settle 600ms var(--ease-expressive-enter) var(--t-tail) both;
  }
  .band[data-change^='play'] .upd-note {
    animation: settle 600ms var(--ease-expressive-enter) calc(var(--t-tail) + 100ms) both;
  }
}

@media (prefers-reduced-motion: no-preference) and (max-width: 1023px) {
  .steps[data-settle='wait'] .step::after {
    transform: scaleY(0);
  }
  .steps[data-settle='play'] .step::after {
    animation-name: draw-y;
  }
}

/* M4: depth. Scroll-driven, compositor-only, and absent where unsupported */
@keyframes depth-down {
  to {
    transform: translateY(var(--depth));
  }
}
@keyframes depth-across {
  from {
    transform: translateY(calc(var(--depth) * -1));
  }
  to {
    transform: translateY(var(--depth));
  }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero::before,
    .fig-margin {
      animation: depth-down linear both;
      animation-timeline: scroll(root);
      animation-range: 0px 800px;
    }
    .hero::before {
      --depth: 90px;
    }
    .fig-margin {
      --depth: 56px;
    }
    @media (min-width: 760px) {
      .src-doc {
        --depth: 56px;
        animation: depth-down linear both;
        animation-timeline: scroll(root);
        animation-range: 0px 800px;
      }
    }
    .report {
      view-timeline-name: --report;
    }
    .r-margin {
      --depth: 10px;
      animation: depth-across linear both;
      animation-timeline: --report;
      animation-range: cover 0% cover 100%;
    }
    .band {
      view-timeline-name: --band;
    }
    .band::before {
      --depth: 48px;
      animation: depth-across linear both;
      animation-timeline: --band;
      animation-range: cover 0% cover 100%;
    }
  }
}

@media print {
  .thread,
  .sweep,
  .menu,
  .nav-end,
  .skip {
    display: none !important;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  [data-settle] *,
  [data-settle],
  .band * {
    transform: none !important;
    opacity: 1 !important;
  }
}
