/* NichSeen, direction A "The answer". One stylesheet, no framework.
   Idea: the auditor's highlighter. The marker colour marks a name and nothing else.
   Type: Mona Sans (SIL OFL 1.1, licence in /fonts/OFL.txt), one variable file;
   width axis = hierarchy: condensed 75 for statements, 100 for reading, 125 for labels.
   Contrast pairs (WCAG AA; text 4.5:1, ui 3:1) are declared in the next comment. */

/* check-contrast: text ink on chalk; text slate on chalk; text ink on sheet; text slate on sheet; text sheet on ink; text sheet on ink-2; text chalk on ink; text mist on ink; text ink on marker; ui ink on chalk; ui ink on sheet; ui marker on ink */

@font-face {
  font-family: "Mona Sans";
  src: url("/fonts/mona-sans-latin.woff2") format("woff2");
  font-weight: 200 900;
  font-stretch: 75% 125%;
  font-style: normal;
  font-display: swap;
  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;
}

/* Metric-matched fallbacks (Arial; Roboto on Android), one per width of Mona Sans, so the font swap
   keeps line breaks and baselines (CLS). size-adjust = Mona width / Arial width, measured in Chrome;
   ascent and descent = Mona (1090 and 320 per 1000) divided by size-adjust. */
@font-face {
  font-family: "Mona Fallback";
  src: local("Arial"), local("ArialMT"), local("Roboto");
  font-weight: 100 549;
  size-adjust: 104.0%;
  ascent-override: 104.81%;
  descent-override: 30.77%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Mona Fallback";
  src: local("Arial Bold"), local("Arial-BoldMT"), local("Roboto Bold"), local("Roboto-Bold");
  font-weight: 550 1000;
  size-adjust: 98.4%;
  ascent-override: 110.77%;
  descent-override: 32.52%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Mona Fallback Cond";
  src: local("Arial Bold"), local("Arial-BoldMT"), local("Roboto Bold"), local("Roboto-Bold");
  font-weight: 100 1000;
  size-adjust: 75.4%;
  ascent-override: 144.56%;
  descent-override: 42.44%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Mona Fallback Wide";
  src: local("Arial Bold"), local("Arial-BoldMT"), local("Roboto Bold"), local("Roboto-Bold");
  font-weight: 100 1000;
  size-adjust: 111.0%;
  ascent-override: 98.20%;
  descent-override: 28.83%;
  line-gap-override: 0%;
}

:root {
  --ff: "Mona Sans", "Mona Fallback", system-ui, sans-serif;
  --ff-cond: "Mona Sans", "Mona Fallback Cond", sans-serif;
  --ff-wide: "Mona Sans", "Mona Fallback Wide", system-ui, sans-serif;
  --chalk: #EDF0F4;   /* page ground: cool light grey */
  --sheet: #FFFFFF;   /* only for documents: the example card */
  --ink: #0E1B33;     /* night ink: text, rules, button */
  --ink-2: #22345A;   /* button hover */
  --slate: #4A5671;   /* secondary text */
  --mist: #B7C1D3;    /* secondary text on ink */
  --marker: #FFE347;  /* the highlighter: a name, focus, selection */
  --bar: #B4BDCB;     /* drawn text lines in the example answers (graphic only) */

  --wrap: 82.5rem;
  --pad: clamp(1.25rem, 4.6vw, 4rem);
  --rule: 2px solid var(--ink);
  --gap-section: clamp(4rem, 9vw, 8.5rem);
  color-scheme: light;
}

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

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

