/* Passyble site. One stylesheet, no build step, no external requests.
   Palette: a calm blue scale plus neutrals, no gradients, no hard shadows.
     ink     #0F1B33  navy near-black text
     primary #2563EB  brand blue (the logo tile), buttons and accents; #1D4ED8 for links and hover
     navy    #13254A  the one dark block (security)
     tint    #EDF2FD  pale blue surfaces
     greys   #FFFFFF background, #F4F6F9 surfaces, #DDE2EA dividers, #8590A2 control borders,
             #5A6474 secondary text
   Dark mode uses the same scale on navy-grey (#0B1220). Every text pairing meets WCAG AA (4.5:1)
   in both themes; the README lists the measured ratios.
   Fonts: Instrument Serif (headings) and Space Grotesk (text), self-hosted, SIL OFL 1.1. */

@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/InstrumentSerif-Regular.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/InstrumentSerif-Italic.woff2") format("woff2");
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("fonts/SpaceGrotesk-Variable.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --bg: #FFFFFF;
  --surface: #F4F6F9;
  --tint: #EDF2FD;
  --fg: #0F1B33;
  --muted: #5A6474;
  --line: #DDE2EA;
  --control: #8590A2;
  --primary: #2563EB;
  --primary-hover: #1D4ED8;
  --on-primary: #FFFFFF;
  --link: #1D4ED8;
  --tint-fg: #1E3A8A;
  --navy: #13254A;
  --navy-fg: #FFFFFF;
  --navy-muted: #B9C5DB;
  --navy-accent: #93B7FF;
  --navy-line: #34476E;

  --serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Space Grotesk", "Avenir Next", "Segoe UI", sans-serif;
  --mono: "Cascadia Mono", Consolas, "SFMono-Regular", Menlo, monospace;
  --r: 10px;
  --r-lg: 14px;
  --wide: 76rem;
  --gutter: 16px;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #0B1220;
    --surface: #131C2E;
    --tint: #172440;
    --fg: #E6EBF3;
    --muted: #9AA6B8;
    --line: #243049;
    --control: #5D6A80;
    --primary: #7FA8FF;
    --primary-hover: #A3C0FF;
    --on-primary: #0B1220;
    --link: #7FA8FF;
    --tint-fg: #BFD3FF;
    --navy: #14274A;
    --navy-fg: #E6EBF3;
    --navy-muted: #9FB0CC;
    --navy-accent: #93B7FF;
    --navy-line: #2F4470;
  }
}

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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-wrap: break-word;
}

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

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}
h1 em, h2 em { color: var(--primary); }

p { margin: 0 0 1rem; }

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

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

::selection { background: var(--tint); color: var(--fg); }

.mono { font-family: var(--mono); font-size: 0.92em; }

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

.wrap {
  width: 100%;
  max-width: var(--wide);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
@media (min-width: 768px) {
  :root { --gutter: 32px; }
}

.skip {
  position: absolute;
  left: var(--gutter);
  top: -4rem;
  z-index: 10;
  background: var(--fg);
  color: var(--bg);
  padding: 0.6rem 1rem;
  border-radius: var(--r);
  font-weight: 600;
  text-decoration: none;
}
.skip:focus { top: 0.75rem; color: var(--bg); }

/* Labels and buttons */

.label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.875rem;
  padding: 0.65rem 1.2rem;
  border: 1px solid var(--control);
  border-radius: var(--r);
  background: var(--bg);
  color: var(--fg);
  font: 600 1rem/1.2 var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn:hover { color: var(--fg); background: var(--surface); text-decoration: none; }
.btn.primary { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.btn.primary:hover { background: var(--primary-hover); border-color: var(--primary-hover); color: var(--on-primary); }
.btn.small { min-height: 2.5rem; padding: 0.45rem 0.9rem; }

/* Header and footer */

header.site { border-bottom: 1px solid var(--line); }
header.site .wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.5rem 1.5rem;
  padding-block: 0.9rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--serif);
  font-size: 1.7rem;
  line-height: 1;
  color: var(--fg);
  text-decoration: none;
}
.brand:hover { color: var(--fg); }
nav.site { grid-column: 1 / -1; grid-row: 2; }
nav.site ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
}
nav.site a {
  display: inline-block;
  padding: 0.3rem 0;
  color: var(--muted);
  font-weight: 500;
  text-decoration: none;
}
nav.site a:hover { color: var(--fg); }
nav.site a[aria-current="page"] { color: var(--fg); text-decoration: underline; text-decoration-color: var(--primary); text-decoration-thickness: 2px; }
.header-cta {
  grid-column: 2;
  grid-row: 1;
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0.4rem 0.95rem;
  border-radius: var(--r);
  background: var(--primary);
  color: var(--on-primary);
  font-weight: 600;
  text-decoration: none;
}
.header-cta:hover { background: var(--primary-hover); color: var(--on-primary); text-decoration: none; }
@media (min-width: 860px) {
  header.site .wrap { grid-template-columns: auto 1fr auto; }
  nav.site { grid-column: 2; grid-row: 1; justify-self: end; }
  .header-cta { grid-column: 3; }
}

