/* ==========================================================================
   BitLith Ltd - bitlith.co.uk
   Design system. Hand-written, no build step, no external dependencies.
   Fonts are system-native by design: no third-party font request is made,
   which keeps the site consistent with its own privacy stance.
   ========================================================================== */

/* --- Design tokens -------------------------------------------------------- */
:root {
  color-scheme: light;

  /* Brand: graphite + a single confident accent. "bit" + "monolith". */
  --ink:            #0d1117;
  --text:           #1c2430;
  --text-muted:     #57647a;
  --text-faint:     #7d8a9c;

  --surface:        #ffffff;
  --surface-sunk:   #f6f8fb;
  --surface-raised: #ffffff;

  --border:         #e2e8f0;
  --border-strong:  #cbd5e1;

  --accent:         #2f5fd0;
  --accent-hover:   #244bab;
  --accent-soft:    #eef3fe;
  --accent-border:  #c4d5f7;

  --focus:          #2f5fd0;

  /* Type scale - 1.25 ratio, clamped for fluid response */
  --step--1: clamp(0.83rem, 0.80rem + 0.12vw, 0.89rem);
  --step-0:  clamp(1.00rem, 0.96rem + 0.18vw, 1.09rem);
  --step-1:  clamp(1.20rem, 1.12rem + 0.36vw, 1.42rem);
  --step-2:  clamp(1.44rem, 1.30rem + 0.66vw, 1.86rem);
  --step-3:  clamp(1.73rem, 1.50rem + 1.10vw, 2.44rem);
  --step-4:  clamp(2.07rem, 1.70rem + 1.75vw, 3.20rem);

  --font-sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text",
               "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "Cascadia Mono", "Segoe UI Mono", "SF Mono", Menlo,
               Consolas, "Liberation Mono", monospace;

  /* The wordmark's face is deliberately separate from body text, so the logo
     can be tuned (narrower capitals) without touching anything else.
     Change this one value to restyle the logo everywhere. */
  --font-wordmark: var(--font-sans);

  /* Space and shape */
  --measure: 68ch;
  --wrap: 1120px;
  --radius: 10px;
  --radius-sm: 6px;

  --shadow-sm: 0 1px 2px rgba(13, 17, 23, .06);
  --shadow-md: 0 4px 16px -4px rgba(13, 17, 23, .10), 0 1px 3px rgba(13, 17, 23, .05);
}

/* Light only, by deliberate choice — the site does not follow the OS dark
   theme. `color-scheme: light` (set on :root above) also stops the browser
   auto-darkening form controls and scrollbars on a dark-mode machine. */

/* --- Reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img, svg, video { display: block; max-width: 100%; height: auto; }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; text-wrap: balance; font-weight: 640; letter-spacing: -0.017em; }
p, li { text-wrap: pretty; }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--accent-hover); }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  border-radius: 3px;
}

/* --- Skip link ------------------------------------------------------------ */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--accent); color: #fff; padding: .7rem 1.1rem;
  border-radius: 0 0 var(--radius-sm) 0; font-weight: 600;
}
.skip:focus { left: 0; color: #fff; }

/* --- Layout --------------------------------------------------------------- */
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
@media (max-width: 40rem) { .wrap { width: min(100% - 2rem, var(--wrap)); } }

main { flex: 1 0 auto; }

/* --- Site header ---------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: saturate(1.6) blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; min-height: 4.25rem;
}

/* Wordmark: "BitLith", set clean in a single weight. Deliberately NOT
   micro-manipulated — per-letter scaling and negative margins were tried and
   read as distorted. Modest tracking only. */
.wordmark {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-wordmark);
  font-size: 1.2rem; letter-spacing: -0.03em;
  color: var(--ink); text-decoration: none; font-weight: 700;
}
.wordmark:hover { color: var(--ink); }
.wordmark__mark { flex: none; color: var(--accent); }

.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav a {
  color: var(--text-muted); text-decoration: none;
  font-size: var(--step--1); font-weight: 550; letter-spacing: -0.005em;
  padding-block: .35rem; border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }
@media (max-width: 46rem) {
  .nav { gap: 1.1rem; }
  .nav a { font-size: .82rem; }
  .site-header__inner { gap: .75rem; }
}