body {
  margin: 0;
  background: var(--chalk);
  color: var(--ink);
  font-family: var(--ff);
  font-size: clamp(1.0625rem, 1rem + 0.2vw, 1.125rem);
  font-weight: 430;
  font-stretch: 100%;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

p, ul, ol, dl, figure, h1, h2, h3 { margin: 0; }

a { color: inherit; }

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

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* ---------- Focus: what you point at gets the marker ---------- */

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

a:focus-visible {
  background: var(--marker);
  color: var(--ink);
  border-radius: 2px;
}

.button:focus-visible {
  background: var(--ink);
  color: var(--sheet);
  box-shadow: 0 0 0 6px var(--marker);
  outline-offset: 6px;
}

.skip {
  position: absolute;
  left: var(--pad);
  top: -4rem;
  z-index: 10;
  padding: 0.6rem 0.9rem;
  background: var(--marker);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.skip:focus-visible { top: 0.75rem; }

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

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.wordmark {
  flex-shrink: 0;
  position: relative;
  isolation: isolate;
  display: inline-block;
  padding: 0.3rem 0.08em;
  font-size: clamp(1.25rem, 1.1rem + 0.55vw, 1.6rem);
  font-weight: 800;
  font-stretch: 112.5%;
  font-family: var(--ff-wide);
  letter-spacing: -0.03em;
  line-height: 1;
  text-decoration: none;
  color: var(--ink);
}

/* The mark: a highlighter stroke behind the lower half of the name. */
.wordmark::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -0.04em;
  right: -0.14em;
  top: 50%;
  bottom: 0.18rem;
  background: var(--marker);
  clip-path: polygon(0.22em 0, 100% 0, calc(100% - 0.22em) 100%, 0 100%);
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(0.9rem, 2.4vw, 2.25rem);
  list-style: none;
  padding: 0;
}

.site-nav a {
  display: inline-block;
  white-space: nowrap;
  padding: 0.65rem 0.05rem;
  font-size: clamp(0.9375rem, 0.9rem + 0.2vw, 1.0625rem);
  font-weight: 560;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.4em;
}

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

h1 {
  font-size: clamp(2.6rem, 0.6rem + 8.2vw, 6.5rem);
  font-weight: 900;
  font-stretch: 75%;
  font-family: var(--ff-cond);
  line-height: 0.9;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.home h1 {
  /* Zoom rule (WCAG 1.4.4): the max is at most 2.5 x the min, so the H1 reaches 200 % with browser zoom.
     8rem also keeps the button in the first screen at 1280 x 720 and 1366 x 768. No vh units. */
  font-size: clamp(3.2rem, 0.4rem + 12.3vw, 8rem);
  line-height: 0.87;
}

/* The H1 is set in its designed lines at every width, so Mona Sans and the fallback break it the same
   way and the font swap moves nothing (CLS): "See what Google" / "and ChatGPT" / "say about you."
   Under 360 px "See what Google" does not fit, so "Google" gets its own line (4 lines). */
.home h1 > span { display: block; }

@media (max-width: 22.49rem) {
  .home h1 .g { display: block; }
}

h2 {
  max-width: 6.3em;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
  font-size: clamp(2.125rem, 1.35rem + 2.7vw, 3.75rem);
  font-weight: 850;
  font-stretch: 75%;
  font-family: var(--ff-cond);
  line-height: 0.94;
  letter-spacing: -0.005em;
  text-wrap: balance;
}

h3 {
  margin-bottom: 0.45rem;
  font-size: clamp(1.25rem, 1.12rem + 0.45vw, 1.5rem);
  font-weight: 720;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.lead {
  max-width: 20.9em;
  margin-top: clamp(1.25rem, 2.6vw, 2.1rem);
  font-size: clamp(1.15rem, 1rem + 0.72vw, 1.5rem);
  font-weight: 460;
  line-height: 1.36;
}

.small {
  margin-top: 0.85rem;
  font-size: 0.9375rem;
  color: var(--slate);
}

.prose p + p { margin-top: 0.85em; }

.prose p,
.prose li { max-width: 38.1em; }

.textlink,
.prose a,
.small a {
  font-weight: 620;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.28em;
}

.textlink:hover,
.prose a:hover,
.small a:hover { text-decoration-thickness: 3px; }

/* ---------- Actions ---------- */

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.75rem;
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.85rem 1.45rem;
  border-radius: 4px;
  background: var(--ink);
  color: var(--sheet);
  font-size: 1.0625rem;
  font-weight: 660;
  line-height: 1.2;
  text-decoration: none;
}

.button:hover { background: var(--ink-2); }

/* ---------- Hero ---------- */

.hero {
  padding-block: clamp(1.75rem, 4.2vw, 3.75rem) clamp(2.5rem, 6vw, 5.5rem);
}

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

.section { padding-top: var(--gap-section); }

.section > .wrap > .inner {
  padding-top: clamp(1.1rem, 2.2vw, 1.75rem);
  border-top: var(--rule);
}

/* ---------- Home: where customers look ---------- */

.places {
  list-style: none;
  padding: 0;
}

.places li {
  padding-block: 0.55em;
  font-size: clamp(1.5rem, 1.05rem + 1.8vw, 2.6rem);
  font-weight: 720;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.places li:first-child { padding-top: 0; }

.places li + li { border-top: 2px solid var(--ink); }

.places .then {
  font-weight: 430;
  letter-spacing: -0.015em;
}

/* ---------- Home: steps (a real sequence) ---------- */

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
}

.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: clamp(2.6rem, 2rem + 2vw, 4rem) 1fr;
  column-gap: clamp(0.75rem, 2vw, 1.5rem);
  padding-block: clamp(0.9rem, 1.8vw, 1.4rem);
}

.steps li:first-child { padding-top: 0.2rem; }

.steps li::before {
  content: counter(step);
  font-size: clamp(2.6rem, 2rem + 2.2vw, 4.25rem);
  font-weight: 900;
  font-stretch: 75%;
  font-family: var(--ff-cond);
  line-height: 0.82;
  font-variant-numeric: tabular-nums;
}

.steps strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  font-weight: 740;
  letter-spacing: -0.01em;
}

