/* Rootfolio. One stylesheet for every page.
   Order: fonts, tokens, base, frame (header, footer), shared pieces, then each page. */

/* ---------- Fonts: served from this site, so a visit asks nobody else for anything ---------- */

@font-face {
  font-family: "Besley";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("fonts/besley-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: "Besley";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("fonts/besley-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Besley";
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url("fonts/besley-latin-wght-italic.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: "Besley";
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url("fonts/besley-latin-ext-wght-italic.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Libre Franklin";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/libre-franklin-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: "Libre Franklin";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/libre-franklin-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Libre Franklin";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/libre-franklin-latin-wght-italic.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: "Libre Franklin";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/libre-franklin-latin-ext-wght-italic.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Atkinson Hyperlegible Mono";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("fonts/atkinson-hyperlegible-mono-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: "Atkinson Hyperlegible Mono";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("fonts/atkinson-hyperlegible-mono-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Meddon";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/meddon-latin-400-normal.woff2") format("woff2");
}

/* ---------- Tokens ---------- */

:root {
  color-scheme: light;

  /* Whites, creams and light oranges do the work. Ink is the brown-black of old iron gall ink. */
  --white: #ffffff;
  --milk: #fffbf5;
  --cream: #fff3de;
  --peach: #ffe3c6;
  --apricot: #ffc88c;
  --tangerine: #f28c28;
  --rust: #a9400a;
  --ink: #2b1b10;
  --ink-2: #6a5443;
  --line: #f0dfc8;
  --line-2: #dcc4a4;

  /* The fan's rings, center outward. */
  --fan-1: #f28c28;
  --fan-2: #f6a14a;
  --fan-3: #f9b46b;
  --fan-4: #fcc78d;
  --fan-5: #ffd9b0;

  --display: "Besley", "Clarendon", Georgia, serif;
  --body: "Libre Franklin", "Franklin Gothic Medium", "Segoe UI", system-ui, sans-serif;
  --mono: "Atkinson Hyperlegible Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --hand: "Meddon", "Snell Roundhand", cursive;

  --t-small: 0.875rem;
  --t-body: clamp(1.03rem, 0.99rem + 0.2vw, 1.14rem);
  --t-lede: clamp(1.18rem, 1.08rem + 0.5vw, 1.4rem);
  --t-h3: clamp(1.28rem, 1.18rem + 0.5vw, 1.55rem);
  --t-h2: clamp(1.95rem, 1.45rem + 2.3vw, 3.2rem);
  --t-h1: clamp(2.55rem, 1.55rem + 4.6vw, 5.1rem);

  --gutter: clamp(1.25rem, 4vw, 3rem);
  --max: 1200px;
  --pad-y: clamp(3.75rem, 8vw, 6.75rem);

  --r-s: 8px;
  --r-m: 14px;
  --r-l: 22px;
  --r-xl: 34px;

  --shadow: 0 1px 2px rgb(120 60 10 / 0.07), 0 12px 28px -16px rgb(120 60 10 / 0.3);
  --shadow-lift: 0 2px 4px rgb(120 60 10 / 0.08), 0 26px 44px -22px rgb(120 60 10 / 0.42);
}

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

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  /* nothing decorative may ever make the page scroll sideways */
  overflow-x: clip;
  background: var(--milk);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--t-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--display);
  font-weight: 560;
  line-height: 1.08;
  letter-spacing: -0.018em;
  text-wrap: balance;
}

p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

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

p {
  text-wrap: pretty;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

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

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

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

::selection {
  background: var(--apricot);
  color: var(--ink);
}

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

.nowrap {
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  background: var(--ink);
  color: var(--milk);
  border-radius: var(--r-s);
}
.skip:focus {
  top: 1rem;
}

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

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--milk) 90%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
}

.site-header__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.5rem;
}

.brand {
  display: inline-flex;
  align-items: flex-end;
  gap: 0.55rem;
  text-decoration: none;
}
.brand__mark {
  width: 2.55rem;
  height: auto;
  margin-bottom: 0.22rem;
}
.brand__name {
  font-family: var(--display);
  font-weight: 640;
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: -0.025em;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2.4vw, 2.2rem);
}
.nav__link {
  position: relative;
  padding: 0.4rem 0;
  font-weight: 560;
  text-decoration: none;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  border-radius: 3px;
  background: var(--tangerine);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.nav__link:hover::after,
.nav__link[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.9rem;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  font-weight: 600;
  cursor: pointer;
}
.nav-toggle__bars {
  width: 1rem;
  height: 0.62rem;
  border-block: 2px solid currentColor;
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex;
  }
  .nav {
    position: absolute;
    inset: 100% 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem var(--gutter) 1.5rem;
    background: var(--milk);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 40px -30px rgb(120 60 10 / 0.35);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
  }
  .nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
  }
  .nav__link {
    padding: 0.95rem 0;
    font-family: var(--display);
    font-size: 1.5rem;
    border-bottom: 1px solid var(--line);
  }
  .nav__link::after {
    display: none;
  }
  .nav__cta {
    margin-top: 1.25rem;
    justify-content: center;
    padding: 0.9rem 1.2rem;
    font-size: 1.05rem;
  }
}

/* ---------- Buttons and links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 0.86em 1.5em;
  border: 0;
  border-radius: 999px;
  background: var(--tangerine);
  color: var(--ink);
  font-weight: 660;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  box-shadow: inset 0 -2px 0 rgb(80 30 0 / 0.16);
  transition: background 0.15s, transform 0.12s;
}
.btn:hover {
  background: #f79d42;
}
.btn:active {
  transform: translateY(1px);
}
.btn--small {
  padding: 0.56em 1.1em;
  font-size: 0.96rem;
}
.btn--ink {
  background: var(--ink);
  color: var(--milk);
  box-shadow: none;
}
.btn--ink:hover {
  background: #45301f;
}
.btn--quiet {
  background: transparent;
  box-shadow: inset 0 0 0 1.5px var(--ink);
}
.btn--quiet:hover {
  background: var(--cream);
}
.btn[aria-current="page"] {
  background: var(--ink);
  color: var(--milk);
  box-shadow: none;
}

.textlink {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-weight: 640;
  text-decoration: underline;
  text-decoration-color: var(--tangerine);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.3em;
}
.textlink:hover {
  text-decoration-color: var(--ink);
}
.arrow {
  width: 1em;
  height: 0.75em;
  flex: none;
  transition: transform 0.18s ease;
}
a:hover > .arrow,
a:hover .bundle__more .arrow {
  transform: translateX(4px);
}

.roundbtn {
  display: inline-grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
  transition: background 0.15s;
}
.roundbtn:hover {
  background: var(--apricot);
}
.roundbtn svg {
  width: 1rem;
  height: 1rem;
}

/* ---------- Type helpers ---------- */

.h2 {
  font-size: var(--t-h2);
}
.lede {
  font-size: var(--t-lede);
  line-height: 1.5;
  max-width: 36em;
}
.kicker {
  margin-bottom: 1.1rem;
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--rust);
}
.fineprint {
  margin-top: 1.75rem;
  color: var(--ink-2);
}
.caption {
  margin-top: 1.1rem;
  font-size: var(--t-small);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 44em;
}
.caption b {
  color: var(--ink);
}

/* ---------- Sections ---------- */

.section {
  padding-block: var(--pad-y);
}
.section--tight {
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
}
.section__head {
  display: grid;
  gap: 1.1rem;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
  max-width: 50rem;
}
.band--cream {
  background: var(--cream);
}
.band--peach {
  background: var(--peach);
}

/* ---------- the film ---------- */

.band--ink {
  background: var(--ink);
  color: #fdf1e1;
}
.band--ink .h2 {
  color: #fff6ea;
}
.band--ink .lede {
  color: rgb(253 241 225 / 0.74);
}
.film {
  display: grid;
}
.film__frame {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--r-l);
  box-shadow: 0 2px 4px rgb(0 0 0 / 0.25), 0 40px 90px -50px rgb(0 0 0 / 0.9);
}
.film__frame video {
  display: block;
  width: 100%;
  height: 100%;
}
.film__words {
  margin-top: 1.2rem;
  max-width: 50rem;
  font-size: var(--t-small);
  color: rgb(253 241 225 / 0.62);
}
.film__words summary {
  cursor: pointer;
  width: fit-content;
  color: rgb(253 241 225 / 0.82);
}
.film__words summary:hover {
  color: #fff6ea;
}
.film__words p {
  margin: 0.7rem 0 0;
}

.rail {
  display: grid;
  gap: 2rem clamp(2rem, 6vw, 5.5rem);
}
.rail__head {
  display: grid;
  gap: 1.1rem;
  align-content: start;
}
@media (min-width: 940px) {
  .rail {
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.4fr);
    align-items: start;
  }
  .rail__head {
    position: sticky;
    top: 6.5rem;
  }
}
.rail__head .fineprint {
  margin-top: 0;
}

