/* ============================================================
   MoneteDiValore.it — Design System
   Nessun font esterno (GDPR + velocità): serif di sistema per i
   titoli, sans di sistema per il testo.
   ============================================================ */

:root {
  --ink: #1c1b18;
  --body: #3b3933;
  --muted: #6d685d;
  --line: #e6dfd0;
  --line-strong: #d3c9b4;
  --paper: #fbf8f1;
  --surface: #ffffff;
  --soft: #f4efe3;

  --gold-700: #7a5c14;
  --gold-600: #8f6d1b;
  --gold-500: #b88a2a;
  --gold-300: #e2c77d;
  --gold-100: #f7ecd0;

  --green-800: #173a31;
  --green-700: #1e4a3f;
  --green-600: #256050;
  --green-100: #e2efe9;

  --red-600: #a8322b;
  --red-100: #f8e3e0;
  --blue-600: #2c5d8a;
  --blue-100: #e3edf6;

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;

  --shadow-sm: 0 1px 2px rgba(40, 32, 12, .06), 0 1px 3px rgba(40, 32, 12, .05);
  --shadow: 0 8px 24px rgba(40, 32, 12, .08);

  --container: 1160px;
  --narrow: 780px;

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65;
  color: var(--body); background: var(--paper); -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--green-600); text-underline-offset: 2px; }