footer.site { border-top: 1px solid var(--line); }
footer.site .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding-block: 2rem 2.5rem;
}
footer.site ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}
footer.site ul a { color: var(--muted); }
footer.site ul a:hover { color: var(--fg); }
footer.site .made { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* Hero */

.hero { padding-block: 3rem 4rem; }
.hero-grid { display: grid; gap: 3rem; }
.hero .label { color: var(--primary-hover); }
@media (prefers-color-scheme: dark) {
  .hero .label { color: var(--primary); }
}
.hero h1 {
  font-size: clamp(3.1rem, 1.4rem + 6.2vw, 7.25rem);
  line-height: 0.92;
  letter-spacing: -0.025em;
  margin: 0 0 1.5rem;
  max-width: 12ch;
}
.hero .lead { font-size: 1.2rem; line-height: 1.55; color: var(--muted); max-width: 33rem; margin-bottom: 1.75rem; }
.cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2rem; }
.facts {
  list-style: none;
  margin: 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem 1.5rem;
  max-width: 34rem;
  font-size: 0.95rem;
  color: var(--muted);
}
.facts li { position: relative; padding-left: 1.1rem; line-height: 1.4; }
.facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}
@media (min-width: 1000px) {
  .hero { padding-block: 5rem 6rem; }
  .hero-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.85fr); gap: 4.5rem; align-items: center; }
}

/* Generator widget */

.gen {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg);
}
.gen-bar {
  padding: 1rem 1.25rem 0;
}
.gen-bar h2 {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.3;
  color: var(--muted);
}
.gen-body {
  margin: 0;
  padding: 0.85rem 1.25rem 1.25rem;
  border: 0;
  min-width: 0;
}
.gen-body:disabled :is(.seg, .gen-actions, .gen-row, .checks) { opacity: 0.6; }

.seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  border-radius: var(--r);
  background: var(--surface);
}
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg span {
  display: block;
  padding: 0.45rem 0.5rem;
  border: 1px solid transparent;
  border-radius: 7px;
  text-align: center;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
}
.seg input:checked + span { background: var(--bg); border-color: var(--line); color: var(--fg); }
.seg input:focus-visible + span { outline: 2px solid var(--primary); outline-offset: 1px; }

.gen-out { margin-top: 1rem; }
.pw {
  display: block;
  min-height: 4.75rem;
  padding: 0.9rem 1rem;
  border-radius: var(--r);
  background: var(--tint);
  color: var(--fg);
  font-family: var(--mono);
  font-size: 1.2rem;
  line-height: 1.45;
  word-break: break-all;
}
.gen-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; margin-top: 0.75rem; }