/* --- Nav dropdown --------------------------------------------------------- */
/* <details>/<summary> rather than a hover menu: this site ships no JavaScript,
   and a CSS hover menu is unusable on touch. A disclosure works with a tap, a
   click and a keyboard, natively. */
.nav-dd { position: relative; }
.nav-dd > summary {
  list-style: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: .35rem;
  color: var(--text-muted); font-size: var(--step--1); font-weight: 550;
  letter-spacing: -0.005em; padding-block: .35rem;
  border-bottom: 2px solid transparent;
}
.nav-dd > summary::-webkit-details-marker { display: none; }
.nav-dd > summary::marker { content: ""; }
.nav-dd > summary::after {
  content: ""; width: .38rem; height: .38rem; margin-top: -.18rem;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg); transition: transform .15s ease;
}
.nav-dd[open] > summary::after { transform: rotate(-135deg); margin-top: .1rem; }
.nav-dd > summary:hover,
.nav-dd[open] > summary { color: var(--ink); }
.nav-dd > summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.nav-dd.is-active > summary { color: var(--ink); border-bottom-color: var(--accent); }

.nav-dd__panel {
  position: absolute; top: calc(100% + .55rem); right: 0; z-index: 60;
  display: flex; flex-direction: column; gap: .1rem;
  min-width: 12rem; padding: .4rem;
  background: var(--surface-raised);
  border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.nav-dd__panel a {
  padding: .5rem .7rem; border-radius: var(--radius-sm);
  border-bottom: 0; white-space: nowrap; color: var(--text-muted);
}
.nav-dd__panel a:hover { background: var(--surface-sunk); color: var(--ink); }
.nav-dd__panel a[aria-current="page"] { color: var(--accent); background: var(--accent-soft); }
@media (max-width: 30rem) {
  .nav-dd__panel { right: auto; left: 50%; transform: translateX(-50%); }
}

/* --- Page head ------------------------------------------------------------ */
.page-head { padding-block: clamp(2.75rem, 6vw, 4.5rem) clamp(1.75rem, 3vw, 2.5rem); }
.page-head__eyebrow {
  display: inline-block; font-size: var(--step--1); font-weight: 640;
  letter-spacing: .06em; text-transform: uppercase; color: var(--accent);
  margin-bottom: .85rem;
}
.page-head h1 { font-size: var(--step-4); max-width: 26ch; }
.page-head__lede {
  font-size: var(--step-1); color: var(--text-muted);
  max-width: 56ch; margin-top: 1.1rem; line-height: 1.5;
}
.page-head__meta {
  margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: .5rem 2rem;
  font-size: var(--step--1); color: var(--text-faint);
}
.page-head__meta dt { font-weight: 620; color: var(--text-muted); }
.page-head__meta dd { margin-left: 0; }
.page-head__meta > div { display: flex; gap: .4rem; }

/* --- Notice callout ------------------------------------------------------- */
.notice {
  border: 1px solid var(--accent-border);
  background: var(--accent-soft);
  border-radius: var(--radius);
  padding: 1.1rem 1.35rem;
  margin-block: 2rem;
  font-size: var(--step--1);
  line-height: 1.6;
  color: var(--text);
}
.notice > * + * { margin-top: .6rem; }
.notice strong { color: var(--ink); }
.notice--plain { background: var(--surface-sunk); border-color: var(--border); }

/* --- Prose (legal documents, articles) ------------------------------------ */
.prose { max-width: var(--measure); padding-bottom: clamp(3rem, 7vw, 5rem); }
.prose > * + * { margin-top: 1.15rem; }

.prose h2 {
  font-size: var(--step-2);
  margin-top: 3.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
  scroll-margin-top: 6rem;
}
.prose h2:first-of-type { margin-top: 2.5rem; }
.prose h3 { font-size: var(--step-1); margin-top: 2.25rem; scroll-margin-top: 6rem; }

.prose ul, .prose ol { padding-left: 1.35rem; }
.prose li + li { margin-top: .5rem; }
.prose li::marker { color: var(--text-faint); }

.prose strong { color: var(--ink); font-weight: 650; }
.prose em { color: var(--text-muted); }

.prose hr { border: 0; border-top: 1px solid var(--border); margin-block: 2.5rem; }

/* Numbered legal clauses: 1.1, 4.3 - hanging indent keeps the number in the gutter */
.clause { display: grid; grid-template-columns: 3.1rem 1fr; align-items: baseline; }
.clause + .clause { margin-top: .9rem; }
.clause__n {
  font-variant-numeric: tabular-nums; font-weight: 640;
  color: var(--text-faint); font-size: var(--step--1);
}
@media (max-width: 34rem) {
  .clause { grid-template-columns: 2.6rem 1fr; }
}

/* Placeholder token: [Club] etc. - visibly a slot to be filled */
.ph {
  font-family: var(--font-mono); font-size: .86em; font-weight: 600;
  color: var(--accent); background: var(--accent-soft);
  border: 1px dashed var(--accent-border);
  border-radius: var(--radius-sm);
  padding: .1em .45em; white-space: nowrap;
}
.ph--wide { white-space: normal; }

/* --- Tables --------------------------------------------------------------- */
.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-raised);
  margin-block: 1.75rem;
  -webkit-overflow-scrolling: touch;
}
.table-scroll table { border-collapse: collapse; width: 100%; min-width: 32rem; font-size: var(--step--1); }
.table-scroll th, .table-scroll td {
  text-align: left; padding: .8rem 1.1rem; vertical-align: top;
  border-bottom: 1px solid var(--border);
}
.table-scroll thead th {
  background: var(--surface-sunk); color: var(--ink);
  font-weight: 640; font-size: .82rem; letter-spacing: .03em; text-transform: uppercase;
  white-space: nowrap;
}
.table-scroll tbody tr:last-child td { border-bottom: 0; }
.table-scroll tbody td:first-child { color: var(--ink); font-weight: 540; }