.steps p { max-width: 28.3em; }

/* ---------- Home: the example (the one bold device) ----------
   The only place where the page changes material: a full-width white sheet. */

.example-band {
  margin-top: var(--gap-section);
}

/* The hero sits right on the example band */
.hero + .example-band { margin-top: 0; }

.example-band {
  padding-block: clamp(2.75rem, 6.5vw, 6.5rem);
  background: var(--sheet);
}

.example-band h2 { max-width: none; }

.tag {
  display: inline-block;
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
  padding: 0.2rem 0.6rem 0.25rem;
  border: 2px solid var(--ink);
  border-radius: 3px;
  font-size: 0.875rem;
  font-weight: 650;
  font-stretch: 125%;
  font-family: var(--ff-wide);
  line-height: 1.3;
}

.question {
  max-width: 7.3em;
  font-size: clamp(2.1rem, 1.25rem + 3.2vw, 4.6rem);
  font-weight: 850;
  font-stretch: 75%;
  font-family: var(--ff-cond);
  line-height: 0.97;
  letter-spacing: -0.005em;
  text-wrap: balance;
}


/* hang the opening quote outside the left edge */
.question .hang { margin-left: -0.4em; }

.answers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.6rem, 1.4vw, 1.1rem);
  margin-top: clamp(1.75rem, 3.5vw, 2.5rem);
}

.answers svg { width: 100%; height: auto; }

/* Phones and small tablets: the named answer full width, the other 3 in a row under it (R-D A-3) */
@media (max-width: 47.99rem) {
  .answers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .answers svg:first-child { grid-column: 1 / -1; }
}

.a-bg { fill: var(--chalk); }
.a-bar { fill: var(--bar); }
.a-name { fill: var(--ink); }
.a-dot { fill: var(--slate); }
.a-hit { fill: var(--marker); }

/* The caption sits right under the answer picture (Wahid R5) */
.caption { margin-top: 0.85rem; }

.count {
  font-size: clamp(1.25rem, 1rem + 0.9vw, 1.75rem);
  font-weight: 650;
  line-height: 1.25;
  text-wrap: balance;
}

.legend {
  max-width: 30em;
  margin-top: 0.35rem;
  font-size: 1rem;
  color: var(--slate);
}

.the-fix {
  margin-top: clamp(2.25rem, 4.5vw, 3.5rem);
  padding-top: clamp(1.4rem, 3vw, 2.25rem);
  border-top: var(--rule);
}

.fix {
  max-width: 24.6em;
  font-size: clamp(1.35rem, 1rem + 1.4vw, 2.25rem);
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: -0.012em;
}

.fix strong { font-weight: 780; }

.meta {
  display: grid;
  gap: 0.6rem;
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
}

.meta > div {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  align-items: baseline;
  column-gap: 1rem;
}

.meta dt {
  font-size: 0.875rem;
  font-weight: 620;
  font-stretch: 125%;
  font-family: var(--ff-wide);
  color: var(--slate);
}

.meta dd {
  margin: 0;
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.25rem);
  font-weight: 720;
}

.meta .source dd {
  max-width: 38.1em;
  font-size: 1rem;
  font-weight: 430;
  line-height: 1.45;
  color: var(--slate);
}

.meta .source a {
  margin-right: 0.35em;
  color: var(--ink);
  font-weight: 720;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.25em;
}

/* ---------- Home: how we work, who we are ---------- */

.pair {
  display: grid;
  gap: 2rem;
}

.pair p { max-width: 24.6em; }

