/* ==========================================================================
   Corefield Succession Advisory — site styles
   Look: an engineering condition report. Restrained, typographic, colour
   used only for meaning (the four score bands).
   To change a colour site-wide, edit the tokens in :root below.
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/sourceserif4-var.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/sourceserif4-var-italic.woff2") format("woff2");
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
}

:root {
  /* Base palette */
  --paper: #f5f5f1;      /* page */
  --panel: #e9eae4;      /* set-apart areas */
  --panel-2: #dfe1d9;
  --ink: #1a2230;        /* text, buttons */
  --ink-2: #3b4452;      /* secondary text */
  --ink-3: #5a6270;      /* meta text (AA on paper) */
  --rule: #c9ccc3;       /* hairlines */
  --white: #ffffff;

  /* Band colours — meaning only */
  --oxide: #9a3a22;      /* Unsellable  < 35 */
  --amber: #9a6410;      /* Discounted  35–59 */
  --steel: #3c5a72;      /* Transferable 60–79 */
  --sage:  #4b6d48;      /* Bankable    80+ */
  --oxide-tint: #f1e2dc;
  --amber-tint: #f2e8d5;
  --steel-tint: #e0e7ec;
  --sage-tint:  #e1eadf;

  --focus: #2d63c8;

  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;

  --wrap: 72rem;
  --prose: 40rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --radius: 4px;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.1875rem;          /* 19px — this audience reads on a phone in a truck */
  line-height: 1.65;
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
}

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

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

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

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--white); padding: .75rem 1rem; z-index: 100;
  font-family: var(--sans);
}
.skip:focus { left: 1rem; top: 1rem; }

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

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

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 .6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.25rem, 5.2vw, 3.6rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.25rem); }
h3 { font-size: 1.35rem; line-height: 1.25; }
h4 { font-size: 1.125rem; }

p, ul, ol, dl, blockquote, table, figure { margin: 0 0 1.1em; }
p { text-wrap: pretty; }
ul, ol { padding-left: 1.25em; }
li { margin-bottom: .45em; }
li::marker { color: var(--ink-3); }
strong { font-weight: 650; }
hr { border: 0; border-top: 1px solid var(--rule); margin: 3rem 0; }

.label {
  font-family: var(--sans);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--ink-3);
  margin: 0 0 .75rem;
}
.lede { font-size: 1.3rem; line-height: 1.55; color: var(--ink-2); max-width: 38rem; }
.small { font-size: .95rem; color: var(--ink-3); }
.sans { font-family: var(--sans); }

/* ---------- Layout ---------- */

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.prose { max-width: var(--prose); }
.prose > :last-child { margin-bottom: 0; }

.section { padding: clamp(3.5rem, 8vw, 6rem) 0; border-top: 1px solid var(--rule); }
.section--panel { background: var(--panel); border-top: 0; }
.section--ink { background: var(--ink); color: var(--paper); border-top: 0; }
.section--ink a { color: var(--paper); }
.section--ink .label, .section--ink .small, .section--ink .report__head p { color: #b9c0cb; }
.section--ink .log, .section--ink .reading { color: var(--ink); }
.section--ink .log a { color: var(--ink); }
.section--tight { padding: clamp(2.5rem, 5vw, 3.5rem) 0; }

/* Report layout: heading in a margin column, content beside it */
.report {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem 4rem;
}
@media (min-width: 60rem) {
  .report { grid-template-columns: minmax(0, 20rem) minmax(0, 1fr); }
  .report__head { position: sticky; top: 7rem; align-self: start; }
}
.report__head h2 { margin-bottom: .5rem; }
.report__head p { color: var(--ink-2); font-size: 1.05rem; }

.grid-2 { display: grid; gap: 1.5rem 2.5rem; grid-template-columns: minmax(0, 1fr); }
.grid-3 { display: grid; gap: 1.5rem 2rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 46rem) {
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 64rem) {
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

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

.utility {
  background: var(--ink);
  color: #c9cfd8;
  font-family: var(--sans);
  font-size: .875rem;
}
.utility .wrap { display: flex; justify-content: flex-end; gap: 1.5rem; padding-top: .45rem; padding-bottom: .45rem; flex-wrap: wrap; }
.utility a { color: #e6e9ee; text-decoration: none; }
.utility a:hover { text-decoration: underline; }

.masthead {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 245, 241, .96);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid var(--rule);
}
.masthead .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 4.5rem;
}

.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); }
.brand svg { width: 30px; height: 30px; flex: none; }
.brand__words { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--sans); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.015em; }
.brand__cat { font-family: var(--sans); font-size: .8rem; color: var(--ink-3); letter-spacing: .01em; margin-top: .15rem; }