/* --- Table of contents ---------------------------------------------------- */
.toc {
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface-sunk);
  padding: 1.25rem 1.5rem; margin-block: 2rem;
}
.toc h2 {
  font-size: .78rem !important; text-transform: uppercase; letter-spacing: .07em;
  color: var(--text-faint); margin: 0 0 .85rem !important;
  border: 0 !important; padding: 0 !important;
}
.toc ol { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 2rem; }
.toc li { margin: 0 0 .5rem; break-inside: avoid; font-size: var(--step--1); }
.toc a { color: var(--text-muted); text-decoration: none; }
.toc a:hover { color: var(--accent); text-decoration: underline; }
.toc__n { font-variant-numeric: tabular-nums; color: var(--text-faint); margin-right: .45rem; }
@media (max-width: 34rem) { .toc ol { columns: 1; } }

/* --- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .7rem 1.3rem; border-radius: var(--radius-sm);
  font-size: var(--step--1); font-weight: 600; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-hover); color: #fff; }
.btn--ghost { border-color: var(--border-strong); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

/* --- Site footer ---------------------------------------------------------- */
.site-footer {
  flex: none;
  border-top: 1px solid var(--border);
  background: var(--surface-sunk);
  padding-block: 2.75rem 2.25rem;
  font-size: var(--step--1);
  color: var(--text-muted);
}
/* Stacks on narrow screens. min(100%, ...) lets a track shrink below its
   preferred floor rather than forcing the page to scroll sideways. */
.site-footer__grid {
  display: grid; gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  padding-bottom: 2rem;
}
@media (min-width: 52rem) {
  .site-footer__grid {
    grid-template-columns: minmax(14rem, 1.5fr) repeat(auto-fit, minmax(9rem, 1fr));
  }
}
.site-footer h2 {
  font-size: .74rem; text-transform: uppercase; letter-spacing: .08em;
  color: var(--text-faint); font-weight: 640; margin-bottom: .9rem;
}
.site-footer ul { list-style: none; padding: 0; }
.site-footer li + li { margin-top: .5rem; }
.site-footer a { color: var(--text-muted); text-decoration: none; }
.site-footer a:hover { color: var(--accent); text-decoration: underline; }
.site-footer__blurb { max-width: 34ch; margin-top: .9rem; color: var(--text-faint); line-height: 1.6; }

.site-footer__legal {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex; flex-wrap: wrap; gap: .4rem 1.5rem;
  justify-content: space-between; align-items: baseline;
  font-size: .8rem; color: var(--text-faint);
}
.site-footer__legal p { max-width: 62ch; }