.statement {
  max-width: 14.8em;
  font-size: clamp(1.5rem, 1.1rem + 1.7vw, 2.6rem);
  font-weight: 620;
  line-height: 1.16;
  letter-spacing: -0.02em;
}

.after-statement { margin-top: 1.1rem; font-size: 1.125rem; }

/* ---------- Inner pages ---------- */

.page-hero {
  padding-block: clamp(1.75rem, 6vw, 6rem) 0;
}

.page-hero h1 { max-width: 5.9em; }

.page-hero .lead { max-width: 23.4em; }

.checks > div + div,
.faq > div + div { margin-top: clamp(1.6rem, 3vw, 2.25rem); }

.checks p + p,
.faq p + p { margin-top: 0.6em; }

.checks p,
.faq p { max-width: 33.2em; }

.getlist {
  list-style: none;
  padding: 0;
}

.getlist li {
  padding-block: 0.7rem;
  font-size: clamp(1.1rem, 1rem + 0.45vw, 1.35rem);
  font-weight: 560;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.getlist li:first-child { padding-top: 0; }

.getlist li + li { border-top: 2px solid var(--ink); }

.bigline {
  max-width: 18.5em;
  font-size: clamp(1.35rem, 1.1rem + 1.1vw, 2.1rem);
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.mail-big {
  display: inline-block;
  margin-top: clamp(1.25rem, 3vw, 2.25rem);
  font-size: clamp(1.6rem, 0.75rem + 4.4vw, 4rem);
  font-weight: 800;
  font-stretch: 100%;
  letter-spacing: -0.035em;
  line-height: 1.05;
  text-decoration: underline;
  text-decoration-thickness: 0.07em;
  text-underline-offset: 0.16em;
  overflow-wrap: anywhere;
}

.contact-block .reply { margin-top: 1.25rem; max-width: 24.6em; }

/* Privacy: a readable document */
.doc {
  max-width: 46rem;
}

.doc h2 {
  max-width: none;
  margin: clamp(2.5rem, 5vw, 3.5rem) 0 1rem;
  padding-top: 1rem;
  border-top: var(--rule);
  font-size: clamp(1.75rem, 1.35rem + 1.5vw, 2.5rem);
}

.doc h3 { margin-top: 1.5rem; font-size: 1.2rem; }

.doc p { max-width: 37em; }  /* about 75 characters a line */

.doc p + p { margin-top: 0.6em; }

.doc .updated { margin-top: 1rem; color: var(--slate); }

/* 404 */
.exits {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem 2rem;
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  padding: 0;
  list-style: none;
}

.exits a {
  font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2.2rem);
  font-weight: 760;
  letter-spacing: -0.02em;
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 0.2em;
}

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

.site-footer {
  margin-top: var(--gap-section);
  padding-block: clamp(2.75rem, 5.5vw, 4.75rem) 2rem;
  background: var(--ink);
  color: var(--chalk);
}

.site-footer .brand {
  font-size: 1.15rem;
  font-weight: 800;
  font-stretch: 112.5%;
  font-family: var(--ff-wide);
  letter-spacing: -0.03em;
  line-height: 1;
}

.site-footer .line {
  max-width: 6.8em;
  margin-top: 1.25rem;
  font-size: clamp(2.125rem, 1.35rem + 2.7vw, 3.75rem);
  font-weight: 850;
  font-stretch: 75%;
  font-family: var(--ff-cond);
  line-height: 0.94;
  text-wrap: balance;
}

.foot-grid {
  display: grid;
  gap: 1.75rem;
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: 1.25rem;
  border-top: 2px solid var(--chalk);
}

.site-footer .where { color: var(--mist); max-width: 20.9em; }

.site-footer .mail {
  display: inline-block;
  margin-top: 0.5rem;
  font-weight: 650;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.28em;
}

.foot-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  padding: 0;
  list-style: none;
}

.foot-nav a {
  display: inline-block;
  padding-block: 0.4rem;
  font-weight: 560;
  text-decoration: none;
}

.foot-nav a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.3em; }

.site-footer .copy {
  margin-top: 2rem;
  font-size: 0.875rem;
  color: var(--mist);
}

.site-footer :focus-visible { outline-color: var(--marker); }

.site-footer a:focus-visible { background: var(--marker); color: var(--ink); }