.nav { font-family: var(--sans); }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .25rem 1.4rem; }
.nav li { margin: 0; }
.nav a { text-decoration: none; font-size: 1rem; font-weight: 500; padding: .4rem 0; display: inline-block; }
.nav a:hover, .nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .35em; }

.nav .nav__extra { display: none; }
@media (max-width: 46rem) {
  .utility { display: none; }
  .js .nav .nav__extra { display: list-item; }
  html:not(.js) .utility { display: block; }
}
.nav-toggle {
  display: none;
  font-family: var(--sans); font-size: 1rem; font-weight: 600;
  background: transparent; color: var(--ink);
  border: 1px solid var(--ink); border-radius: var(--radius);
  padding: .5rem .85rem; cursor: pointer;
}

@media (max-width: 66rem) {
  .js .nav-toggle { display: inline-block; }
  .js .nav { display: none; }
  .js .nav.is-open {
    display: block; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper); border-bottom: 1px solid var(--rule);
    padding: .5rem var(--gutter) 1.5rem;
  }
  .nav ul { flex-direction: column; align-items: stretch; }
  .nav a { display: block; padding: .8rem 0; font-size: 1.125rem; border-bottom: 1px solid var(--rule); }
  .nav .btn { margin-top: 1rem; text-align: center; border-bottom: 0; }
  .masthead .wrap { position: relative; flex-wrap: wrap; }
  html:not(.js) .nav { width: 100%; padding-bottom: 1rem; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--sans); font-weight: 600; font-size: 1.05rem; line-height: 1.2;
  text-decoration: none; text-align: center;
  padding: .95rem 1.4rem;
  border-radius: var(--radius);
  border: 1.5px solid var(--ink);
  background: var(--ink); color: var(--paper);
  cursor: pointer;
}
.btn:hover { background: #2a3547; border-color: #2a3547; text-decoration: none; }
.btn--quiet { background: transparent; color: var(--ink); }
.btn--quiet:hover { background: var(--ink); color: var(--paper); }
.nav .btn { padding: .65rem 1rem; font-size: .975rem; color: var(--paper); }
.nav .btn:hover { color: var(--paper); text-decoration: none; }
.section--ink .btn { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.section--ink .btn--quiet { background: transparent; color: var(--paper); }
.actions { display: flex; flex-wrap: wrap; gap: .85rem 1rem; align-items: center; margin-top: 1.75rem; }
.actions .small { margin: 0; }

/* ---------- Breadcrumbs ---------- */

.crumbs { font-family: var(--sans); font-size: .9rem; color: var(--ink-3); padding-top: 1.75rem; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .25rem .5rem; }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: .5rem; color: var(--rule); }
.crumbs a { color: var(--ink-3); }

/* ---------- Page heads ---------- */

.page-head { padding-top: clamp(2rem, 5vw, 3.5rem); padding-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.page-head h1 { max-width: 20ch; }
.page-head .lede { margin-bottom: 0; }
.meta { font-family: var(--sans); font-size: .925rem; color: var(--ink-3); margin-top: 1.25rem; }
.meta span + span::before { content: ""; display: inline-block; width: 1px; height: .9em; background: var(--rule); margin: 0 .7rem; vertical-align: -1px; }

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

.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 5.5rem); }
.hero .wrap { display: grid; gap: 3rem; grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 62rem) { .hero .wrap { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 4rem; } }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 4.4rem); margin-bottom: .45em; }
.hero .lede { font-size: clamp(1.2rem, 2vw, 1.375rem); }