.split {
  display: grid;
  gap: clamp(2.25rem, 5vw, 5rem);
  align-items: center;
}
@media (min-width: 940px) {
  .split {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }
  .split--chart {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}
.split__text {
  display: grid;
  gap: 1.3rem;
  justify-items: start;
}

.points {
  display: grid;
  gap: 1.05rem;
  margin-block: 0.4rem 0.5rem;
}
.points > div {
  display: grid;
  grid-template-columns: 0.85rem 1fr;
  column-gap: 0.9rem;
}
.points > div::before {
  content: "";
  grid-row: span 2;
  width: 0.85rem;
  height: 0.43rem;
  margin-top: 0.62em;
  border-radius: 0.85rem 0.85rem 0 0;
  background: var(--tangerine);
}
.points dt {
  font-weight: 700;
}
.points dd {
  grid-column: 2;
  color: var(--ink-2);
}

/* ---------- Grades: the same three looks everywhere (solid, hatched, dashed) ---------- */

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.42em 0.62em 0.38em;
  border: 1.5px solid transparent;
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 650;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  vertical-align: 0.12em;
}
.chip--proved {
  background: var(--apricot);
}
.chip--you {
  background: var(--tangerine);
}
.chip--probable {
  border-color: #f2a65c;
  background: repeating-linear-gradient(45deg, #ffeedb 0 5px, #fbd2a6 5px 7.5px);
}
.chip--open {
  border: 1.5px dashed #c97524;
  background: var(--white);
}
.chip--possible {
  border-color: var(--line-2);
  background: var(--white);
}
.chip--rejected {
  border-color: var(--line-2);
  background: var(--white);
  color: var(--ink-2);
  text-decoration: line-through;
}

.tag {
  display: inline-block;
  min-width: 3.9em;
  padding: 0.3em 0.45em 0.26em;
  border: 1.5px solid var(--ink);
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 650;
  line-height: 1;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
}
.tag--read {
  background: var(--ink);
  color: var(--milk);
}
.tag--index {
  background: var(--white);
}
.tag--lead {
  border-style: dashed;
  background: var(--white);
  color: var(--ink-2);
}

.swatch {
  display: inline-block;
  width: 1.5rem;
  height: 0.95rem;
  border-radius: 4px;
}
.swatch--proved {
  background: var(--fan-3);
}
.swatch--probable {
  background: repeating-linear-gradient(45deg, #ffead3 0 4px, #f7ab61 4px 6.5px);
}
.swatch--open {
  background: #fffaf2;
  border: 1.5px dashed #c97524;
}

/* ---------- Home: hero and the fan ---------- */

.hero {
  padding-top: clamp(1.5rem, 3vw, 2rem);
  overflow-x: clip;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "copy" "stage" "cards";
  column-gap: clamp(2rem, 5vw, 4.5rem);
}
.hero__copy {
  grid-area: copy;
  display: grid;
  gap: 1.25rem;
  justify-items: start;
  align-content: start;
}
.hero__title {
  font-size: clamp(2.55rem, 0.9rem + 4.6vw, 4.55rem);
  line-height: 0.99;
  letter-spacing: -0.03em;
}
.hero__title em {
  font-weight: 500;
  color: var(--rust);
}
.hero__lede {
  font-size: var(--t-lede);
  line-height: 1.46;
  max-width: 31em;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
  margin-top: 0.3rem;
}

.fan__stage {
  grid-area: stage;
  justify-self: center;
  /* As wide as the page allows, but never so tall that the fan runs off a short screen. */
  width: min(100%, 1060px, max(520px, calc((100svh - 30rem) * 2)));
  margin-top: clamp(1.5rem, 3vw, 2rem);
  container-type: inline-size;
}
.fan__svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.fan__cards {
  grid-area: cards;
}

@media (min-width: 980px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
    grid-template-areas: "copy cards" "stage stage";
    align-items: start;
  }
  .fan__cards {
    min-height: 19rem;
  }
}
@media (max-width: 979.98px) {
  /* On a narrow screen the card follows the fan and sits on the same ground. */
  .fan__stage {
    width: 100%;
  }
  .fan__cards {
    margin-inline: calc(var(--gutter) * -1);
    padding: 1.4rem var(--gutter) 0;
    background: var(--cream);
  }
}

.fan__w {
  cursor: pointer;
  outline: none;
  transform-box: view-box;
  transform-origin: 500px 490px;
  animation: fan-in 0.75s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  animation-delay: calc((var(--g) - 1) * 130ms + var(--i) * 14ms);
}
@keyframes fan-in {
  from {
    opacity: 0;
    transform: scale(0.93);
  }
}

.fan__shape {
  stroke-width: 6;
  stroke-linejoin: round;
  transition: filter 0.15s;
}
.fan__w[data-g="1"] .fan__shape {
  fill: var(--fan-1);
  stroke: var(--fan-1);
}
.fan__w[data-g="2"][data-status="proved"] .fan__shape {
  fill: var(--fan-2);
  stroke: var(--fan-2);
}
.fan__w[data-g="3"][data-status="proved"] .fan__shape {
  fill: var(--fan-3);
  stroke: var(--fan-3);
}
.fan__w[data-g="4"][data-status="proved"] .fan__shape {
  fill: var(--fan-4);
  stroke: var(--fan-4);
}
.fan__w[data-g="5"][data-status="proved"] .fan__shape {
  fill: var(--fan-5);
  stroke: var(--fan-5);
}
.fan__w[data-status="probable"] .fan__shape {
  stroke: #ffead3;
}
.fan__w[data-status="open"] .fan__shape {
  fill: #fffaf2;
  stroke: #d4802f;
  stroke-width: 2;
  stroke-dasharray: 8 7;
  stroke-linecap: round;
}
.fan__w:hover .fan__shape {
  filter: brightness(1.04) saturate(1.25);
}
.fan__w[data-status="open"]:hover .fan__shape {
  fill: var(--peach);
  filter: none;
}
.fan__w:focus-visible .fan__shape {
  filter: brightness(1.04) saturate(1.25);
}

.fan__sel {
  fill: none;
  stroke: var(--ink);
  stroke-width: 4;
  stroke-linejoin: round;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}
.fan.is-ready .fan__sel {
  opacity: 1;
}

.fan__name {
  font-family: var(--body);
  font-weight: 620;
  fill: var(--ink);
  pointer-events: none;
}
.fan__you {
  font-family: var(--display);
  font-weight: 660;
  font-size: 31px;
  letter-spacing: -0.02em;
  fill: var(--ink);
  pointer-events: none;
}

/* Names drop away ring by ring as the fan gets too small to read them. */
@container (max-width: 830px) {
  .fan__w[data-g="5"] .fan__name {
    display: none;
  }
}
@container (max-width: 700px) {
  .fan__w[data-g="4"] .fan__name {
    display: none;
  }
}
@container (max-width: 560px) {
  .fan__w[data-g="3"] .fan__name,
  .fan__w[data-g="2"] .fan__name {
    display: none;
  }
}

.fan__ground {
  padding-block: 1.4rem clamp(1.6rem, 3vw, 2.2rem);
  background: var(--cream);
}
.fan__below {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2.5rem;
}

.fan-card {
  display: grid;
  gap: 0.55rem;
  padding: clamp(1.15rem, 2vw, 1.45rem) clamp(1.2rem, 2.4vw, 1.7rem);
  background: var(--white);
  border-radius: var(--r-l);
  box-shadow: var(--shadow);
  font-size: 0.98rem;
  line-height: 1.48;
}
.fan-card[hidden] {
  display: none;
}
.fan-card__top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.fan-card__no {
  font-family: var(--mono);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-2);
}
.fan-card__name {
  font-size: clamp(1.55rem, 1.3rem + 1vw, 1.95rem);
}
.fan-card__meta {
  font-size: 0.94rem;
  color: var(--ink-2);
}
.fan-card__note {
  max-width: 44em;
}
.fan-card__src {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.5rem;
}
.fan-card__src li {
  padding: 0.3em 0.65em;
  background: var(--cream);
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 0.8rem;
}
.fan-card__next {
  font-size: 0.94rem;
  color: var(--ink-2);
}
.fan-card__next b {
  color: var(--ink);
  margin-right: 0.35em;
}

.fan-pager {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.fan-pager[hidden] {
  display: none;
}
.fan-pager__count {
  min-width: 4.6em;
  font-family: var(--mono);
  font-size: 0.9rem;
  text-align: center;
  color: var(--ink-2);
}
.fan-pager__count b {
  color: var(--ink);
}
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.4rem;
}
.legend li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}
.fan__note {
  flex: 1 1 22rem;
  font-size: var(--t-small);
  line-height: 1.5;
  color: var(--ink-2);
}

