/* Foundable
   Style guide v1 (docs/style-guide/): white pages, near-black type, warm grey
   rounded panels, tight, even space and one sans serif, Instrument Sans. Green is
   the one accent and means "checked and right"; red and amber appear only in
   findings. Pictures still do the explaining: line icons from one 24px set
   (partials/icons.html), screenshot-style mock-ups of where people get
   answers, and the three services as a numbered flow: 1 Audit, 2 Remediation,
   3 Monitoring. */

/* ---- Fonts --------------------------------------------------------------- */

@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(/assets/fonts/instrument-sans-latin-wght-normal.woff2) format("woff2-variations");
  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: "Instrument Sans"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(/assets/fonts/instrument-sans-latin-ext-wght-normal.woff2) format("woff2-variations");
  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-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Instrument Sans"; font-style: italic; font-weight: 400 600; font-display: swap;
  src: url(/assets/fonts/instrument-sans-latin-wght-italic.woff2) format("woff2-variations");
  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: "Outfit"; font-weight: 700; font-display: block;
  src: url(/assets/fonts/outfit-latin-700-normal.woff2) format("woff2"); }

/* ---- Tokens (keep in step with docs/style-guide/tokens.css) -------------- */

:root {
  --paper: #ffffff;
  --wash: #f5f5f3;           /* surface: cards, panels */
  --ink: #0b0b0c;            /* headings, primary buttons, dark panels, 19.7:1 */
  --ink-2: #3e3e43;          /* body text, 10.6:1 */
  --slate: #6a6a70;          /* secondary text, 5.4:1 on white, 4.9:1 on wash */
  --rule: #e9e9e6;           /* hairlines, never text */
  --rule-strong: #d6d6d1;
  --field-line: #8a8a90;     /* edges of text fields, 3.4:1 on white */
  --green: #0e6b4a;          /* links, focus, "current", 6.5:1 */
  --green-deep: #0a5038;
  --tint: #e3f3ea;           /* fills behind green */
  --mark: #0fa06a;           /* the logo's green; marks only, never text */
  --mark-on-ink: #2fd08a;
  --differs: #b5321a;
  --differs-tint: #fbe9e5;
  --old: #8a5a00;
  --old-tint: #f8efd9;
  --unread: #d6d6d1;
  --old-mark: #d9a640;        /* amber for bars and blocks; marks only, never text */
  /* Series colours for data that isn't a verdict. Validated for colour-blind
     separation on white: blue, magenta, violet. Lines use k1 and k2 only, with
     grey (k0) for context. */
  --k0: #b9b9b4;
  --k1: #2a78d6;
  --k2: #d55181;
  --k3: #6250d6;
  /* Sequential blue for magnitude (heatmaps): light to dark. */
  --k4: #0f9aa8;
  --k5: #c46a1a;
  /* Sequential green, the default for magnitude: light to dark. */
  --g1: #e6f4ec; --g2: #c4e6d2; --g3: #94d1b1; --g4: #5cb88b; --g5: #2f9a6c; --g6: #137a52; --g7: #0a5038;
  --q1: #cde2fb; --q2: #9ec5f4; --q3: #6da7ec; --q4: #3987e5; --q5: #256abf; --q6: #1c5cab; --q7: #104281;

  --sans: "Instrument Sans", "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --mono: var(--sans);       /* evidence is set in the same sans, with tabular figures */

  --wrap: 80rem;
  --gutter: clamp(1rem, 4vw, 2rem);
  --col: 3rem;               /* column gap */
  --r-pill: 999px;
  --r-card: 20px;
  --r-button: 14px;
  --r-input: 12px;
  --r-tag: 4px;
}

/* ---- 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;
  background: var(--paper);
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
main { display: block; outline: none; }

h1, h2, h3, h4 { font-family: var(--sans); font-weight: 500; margin: 0 0 0.5em; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5vw, 3.75rem); line-height: 1.02; letter-spacing: -0.045em; max-width: 18ch; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.08; letter-spacing: -0.034em; }
h3 { font-size: 1.25rem; line-height: 1.3; letter-spacing: -0.02em; }
h4 { font-size: 1.0625rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
strong, b { font-weight: 600; color: var(--ink); }
em { font-style: italic; }

a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--green-deep); }
a[href^="tel:"] { white-space: nowrap; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

ul, ol { margin: 0 0 1em; padding-left: 1.15em; }
li { margin-bottom: 0.4em; padding-left: 0.15em; }
li::marker { color: var(--slate); }
sup { font-size: 0.68em; line-height: 0; }
sup a { font-family: var(--sans); text-decoration: none; font-weight: 600; padding: 0 0.1em; }
abbr[title] { text-decoration: underline dotted 1px; }

.mono { font-family: var(--mono); font-size: 0.85em; font-variant-numeric: tabular-nums; color: var(--slate); }
.sans { font-family: var(--sans); }
.muted { color: var(--slate); }
.small { font-family: var(--sans); font-size: 0.9rem; color: var(--slate); line-height: 1.5; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: #fff; padding: 0.75rem 1rem; border-radius: var(--r-input); font-family: var(--sans); }
.skip:focus { top: 1rem; color: #fff; }

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

/* ---- Logo ---------------------------------------------------------------- */

.logo { display: inline-flex; text-decoration: none; line-height: 1; }
.wordmark {
  display: inline-block; font-family: "Outfit", var(--sans); font-weight: 700; font-size: 1.6rem;
  letter-spacing: -0.035em; font-kerning: none; line-height: 1; white-space: nowrap; color: var(--ink);
}
.wordmark .c, .wordmark .c > span { display: inline-block; }
.wordmark .g { color: var(--mark); }

/* Plays once per visit (the inline script in build.mjs sets .logo-play): the word arrives in ink, the letters of
   "found" turn green one after another, then the full stop drops in. Repeat visits and reduced motion get the finished logo. */
@media (prefers-reduced-motion: no-preference) {
  .logo-play .site-header .wordmark .g { animation: logo-fill 0.25s ease 0.2s both; }
  .logo-play .site-header .wordmark .g:nth-child(2) { animation-delay: 0.27s; }
  .logo-play .site-header .wordmark .g:nth-child(3) { animation-delay: 0.34s; }
  .logo-play .site-header .wordmark .g:nth-child(4) { animation-delay: 0.41s; }
  .logo-play .site-header .wordmark .g:nth-child(5) { animation-delay: 0.48s; }
  .logo-play .site-header .wordmark .c:last-child { animation: logo-dot 0.3s ease-out 0.7s both; }
}
@keyframes logo-fill { from { color: var(--ink); } to { color: var(--mark); } }
@keyframes logo-dot { from { opacity: 0; transform: translateY(-0.25em); } to { opacity: 1; transform: none; } }

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

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em; min-height: 46px; padding: 0 22px;
  font-family: var(--sans); font-weight: 500; font-size: 0.9375rem; line-height: 1.2; white-space: nowrap;
  background: var(--ink); color: #fff; border: 1px solid var(--ink); border-radius: var(--r-button); text-decoration: none; cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s;
}
.button:hover { background: #26262a; border-color: #26262a; color: #fff; }
.button::after { content: "→"; transition: transform 0.15s; }
.button:hover::after { transform: translateX(3px); }
.button--small { min-height: 42px; padding: 0 18px; }
.button--small::after { content: none; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; margin-top: 2rem; font-family: var(--sans); }
.more { display: inline-flex; gap: 0.4em; font-family: var(--sans); font-weight: 500; font-size: 0.9375rem; color: var(--ink); text-decoration: none; padding: 0.2rem 0 0.35rem; border-bottom: 1px solid currentColor; }
.more::after { content: "→"; transition: transform 0.15s; }
.more:hover { color: var(--green); }
.more:hover::after { transform: translateX(3px); }

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

.site-header { position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / 0.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease; }
/* Once the page scrolls under it, the header gets a hairline and a soft shadow (site.js sets the class) */
.site-header.is-scrolled { border-bottom-color: var(--rule); background: rgb(255 255 255 / 0.85); box-shadow: 0 10px 24px -18px rgb(11 11 12 / 0.35); }
.site-header__inner { display: flex; align-items: center; gap: 2rem; min-height: 5.25rem; }
.site-header .logo { margin-right: auto; padding: 0.35rem 0; }
.site-header .wordmark { font-size: 2rem; }
.site-nav { display: flex; align-items: center; gap: 1.75rem; font-family: var(--sans); font-size: 0.9375rem; font-weight: 500; }
.site-nav__list { display: flex; align-items: center; gap: 0.5rem; list-style: none; margin: 0; padding: 0; }
.site-nav__list > li { margin: 0; padding: 0; position: relative; }
.site-nav__list > li > a { display: block; padding: 0.5rem 0.85rem; color: var(--ink); text-decoration: none; cursor: pointer; border-radius: 10px; transition: background-color 0.2s ease, color 0.2s ease; }
.site-nav__list > li > a:hover { background: var(--wash); }
/* Pressing darkens the hover box a little; the current page keeps a pale green box, so the click lands somewhere */
.site-nav__list > li > a:active { background: var(--rule); transition-duration: 0.05s; }
.site-nav__list > li > a[aria-current] { color: var(--green-deep); background: var(--tint); }

.menu-toggle { display: none; }
/* Short screens, or 400% zoom: the header scrolls away with the page instead of covering it.
   An open menu scrolls inside itself, so every link in it can be reached. */
@media (max-height: 30rem) { .site-header { position: static; } }
@media (max-width: 66rem) { .js .site-nav.is-open { max-height: calc(100dvh - 4.75rem); overflow-y: auto; overscroll-behavior: contain; } }

/* Search: an icon in the header on small screens, a field-like box on wide ones. Without JS it is a link to /search/. */
.site-search { order: 2; display: inline-grid; place-items: center; width: 38px; height: 38px; flex: none; color: var(--ink); background: var(--wash); border: 1px solid var(--rule-strong); border-radius: var(--r-pill); transition: background-color 0.2s ease, border-color 0.2s ease; }
.site-search:hover { background: var(--paper); border-color: var(--ink); color: var(--ink); }
.site-search, .site-search:hover { text-decoration: none; }
.site-search .icon { width: 18px; height: 18px; }
.site-search__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.site-nav { order: 1; }
@media (min-width: 66.01rem) {
  .site-header__inner { gap: 1.25rem; }
  .site-nav { gap: 1.25rem; }
  .site-search { width: 11rem; height: 38px; justify-content: start; gap: 0.6rem; padding: 0 1rem; grid-auto-flow: column; grid-template-columns: auto 1fr; color: var(--slate); }
  .site-search .icon { color: var(--ink); }
  .site-search__label { position: static; width: auto; height: auto; overflow: visible; clip-path: none; font-size: 0.875rem; font-weight: 400; }
}
@media (min-width: 80rem) { .site-search { width: 13rem; } }
.site-header .logo { order: 0; }

@media (max-width: 66rem) {
  .js .menu-toggle { display: inline-flex; align-items: center; min-height: 42px; font: 500 0.9375rem var(--sans); color: var(--ink); background: none; border: 1px solid var(--rule-strong); border-radius: var(--r-button); padding: 0 1rem; cursor: pointer; }
  /* A grid, not a wrapping flex row: the top row keeps its height whether the menu is open or not,
     so the logo, search and Menu button stay put while the menu slides in under them. */
  .site-header__inner { display: grid; grid-template-columns: 1fr auto auto; grid-template-rows: 4.75rem; align-items: center; gap: 0 1rem; min-height: 0; }
  .site-search { order: 1; margin-left: auto; }
  .js .menu-toggle { order: 2; }
  .site-nav { order: 3; grid-column: 1 / -1; }
  .site-header .logo { margin-right: 0; justify-self: start; }
  .site-header .wordmark { font-size: 1.8rem; }
  .site-nav { flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 1rem; padding: 0 0 1.25rem; }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: flex; }
  .site-nav__list { flex-direction: column; align-items: stretch; }
  .site-nav__list > li { border-top: 1px solid var(--rule); }
  .site-nav__list > li > a { padding: 0.8rem 0; font-size: 1.05rem; border-radius: 0; }
  .site-nav__list > li > a:hover, .site-nav__list > li > a:active,
  .site-nav__list > li > a[aria-current] { background: none; }
}

/* Mobile menu: slides open and closed instead of appearing at once. Height animates to auto where the
   browser can (interpolate-size); elsewhere it still fades in. */
@media (max-width: 66rem) and (prefers-reduced-motion: no-preference) {
  .js .site-nav { interpolate-size: allow-keywords; overflow: hidden; height: 0; padding-bottom: 0; opacity: 0;
    transition: height 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), padding-bottom 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.2s ease, display 0.3s allow-discrete; }
  .js .site-nav.is-open { height: auto; padding-bottom: 1.25rem; opacity: 1; }
  @starting-style { .js .site-nav.is-open { height: 0; padding-bottom: 0; opacity: 0; } }
}

/* ---- Moving between pages ------------------------------------------------- */
/* Same-site links cross-fade instead of flashing white. The header holds still, and the line under the
   current section tab slides to the new tab. Browsers without view transitions load pages as before. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}
.site-header { view-transition-name: site-header; }
.tabs { view-transition-name: section-tabs; }
::view-transition-group(*) { animation-duration: 0.3s; animation-timing-function: cubic-bezier(0.2, 0.7, 0.2, 1); }
::view-transition-old(root) { animation: 0.15s ease both page-out; }
::view-transition-new(root) { animation: 0.3s cubic-bezier(0.2, 0.7, 0.2, 1) 0.05s both page-in; }
@keyframes page-out { to { opacity: 0; } }
@keyframes page-in { from { opacity: 0; transform: translateY(6px); } }

/* ---- Section tabs (the breadcrumb row) ----------------------------------- */

/* Section tabs: the pages under one header link, one quiet row with a single line under it */
.tabs { border-bottom: 1px solid var(--rule); background: #fff; }
.tabs__inner { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: stretch; }
.tabs__track { position: relative; display: flex; align-items: stretch; min-width: 0; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.tabs__track::-webkit-scrollbar { display: none; }
.tabs ul { list-style: none; display: flex; gap: 1.75rem; margin: 0; padding: 0; }
.tabs li { margin: 0; padding: 0; flex: none; }
.tabs a { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.9rem 0 calc(0.9rem - 2px); border-bottom: 2px solid transparent; color: var(--slate); text-decoration: none; font-family: var(--sans); font-size: 0.9375rem; font-weight: 500; white-space: nowrap; position: relative; transition: color 0.2s ease, border-color 0.2s ease; }
.tabs a:hover { color: var(--ink); border-bottom-color: var(--rule-strong); }
.tabs a[aria-current] { color: var(--ink); border-bottom-color: transparent; }
/* The current tab's line is its own element so it can slide to the next tab when the page changes */
.tabs__bar { position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--ink); view-transition-name: tab-line; }
.tabs__n { display: inline-grid; place-items: center; width: 1.375rem; height: 1.375rem; border-radius: 50%; background: var(--tint); color: var(--green-deep); font-size: 0.75rem; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; transition: background-color 0.2s ease, color 0.2s ease; }
.tabs a:hover .tabs__n { background: #cdebdb; }
.tabs a[aria-current] .tabs__n { background: var(--green); color: #fff; }
@media (max-width: 46rem) {
  .tabs ul { gap: 1.4rem; }
}


/* ---- Page header --------------------------------------------------------- */

/* Breadcrumb above the title: Home / section / page */
.crumbs { font-family: var(--sans); font-size: 0.875rem; margin: 0 0 1rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; margin: 0; padding: 0; color: var(--slate); }
.crumbs li { margin: 0; padding: 0; display: flex; gap: 0.5rem; }
.crumbs li + li::before { content: "/"; color: var(--rule-strong); }
.crumbs a { color: var(--slate); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); }

.page-head { padding: clamp(1.5rem, 3vw, 2.25rem) 0 clamp(1.75rem, 3vw, 2.5rem); }
.page-head__wide { max-width: 24ch; }
.page-head .lede { max-width: 40rem; margin-top: 1rem; }
.page-head__photo { margin: 1.5rem 0 0; }
.page-head__photo img { display: block; width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-radius: var(--r-card); background: var(--wash); }
@media (min-width: 60rem) {
  .page-head--photo .wrap { display: grid; grid-template-columns: minmax(0, 1fr) 24rem; gap: 3rem; align-items: end; }
  .page-head__photo { margin: 0; }
  .page-head__photo img { aspect-ratio: 3 / 2; }
}
.lede { font-size: clamp(1.125rem, 1.6vw, 1.1875rem); line-height: 1.55; letter-spacing: -0.008em; color: var(--ink-2); }
.byline { font-family: var(--sans); font-size: 0.95rem; color: var(--slate); margin: 1.25rem 0 0; }

/* ---- Sections: a rule, a heading in the left column, the text on the right */

.section { padding: 0 0 clamp(2.5rem, 5vw, 4rem); }
.section > .wrap, .closing > .wrap, .site-footer > .wrap { position: relative; }
.section > .wrap::before, .closing > .wrap::before, .site-footer > .wrap::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); border-top: 1px solid var(--rule); }
.section > .wrap { padding-top: clamp(2rem, 4vw, 3rem); }
.section--plain > .wrap::before { display: none; }
.section--plain > .wrap { padding-top: 0; }
.section__head { max-width: 46rem; margin-bottom: clamp(1.5rem, 3vw, 2rem); }
.section__head h2 { margin-bottom: 0.4em; }
.section__head p { color: var(--slate); }