/* The specimen reading — the one memorable object on the site */
.reading {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  font-family: var(--sans);
  box-shadow: 0 1px 0 var(--rule), 0 18px 40px -28px rgba(26, 34, 48, .35);
}
.reading__top {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: 1rem 1.25rem; border-bottom: 1px solid var(--rule);
}
.reading__title { font-weight: 700; font-size: 1rem; }
.reading__tag { font-size: .8rem; color: var(--ink-3); }
.reading__rows { list-style: none; margin: 0; padding: .5rem 1.25rem .75rem; }
.reading__row {
  display: grid; grid-template-columns: 7.5rem minmax(0, 1fr) 2.75rem;
  align-items: center; gap: .85rem;
  padding: .55rem 0; margin: 0;
  font-size: .95rem;
}
.reading__row + .reading__row { border-top: 1px dashed #e1e3dc; }
.reading__name { color: var(--ink-2); }
.reading__val { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.meter { position: relative; height: .6rem; background: var(--panel); border-radius: 1px; overflow: hidden; }
.meter i { position: absolute; inset: 0 auto 0 0; display: block; background: var(--ink-2); }
.reading__row.is-lowest .reading__name, .reading__row.is-lowest .reading__val { color: var(--oxide); font-weight: 700; }
.reading__row.is-lowest .meter i { background: var(--oxide); }
.reading__foot {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .25rem 1rem;
  padding: 1rem 1.25rem 1.15rem; border-top: 1px solid var(--rule); background: #fafaf7;
  font-size: .95rem;
}
.reading__overall { font-size: 2.1rem; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.reading__band { align-self: center; }
.reading__note {
  grid-column: 1 / -1; margin: .65rem 0 0; padding-top: .65rem; border-top: 1px solid var(--rule);
  font-family: var(--serif); font-size: 1rem; line-height: 1.5; color: var(--ink);
}
.reading__note strong { color: var(--oxide); }

/* Band chips */
.band {
  display: inline-block; font-family: var(--sans); font-weight: 600; font-size: .85rem;
  padding: .2rem .55rem; border-radius: 2px; line-height: 1.3;
}
.band--bankable { background: var(--sage-tint); color: var(--sage); }
.band--transferable { background: var(--steel-tint); color: var(--steel); }
.band--discounted { background: var(--amber-tint); color: var(--amber); }
.band--unsellable { background: var(--oxide-tint); color: var(--oxide); }

/* Band scale */
.bands { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; background: var(--white); margin: 0 0 1.5rem; }
@media (min-width: 46rem) { .bands { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.bands > div { padding: 1.1rem 1.15rem 1.25rem; border-top: 5px solid; }
.bands > div + div { border-left: 1px solid var(--rule); }
@media (max-width: 45.99rem) { .bands > div + div { border-left: 0; border-top-width: 5px; } }
.bands h3 { font-family: var(--sans); font-size: 1.05rem; margin: 0 0 .15rem; }
.bands .range { font-family: var(--sans); font-size: .9rem; color: var(--ink-3); margin: 0 0 .5rem; font-variant-numeric: tabular-nums; }
.bands p:last-child { font-size: 1rem; line-height: 1.5; margin: 0; }
.b-unsellable { border-top-color: var(--oxide) !important; }
.b-discounted { border-top-color: var(--amber) !important; }
.b-transferable { border-top-color: var(--steel) !important; }
.b-bankable { border-top-color: var(--sage) !important; }

/* ---------- Owner's voice ---------- */

.voices { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 46rem) { .voices { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2.5rem; } }
.voices li {
  margin: 0; padding: 1rem 0; border-top: 1px solid var(--rule);
  font-size: 1.3rem; line-height: 1.4; font-style: italic; color: var(--ink);
}

/* ---------- Comparison table ---------- */

.compare { width: 100%; border-collapse: collapse; font-size: 1.02rem; line-height: 1.5; background: var(--white); border: 1px solid var(--rule); }
.compare th, .compare td { text-align: left; vertical-align: top; padding: .9rem 1rem; border-bottom: 1px solid var(--rule); }
.compare thead th { font-family: var(--sans); font-size: .95rem; font-weight: 700; background: var(--panel); }
.compare tbody th { font-weight: 600; font-family: var(--serif); }
.compare td.dim { color: var(--ink-3); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 1.5rem; }
.table-scroll .compare { margin: 0; min-width: 34rem; }

/* Two-column contrast (paper vs operational) */
.contrast { display: grid; grid-template-columns: minmax(0, 1fr); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; background: var(--white); }
@media (min-width: 52rem) { .contrast { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.contrast > div { padding: 1.5rem 1.5rem 1.75rem; }
.contrast > div + div { border-top: 1px solid var(--rule); background: #fbfbf8; }
@media (min-width: 52rem) { .contrast > div + div { border-top: 0; border-left: 1px solid var(--rule); } }
.contrast h3 { margin-bottom: .25rem; }
.contrast .who { font-family: var(--sans); font-size: .9rem; color: var(--ink-3); margin-bottom: 1rem; }
.contrast ul { list-style: none; padding: 0; margin: 0; }
.contrast li { padding: .55rem 0; border-top: 1px solid #e6e7e1; margin: 0; font-size: 1.02rem; line-height: 1.45; }
.contrast .asks { margin: 1.1rem 0 0; font-style: italic; color: var(--ink-2); }

/* ---------- Timing gap ---------- */

.timing { font-family: var(--sans); margin: 1.5rem 0 1rem; }
.timing__row { display: grid; grid-template-columns: minmax(0, 1fr); gap: .35rem; margin-bottom: 1.25rem; }
@media (min-width: 46rem) { .timing__row { grid-template-columns: 11rem minmax(0, 1fr); align-items: center; gap: 1rem; } }
.timing__label { font-size: .95rem; font-weight: 600; }
.timing__bar { height: 2.25rem; background: var(--panel); position: relative; border-radius: 2px; }
.timing__bar i { position: absolute; inset: 0 auto 0 0; background: var(--ink); display: flex; align-items: center; padding-left: .7rem; color: var(--paper); font-style: normal; font-size: .9rem; font-weight: 600; white-space: nowrap; }
.timing__bar i.is-long { background: var(--ink-2); }
.timing__bar em { position: absolute; top: 0; bottom: 0; display: flex; align-items: center; font-style: normal; font-size: .9rem; font-weight: 600; color: var(--ink); white-space: nowrap; }
.timing__axis { display: flex; justify-content: space-between; font-size: .8rem; color: var(--ink-3); }
@media (min-width: 46rem) { .timing__axis { margin-left: 12rem; } }

/* ---------- Dimensions ---------- */

.dims { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--ink); }
@media (min-width: 46rem) { .dims { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2.5rem; } }
@media (min-width: 72rem) { .dims--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.dims li { margin: 0; padding: 1.1rem 0 1.25rem; border-bottom: 1px solid var(--rule); }
.dims h3 { font-family: var(--sans); font-size: 1.1rem; font-weight: 700; margin: 0 0 .3rem; letter-spacing: 0; }
.dims p { margin: 0; color: var(--ink-2); font-size: 1.05rem; line-height: 1.5; }

/* ---------- Steps (a true sequence) ---------- */

.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: 0; }
.steps > li { counter-increment: step; display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 0 1rem; padding: 1.4rem 0; border-top: 1px solid var(--rule); margin: 0; }
.steps > li::before {
  content: counter(step);
  font-family: var(--sans); font-weight: 700; font-size: 1.05rem;
  width: 2.4rem; height: 2.4rem; border: 1.5px solid var(--ink); border-radius: 50%;
  display: grid; place-items: center; margin-top: .1rem;
}
.steps h3 { margin: .2rem 0 .35rem; }
.steps p { margin: 0 0 .5rem; color: var(--ink-2); }
.steps .via { font-family: var(--sans); font-size: .925rem; color: var(--ink-3); margin: 0; }

/* ---------- Offer list ---------- */

.offers { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--ink); }
.offer { display: grid; grid-template-columns: minmax(0, 1fr); gap: .35rem 2rem; padding: 1.5rem 0; border-bottom: 1px solid var(--rule); margin: 0; }
@media (min-width: 52rem) { .offer { grid-template-columns: 14rem minmax(0, 1fr) 11rem; align-items: start; } }
.offer h3 { margin: 0; font-size: 1.4rem; }
.offer h3 a { text-decoration: none; }
.offer h3 a:hover { text-decoration: underline; }
.offer__q { margin: 0 0 .35rem; font-size: 1.1rem; color: var(--ink); }
.offer__d { margin: 0; color: var(--ink-2); font-size: 1.02rem; }
.offer__meta { font-family: var(--sans); font-size: .925rem; color: var(--ink-3); line-height: 1.45; margin: 0; }
.offer__meta b { display: block; color: var(--ink); font-weight: 600; }

/* ---------- Commitments ---------- */

.commit { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: minmax(0, 1fr); column-gap: 2.5rem; }
@media (min-width: 46rem) { .commit { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.commit li { margin: 0; padding: 1.1rem 0 1.15rem 2.1rem; border-top: 1px solid var(--rule); position: relative; }
.commit li::before {
  content: ""; position: absolute; left: 0; top: 1.45rem; width: 1rem; height: .55rem;
  border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg);
}
.commit h3 { font-family: var(--sans); font-size: 1.05rem; font-weight: 700; margin: 0 0 .2rem; }
.commit p { margin: 0; font-size: 1.02rem; color: var(--ink-2); line-height: 1.5; }
.section--ink .commit li { border-color: #3b4658; }
.section--ink .commit li::before { border-color: var(--paper); }
.section--ink .commit p { color: #c9cfd8; }

/* ---------- Absence log (Three-Week Test) ---------- */

.log { font-family: var(--sans); background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); margin: 0 0 1.5rem; }
.log__top { display: flex; justify-content: space-between; gap: 1rem; padding: .85rem 1.1rem; border-bottom: 1px solid var(--rule); font-size: .9rem; }
.log__top b { font-weight: 700; }
.log ol { list-style: none; margin: 0; padding: 0; }
.log li { display: grid; grid-template-columns: 4.25rem minmax(0, 1fr) auto; gap: .9rem; padding: .7rem 1.1rem; border-bottom: 1px dashed #e1e3dc; margin: 0; font-size: .95rem; align-items: baseline; }
.log li:last-child { border-bottom: 0; }
.log .day { color: var(--ink-3); font-variant-numeric: tabular-nums; }
.log .what { font-family: var(--serif); font-size: 1.02rem; line-height: 1.45; }
.log .st { font-size: .8rem; font-weight: 700; padding: .1rem .45rem; border-radius: 2px; white-space: nowrap; }
.st--held { background: var(--sage-tint); color: var(--sage); }
.st--stalled { background: var(--oxide-tint); color: var(--oxide); }
.st--work { background: var(--amber-tint); color: var(--amber); }
.log__foot { padding: .75rem 1.1rem; font-size: .85rem; color: var(--ink-3); border-top: 1px solid var(--rule); background: #fafaf7; }

/* ---------- Callouts ---------- */

.answer {
  border-left: 4px solid var(--ink);
  background: var(--white);
  padding: 1.15rem 1.35rem 1.2rem;
  margin: 0 0 2rem;
  font-size: 1.15rem; line-height: 1.6;
}
.answer > :last-child { margin-bottom: 0; }
.answer .label { margin-bottom: .35rem; }

.definition {
  margin: 0 0 2rem; padding: 1.5rem 1.6rem; background: var(--white);
  border: 1px solid var(--rule); border-top: 4px solid var(--ink); border-radius: var(--radius);
}
.definition p { font-size: clamp(1.25rem, 2.2vw, 1.5rem); line-height: 1.5; margin: 0; }
.definition dfn { font-style: normal; font-weight: 700; }
.definition .label { margin-bottom: .6rem; }

.note { background: var(--panel); padding: 1.1rem 1.25rem; border-radius: var(--radius); font-size: 1.02rem; line-height: 1.55; margin: 0 0 1.5rem; }
.note > :last-child { margin-bottom: 0; }

blockquote.pull { margin: 2rem 0; padding: 0 0 0 1.25rem; border-left: 2px solid var(--rule); font-size: 1.4rem; line-height: 1.4; font-style: italic; color: var(--ink); }
blockquote.pull footer { font-style: normal; font-family: var(--sans); font-size: .9rem; color: var(--ink-3); margin-top: .5rem; }

.keypoints { background: var(--panel); border-radius: var(--radius); padding: 1.35rem 1.5rem; margin: 2.5rem 0; }
.keypoints h2 { font-family: var(--sans); font-size: 1.05rem; font-weight: 700; margin: 0 0 .65rem; letter-spacing: 0; }
.keypoints ul { margin: 0; }
.keypoints li { font-size: 1.05rem; line-height: 1.5; }

/* CTA panel */
.cta {
  background: var(--ink); color: var(--paper); border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.5rem); margin: 3rem 0 0;
  display: grid; gap: 1rem 2rem; grid-template-columns: minmax(0, 1fr); align-items: center;
}
@media (min-width: 52rem) { .cta { grid-template-columns: minmax(0, 1fr) auto; } }
.cta h2 { color: var(--paper); font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin: 0 0 .35rem; }
.cta p { margin: 0; color: #c9cfd8; font-size: 1.05rem; }
.cta .btn { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.cta .btn:hover { background: #ffffff; }

/* ---------- Article (guides & long pages) ---------- */

.article { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem 4rem; padding-bottom: clamp(3rem, 7vw, 5rem); }
@media (min-width: 64rem) { .article { grid-template-columns: minmax(0, var(--prose)) minmax(0, 16rem); justify-content: space-between; } }
.article__body h2 { margin-top: 2.4rem; }
.article__body h3 { margin-top: 1.8rem; }
.article__body > h2:first-child { margin-top: 0; }
.article__body table { width: 100%; }
.aside { font-family: var(--sans); font-size: .95rem; }
@media (min-width: 64rem) { .aside__inner { position: sticky; top: 7rem; } }
.aside h2 { font-family: var(--sans); font-size: .95rem; font-weight: 700; margin: 0 0 .6rem; letter-spacing: 0; }
.aside ul { list-style: none; padding: 0; margin: 0 0 2rem; }
.aside li { margin: 0; border-top: 1px solid var(--rule); }
.aside li a { display: block; padding: .55rem 0; text-decoration: none; color: var(--ink-2); line-height: 1.35; }
.aside li a:hover { color: var(--ink); text-decoration: underline; }
.aside .box { background: var(--panel); padding: 1.1rem; border-radius: var(--radius); }
.aside .box p { font-family: var(--serif); font-size: 1rem; line-height: 1.5; margin: 0 0 .85rem; }
.aside .box .btn { width: 100%; font-size: .975rem; padding: .75rem 1rem; }

.byline { display: flex; gap: .85rem; align-items: center; font-family: var(--sans); font-size: .95rem; color: var(--ink-3); margin-top: 1.5rem; }
.byline b { color: var(--ink); font-weight: 600; }

/* Guide index */
.guide-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--ink); }
.guide-list li { margin: 0; border-bottom: 1px solid var(--rule); }
.guide-list a { display: grid; grid-template-columns: minmax(0, 1fr); gap: .25rem; padding: 1.25rem 0; text-decoration: none; }
@media (min-width: 52rem) { .guide-list a { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; } }
.guide-list .q { font-size: 1.3rem; font-weight: 600; line-height: 1.3; }
.guide-list .s { color: var(--ink-2); font-size: 1.02rem; line-height: 1.5; }
.guide-list a:hover .q { text-decoration: underline; }

/* FAQ */
.faq h2 { font-size: 1.4rem; margin-top: 2.25rem; padding-top: 1.5rem; border-top: 1px solid var(--rule); }
.faq h2:first-child { margin-top: 0; }
.faq-group { margin-bottom: 3.5rem; }
.faq-group > h2.group { font-family: var(--sans); font-size: 1rem; font-weight: 700; color: var(--ink-3); border: 0; padding: 0; margin: 0 0 .25rem; letter-spacing: 0; }

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

.form { max-width: 46rem; }
.form fieldset { border: 0; padding: 0; margin: 0 0 2.25rem; min-width: 0; }
.form legend { font-family: var(--serif); font-weight: 600; font-size: 1.35rem; margin-bottom: .35rem; padding: 0; }
.form .hint { font-size: 1rem; color: var(--ink-3); margin: 0 0 1rem; }
.field { margin-bottom: 1.15rem; }
.field label, .field .lbl { display: block; font-family: var(--sans); font-weight: 600; font-size: 1rem; margin-bottom: .35rem; }
.field .opt { font-weight: 400; color: var(--ink-3); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="url"], .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1.1rem; line-height: 1.4;
  color: var(--ink); background: var(--white);
  border: 1.5px solid #9aa0a8; border-radius: var(--radius);
  padding: .75rem .85rem; min-height: 3.1rem;
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); outline: 3px solid var(--focus); outline-offset: 1px; }
.field-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 1.25rem; }
@media (min-width: 40rem) { .field-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.choices { display: grid; grid-template-columns: minmax(0, 1fr); gap: .6rem; }
@media (min-width: 40rem) { .choices--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.choice { position: relative; display: block; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span {
  display: block; height: 100%; cursor: pointer;
  background: var(--white); border: 1.5px solid #b4b9bf; border-radius: var(--radius);
  padding: .85rem 1rem .85rem 2.85rem; position: relative;
  font-size: 1.05rem; line-height: 1.4;
}
.choice span small { display: block; font-size: .925rem; color: var(--ink-3); margin-top: .15rem; }
.choice span::before {
  content: ""; position: absolute; left: 1rem; top: 1.05rem; width: 1.1rem; height: 1.1rem;
  border: 1.5px solid #7d848d; border-radius: 50%; background: var(--white);
}
.choice input[type="checkbox"] + span::before { border-radius: 3px; }
.choice input:checked + span { border-color: var(--ink); background: #f8f9f6; box-shadow: inset 0 0 0 1px var(--ink); }
.choice input:checked + span::before { border-color: var(--ink); background: var(--ink); box-shadow: inset 0 0 0 3px var(--white); }
.choice input[type="checkbox"]:checked + span::before { box-shadow: none; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' fill='none' stroke='%23fff' stroke-width='2.2'/%3E%3C/svg%3E") center/80% no-repeat; }
.choice input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }

.consent { display: flex; gap: .75rem; align-items: flex-start; font-size: 1rem; line-height: 1.5; }
.consent input { width: 1.3rem; height: 1.3rem; margin-top: .2rem; flex: none; accent-color: var(--ink); }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

.form-status { margin-top: 1.25rem; padding: 1rem 1.15rem; border-radius: var(--radius); font-size: 1.05rem; display: none; }
.form-status.is-shown { display: block; }
.form-status.is-ok { background: var(--sage-tint); color: #2f4a2d; }
.form-status.is-error { background: var(--oxide-tint); color: #6d2614; }
.form [data-group][hidden] { display: none; }

.next-steps { list-style: none; padding: 0; margin: 0; counter-reset: ns; }
.next-steps li { counter-increment: ns; position: relative; padding: 0 0 1rem 2.4rem; margin: 0; font-size: 1.05rem; line-height: 1.5; }
.next-steps li::before { content: counter(ns); position: absolute; left: 0; top: .05rem; width: 1.6rem; height: 1.6rem; border-radius: 50%; border: 1.5px solid var(--ink); display: grid; place-items: center; font-family: var(--sans); font-size: .85rem; font-weight: 700; }

/* ---------- The Check ---------- */

.check { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); max-width: 46rem; }
.check__bar { height: 6px; background: var(--panel); border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; }
.check__bar i { display: block; height: 100%; width: 0; background: var(--ink); transition: width .25s ease; }
.check__body { padding: clamp(1.25rem, 4vw, 2.25rem); }
.check__count { font-family: var(--sans); font-size: .925rem; color: var(--ink-3); margin: 0 0 .75rem; }
.check__q { font-size: clamp(1.4rem, 3vw, 1.75rem); line-height: 1.3; margin: 0 0 .5rem; }
.check__why { font-style: italic; color: var(--ink-2); font-size: 1.05rem; margin: 0 0 1.5rem; }
.check__nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.75rem; flex-wrap: wrap; }
.check__nav .btn[disabled] { opacity: .4; cursor: not-allowed; }
.check fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.check legend { padding: 0; }
.check select { width: 100%; font: inherit; font-size: 1.1rem; padding: .75rem .85rem; border: 1.5px solid #9aa0a8; border-radius: var(--radius); background: var(--white); color: var(--ink); min-height: 3.1rem; }
.check .field + .field { margin-top: 1rem; }
.scale-choice span { padding-left: 3.5rem; }
.scale-choice span::before { content: attr(data-n); border-radius: 3px; width: 1.75rem; height: 1.75rem; left: .9rem; top: .8rem; display: grid; place-items: center; font-family: var(--sans); font-size: .85rem; font-weight: 700; color: var(--ink-3); }
.scale-choice input:checked + span::before { color: var(--white); box-shadow: none; }

.result__score { display: flex; align-items: baseline; flex-wrap: wrap; gap: .5rem 1.25rem; margin: .25rem 0 1rem; }
.result__num { font-family: var(--sans); font-size: clamp(3.5rem, 10vw, 5rem); font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.result__band .band { font-size: 1.05rem; padding: .35rem .75rem; }
.result__copy { font-size: 1.2rem; line-height: 1.55; }
.result__rows { list-style: none; margin: 1.5rem 0; padding: 0; font-family: var(--sans); border-top: 1px solid var(--rule); }
.result__rows li { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr) 2.5rem; gap: .85rem; align-items: center; padding: .6rem 0; border-bottom: 1px dashed #e1e3dc; margin: 0; font-size: .975rem; }
.result__rows li.is-lowest { color: var(--oxide); font-weight: 700; }
.result__rows li.is-lowest .meter i { background: var(--oxide); }
.result__rows .v { text-align: right; font-variant-numeric: tabular-nums; }
.result__box { background: var(--panel); padding: 1.15rem 1.25rem; border-radius: var(--radius); margin: 1.25rem 0; font-size: 1.05rem; line-height: 1.55; }
.result__box > :last-child { margin-bottom: 0; }
.result__box--weak { background: var(--oxide-tint); }

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

.footer { background: var(--ink); color: #c9cfd8; font-family: var(--sans); font-size: .975rem; padding: 3.5rem 0 2rem; margin-top: 0; }
.footer a { color: #eef0f3; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer__grid { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 52rem) { .footer__grid { grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); } }
.footer .brand { color: var(--paper); }
.footer .brand__cat { color: #9aa3b0; }
.footer__about { font-family: var(--serif); font-size: 1.02rem; line-height: 1.55; color: #c9cfd8; margin: 1rem 0 0; max-width: 24rem; }
.footer h2 { font-family: var(--sans); font-size: .95rem; font-weight: 700; color: var(--paper); margin: 0 0 .75rem; letter-spacing: 0; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin: 0 0 .5rem; }
.footer__legal { border-top: 1px solid #344052; margin-top: 2.5rem; padding-top: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; font-size: .9rem; color: #9aa3b0; }
.footer__legal p { margin: 0; }

/* ---------- Misc ---------- */

.center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.inline-links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-family: var(--sans); font-size: 1rem; margin: 0; padding: 0; list-style: none; }
.inline-links li { margin: 0; }

.founder { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem 3rem; align-items: start; }
@media (min-width: 52rem) { .founder { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); } }
.facts { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--rule); font-family: var(--sans); }
.facts li { display: grid; grid-template-columns: 6.75rem minmax(0, 1fr); gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--rule); margin: 0; font-size: .975rem; line-height: 1.45; }
.facts b { font-size: 1.4rem; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; }
.section--ink .facts li, .section--ink .facts { border-color: #3b4658; }

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

/* ---------- Print (the Check result, guides) ---------- */

@media print {
  body { background: #fff; font-size: 11pt; }
  .utility, .masthead, .footer, .aside, .cta, .actions, .check__nav, .no-print, .crumbs { display: none !important; }
  .section, .section--panel { padding: 1rem 0; background: #fff; border: 0; }
  a { text-decoration: none; }
  .check { border: 0; }
}