/* --- Hero ----------------------------------------------------------------- */
.hero { padding-block: clamp(2.25rem, 5vw, 3.75rem) clamp(2.5rem, 5vw, 3.5rem); }
/* 17ch forced a 58-character headline onto four lines on a 1120px canvas. */
.hero h1 { font-size: var(--step-4); max-width: 32ch; }
.hero__lede {
  font-size: var(--step-1); color: var(--text-muted);
  max-width: 54ch; margin-top: 1.25rem; line-height: 1.5;
}
.hero__actions { margin-top: 2.25rem; display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; }
.hero__note { font-size: var(--step--1); color: var(--text-faint); }

/* --- Section rhythm ------------------------------------------------------- */
.section { padding-block: clamp(3rem, 7vw, 5rem); }
.section--ruled { border-top: 1px solid var(--border); }
.section--sunk { background: var(--surface-sunk); border-block: 1px solid var(--border); }
/* Heading and body want different measures: a heading can run wider before it
   hurts, body copy should stay near 60ch. Capping the whole block at 60ch made
   short headings wrap for no reason. */
.section__head { margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.section__eyebrow {
  display: block; font-size: var(--step--1); font-weight: 640;
  letter-spacing: .06em; text-transform: uppercase; color: var(--accent);
  margin-bottom: .75rem;
}
.section__head h2 { font-size: var(--step-3); max-width: 40ch; }
.section__head > p {
  font-size: var(--step-1); color: var(--text-muted);
  margin-top: .9rem; line-height: 1.5; max-width: 62ch;
}

/* --- Highlights strip ----------------------------------------------------- */
/* An at-a-glance scope summary for the top of a product page. Deliberately
   lighter than .feature cards further down the page: a top rule instead of a
   full border, so a reader scans it rather than reads it. */
.highlights__lead {
  font-size: var(--step-0); color: var(--text-muted);
  max-width: 68ch; margin: 0 0 1.75rem; line-height: 1.6;
}
.highlights__lead strong { color: var(--ink); font-weight: 620; }

.highlights {
  list-style: none; padding: 0;
  margin: 0 0 clamp(2.5rem, 5vw, 3.75rem);
  display: grid; gap: 1.75rem 2.25rem;
  /* 20rem yields exactly 3 columns at the 1120px wrap, so six items land as a
     clean 3x2 rather than 4 + 2 with a hole in the second row. */
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
}
.highlights > div { border-top: 2px solid var(--accent); padding-top: .85rem; }
.highlights dt {
  font-size: 1rem; margin-bottom: .35rem; color: var(--ink);
  letter-spacing: -0.01em; font-weight: 640;
}
.highlights dd {
  margin: 0; font-size: var(--step--1);
  color: var(--text-muted); line-height: 1.55;
}

/* --- Feature grid --------------------------------------------------------- */
.features {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
}
.feature {
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface-raised); padding: 1.35rem 1.45rem;
}
.feature h3 { font-size: 1.02rem; margin-bottom: .45rem; letter-spacing: -0.01em; }
.feature p { font-size: var(--step--1); color: var(--text-muted); line-height: 1.6; }

/* --- Tick list ------------------------------------------------------------ */
.checks {
  list-style: none; padding: 0; display: grid; gap: .9rem 2rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
}
.checks li { position: relative; padding-left: 1.9rem; font-size: var(--step--1); line-height: 1.6; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .38em;
  width: 1.1rem; height: 1.1rem; border-radius: 50%;
  background: var(--accent-soft); border: 1px solid var(--accent-border);
}
.checks li::after {
  content: ""; position: absolute; left: .33rem; top: .68em;
  width: .28rem; height: .5rem; border: solid var(--accent);
  border-width: 0 1.5px 1.5px 0; transform: rotate(45deg);
}
.checks strong { color: var(--ink); font-weight: 620; }

/* --- Split columns -------------------------------------------------------- */
.split {
  display: grid; gap: clamp(1.75rem, 4vw, 3.5rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 21rem), 1fr));
  align-items: start;
}
.split p + p { margin-top: 1rem; }
.split h3 { font-size: var(--step-1); margin-bottom: .75rem; }
.split p { color: var(--text-muted); }