/* ---------- Home: the sample report page ---------- */

.split__figure {
  min-width: 0;
}
.paper {
  position: relative;
  display: grid;
  gap: 0.7rem;
  padding: clamp(1.35rem, 3vw, 2.4rem);
  background: var(--white);
  border-radius: var(--r-m);
  box-shadow: var(--shadow-lift);
  font-size: 0.98rem;
  line-height: 1.55;
}
.paper::before {
  /* the page underneath */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--cream);
  border-radius: var(--r-m);
  transform: rotate(2deg) translate(0.5rem, 0.35rem);
}
@media (max-width: 600px) {
  .paper::before {
    transform: rotate(1deg) translate(0.2rem, 0.3rem);
  }
}
.paper__head {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--ink-2);
}
.paper__q {
  font-size: clamp(1.4rem, 1.2rem + 0.9vw, 1.85rem);
}
.paper__verdict {
  padding: 0.85rem 1rem;
  background: var(--cream);
  border-radius: var(--r-s);
}
.paper__verdict .chip {
  margin-right: 0.45rem;
}
.paper__label {
  margin-top: 0.55rem;
  font-family: var(--body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--rust);
}
.evidence {
  display: grid;
  gap: 0.5rem;
}
.evidence li {
  display: grid;
  grid-template-columns: 1.7rem auto 1fr;
  gap: 0.6rem;
  align-items: baseline;
}
.evidence__id {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--ink-2);
}

/* ---------- Bundles (cards on the home page) ---------- */

.bundles {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}
.bundle {
  display: grid;
}
.bundle__link {
  display: grid;
  grid-template-rows: auto auto 1fr auto auto;
  gap: 0.5rem;
  padding: 1.5rem 1.5rem 1.4rem;
  background: var(--white);
  border-radius: var(--r-l);
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.bundle__link:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}
.scope {
  display: block;
  width: 6.4rem;
  height: auto;
  margin-bottom: 0.6rem;
}
.scope .on {
  fill: var(--tangerine);
}
.scope .off {
  fill: var(--peach);
}
.scope--page .sheet {
  fill: var(--peach);
}
.scope--page .fold {
  fill: var(--tangerine);
}
.scope--page .ink {
  fill: none;
  stroke: var(--rust);
  stroke-width: 1.7;
  stroke-linecap: round;
}
.bundle__name {
  font-size: 1.45rem;
}
.bundle__line {
  color: var(--ink-2);
  line-height: 1.45;
}
.bundle__price {
  margin-top: 0.9rem;
  font-family: var(--display);
  font-weight: 560;
  font-size: 3.1rem;
  line-height: 1;
  letter-spacing: -0.03em;
}
.price__unit {
  display: block;
  margin-top: 0.45rem;
  font-family: var(--body);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
  color: var(--ink-2);
}
.bundle__cur {
  margin-right: 0.06em;
  font-size: 0.5em;
  vertical-align: 0.68em;
  color: var(--rust);
}
.bundle__more {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  margin-top: 0.35rem;
  font-weight: 640;
  font-size: 0.98rem;
}

/* ---------- Charts drawn as tables ---------- */

.chartcard {
  padding: clamp(1.25rem, 2.6vw, 2rem);
  background: var(--white);
  border-radius: var(--r-l);
  box-shadow: var(--shadow);
}
.chartcard__title {
  font-family: var(--body);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.3;
}
.chartcard__sub {
  margin-top: 0.2rem;
  margin-bottom: 1.1rem;
  font-size: var(--t-small);
  color: var(--ink-2);
}
.chartcard__foot {
  margin-top: 1rem;
  font-size: var(--t-small);
  color: var(--ink-2);
}

.key {
  display: inline-block;
  width: 0.72rem;
  height: 0.72rem;
  margin-right: 0.55rem;
  border-radius: 50%;
  background: var(--c);
  vertical-align: -0.02em;
}

.num {
  text-align: right;
  font-family: var(--mono);
  font-size: 0.93em;
}

.rowchart {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  line-height: 1.3;
}
.rowchart th,
.rowchart td {
  padding: 0.55rem 0;
  vertical-align: middle;
}
.rowchart thead th {
  padding-bottom: 0.3rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-2);
  text-align: left;
  vertical-align: bottom;
}
.rowchart thead th.num {
  text-align: right;
  font-family: var(--body);
  font-size: 0.78rem;
}
.rowchart tbody th {
  padding-right: 1rem;
  font-weight: 600;
  text-align: left;
}
.rowchart small {
  display: block;
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--ink-2);
}
.rowchart tbody th small {
  margin-left: 1.27rem;
}
.rowchart--models tbody th,
.rowchart--audit tbody th {
  white-space: nowrap;
}
.rowchart .num {
  padding-left: 1rem;
  white-space: nowrap;
}
.rowchart__plothead {
  position: relative;
  width: 46%;
}
.plot-axis {
  position: relative;
  display: block;
  height: 1.2em;
}
.plot-axis i {
  position: absolute;
  bottom: 0;
  transform: translateX(-50%);
  font-style: normal;
  font-family: var(--mono);
  white-space: nowrap;
}
.plot-axis i:last-child {
  transform: translateX(-100%);
}
.plot {
  position: relative;
  height: 2.3rem;
  background-image: linear-gradient(to right, var(--line) 1px, transparent 1px);
  background-repeat: repeat-x;
  border-right: 1px solid var(--line);
}
.plot--fifths {
  background-size: 20% 100%;
}
.plot--quarters {
  background-size: 25% 100%;
}
.plot__bar {
  position: absolute;
  top: 50%;
  height: 3px;
  margin-top: -1.5px;
  border-radius: 3px;
  background: var(--c, var(--tangerine));
  opacity: 0.55;
}
.plot__bar--range {
  height: 8px;
  margin-top: -4px;
  border-radius: 8px;
  background: var(--apricot);
  opacity: 1;
}
.plot__bar--link {
  background: var(--ink-2);
  opacity: 0.5;
}
.plot__dot {
  position: absolute;
  top: 50%;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border: 2px solid var(--white);
  border-radius: 50%;
  background: var(--c, var(--rust));
}
.plot__dot--hollow {
  background: var(--white);
  border: 2px solid var(--ink-2);
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
}

/* ---------- Home: stance ---------- */

.beliefs {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem) clamp(2rem, 6vw, 5rem);
  margin-bottom: 2.5rem;
}
@media (min-width: 720px) {
  .beliefs {
    grid-template-columns: 1fr 1fr;
  }
}
.beliefs h3 {
  margin-bottom: 0.55rem;
  font-size: var(--t-h3);
}
.beliefs p {
  color: var(--ink-2);
  max-width: 30em;
}

/* ---------- The closing arch ---------- */

.closing {
  padding-top: clamp(1rem, 3vw, 2.5rem);
  overflow: hidden;
}
.band + .closing {
  background: var(--cream);
}
.band--peach + .closing {
  background: var(--peach);
}
.closing__arch {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 1.15rem;
  padding: clamp(5rem, 13vw, 9.5rem) clamp(1.5rem, 12vw, 9rem) clamp(2.75rem, 6vw, 4.5rem);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  background: var(--apricot);
  text-align: center;
  overflow: hidden;
}
.closing__rings {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: rgb(255 255 255 / 0.45);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
  pointer-events: none;
}
.closing__title {
  position: relative;
  font-size: var(--t-h2);
  max-width: 14em;
}
.closing__text {
  position: relative;
  font-size: var(--t-lede);
  line-height: 1.45;
  max-width: 27em;
}
.closing .btn {
  position: relative;
  margin-top: 0.5rem;
}

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