.meter { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin-top: 1.1rem; }
.meter i { height: 6px; border-radius: 3px; background: var(--line); }
.meter[data-level="4"] i,
.meter[data-level="3"] i:nth-child(-n+4),
.meter[data-level="2"] i:nth-child(-n+3) { background: var(--primary); }
.meter[data-level="1"] i:nth-child(-n+2),
.meter[data-level="0"] i:nth-child(1) { background: var(--control); }
.gen-strength { margin: 0.45rem 0 0; font-size: 0.95rem; font-weight: 600; }

.gen-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 0.25rem 1rem;
  margin-top: 1.1rem;
}
.gen-row label { font-weight: 600; }
.gen-row output { font-family: var(--mono); font-weight: 600; }
.gen-row input { grid-column: 1 / -1; width: 100%; margin: 0.25rem 0 0; accent-color: var(--primary); }
.gen [hidden] { display: none; }

.checks { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; margin-top: 1.1rem; }
.checks label { display: inline-flex; align-items: center; gap: 0.45rem; cursor: pointer; }
.checks input { width: 1.05rem; height: 1.05rem; margin: 0; accent-color: var(--primary); }
.checks span { font-family: var(--mono); font-size: 0.95rem; }
.checks .wide > span { font-family: var(--sans); }
.checks .la { font-size: 0.85em; }
.gen-hint { margin: 1.1rem 0 0; font-size: 0.95rem; color: var(--muted); }
.gen-status { margin: 0; padding: 0 1.25rem 1rem; font-size: 0.9rem; font-weight: 600; }
.gen-status:empty { display: none; }
.gen-nojs { margin: 0; padding: 0 1.25rem 1rem; font-size: 0.9rem; }
.gen-note { margin: 1rem 0 0; font-size: 0.875rem; color: var(--muted); max-width: 32rem; }

/* Sections */

.section { padding-block: 4.5rem; border-top: 1px solid var(--line); }
.section h2 { font-size: clamp(2.5rem, 1.5rem + 3.4vw, 4.25rem); line-height: 1; margin-bottom: 1.25rem; }
@media (min-width: 1000px) {
  .section { padding-block: 6.5rem; }
}

.split { display: grid; gap: 2.5rem; }
.split-head > p:not(.label) { color: var(--muted); font-size: 1.1rem; max-width: 26rem; }
@media (min-width: 1000px) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 5rem; }
  .split-head { position: sticky; top: 2rem; align-self: start; }
}

.ledger { list-style: none; margin: 0; padding: 0; counter-reset: n; }
.ledger li {
  counter-increment: n;
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  column-gap: 1rem;
  padding: 1.35rem 0;
  border-top: 1px solid var(--line);
}
.ledger li:first-child { border-top: 0; padding-top: 0.25rem; }
.ledger li::before {
  content: counter(n, decimal-leading-zero);
  grid-row: 1 / span 2;
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--primary-hover);
  padding-top: 0.4rem;
}
@media (prefers-color-scheme: dark) {
  .ledger li::before { color: var(--primary); }
}
.ledger h3 { font-size: 1.75rem; line-height: 1.1; margin-bottom: 0.35rem; }
.ledger p { margin: 0; color: var(--muted); max-width: 38rem; }

/* Apps */

.apps-head { max-width: 42rem; margin-bottom: 3.5rem; }
.apps-head > p:not(.label) { color: var(--muted); font-size: 1.1rem; }

.app { display: grid; gap: 1.75rem; margin-bottom: 5rem; }
.app:last-child { margin-bottom: 0; }
.app-text h3 { font-size: clamp(2.1rem, 1.6rem + 1.8vw, 3rem); margin-bottom: 0.8rem; }
.app-text p { max-width: 30rem; color: var(--muted); }

.ticks { list-style: none; margin: 1.25rem 0 0; padding: 0; }
.ticks li { position: relative; padding: 0.35rem 0 0.35rem 1.5rem; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.75rem;
  width: 0.55rem;
  height: 0.3rem;
  border-left: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  transform: rotate(-45deg);
}