/* ---------- Phones under 384 px: keep the header on one row, with room to spare ----------
   The nav list may wrap (text-spacing styles, WCAG 1.4.12), so the row must fit with a margin in
   Mona Sans AND in the fallback; else the nav would wrap in one font only (layout shift).
   Measured slack in Mona: 12 px at 320, 27 px at 360, 17 px at 384. */

@media (max-width: 23.99rem) {
  .site-header .wrap { gap: 0.5rem; }
  .site-nav ul { gap: 0.75rem; }
  .site-nav a { font-size: 0.875rem; }
}

@media (max-width: 22.49rem) {
  :root { --pad: 1rem; }
  .wordmark { font-size: 1.15rem; }
  .site-nav ul { gap: 0.6rem; }
  .site-nav a { font-size: 0.8125rem; }
}

/* ---------- Wider screens ---------- */

@media (min-width: 30rem) {
  .button { padding-inline: 1.6rem; }
  .exits { flex-direction: row; flex-wrap: wrap; }
}

@media (max-width: 29.99rem) {
  .actions .button { width: 100%; }
}

@media (min-width: 48rem) {
  .pair { grid-template-columns: 1fr 1fr; column-gap: clamp(2rem, 4vw, 3.5rem); }
  .foot-grid { grid-template-columns: 1fr auto; align-items: start; }
}

@media (min-width: 64rem) {
  .index {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 1.5rem;
  }

  .index > h2 { grid-column: 1 / span 5; margin-bottom: 0; }
  .index > .body { grid-column: 6 / -1; }

  .test {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    grid-template-rows: auto auto 1fr;
    grid-template-areas: "tag answers" "question answers" "question caption";
    column-gap: clamp(2rem, 4vw, 4rem);
  }

  .test .tag { grid-area: tag; justify-self: start; }
  .test .question { grid-area: question; }
  .test .answers { grid-area: answers; margin-top: 0; align-self: start; }
  .test .caption { grid-area: caption; align-self: start; }

  .meta {
    grid-template-columns: repeat(3, auto);
    justify-content: start;
    column-gap: clamp(2rem, 5vw, 4.5rem);
  }

  .the-fix {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    column-gap: clamp(2rem, 4vw, 4rem);
    align-items: start;
  }

  .the-fix .meta {
    margin-top: 0.35rem;
    grid-template-columns: repeat(3, max-content);
    column-gap: clamp(1.75rem, 3vw, 3rem);
  }

  .meta > div { display: block; }
  .meta dd { margin-top: 0.15rem; white-space: nowrap; }
  /* The source line spans all 3 columns but must not widen them:
     it adds no width to the track sizes, then fills the row. */
  .meta .source { grid-column: 1 / -1; margin-top: 0.75rem; width: 0; min-width: 100%; }
  .meta .source dd { white-space: normal; }
}

/* ---------- The one orchestrated moment (Home): the marker sweeps over the name ---------- */

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .a-hit.sweep {
      transform-box: fill-box;
      transform-origin: left center;
      animation: sweep linear both;
      animation-timeline: view();
      animation-range: entry 35% cover 42%;
    }
  }
}

