/* Next Clean — public site (nextcleanapp.com). One stylesheet, no build, no JavaScript.
   Colors are the brand tokens from docs/brand/tokens.css. The public site is always light (docs/brand/README.md:45):
   no dark theme, so the logo, the symbol and the screenshots always sit on the cream they were drawn for.
   Apricot is ornament only: it never carries white text. Every text pair passes WCAG AA (4.5:1). */

/* ---------- Font: Outfit (SIL OFL 1.1), self-hosted ---------- */
@font-face {
  font-family: "Outfit";
  src: url("/assets/fonts/outfit-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Outfit";
  src: url("/assets/fonts/outfit-latin-ext.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  color-scheme: light;
  --background: #FAF6F1;
  --foreground: #241A15;
  --card: #FFFDFA;
  --muted: #F2EBE3;
  --muted-foreground: #5D4F46;
  --accent: #EFE3D9;
  --border: #EADFD4;
  --input: #9A897D;
  --ring: #241A15;
  --primary: #241A15;
  --primary-foreground: #FFF9F4;
  --apricot: #F9B276;
  --apricot-soft: #FDEEDF;
  --ink: #241A15;
  --status-paid: #17753A;
  --status-paid-bg: #E4F4E8;
  --status-paid-dot: #1C8F43;
  --status-due: #8A5300;
  --status-due-bg: #FFF0D2;
  --status-due-dot: #B87500;
  --agenda-text: #4A3A31;
  --agenda-1: #FFCDB4;
  --agenda-2: #CFDFC3;
  --agenda-3: #E6D8BE;
  --agenda-6: #C9DCF1;
  --shadow: 0 1px 2px rgba(36, 26, 21, .06), 0 8px 24px -12px rgba(36, 26, 21, .18);
  --radius: 1rem;
  --radius-xl: 1.375rem;
  --font: "Outfit", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, "Liberation Mono", monospace;
  --gutter: 16px;
  --max: 1120px;
}

@media (min-width: 720px) {
  :root { --gutter: 24px; }
}
@media (min-width: 1100px) {
  :root { --gutter: 32px; }
}

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

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

body {
  margin: 0;
  min-width: 320px;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-variant-numeric: tabular-nums;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  line-height: 1.2;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 1.35rem + 2.6vw, 3.25rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.08; }
h2 { font-size: clamp(1.4rem, 1.15rem + 1vw, 1.875rem); font-weight: 700; }
h3 { font-size: 1.1875rem; font-weight: 650; }
h4 { font-size: 1.0625rem; font-weight: 650; }

p, ul, ol, dl, blockquote, figure, table { margin: 0 0 1rem; }
ul, ol { padding-left: 1.35rem; }
li + li { margin-top: .35rem; }
strong { font-weight: 650; }

a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
}
a:hover { text-decoration-color: var(--apricot); text-decoration-thickness: 3px; }

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

code, kbd {
  font-family: var(--mono);
  font-size: .9em;
}

hr { border: 0; border-top: 1px solid var(--border); margin: 2.5rem 0; }

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

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

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 10;
  padding: .7rem 1.1rem;
  background: var(--primary);
  color: var(--primary-foreground);
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Top bar (language) ---------- */
.topbar {
  border-bottom: 1px solid var(--border);
  font-size: .9375rem;
}
.topbar__inner {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.lang ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.lang li { margin: 0; display: flex; align-items: center; }
.lang li + li::before {
  content: "·";
  content: "·" / ""; /* the dot is decoration: screen readers skip it (the first line is the fallback) */
  color: var(--muted-foreground);
  padding: 0 .15rem;
}
.lang a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 .5rem;
  color: var(--muted-foreground);
  text-decoration: none;
  border-radius: 8px;
}
.lang a:hover { color: var(--foreground); text-decoration: underline; text-decoration-color: var(--apricot); text-decoration-thickness: 2px; }
.lang a[aria-current="page"] { color: var(--foreground); font-weight: 650; }

/* ---------- Header ---------- */
.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem 1.5rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border-radius: 8px;
}
.brand img { width: 150px; height: auto; }
@media (min-width: 720px) {
  .brand img { width: 172px; }
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav li { margin: 0; }
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 .8rem;
  border-radius: 999px;
  font-weight: 550;
  font-size: 1rem;
  text-decoration: none;
  color: var(--foreground);
}
.site-nav a:hover { background: var(--accent); }
.site-nav a[aria-current="page"] {
  background: var(--muted);
  box-shadow: inset 0 -3px 0 var(--apricot);
}
@media (max-width: 719px) {
  .site-nav { width: 100%; margin-left: -.6rem; }
  .site-nav a { padding: 0 .6rem; font-size: .9688rem; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 48px;
  padding: 0 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 650;
  text-decoration: none;
  line-height: 1.2;
}
.btn--primary { background: var(--primary); color: var(--primary-foreground); }
.btn--primary:hover { text-decoration: none; box-shadow: 0 0 0 4px var(--apricot-soft), 0 0 0 5px var(--apricot); }
.btn--secondary { background: transparent; color: var(--foreground); border-color: var(--input); }
.btn--secondary:hover { background: var(--accent); text-decoration: none; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

/* ---------- Generic sections ---------- */
.section { padding: clamp(3rem, 2rem + 4vw, 5.5rem) 0; }
.section--tint { background: var(--muted); }
.section--line { border-top: 1px solid var(--border); }
.section__head { max-width: 46rem; margin-bottom: 2rem; }
.section__head p { color: var(--muted-foreground); font-size: 1.125rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin: 0 0 1rem;
  font-size: .875rem;
  font-weight: 650;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}
.eyebrow::before {
  content: "";
  width: .6rem; height: .6rem;
  border-radius: 50%;
  background: var(--apricot);
  flex: none;
}

.lead {
  font-size: clamp(1.125rem, 1.05rem + .4vw, 1.3125rem);
  line-height: 1.55;
  color: var(--muted-foreground);
  max-width: 40rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
}

/* ---------- Home: hero ---------- */
.hero { padding: clamp(2.5rem, 1.5rem + 4vw, 5rem) 0 clamp(3rem, 2rem + 4vw, 5.5rem); }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 960px) {
  .hero__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 3.5rem; }
}
.hero h1 { max-width: 16ch; }
.hero__meta {
  margin-top: 1.25rem;
  font-size: .9375rem;
  color: var(--muted-foreground);
}

