/* spotrebio.eu + docs.spotrebio.eu
   Concept: the app's own palette (pantry cream, fridge green, amber "expiring" accent). The one loud
   element is the hero: a real eKasa receipt whose lines get inkjet-style expiry stamps - what the app
   does to your shopping. Everything else stays quiet. */

:root {
  --bg: #f6f1e7;
  --surface: #fffdf8;
  --surface-2: #efe8da;
  --line: #e2d8c6;
  --ink: #1d2420;
  --muted: #5d665f;
  --forest: #1f5f4a;
  --forest-soft: #dcebe3;
  --on-forest: #f6f1e7;
  --hero: #1f5f4a;
  --hero-muted: #b9d3c7;
  --amber: #c9821d;
  --stamp: #a8590b;
  --paper: #fffdf6;
  --paper-ink: #2a2622;
  --paper-muted: #7b746a;
  --btn-ink: #1d2420;
  --shadow: 0 1px 2px rgb(30 25 15 / 6%), 0 8px 24px rgb(30 25 15 / 8%);
  --shadow-lg: 0 24px 60px rgb(10 25 18 / 35%);

  --font: 'Bricolage Grotesque Variable', 'Bricolage Grotesque', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --mono: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #101614; --surface: #18201d; --surface-2: #212b27; --line: #2c3833; --ink: #e8ece9; --muted: #9aa69f;
    --forest: #5fbf97; --forest-soft: #1d3a2f; --on-forest: #0d1a15; --hero: #12302a; --hero-muted: #9fc4b3;
    --amber: #f0b45a; --stamp: #a8590b; --paper: #efe9dc; --paper-ink: #2a2622; --paper-muted: #6f685e; --btn-ink: #0d1a15;
    --shadow: 0 1px 2px rgb(0 0 0 / 30%); --shadow-lg: 0 24px 60px rgb(0 0 0 / 55%);
    color-scheme: dark;
  }
}
:root[data-theme='dark'] {
  --bg: #101614; --surface: #18201d; --surface-2: #212b27; --line: #2c3833; --ink: #e8ece9; --muted: #9aa69f;
  --forest: #5fbf97; --forest-soft: #1d3a2f; --on-forest: #0d1a15; --hero: #12302a; --hero-muted: #9fc4b3;
  --amber: #f0b45a; --stamp: #a8590b; --paper: #efe9dc; --paper-ink: #2a2622; --paper-muted: #6f685e; --btn-ink: #0d1a15;
  --shadow: 0 1px 2px rgb(0 0 0 / 30%); --shadow-lg: 0 24px 60px rgb(0 0 0 / 55%);
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font);
  font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; font-optical-sizing: auto;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--forest); text-underline-offset: 3px; }
h1, h2, h3 { margin: 0; line-height: 1.1; text-wrap: balance; font-weight: 750; }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.75rem); letter-spacing: -0.025em; font-stretch: 90%; }
h3 { font-size: 1.12rem; letter-spacing: -0.01em; line-height: 1.3; font-weight: 680; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px)); }
.wrap.narrow { max-width: 820px; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 60ch; }
.note { font-size: 0.92rem; color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 22px;
  border-radius: 999px; font: inherit; font-weight: 650; text-decoration: none; border: 1.5px solid transparent;
  background: var(--surface-2); color: var(--ink); cursor: pointer; transition: transform 0.12s, background 0.15s;
}
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--forest); color: var(--on-forest); }
.btn.ghost { background: transparent; border-color: currentColor; }
.btn.small { min-height: 40px; padding: 6px 16px; font-size: 0.95rem; }