@keyframes sweep {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@media print {
  .site-header nav, .skip, .actions { display: none; }
  body { background: #FFFFFF; }
  .site-footer { background: #FFFFFF; color: #000000; }
}


/* ---------- Sample fix list (/sample-fix-list/business-setup since WR5, 16 Oct; agent B, 14 Oct) ----------
   Additive rules only, to append at the end of styles.css: new s-* classes, and rules scoped to
   .s-doc or .s-fixes. No existing rule changes. Colours: existing tokens only, in pairs that the
   check-contrast comment already declares (ink and slate on sheet and on chalk; ink on marker). */

.s-doc { margin-top: clamp(2.5rem, 5vw, 4.5rem); }

.s-facts {
  display: grid;
  gap: 0.5rem;
  margin-top: clamp(0.25rem, 1vw, 0.75rem);
}

.s-facts > div {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  column-gap: 1rem;
  align-items: baseline;
}

.s-facts dt,
.s-key dt,
.s-kind {
  font-size: 0.875rem;
  font-weight: 620;
  font-stretch: 125%;
  font-family: var(--ff-wide);
  color: var(--slate);
}

.s-facts dd,
.s-key dd {
  margin: 0;
  max-width: 38.1em;
  font-weight: 560;
}

.s-test {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: clamp(1.4rem, 3vw, 2.25rem);
  border-top: var(--rule);
}

.s-part {
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-top: clamp(1.1rem, 2.2vw, 1.75rem);
  border-top: var(--rule);
}

.s-part h3 {
  max-width: 8em;
  margin-bottom: clamp(1.25rem, 2.5vw, 2rem);
  font-size: clamp(1.75rem, 1.25rem + 1.9vw, 2.9rem);
  font-weight: 850;
  font-stretch: 75%;
  font-family: var(--ff-cond);
  line-height: 0.96;
  letter-spacing: -0.005em;
  text-wrap: balance;
}

.s-note {
  max-width: 38.1em;
  color: var(--slate);
}

.s-note + .getlist { margin-top: clamp(1.25rem, 2.5vw, 1.75rem); }

.s-questions,
.s-left,
.s-fixes {
  list-style: none;
  padding: 0;
}

.s-questions { margin-top: clamp(1.5rem, 3vw, 2.25rem); }

.s-questions li + li,
.s-left li + li {
  margin-top: clamp(1.25rem, 2.5vw, 1.75rem);
  padding-top: clamp(1.25rem, 2.5vw, 1.75rem);
  border-top: 2px solid var(--ink);
}

.s-q {
  max-width: 22em;
  margin-top: 0.35rem;
  font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2.1rem);
  font-weight: 800;
  font-stretch: 75%;
  font-family: var(--ff-cond);
  line-height: 1.04;
  letter-spacing: -0.005em;
  text-wrap: pretty;
}

.s-saw,
.s-why {
  max-width: 38.1em;
  margin-top: 0.75rem;
}

.s-saw strong,
.s-why strong { font-weight: 700; }

.s-key {
  display: grid;
  gap: 0.5rem;
  margin-top: 1rem;
}

.s-key > div {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  column-gap: 1rem;
  align-items: baseline;
}

.s-key dt { color: var(--ink); }

.s-fixes .fix { font-size: clamp(1.25rem, 1rem + 1vw, 1.85rem); }

.s-fixes .the-fix .meta { margin-top: 1.25rem; }

.s-what {
  font-size: clamp(1.15rem, 1rem + 0.5vw, 1.4rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.s-src {
  max-width: 38.1em;
  margin-top: 0.5rem;
  font-size: 1rem;
  line-height: 1.45;
  color: var(--slate);
}

.section .s-src { margin-top: 1.25rem; }

.s-src a {
  margin-right: 0.35em;
  color: var(--ink);
  font-weight: 720;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.25em;
}

.s-endnote {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 1.1rem;
  border-top: var(--rule);
  font-weight: 560;
}

@media (min-width: 64rem) {
  .s-part.index > h3 { grid-column: 1 / span 5; margin-bottom: 0; }

  /* Fill the right column, so the source quotes are not narrow. */
  .s-fixes .the-fix .meta {
    margin-top: 0.35rem;
    grid-template-columns: repeat(3, minmax(0, auto));
    justify-content: stretch;
  }

  .s-fixes .meta dd { white-space: normal; }
}

/* ---------- Home: link to the sample fix list ---------- */

.the-fix .more { margin-top: 1rem; }

/* Free audit, the three ways: keep Time, Skill and Risk inside the column */
@media (min-width: 48rem) {
  .checks .meta { column-gap: clamp(1.5rem, 2.5vw, 2.5rem); }
}

/* Effort / Who / How sure and Time / Skill / Risk: wrap inside the column (1024 to 1300 px; checker F09) */
@media (min-width: 64rem) {
  .the-fix .meta,
  .checks .meta {
    grid-template-columns: repeat(3, minmax(0, max-content));
  }

  .the-fix .meta dd,
  .checks .meta dd {
    white-space: normal;
  }
}

/* The yellow mark: a thin ink edge so it reads on the pale card (checker F22) */
.a-hit { stroke: var(--ink); stroke-width: 1; }

/* Sample fix list: folded source quotes, small and calm; the source link stays open (JD1, 15 Oct) */
.s-doc details { margin-top: 0.25rem; }
.s-doc summary {
  display: inline-block;
  cursor: pointer;
  list-style: none;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate);
  text-decoration: underline dotted;
  text-underline-offset: 0.2em;
}
.s-doc summary::-webkit-details-marker { display: none; }
.s-doc summary::before { content: "+\00a0"; }
.s-doc details[open] summary::before { content: "\2212\00a0"; }
.s-doc details[open] { color: var(--slate); }