/* the "today" card: decoration built from the agenda pastels */
.day-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  padding: 1.25rem;
  max-width: 26rem;
  width: 100%;
  justify-self: center;
}
.day-card__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1rem;
}
.day-card__day { font-weight: 750; font-size: 1.125rem; margin: 0; }
.day-card__count { font-size: .875rem; color: var(--muted-foreground); margin: 0; }
.slots { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.slots li { margin: 0; }
.slot {
  display: grid;
  grid-template-columns: 3.4rem minmax(0, 1fr);
  gap: .75rem;
  align-items: start;
  padding: .75rem .9rem;
  border-radius: 12px;
  color: var(--agenda-text);
}
.slot--1 { background: var(--agenda-1); }
.slot--2 { background: var(--agenda-2); }
.slot--3 { background: var(--agenda-3); }
.slot--4 { background: var(--agenda-6); }
.slot__time { font-weight: 700; font-size: .9375rem; }
.slot__title { font-weight: 650; display: block; line-height: 1.3; }
.slot__sub { font-size: .875rem; display: block; line-height: 1.4; }
.day-card__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem 1rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: .9375rem;
}
.day-card__foot p { margin: 0; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .2rem .7rem;
  border-radius: 999px;
  font-size: .875rem;
  font-weight: 650;
  line-height: 1.5;
}
.badge::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; flex: none; }
.badge--paid { background: var(--status-paid-bg); color: var(--status-paid); }
.badge--paid::before { background: var(--status-paid-dot); }
.badge--due { background: var(--status-due-bg); color: var(--status-due); }
.badge--due::before { background: var(--status-due-dot); }

/* ---------- Home: features ---------- */
.features {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16.5rem), 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}
.features li { margin: 0; }
.feature { height: 100%; }
.feature h3 { margin-top: .9rem; margin-bottom: .35rem; }
.feature p { margin: 0; color: var(--muted-foreground); }
.feature__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--apricot-soft);
  display: grid;
  place-items: center;
  color: var(--foreground);
}
.feature__icon svg { width: 24px; height: 24px; }

/* audience */
.audience {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
}
.audience h3 { margin-bottom: .35rem; }
.audience p { margin: 0; color: var(--muted-foreground); }

/* money flow */
.flow {
  list-style: none;
  counter-reset: flow;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  margin: 0 0 1.5rem;
  padding: 0;
}
.flow li {
  counter-increment: flow;
  margin: 0;
  position: relative;
  padding-top: 3.25rem;
}
.flow li::before {
  content: counter(flow);
  position: absolute;
  top: 1.25rem;
  left: 1.5rem;
  width: 2.25rem; height: 2.25rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--apricot);
  color: var(--ink);
  font-weight: 800;
}
.flow h3 { margin-top: .5rem; }
.flow p { margin: 0; color: var(--muted-foreground); }