/* ---------- header ---------- */
.top { position: absolute; inset: 0 0 auto; z-index: 5; padding-top: env(safe-area-inset-top, 0px); color: var(--on-forest); }
.landing .top { color: #f6f1e7; }
.top.solid { position: sticky; top: 0; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); color: var(--ink); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 16px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-weight: 750; font-size: 1.3rem; letter-spacing: -0.03em; }
.logo i { font-style: normal; color: var(--amber); }
.logo em { font-style: normal; font-weight: 500; color: var(--muted); font-size: 1.05rem; margin-left: 2px; padding-left: 10px; border-left: 1px solid var(--line); }
.top-nav { margin-left: auto; display: flex; align-items: center; gap: 4px 18px; flex-wrap: wrap; justify-content: flex-end; }
.top-nav a:not(.btn) { color: inherit; text-decoration: none; font-weight: 550; opacity: 0.9; }
.top-nav a:not(.btn):hover { opacity: 1; text-decoration: underline; }
.top-nav .lang { font-size: 0.85rem; letter-spacing: 0.04em; border: 1.5px solid currentColor; border-radius: 8px; padding: 2px 7px; }
.landing .top .btn.small { background: #f6f1e7; color: #1d2420; }
@media (max-width: 760px) { .hide-sm { display: none; } }
@media (max-width: 600px) { .logo em { display: none; } }

/* ---------- hero ---------- */
.hero { background: var(--hero); color: #f6f1e7; padding-top: calc(72px + env(safe-area-inset-top, 0px)); overflow: hidden; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; align-items: center; padding-block: 48px 72px; }
.hero h1 {
  font-size: clamp(2.7rem, 6.4vw, 5rem); font-weight: 800; font-stretch: 78%; line-height: 0.98;
  letter-spacing: -0.035em; max-width: 12ch;
}
.hero .lead { color: var(--hero-muted); margin-top: 22px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero .btn.primary { background: #f6f1e7; color: #173f33; }
.hero .btn.ghost { color: #f6f1e7; }
.hero .note { color: var(--hero-muted); margin-top: 18px; max-width: 46ch; }

.hero-visual { display: flex; justify-content: center; padding-block: 8px 24px; }
.receipt {
  width: min(420px, 100%); background: var(--paper); color: var(--paper-ink);
  font-family: var(--mono); font-size: 0.86rem; line-height: 1.45; padding: 26px 24px 40px; transform: rotate(-2.5deg);
  box-shadow: var(--shadow-lg);
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 14px 100%;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 14px 100%;
}
.r-head { display: flex; flex-direction: column; align-items: center; text-align: center; padding-bottom: 10px; border-bottom: 1px dashed var(--paper-muted); }
.r-head span { color: var(--paper-muted); }
.r-lines { list-style: none; margin: 0; padding: 8px 0; border-bottom: 1px dashed var(--paper-muted); }
.r-lines li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 10px; padding: 6px 0 4px; }
.r-name { overflow-wrap: anywhere; }
.r-qty { color: var(--paper-muted); text-align: right; }
.stamp {
  grid-column: 1 / -1; justify-self: end; margin-top: -2px;
  font-family: var(--font); font-weight: 800; font-size: 1.3rem; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--stamp); transform: rotate(-4deg); white-space: nowrap; line-height: 1;
  /* inkjet dot-matrix print */
  -webkit-mask: radial-gradient(circle, #000 50%, #0000 58%) 0 0 / 3px 3px;
  mask: radial-gradient(circle, #000 50%, #0000 58%) 0 0 / 3px 3px;
  animation: print 0.32s cubic-bezier(0.2, 0.9, 0.3, 1.2) backwards;
  animation-delay: calc(0.45s + var(--i) * 0.16s);
}
@keyframes print { from { opacity: 0; transform: rotate(-9deg) scale(1.7); } }
.r-total { display: flex; justify-content: space-between; padding: 10px 0; font-weight: 700; font-size: 0.9rem; }
.r-qr { display: flex; align-items: center; gap: 12px; color: var(--paper-muted); }
.qr { width: 64px; height: 64px; fill: var(--paper-ink); }

.phone {
  width: min(290px, 100%); border-radius: 38px; padding: 9px; background: #1a1f1c;
  box-shadow: var(--shadow-lg); margin-inline: auto;
}
.phone img { border-radius: 30px; width: 100%; }

@media (max-width: 900px) {
  .hero-in { grid-template-columns: minmax(0, 1fr); padding-block: 32px 56px; gap: 32px; }
  .receipt { width: min(420px, 92%); font-size: 0.8rem; padding-inline: 18px; }
}
@media (max-width: 420px) {
  .r-qty { display: none; }
}

/* ---------- sections ---------- */
.band { padding-block: clamp(64px, 9vw, 120px); }
.band + .band { border-top: 1px solid var(--line); }
.band h2 + .lead { margin-top: 14px; }
.split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.split.reverse { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
.split-copy { min-width: 0; }
@media (max-width: 860px) { .split, .split.reverse { grid-template-columns: minmax(0, 1fr); } }

.steps { list-style: none; counter-reset: step; margin: 36px 0 0; padding: 0; display: grid; gap: 26px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 14px; }
.steps li::before {
  content: counter(step); grid-row: span 2; font-weight: 800; font-size: 2.4rem; line-height: 1; color: var(--amber);
  font-stretch: 80%; font-variant-numeric: tabular-nums;
}
.steps p { color: var(--muted); margin-top: 4px; }

.remind-visual { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.push {
  display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 12px; align-items: start; max-width: 440px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 14px 16px; box-shadow: var(--shadow);
}
.push img { border-radius: 9px; }
.push-top { display: flex; justify-content: space-between; font-size: 0.82rem; color: var(--muted); }
.push-top b { font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.75rem; }
.push strong { display: block; line-height: 1.3; }
.push p { font-size: 0.95rem; color: var(--muted); line-height: 1.4; }
.timeline { margin: 0; }
.timeline ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); position: relative; }
.timeline ol::before { content: ''; position: absolute; left: 8px; right: 8px; top: 7px; height: 2px; background: var(--line); }
.timeline li { position: relative; padding-top: 26px; padding-right: 8px; display: flex; flex-direction: column; }
.timeline li::before {
  content: ''; position: absolute; left: 0; top: 0; width: 16px; height: 16px; border-radius: 50%;
  background: var(--bg); border: 3px solid var(--amber);
}
.timeline li:last-child::before { background: var(--amber); }
.timeline b { font-weight: 700; }
.timeline span { color: var(--muted); font-size: 0.92rem; }
.timeline figcaption { margin-top: 16px; font-size: 0.88rem; color: var(--muted); }
@media (max-width: 520px) {
  .timeline ol { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .timeline ol::before { left: 7px; right: auto; top: 8px; bottom: 8px; width: 2px; height: auto; }
  .timeline li { padding: 0 0 0 30px; }
}

.features { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 40px; }
.features li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: start; }
.features .ico { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--forest-soft); color: var(--forest); }
.features p { color: var(--muted); margin-top: 6px; font-size: 0.98rem; }
@media (max-width: 960px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .features { grid-template-columns: minmax(0, 1fr); } }

.price-table-wrap { overflow-x: auto; margin-top: 36px; }
.price-table { width: 100%; border-collapse: separate; border-spacing: 0; font-variant-numeric: tabular-nums; }
.price-table th, .price-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: bottom; }
.price-table tbody th { font-weight: 500; }
.price-table td { width: 26%; font-weight: 600; }
.price-table thead th { font-weight: 600; }
.price-table .prem { background: var(--forest-soft); }
.price-table thead .prem { border-radius: 16px 16px 0 0; }
.price-table tbody tr:last-child .prem { border-radius: 0 0 16px 16px; }
.price-table .plan { display: block; font-size: 1rem; color: var(--muted); }
.price-table .amount { display: block; font-size: 2.2rem; font-weight: 800; font-stretch: 85%; letter-spacing: -0.02em; line-height: 1.1; }
.price-table .per { display: block; font-size: 0.85rem; color: var(--muted); font-weight: 500; }
@media (max-width: 600px) {
  .price-table th, .price-table td { padding: 12px 8px; font-size: 0.95rem; }
  .price-table td { width: 30%; }
  .price-table .amount { font-size: 1.7rem; }
}
.pricing .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 28px; }

.faq .wrap > * { max-width: 780px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq h2 { margin-bottom: 18px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 40px 18px 0; font-weight: 650; font-size: 1.1rem; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2.5px solid var(--forest); border-bottom: 2.5px solid var(--forest); transform: rotate(45deg); transition: transform 0.2s;
}
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq details p { padding-bottom: 20px; color: var(--muted); max-width: 64ch; }
.faq details + p { margin-top: 22px; }

/* ---------- footer ---------- */
.foot { background: var(--surface-2); padding-block: 44px calc(44px + env(safe-area-inset-bottom, 0px)); color: var(--muted); font-size: 0.92rem; }
.foot-in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px 48px; }
.foot-brand { display: flex; flex-direction: column; gap: 12px; }
.foot .logo { color: var(--ink); }
.foot-links { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.foot-links a { color: var(--ink); text-decoration: none; }
.foot-links a:hover { text-decoration: underline; }
.foot-legal { grid-column: 1 / -1; font-size: 0.85rem; }
@media (max-width: 640px) { .foot-in { grid-template-columns: minmax(0, 1fr); } }

/* ---------- documents (legal pages, docs) ---------- */
.doc-main { padding-block: 40px 80px; }
.nf { padding-block: 80px; display: flex; flex-direction: column; gap: 18px; }
.nf h1 { font-size: 2.4rem; }

.md { line-height: 1.65; overflow-wrap: anywhere; max-width: 72ch; }
.md > * + * { margin-top: 16px; }
.md h1 { font-size: clamp(2rem, 4.5vw, 2.8rem); font-weight: 800; font-stretch: 85%; letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 10px; }
.md h2 { font-size: 1.45rem; margin-top: 40px; scroll-margin-top: 90px; font-stretch: 95%; letter-spacing: -0.015em; }
.md h3 { margin-top: 26px; scroll-margin-top: 90px; }
.md h1 + p { color: var(--muted); }
.md ul, .md ol { padding-left: 24px; }
.md li + li { margin-top: 6px; }
.md li ul { margin-top: 6px; }
.md code { font-family: var(--mono); font-size: 0.88em; background: var(--surface-2); padding: 1px 6px; border-radius: 6px; }
.md pre { background: var(--surface-2); padding: 12px 14px; border-radius: 12px; overflow-x: auto; }
.md kbd { font: 650 0.85em/1 var(--font); border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px; padding: 2px 7px; background: var(--surface); white-space: nowrap; }
.md hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }
.md blockquote { margin: 16px 0 0; padding-left: 16px; border-left: 3px solid var(--line); color: var(--muted); }
.md .callout { border-radius: var(--radius); padding: 14px 18px; background: var(--forest-soft); }
.md .callout.note { background: var(--surface-2); }
.md .callout.warning { background: color-mix(in srgb, var(--amber) 18%, var(--surface)); }
.md .callout > * + * { margin-top: 8px; }
.md figure { margin: 24px 0 0; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.md figure img { width: 100%; max-width: 300px; border-radius: 26px; border: 7px solid #1a1f1c; box-shadow: var(--shadow); }
.md figcaption { color: var(--muted); font-size: 0.9rem; text-align: center; max-width: 44ch; }
.md .table-wrap { overflow-x: auto; }
.md table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
.md th, .md td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.md th { font-weight: 650; background: var(--surface-2); }
.md td:first-child { min-width: 9rem; }
.md td, .md th { overflow-wrap: normal; }
/* tables become label/value blocks on phones */
@media (max-width: 600px) {
  .md table, .md thead, .md tbody, .md tr, .md td { display: block; width: 100%; }
  .md thead { display: none; }
  .md tr { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .md td { border: 0; padding: 2px 0; min-width: 0; }
  .md td:first-child { font-weight: 650; }
  .md td[data-label]:not([data-label='']):not(:first-child)::before {
    content: attr(data-label) ': '; color: var(--muted); font-weight: 500;
  }
}


.docs-grid { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 48px; padding-block: 36px 80px; align-items: start; }
.docs-grid.no-nav { grid-template-columns: minmax(0, 1fr); }
.docs-main { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 48px; align-items: start; }
@media (min-width: 1240px) {
  .docs-main:has(.toc) { grid-template-columns: minmax(0, 1fr) 210px; }
  .docs-main .toc { grid-column: 2; grid-row: 1; position: sticky; top: 100px; }
  .docs-main > :not(.toc) { grid-column: 1; }
}
@media (max-width: 1239px) { .toc { display: none; } }
.toc ul { list-style: none; margin: 0; padding: 0 0 0 14px; border-left: 2px solid var(--line); display: flex; flex-direction: column; gap: 8px; font-size: 0.9rem; }
.toc a { color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--ink); }

.docs-nav { position: sticky; top: 96px; }
.docs-nav summary { display: none; }
.docs-nav ul { list-style: none; margin: 0; padding: 0; }
.docs-nav .topics a {
  display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 550; line-height: 1.3;
}
.docs-nav .topics a:hover { background: var(--surface-2); }
.docs-nav .topics a[aria-current='page'] { background: var(--surface); box-shadow: var(--shadow); }
.docs-nav .ico { width: 30px; height: 30px; padding: 6px; border-radius: 9px; background: var(--forest-soft); color: var(--forest); flex: none; }
.docs-nav .legal { margin-top: 18px; padding: 14px 10px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; font-size: 0.9rem; }
.docs-nav .legal a { color: var(--muted); }
@media (max-width: 900px) {
  .docs-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-top: 20px; }
  .docs-nav { position: static; }
  .docs-nav details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 8px; }
  .docs-nav summary { display: block; padding: 10px 6px; font-weight: 650; cursor: pointer; }
  .docs-nav details:not([open]) { padding-bottom: 4px; }
}

.pager { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 48px; max-width: 72ch; }
.pager a { display: flex; flex-direction: column; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); font-weight: 650; }
.pager a:hover { border-color: var(--forest); }
.pager small { color: var(--muted); font-weight: 500; }
.pager .next { text-align: right; grid-column: 2; }
.docs-hint { margin-top: 28px; color: var(--muted); font-size: 0.9rem; }

.docs-intro { max-width: 60ch; }
.docs-intro h1 { font-size: clamp(2.3rem, 5vw, 3.4rem); font-weight: 800; font-stretch: 80%; letter-spacing: -0.03em; line-height: 1; }
.docs-intro .lead { margin-top: 14px; }
.topic-grid { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.topic-grid a {
  display: flex; gap: 14px; align-items: flex-start; padding: 18px; height: 100%; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); text-decoration: none; color: var(--ink);
}
.topic-grid a:hover { border-color: var(--forest); }
.topic-grid .ico { width: 42px; height: 42px; padding: 9px; border-radius: 12px; background: var(--forest-soft); color: var(--forest); flex: none; }
.topic-grid b { display: block; font-weight: 680; line-height: 1.3; }
.topic-grid small { display: block; color: var(--muted); font-size: 0.92rem; line-height: 1.4; margin-top: 3px; }
@media (max-width: 1000px) { .topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .topic-grid { grid-template-columns: minmax(0, 1fr); } }
.docs-legal { margin-top: 28px; display: flex; gap: 18px; flex-wrap: wrap; font-size: 0.92rem; }
.docs-legal a { color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .stamp { animation: none; }
  .btn, .faq summary::after { transition: none; }
}