.site-footer {
  padding-block: clamp(2.5rem, 5vw, 3.75rem) 1.75rem;
  background: var(--white);
}
.site-footer__in {
  display: grid;
  gap: 2.25rem;
}
@media (min-width: 760px) {
  .site-footer__in {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}
.site-footer__brand p {
  margin-top: 0.8rem;
  max-width: 18em;
  color: var(--ink-2);
}
.site-footer__nav {
  display: grid;
  gap: 0.55rem;
  align-content: start;
  justify-items: start;
}
.site-footer__nav a,
.site-footer__mail {
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.site-footer__nav a {
  font-weight: 560;
}
.site-footer__nav a:hover,
.site-footer__mail:hover {
  border-bottom-color: var(--tangerine);
}
.site-footer__contact p {
  margin-bottom: 0.4rem;
  color: var(--ink-2);
}
.site-footer__mail {
  font-family: var(--display);
  font-weight: 560;
  font-size: 1.3rem;
}
.site-footer__fine {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  margin-top: 2.5rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--line);
  font-size: var(--t-small);
  color: var(--ink-2);
}

/* ---------- Page heads (every page but home) ---------- */

.pagehead {
  padding-block: clamp(3rem, 7vw, 6rem) clamp(2rem, 4vw, 3rem);
}
.pagehead__title {
  font-size: var(--t-h1);
  line-height: 1;
  letter-spacing: -0.03em;
  max-width: 14em;
}
.pagehead__title em {
  font-weight: 500;
  color: var(--rust);
}
.pagehead__lede {
  margin-top: 1.6rem;
  font-size: var(--t-lede);
  line-height: 1.5;
  max-width: 36em;
}
.pagehead__lede + .pagehead__lede {
  margin-top: 1rem;
}

/* ---------- Bundles page ---------- */

.offers {
  display: grid;
  gap: 1.25rem;
}
.offer {
  display: grid;
  gap: 1.5rem 2.5rem;
  padding: clamp(1.4rem, 3vw, 2.4rem);
  background: var(--white);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow);
  scroll-margin-top: 6rem;
}
@media (min-width: 900px) {
  .offer {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(11.5rem, auto);
    align-items: start;
  }
}
.offer:target {
  box-shadow: 0 0 0 3px var(--tangerine), var(--shadow-lift);
}
.offer__name {
  font-size: clamp(1.7rem, 1.4rem + 1.3vw, 2.3rem);
}
.offer__line {
  margin-top: 0.5rem;
  font-size: 1.12rem;
  line-height: 1.4;
  color: var(--ink-2);
}
.offer__good {
  margin-top: 1.1rem;
  font-size: 0.96rem;
  line-height: 1.5;
  color: var(--ink-2);
}
.offer__good b {
  display: block;
  color: var(--ink);
}
.ticks {
  display: grid;
  gap: 0.6rem;
}
.ticks li {
  position: relative;
  padding-left: 1.7rem;
  line-height: 1.45;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0.1rem;
  top: 0.42em;
  width: 0.95rem;
  height: 0.48rem;
  border-radius: 0.95rem 0.95rem 0 0;
  background: var(--tangerine);
}
.offer__buy {
  display: grid;
  gap: 1rem;
  justify-items: start;
  align-content: start;
}
@media (min-width: 900px) {
  .offer__buy {
    justify-items: end;
    text-align: right;
  }
}
.offer__price {
  font-family: var(--display);
  font-weight: 560;
  font-size: clamp(3.2rem, 2.6rem + 2vw, 4.4rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
}
.offer__when {
  max-width: 12.5rem;
  margin-top: -0.3rem;
  font-size: 0.93rem;
  line-height: 1.4;
  color: var(--ink-2);
}

/* Us beside the research firms: three tiles, then a chart of their published prices. */

.versus {
  display: grid;
  gap: 1rem;
}
@media (min-width: 760px) {
  .versus {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.versus li {
  display: grid;
  gap: 0.9rem;
  align-content: start;
  padding: 1.4rem 1.5rem 1.5rem;
  background: var(--white);
  border-radius: var(--r-l);
  box-shadow: var(--shadow);
}
.versus__label {
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rust);
}
.versus__them,
.versus__us {
  display: grid;
  gap: 0.15rem;
}
.versus__who,
.versus small {
  font-size: 0.86rem;
  line-height: 1.35;
  color: var(--ink-2);
}
.versus__them b {
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink-2);
}
.versus__us {
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
}
.versus__us b {
  font-family: var(--display);
  font-weight: 560;
  font-size: clamp(2.3rem, 1.9rem + 1.6vw, 3.1rem);
  line-height: 1;
  letter-spacing: -0.03em;
}
.versusblock {
  display: grid;
  gap: 1.4rem;
  justify-items: start;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.versusblock .versus {
  width: 100%;
}
.versusblock__title {
  font-size: var(--t-h3);
}

.chartcard--compare {
  margin-top: 1.25rem;
}
.chartcard__foot a {
  text-decoration: underline;
  text-decoration-color: var(--line-2);
  text-underline-offset: 0.2em;
}
.chartcard__foot a:hover {
  text-decoration-color: var(--tangerine);
}
.pricechart {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 0.98rem;
  line-height: 1.3;
}
.pricechart thead th:nth-child(1) {
  width: 17rem;
}
.pricechart thead th:nth-child(3) {
  width: 6.5rem;
}
.pricechart thead th:nth-child(4) {
  width: 11rem;
  padding-left: 1.75rem;
}
.pricechart th,
.pricechart td {
  padding: 0.75rem 0;
  text-align: left;
  vertical-align: middle;
}
.pricechart thead th {
  padding-bottom: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-2);
}
.pricechart thead th.num {
  font-family: var(--body);
  font-size: 0.78rem;
  text-align: right;
}
.pricechart tbody tr {
  border-top: 1px solid var(--line);
}
.pricechart tbody th {
  width: 17rem;
  padding-right: 1.25rem;
  font-weight: 600;
}
.pricechart small {
  display: block;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--ink-2);
}
.pricebar {
  display: block;
  width: var(--w);
  min-width: 4px;
  height: 0.95rem;
  border-radius: 0 4px 4px 0;
  background: var(--line-2);
}
.pricechart .num {
  padding-left: 1.25rem;
  font-size: 1rem;
  text-align: right;
  white-space: nowrap;
}
.pricechart td.pricechart__time {
  padding-left: 1.75rem;
  white-space: nowrap;
}
.pricechart__none {
  color: var(--ink-2);
}
.pricechart .is-us .pricebar {
  background: var(--tangerine);
}
.pricechart .is-us .num,
.pricechart .is-us .pricechart__time {
  font-weight: 700;
}
@media (max-width: 680px) {
  .pricechart thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .pricechart,
  .pricechart tbody {
    display: block;
  }
  .pricechart tbody tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.45rem 1rem;
    padding: 0.9rem 0;
  }
  .pricechart th,
  .pricechart td {
    padding: 0;
  }
  .pricechart tbody th {
    width: auto;
    padding-right: 0;
  }
  .pricechart .num {
    grid-column: 2;
    grid-row: 1;
    padding-left: 0;
  }
  .pricechart__plot,
  .pricechart__time {
    grid-column: 1 / -1;
  }
  .pricechart td.pricechart__time {
    padding-left: 0;
    font-size: 0.9rem;
  }
  .pricechart__time::before {
    content: attr(data-label) ": ";
    color: var(--ink-2);
    font-weight: 400;
  }
}

.pick {
  display: grid;
  gap: 1.1rem;
  margin-top: 1.25rem;
}
@media (min-width: 820px) {
  .pick {
    grid-template-columns: 1fr 1fr;
  }
}
.pick__col {
  display: grid;
  gap: 1rem;
  align-content: start;
  padding: clamp(1.4rem, 2.6vw, 2rem);
  background: var(--white);
  border-radius: var(--r-l);
  box-shadow: var(--shadow);
}
.pick__col--them {
  background: transparent;
  border: 2px dashed #d4802f;
  box-shadow: none;
}
.pick__col h3 {
  font-size: 1.3rem;
}
.ticks--open li {
  color: var(--ink-2);
}
.ticks--open li::before {
  background: transparent;
  border: 2px solid #d4802f;
  border-bottom: 0;
}

/* DNA: the worked example, the three promises, and the pieces of the privacy notice. */

.scope--dna .on:first-child {
  fill: var(--rust);
}
.dnacase {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}
@media (min-width: 940px) {
  .dnacase {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  }
}
.dnacase__text {
  display: grid;
  gap: 1.25rem;
}
.dnacase__verdict {
  background: var(--white);
  line-height: 2;
}
.dnacase__verdict span {
  margin-right: 0.45rem;
  color: var(--ink-2);
}
.dnacase .caption {
  margin-top: 0;
}
.matchchart {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 0.96rem;
  line-height: 1.3;
}
.matchchart th,
.matchchart td {
  padding: 0.32rem 0;
  text-align: left;
  vertical-align: middle;
}
.matchchart__who {
  width: 3.6rem;
}
.matchchart__cm {
  width: 5.6rem;
}
.matchchart tbody th[scope="row"] {
  font-family: var(--mono);
  font-size: 0.9rem;
  font-weight: 400;
}
.matchchart .num {
  text-align: right;
  white-space: nowrap;
}
.matchchart__line th {
  padding-top: 0.95rem;
  font-weight: 700;
}
.matchchart tbody:first-of-type .matchchart__line th {
  padding-top: 0;
}
.matchchart__line small {
  margin-left: 0.5rem;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--ink-2);
}
.matchchart tbody + tbody .matchchart__line th {
  border-top: 1px solid var(--line);
}
.matchchart .is-open .pricebar {
  background: var(--tangerine);
}
.matchchart .is-open .matchchart__line th {
  color: var(--rust);
}
.matchchart .is-open .num {
  font-weight: 700;
}
@media (max-width: 480px) {
  .matchchart__line small {
    display: block;
    margin-left: 0;
  }
}