.notice {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  background: var(--apricot-soft);
  border: 1px solid var(--border);
  border-left: 6px solid var(--apricot);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
}
.notice p { margin: 0; }
.notice__title { font-weight: 750; font-size: 1.1875rem; }

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
}
@media (min-width: 860px) {
  .two-col { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; }
}

/* ---------- Document pages ---------- */
.doc-hero {
  padding: clamp(2rem, 1.5rem + 3vw, 4rem) 0 clamp(1.5rem, 1rem + 2vw, 2.5rem);
  border-bottom: 1px solid var(--border);
}
.doc-hero h1 { max-width: 22ch; }
.doc-hero .lead { margin-bottom: 1rem; }
.doc-hero .translation-note { margin: 1.25rem 0 0; max-width: 46rem; }
.updated {
  font-size: .9375rem;
  color: var(--muted-foreground);
  margin: 0;
}

.doc {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  padding-top: 2rem;
  padding-bottom: clamp(3rem, 2rem + 4vw, 5rem);
}
@media (min-width: 980px) {
  .doc { grid-template-columns: 15.5rem minmax(0, 1fr); gap: 3.5rem; padding-top: 3rem; }
  .toc { position: sticky; top: 1.5rem; align-self: start; max-height: calc(100vh - 3rem); overflow-y: auto; }
}

.toc {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  font-size: .9375rem;
}
.toc h2 {
  font-size: .8125rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  margin: 0 0 .5rem;
}
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc li { margin: 0; }
.toc a {
  display: flex;
  align-items: center;
  min-height: 36px;
  padding: .25rem .4rem;
  border-radius: 8px;
  text-decoration: none;
  line-height: 1.3;
}
.toc a:hover { background: var(--accent); }

.prose { max-width: 44rem; min-width: 0; }
.prose a, .contact-card a, .operator a { overflow-wrap: anywhere; }
.prose > section { padding-top: .5rem; }
.prose > section + section { margin-top: 2.5rem; padding-top: 2.5rem; border-top: 1px solid var(--border); }
.prose h2 { scroll-margin-top: 1.5rem; }
.prose h3 { margin-top: 1.75rem; scroll-margin-top: 1.5rem; }
.prose h2 .num { color: var(--muted-foreground); font-weight: 600; margin-right: .35rem; }
.prose ul li::marker { color: var(--muted-foreground); }
.muted { color: var(--muted-foreground); }
.small { font-size: .9375rem; }

.callout {
  background: var(--apricot-soft);
  border: 1px solid var(--border);
  border-left: 6px solid var(--apricot);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  margin: 0 0 1.25rem;
}
.callout > :last-child { margin-bottom: 0; }
.callout__title { font-weight: 750; margin-bottom: .35rem; }

.panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  margin: 0 0 1.25rem;
}
.panel > :last-child { margin-bottom: 0; }

/* required statements, shown as a plain list with a check mark */
.required {
  list-style: none;
  padding: 0;
}
.required li {
  position: relative;
  padding-left: 1.75rem;
}
.required li::before {
  content: "";
  position: absolute;
  left: .2rem;
  top: .55em;
  width: .7rem;
  height: .4rem;
  border-left: 2.5px solid currentColor;
  border-bottom: 2.5px solid currentColor;
  transform: rotate(-45deg);
}

/* the verbal script */
.script {
  position: relative;
  margin: 0 0 1.25rem;
  padding: 1.5rem 1.5rem 1.5rem 1.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}
.script__label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin: 0 0 .75rem;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}
.script__label::before { content: ""; width: .6rem; height: .6rem; border-radius: 50%; background: var(--apricot); flex: none; }
.script blockquote {
  margin: 0;
  font-size: clamp(1.125rem, 1.05rem + .35vw, 1.3125rem);
  line-height: 1.55;
  font-weight: 500;
}
.script blockquote p { margin: 0; }
.script__note { margin: 1rem 0 0; font-size: .9375rem; color: var(--muted-foreground); }

/* call transcript */
.transcript {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: .6rem;
}
.transcript li {
  margin: 0;
  display: grid;
  gap: .15rem;
  max-width: 34rem;
  padding: .75rem 1rem;
  border-radius: 16px;
  border: 1px solid var(--border);
}
.transcript .t-company { background: var(--card); border-bottom-left-radius: 4px; }
.transcript .t-client { background: var(--apricot-soft); justify-self: end; border-bottom-right-radius: 4px; }
.transcript .t-action { background: transparent; border-style: dashed; max-width: none; color: var(--muted-foreground); font-size: .9375rem; }
.who { font-size: .8125rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted-foreground); }