.shot { margin: 0; align-self: start; }
.shot picture, .shot > img {
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
}
.shot figcaption { padding: 0.6rem 0.1rem 0; font-size: 0.875rem; line-height: 1.4; color: var(--muted); }
.shot figcaption span, .caption span { font-family: var(--mono); font-size: 0.8rem; color: var(--fg); margin-right: 0.5rem; }
.shot-popup { max-width: 20rem; }

.phones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; align-items: start; }
.phone picture, .phone > img { border-radius: 18px; }
.caption { margin: 0; font-size: 0.875rem; color: var(--muted); }

@media (min-width: 1000px) {
  .app { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 2rem; row-gap: 2.5rem; margin-bottom: 7rem; }

  .app-win .app-text { grid-column: 1 / span 4; grid-row: 1; padding-top: 1rem; }
  .app-win .shot-main { grid-column: 5 / -1; grid-row: 1; }
  .app-win .shot-a { grid-column: 1 / span 6; grid-row: 2; }
  .app-win .shot-b { grid-column: 7 / -1; grid-row: 2; }

  .app-ext .shot-main { grid-column: 1 / span 8; grid-row: 1 / span 2; }
  .app-ext .app-text { grid-column: 9 / -1; grid-row: 1; }
  .app-ext .shot-popup { grid-column: 9 / -1; grid-row: 2; max-width: 17rem; }

  .app-android .app-text { grid-column: 1 / span 4; grid-row: 1; padding-top: 1rem; }
  .app-android .phones { grid-column: 6 / -1; grid-row: 1; gap: 1.75rem; }
  .app-android .caption { grid-column: 6 / -1; }
}

/* Security: the one dark block */

.block { background: var(--navy); color: var(--navy-fg); border-top: 0; }
.block .label { color: var(--navy-muted); }
.block a { color: var(--navy-fg); text-decoration-color: var(--navy-accent); }
.block a:hover { color: var(--navy-accent); }
.block :focus-visible { outline-color: var(--navy-accent); }
.sec-head { max-width: 46rem; margin-bottom: 3.5rem; }
.sec-head > p:not(.label) { color: var(--navy-muted); font-size: 1.1rem; }

.callouts { margin: 0; display: grid; gap: 2.25rem; }
.callouts > div { border-top: 1px solid var(--navy-line); padding-top: 1.25rem; }
.callouts dt {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 1.3rem + 3vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  overflow-wrap: anywhere;
}
.callouts .num { color: var(--navy-accent); }
.callouts dd { margin: 0.75rem 0 0; max-width: 34rem; color: var(--navy-muted); }
@media (min-width: 900px) {
  .callouts { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 3.5rem; row-gap: 3rem; }
}

.plain { list-style: none; margin: 3.5rem 0 0; padding: 0; max-width: 52rem; }
.plain li { padding: 0.9rem 0; border-top: 1px solid var(--navy-line); color: var(--navy-muted); }
.plain strong { color: var(--navy-fg); }
.honest { margin: 2.5rem 0 0; max-width: 52rem; color: var(--navy-muted); }
.honest strong { color: var(--navy-fg); }

/* Download */

.platforms { list-style: none; margin: 0; padding: 0; }
.platforms li {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  padding: 1.4rem 0;
  border-top: 1px solid var(--line);
}
.platforms li:first-child { border-top: 0; padding-top: 0.25rem; }
.platforms h3 { font-size: 2rem; }
.platforms p { margin: 0; color: var(--muted); max-width: 30rem; }
.status {
  justify-self: start;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: var(--tint);
  color: var(--tint-fg);
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}
@media (min-width: 640px) {
  .platforms li { grid-template-columns: 1fr auto; column-gap: 1.5rem; }
  .platforms h3, .platforms p { grid-column: 1; }
  .status { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
}
.note {
  margin: 1.5rem 0 0;
  padding: 1rem 1.25rem;
  border-radius: var(--r);
  background: var(--surface);
  color: var(--muted);
  max-width: 40rem;
}
.note strong { color: var(--fg); }

/* FAQ */

.faq details { border-top: 1px solid var(--line); }
.faq details:first-child { border-top: 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 2.5rem 1.1rem 0;
  font-family: var(--serif);
  font-size: 1.65rem;
  line-height: 1.2;
}
.faq details:first-child summary { padding-top: 0.25rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0.25rem;
  top: 1.05rem;
  font-family: var(--sans);
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--muted);
  transition: transform 0.15s ease;
}
.faq details:first-child summary::after { top: 0.2rem; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--primary-hover); }
@media (prefers-color-scheme: dark) {
  .faq summary:hover { color: var(--primary); }
}
.faq details > div { padding-bottom: 1.1rem; }
.faq details p { margin: 0; max-width: 40rem; color: var(--muted); }