.pledges {
  display: grid;
  gap: 1rem;
  margin-top: clamp(2rem, 4vw, 3rem);
}
@media (min-width: 820px) {
  .pledges {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.pledges li {
  display: grid;
  gap: 0.55rem;
  align-content: start;
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--r-l);
  box-shadow: var(--shadow);
}
.pledges h3 {
  font-size: 1.3rem;
}
.pledges p {
  color: var(--ink-2);
}

.dnacard {
  display: grid;
  gap: 0.75rem 1.75rem;
  align-items: center;
  margin-top: 1.1rem;
  padding: 1.5rem clamp(1.4rem, 3vw, 2rem);
  background: var(--white);
  border-radius: var(--r-l);
  box-shadow: var(--shadow);
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.dnacard:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
}
.dnacard .scope {
  margin-bottom: 0;
}
.dnacard__text {
  display: grid;
  gap: 0.3rem;
}
.dnacard__text b {
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 560;
}
.dnacard__text span {
  color: var(--ink-2);
  line-height: 1.45;
  max-width: 40em;
}
.dnacard__price {
  font-family: var(--display);
  font-weight: 560;
  font-size: 3.1rem;
  line-height: 1;
  letter-spacing: -0.03em;
}
.dnacard .bundle__more {
  margin-top: 0;
}
@media (min-width: 900px) {
  .dnacard {
    grid-template-columns: auto minmax(0, 1fr) auto auto;
  }
}

.pagehead__lede--small {
  font-size: 1rem;
  color: var(--ink-2);
}
.ledger {
  width: 100%;
  border-collapse: collapse;
  line-height: 1.45;
}
.ledger th,
.ledger td {
  padding: 0.85rem 1.25rem 0.85rem 0;
  border-top: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.ledger thead th {
  padding-top: 0;
  border-top: 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-2);
}
.ledger tbody th {
  width: 9rem;
  font-weight: 700;
}
.ledger td:last-child {
  padding-right: 0;
  color: var(--ink-2);
}
@media (max-width: 640px) {
  .ledger thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .ledger,
  .ledger tbody,
  .ledger tr,
  .ledger th,
  .ledger td {
    display: block;
  }
  .ledger tr {
    padding: 0.9rem 0;
    border-top: 1px solid var(--line);
  }
  .ledger tr:first-child {
    padding-top: 0;
    border-top: 0;
  }
  .ledger th,
  .ledger td {
    width: auto;
    padding: 0;
    border: 0;
  }
  .ledger td {
    margin-top: 0.3rem;
  }
  .ledger td:last-child::before {
    content: attr(data-label) ": ";
    font-weight: 650;
    color: var(--ink);
  }
}
.consent {
  display: grid;
  gap: 1rem;
  margin-top: 0.4rem;
}
.consent li {
  display: grid;
  grid-template-columns: 1.35rem 1fr;
  gap: 0.85rem;
  align-items: start;
}
.consent__box {
  width: 1.35rem;
  height: 1.35rem;
  margin-top: 0.15rem;
  border: 2px solid var(--ink);
  border-radius: 5px;
}
.field__hint--after {
  margin-top: 0.75rem;
}
.field__hint--after a {
  text-decoration: underline;
  text-decoration-color: var(--tangerine);
  text-underline-offset: 0.2em;
}

/* The reading demo: a page in an old hand, and what comes back for it. */

.reading {
  display: grid;
  gap: 1.5rem;
  align-items: stretch;
}
@media (min-width: 940px) {
  .reading {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  }
}
.reading__page {
  container-type: inline-size;
}
.register {
  position: relative;
  display: grid;
  align-content: start;
  gap: 1.6rem;
  height: 100%;
  padding: clamp(1.4rem, 3vw, 2.3rem) clamp(1rem, 2.5vw, 2rem) 0;
  background:
    radial-gradient(120% 80% at 100% 100%, rgb(190 120 50 / 0.16), transparent 60%),
    radial-gradient(60% 50% at 0% 0%, rgb(190 120 50 / 0.1), transparent 70%),
    #fbeccf;
  border-radius: 6px;
  box-shadow: var(--shadow-lift);
  color: #3b2412;
  overflow: hidden;
}
.register::before {
  /* the ruled line between the margin and the entries */
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(clamp(1rem, 2.5vw, 2rem) + var(--margin));
  border-left: 1.5px solid rgb(120 70 30 / 0.4);
}
.register {
  --margin: clamp(3.3rem, 15cqw, 5.2rem);
}
.register__entry {
  display: grid;
  grid-template-columns: var(--margin) 1fr;
}
.register__entry--next {
  opacity: 0.5;
  margin-bottom: -2.4rem;
}
.register__margin {
  display: grid;
  align-content: start;
  gap: 0.2rem;
  padding-right: 0.5rem;
  font-family: var(--hand);
  font-size: clamp(0.5rem, 2.1cqw, 0.82rem);
  line-height: 2.1;
}
.register__lines {
  display: grid;
  gap: 0.15rem;
  padding-left: clamp(0.6rem, 2vw, 1.4rem);
  font-family: var(--hand);
  /* one line of the entry is about 27.6 em wide in this hand */
  font-size: clamp(0.45rem, calc((100cqw - var(--margin) - 3.4rem) / 27.6), 1.02rem);
  line-height: 2.5;
  white-space: nowrap;
}
.register__lines li,
.lines li {
  border-radius: 4px;
  transition: background 0.15s;
}
.register__lines li.is-lit {
  background: rgb(242 140 40 / 0.24);
}
.smudge {
  position: relative;
  opacity: 0.55;
}
.smudge::after {
  content: "";
  position: absolute;
  inset: -0.2em -0.5em -0.2em 0.9em;
  border-radius: 45% 60% 50% 55%;
  background: radial-gradient(closest-side, rgb(120 70 30 / 0.5), rgb(120 70 30 / 0.12) 70%, transparent);
  filter: blur(2px);
}
.reading__out {
  container-type: inline-size;
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--white);
  border-radius: var(--r-l);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.tabs {
  display: flex;
  gap: 0.35rem;
  padding: 0.6rem;
  background: var(--peach);
  overflow-x: auto;
}
.tabs button {
  flex: none;
  padding: 0.55rem 1rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-weight: 620;
  cursor: pointer;
  transition: background 0.15s;
}
.tabs button:hover {
  background: rgb(255 255 255 / 0.55);
}
.tabs button[aria-selected="true"],
.tabs button[aria-pressed="true"] {
  background: var(--white);
  box-shadow: 0 1px 2px rgb(120 60 10 / 0.18);
}
.tabpanel {
  padding: clamp(1.2rem, 2.6vw, 1.9rem);
}
.tabpanel[hidden] {
  display: none;
}
.lines {
  display: grid;
  gap: 0.1rem;
  counter-reset: line;
  font-family: var(--mono);
  /* the longest line is 43 characters; shrink before it would wrap */
  font-size: clamp(0.6rem, calc((100cqw - 6rem) / 26.4), 0.95rem);
  line-height: 1.5;
  white-space: nowrap;
}
@container (max-width: 21rem) {
  .lines {
    font-size: 0.7rem;
    white-space: normal;
  }
}
.lines li {
  counter-increment: line;
  display: grid;
  grid-template-columns: 1.6rem 1fr;
  padding: 0.3rem 0.4rem;
  cursor: default;
}
.lines li::before {
  content: counter(line);
  color: var(--ink-2);
}
.lines li.is-lit {
  background: var(--peach);
}
.unsure {
  padding: 0 0.15em;
  border-radius: 3px;
  background: var(--peach);
  box-shadow: inset 0 -2px 0 var(--tangerine);
}
.english {
  font-size: 1.08rem;
  line-height: 1.65;
}
.people {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.96rem;
}
.people th,
.people td {
  padding: 0.5rem 0.75rem 0.5rem 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: baseline;
}
.people thead th {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-2);
}
.people tbody th {
  font-weight: 700;
  white-space: nowrap;
}
.people td:nth-child(2) {
  font-family: var(--mono);
  font-size: 0.86rem;
  color: var(--ink-2);
}
.tabnote {
  margin-top: 1rem;
  font-size: var(--t-small);
  line-height: 1.55;
  color: var(--ink-2);
}

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