/* screenshot */
.shot {
  margin: 0 0 1.25rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.shot > a { display: block; }
/* the figure clips its corners (overflow: hidden): the focus ring goes inside the link, or it would be cut off */
.shot > a:focus-visible { outline-offset: -4px; border-radius: var(--radius) var(--radius) 0 0; }
.shot img { width: 100%; height: auto; background: #FFFFFF; }
.shot figcaption {
  padding: .9rem 1.1rem;
  font-size: .9375rem;
  color: var(--muted-foreground);
  border-top: 1px solid var(--border);
}

/* message samples */
.samples {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}
.samples > li { margin: 0; min-width: 0; }
.sample {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.1rem 1.1rem;
}
.sample h4 { margin: 0 0 .15rem; }
.sample__when { margin: 0 0 .75rem; font-size: .9375rem; color: var(--muted-foreground); }
.bubble {
  margin: 0;
  padding: .8rem 1rem;
  max-width: 30rem;
  background: var(--muted);
  border-radius: 18px 18px 18px 4px;
  white-space: pre-line;
  overflow-wrap: anywhere;
  font-size: 1rem;
  line-height: 1.5;
}
.bubble--wa { background: var(--apricot-soft); }
.bubble__stopline { font-weight: 650; }
.sample__channel {
  display: inline-block;
  margin: .6rem 0 0;
  font-size: .8125rem;
  font-weight: 650;
  color: var(--muted-foreground);
}

/* keywords */
.keywords {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}
.keywords li { margin: 0; }
.kw {
  display: inline-block;
  padding: .2rem .6rem;
  border-radius: 8px;
  background: var(--card);
  border: 1px solid var(--input);
  font-family: var(--mono);
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: .02em;
}

/* provider cards */
.providers {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: .75rem;
  margin: 0 0 1.25rem;
}
.provider {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
}
.provider h3, .provider h4 { margin: 0 0 .25rem; font-size: 1.0625rem; }
.provider p { margin: 0; }
.provider p + p { margin-top: .35rem; }
.provider .muted { font-size: .9375rem; }

/* definition-style rows (retention, deletion) */
.rows { margin: 0 0 1.25rem; padding: 0; }
.rows > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: .25rem 1.5rem;
  padding: .85rem 0;
  border-bottom: 1px solid var(--border);
}
.rows > div:first-child { border-top: 1px solid var(--border); }
@media (min-width: 640px) {
  .rows > div { grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); }
}
.rows dt { font-weight: 650; }
.rows dd { margin: 0; color: var(--muted-foreground); }

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: .25rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
  margin: 0 0 1.25rem;
}
.contact-card p { margin: 0; }
.contact-card .big { font-size: 1.25rem; font-weight: 700; }

.steps { counter-reset: step; list-style: none; padding: 0; }
.steps > li {
  counter-increment: step;
  position: relative;
  padding-left: 2.6rem;
  margin: 0 0 1rem;
}
.steps > li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: .05rem;
  width: 1.85rem; height: 1.85rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--apricot);
  color: var(--ink);
  font-weight: 800;
  font-size: .9375rem;
}

/* ---------- 404 ---------- */
.notfound { padding: clamp(3rem, 2rem + 6vw, 7rem) 0; max-width: 40rem; }
.notfound img { width: 72px; height: 72px; margin-bottom: 1.5rem; }
.linklist { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.linklist li { margin: 0; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--muted);
  padding: 2.5rem 0 2rem;
  font-size: .9688rem;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
}
@media (min-width: 860px) {
  .site-footer__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: start; }
}
.site-footer .brand img { width: 132px; }
.operator { margin: .75rem 0 0; color: var(--foreground); }
.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem .5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 860px) {
  .footer-nav ul { justify-content: flex-end; }
}
.footer-nav li { margin: 0; }
.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 .6rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 550;
}
.footer-nav a:hover { background: var(--accent); }
.footer-nav .signin a { border: 1px solid var(--muted-foreground); }
.copyright { margin: 1.5rem 0 0; color: var(--muted-foreground); font-size: .875rem; }

/* ---------- Print ---------- */
@media print {
  .topbar, .site-nav, .toc, .skip-link, .footer-nav { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .doc { display: block; }
  a { text-decoration: none; }
  .prose a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .85em; }
}