/* --- Product cards -------------------------------------------------------- */
.products {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
}
.product {
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface-raised); box-shadow: var(--shadow-sm);
  padding: clamp(1.5rem, 3vw, 2.1rem);
  display: flex; flex-direction: column;
}
.product__badge {
  align-self: flex-start;
  font-size: .74rem; font-weight: 640; letter-spacing: .06em; text-transform: uppercase;
  padding: .3rem .7rem; border-radius: 100px; margin-bottom: 1rem;
  background: var(--accent-soft); color: var(--accent); border: 1px solid var(--accent-border);
}
.product__badge--soon {
  background: var(--surface-sunk); color: var(--text-faint); border-color: var(--border-strong);
}
.product h3 { font-size: var(--step-2); margin-bottom: .3rem; }
.product__tag {
  font-size: var(--step--1); color: var(--text-faint);
  margin-bottom: 1rem; font-weight: 550;
}
.product > p { color: var(--text-muted); }
.product > p + p { margin-top: .85rem; }
.product__shot {
  display: block; margin: 0 0 1.35rem;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  overflow: hidden; background: var(--surface-sunk);
}
/* Crop to a band rather than showing the whole 2400x1520 frame — at card width
   the full screenshot dominates, and the top strip (chrome, nav, first tiles)
   is the part that reads as "this is a real application" anyway. */
.product__shot img {
  display: block; width: 100%; height: auto;
  aspect-ratio: 16 / 7;
  object-fit: cover; object-position: top left;
}

.product__list { list-style: none; padding: 0; margin: 1.25rem 0 0; }
.product__list li {
  font-size: var(--step--1); color: var(--text-muted);
  padding-left: 1.1rem; position: relative; line-height: 1.55;
}
.product__list li + li { margin-top: .45rem; }
.product__list li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: .3rem; height: .3rem; border-radius: 50%; background: var(--accent);
}
.product__foot { margin-top: auto; padding-top: 1.6rem; display: flex; gap: .6rem; flex-wrap: wrap; }

/* --- Stat row ------------------------------------------------------------- */
.stats {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
}
.stat { border-left: 2px solid var(--accent); padding-left: 1.1rem; }
.stat__n { display: block; font-size: var(--step-2); font-weight: 660; color: var(--ink); letter-spacing: -0.02em; }
.stat__l { display: block; font-size: var(--step--1); color: var(--text-muted); margin-top: .3rem; line-height: 1.5; }

/* --- Pull quote ----------------------------------------------------------- */
/* For showing the product's own output as evidence, rather than describing it. */
.pullquote {
  margin: 1.75rem 0 0;
  padding: 1.35rem 1.6rem;
  border-left: 3px solid var(--accent);
  background: var(--surface-sunk);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.pullquote p {
  font-size: var(--step-0); line-height: 1.6;
  color: var(--text); font-style: italic;
}
.pullquote cite {
  display: block; margin-top: .8rem; font-style: normal;
  font-size: var(--step--1); color: var(--text-faint);
}

/* --- Fine print ----------------------------------------------------------- */
.fineprint {
  font-size: .8rem; line-height: 1.6; color: var(--text-faint);
  max-width: 78ch; padding-bottom: clamp(2rem, 5vw, 3rem);
}
.fineprint a { color: var(--text-muted); }

/* --- Product screenshots -------------------------------------------------- */
.shot { margin: 0; }
.shot img {
  display: block; width: 100%; height: auto;
  border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  background: var(--surface-raised);
}
.shot figcaption {
  font-size: var(--step--1); color: var(--text-faint);
  margin-top: .9rem; line-height: 1.55; max-width: 68ch;
}
.shot figcaption strong { color: var(--text-muted); font-weight: 620; }

/* --- Call to action panel ------------------------------------------------- */
.cta {
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface-raised); box-shadow: var(--shadow-sm);
  padding: clamp(1.75rem, 4vw, 2.75rem);
}
.cta h2 { font-size: var(--step-2); max-width: 34ch; }
.cta p { color: var(--text-muted); max-width: 52ch; margin-top: .85rem; }
.cta__actions { margin-top: 1.75rem; display: flex; gap: .75rem; flex-wrap: wrap; }

/* --- Utilities ------------------------------------------------------------ */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.text-muted { color: var(--text-muted); }
.mt-0 { margin-top: 0 !important; }

@media print {
  .site-header, .site-footer, .toc, .skip { display: none !important; }
  body { color: #000; background: #fff; }
  .prose { max-width: none; }
  .prose h2 { break-after: avoid; }
  .table-scroll { overflow: visible; }
}