.steps {
  display: grid;
  gap: 0;
  counter-reset: step;
}
.steps li {
  position: relative;
  display: grid;
  grid-template-columns: 3.4rem 1fr;
  column-gap: 1.25rem;
  padding-bottom: 2rem;
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  background: var(--apricot);
  font-family: var(--display);
  font-weight: 620;
  font-size: 1.5rem;
  z-index: 1;
}
.steps li::after {
  content: "";
  position: absolute;
  left: calc(1.7rem - 1.5px);
  top: 3.4rem;
  bottom: 0;
  width: 3px;
  background: var(--apricot);
}
.steps li:last-child {
  padding-bottom: 0;
}
.steps li:last-child::after {
  display: none;
}
.steps h3 {
  padding-top: 0.55rem;
  font-size: var(--t-h3);
}
.steps p {
  grid-column: 2;
  margin-top: 0.4rem;
  color: var(--ink-2);
}

.notyet {
  display: grid;
  gap: 1.1rem;
}
@media (min-width: 820px) {
  .notyet {
    grid-template-columns: repeat(3, 1fr);
  }
}
.notyet li {
  padding: 1.5rem;
  border: 2px dashed #d4802f;
  border-radius: var(--r-l);
  background: rgb(255 255 255 / 0.5);
}
.notyet h3 {
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}
.notyet p {
  color: var(--ink-2);
}