a:hover { color: var(--green-800); }
h1, h2, h3, h4 { overflow-wrap: break-word; font-family: var(--serif); color: var(--ink); line-height: 1.18; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.005em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.1rem); margin-top: 1.6em; }
h3 { font-size: 1.28rem; margin-top: 1.4em; }
h2:first-child, h3:first-child { margin-top: 0; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.3rem; }
li { margin-bottom: .35rem; }
strong { color: var(--ink); }
small { font-size: .875em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 2px; border-radius: 3px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 1rem; }
@media (min-width: 640px) { .container { padding-inline: 1.5rem; } }
.narrow { max-width: var(--narrow); }
.section { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.section--soft { background: var(--soft); border-block: 1px solid var(--line); }
.section--dark { background: var(--green-800); color: #dfe9e4; }
.section--dark h2, .section--dark h3, .section--dark strong { color: #fff; }
.eyebrow { font: 600 .78rem/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-600); margin-bottom: .6rem; display: block; }
.lead { font-size: 1.18rem; color: var(--body); max-width: 62ch; }
.muted { color: var(--muted); }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 248, 241, .94); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; gap: 1rem; min-height: 64px; }
.logo { display: flex; align-items: center; gap: .55rem; font-family: var(--serif); font-weight: 700; font-size: 1.22rem; color: var(--ink); text-decoration: none; white-space: nowrap; }
.logo:hover { color: var(--ink); }
.logo span { color: var(--gold-600); }
.logo svg { width: 32px; height: 32px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: .25rem; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .96rem; padding: .45rem .7rem; border-radius: var(--radius-sm); }
.nav a:hover, .nav a[aria-current="page"] { background: var(--gold-100); color: var(--ink); }
.nav .btn { margin-left: .5rem; }
.nav a.btn--primary, .nav a.btn--primary:hover { color: #fff; background: var(--green-700); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: .45rem .6rem; cursor: pointer; color: var(--ink); }
@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 64px; background: var(--paper); flex-direction: column; align-items: stretch; padding: .75rem 1rem 1.25rem; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.is-open { display: flex; }
  .nav a { padding: .75rem .5rem; font-size: 1.05rem; }
  .nav .btn { margin: .5rem 0 0; text-align: center; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font: 600 1rem/1.2 var(--sans); padding: .8rem 1.35rem; border-radius: 999px; border: 2px solid transparent; cursor: pointer; text-decoration: none; transition: background .15s, color .15s, border-color .15s; }
.btn--primary { background: var(--green-700); color: #fff; }
.btn--primary:hover { background: var(--green-800); color: #fff; }
.btn--gold { background: var(--gold-500); color: #1c1606; }
.btn--gold:hover { background: var(--gold-300); color: #1c1606; }
.btn--ghost { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--sm { padding: .55rem 1rem; font-size: .92rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: wait; }

/* ---------- Breadcrumb ---------- */
.crumbs { font-size: .88rem; color: var(--muted); padding-top: 1.25rem; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .25rem; }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "›"; margin: 0 .4rem 0 .15rem; color: var(--line-strong); }
.crumbs a { color: var(--muted); }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(2.5rem, 7vw, 5rem); background:
  radial-gradient(circle at 85% 20%, rgba(226, 199, 125, .35), transparent 45%),
  radial-gradient(circle at 10% 90%, rgba(37, 96, 80, .08), transparent 40%); }
.hero__grid { display: grid; gap: 2.5rem; align-items: center; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .hero__grid { grid-template-columns: 1.15fr .85fr; } }
.hero h1 { margin-bottom: .4em; }
.hero__coins { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; max-width: 380px; margin-inline: auto; }
.hero__coins svg { width: 100%; filter: drop-shadow(0 8px 14px rgba(60, 45, 10, .18)); }
.hero__coins svg:nth-child(2) { transform: translateY(-18px); }
.hero__coins svg:nth-child(5) { transform: translateY(-18px); }
.hero__trust { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-top: 1.5rem; font-size: .93rem; color: var(--muted); padding: 0; list-style: none; }
.hero__trust li::before { content: "✓ "; color: var(--green-600); font-weight: 700; }

/* ---------- Search ---------- */
.search { position: relative; max-width: 560px; margin-top: 1.5rem; }
.search input { width: 100%; font: 400 1.08rem var(--sans); padding: 1rem 1.2rem 1rem 3rem; border: 2px solid var(--line-strong); border-radius: 999px; background: #fff; color: var(--ink); }
.search input:focus { border-color: var(--gold-500); outline: none; box-shadow: 0 0 0 4px rgba(184, 138, 42, .18); }
.search svg { position: absolute; left: 1.1rem; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--muted); pointer-events: none; }
.search__results { position: absolute; left: 0; right: 0; top: calc(100% + 6px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); list-style: none; margin: 0; padding: .35rem; z-index: 20; max-height: 60vh; overflow: auto; }
.search__results[hidden] { display: none; }
.search__results li { margin: 0; }
.search__results a { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem .8rem; border-radius: var(--radius-sm); color: var(--ink); text-decoration: none; }
.search__results a:hover, .search__results a.is-active { background: var(--gold-100); }
.search__results small { color: var(--muted); white-space: nowrap; }
.search__hint { font-size: .88rem; color: var(--muted); margin: .6rem 0 1.25rem 1.2rem; }
.search-page .search__results { position: static; box-shadow: none; max-height: none; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 1.1rem; grid-template-columns: minmax(0, 1fr); }
.grid > *, .layout > *, .two-col > *, .hero__grid > *, .coin-head > * { min-width: 0; }
.card h3 { overflow-wrap: anywhere; }
@media (min-width: 640px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.card h3 { margin: 0 0 .35rem; font-size: 1.15rem; }
.card p { font-size: .97rem; margin-bottom: .6rem; }
.card--link { text-decoration: none; color: inherit; transition: border-color .15s, transform .15s, box-shadow .15s; }
.card--link:hover { border-color: var(--gold-300); transform: translateY(-2px); box-shadow: var(--shadow); color: inherit; }
.card__coin { display: flex; align-items: center; gap: .9rem; margin-bottom: .6rem; }
.card__coin svg { width: 58px; height: 58px; flex: none; }
.card__meta { margin-top: auto; font-size: .87rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: .3rem .9rem; }
.card__value { font-weight: 700; color: var(--gold-700); }
.card--cat { padding: 1.5rem; }
.card--cat .num { font: 700 2rem/1 var(--serif); color: var(--gold-600); }

/* ---------- Coin page ---------- */
.coin-head { display: grid; gap: 1.75rem; align-items: start; padding-block: 1.5rem 1rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 860px) { .coin-head { grid-template-columns: minmax(0, 1fr) 320px; } }
.coin-figure { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.4rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: center; }
.coin-figure svg { width: 100%; filter: drop-shadow(0 6px 10px rgba(60, 45, 10, .16)); }
.coin-figure figcaption { grid-column: 1 / -1; font-size: .8rem; color: var(--muted); text-align: center; }
.coin-figure--single { grid-template-columns: 1fr; max-width: 240px; margin-inline: auto; }
.specs { display: grid; grid-template-columns: auto 1fr; gap: .45rem 1.1rem; font-size: .95rem; margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.25rem; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; color: var(--ink); font-weight: 500; }
.keyfacts { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.2rem 0; padding: 0; list-style: none; }
.keyfacts li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: .65rem .95rem; margin: 0; min-width: 140px; }
.keyfacts b { display: block; font: 700 1.25rem/1.2 var(--serif); color: var(--ink); }
.keyfacts span { font-size: .82rem; color: var(--muted); }
.layout { display: grid; gap: 2.5rem; padding-bottom: 3rem; }
.layout { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 980px) { .layout { grid-template-columns: minmax(0, 1fr) 300px; } }
.aside > * + *, .aside .sticky > * + * { margin-top: 1.25rem; }
.aside .sticky { position: sticky; top: 84px; }
.prose > * + h2 { margin-top: 2.2rem; }
.prose img { border-radius: var(--radius); }

/* ---------- Table ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); margin: 1rem 0 1.5rem; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: .6rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--soft); color: var(--ink); font-weight: 600; font-size: .85rem; white-space: nowrap; position: sticky; top: 0; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #fdfaf2; }
tbody tr:target { background: var(--gold-100); }
td.num, th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
td.val { white-space: nowrap; font-variant-numeric: tabular-nums; }
tr.is-key td:first-child { font-weight: 700; }
td .sub { display: block; font-weight: 400; font-size: .82rem; color: var(--muted); white-space: normal; }
.table-note { font-size: .85rem; color: var(--muted); margin-top: -.75rem; }

/* ---------- Badges ---------- */
.badge { display: inline-block; font: 700 .72rem/1 var(--sans); letter-spacing: .04em; padding: .3rem .5rem; border-radius: 999px; white-space: nowrap; vertical-align: middle; }
.r-C { background: #eeebe3; color: #5c574b; }
.r-NC { background: var(--blue-100); color: var(--blue-600); }
.r-R { background: var(--gold-100); color: var(--gold-700); }
.r-R2 { background: #f6dcb6; color: #7a4a0c; }
.r-R3 { background: var(--red-100); color: var(--red-600); }
.r-R4 { background: #5b2020; color: #fff; }
.badge--myth { background: var(--red-100); color: var(--red-600); }
.badge--ok { background: var(--green-100); color: var(--green-700); }

/* ---------- Callouts ---------- */
.callout { border-radius: var(--radius); padding: 1.1rem 1.25rem; margin: 1.5rem 0; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--gold-500); }
.callout p:last-child, .callout ul:last-child { margin-bottom: 0; }
.callout--warn { border-left-color: var(--red-600); background: #fffaf9; }
.callout--ok { border-left-color: var(--green-600); background: #f8fcfa; }
.callout > strong:first-child { display: block; margin-bottom: .25rem; }

/* ---------- CTA box ---------- */
.cta-box { background: var(--green-800); color: #dce8e2; border-radius: var(--radius-lg); padding: 1.5rem; }
.cta-box h2, .cta-box h3 { color: #fff; margin-top: 0; }
.cta-box p { font-size: .97rem; }
.cta-box .btn { margin-top: .4rem; }
.cta-band { background: linear-gradient(135deg, var(--green-800), var(--green-600)); color: #dce8e2; border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.75rem); display: grid; gap: 1.25rem; align-items: center; margin: 2.5rem 0; }
@media (min-width: 800px) { .cta-band { grid-template-columns: 1fr auto; } }
.cta-band h2 { color: #fff; margin: 0 0 .35rem; font-size: clamp(1.35rem, 2.6vw, 1.8rem); }
.cta-band p { margin: 0; }

/* ---------- Steps ---------- */
.steps { counter-reset: s; list-style: none; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; margin: 0; }
.steps li::before { content: counter(s); display: inline-grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--gold-100); color: var(--gold-700); font: 700 1.05rem var(--serif); margin-bottom: .6rem; }
.steps h3 { margin: 0 0 .3rem; font-size: 1.1rem; }
.steps p { margin: 0; font-size: .96rem; }

/* ---------- FAQ ---------- */
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: .6rem; }
.faq summary { cursor: pointer; padding: 1rem 1.2rem; font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.4rem/1 var(--sans); color: var(--gold-600); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 1.2rem 1rem; }
.faq details > div p:last-child { margin-bottom: 0; }

/* ---------- Form ---------- */
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.25rem, 3vw, 2rem); box-shadow: var(--shadow); }
.form__row { display: grid; gap: 1rem; }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field { margin-bottom: 1rem; }
.field label, .field legend { display: block; font-weight: 600; color: var(--ink); font-size: .95rem; margin-bottom: .35rem; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input[type=text], .field input[type=email], .field input[type=tel], .field select, .field textarea, .calc input {
  width: 100%; font: 400 1rem var(--sans); padding: .75rem .9rem; border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm); background: #fff; color: var(--ink); }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .calc input:focus { border-color: var(--gold-500); outline: none; box-shadow: 0 0 0 3px rgba(184, 138, 42, .18); }
.field .is-invalid { border-color: var(--red-600); }
.field fieldset { border: 0; padding: 0; margin: 0; }
.choices { display: flex; flex-wrap: wrap; gap: .5rem; }
.choices label { font-weight: 500; display: inline-flex; align-items: center; gap: .45rem; border: 1.5px solid var(--line-strong); border-radius: 999px; padding: .45rem .9rem; margin: 0; cursor: pointer; font-size: .93rem; background: #fff; }
.choices input { accent-color: var(--green-700); }
.choices label:has(input:checked) { border-color: var(--green-700); background: var(--green-100); }
.dropzone { border: 2px dashed var(--line-strong); border-radius: var(--radius); padding: 1.25rem; text-align: center; background: var(--paper); cursor: pointer; }
.dropzone.is-over { border-color: var(--gold-500); background: var(--gold-100); }
.dropzone input { display: block; margin: .6rem auto 0; max-width: 100%; }
.dropzone p { margin: 0; font-size: .93rem; }
.thumbs { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; justify-content: center; }
.thumbs img { width: 72px; height: 72px; object-fit: cover; border-radius: var(--radius-sm); border: 1px solid var(--line); }
.check { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; margin-bottom: .65rem; }
.check input { margin-top: .3rem; accent-color: var(--green-700); flex: none; }
.form__hp { position: absolute; left: -5000px; }
.form__status { display: none; margin-top: 1rem; padding: .8rem 1rem; border-radius: var(--radius-sm); font-size: .95rem; }
.form__status--error { display: block; background: var(--red-100); color: var(--red-600); }
.form__small { font-size: .82rem; color: var(--muted); margin-top: .75rem; }

/* ---------- Calculator ---------- */
.calc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.35rem; }
.calc__grid { display: grid; gap: .9rem; }
@media (min-width: 640px) { .calc__grid { grid-template-columns: repeat(3, 1fr); } }
.calc label { font-size: .88rem; font-weight: 600; color: var(--ink); display: block; margin-bottom: .3rem; }
.calc__out { margin-top: 1rem; padding: 1rem 1.2rem; background: var(--gold-100); border-radius: var(--radius); display: flex; flex-wrap: wrap; gap: .4rem 2rem; align-items: baseline; }
.calc__out b { font: 700 1.8rem/1.1 var(--serif); color: var(--ink); }
.calc__out span { font-size: .88rem; color: var(--gold-700); }
.calc__note { font-size: .82rem; color: var(--muted); margin: .7rem 0 0; }

/* ---------- Ads (vuoti finché AdSense non è attivo) ---------- */
.ad-slot { margin: 2rem 0; min-height: 0; }
.ad-slot:empty { display: none; }

/* ---------- Sources ---------- */
.sources { font-size: .85rem; color: var(--muted); }
.sources ul { padding-left: 1.1rem; }
.sources a { color: var(--muted); word-break: break-word; }

/* ---------- Footer ---------- */
.site-footer { background: #1a1914; color: #bdb7a8; padding-block: 3rem 2rem; font-size: .93rem; margin-top: 2rem; }
.site-footer a { color: #e7dfc9; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer__grid { display: grid; gap: 2rem; }
@media (min-width: 800px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: .75rem; }
.site-footer ul { list-style: none; padding: 0; }
.site-footer .logo { color: #fff; margin-bottom: .75rem; }
.footer__legal { border-top: 1px solid #333026; margin-top: 2rem; padding-top: 1.25rem; font-size: .82rem; color: #8f8979; }

/* ---------- Cookie banner ---------- */
.cookie { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; max-width: 560px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 18px 48px rgba(0, 0, 0, .18); padding: 1rem 1.2rem; z-index: 90; font-size: .9rem; display: none; }
.cookie.is-visible { display: block; }
.cookie p { margin-bottom: .75rem; }
.cookie__btns { display: flex; gap: .5rem; flex-wrap: wrap; }

/* ---------- Misc ---------- */
.pill-list { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; padding: 0; }
.pill-list li { margin: 0; }
.pill-list a { display: inline-block; padding: .4rem .85rem; border: 1px solid var(--line-strong); border-radius: 999px; background: #fff; color: var(--ink); text-decoration: none; font-size: .92rem; }
.pill-list a:hover { border-color: var(--gold-500); background: var(--gold-100); }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem; font-size: .93rem; }
.toc h4 { font-size: .95rem; margin-bottom: .5rem; }
.toc ol { margin: 0; }
.updated { font-size: .85rem; color: var(--muted); }
.two-col { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 860px) { .two-col { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.error-page { text-align: center; padding-block: 5rem; }
.error-page svg { width: 140px; margin: 0 auto 1.5rem; }