/* Contact */

.contact { padding-block: 4.5rem 5rem; border-top: 1px solid var(--line); }
.contact h2 { font-size: clamp(2.3rem, 1.4rem + 3.4vw, 4.25rem); line-height: 1; max-width: 18ch; margin-bottom: 1.5rem; }
.contact .mail {
  display: inline-block;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3rem);
  line-height: 1.1;
  margin-bottom: 1rem;
  overflow-wrap: anywhere;
}
.contact p { margin: 0; color: var(--muted); }
@media (min-width: 1000px) {
  .contact .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 4rem; align-items: end; }
  .contact h2 { grid-row: 1 / span 2; margin-bottom: 0; }
  .contact .mail { margin-bottom: 0.5rem; }
}

/* Documents: privacy policy, delete your data, 404 */

.doc-hero { padding-block: 3rem 5rem; }
.doc { max-width: 46rem; }
.prose h1 { font-size: clamp(2.9rem, 1.6rem + 5vw, 5rem); line-height: 0.95; margin-bottom: 1rem; }
.prose h2 { font-size: clamp(1.85rem, 1.5rem + 1.2vw, 2.4rem); margin: 3rem 0 0.9rem; scroll-margin-top: 1rem; }
.prose h3 { font-family: var(--sans); font-weight: 600; font-size: 1.15rem; line-height: 1.3; margin: 1.75rem 0 0.5rem; }
.prose ul, .prose ol { padding-left: 1.4rem; margin: 0 0 1rem; }
.prose li { margin-bottom: 0.45rem; }
.prose li::marker { color: var(--muted); }
.prose dl { margin: 0 0 1rem; }
.prose dt { font-weight: 600; margin-top: 1.1rem; }
.prose dd { margin: 0.3rem 0 0; }
.meta { font-size: 0.95rem; color: var(--muted); }
code { font-family: var(--mono); font-size: 0.88em; background: var(--surface); border: 1px solid var(--line); border-radius: 5px; padding: 0.05em 0.35em; overflow-wrap: anywhere; }

.summary {
  margin: 2rem 0;
  padding: 1.25rem 1.5rem 0.5rem;
  border-radius: var(--r-lg);
  background: var(--tint);
}
.summary h2 { margin-top: 0; }
.summary code { background: var(--bg); }

.toc { margin: 2rem 0; padding: 1.1rem 1.25rem 0.5rem; border: 1px solid var(--line); border-radius: var(--r-lg); }
.prose .toc h2 {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.75rem;
}
@media (min-width: 640px) {
  .toc ol { columns: 2; column-gap: 2.5rem; }
  .toc li { break-inside: avoid; }
}

.table-scroll { overflow-x: auto; margin: 0 0 1.25rem; border: 1px solid var(--line); border-radius: var(--r); }
.table-scroll table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.table-scroll th, .table-scroll td { text-align: left; vertical-align: top; padding: 0.65rem 0.8rem; border-bottom: 1px solid var(--line); }
.table-scroll tr:last-child th, .table-scroll tr:last-child td { border-bottom: 0; }
.table-scroll thead th { background: var(--surface); font-weight: 600; }
.table-scroll tbody th { font-weight: 600; width: 32%; }

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