.faq {
  display: grid;
  gap: 0.75rem;
}
.faq details {
  background: var(--white);
  border-radius: var(--r-m);
  box-shadow: var(--shadow);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.15rem 1.4rem;
  font-family: var(--display);
  font-weight: 560;
  font-size: 1.22rem;
  line-height: 1.25;
  letter-spacing: -0.012em;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "";
  flex: none;
  width: 0.95rem;
  height: 0.95rem;
  background:
    linear-gradient(var(--rust), var(--rust)) center / 100% 2.5px no-repeat,
    linear-gradient(var(--rust), var(--rust)) center / 2.5px 100% no-repeat;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details p {
  padding: 0 1.4rem 1.3rem;
  max-width: 44em;
  color: var(--ink-2);
}

/* ---------- Labs ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
  gap: 1.4rem 1.75rem;
  margin-top: clamp(2.25rem, 5vw, 3.5rem);
}
.stat {
  display: grid;
  gap: 0.15rem;
  padding-top: 0.9rem;
  border-top: 3px solid var(--apricot);
}
.stat__value {
  font-size: clamp(1.7rem, 1.4rem + 1.2vw, 2.3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.stat__label {
  font-size: 0.92rem;
  line-height: 1.35;
  color: var(--ink-2);
}

.findings {
  display: grid;
  gap: 1.1rem;
}
@media (min-width: 900px) {
  .findings {
    grid-template-columns: 1.25fr 1fr 1fr;
  }
}
.finding {
  display: grid;
  gap: 0.5rem;
  align-content: start;
  padding: clamp(1.3rem, 2.6vw, 2rem);
  background: var(--white);
  border-radius: var(--r-l);
  box-shadow: var(--shadow);
}
.finding--best {
  background: var(--apricot);
  box-shadow: none;
}
.finding__label {
  font-size: 0.92rem;
  font-weight: 650;
  color: var(--ink-2);
}
.finding--best .finding__label {
  color: #5a3210;
}
.finding__name {
  font-family: var(--display);
  font-weight: 560;
  font-size: clamp(1.35rem, 1.15rem + 0.8vw, 1.75rem);
  line-height: 1.12;
  letter-spacing: -0.018em;
}
.finding__figure {
  margin-block: 0.35rem 0.1rem;
  font-size: clamp(3.2rem, 2.4rem + 3vw, 5rem);
  font-weight: 720;
  line-height: 0.95;
  letter-spacing: -0.04em;
}
.finding__figure small {
  font-size: 0.4em;
  font-weight: 650;
  letter-spacing: -0.01em;
}
.finding__facts {
  display: grid;
  gap: 0.2rem;
  font-size: 0.96rem;
}
.finding p {
  color: var(--ink-2);
}
.finding .finding__figure {
  color: var(--ink);
}
.finding--best p,
.finding--best .finding__facts {
  color: #4a2a10;
}

.chartcard--wide {
  padding: clamp(1.1rem, 2.4vw, 2rem);
}
.chartcard__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem 2rem;
  margin-bottom: 0.75rem;
}
.legendrow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.3rem;
  font-size: 0.93rem;
}
.legendrow li {
  display: flex;
  align-items: center;
  white-space: nowrap;
}
.legendrow .linekey {
  width: 1.4rem;
  height: 0;
  margin-right: 0.5rem;
  border-top: 3px solid var(--c);
  border-radius: 3px;
}
.seg {
  display: inline-flex;
  padding: 0.25rem;
  background: var(--peach);
  border-radius: 999px;
}
.seg button {
  padding: 0.45rem 0.95rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-size: 0.93rem;
  font-weight: 620;
  cursor: pointer;
}
.seg button[aria-pressed="true"] {
  background: var(--white);
  box-shadow: 0 1px 2px rgb(120 60 10 / 0.18);
}

.frontier {
  position: relative;
  min-height: 22rem;
}
.frontier svg {
  display: block;
  width: 100%;
  overflow: visible;
  touch-action: pan-y;
}
.frontier text {
  font-family: var(--mono);
  font-size: 12px;
  fill: var(--ink-2);
}
.frontier .fr-grid {
  stroke: var(--line);
  stroke-width: 1;
}
.frontier .fr-axis {
  stroke: var(--line-2);
  stroke-width: 1;
}
.frontier .fr-title {
  font-family: var(--body);
  font-size: 12.5px;
  font-weight: 600;
  fill: var(--ink-2);
}
.frontier .fr-line {
  fill: none;
  stroke-width: 2;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.frontier .fr-dot {
  stroke: var(--white);
  stroke-width: 2;
}
.frontier .fr-pt {
  cursor: pointer;
  outline: none;
}
.frontier .fr-hit {
  fill: transparent;
}
.frontier .fr-pt:focus-visible .fr-ring,
.frontier .fr-pt.is-on .fr-ring {
  opacity: 1;
}
.frontier .fr-ring {
  fill: none;
  stroke: var(--ink);
  stroke-width: 2;
  opacity: 0;
}
.frontier .fr-whisker {
  stroke-width: 2;
  stroke-linecap: round;
  opacity: 0;
}
.frontier .fr-pt.is-on .fr-whisker,
.frontier .fr-pt:focus-visible .fr-whisker {
  opacity: 0.9;
}
.frontier .fr-endlabel {
  font-family: var(--body);
  font-weight: 650;
  font-size: 13px;
  fill: var(--ink);
}
.frontier .fr-leader {
  stroke: var(--line-2);
  stroke-width: 1;
}
.frontier .fr-note {
  font-family: var(--body);
  font-size: 13px;
  font-weight: 650;
  fill: var(--ink);
}
.frontier .fr-notesub {
  font-family: var(--body);
  font-size: 12px;
  fill: var(--ink-2);
}
.frontier .fr-noteline {
  stroke: var(--ink);
  stroke-width: 1;
}

.tip {
  position: absolute;
  z-index: 5;
  display: grid;
  gap: 0.2rem;
  min-width: 13rem;
  max-width: 17rem;
  padding: 0.8rem 0.95rem;
  background: var(--ink);
  color: var(--milk);
  border-radius: var(--r-m);
  font-size: 0.86rem;
  line-height: 1.4;
  pointer-events: none;
  box-shadow: 0 16px 30px -16px rgb(43 27 16 / 0.7);
}
.tip[hidden] {
  display: none;
}
.tip__name {
  display: flex;
  align-items: center;
  color: #e9cfb1;
}
.tip__value {
  font-size: 1.5rem;
  font-weight: 720;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.tip__row {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
}
.tip__row span:first-child {
  color: #e9cfb1;
}
.tip__row span:last-child {
  font-family: var(--mono);
  font-size: 0.94em;
}

.heatwrap {
  padding: clamp(1rem, 2.4vw, 1.9rem);
  background: var(--white);
  border-radius: var(--r-l);
  box-shadow: var(--shadow);
}
.heatwrap .tabs {
  display: inline-flex;
  margin-bottom: 1.25rem;
  border-radius: 999px;
  padding: 0.25rem;
}
.heatwrap .tabs button {
  padding: 0.45rem 0.95rem;
  font-size: 0.93rem;
}
.scroll {
  overflow-x: auto;
}
.heat {
  width: 100%;
  min-width: 34rem;
  border-collapse: separate;
  border-spacing: 2px;
  font-size: 0.93rem;
}
.heat thead th {
  padding: 0 0.4rem 0.5rem;
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.25;
  text-align: center;
  vertical-align: bottom;
}
.heat thead th:first-child {
  text-align: left;
  color: var(--ink-2);
  font-weight: 600;
}
.heat thead small {
  display: block;
  font-weight: 400;
  color: var(--ink-2);
}
.heat tbody th {
  padding: 0 1rem 0 1.27rem;
  font-weight: 500;
  text-align: left;
  white-space: nowrap;
  color: var(--ink-2);
}
.heat .heat__model th {
  padding: 0.85rem 0 0.3rem;
  font-weight: 700;
  color: var(--ink);
}
.heat td {
  padding: 0.5rem 0.4rem;
  border-radius: 5px;
  text-align: center;
  font-family: var(--mono);
  font-weight: 600;
}
.heatfoot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  margin-top: 1.25rem;
  font-size: var(--t-small);
  color: var(--ink-2);
}
.heatfoot p {
  max-width: 40em;
}
.heatscale {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  white-space: nowrap;
}
.heatscale__bar {
  display: flex;
  gap: 2px;
}
.heatscale__bar i {
  width: 1.5rem;
  height: 0.8rem;
  border-radius: 3px;
}

.rowchart--pages tbody th {
  font-weight: 500;
}
.rowchart--pages .rowchart__plothead {
  width: 34%;
}
.rowchart--audit .rowchart__plothead {
  width: 42%;
}
.tier {
  display: inline-grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 50%;
  font-size: 0.82rem;
  font-weight: 700;
}
.tier--1 {
  background: #fff1dd;
}
.tier--2 {
  background: #ffdcb1;
}
.tier--3 {
  background: #f9b66f;
}
.tier--4 {
  background: #dc7a23;
  color: var(--white);
}
.tier--5 {
  background: #9a3a08;
  color: var(--white);
}
.morebar {
  margin-top: 1.25rem;
}

@media (max-width: 720px) {
  .rowchart--pages thead th:nth-child(n + 5),
  .rowchart--pages td:nth-child(n + 5),
  .rowchart--audit thead th:nth-child(3),
  .rowchart--audit td:nth-child(3) {
    display: none;
  }
  .rowchart__plothead,
  .rowchart--pages .rowchart__plothead,
  .rowchart--audit .rowchart__plothead {
    width: 34%;
  }
  .rowchart {
    font-size: 0.86rem;
  }
}

.datatable {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  background: var(--white);
}
.datatable td {
  font-family: var(--mono);
  font-size: 0.9rem;
}
.datatable th,
.datatable td {
  padding: 0.6rem 0.8rem;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
  text-align: right;
}
.datatable thead th {
  position: sticky;
  top: 0;
  padding: 0;
  background: var(--white);
  font-size: 0.8rem;
  font-weight: 650;
  vertical-align: bottom;
  border-bottom: 2px solid var(--line-2);
}
.datatable thead button {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
  width: 100%;
  padding: 0.7rem 0.8rem;
  border: 0;
  background: none;
  font-weight: inherit;
  white-space: normal;
  text-align: right;
  line-height: 1.25;
  cursor: pointer;
}
.datatable thead button::after {
  content: "";
  flex: none;
  border: 4px solid transparent;
  border-top-color: var(--line-2);
  transform: translateY(2px);
}
.datatable th[aria-sort="descending"] button::after {
  border-top-color: var(--rust);
}
.datatable th[aria-sort="ascending"] button::after {
  border-top-color: transparent;
  border-bottom-color: var(--rust);
  transform: translateY(-2px);
}
.datatable th:first-child,
.datatable td:first-child,
.datatable thead th:first-child button {
  text-align: left;
  justify-content: flex-start;
}
.datatable tbody th {
  position: sticky;
  left: 0;
  background: var(--white);
  font-weight: 600;
}
.datatable tbody tr:hover th,
.datatable tbody tr:hover td {
  background: var(--milk);
}
.datatable tr.is-pick th,
.datatable tr.is-pick td {
  background: #fff1dd;
  font-weight: 700;
}
.datatable .dim {
  color: var(--ink-2);
}
.tablecard {
  background: var(--white);
  border-radius: var(--r-l);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.prose {
  display: grid;
  gap: 1rem;
  max-width: 44rem;
}
.rule {
  display: grid;
  gap: clamp(1.5rem, 4vw, 4rem);
}
@media (min-width: 900px) {
  .rule {
    grid-template-columns: 1fr 1fr;
  }
}
.rule__box {
  padding: clamp(1.3rem, 2.6vw, 2rem);
  border: 2px solid var(--ink);
  border-radius: var(--r-l);
}
.rule__box h3 {
  margin-bottom: 0.85rem;
  font-size: var(--t-h3);
}
.rule__box dl {
  display: grid;
  gap: 0.9rem;
}
.rule__box dt {
  font-weight: 700;
}
.rule__box dd {
  color: var(--ink-2);
}

.wrongs {
  display: grid;
  gap: 1.1rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
@media (min-width: 820px) {
  .wrongs {
    grid-template-columns: 1fr 1fr;
  }
}
.wrongs li {
  padding: 1.4rem 1.5rem;
  background: rgb(255 255 255 / 0.62);
  border-radius: var(--r-l);
}
.wrongs--stack {
  grid-template-columns: 1fr;
  margin-bottom: 0;
}
.wrongs h3 {
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
  line-height: 1.2;
}
.wrongs p {
  color: var(--ink-2);
}

.limits {
  display: grid;
  gap: 1.1rem;
}
.limits li {
  position: relative;
  padding-left: 1.7rem;
}
.limits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 1rem;
  height: 0.5rem;
  border: 2px solid #c97524;
  border-bottom: 0;
  border-radius: 1rem 1rem 0 0;
}

.method {
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
  background: var(--white);
  border-radius: var(--r-l);
  box-shadow: var(--shadow);
}
.method summary {
  padding: 1.2rem 1.5rem;
  font-family: var(--display);
  font-weight: 560;
  font-size: 1.3rem;
  cursor: pointer;
}
.method dl {
  display: grid;
  gap: 1.1rem;
  padding: 0 1.5rem 1.6rem;
}
@media (min-width: 760px) {
  .method dl > div {
    display: grid;
    grid-template-columns: 9.5rem 1fr;
    gap: 1.25rem;
  }
}
.method dt {
  font-weight: 700;
}
.method dd {
  color: var(--ink-2);
}
.method code,
.prose code {
  padding: 0.1em 0.35em;
  background: var(--cream);
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 0.88em;
}

.nexts {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr));
  margin-bottom: 2.25rem;
}
.nexts li {
  padding: 1.4rem 1.5rem;
  background: var(--white);
  border-radius: var(--r-l);
  box-shadow: var(--shadow);
}
.nexts h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  line-height: 1.2;
}
.nexts p {
  color: var(--ink-2);
}

/* ---------- Mission ---------- */

.jobs {
  display: grid;
  gap: 1.1rem;
}
@media (min-width: 820px) {
  .jobs {
    grid-template-columns: 1fr 1fr;
  }
}
.job {
  display: grid;
  gap: 0.75rem;
  align-content: start;
  padding: clamp(1.4rem, 3vw, 2.4rem);
  border-radius: var(--r-xl);
  background: var(--peach);
}
.job--b {
  background: var(--white);
  box-shadow: var(--shadow);
}
.job h2 {
  font-size: clamp(1.6rem, 1.3rem + 1.3vw, 2.2rem);
}
.job .textlink {
  margin-top: 0.4rem;
  justify-self: start;
}

.positions {
  display: grid;
}
.position {
  display: grid;
  gap: 0.85rem clamp(1.5rem, 5vw, 5rem);
  padding-block: clamp(1.6rem, 3.2vw, 2.5rem);
  border-top: 1.5px solid var(--line-2);
}
.position:last-child {
  padding-bottom: 0;
}
@media (min-width: 860px) {
  .position {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  }
}
.position h3 {
  font-size: clamp(1.45rem, 1.2rem + 1vw, 2rem);
  line-height: 1.12;
}
.position__body {
  display: grid;
  gap: 0.9rem;
  max-width: 42rem;
}
.seen {
  display: grid;
  gap: 0.65rem;
  padding: 1.1rem 1.25rem;
  background: var(--white);
  border-radius: var(--r-m);
}
.seen li {
  display: grid;
  grid-template-columns: 4.4rem 1fr;
  gap: 0.85rem;
  align-items: baseline;
  font-size: 0.98rem;
}
.grades {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--r-m);
  overflow: hidden;
  font-size: 0.98rem;
}
.grades th,
.grades td {
  padding: 0.8rem 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.grades tr:last-child th,
.grades tr:last-child td {
  border-bottom: 0;
}
.grades thead th {
  font-size: 0.8rem;
  font-weight: 650;
  color: var(--ink-2);
  background: var(--white);
}
.grades tbody th {
  width: 1%;
  white-space: nowrap;
}

.principles {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(auto-fit, minmax(13.5rem, 1fr));
}
.principles li {
  display: grid;
  gap: 0.5rem;
  align-content: start;
  padding: 1.4rem 1.4rem 1.5rem;
  background: var(--white);
  border-radius: var(--r-l);
  box-shadow: var(--shadow);
}
.principles h3 {
  font-size: 1.3rem;
}
.principles p {
  font-size: 0.98rem;
  color: var(--ink-2);
}

/* ---------- Start a request ---------- */

.request {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
@media (min-width: 980px) {
  .request {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  }
}
.form {
  display: grid;
  gap: 1.9rem;
}
.field {
  display: grid;
  gap: 0.5rem;
  min-width: 0;
  padding: 0;
  border: 0;
}
.field__label,
.field legend {
  padding: 0;
  font-family: var(--display);
  font-weight: 560;
  font-size: 1.3rem;
  line-height: 1.2;
  letter-spacing: -0.012em;
}
.field legend {
  margin-bottom: 0.6rem;
}
.field__hint {
  font-size: 0.96rem;
  color: var(--ink-2);
}
.field input[type="text"],
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--line-2);
  border-radius: var(--r-m);
  background: var(--white);
  line-height: 1.5;
  transition: border-color 0.15s;
}
.field textarea {
  min-height: 7.5rem;
  resize: vertical;
}
.field input[type="text"]:hover,
.field textarea:hover {
  border-color: var(--ink-2);
}
.field input[type="text"]:focus-visible,
.field textarea:focus-visible {
  border-color: var(--ink);
  outline-offset: 1px;
  border-radius: var(--r-m);
}
.field.is-missing input,
.field.is-missing textarea {
  border-color: var(--rust);
  background: #fff6f0;
}
.field__error {
  font-size: 0.94rem;
  font-weight: 650;
  color: var(--rust);
}
.field__error[hidden] {
  display: none;
}