.split { display: grid; gap: 1.25rem var(--col); grid-template-columns: minmax(0, 1fr); }
.split > :first-child h2 { margin-bottom: 0.5em; }
.split > :first-child p { font-size: 0.9375rem; color: var(--slate); }
@media (min-width: 52rem) {
  .split { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
  .split--aside { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
  .split--aside > :first-child p { font-size: inherit; color: inherit; }
  .split--even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split--even > :first-child p { font-size: inherit; color: inherit; }
  .sticky { position: sticky; top: 6rem; align-self: start; }
}

.prose { max-width: 40rem; }
.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.8em; margin-bottom: 0.4em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose blockquote { margin: 1.5em 0; padding-left: 1.1em; border-left: 2px solid var(--mark); font-size: 1.2em; line-height: 1.4; letter-spacing: -0.015em; color: var(--ink); }
.prose pre { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 0.85rem; background: var(--wash); border-radius: var(--r-input); padding: 1rem 1.15rem; overflow-x: auto; line-height: 1.55; }
.prose code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 0.85em; background: var(--wash); padding: 0.08em 0.35em; border-radius: var(--r-tag); }
.prose pre code { background: none; padding: 0; }

/* Lists: ordinary bullets, nothing decorative. */
.ticks, .dashes { padding-left: 1.15em; }
.ticks li, .dashes li { margin-bottom: 0.55em; }
.split .ticks, .split .dashes { font-size: 1.06rem; }

/* ---- Home: opening ------------------------------------------------------- */

.opening { padding: clamp(1.75rem, 4vw, 3rem) 0 clamp(2rem, 4vw, 3rem); }
.opening__desc { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.35rem 0.8rem; border-radius: var(--r-pill); background: var(--wash); font-family: var(--sans); font-size: 0.8125rem; color: var(--ink-2); margin: 0 0 1.5rem; }
.opening h1 { font-size: clamp(2.6rem, 6vw, 4.5rem); max-width: 16ch; }
.opening .lede { max-width: 38rem; margin-top: 1.4rem; }
/* The 1-2-3 services strip under the home intro: three numbered stops on
   one line, in ink only. */
.mini-steps { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 38rem; }
.mini-steps li { position: relative; }
.mini-steps li:not(:last-child)::after { content: ""; position: absolute; top: 0.875rem; left: 2.25rem; right: 0.6rem; height: 1px; background: var(--rule-strong); }
.mini-steps a { display: flex; flex-direction: column; gap: 0.2rem; padding-right: 1rem; text-decoration: none; font-family: var(--sans); font-size: 0.8125rem; line-height: 1.4; color: var(--slate); }
.mini-steps__n { display: grid; place-items: center; width: 1.75rem; height: 1.75rem; margin-bottom: 0.65rem; border-radius: 50%; border: 1px solid var(--ink); background: var(--paper); color: var(--ink); font-size: 0.8125rem; font-weight: 500; transition: background-color 0.2s ease, color 0.2s ease; }
.mini-steps li:first-child .mini-steps__n { background: var(--ink); color: #fff; }
.mini-steps strong { font-weight: 500; font-size: 1rem; color: var(--ink); }
.mini-steps a:hover strong { text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
.mini-steps a:hover .mini-steps__n { background: var(--ink); color: #fff; }
@media (max-width: 34rem) {
  .mini-steps { grid-template-columns: 1fr; gap: 1rem; }
  .mini-steps li:not(:last-child)::after { top: 2rem; bottom: -1rem; left: 0.875rem; right: auto; width: 1px; height: auto; }
  .mini-steps a { display: grid; grid-template-columns: 1.75rem 1fr; column-gap: 0.9rem; padding: 0; }
  .mini-steps__n { grid-row: span 2; margin: 0; }
}

/* ---- Figures: evidence set like a printed exhibit ----------------------- */

.figure { margin: 0; }
.split .figure { margin-bottom: 2rem; }
.figure__cap { font-family: var(--sans); font-size: 0.8125rem; line-height: 1.5; color: var(--slate); margin-top: 0.9rem; max-width: 44rem; }
.figure__cap b { color: var(--ink); font-weight: 500; }

.ledger { border: 1px solid var(--rule); border-radius: var(--r-card); overflow: hidden; font-family: var(--sans); font-size: 0.9375rem; background: #fff; }
.ledger__q { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.5rem 2rem; padding: 1.25rem 1.5rem; background: var(--wash); }
.ledger__q p { margin: 0; font-family: var(--sans); font-weight: 500; font-size: clamp(1.25rem, 2.2vw, 1.5rem); line-height: 1.2; letter-spacing: -0.022em; color: var(--ink); }
.ledger__q span { font-family: var(--mono); font-size: 0.8125rem; color: var(--slate); }
.ledger table { margin: 0; }
.ledger th, .ledger td { padding: 0.85rem 1.5rem 0.85rem 0; }
.ledger th:first-child, .ledger td:first-child { padding-left: 1.5rem; }
.ledger thead th { border-top: 0; }
.ledger thead th { padding-top: 0.7rem; padding-bottom: 0.55rem; }
.ledger tbody tr:last-child > * { border-bottom: 0; }
.ledger .src { display: block; font-family: var(--mono); font-size: 0.8125rem; color: var(--slate); margin-top: 0.15rem; }
.ledger__fix { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.2rem 1.5rem; padding: 1rem 1.5rem; margin: 0; background: var(--tint); color: var(--green-deep); }
@media (min-width: 40rem) { .ledger__fix { grid-template-columns: 9rem minmax(0, 1fr) auto; } }
.ledger__fix dt { font-weight: 600; }
.ledger__fix dd { margin: 0; }
@media (max-width: 40rem) {
  .ledger thead { display: none; }
  .ledger tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; padding: 0.75rem 1rem; border-bottom: 1px solid var(--rule); }
  .ledger th, .ledger td, .ledger th:first-child, .ledger td:first-child { border: 0; padding: 0.1rem 0; }
  .ledger__q, .ledger__fix { padding-inline: 1rem; }
  .ledger td:nth-child(2) { grid-column: 1; }
  .ledger td:nth-child(3) { grid-row: 1; grid-column: 2; }
}

/* ---- Status words --------------------------------------------------------- */

.status { display: inline-flex; align-items: center; white-space: nowrap; font-family: var(--sans); font-size: 0.75rem; font-weight: 500; line-height: 1.2; padding: 0.25rem 0.55rem; border-radius: var(--r-tag); }
/* A small marker whose shape differs by status, so colour is not the only cue */
.status::before { content: ""; width: 0.45em; height: 0.45em; margin-right: 0.4em; background: currentColor; }
.status--current::before { border-radius: 50%; }
.status--differs::before { transform: rotate(45deg); }
.status--current { color: var(--green); background: var(--tint); }
.status--differs { color: var(--differs); background: var(--differs-tint); }
.status--old { color: var(--old); background: var(--old-tint); }

/* ---- The council chart: one square per council -------------------------- */

.units { display: grid; grid-template-columns: repeat(13, 1fr); gap: 3px; max-width: 21rem; margin: 0; padding: 0; list-style: none; }
.units span { aspect-ratio: 1; background: var(--unread); border-radius: 3px; }
.units .u-diff { background: var(--differs); }
.units .u-read { background: var(--mark); }
.units .u-none { background: #fff; box-shadow: inset 0 0 0 1px var(--rule-strong); }
.key { list-style: none; padding: 0; margin: 1.25rem 0 0; font-family: var(--sans); font-size: 0.95rem; display: grid; gap: 0.5rem; max-width: 30rem; }
.key li { display: grid; grid-template-columns: 0.9rem 2.5rem minmax(0, 1fr); gap: 0.6rem; align-items: baseline; margin: 0; padding: 0; }
.key i { width: 0.9rem; height: 0.9rem; display: block; border-radius: 3px; transform: translateY(0.12em); }
.key b { font-weight: 500; font-variant-numeric: lining-nums tabular-nums; text-align: right; }
.key .u-diff { background: var(--differs); }
.key .u-read { background: var(--mark); }
.key .u-none { background: #fff; box-shadow: inset 0 0 0 1px var(--rule-strong); }

/* ---- Price list (services) ----------------------------------------------- */

.offer { border-top: 1px solid var(--rule); }
.offer__row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.35rem 2rem; padding: 1.35rem 0; border-bottom: 1px solid var(--rule); }
@media (min-width: 46rem) { .offer__row { grid-template-columns: 9rem minmax(0, 1fr) 10rem; } }
.offer__row h3 { margin: 0; font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -0.034em; line-height: 1.1; }
.offer__row p { margin: 0; }
.offer__price { font-family: var(--sans); font-size: 0.95rem; color: var(--slate); }
@media (min-width: 46rem) { .offer__price { text-align: right; } }
.offer__price b { display: block; color: var(--ink); font-weight: 500; }

/* Older section components, kept plain where pages still use them. */
.services { border-top: 1px solid var(--rule); }
.service { padding: 1.25rem 0; border-bottom: 1px solid var(--rule); display: grid; gap: 0.3rem 2rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 46rem) { .service { grid-template-columns: 12rem minmax(0, 1fr); } .service > :not(h3) { grid-column: 2; } }
.service h3 { margin: 0; }
.service p { margin: 0; }
.service__line { color: var(--ink); font-weight: 500; }

/* ---- Facts, steps, tables ------------------------------------------------- */

.facts { margin: 0; border-top: 1px solid var(--rule); font-family: var(--sans); font-size: 0.9375rem; }
.facts > div { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.15rem 2rem; padding: 0.85rem 0; border-bottom: 1px solid var(--rule); }
@media (min-width: 38rem) { .facts > div { grid-template-columns: 11rem minmax(0, 1fr); } }
.facts dt { font-weight: 500; color: var(--ink); }
.facts dd { margin: 0; color: var(--ink-2); }

.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; border-top: 1px solid var(--rule); }
.steps > li { counter-increment: step; display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); gap: 0.25rem 1.25rem; padding: 1.35rem 0; border-bottom: 1px solid var(--rule); margin: 0; }
.steps > li::before { content: counter(step); display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--tint); color: var(--green); font-weight: 500; font-size: 1rem; }
.steps h3 { margin: 0 0 0.3rem; }
.steps p { margin: 0; }
.steps .when { grid-column: 2; display: block; font-family: var(--sans); font-size: 0.8125rem; color: var(--slate); margin-top: 0.35rem; }
@media (min-width: 52rem) { .steps > li { grid-template-columns: 2.5rem minmax(0, 1fr) 12rem; } .steps .when { grid-column: 3; grid-row: 1; margin-top: 0.3rem; } }

.table-wrap { position: relative; overflow-x: auto; margin: 1.5rem 0; }
table { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: 0.9375rem; line-height: 1.45; font-variant-numeric: lining-nums tabular-nums; }
caption { text-align: left; font-size: 0.85rem; color: var(--slate); padding-top: 0.75rem; caption-side: bottom; }
th, td { text-align: left; vertical-align: top; padding: 0.8rem 1.25rem 0.8rem 0; border-bottom: 1px solid var(--rule); }
thead th { font-size: 0.8125rem; font-weight: 500; color: var(--slate); border-top: 1px solid var(--rule-strong); border-bottom-color: var(--rule-strong); }
tbody th { font-weight: 500; color: var(--ink); }
td.num, th.num { text-align: right; }
.price { font-family: var(--sans); font-weight: 500; font-size: 1.4rem; white-space: nowrap; letter-spacing: -0.03em; color: var(--ink); }

/* ---- Notes, sources, questions ------------------------------------------- */

.note { font-family: var(--sans); font-size: 0.9375rem; padding: 1.1rem 1.35rem; background: var(--wash); border-radius: var(--r-input); margin: 2rem 0; max-width: 46rem; }
.note--example { background: var(--old-tint); }
.note strong:first-child { margin-right: 0.35em; }
.note--example strong:first-child { color: var(--old); }

.sources { font-family: var(--sans); font-size: 0.875rem; color: var(--slate); padding-left: 1.3em; max-width: 46rem; }
.sources li { margin-bottom: 0.5rem; }
.sources li:target { color: var(--ink); background: var(--tint); }

.faq { max-width: 44rem; }
.faq h3 { font-size: 1.25rem; margin: 1.75rem 0 0.35rem; }
.faq h3:first-child { margin-top: 0; }
.faq p { color: var(--ink-2); }

/* ---- Closing block ------------------------------------------------------- */

.closing { padding: 0 var(--gutter) clamp(2.5rem, 5vw, 4rem); }
.closing > .wrap::before { display: none; }
.closing > .wrap { max-width: calc(var(--wrap) - 2 * var(--gutter)); padding: clamp(1.75rem, 4vw, 3rem) clamp(1.5rem, 4vw, 3rem); display: grid; gap: 1.5rem var(--col); grid-template-columns: minmax(0, 1fr); background: var(--ink); color: rgb(255 255 255 / 0.72); border-radius: var(--r-card); }
@media (min-width: 52rem) { .closing > .wrap { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.closing h2 { margin: 0; color: #fff; }
.closing p { max-width: 36rem; }
.closing .actions { margin-top: 1.5rem; }
.closing .button { background: #fff; border-color: #fff; color: var(--ink); }
.closing .button:hover { background: var(--wash); border-color: var(--wash); color: var(--ink); }
.closing a:not(.button) { color: #fff; }
.closing a:not(.button):hover { color: var(--mark-on-ink); }
.closing strong, .closing b { color: #fff; }

/* ---- Person -------------------------------------------------------------- */

.person { display: grid; gap: 1.25rem 2rem; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 40rem) { .person { grid-template-columns: 9rem minmax(0, 1fr); } }
.person img { width: 9rem; height: 9rem; object-fit: cover; border-radius: var(--r-card); filter: grayscale(1); }
.portrait { margin: 0; }
.portrait img { width: 100%; max-width: 20rem; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-card); filter: grayscale(1); }
.portrait figcaption { font-family: var(--sans); font-size: 0.8125rem; color: var(--slate); margin-top: 0.6rem; }

/* ---- Lists of links ------------------------------------------------------ */

.index { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--rule); }
.index li { margin: 0; padding: 0; border-bottom: 1px solid var(--rule); }
.index a { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.2rem 2rem; padding: 1rem 0; text-decoration: none; color: var(--ink); }
@media (min-width: 46rem) { .index a { grid-template-columns: 16rem minmax(0, 1fr); } }
.index a strong { font-weight: 500; font-size: 1.25rem; letter-spacing: -0.02em; color: var(--ink); }
.index a:hover strong { color: var(--green); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.index a span { font-family: var(--sans); font-size: 0.9375rem; color: var(--slate); }

.article-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--rule); }
.article-list li { margin: 0; padding: 0; border-bottom: 1px solid var(--rule); }
.article-list a { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.25rem 2rem; padding: 1.2rem 0; text-decoration: none; color: var(--ink); }
@media (min-width: 52rem) { .article-list a { grid-template-columns: 9rem minmax(0, 1fr); } .article-list__summary { grid-column: 2; } }
.article-list__topic { font-family: var(--sans); font-size: 0.8125rem; color: var(--slate); padding-top: 0.25rem; }
.article-list__title { font-size: 1.375rem; font-weight: 500; line-height: 1.2; letter-spacing: -0.022em; color: var(--ink); }
.article-list a:hover .article-list__title { color: var(--green); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.article-list__summary { font-family: var(--sans); font-size: 0.9375rem; color: var(--slate); }

/* ---- Example report ------------------------------------------------------ */

.report { background: #fff; border: 1px solid var(--rule); border-radius: var(--r-card); overflow: hidden; max-width: 54rem; font-family: var(--sans); font-size: 0.9375rem; }
.report + .report { margin-top: 2.5rem; }
.report__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1rem; padding: 0.85rem 1.5rem; background: var(--wash); font-size: 0.8125rem; color: var(--slate); }
.report__body { padding: clamp(1.25rem, 4vw, 2.5rem); }
.report h2 { font-size: clamp(1.5rem, 2.8vw, 1.9rem); margin-bottom: 0.3rem; }
.report h3 { font-family: var(--sans); font-size: 1.125rem; font-weight: 500; margin: 1.75rem 0 0.6rem; }
.report p { font-family: var(--sans); font-size: 1rem; }
.report p.report__dates { font-family: var(--sans); font-size: 0.88rem; color: var(--slate); }
.report .table-wrap { margin: 0.75rem 0; }
.report .tally { display: grid; grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr)); gap: 0.75rem; margin: 1.25rem 0; }
.report .tally div { padding: 1rem; background: var(--wash); border-radius: var(--r-input); }
.report .tally strong { display: block; font-family: var(--sans); font-weight: 500; letter-spacing: -0.045em; font-size: 2.25rem; line-height: 1; margin-bottom: 0.35rem; font-variant-numeric: lining-nums; }
.report__foot { padding: 0.85rem 1.5rem; border-top: 1px solid var(--rule); font-size: 0.8125rem; color: var(--slate); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* ---- Forms --------------------------------------------------------------- */

.form { display: grid; gap: 1.35rem; max-width: 34rem; font-family: var(--sans); }
.field { display: grid; gap: 0.35rem; }
.field label, .field legend { font-weight: 500; font-size: 0.9375rem; color: var(--ink); }
.field .hint { font-size: 0.92rem; color: var(--slate); margin: -0.1rem 0 0.15rem; }
.field input, .field textarea { font: inherit; font-size: 1rem; color: var(--ink); min-height: 46px; padding: 0.7rem 0.9rem; border: 1px solid var(--field-line); border-radius: var(--r-input); background: #fff; width: 100%; }
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--green); outline-offset: 1px; border-color: transparent; }
.field--hp { position: absolute; left: -9999px; }
.field fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.choice { display: flex; gap: 0.6rem; align-items: flex-start; font-weight: 400; }
.choice input { width: 1.15rem; height: 1.15rem; min-height: 0; margin-top: 0.18rem; accent-color: var(--green); }
.choices { display: grid; gap: 0.5rem 1.25rem; }
@media (min-width: 30rem) { .choices { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.optional { font-weight: 400; font-size: 0.85rem; color: var(--slate); margin-left: 0.3em; }
.next-steps { list-style: none; counter-reset: next; margin: 0 0 1.5rem; padding: 0; display: grid; gap: 1rem; font-family: var(--sans); font-size: 0.9375rem; }
.next-steps li { counter-increment: next; position: relative; padding: 1rem 1.15rem 1rem 3.4rem; background: var(--wash); border-radius: var(--r-input); color: var(--ink-2); }
.next-steps li::before { content: counter(next); position: absolute; left: 1.1rem; top: 1rem; display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--ink); color: #fff; font-size: 0.8rem; font-weight: 500; }
.next-steps--plain li { padding-left: 1.15rem; }
.next-steps--plain li::before { content: none; }
.next-steps strong { display: block; font-weight: 500; color: var(--ink); margin-bottom: 0.15rem; }
.form-status { padding: 1rem 1.2rem; font-family: var(--sans); border-radius: var(--r-input); background: var(--tint); color: var(--green-deep); }
.form-status--error { background: var(--differs-tint); color: var(--differs); }
.form-status[hidden] { display: none; }
/* A field the server sent back: a red edge and a mark before its label. */
.field :is(input, textarea)[aria-invalid="true"] { border: 2px solid var(--differs); }
.field:has([aria-invalid="true"]) label::before { content: "Check this: "; color: var(--differs); font-weight: 600; }

/* ---- Articles ------------------------------------------------------------ */

.section--article > .wrap { padding-top: 0; }
.section--article > .wrap::before { display: none; }
.author { display: grid; grid-template-columns: 4rem minmax(0, 1fr); gap: 1rem; align-items: start; margin-top: 3.5rem; padding: 1.5rem; background: var(--wash); border-radius: var(--r-card); font-family: var(--sans); font-size: 0.9375rem; color: var(--ink-2); }
.author img { width: 4rem; height: 4rem; object-fit: cover; border-radius: 50%; filter: grayscale(1); }
.more-links { margin-top: 1.5rem; }

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

.site-footer { font-family: var(--sans); font-size: 0.93rem; color: var(--ink-2); padding: 0 0 3rem; }
.site-footer > .wrap { padding-top: clamp(2.5rem, 5vw, 4rem); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0 0 0.7rem; padding: 0; line-height: 1.45; }
.site-footer a { color: var(--ink-2); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer a:hover { color: var(--green); }
.site-footer__grid { display: grid; gap: 2.75rem var(--col); grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); }
.site-footer__brand { grid-column: 1 / -1; }
@media (min-width: 64rem) {
  .site-footer__grid { grid-template-columns: minmax(13rem, 1.4fr) repeat(3, minmax(0, 1fr)) minmax(13rem, 1.2fr); }
  .site-footer__brand { grid-column: auto; }
}
.site-footer__contact a { overflow-wrap: anywhere; }
.site-footer__brand .wordmark { font-size: 1.35rem; }
.site-footer__brand p { margin: 1rem 0 0; color: var(--slate); max-width: 16rem; }
.site-footer__place { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8125rem; }
.site-footer__place .icon, .site-footer__contact .icon { color: var(--green); }
.site-footer__contact li { display: flex; align-items: flex-start; gap: 0.6rem; }
.site-footer__contact .icon { margin-top: 0.1em; }
.site-footer__h { font-family: var(--sans); font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.02em; margin: 0 0 1.1rem; color: var(--ink); }
.site-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.5rem 2rem; margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: 1.25rem; border-top: 1px solid var(--rule); color: var(--slate); font-size: 0.8125rem; }
.site-footer__base p { margin: 0; }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.site-footer__legal li { margin: 0; }
.site-footer__base a { color: var(--slate); }

.notfound { padding: clamp(2rem, 5vw, 4rem) 0; }

/* ---- Icons ---------------------------------------------------------------- */

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.25em; height: 1.25em; display: inline-block; vertical-align: -0.22em; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon-tile { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: var(--r-input); background: var(--tint); color: var(--green); flex: none; }
.icon-tile .icon { width: 1.5rem; height: 1.5rem; }
.icon-tile--ink { background: var(--ink); color: #fff; }

/* ---- Home: opening with a screenshot ------------------------------------ */

.opening__grid { display: grid; gap: 2.5rem var(--col); grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 60rem) { .opening__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem 4rem; } .opening h1 { font-size: clamp(2.4rem, 4.2vw, 3.6rem); } }
.opening__sources { display: flex; flex-wrap: wrap; gap: 0.5rem 1.1rem; list-style: none; padding: 0; margin: 2rem 0 0; font-size: 0.9rem; color: var(--slate); }
.opening__sources li { display: flex; align-items: center; gap: 0.4rem; margin: 0; padding: 0; }
.opening__sources .icon { color: var(--green); }


/* ---- The three services as a numbered flow ------------------------------ */

.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); counter-reset: none; }
@media (min-width: 56rem) { .flow { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.25rem; } }
.flow__step { position: relative; margin: 0; padding: 1.75rem; border: 0; border-radius: var(--r-card); background: var(--wash); display: flex; flex-direction: column; gap: 0.7rem; transition: background-color 0.15s; }
.flow__step:first-child { background: var(--ink); color: rgb(255 255 255 / 0.75); }
.flow__step:first-child :is(h2, h3) a, .flow__step:first-child p, .flow__step:first-child b { color: #fff; }
.flow__step:first-child .flow__n, .flow__step:first-child .flow__price { color: rgb(255 255 255 / 0.65) !important; }
.flow__step:first-child .flow__price { border-top-color: rgb(255 255 255 / 0.15); }
.flow__step:first-child .icon-tile { background: rgb(255 255 255 / 0.1); color: var(--mark-on-ink); }
.flow__top { display: flex; align-items: center; justify-content: space-between; }
.flow__n { font-size: 0.8125rem; font-weight: 400; color: var(--slate); }
.flow__step :is(h2, h3) { margin: 0.5rem 0 0; font-size: 1.75rem; letter-spacing: -0.034em; }
.flow__step :is(h2, h3) a { color: var(--ink); text-decoration: none; }
.flow__step :is(h2, h3) a::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-card); }
.flow__step:not(:first-child):hover { background: var(--rule); }
.flow__step:first-child:hover { background: #26262a; }
.flow__step p { margin: 0; font-size: 0.9375rem; color: var(--ink-2); }
.flow__price { margin-top: auto !important; padding-top: 1rem; border-top: 1px solid var(--rule-strong); font-size: 0.9375rem !important; color: var(--slate) !important; }
.flow__price b { color: var(--ink); }
@media (min-width: 56rem) {
  .flow__step:not(:last-child)::after { content: ""; position: absolute; top: 2.75rem; right: -1.8rem; width: 1.35rem; height: 1.35rem; z-index: 1;
    background: var(--green); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; }
}
.flow-foot { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; margin-top: 1.5rem; }


/* ---- Lists with icons ------------------------------------------------------ */

.index--icons a { grid-template-columns: 2.75rem minmax(0, 1fr); align-items: center; }
@media (min-width: 46rem) { .index--icons a { grid-template-columns: 2.75rem 14rem minmax(0, 1fr); } }
.index--icons a span:not(.icon-tile) { grid-column: 2; }
@media (min-width: 46rem) { .index--icons a span:not(.icon-tile) { grid-column: 3; } }

.facts--icons > div { grid-template-columns: 2.25rem minmax(0, 1fr); align-items: start; }
@media (min-width: 38rem) { .facts--icons > div { grid-template-columns: 2.25rem 10rem minmax(0, 1fr); } }
.facts--icons dt { display: contents; }
.facts--icons dt .icon { width: 1.4rem; height: 1.4rem; color: var(--green); margin-top: 0.05rem; }
.facts--icons dd { grid-column: 2; }
@media (min-width: 38rem) { .facts--icons dd { grid-column: 3; } }

.tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.tiles li { margin: 0; padding: 1.5rem; border: 0; border-radius: var(--r-card); background: var(--wash); display: grid; gap: 0.75rem; align-content: start; }
.tiles h3 { margin: 0; font-size: 1.125rem; }
.tiles p { margin: 0; font-size: 0.9375rem; color: var(--ink-2); }

.steps--icons > li::before { display: none; }
.steps--icons > li { grid-template-columns: 2.75rem minmax(0, 1fr); }
@media (min-width: 52rem) { .steps--icons > li { grid-template-columns: 2.75rem minmax(0, 1fr) 12rem; } }

/* ---- Chart: clicks with and without an AI summary ------------------------- */

.clicks { max-width: 34rem; margin: 0 0 2rem; }
.clicks svg { width: 100%; height: auto; overflow: visible; }
.clicks__label { font: 400 13px var(--sans); fill: var(--ink-2); }
.clicks__val { font: 500 15px var(--sans); fill: var(--ink); }
.clicks__bar--before { fill: var(--unread); }
.clicks__bar--after { fill: var(--green); }

/* ---- Closing: contact with icons ----------------------------------------- */

.contact-ways { display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; list-style: none; padding: 0; margin: 1.25rem 0 0; font-size: 0.95rem; }
.contact-ways li { display: flex; align-items: center; gap: 0.45rem; margin: 0; padding: 0; }
.contact-ways .icon { color: var(--green); }

@media print {
  .site-header, .site-footer, .closing, .skip, .tabs, .crumbs { display: none !important; }
  body { font-size: 11pt; }
  a { color: inherit; }
}
.split--aside .facts > div, aside .facts > div { grid-template-columns: minmax(0, 1fr); }
.closing .contact-ways .icon { color: var(--mark-on-ink); }
.closing .contact-ways { color: rgb(255 255 255 / 0.72); }

/* ---- Data graphics: bars, blocks and grids ------------------------------- */
/* Green, red and amber keep their meaning everywhere: right, differs, out of
   date. The figures in these graphics are examples and say so in a caption. */

.b-c { --k: var(--mark); }
.b-d { --k: var(--differs); }
.b-o { --k: var(--old-mark); }
.b-n { --k: transparent; }

.legend { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; list-style: none; padding: 0; margin: 1rem 0 0; font-size: 0.8125rem; color: var(--slate); }
.legend li { display: flex; align-items: center; gap: 0.45rem; margin: 0; padding: 0; }
.legend li::before { content: ""; width: 0.65rem; height: 0.65rem; border-radius: 2px; background: var(--k); }
.legend .b-n::before { box-shadow: inset 0 0 0 1px var(--rule-strong); }
.legend .legend__h::before { width: 0.3rem; height: 0.9rem; background: var(--rule-strong); }

.answer-bars__top { display: flex; flex-wrap: wrap-reverse; justify-content: space-between; align-items: flex-end; gap: 1rem 1.5rem; margin-bottom: 1.25rem; }
.answer-bars__note { font-size: 0.875rem; color: var(--slate); max-width: 24rem; margin: 0; }
.answer-bars__stat { margin: 0; line-height: 1; white-space: nowrap; }
@media (min-width: 40rem) { .answer-bars__stat { text-align: right; } }
.answer-bars__stat b { display: block; font-weight: 500; font-size: clamp(2rem, 4vw, 2.75rem); letter-spacing: -0.04em; color: var(--ink); font-variant-numeric: tabular-nums; }
.answer-bars__stat span { display: block; font-size: 0.8125rem; color: var(--slate); margin-top: 0.4rem; }
.bars { display: grid; grid-template-columns: repeat(40, minmax(0, 1fr)); gap: 3px; align-items: end; height: 9rem; border-bottom: 1px solid var(--rule-strong); }
@media (min-width: 40rem) { .bars { gap: 5px; height: 11rem; } }
.bars i { display: block; border-radius: 3px 3px 0 0; background: var(--k); }
.bars .h3 { height: 43%; } .bars .h4 { height: 57%; } .bars .h5 { height: 71%; } .bars .h6 { height: 86%; } .bars .h7 { height: 100%; }
@media (prefers-reduced-motion: no-preference) {
  .js .bars i { transform-origin: bottom; animation: bar-rise 0.7s cubic-bezier(.2, .7, .2, 1) both; }
  .js .bars i:nth-child(4n+2) { animation-delay: 0.05s; } .js .bars i:nth-child(4n+3) { animation-delay: 0.1s; } .js .bars i:nth-child(4n) { animation-delay: 0.15s; }
}
@keyframes bar-rise { from { transform: scaleY(0.05); } to { transform: scaleY(1); } }

.matrix { font-size: 0.875rem; }
.matrix th, .matrix td { padding: 0.55rem 0.5rem; vertical-align: middle; }
.matrix thead th { font-size: 0.75rem; text-align: center; line-height: 1.25; white-space: normal; }
.matrix thead th:first-child, .matrix tbody th { text-align: left; padding-left: 0; }
.matrix tbody th { font-weight: 400; color: var(--ink); min-width: 13rem; }
.matrix td { text-align: center; }
.matrix td i { display: inline-block; vertical-align: middle; width: 1.6rem; height: 1.6rem; border-radius: 5px; }
.matrix--year td i { width: 1.15rem; height: 1.15rem; border-radius: 3px; }
.matrix--year th, .matrix--year td { padding: 0.45rem 0.2rem; }
.matrix--year tbody th { min-width: 12rem; padding-right: 1rem; }
.m-c { background: var(--mark); }
.m-d { background: var(--differs); }
.m-o { background: var(--old-mark); }
.m-n { box-shadow: inset 0 0 0 1px var(--rule-strong); }
.source-grid .table-wrap, .year-grid .table-wrap { margin: 0; }

.fix-row { display: grid; gap: 0.5rem 1.5rem; grid-template-columns: minmax(0, 1fr); align-items: center; margin-bottom: 1rem; }
@media (min-width: 40rem) { .fix-row { grid-template-columns: 9rem minmax(0, 1fr); } }
.fix-row__label { margin: 0; font-size: 0.875rem; color: var(--ink); }
.fix-row__units { display: grid; grid-template-columns: repeat(20, minmax(0, 1fr)); gap: 3px; max-width: 30rem; }
.fix-row__units i { aspect-ratio: 1; border-radius: 3px; background: var(--k); }

/* Stat blocks: a number with its coloured key, used as a chart legend. */
.stat-blocks { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 0.75rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 40rem) { .stat-blocks { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.stat-blocks li { margin: 0; background: var(--wash); border-radius: 16px; padding: 1.1rem 1.2rem 1.2rem; display: flex; flex-direction: column; gap: 0.35rem; }
.stat-blocks i { width: 1.1rem; height: 1.1rem; border-radius: 4px; margin-bottom: 1.4rem; }
.stat-blocks b { font-weight: 500; font-size: 2rem; line-height: 1; letter-spacing: -0.04em; color: var(--ink); font-variant-numeric: tabular-nums; }
.stat-blocks b small { font-size: 0.9rem; letter-spacing: 0; color: var(--slate); font-weight: 400; margin-left: 0.25rem; }
.stat-blocks span { font-size: 0.875rem; line-height: 1.45; color: var(--ink-2); }
.stat-blocks .u-diff { background: var(--differs); }
.stat-blocks .u-read { background: var(--mark); }
.stat-blocks .u-none { background: #fff; box-shadow: inset 0 0 0 1px var(--rule-strong); }

/* ---- Photographs --------------------------------------------------------- */
/* Everyday New Zealand: the things people ask councils and agencies about.
   Unsplash licence; sources in docs/photo-credits.md. */

.photo { margin: 0; }
.photo img { width: 100%; object-fit: cover; border-radius: var(--r-card); background: var(--wash); }
.photo--wide img { aspect-ratio: 3 / 2; }
@media (min-width: 52rem) { .photo--wide img { aspect-ratio: 21 / 8; } }
.photo figcaption { font-size: 0.8125rem; color: var(--slate); margin-top: 0.7rem; }

.asks { list-style: none; padding: 0; margin: 0; display: grid; gap: 2.25rem 1.25rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 36rem) { .asks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .asks { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.asks li { margin: 0; padding: 0; display: flex; flex-direction: column; }
.asks__pic { position: relative; }
.asks__pic img { display: block; width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-radius: 14px; background: var(--wash); }
.asks__pic .status { position: absolute; top: 0.6rem; left: 0.6rem; box-shadow: 0 1px 3px rgb(0 0 0 / 0.15); }
.asks h3 { font-size: 1.0625rem; line-height: 1.35; margin: 1rem 0 0.9rem; }
.verdict { margin: auto 0 0; display: grid; gap: 0.4rem; }
.verdict__row { border-radius: 12px; padding: 0.65rem 0.8rem 0.75rem; }
.verdict dt { display: flex; align-items: center; gap: 0.35rem; font-size: 0.75rem; font-weight: 500; }
.verdict dt .icon { width: 0.9rem; height: 0.9rem; }
.verdict dd { margin: 0.25rem 0 0; font-size: 0.8125rem; line-height: 1.4; color: var(--ink-2); }
.verdict dd b { display: block; font-size: 1.5rem; font-weight: 500; line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 0.2rem; }
.verdict__row--green { background: var(--tint); }
.verdict__row--green dt, .verdict__row--green b { color: var(--green); }
.verdict__row--old { background: var(--old-tint); }
.verdict__row--old dt, .verdict__row--old b { color: var(--old); }
.verdict__row--differs { background: var(--differs-tint); }
.verdict__row--differs dt, .verdict__row--differs b { color: var(--differs); }
.asks p.asks__cost { display: flex; gap: 0.45rem; align-items: flex-start; margin: 0.7rem 0 0; font-size: 0.8125rem; line-height: 1.45; color: var(--ink-2); }
.asks__cost .icon { flex: none; width: 1rem; height: 1rem; margin-top: 0.1rem; color: var(--slate); }
.asks__cost b { display: block; font-weight: 500; color: var(--ink); }
/* Each card spans five shared rows (photo, question, answer got, right answer, cost), so the boxes line up across a row of cards */
@supports (grid-template-rows: subgrid) {
  .asks li { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0; }
  .asks .verdict { grid-row: span 2; grid-template-rows: subgrid; row-gap: 0.4rem; margin: 0; }
}

/* ---- /graphics/: the reference page ------------------------------------- */

.gallery { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.5rem 1.25rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 40rem) { .gallery--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .gallery--photos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .gallery--photos { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.gallery__item { margin: 0; padding: 0; font-size: 0.8125rem; color: var(--slate); }
.gallery__item img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 14px; background: var(--wash); margin-bottom: 0.5rem; }
.gallery__item b { color: var(--ink); font-weight: 500; }
.gallery__pad { display: grid; place-items: center; height: 9rem; border-radius: var(--r-card); background: var(--wash); margin-bottom: 0.5rem; }
.gallery__pad img { width: 12rem; height: auto; aspect-ratio: auto; background: none; margin: 0; border-radius: 0; }
.gallery__pad--ink { background: var(--ink); }
.gallery__block { padding: 2rem 0; border-top: 1px solid var(--rule); }
.gallery__block:first-of-type { border-top: 0; padding-top: 0; }
.gallery__block h3 { margin-bottom: 0.2rem; }
.gallery__src { font-size: 0.8125rem; color: var(--slate); margin-bottom: 1.5rem; }
.gallery__row { display: flex; flex-wrap: wrap; gap: 0.6rem; }

.swatches { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); }
.swatches li { margin: 0; font-size: 0.8125rem; color: var(--slate); }
.swatches i { display: block; height: 4.5rem; border-radius: 12px; margin-bottom: 0.5rem; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06); }
.swatches b { display: block; color: var(--ink); font-weight: 500; }
.sw--paper { background: var(--paper); } .sw--wash { background: var(--wash); } .sw--ink { background: var(--ink); } .sw--ink-2 { background: var(--ink-2); }
.sw--slate { background: var(--slate); } .sw--rule { background: var(--rule); } .sw--green { background: var(--green); } .sw--mark { background: var(--mark); }
.sw--tint { background: var(--tint); } .sw--differs { background: var(--differs); } .sw--differs-tint { background: var(--differs-tint); }
.sw--old-mark { background: var(--old-mark); } .sw--old { background: var(--old); } .sw--old-tint { background: var(--old-tint); }

.icon-sheet { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); }
.icon-sheet li { margin: 0; display: flex; align-items: center; gap: 0.75rem; padding: 0.6rem; border-radius: 14px; background: var(--wash); font-size: 0.8125rem; color: var(--ink-2); }
.icon-sheet li > .icon { color: var(--ink); }
.icon-sheet .icon-tile { background: var(--paper); }


/* Positions and sizes come from these classes, since inline styles are blocked. */
.p0{--p:0%}.p1{--p:1%}.p2{--p:2%}.p3{--p:3%}.p4{--p:4%}.p5{--p:5%}.p6{--p:6%}.p7{--p:7%}.p8{--p:8%}.p9{--p:9%}.p10{--p:10%}.p11{--p:11%}.p12{--p:12%}.p13{--p:13%}.p14{--p:14%}.p15{--p:15%}.p16{--p:16%}.p17{--p:17%}.p18{--p:18%}.p19{--p:19%}.p20{--p:20%}.p21{--p:21%}.p22{--p:22%}.p23{--p:23%}.p24{--p:24%}.p25{--p:25%}.p26{--p:26%}.p27{--p:27%}.p28{--p:28%}.p29{--p:29%}.p30{--p:30%}.p31{--p:31%}.p32{--p:32%}.p33{--p:33%}.p34{--p:34%}.p35{--p:35%}.p36{--p:36%}.p37{--p:37%}.p38{--p:38%}.p39{--p:39%}.p40{--p:40%}.p41{--p:41%}.p42{--p:42%}.p43{--p:43%}.p44{--p:44%}.p45{--p:45%}.p46{--p:46%}.p47{--p:47%}.p48{--p:48%}.p49{--p:49%}.p50{--p:50%}.p51{--p:51%}.p52{--p:52%}.p53{--p:53%}.p54{--p:54%}.p55{--p:55%}.p56{--p:56%}.p57{--p:57%}.p58{--p:58%}.p59{--p:59%}.p60{--p:60%}.p61{--p:61%}.p62{--p:62%}.p63{--p:63%}.p64{--p:64%}.p65{--p:65%}.p66{--p:66%}.p67{--p:67%}.p68{--p:68%}.p69{--p:69%}.p70{--p:70%}.p71{--p:71%}.p72{--p:72%}.p73{--p:73%}.p74{--p:74%}.p75{--p:75%}.p76{--p:76%}.p77{--p:77%}.p78{--p:78%}.p79{--p:79%}.p80{--p:80%}.p81{--p:81%}.p82{--p:82%}.p83{--p:83%}.p84{--p:84%}.p85{--p:85%}.p86{--p:86%}.p87{--p:87%}.p88{--p:88%}.p89{--p:89%}.p90{--p:90%}.p91{--p:91%}.p92{--p:92%}.p93{--p:93%}.p94{--p:94%}.p95{--p:95%}.p96{--p:96%}.p97{--p:97%}.p98{--p:98%}.p99{--p:99%}.p100{--p:100%}
/* ---- Home: the answer panel beside the opening --------------------------- */

.hero-viz { position: relative; margin: 0; padding: 0 0 4.5rem; }
.hero-viz__panel { position: relative; padding: clamp(1.25rem, 3vw, 2rem); border-radius: 28px; background:
  radial-gradient(circle at 1px 1px, rgb(11 11 12 / 0.07) 1px, transparent 1.5px) 0 0 / 18px 18px,
  linear-gradient(160deg, #f3f6f2 0%, #f5f5f3 55%, #eef3f0 100%); }
.hero-viz__q { display: flex; align-items: center; gap: 0.6rem; margin: 0 0 1rem; padding: 0.8rem 1.1rem; background: #fff; border-radius: 999px; box-shadow: 0 1px 2px rgb(11 11 12 / 0.06), 0 8px 24px -12px rgb(11 11 12 / 0.18); font-size: 0.95rem; color: var(--ink); }
.hero-viz__q .icon { color: var(--slate); }
.answers { list-style: none; margin: 0; padding: 0.35rem; background: #fff; border-radius: 20px; box-shadow: 0 1px 2px rgb(11 11 12 / 0.05), 0 24px 48px -28px rgb(11 11 12 / 0.28); }
.answers li { display: grid; grid-template-columns: 2.25rem minmax(0, 1fr) auto 6.25rem; gap: 0.85rem; align-items: center; margin: 0; padding: 0.75rem 0.85rem; border-radius: 15px; font-size: 0.9rem; }
.answers li + li { box-shadow: inset 0 1px 0 var(--rule); }
.answers__ico { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 10px; background: var(--wash); color: var(--ink-2); }
.answers__src { color: var(--ink); font-weight: 500; line-height: 1.25; }
.answers__src small { display: block; font-weight: 400; font-size: 0.75rem; color: var(--slate); }
.answers__val { font-size: 1.15rem; font-weight: 500; letter-spacing: -0.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.answers__val--old { color: var(--old); text-decoration: line-through; text-decoration-thickness: 1.5px; text-decoration-color: rgb(138 90 0 / 0.5); }
.answers .status { justify-self: start; }
.answers li.answers__truth { background: var(--tint); box-shadow: none; margin-top: 0.35rem; }
.answers__truth .answers__ico { background: var(--green); color: #fff; }
.answers__since { font-size: 0.75rem; color: var(--green-deep); }
.hero-viz__trace { position: absolute; right: -0.75rem; bottom: 0; display: flex; align-items: center; gap: 1rem; padding: 0.9rem 1.25rem 0.9rem 0.9rem; background: #fff; border-radius: 20px; box-shadow: 0 1px 2px rgb(11 11 12 / 0.06), 0 24px 48px -20px rgb(11 11 12 / 0.32); }
.hero-viz__trace p { margin: 0; }
.hero-viz__label { font-size: 0.75rem; color: var(--slate); }
.hero-viz__file { display: flex; align-items: center; gap: 0.35rem; font-weight: 500; color: var(--ink); font-size: 0.9rem; }
.hero-viz__file .icon { color: var(--differs); }
.hero-viz__why { font-size: 0.8125rem; color: var(--ink-2); }
@media (prefers-reduced-motion: no-preference) {
  .js .answers li, .js .hero-viz__trace { animation: rise-in 0.6s cubic-bezier(.2, .7, .2, 1) both; }
  .js .answers li:nth-child(2) { animation-delay: 0.08s; } .js .answers li:nth-child(3) { animation-delay: 0.16s; } .js .answers li:nth-child(4) { animation-delay: 0.24s; }
  .js .hero-viz__trace { animation-delay: 0.45s; }
}
@keyframes rise-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 40rem) {
  .hero-viz { padding-bottom: 0; }
  .answers li { grid-template-columns: 2rem minmax(0, 1fr) auto; }
  .answers .status, .answers__since { display: none; }
  .hero-viz__trace { position: static; margin-top: 0.75rem; }
}

/* ---- A finding, as it appears in a report -------------------------------- */

.finding__card { background: #fff; border: 1px solid var(--rule); border-radius: 28px; padding: clamp(1.25rem, 3.5vw, 2.25rem); box-shadow: 0 1px 2px rgb(11 11 12 / 0.03), 0 30px 60px -40px rgb(11 11 12 / 0.25); }
.finding__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.finding__n { font-size: 0.8125rem; color: var(--slate); }
.finding__q { margin: 0 0 1.75rem; font-size: clamp(1.5rem, 2.8vw, 2.1rem); font-weight: 500; line-height: 1.12; letter-spacing: -0.035em; color: var(--ink); }
.finding__compare { display: grid; gap: 0.75rem; grid-template-columns: minmax(0, 1fr); margin-bottom: 1.75rem; }
@media (min-width: 40rem) { .finding__compare { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.finding__side { display: grid; gap: 0.3rem; padding: 1.25rem 1.4rem; border-radius: 20px; }
.finding__side span { font-size: 0.8125rem; }
.finding__side b { font-size: clamp(2.4rem, 5vw, 3.25rem); font-weight: 500; line-height: 1; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.finding__side small { font-size: 0.8125rem; }
.finding__side--told { background: var(--old-tint); color: var(--old); }
.finding__side--told b { color: var(--old); text-decoration: line-through; text-decoration-thickness: 3px; text-decoration-color: rgb(138 90 0 / 0.35); }
.finding__side--page { background: var(--tint); color: var(--green-deep); }
.finding__side--page b { color: var(--green-deep); }
.finding__trace { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); counter-reset: step; }
@media (min-width: 40rem) { .finding__trace { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; } }
.finding__trace li { position: relative; margin: 0; padding-top: 1rem; border-top: 2px solid var(--rule); display: grid; gap: 0.15rem; font-size: 0.875rem; color: var(--slate); }
.finding__trace li:last-child { border-top-color: var(--mark); }
.finding__step { font-size: 0.75rem; color: var(--slate); }
.finding__trace b { color: var(--ink); font-weight: 500; font-size: 0.9375rem; }

/* ---- Where answers come from: illustrated tiles -------------------------- */

.tiles--ill li { padding: 0.6rem 0.6rem 1.5rem; gap: 0.5rem; background: var(--wash); }
.tiles--ill h3, .tiles--ill p { padding: 0 0.9rem; }
.tiles--ill h3 { margin-top: 0.6rem; }
.ill { width: 100%; height: auto; border-radius: 14px; background: linear-gradient(180deg, #fbfbfa, #f0f1ee); }
.ill-white { fill: #fff; } .ill-wash { fill: #eeeeeb; } .ill-edge { stroke: var(--rule-strong); stroke-width: 1; }
.ill-ink { fill: var(--ink); } .ill-mute { fill: #dcdcd7; }
.ill-g { fill: var(--green); } .ill-gfill { fill: var(--mark); } .ill-gsoft { fill: #b9dcc9; } .ill-tint { fill: var(--tint); } .ill-gtint { fill: #bfe3cf; }
.ill-d { fill: var(--differs); } .ill-dtint { fill: #f3c2b7; } .ill-otint { fill: #f2d999; }
.ill-stroke { fill: none; stroke: var(--slate); stroke-width: 2; stroke-linecap: round; }
.ill-wstroke { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.ill-road { fill: none; stroke: #e4e4df; stroke-width: 7; stroke-linecap: round; }
.ill-link { fill: none; stroke: var(--rule-strong); stroke-width: 2; stroke-dasharray: 3 4; }
.ill-label { font: 600 8px/1 var(--sans); fill: #fff; letter-spacing: 0.04em; }
.ill-label--old { fill: var(--old); }
.ill-label--d { fill: var(--differs); }
.tiles--ill { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 36rem) { .tiles--ill { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 60rem) { .tiles--ill { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gallery__h { font-size: 0.9375rem; margin: 2rem 0 0.9rem; color: var(--ink); }
.gallery__h:first-child { margin-top: 0; }
.gallery__gap { height: 1.25rem; }
.sw--k0 { background: var(--k0); } .sw--k1 { background: var(--k1); } .sw--k2 { background: var(--k2); } .sw--k3 { background: var(--k3); }
.sw--q1 { background: var(--q1); } .sw--q2 { background: var(--q2); } .sw--q3 { background: var(--q3); } .sw--q4 { background: var(--q4); } .sw--q5 { background: var(--q5); } .sw--q6 { background: var(--q6); } .sw--q7 { background: var(--q7); }
.chart-card .hero-viz { padding-bottom: 4.5rem; }
.chart-card .hero-viz__trace { right: 0; }
.chart-card .finding__card { border: 0; box-shadow: none; padding: 0; }


@keyframes pop-in { from { opacity: 0; transform: scale(0.6); } to { opacity: 1; transform: none; } }
/* ---- Chart pieces also used outside the chart kit ---------------------- */
/* Kept here, where the chart kit used to sit, because each of these classes is also used outside it. */
.chart-card { background: #fff; border: 1px solid var(--rule); border-radius: var(--r-card); padding: clamp(1.25rem, 3vw, 2rem); box-shadow: 0 1px 2px rgb(11 11 12 / 0.03); }
.chart-card > h3 { font-size: 1.0625rem; margin: 0 0 0.25rem; }
.chart-card .figure { margin: 0; }
/* Study pages (/findings/<study>/): charts, tables and text stacked in one column keep a gap. */
.chart-card + .chart-card, .chart-card + .table-wrap, .chart-card + .dashes, .chart-card + .prose, .figure + .prose { margin-top: 1.5rem; }
@media (min-width: 52rem) {
  .chart-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.kpi__label { margin: 0; font-size: 0.8125rem; color: var(--slate); }
/* Ring */
.ring { position: relative; margin: 0; width: 9rem; aspect-ratio: 1; }
.ring svg { width: 100%; height: 100%; }
.ring circle { fill: none; stroke-width: 9; }
.ring figcaption, .ring .ring__label { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; line-height: 1.1; }
.ring b { font-weight: 500; font-size: 1.6rem; letter-spacing: -0.04em; color: var(--ink); font-variant-numeric: tabular-nums; }
.ring b small { font-size: 0.5em; color: var(--slate); letter-spacing: 0; font-weight: 400; }
.ring--lg { width: 12rem; }
.ring--sm { width: 5.5rem; }
.ring--sm b { font-size: 1.05rem; }
.ring--lg b { font-size: 2.2rem; }
.ring--sm span { display: none; }
.ring span { font-size: 0.75rem; color: var(--slate); margin-top: 0.2rem; }
.stack__label, .rank__label { color: var(--ink); }
.meter__label { color: var(--ink); }
.lines__line { fill: none; stroke: var(--k); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.lines__area { fill: var(--k); opacity: 0.08; }
/* Waffle */
.waffle__grid { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 3px; max-width: 16rem; }
.waffle__grid i { aspect-ratio: 1; border-radius: 3px; background: var(--k); }
/* ---- Chart kit, second set ----------------------------------------------- */

.g { --k: var(--g5); }
.g6 { --k: var(--g6); }
.k4 { --k: var(--k4); }
.legend .k4::before, .legend .k5::before, .legend .s-c::before, .legend .s-d::before, .legend .s-o::before, .legend .s-n::before, .legend .g::before { background: var(--k); }
.db__label { color: var(--ink); }
.strips__facts { display: flex; gap: 3px; }
.strips__facts i { width: 0.95rem; height: 0.95rem; border-radius: 3px; background: var(--k); }
@media (max-width: 40rem) {
  .strips__facts { grid-column: 1 / -1; grid-row: 2; }
}
.mult__label { display: block; font-weight: 500; color: var(--ink); font-size: 0.9rem; }
/* Kinds of finding */
.kinds ul { list-style: none; margin: 0; padding: 0; }
.kinds li { display: grid; grid-template-columns: 2.4rem minmax(0, 1fr) minmax(4rem, 10rem) 2rem; gap: 0.9rem; align-items: center; padding: 0.6rem 0; border-bottom: 1px solid var(--rule); margin: 0; }
.kinds__ico { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 10px; background: var(--wash); color: var(--k); }
@media (max-width: 40rem) {
  .kinds li { grid-template-columns: 2.4rem minmax(0, 1fr) 2rem; }
}
/* Icon row: n in 100 */
.irow { display: grid; grid-template-columns: minmax(0, 1fr) 6.5rem; gap: 1rem; align-items: center; padding: 0.6rem 0; }
.irow__grid { display: grid; grid-template-columns: repeat(25, minmax(0, 1fr)); gap: 3px; }
.irow__grid i { aspect-ratio: 1; border-radius: 50%; background: var(--rule); }
.irow__grid i.s-c, .irow__grid i.s-d, .irow__grid i.k1, .irow__grid i.g { background: var(--k); }
/* Compare */
.compare { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.compare__side { display: grid; gap: 0.2rem; padding: 1rem 1.25rem; border-radius: 16px; background: var(--wash); min-width: 9rem; }
.compare__side span { font-size: 0.75rem; color: var(--slate); }
.compare__side b { font-size: 2rem; font-weight: 500; letter-spacing: -0.04em; color: var(--ink); line-height: 1; }
.compare__side--b { background: var(--tint); }
.compare__side--b b { color: var(--green-deep); }
.compare .figure__cap { flex-basis: 100%; }
/* Council squares, grouped */
.units2 { display: grid; gap: 1.25rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 40rem) {
  .units2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.units2 .units { max-width: none; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 4px; }
.units2 .units span { border-radius: 4px; }
.units2 .u-none { background: #fff; box-shadow: inset 0 0 0 1px var(--rule-strong); }
@media (prefers-reduced-motion: no-preference) {
  .js .units2 .units span { animation: pop-in 0.4s cubic-bezier(.2, .7, .2, 1) both; }
  .js .units2 .units span:nth-child(3n+2) { animation-delay: 0.06s; }
  .js .units2 .units span:nth-child(3n) { animation-delay: 0.12s; }
}
.matrix tfoot th, .matrix tfoot td { border-bottom: 0; border-top: 1px solid var(--rule-strong); padding-top: 0.7rem; }
.matrix tfoot th { font-weight: 500; color: var(--ink); font-size: 0.8125rem; }
.ill-k1 { fill: var(--k1); }
.gallery__sp { display: inline-block; width: 1.5rem; }
.s-c { --k: var(--mark); }
.s-d { --k: var(--differs); }
.s-o { --k: var(--old-mark); }
.s-n { --k: var(--rule-strong); }
.k1 { --k: var(--k1); }
.legend .k0::before, .legend .k1::before, .legend .k2::before, .legend .k3::before { background: var(--k); }
.k5 { --k: var(--k5); }
.lines__area.s-c { opacity: 0.12; }
.lines__area.s-d { opacity: 0.1; }
.kinds li.s-c .kinds__ico { background: var(--tint); }
.kinds li.s-d .kinds__ico { background: var(--differs-tint); }
.kinds li.s-o .kinds__ico { background: var(--old-tint); color: var(--old); }
.k0 { --k: var(--k0); }
.k2 { --k: var(--k2); }
.k3 { --k: var(--k3); }

/* ---- Round marks, icons in charts ---------------------------------------- */
/* Dots read softer than squares: unit charts, waffles, grids and legends are round. */
.waffle__grid i, .units span, .units2 .units span, .fix-row__units i, .strips__facts i, .matrix td i, .matrix--year td i, .stat-blocks i, .legend li::before, .key i { border-radius: 50%; }
.legend .legend__h::before { border-radius: 2px; }
.lab-ico { display: inline-grid; place-items: center; width: 1.6rem; height: 1.6rem; margin-right: 0.55rem; border-radius: 50%; background: var(--tint); color: var(--green); vertical-align: middle; flex: none; }
.lab-ico .icon { width: 0.95rem; height: 0.95rem; }
.stack__label, .rank__label, .meter__label, .db__label { display: flex; align-items: center; min-width: 0; }
.kpi__label { display: flex; align-items: center; }
.kpi__label .lab-ico { width: 1.75rem; height: 1.75rem; background: #fff; }
.big-stat__ico { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; color: #fff; background: var(--k); margin-bottom: 0.3rem; }
.big-stat__ico .icon { width: 1.2rem; height: 1.2rem; }
.mult__label { display: flex; align-items: center; }
.mult__label .lab-ico { width: 1.4rem; height: 1.4rem; margin-right: 0.4rem; }
.lines__line.g6 { stroke: var(--g6); } .lines__area.g6 { fill: var(--g6); }
.kinds li.k4 .kinds__ico { background: #dff3f5; }

/* Funnel, ribbon */
.funnel2__cols { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 1rem; }
.funnel2__cols li { position: relative; margin: 0; display: grid; gap: 0.2rem; align-content: start; padding-left: 0.2rem; }
.funnel2__ico { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--tint); color: var(--green); margin-bottom: 0.5rem; }
.funnel2__cols li:last-child .funnel2__ico { background: var(--mark); color: #fff; }
.funnel2__cols b { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 500; letter-spacing: -0.04em; color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums; }
.funnel2__label { font-size: 0.875rem; color: var(--ink); }
.funnel2__cols small { font-size: 0.75rem; color: var(--slate); line-height: 1.35; }
.funnel2__keep { position: absolute; left: -0.9rem; top: 0.55rem; transform: translateX(-50%); font-size: 0.68rem; font-weight: 500; color: var(--green); background: #fff; border: 1px solid var(--g2); padding: 0.1rem 0.4rem; border-radius: 999px; white-space: nowrap; z-index: 1; }
.funnel2__ribbon { display: block; width: 100%; height: 7rem; margin-top: 1.25rem; }
.funnel2__band { fill: var(--k); stroke: #fff; stroke-width: 0.4; vector-effect: non-scaling-stroke; }
.funnel2__band--last { fill: var(--mark); }
@media (max-width: 46rem) {
  .funnel2__cols { grid-auto-flow: row; grid-template-columns: minmax(0, 1fr); }
  .funnel2__cols li { grid-template-columns: 2.4rem minmax(0, 1fr); column-gap: 0.9rem; padding: 0.5rem 0; border-bottom: 1px solid var(--rule); }
  .funnel2__cols li > :not(.funnel2__ico):not(.funnel2__keep) { grid-column: 2; }
  .funnel2__ico { grid-row: 1 / span 4; margin: 0; }
  .funnel2__keep { position: static; transform: none; grid-column: 2; justify-self: start; order: 9; margin-top: 0.3rem; }
  .funnel2__ribbon { height: 4rem; }
}

/* Council scan */
.cscan__groups { display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 40rem) { .cscan__groups { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cscan__group { padding: 1.1rem 1.1rem 1rem; border-radius: 20px; background: linear-gradient(180deg, #f4f8f5, var(--wash)); }
.cscan__group--none { background: var(--wash); }
.cscan__h { display: flex; align-items: center; gap: 0.7rem; margin: 0 0 1rem; font-size: 0.78rem; color: var(--slate); line-height: 1.25; }
.cscan__h b { display: block; font-size: 1.05rem; font-weight: 500; color: var(--ink); letter-spacing: -0.01em; }
.cscan__ico { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: #fff; color: var(--slate); box-shadow: inset 0 0 0 1px var(--rule-strong); flex: none; }
.cscan__ico--read { background: var(--green); color: #fff; box-shadow: none; }
.cscan__dots { display: grid; grid-template-columns: repeat(13, minmax(0, 1fr)); gap: 5px; }
.sd { position: relative; aspect-ratio: 1; border-radius: 50%; }
.sd--diff { background: var(--differs); }
.sd--diff::after { content: "!"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font: 700 0.62rem/1 var(--sans); }
.sd--ok { background: var(--mark); }
.sd--ok::after { content: ""; position: absolute; left: 34%; top: 26%; width: 22%; height: 36%; border: solid #fff; border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); }
.sd--none { background: #fff; box-shadow: inset 0 0 0 1.5px var(--rule-strong); }
.sd--none::after { content: ""; position: absolute; left: 22%; right: 22%; top: 50%; border-top: 1.5px solid var(--rule-strong); transform: rotate(-45deg); }
.cscan__note { margin: 0.9rem 0 0; font-size: 0.8125rem; color: var(--ink-2); }
.cscan__note b { color: var(--ink); font-weight: 500; }
.cscan__total { display: flex; gap: 3px; margin-top: 1rem; height: 2rem; }
/* Each segment starts at its share but never narrower than its label, so "13 17%" isn't cut off on a phone. */
.cscan__seg { flex: 0 1 var(--p); min-width: min-content; display: flex; align-items: center; gap: 0.35rem; padding: 0 0.7rem; font-size: 0.75rem; color: #fff; white-space: nowrap; }
.cscan__seg b { font-weight: 600; color: inherit; }
.cscan__seg:first-child { border-radius: 999px 0 0 999px; } .cscan__seg:last-child { border-radius: 0 999px 999px 0; }
.cscan__seg--diff { background: var(--differs); } .cscan__seg--ok { background: var(--mark); color: var(--ink); } .cscan__seg--none { background: var(--rule-strong); color: var(--ink-2); }
.cscan__all { margin: 0.5rem 0 0; font-size: 0.75rem; color: var(--slate); }
@media (prefers-reduced-motion: no-preference) {
  .js .sd { animation: pop-in 0.45s cubic-bezier(.2, .7, .2, 1) both; }
  .js .sd:nth-child(4n+2) { animation-delay: 0.05s; } .js .sd:nth-child(4n+3) { animation-delay: 0.1s; } .js .sd:nth-child(4n) { animation-delay: 0.15s; }
}

/* Illustrations, third set */
.ill-sky { fill: #eef5f1; } .ill-hill { fill: #dcece2; }
.ill-roof { fill: var(--g5); } .ill-roof--2 { fill: var(--old-mark); } .ill-roof--3 { fill: var(--differs); }
.ill-pole { fill: #8b8b85; } .ill-wire { fill: none; stroke: #8b8b85; stroke-width: 1; }
.ill-kerb { fill: #cfcfca; } .ill-roadsurface { fill: #5d5d61; }
.ill-lane { fill: none; stroke: #fff; stroke-width: 2.5; stroke-linecap: round; }
.ill-g6 { fill: var(--g6); } .ill-g3 { fill: var(--g3); }
.ill-cab { fill: var(--g6); } .ill-glass { fill: #d7ebf2; }
.ill-tyre { fill: var(--ink); } .ill-hub { fill: #c9c9c4; }
.ill-recycle { fill: none; stroke: #fff; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.ill-d2 { fill: #8f2614; } .ill-o2 { fill: #b88620; }
.ill-tt rect { fill: #dcdcd7; }
.ill-frame { fill: none; stroke: #c99b5b; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.ill-roofline { fill: none; stroke: #a87a3c; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.ill-stampring { fill: var(--tint); stroke: var(--mark); stroke-width: 2.5; stroke-dasharray: 3 2; }
.ill-chainline { stroke: #9a9a94; stroke-width: 2; stroke-dasharray: 3 3; }
.ill-ringmetal { fill: none; stroke: #9a9a94; stroke-width: 3; }
.ill-tag-dog { fill: var(--green); }
.ill-paw { fill: #fff; }
.ill-small--w { fill: #fff; }
.ill-env { fill: #f4efe3; stroke: #e2d7bd; stroke-width: 1.5; }
.ill-envflap { fill: none; stroke: #d9cba6; stroke-width: 1.5; stroke-linejoin: round; }
.ill-env2 { fill: #f4efe3; stroke: #e2d7bd; stroke-width: 1.5; }
.ill-water { fill: #8fd3dd; }
.ill-laneline { fill: none; stroke: #fff; stroke-width: 2; stroke-dasharray: 6 5; opacity: 0.8; }
.ill-wave { fill: none; stroke: #e8f7fa; stroke-width: 2.5; stroke-linecap: round; }
.ill-swimcap { fill: var(--differs); } .ill-swimcap--2 { fill: var(--old-mark); }
.ill-ladder { fill: none; stroke: #9a9a94; stroke-width: 3; stroke-linecap: round; }
.ill-shelf { fill: #efe6d8; } .ill-shelfline { stroke: #d6c6ab; stroke-width: 4; }
.ill-barcode { stroke: var(--ink); stroke-width: 1.5; }
.ill-pediment { fill: var(--g6); }
.ill-col rect { fill: #ecece8; }
.ill-steps { fill: #dcdcd7; }
.ill-cal-day { font: 600 46px/1 var(--sans); fill: var(--ink); letter-spacing: -0.04em; }
.ill-shadow { fill: rgb(11 11 12 / 0.08); }
.ill-speaker { fill: #3a3a3f; } .ill-speaker-top { fill: #55555b; } .ill-glow { fill: var(--mark-on-ink); opacity: 0.85; }
.ill-mesh { stroke: #4a4a50; stroke-width: 2; }
.ill-screen { fill: #fff; }
.ill-field { fill: #fff; stroke: var(--rule-strong); stroke-width: 1.5; }
.ill-gline { fill: none; stroke: var(--mark); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.ill-old { fill: var(--old); }
.ill-chev { fill: none; stroke: var(--slate); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ill-tree { fill: none; stroke: var(--rule-strong); stroke-width: 2; }
.ill-gridline { stroke: var(--rule); stroke-width: 1; }
.ill-kline { fill: none; stroke: var(--k4); stroke-width: 3; stroke-linecap: round; }
.ill-dline { fill: none; stroke: var(--differs); stroke-width: 3; stroke-linecap: round; }
.ill-k1 { fill: var(--k4); }
.ill-bub rect, .ill-bub path { fill: #fff; stroke: var(--rule-strong); stroke-width: 1.2; stroke-linejoin: round; }
.ill-bub path { stroke-width: 0; }
.ill-bub-o rect, .ill-bub-o path { fill: #fffaf0; stroke: #ecd9a8; stroke-width: 1.2; }
.ill-bub-o path { stroke-width: 0; }
.ill-bub-g rect, .ill-bub-g path { fill: var(--green); }
.ill-big--w { fill: #fff; }
.ill-g-stroke { fill: none; stroke: var(--green); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ill-mapbg { fill: #f1f3ee; stroke: var(--rule-strong); stroke-width: 1; }
.ill-park { fill: #cfe8d9; }
.ill-waterway { fill: none; stroke: #b9e2ea; stroke-width: 10; stroke-linecap: round; }
.ill-pin-d { fill: var(--differs); stroke: #fff; stroke-width: 2.5; } .ill-pin-g { fill: var(--mark); stroke: #fff; stroke-width: 2.5; } .ill-pin-o { fill: var(--old-mark); stroke: #fff; stroke-width: 2.5; }
.ill-routeline { fill: none; stroke: var(--mark); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 7; }
.ill-p1 { fill: var(--g3); } .ill-p2 { fill: #f2c46d; } .ill-p3 { fill: #e8a3bd; }
.ill-skin1 { fill: #e6b896; } .ill-skin2 { fill: #8d5a3b; } .ill-skin3 { fill: #f1cdb0; }
.ill-hair1 { fill: #3a2a20; } .ill-hair2 { fill: #1d1d1f; } .ill-hair3 { fill: #b5793c; }
.ill-robot { fill: #fff; stroke: var(--ink); stroke-width: 2; }
.ill-eye { fill: var(--mark-on-ink); }
.ill-smile { fill: none; stroke: var(--mark-on-ink); stroke-width: 2; stroke-linecap: round; }
.ill-stalk { stroke: var(--ink); stroke-width: 2.5; }
.ill-lens { fill: rgb(207 232 217 / 0.6); stroke: var(--ink); stroke-width: 3; }
.ill-handle { stroke: var(--ink); stroke-width: 4; stroke-linecap: round; }
.ill-code-s { font: 500 7px/1 ui-monospace, "SF Mono", Menlo, monospace; fill: var(--green-deep); }
.ill-green-ring { fill: var(--tint); }
.ill-w--sm { font-size: 13px; }

/* Icon styles: one line set, several ways to hold it */
.ico { position: relative; display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; flex: none; color: var(--green); }
.ico .icon { width: 1.4rem; height: 1.4rem; }
.ico--tile { border-radius: var(--r-input); background: var(--tint); }
.ico--round { border-radius: 50%; background: var(--tint); }
.ico--solid { border-radius: 50%; background: var(--mark); color: #fff; }
.ico--ink { border-radius: var(--r-input); background: var(--ink); color: #fff; }
.ico--ring { border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--g3); background: #fff; }
.ico--soft { border-radius: 16px; background: linear-gradient(145deg, var(--g1), #fff); box-shadow: 0 1px 2px rgb(11 11 12 / 0.06), 0 8px 18px -10px rgb(15 160 106 / 0.45); }
.ico--warn { border-radius: 50%; background: var(--old-tint); color: var(--old); }
.ico--bad { border-radius: 50%; background: var(--differs-tint); color: var(--differs); }
.ico[data-badge]::after { content: ""; position: absolute; right: -1px; top: -1px; width: 0.8rem; height: 0.8rem; border-radius: 50%; border: 2px solid #fff; background: var(--mark); }
.ico[data-badge="d"]::after { background: var(--differs); } .ico[data-badge="o"]::after { background: var(--old-mark); }
.ico--sm { width: 2rem; height: 2rem; } .ico--sm .icon { width: 1rem; height: 1rem; }
.ico--lg { width: 4rem; height: 4rem; } .ico--lg .icon { width: 2rem; height: 2rem; }
.ico-styles { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr)); }
.ico-styles figure { margin: 0; display: grid; gap: 0.6rem; justify-items: start; padding: 1rem; border-radius: 16px; border: 1px solid var(--rule); }
.ico-styles .ico-row { display: flex; gap: 0.5rem; }
.ico-styles figcaption { font-size: 0.75rem; color: var(--slate); }
.ico-styles code { font-size: 0.7rem; }
.ico-sizes { display: flex; flex-wrap: wrap; gap: 1rem; align-items: end; }

/* Photo treatments */
.pt { position: relative; margin: 0; border-radius: var(--r-card); overflow: hidden; background: var(--wash); }
.pt img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.pt--tall img { aspect-ratio: 4 / 5; }
.pt__chip { position: absolute; left: 0.9rem; bottom: 0.9rem; right: 0.9rem; display: flex; align-items: center; gap: 0.6rem; padding: 0.7rem 0.85rem; border-radius: 14px; background: rgb(255 255 255 / 0.94); backdrop-filter: blur(6px); font-size: 0.875rem; color: var(--ink); box-shadow: 0 10px 30px -12px rgb(11 11 12 / 0.4); }
.pt__chip b { font-weight: 500; flex: 1; }
.pt__tag { position: absolute; left: 0.9rem; top: 0.9rem; padding: 0.3rem 0.7rem; border-radius: 999px; background: var(--ink); color: #fff; font-size: 0.75rem; }
.pt__stat { position: absolute; right: 0.9rem; bottom: 0.9rem; display: flex; align-items: center; gap: 0.75rem; padding: 0.7rem 0.9rem 0.7rem 0.7rem; border-radius: 18px; background: #fff; box-shadow: 0 16px 40px -16px rgb(11 11 12 / 0.45); font-size: 0.8125rem; color: var(--ink-2); max-width: 15rem; }
.pt__stat .ring { width: 3.6rem; }
.pt__stat .ring b { font-size: 0.85rem; }
.pt__stat .ring span { display: none; }
.pt--duo img { filter: grayscale(1) contrast(1.05); }
.pt--duo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, var(--green), var(--g7)); mix-blend-mode: color; opacity: 0.85; pointer-events: none; }
.pt--fade::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgb(10 80 56 / 0.85)); pointer-events: none; }
.pt__over { position: absolute; left: 1.25rem; right: 1.25rem; bottom: 1.1rem; z-index: 1; color: #fff; }
.pt__over b { display: block; font-size: 1.35rem; font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; }
.pt__over span { font-size: 0.8125rem; opacity: 0.85; }
.mosaic { display: grid; gap: 0.75rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 52rem) { .mosaic { grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: auto auto; } .mosaic > :first-child { grid-row: 1 / span 2; } .mosaic > :first-child img { aspect-ratio: auto; height: 100%; } }
.mosaic .ill { width: 100%; height: 100%; background: var(--g1); border-radius: var(--r-card); }
@media (min-width: 46rem) {
  .funnel2__cols li { grid-template-columns: auto minmax(0, 1fr); column-gap: 0.6rem; }
  .funnel2__cols li > :not(.funnel2__ico):not(.funnel2__keep) { grid-column: 1 / -1; }
  .funnel2__ico { grid-row: 1; grid-column: 1; }
  .funnel2__keep { position: static; transform: none; grid-row: 1; grid-column: 2; justify-self: start; align-self: center; margin-bottom: 0.5rem; }
}

/* ---- Home: what an Audit checks, as a mesh that ends in a report --------- */

.opening .actions { margin-top: 1.75rem; }
@media (min-width: 60rem) {
  .opening__grid:has(.mesh) { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); align-items: start; }
  .opening__text { padding-top: 2.5rem; }
  .opening__grid:has(.mesh) h1 { font-size: clamp(2.2rem, 3.6vw, 3.25rem); max-width: 17ch; }
  /* Keep the whole hero, report included, above the fold on a laptop.
     The mesh takes the column; the report under it stays compact. */
  .opening:has(.mesh) { padding-top: 1rem; }
  .opening:has(.mesh) .mesh__svg { max-width: 44rem; margin-inline: auto; }
  .opening:has(.mesh) .report { max-width: 29rem; margin-top: -0.5rem; padding: 0.3rem; border-radius: 18px; }
  .opening:has(.mesh) .report__head { grid-template-columns: 2rem minmax(0, 1fr); gap: 0.65rem; padding: 0.55rem 0.7rem; border-radius: 14px; }
  .opening:has(.mesh) .report__mark { width: 2rem; height: 2rem; border-radius: 9px; }
  .opening:has(.mesh) .report__title { font-size: 0.9rem; }
  .opening:has(.mesh) .report__title small { font-size: 0.7rem; }
  .opening:has(.mesh) .report__cats { margin-top: 0.3rem; gap: 0.3rem; }
  .opening:has(.mesh) .report__cats li { padding: 0.55rem 0.7rem 0.65rem; gap: 0.3rem; border-radius: 13px; }
  .opening:has(.mesh) .report__cat { font-size: 0.7rem; gap: 0.3rem; }
  .opening:has(.mesh) .report__cat .icon { width: 0.85rem; height: 0.85rem; }
  .opening:has(.mesh) .report__cats b { font-size: clamp(1.5rem, 2.1vw, 1.85rem); }
  .opening:has(.mesh) .report__meter { height: 0.375rem; }
  .opening:has(.mesh) .report__pips { gap: 2px; min-height: 0.375rem; }
  .opening:has(.mesh) .report__pips i { width: 0.375rem; height: 0.375rem; border-radius: 1.5px; }
  .opening:has(.mesh) .report__fix { margin-top: 0.3rem; padding: 0.5rem 0.75rem; border-radius: 13px; font-size: 0.85rem; }
  .opening:has(.mesh) .report__fix b { font-size: 1.05rem; }
}
@media (min-width: 60rem) and (max-height: 50rem) {
  .opening:has(.mesh) { padding-top: 0.25rem; }
  .opening:has(.mesh) .mesh__svg { max-width: 37rem; }
  .opening:has(.mesh) .opening__text { padding-top: 1.5rem; }
}

/* Logos turn to their own colours on hover; the circles stay grey */
.b-google { --brand: #4285f4; } .b-googlemaps { --brand: #34a853; } .b-openai { --brand: #10a37f; } .b-claude { --brand: #d97757; }
.b-perplexity { --brand: #1fb8cd; } .b-meta { --brand: #0467df; } .b-wikipedia { --brand: #000; } .b-facebook { --brand: #0866ff; } .b-youtube { --brand: #ff0000; }

.mesh { margin: 0; position: relative; }
.mesh__svg { display: block; width: 100%; height: auto; overflow: visible; }
.mesh__web path { fill: none; stroke: var(--rule); stroke-width: 1; }
.mesh__spokes path { fill: none; stroke: var(--rule-strong); stroke-width: 1.25; }
.mesh__node { cursor: default; }
.mesh__node circle { fill: #fff; stroke: var(--rule-strong); stroke-width: 1; }
.mesh__bub { transform-box: fill-box; transform-origin: center; transition: transform 0.6s cubic-bezier(.2, .8, .2, 1) 0.5s; }
.mesh__m { fill: var(--ink); transition: opacity 0.6s ease 0.5s; }
.mesh__c { fill: var(--brand); opacity: 0; transition: opacity 0.6s ease 0.5s; }
.b-aimode .mesh__c { fill: url(#gr-aimode); } .b-googlegemini .mesh__c { fill: url(#gr-googlegemini); }
.mesh__node:hover .mesh__bub { transform: scale(1.08); transition-delay: 0s; transition-duration: 0.3s; }
.mesh__node:hover .mesh__c { opacity: 1; transition-delay: 0s; transition-duration: 0.25s; }
.mesh__node:hover .mesh__m { opacity: 0; transition-delay: 0s; transition-duration: 0.25s; }
.mesh__node--check rect { fill: #fff; stroke: #cfe9da; stroke-width: 1; filter: drop-shadow(0 4px 8px rgb(14 107 74 / 0.12)); transition: fill 0.6s ease 0.5s, stroke 0.6s ease 0.5s; }
.mesh__node--check:hover rect { fill: var(--tint); stroke: var(--mark); transition-delay: 0s; transition-duration: 0.25s; }
.mesh__tip { opacity: 0; pointer-events: none; transform: translateY(4px); transform-box: fill-box; transition: opacity 0.3s ease, transform 0.3s ease; }
.mesh__tip.is-on { opacity: 1; transform: none; transition: opacity 0.22s cubic-bezier(.2, .7, .2, 1), transform 0.22s cubic-bezier(.2, .7, .2, 1); }
.mesh__tip.is-quick { transition: opacity 0.1s linear, transform 0.1s linear; }
.mesh__tip rect, .mesh__tip path { fill: var(--ink); }
.mesh__tip text { font-family: var(--sans); font-size: 12px; font-weight: 500; fill: #fff; text-anchor: middle; }
.mesh__ico { fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.mesh__node--check .mesh__ico { color: var(--green); fill: none; }
.mesh__core { fill: var(--ink); }
.mesh__halo { fill: var(--tint); }
.mesh__hub .mesh__ico { color: #fff; }
.mesh__drop { fill: none; stroke: var(--ink); stroke-width: 1.5; }
.mesh__pulse { fill: var(--mark); }
.mesh__pulse--old { fill: var(--old-mark); }
.mesh__pulse--differs { fill: var(--differs); }

/* The report: four categories, a number each, and the fix count */
.report { position: relative; margin: -0.25rem auto 0; max-width: 34rem; padding: 0.4rem; background: #fff; border-radius: 22px; box-shadow: 0 1px 2px rgb(11 11 12 / 0.06), 0 28px 56px -28px rgb(11 11 12 / 0.35); }
.report__head { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); gap: 0.8rem; align-items: center; padding: 0.75rem 0.85rem; border-radius: 17px; background: var(--ink); color: #fff; }
.report__mark { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 11px; background: rgb(255 255 255 / 0.1); color: var(--mark-on-ink); }
.report__title { font-weight: 500; line-height: 1.2; }
.report__title small { display: block; font-weight: 400; font-size: 0.75rem; color: rgb(255 255 255 / 0.68); margin-top: 0.15rem; }
.report__cats { list-style: none; margin: 0.4rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.4rem; }
@media (max-width: 36rem) { .report__cats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.report__cats li { --k: var(--mark); --kt: var(--tint); display: grid; grid-template-rows: 2.2em auto auto; gap: 0.45rem; align-content: start; margin: 0; padding: 0.85rem 0.95rem; border-radius: 16px; background: var(--wash); }
.report__cats li.is-mid { --k: var(--old-mark); --kt: var(--old-tint); }
.report__cats li.is-bad { --k: var(--differs); --kt: var(--differs-tint); }
.report__cats li.is-old { --k: var(--old-mark); --kt: var(--old-tint); }
.report__cat { display: flex; align-items: flex-start; gap: 0.4rem; font-size: 0.78rem; line-height: 1.25; font-weight: 500; color: var(--ink); }
.report__cat .icon { color: var(--slate); flex: none; }
.report__cats b { font-size: clamp(2.3rem, 4vw, 2.9rem); font-weight: 500; line-height: 1; letter-spacing: -0.045em; color: var(--ink); font-variant-numeric: tabular-nums; }
.report__cats small { font-size: 0.75rem; line-height: 1.3; color: var(--slate); }
.report__meter { display: block; height: 0.5rem; border-radius: 999px; background: #fff; overflow: hidden; }
.report__meter i { display: block; height: 100%; border-radius: 999px; background: var(--k); transform-origin: left; }
.m71 { width: 71%; } .m88 { width: 88%; }
.report__pips { display: flex; flex-wrap: wrap; gap: 3px; min-height: 0.5rem; }
.report__pips i { width: 0.5rem; height: 0.5rem; border-radius: 2px; background: var(--k); }
.report__fix { display: flex; align-items: center; gap: 0.6rem; margin: 0.4rem 0 0; padding: 0.85rem 0.95rem; border-radius: 16px; background: var(--tint); font-size: 1rem; color: var(--green-deep); }
.report__fix .icon { color: var(--green); }
.report__fix b { font-weight: 600; font-size: 1.25rem; letter-spacing: -0.02em; }

/* Entry. With reduced motion the finished picture shows. */
.mesh__pulses { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .mesh__pulses { display: inline; }
  .js .mesh__node { animation: mesh-pop 0.5s cubic-bezier(.2, .8, .2, 1.2) both; transform-box: fill-box; transform-origin: center; }
  .js .mesh__node.d1 { animation-delay: 0.08s; } .js .mesh__node.d2 { animation-delay: 0.16s; } .js .mesh__node.d3 { animation-delay: 0.24s; }
  .js .mesh__node.d4 { animation-delay: 0.32s; } .js .mesh__node.d5 { animation-delay: 0.4s; } .js .mesh__node.d6 { animation-delay: 0.48s; }
  .js .mesh__node.d7 { animation-delay: 0.56s; } .js .mesh__node.d8 { animation-delay: 0.64s; } .js .mesh__node.d9 { animation-delay: 0.72s; }
  .js .mesh__inner .mesh__node { animation-delay: 0.9s; }
  .js .mesh__inner .mesh__node.d4 { animation-delay: 1s; } .js .mesh__inner .mesh__node.d5 { animation-delay: 1.1s; }
  .js .mesh__inner .mesh__node.d6 { animation-delay: 1.2s; } .js .mesh__inner .mesh__node.d7 { animation-delay: 1.3s; }
  .js .mesh__spokes path, .js .mesh__web path { stroke-dasharray: 1; animation: mesh-draw 1s ease-out 0.5s both; }
  .js .mesh__web path { animation-delay: 1.2s; animation-duration: 1.4s; }
  .js .mesh__hub { animation: mesh-pop 0.6s cubic-bezier(.2, .8, .2, 1.2) 1.3s both; transform-box: fill-box; transform-origin: center; }
  .mesh__halo { animation: mesh-breathe 2.6s ease-in-out 2s 3; transform-box: fill-box; transform-origin: center; }
  .js .mesh__drop { animation: mesh-draw 0.5s ease-in 1.8s both; stroke-dasharray: 1; }
  .js .mesh__pulses { animation: rise-in 0.6s ease-out 2.2s both; }
  .js .report { animation: rise-in 0.7s cubic-bezier(.2, .7, .2, 1) 2.1s both; }
  .js .report__cats li { animation: rise-in 0.5s cubic-bezier(.2, .7, .2, 1) both; animation-delay: 2.4s; }
  .js .report__cats li:nth-child(5) { animation-delay: 2.8s; } .js .report__cats li:nth-child(6) { animation-delay: 2.9s; }
  .js .report__cats li:nth-child(2) { animation-delay: 2.5s; } .js .report__cats li:nth-child(3) { animation-delay: 2.6s; } .js .report__cats li:nth-child(4) { animation-delay: 2.7s; }
  .js .report__meter i { animation: bar-grow 0.9s cubic-bezier(.2, .7, .2, 1) 2.7s both; }
  .js .report__fix { animation: rise-in 0.5s cubic-bezier(.2, .7, .2, 1) 3.1s both; }
}
@keyframes mesh-pop { from { opacity: 0; transform: scale(0.6); } to { opacity: 1; transform: none; } }
@keyframes mesh-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes mesh-breathe { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.18); opacity: 0.55; } }
@keyframes bar-grow { from { transform: scaleX(0); } to { transform: none; } }

/* ---- /graphics/ tidy ------------------------------------------------------ */
.gallery__row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 0.6rem; }
.gallery__row .gallery__sp { width: 1.25rem; }
@media (min-width: 52rem) { .ico-styles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ico-sizes { align-items: center; gap: 1.25rem; }
.compare { flex-wrap: nowrap; }
.compare__side { flex: 1; min-width: 0; }
.chart-grid--2 .compare + .compare { margin-top: 0; }
.irow__grid { max-width: 30rem; }
.irow { grid-template-columns: minmax(0, 30rem) 7rem; }
.mosaic__ill { border-radius: var(--r-card); overflow: hidden; background: #f1f3ee; min-height: 9rem; }
.mosaic__ill .ill { display: block; width: 100%; height: 100%; border-radius: 0; background: none; }
.chart-card { display: flex; flex-direction: column; }
.chart-card > .figure, .chart-card > figure, .chart-card > div:last-child { flex: 1; }
.cscan { display: block; }
.cscan__dots { max-width: 24rem; }
.figure.lines { overflow-x: clip; }

/* ---- Study: what people are told ----------------------------------------- */

.opening--study h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); max-width: 18ch; }
.stakes { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; margin: 1.75rem 0 0; font-family: var(--sans); font-size: 0.9rem; }
.stakes li { display: inline-flex; align-items: center; gap: 0.4rem; margin: 0; padding: 0.4rem 0.8rem; border-radius: var(--r-pill); background: var(--wash); color: var(--ink); }
.stakes .icon { color: var(--green); }

/* Hero picture: two official pages, one question, two answers */
.pshot { background: #fff; border: 1px solid var(--rule); border-radius: 16px; box-shadow: 0 1px 2px rgb(11 11 12 / 0.05), 0 24px 48px -24px rgb(11 11 12 / 0.22); overflow: hidden; font-family: var(--sans); font-size: 0.9rem; line-height: 1.45; }
.pshot__bar { display: flex; align-items: center; gap: 0.35rem; padding: 0.55rem 0.8rem; background: var(--wash); border-bottom: 1px solid var(--rule); }
.pshot__bar i { width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--unread); }
.pshot__url { margin-left: 0.6rem; flex: 1; padding: 0.15rem 0.6rem; border-radius: 999px; background: #fff; border: 1px solid var(--rule); font-size: 0.72rem; color: var(--slate); }
.pshot__body { padding: 1rem 1.1rem 1.2rem; display: grid; gap: 0.85rem; }
.pshot__wrong { background: var(--old-tint); color: var(--old); font-weight: 600; padding: 0 0.2em; border-radius: 3px; box-shadow: 0 0 0 2px var(--old); }
.two-answers { position: relative; margin: 0; padding: 0 0 2rem; }
.two-answers__page { position: relative; }
.two-answers__page--old { width: 86%; }
.two-answers__page--new { width: 80%; margin: -2.5rem 0 0 auto; z-index: 1; }
.two-answers .pshot__body p { margin: 0; font-size: 0.95rem; color: var(--ink); }
.two-answers__h { display: block; width: 45%; height: 0.75rem; border-radius: 3px; background: #dfe3e1; }
.two-answers__line { display: block; width: 90%; height: 0.5rem; border-radius: 3px; background: #eceeed; }
.two-answers__line--short { width: 60%; }
.two-answers__right { background: var(--tint); color: var(--green-deep); font-weight: 600; padding: 0 0.2em; border-radius: 3px; box-shadow: 0 0 0 2px var(--green); }
.two-answers__note { position: relative; z-index: 2; width: 17rem; margin: -1.25rem 0 0 1rem; padding: 0.9rem 1rem; background: var(--ink); color: rgb(255 255 255 / 0.8); border-radius: var(--r-input); font-family: var(--sans); font-size: 0.875rem; line-height: 1.45; box-shadow: 0 18px 40px -16px rgb(11 11 12 / 0.4); }
.two-answers__note b { color: #fff; font-weight: 600; }
.two-answers__note p { margin: 0.3rem 0 0; }
@media (max-width: 40rem) {
  .two-answers__page--old, .two-answers__page--new { width: 100%; }
  .two-answers__page--new { margin-top: 0.75rem; }
  .two-answers__note { width: auto; margin: 0.75rem 0 0; }
}

/* Dark band of headline figures */
.band { margin: 0 var(--gutter) clamp(2.5rem, 5vw, 4rem); }
.band > .wrap { max-width: calc(var(--wrap) - 2 * var(--gutter)); padding: clamp(1.75rem, 4vw, 2.75rem) clamp(1.25rem, 4vw, 3rem); background: var(--ink); border-radius: var(--r-card); color: rgb(255 255 255 / 0.72); font-family: var(--sans); }
.band__h { margin: 0 0 1.5rem; font-size: 1rem; font-weight: 500; letter-spacing: 0; color: rgb(255 255 255 / 0.72); }
.band__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); gap: 1.5rem 2rem; font-size: 0.9375rem; line-height: 1.4; }
.band__grid strong { display: block; font-weight: 500; font-size: clamp(2.4rem, 4.5vw, 3.4rem); letter-spacing: -0.05em; line-height: 1; margin-bottom: 0.5rem; color: #fff; font-variant-numeric: lining-nums; }
.band__grid > div:nth-child(3) strong { color: var(--mark-on-ink); }
.band__src { display: block; margin-top: 0.3rem; font-size: 0.8125rem; color: rgb(255 255 255 / 0.5); }

/* Question cards: the old answer against the right one */
.qcards { display: grid; gap: 1.25rem; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 52rem) { .qcards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.qcard { border: 1px solid var(--rule); border-radius: var(--r-card); background: #fff; font-family: var(--sans); padding: 1.5rem; display: grid; gap: 1rem; transition: box-shadow 0.15s, border-color 0.15s; }
.qcard:hover { border-color: var(--rule-strong); box-shadow: 0 18px 40px -28px rgb(11 11 12 / 0.35); }
.qcard__top { display: flex; align-items: center; gap: 0.75rem; }
.qcard__top .icon-tile { width: 2.25rem; height: 2.25rem; }
.qcard__top .icon-tile .icon { width: 1.2rem; height: 1.2rem; }
.qcard__topic { margin: 0; font-size: 0.875rem; font-weight: 500; color: var(--slate); }
.qcard__stake { margin-left: auto; display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.75rem; font-weight: 500; color: var(--ink-2); padding: 0.25rem 0.6rem; border: 1px solid var(--rule); border-radius: var(--r-pill); white-space: nowrap; }
.qcard__stake .icon { width: 0.95rem; height: 0.95rem; color: var(--slate); }
.qcard h3 { margin: 0; font-size: clamp(1.2rem, 1.9vw, 1.375rem); line-height: 1.25; letter-spacing: -0.02em; }
.vs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0.5rem; }
.vs > div { position: relative; padding: 0.9rem 1rem 1rem; border-radius: var(--r-input); display: flex; flex-direction: column; justify-content: space-between; gap: 0.6rem; }
.vs span { font-size: 0.8125rem; line-height: 1.35; }
.vs strong { font-weight: 500; font-size: clamp(1.75rem, 3vw, 2.25rem); line-height: 1; letter-spacing: -0.045em; font-variant-numeric: lining-nums; }
.vs__old { background: var(--old-tint); color: var(--old); }
.vs__old strong { color: var(--old); text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: rgb(138 90 0 / 0.55); }
.vs__new { background: var(--tint); color: var(--green-deep); }
.vs__new strong { color: var(--green-deep); }
.vs__new::before { content: "→"; position: absolute; left: -0.95rem; top: 50%; translate: 0 -50%; width: 1.4rem; height: 1.4rem; display: grid; place-items: center; border-radius: 50%; background: #fff; border: 1px solid var(--rule); color: var(--ink); font-size: 0.8rem; }
.vs__new--unclear { background: var(--wash); color: var(--ink-2); }
.vs__new--unclear strong { color: var(--ink); }
.qcard__detail { margin: 0; font-size: 0.9375rem; color: var(--ink-2); }
.qcard__cost { display: flex; gap: 0.55rem; margin: 0; padding-top: 1rem; border-top: 1px solid var(--rule); font-size: 0.9375rem; color: var(--ink); }
.qcard__cost .icon { color: var(--differs); margin-top: 0.1rem; }
.qcard--next { background: var(--wash); border-color: transparent; align-self: stretch; }
.qcard--next:hover { box-shadow: none; border-color: transparent; }
.qcard__next { display: grid; gap: 0.75rem; align-content: center; height: 100%; }
.qcard__next p { margin: 0; color: var(--ink-2); }

/* How long the wrong answer has been up */
.ages { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; font-family: var(--sans); font-size: 0.9375rem; }
.ages li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.4rem 1rem; align-items: center; margin: 0; padding: 0; }
.ages__q { grid-column: 1 / -1; color: var(--ink); font-weight: 500; }
.ages__bar { height: 1.1rem; border-radius: 3px; background: var(--old); min-width: 0.6rem; }
.ages__bar--93 { width: 100%; }
.ages__bar--16 { width: 17.2%; }
.ages__bar--10 { width: 10.8%; }
.ages b { font-weight: 500; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.vs__old--plain strong { text-decoration: none; }
@media (max-width: 40rem) { .two-answers { padding-bottom: 0; } }
@media (max-width: 24rem) {
  .vs { grid-template-columns: minmax(0, 1fr); }
  .vs__new::before { content: "↓"; left: 50%; top: -0.95rem; translate: -50% 0; }
  .qcard { padding: 1.1rem; }
}

.site-pages { display: grid; gap: 1.5rem 2rem; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); }
.site-pages h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.site-pages ul { list-style: none; padding: 0; margin: 0; }
.site-pages li { padding: 0; margin: 0 0 0.3rem; font-size: 0.9375rem; }
[data-search-browse][hidden] { display: none; }
/* ---- Home: council scan ---------------------------------------------------- */

.kicker { font-size: 0.8125rem; font-weight: 500; color: var(--green) !important; margin: 0 0 0.4rem; letter-spacing: 0.02em; }
.scan__grid { display: grid; gap: 2rem var(--col); grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 60rem) { .scan__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.scan__lead .scan__big { font-size: 1rem; margin: 0 0 1.25rem; display: flex; flex-direction: column; gap: 0.5rem; }
.scan__big b { font-size: clamp(4rem, 9vw, 6.5rem); font-weight: 500; line-height: 0.85; letter-spacing: -0.06em; color: var(--differs); }
.scan__big span { font-size: 1.375rem; line-height: 1.35; color: var(--ink); font-weight: 500; }
.scan__lead > p:not(.scan__big) { font-size: 1rem; line-height: 1.55; color: var(--ink-2); max-width: 30rem; margin: 0 0 0.9rem; }

/* ---- Home: before and now ---------------------------------------------------- */

.shift { display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 48rem) { .shift { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.shift__panel { border-radius: var(--r-card); background: var(--wash); padding: clamp(1.5rem, 3vw, 2.25rem); }
.shift__panel--now { background: var(--tint); }
.shift__h { margin: 0; font-size: clamp(2rem, 4vw, 2.75rem); letter-spacing: -0.04em; line-height: 1; color: var(--slate); }
.shift__panel--now .shift__h { color: var(--green); }
.shift__sub { margin: 0.5rem 0 1.75rem; font-size: 1.125rem; font-weight: 500; color: var(--ink); }
.shift__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.shift__steps li { position: relative; margin: 0; display: flex; align-items: center; gap: 0.9rem; font-size: 0.9875rem; line-height: 1.4; color: var(--ink-2); }
.shift__steps li:not(:last-child)::after { content: ""; position: absolute; left: 1.375rem; top: 2.75rem; height: 1.1rem; width: 2px; background: var(--rule-strong); }
.shift__ico { display: grid; place-items: center; flex: none; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--paper); color: var(--slate); box-shadow: inset 0 0 0 1px var(--rule-strong); }
.shift__ico .icon { width: 1.25rem; height: 1.25rem; }
.shift__steps li:last-child .shift__ico { background: var(--slate); color: #fff; box-shadow: none; }
.shift__steps li:last-child { font-weight: 500; color: var(--ink); }
.shift__panel--now .shift__steps li:not(:last-child)::after { background: var(--g3); }
.shift__panel--now .shift__ico { color: var(--green); box-shadow: inset 0 0 0 1px var(--g3); }
.shift__panel--now .shift__steps li:last-child .shift__ico { background: var(--green); color: #fff; }
.shift__trend-h { margin: clamp(2rem, 4vw, 2.75rem) 0 1rem; font-size: 1.25rem; }
.shift__trend { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 48rem) { .shift__trend { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.shift__trend li { margin: 0; padding: 1.25rem 1.35rem; border-radius: 16px; background: var(--wash); font-size: 0.875rem; color: var(--ink-2); line-height: 1.45; }
.shift__trend b { display: block; font-size: 1.125rem; font-weight: 500; color: var(--ink); margin: 0.6rem 0 0.2rem; }
.shift__t { display: inline-grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 10px; background: var(--paper); color: var(--green); }
.shift__t .icon { width: 1.2rem; height: 1.2rem; }
.shift__t--down { background: var(--paper); color: var(--differs); }
.shift__pitch { margin-top: 1rem; border-radius: var(--r-card); background: var(--tint); padding: clamp(1.5rem, 3vw, 2.25rem); display: grid; gap: 1.25rem; grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 56rem) { .shift__pitch { grid-template-columns: minmax(0, 1fr) auto; gap: 3rem; } }
.shift__pitch h3 { margin: 0 0 0.5rem; font-size: 1.375rem; }
.shift__pitch p { margin: 0; color: var(--ink-2); max-width: 44rem; }
.shift__pitch .actions { margin: 0; }


/* ---- Service pages: at-a-glance card and when-it-helps cards ---- */

.glance { margin: 0; padding: 1.25rem 1.35rem 0.5rem; border-radius: var(--r-card); background: var(--wash); font-family: var(--sans); font-size: 0.9375rem; }
.glance__h { margin: 0 0 0.5rem; font-size: 0.8125rem; font-weight: 500; color: var(--slate); }
.glance dl { margin: 0; }
.glance dl > div { display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); gap: 0 0.85rem; align-items: start; padding: 0.8rem 0; border-top: 1px solid var(--rule); }
.glance .icon-tile { width: 2.25rem; height: 2.25rem; grid-row: span 2; background: #fff; }
.glance .icon-tile .icon { width: 1.2rem; height: 1.2rem; }
.glance dt { font-size: 0.8125rem; color: var(--slate); }
.glance dd { margin: 0; color: var(--ink); }

/* Smaller illustrated tiles: four across on wide screens. */
.tiles--small li { padding: 0.5rem 0.5rem 1.1rem; }
.tiles--small .ill { width: 100%; max-width: 9.5rem; border-radius: 10px; }
.tiles--small h3 { font-size: 1rem; }
.tiles--small p { font-size: 0.875rem; }
@media (min-width: 60rem) { .tiles--ill.tiles--small { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* What a service includes: illustration beside each item, two across. */
.gets { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 48rem) { .gets { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.gets li { margin: 0; display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 1.1rem; align-items: start; padding: 0.75rem; border: 1px solid var(--rule); border-radius: var(--r-card); }
.gets .ill { width: 7rem; border-radius: 10px; }
.gets h3 { margin: 0.2rem 0 0.3rem; font-size: 1.0625rem; }
.gets p { margin: 0; font-size: 0.9375rem; color: var(--ink-2); }
.gets .gets__who { margin-top: 0.45rem; font-size: 0.8125rem; color: var(--slate); }
@media (max-width: 30rem) { .gets li { grid-template-columns: minmax(0, 1fr); } }
/* ---- How it works: the Audit as a timeline ------------------------------- */

.time-summary { list-style: none; margin: 0 0 3rem; padding: 0; display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 46rem) { .time-summary { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.time-summary li { margin: 0; padding: 1.5rem; border-radius: var(--r-card); background: var(--wash); display: grid; gap: 0.35rem; align-content: start; }
.time-summary li:nth-child(2) { background: var(--ink); color: rgb(255 255 255 / 0.75); }
.time-summary li:nth-child(2) b { color: #fff; }
.time-summary li:nth-child(2) .icon-tile { background: rgb(255 255 255 / 0.1); color: var(--mark-on-ink); }
.time-summary .icon-tile { margin-bottom: 1.25rem; }
.time-summary b { font-size: clamp(1.9rem, 3.2vw, 2.5rem); font-weight: 500; line-height: 1; letter-spacing: -0.04em; color: var(--ink); }
.time-summary span:not(.icon-tile) { font-size: 0.9375rem; color: var(--ink-2); }
.time-summary li:nth-child(2) span:not(.icon-tile) { color: rgb(255 255 255 / 0.75); }

.audit-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.audit-steps__step { position: relative; display: grid; grid-template-columns: 3.25rem minmax(0, 1fr); gap: 0.9rem 1.5rem; margin: 0; padding: 0 0 2.5rem; }
.audit-steps__step:last-child { padding-bottom: 0; }
/* The line joining the steps */
.audit-steps__step:not(:last-child)::before { content: ""; position: absolute; left: calc(1.625rem - 1px); top: 3.5rem; bottom: 0.25rem; width: 2px; border-radius: 2px; background: var(--rule-strong); }
.audit-steps__dot { grid-row: 1 / span 2; }
.audit-steps__dot .icon-tile { width: 3.25rem; height: 3.25rem; border-radius: 50%; }
.audit-steps__step--ask .audit-steps__dot .icon-tile { background: var(--green); color: #fff; }
.audit-steps__body { grid-column: 2; }
.audit-steps__week { margin: 0.2rem 0 0.35rem; font-size: 0.875rem; font-weight: 500; color: var(--green); letter-spacing: 0.01em; }
.audit-steps__body h3 { margin: 0 0 0.5rem; font-size: clamp(1.3rem, 2.2vw, 1.6rem); letter-spacing: -0.025em; }
.audit-steps__body p:last-child { margin: 0; max-width: 40rem; color: var(--ink-2); }
.audit-steps__ask { grid-column: 2; justify-self: start; display: inline-flex; align-items: center; gap: 0.6rem; margin: 0; padding: 0.7rem 1.1rem 0.7rem 0.9rem; border-radius: 999px; font-size: 1.0625rem; line-height: 1.2; background: var(--tint); color: var(--green-deep); }
.audit-steps__ask .icon { width: 1.35rem; height: 1.35rem; }
.audit-steps__ask b { font-weight: 600; }
.audit-steps__step--free .audit-steps__ask { background: var(--wash); color: var(--ink-2); }
.audit-steps__step--free .audit-steps__ask .icon { color: var(--green); }
@media (min-width: 56rem) {
  .audit-steps__step { grid-template-columns: 3.25rem minmax(0, 1fr) 16rem; column-gap: 2rem; }
  .audit-steps__ask { grid-column: 3; grid-row: 1; align-self: start; justify-self: stretch; margin-top: 1.6rem; }
}

/* ---- How it works: how findings are rated -------------------------------- */

.status--part { color: var(--ink-2); background: var(--wash); box-shadow: inset 0 0 0 1px var(--rule-strong); }
.status--part::before { width: 0.6em; height: 0.3em; border-radius: 1px; }
.status--none { color: var(--slate); background: #fff; box-shadow: inset 0 0 0 1px var(--rule-strong); }
.status--none::before { background: transparent; border: 1.5px solid currentColor; border-radius: 50%; box-sizing: border-box; }

/* Cost: bars that fill, so the level reads without colour */
.stake { display: inline-flex; align-items: center; gap: 0.45rem; white-space: nowrap; font-size: 0.75rem; font-weight: 500; line-height: 1.2; padding: 0.25rem 0.55rem; border-radius: var(--r-tag); background: var(--wash); color: var(--ink); }
.stake::before { content: ""; width: 1.1em; height: 0.7em; flex: none;
  background: linear-gradient(to right, currentColor 0 26%, transparent 26% 37%, var(--b2, var(--rule-strong)) 37% 63%, transparent 63% 74%, var(--b3, var(--rule-strong)) 74% 100%); }
.stake--high { --b2: currentColor; --b3: currentColor; }
.stake--mid { --b2: currentColor; }

.rating { display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); margin-top: 2.5rem; }
@media (min-width: 46rem) { .rating { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.rating__col { padding: 1.5rem; border-radius: var(--r-card); background: var(--wash); }
.rating__n { margin: 0 0 1rem; font-size: 0.875rem; font-weight: 500; color: var(--green); }
.rating__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.85rem; }
.rating__list li { margin: 0; padding: 0; display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 0.75rem; align-items: baseline; font-size: 0.9375rem; color: var(--ink-2); }
.rating__list li > :first-child { justify-self: start; }
.rating__list b { color: var(--ink); font-weight: 500; }
.rating__col .status, .rating__col .stake { background-color: #fff; }

.rating__foot { margin-top: 3rem; }
.rating__foot h3 { margin: 0; }
.fix-order { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: 0.5rem; }
.fix-order li { margin: 0; display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 1rem; padding: 0.8rem 1rem; border-radius: var(--r-input); background: var(--wash); }
.fix-order li:first-child { background: var(--ink); color: rgb(255 255 255 / 0.8); }
.fix-order li:first-child b { color: #fff; }
.fix-order b { color: var(--ink); font-weight: 600; }

.finding-eg { margin: 3rem 0 0; padding: clamp(1.25rem, 3vw, 2rem); border-radius: var(--r-card); border: 1px solid var(--rule-strong); background: #fff; }
.finding-eg figcaption { font-size: 0.8125rem; color: var(--slate); margin-bottom: 0.75rem; }
.finding-eg__q { margin: 0 0 1.25rem; font-size: clamp(1.2rem, 2vw, 1.45rem); font-weight: 500; color: var(--ink); letter-spacing: -0.02em; }
.finding-eg__grid { margin: 0; display: grid; gap: 1px; grid-template-columns: minmax(0, 1fr); background: var(--rule); border-radius: var(--r-input); overflow: hidden; }
@media (min-width: 40rem) { .finding-eg__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .finding-eg__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.finding-eg__grid div { background: var(--wash); padding: 0.85rem 1rem; }
.finding-eg__grid dt { font-size: 0.8125rem; color: var(--slate); margin-bottom: 0.3rem; }
.finding-eg__grid dd { margin: 0; color: var(--ink); display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.finding-eg__grid dd .status, .finding-eg__grid dd .stake { background-color: #fff; }
.finding-eg__grid dd .status--old { background: var(--old-tint); }
.finding-eg__fix { margin: 1rem 0 0; padding: 0.85rem 1rem; border-radius: var(--r-input); background: var(--ink); color: rgb(255 255 255 / 0.85); }
.finding-eg__fix b { color: #fff; }

/* When a service helps: short situations as cards, two across. */
.signs { list-style: none; margin: 1.25rem 0; padding: 0; display: grid; gap: 0.75rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 40rem) { .signs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.signs li { margin: 0; display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); gap: 0.2rem 0.85rem; align-content: start; padding: 1rem 1.1rem; border: 1px solid var(--rule); border-radius: var(--r-card); font-family: var(--sans); }
.signs .icon-tile { width: 2.25rem; height: 2.25rem; grid-row: span 2; }
.signs .icon-tile .icon { width: 1.2rem; height: 1.2rem; }
.prose .signs h3 { margin: 0.1rem 0 0; font-size: 1rem; line-height: 1.3; }
.split--aside .signs p { margin: 0; font-size: 0.9375rem; color: var(--ink-2); }

/* ---- Services: chooser, comparison, promises, sizes, groups --------------- */

.flow__price { display: flex; align-items: center; gap: 0.5rem; }
.flow__price .icon { width: 1.1rem; height: 1.1rem; flex: none; }
.flow__step:first-child .flow__price .icon { color: var(--mark-on-ink); }

.step-n { display: inline-grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--ink); color: #fff; font-size: 0.8125rem; font-weight: 600; line-height: 1; flex: none; }

/* Which one you need: one column under each service. */
.pick { display: grid; gap: 1.75rem; grid-template-columns: minmax(0, 1fr); font-family: var(--sans); }
@media (min-width: 56rem) { .pick { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.25rem; } }
.pick__h { display: flex; align-items: center; gap: 0.6rem; margin: 0 0 0.85rem; font-size: 1.0625rem; font-weight: 500; }
.pick__h a { color: var(--ink); }
.pick ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.pick li { margin: 0; display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); gap: 0.85rem; align-items: center; min-height: 4.25rem; padding: 0.75rem 1rem; border: 1px solid var(--rule); border-radius: var(--r-card); font-size: 0.9375rem; line-height: 1.35; color: var(--ink); }
.pick .icon-tile, .promise .icon-tile, .svc-table .icon-tile { width: 2.25rem; height: 2.25rem; }
.pick .icon-tile .icon, .promise .icon-tile .icon, .svc-table .icon-tile .icon { width: 1.2rem; height: 1.2rem; }

/* The 3 side by side. */
.svc-table { table-layout: fixed; min-width: 44rem; }
.svc-table thead td, .svc-table thead th { border-top: 0; padding-bottom: 1rem; vertical-align: bottom; }
.svc-table thead td { width: 8rem; }
.svc-table thead a { display: flex; align-items: center; gap: 0.7rem; font-size: 1.0625rem; font-weight: 500; color: var(--ink); text-decoration: none; }
.svc-table thead a:hover { color: var(--green); }
.svc-table tbody th { font-size: 0.8125rem; font-weight: 500; color: var(--slate); }
.svc-table td, .svc-table tbody th { padding-top: 1rem; padding-bottom: 1rem; }
.chips { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.chips li { margin: 0; display: flex; align-items: center; gap: 0.55rem; }
.chips .icon { width: 1.1rem; height: 1.1rem; color: var(--green); flex: none; }

/* In every service. */
.promise { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); font-family: var(--sans); }
.promise li { margin: 0; padding: 1.25rem; border-radius: var(--r-card); background: var(--wash); display: grid; gap: 0.85rem; align-content: start; font-size: 0.9375rem; line-height: 1.35; color: var(--ink); }
.promise .icon-tile { background: #fff; }
.promise__not { margin: 1.25rem 0 0; }

/* Signs with a title only. */
.signs--compact li { grid-template-columns: 2.25rem minmax(0, 1fr); align-items: center; gap: 0.85rem; }
.signs--compact .icon-tile { grid-row: auto; }
.prose .signs--compact h3 { margin: 0; }

/* Audit sizes: one page icon per site. */
.sizes { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); font-family: var(--sans); }
.sizes li { margin: 0; padding: 1.25rem; border-radius: var(--r-card); background: var(--wash); display: grid; gap: 0.35rem; align-content: start; }
.sizes__pages { display: flex; flex-wrap: wrap; align-items: center; gap: 0.2rem; min-height: 2rem; margin-bottom: 0.5rem; color: var(--green); font-weight: 600; }
.sizes__pages .icon { width: 1.5rem; height: 1.5rem; }
.sizes h3 { margin: 0; font-size: 1.0625rem; }
.sizes p { margin: 0; font-size: 0.9375rem; color: var(--ink-2); }
.sizes .sizes__n { color: var(--slate); font-size: 0.8125rem; }

/* What Remediation covers: 3 groups with an illustration and a chip list. */
.groups { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; grid-template-columns: minmax(0, 1fr); font-family: var(--sans); }
@media (min-width: 52rem) { .groups { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.groups > li { margin: 0; padding: 0.75rem 0.75rem 1.4rem; border: 1px solid var(--rule); border-radius: var(--r-card); display: grid; gap: 1rem; align-content: start; }
.groups .ill { width: 100%; border-radius: 10px; }
.groups h3 { margin: 0 0.5rem; font-size: 1.0625rem; }
.groups .chips { margin: 0 0.5rem; font-size: 0.9375rem; color: var(--ink); }
.note--line { margin: 1.5rem 0 0; }
.note-pair { display: grid; gap: 0.75rem; grid-template-columns: minmax(0, 1fr); margin-top: 1.5rem; }
@media (min-width: 48rem) { .note-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.note-pair .note { margin: 0; max-width: none; }