.choices {
  display: grid;
  gap: 0.6rem;
}
.choices--bundles {
  grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr));
}
.choices--bundles .choice:last-child {
  grid-column: 1 / -1;
}
.choice {
  position: relative;
  display: grid;
}
.choice input {
  position: absolute;
  opacity: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}
.choice__box {
  display: grid;
  gap: 0.15rem;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--line-2);
  border-radius: var(--r-m);
  background: var(--white);
  transition: border-color 0.15s, background 0.15s;
}
.choice:hover .choice__box {
  border-color: var(--ink-2);
}
.choice input:checked + .choice__box {
  border-color: var(--ink);
  background: var(--peach);
  box-shadow: inset 0 0 0 1px var(--ink);
}
.choice input:focus-visible + .choice__box {
  outline: 3px solid var(--tangerine);
  outline-offset: 3px;
}
.choice__name {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 700;
}
.choice__name span {
  font-family: var(--display);
  font-weight: 560;
}
.choice__line {
  font-size: 0.92rem;
  line-height: 1.4;
  color: var(--ink-2);
}

.check {
  display: grid;
  grid-template-columns: 1.5rem 1fr;
  gap: 0.75rem;
  align-items: start;
  cursor: pointer;
}
.check input {
  width: 1.4rem;
  height: 1.4rem;
  margin: 0.15rem 0 0;
  accent-color: var(--rust);
}
.form__send {
  display: grid;
  gap: 0.9rem;
  justify-items: start;
}
.form__send .btn {
  font-size: 1.08rem;
  padding: 1em 1.7em;
}
.form__result {
  display: grid;
  gap: 0.9rem;
  padding: 1.4rem 1.5rem;
  background: var(--peach);
  border-radius: var(--r-l);
}
.form__result[hidden] {
  display: none;
}
.form__result h2 {
  font-size: 1.4rem;
}
.form__result textarea {
  width: 100%;
  min-height: 12rem;
  padding: 0.9rem 1rem;
  border: 0;
  border-radius: var(--r-m);
  background: var(--white);
  font-family: var(--mono);
  font-size: 0.86rem;
  line-height: 1.5;
}
.form__resultrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
}

.aside {
  display: grid;
  gap: 1.25rem;
}
.aside__card {
  display: grid;
  gap: 0.9rem;
  padding: 1.5rem;
  background: var(--cream);
  border-radius: var(--r-l);
}
.aside__card h2 {
  font-size: 1.35rem;
}
.aside__card ol {
  display: grid;
  gap: 0.75rem;
  counter-reset: n;
}
.aside__card ol li {
  display: grid;
  grid-template-columns: 1.7rem 1fr;
  gap: 0.6rem;
  counter-increment: n;
  font-size: 0.98rem;
}
.aside__card ol li::before {
  content: counter(n);
  display: grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  background: var(--apricot);
  font-family: var(--display);
  font-weight: 620;
  font-size: 0.92rem;
}
.aside__card p {
  font-size: 0.98rem;
  color: var(--ink-2);
}
.aside__card--dashed {
  background: transparent;
  border: 2px dashed #d4802f;
}

/* ---------- Not found ---------- */

.lost {
  display: grid;
  justify-items: start;
  gap: 1.4rem;
  padding-block: clamp(4rem, 12vw, 9rem);
}
.lost h1 {
  font-size: var(--t-h1);
  max-width: 12em;
}

/* ---------- Narrow screens: the charts ---------- */

@media (max-width: 720px) {
  /* The page list becomes two lines a page: its name, then its tier, bar and average. */
  .rowchart--pages,
  .rowchart--pages thead,
  .rowchart--pages tbody {
    display: block;
  }
  .rowchart--pages tr {
    display: grid;
    grid-template-columns: 1.9rem minmax(0, 1fr) 3.1rem;
    align-items: center;
    column-gap: 0.65rem;
    padding-block: 0.6rem;
    border-bottom: 1px solid var(--line);
  }
  .rowchart--pages tr[hidden] {
    display: none;
  }
  .rowchart--pages thead tr {
    padding-block: 0 0.3rem;
  }
  .rowchart--pages thead th:first-child {
    display: none;
  }
  .rowchart--pages tbody th {
    grid-column: 1 / -1;
    padding: 0 0 0.3rem;
  }
  .rowchart--pages td,
  .rowchart--pages thead th,
  .rowchart--pages .num {
    padding: 0;
  }
  .rowchart--pages .rowchart__plothead {
    width: auto;
  }
  .rowchart--pages .plot-axis i:nth-child(odd) {
    display: none;
  }
}

@media (max-width: 600px) {
  .rowchart--models td.num small,
  .rowchart--models .plot-axis i:nth-child(2),
  .rowchart--audit .plot-axis i:nth-child(2) {
    display: none;
  }
  .rowchart__plothead,
  .rowchart--audit .rowchart__plothead {
    width: 30%;
  }
  .heat {
    min-width: 0;
    font-size: 0.84rem;
  }
  .heat thead th {
    padding-inline: 0.1rem;
    font-size: 0.74rem;
  }
  .heat tbody th {
    padding: 0 0.4rem 0 0.95rem;
  }
  .heat td {
    padding: 0.45rem 0.1rem;
  }
  #heat-lang {
    min-width: 27rem;
  }
  .tabs button {
    padding: 0.5rem 0.75rem;
    font-size: 0.93rem;
  }
}

@media (max-width: 480px) {
  /* The grades table turns into a short list: the grade, what it means, whether it goes in the tree. */
  .grades thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .grades,
  .grades tbody,
  .grades tr,
  .grades th,
  .grades td {
    display: block;
  }
  .grades tr {
    padding: 0.95rem 1rem;
    border-bottom: 1px solid var(--line);
  }
  .grades tr:last-child {
    border-bottom: 0;
  }
  .grades th,
  .grades td {
    width: auto;
    padding: 0;
    border: 0;
  }
  .grades tbody th {
    margin-bottom: 0.5rem;
  }
  .grades td:last-child {
    margin-top: 0.3rem;
    font-size: 0.93rem;
    color: var(--ink-2);
  }
  .grades td:last-child::before {
    content: "In your tree: ";
    font-weight: 650;
    color: var(--ink);
  }
}

@media (max-width: 400px) {
  .tabs button {
    padding: 0.45rem 0.55rem;
    font-size: 0.85rem;
  }
  .seg button {
    padding: 0.42rem 0.7rem;
    font-size: 0.86rem;
  }
  .heatscale {
    gap: 0.4rem;
  }
  .heatscale__bar i {
    width: 1.05rem;
  }
}

/* ---------- Motion ---------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

@media print {
  .site-header,
  .site-footer,
  .closing,
  .fan-pager {
    display: none;
  }
  body {
    background: #fff;
  }
}
