:root {
  --bg: #0e1113;
  --surface: #161b1f;
  --surface-2: #1d2429;
  --line: #2a333a;
  --text: #e7ebee;
  --muted: #9aa6af;
  --accent: #2ccfbf;
  --accent-ink: #04201c;
  --ok: #7fc48a;
  --bad: #e5675b;
  --radius: 10px;
  --wrap: 1200px;
  --prose: 760px;
  --font: 'Barlow', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: 'Barlow Condensed', 'Barlow', system-ui, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.65 var(--font); }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 6px 10px; z-index: 10; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- header ---------- */
.site-header { border-bottom: 1px solid var(--line); background: rgba(14, 17, 19, .92); backdrop-filter: blur(8px); position: sticky; top: 0; z-index: 5; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 64px; flex-wrap: wrap; }
.logo { color: var(--text); font: 800 24px/1 var(--display); letter-spacing: .02em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.logo-mark { color: var(--accent); }
.site-header nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; flex-wrap: wrap; }
.site-header nav a { display: block; color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 600; padding: 7px 12px; border-radius: 8px; }
.site-header nav a:hover { color: var(--text); background: var(--surface); }
.site-header nav a[aria-current="page"] { color: var(--text); background: var(--surface-2); }
@media (max-width: 760px) {
  .header-inner { padding-block: 10px; gap: 6px; }
  .site-header { position: static; }
  .site-header nav a { padding: 5px 9px; font-size: 14px; }
}

/* ---------- page hero band ---------- */
.page-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background: radial-gradient(900px 400px at 85% 0%, rgba(44, 207, 191, .10), transparent 70%); }
.page-hero .hero-inner { position: relative; z-index: 1; padding-block: 28px 36px; }
.page-hero .hero-inner > *:not(.crumbs) { max-width: 700px; }
.page-hero figure.hero { position: absolute; inset: 0 0 0 auto; width: 58%; margin: 0; z-index: 0; }
.page-hero figure.hero img { width: 100%; height: 100%; object-fit: cover; border: 0; border-radius: 0; opacity: .55;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 45%); mask-image: linear-gradient(to right, transparent 0%, #000 45%); }
@media (max-width: 860px) {
  .page-hero figure.hero { width: 100%; }
  .page-hero figure.hero img { opacity: .22; -webkit-mask-image: none; mask-image: none; }
}
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.crumbs a { color: var(--muted); }
.badge-stat { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; background: rgba(22, 27, 31, .85); font-size: 13px; font-weight: 600; color: var(--text); }
.badge-stat .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(127, 196, 138, .2); }

/* ---------- type ---------- */
h1, h2 { font-family: var(--display); text-transform: uppercase; letter-spacing: .01em; }
h1 { font-size: clamp(36px, 6.5vw, 60px); font-weight: 800; line-height: 1.02; margin: 0 0 16px; text-shadow: 0 2px 18px rgba(0, 0, 0, .5); }
h2 { font-size: clamp(26px, 4vw, 34px); font-weight: 800; line-height: 1.1; margin: 48px 0 14px; }
h3 { font-size: 19px; font-weight: 700; margin: 26px 0 6px; }
.lede { font-size: 19px; line-height: 1.6; color: var(--text); margin: 0 0 10px; }
.meta { font-size: 14px; color: var(--muted); margin: 0; }
.meta a { color: var(--muted); }
p, ul, ol { margin: 0 0 16px; }
li { margin-bottom: 6px; }
code { background: var(--surface-2); padding: 1px 6px; border-radius: 5px; font-size: .92em; }
strong { color: #fff; font-weight: 700; }

/* Prose stays at reading width; data (tables, cards, tools, charts) uses the full width. */
main article { padding-block: 8px 64px; }
article > :is(p, ul, ol, h2, h3, aside, details, .toc, .cta-wrap, figure.figure) { max-width: var(--prose); }
article > h2:first-of-type { margin-top: 36px; }

.toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; margin: 28px 0 8px; }
.toc p { margin: 0 0 6px; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.toc ul { margin: 0; padding-left: 18px; }

.callout { background: var(--surface); border-left: 4px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0; padding: 14px 18px; margin: 0 0 20px; }
.callout p { margin: 0; }
.note { color: var(--muted); font-style: italic; }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; margin: 0 0 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
caption { text-align: left; padding: 10px 14px; color: var(--muted); font-size: 13px; caption-side: bottom; border-top: 1px solid var(--line); }
th, td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; vertical-align: middle; }
th { background: var(--surface-2); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: rgba(255, 255, 255, .02); }
table:not(.prices) th, table:not(.prices) td { white-space: normal; min-width: 6.5em; vertical-align: top; }
td:first-child { font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { th, td { padding: 9px 10px; font-size: 14px; } }

/* Values-style price table */
.data-table { margin: 0 0 24px; }
.table-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 0 0 10px; }
.table-bar .stat { margin: 0; font-size: 14px; color: var(--muted); }
.cur { display: inline-flex; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; }
.cur button { font: 600 14px/1 var(--font); background: var(--surface); color: var(--muted); border: 0; padding: 8px 12px; cursor: pointer; }
.cur button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
table.prices td { font-variant-numeric: tabular-nums; }
table.prices .item { display: inline-flex; align-items: center; gap: 12px; }
.row-icon { width: 40px; height: 40px; border-radius: 8px; background: var(--surface-2); flex: none; object-fit: cover; }
.row-icon.ph { display: inline-block; }
.money.muted { color: var(--muted); }
.money.strong { color: #fff; font-weight: 700; font-size: 16px; }
.sub { display: block; font-size: 12px; color: var(--muted); }
tr.is-best { background: rgba(44, 207, 191, .06); }
tr.is-best td:first-child { box-shadow: inset 3px 0 0 var(--accent); }
.pill { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 1.6; }
.pill-ok { background: rgba(127, 196, 138, .14); color: var(--ok); }
.pill-accent { background: rgba(44, 207, 191, .16); color: var(--accent); margin-left: 6px; }
.pill-muted { background: var(--surface-2); color: var(--muted); font-weight: 600; }
.trend { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; }
.trend svg polyline { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.trend.up { color: var(--ok); } .trend.up polyline { stroke: var(--ok); }
.trend.down { color: var(--bad); } .trend.down polyline { stroke: var(--bad); }
.trend.flat { color: var(--muted); } .trend.flat polyline { stroke: var(--muted); }
.btn-buy { display: inline-block; background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: 14px; padding: 8px 16px; border-radius: 8px; text-decoration: none; }
.btn-buy:hover { filter: brightness(1.08); }
th[data-sort] { cursor: pointer; user-select: none; }
th[data-sort]::after { content: " \2195"; opacity: .45; }
th[aria-sort="ascending"]::after { content: " \2191"; opacity: 1; color: var(--accent); }
th[aria-sort="descending"]::after { content: " \2193"; opacity: 1; color: var(--accent); }

/* ---------- CTA, cards ---------- */
.cta-wrap { margin: 20px 0 28px; }
.cta { display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: var(--accent-ink); font-weight: 800; padding: 13px 22px; border-radius: var(--radius); text-decoration: none; }
.cta:hover { filter: brightness(1.08); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin: 0 0 24px; }
.card { display: flex; flex-direction: column; gap: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; text-decoration: none; color: var(--text); transition: border-color .15s, transform .15s; }
.card:hover { border-color: var(--accent); transform: translateY(-1px); }
.card-title { font: 800 21px/1.15 var(--display); text-transform: uppercase; color: var(--text); }
.card-text { font-size: 15px; color: var(--muted); }

/* ---------- FAQ ---------- */
details.faq { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); margin: 0 0 10px; }
details.faq summary { cursor: pointer; list-style: none; padding: 13px 16px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary h3 { display: inline; font-size: 17px; margin: 0; }
details.faq summary::after { content: "+"; float: right; color: var(--accent); font-weight: 800; }
details.faq[open] summary::after { content: "\2212"; }
details.faq > p { padding: 0 16px 14px; margin: 0; color: var(--text); }

/* ---------- tool ---------- */
.tool { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin: 24px 0; max-width: 900px; }
.tool-form label { display: block; font-weight: 700; margin-bottom: 8px; }
.tool-row { display: flex; gap: 8px; }
.tool-row input { flex: 1; min-width: 0; font: inherit; padding: 11px 12px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg); color: var(--text); }
.tool-row button, .tool-presets button { font: inherit; cursor: pointer; border-radius: var(--radius); }
.tool-row button { background: var(--accent); color: var(--accent-ink); font-weight: 800; border: 0; padding: 0 18px; }
.tool-presets { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; }
.tool-presets button { background: var(--surface-2); color: var(--text); border: 1px solid var(--line); padding: 5px 12px; font-size: 14px; }
.tool-out { margin-top: 16px; }
.tool-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.tool-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; background: var(--bg); }
.tool-card.best { border-color: var(--accent); }
.tool-card p { margin: 0 0 6px; }
.tool-label { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.tool-big { font: 800 34px/1.1 var(--display); color: #fff; }
.tool-save { font-weight: 700; color: var(--ok); margin: 14px 0 0; }

/* ---------- figures, charts ---------- */
figure { margin: 0 0 24px; }
figure img { display: block; width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
figure img[src$=".svg"] { max-width: 460px; margin-inline: auto; border: 0; }
figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }
.chart svg { width: 100%; height: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.chart .grid { stroke: var(--line); stroke-width: 1; }
.chart .axis { fill: var(--muted); font: 12px var(--font); }
.chart .line { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linejoin: round; }
.chart .dot { fill: var(--accent); }
.chart details { margin-top: 8px; font-size: 14px; }
.chart summary { cursor: pointer; color: var(--muted); }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--surface); padding: 36px 0 44px; }
.sponsor { margin-bottom: 18px; max-width: var(--prose); }
.sponsor-heading { font: 800 22px/1.1 var(--display); text-transform: uppercase; color: var(--accent); margin: 0 0 6px; }
.sponsor p:last-child { margin: 0; color: var(--text); }
.footer-links { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 14px; }
.footer-links a { color: var(--muted); font-size: 14px; }
.fine { font-size: 13px; color: var(--muted); margin: 0 0 6px; }

/* ===================== wartycoon-style components (2026-11-08) ===================== */

/* ---------- logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-emblem { width: 44px; height: 44px; border-radius: 50%; flex: none; }
.logo-words { display: inline-flex; flex-direction: column; line-height: .92; }
.logo-top { font: 800 23px/0.95 var(--display); text-transform: uppercase; letter-spacing: .01em; color: var(--text); }
.logo-bottom { display: inline-flex; align-items: center; gap: 6px; font: 800 17px/1 var(--display); text-transform: uppercase; letter-spacing: .28em; color: var(--accent); }
.logo-bottom::before, .logo-bottom::after { content: ""; height: 2px; width: 14px; background: var(--accent); border-radius: 2px; }
.logo-bottom::after { margin-left: -4px; }

/* ---------- segmented controls (header toggles, tabs) ---------- */
.header-tools { display: flex; gap: 8px; align-items: center; }
.seg { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.seg button { font: 600 15px/1 var(--font); color: var(--muted); background: transparent; border: 0; border-radius: 8px; padding: 9px 14px; cursor: pointer; }
.seg button:hover { color: var(--text); }
.seg button[aria-pressed="true"], .seg button[aria-selected="true"] { background: var(--surface-2); color: var(--text); box-shadow: 0 1px 0 rgba(255,255,255,.04) inset; }
.seg-sm button { padding: 7px 10px; font-size: 15px; min-width: 34px; }
.cur.seg button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
@media (max-width: 760px) { .header-tools { order: 3; } }

/* ---------- home top ---------- */
.home-top { padding-top: 22px; padding-bottom: 8px; }
.banner { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); aspect-ratio: 1440 / 600; max-height: 420px; width: 100%; }
.banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.banner::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(0,0,0,.35), transparent 60%), linear-gradient(to top, rgba(14,17,19,.55), transparent 45%); }
.banner-title { position: absolute; inset: 0; z-index: 1; margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; font-family: var(--display); font-weight: 800; text-transform: uppercase; line-height: .9; color: #fff; text-shadow: 0 4px 24px rgba(0,0,0,.7); }
.banner-title span { font-size: clamp(40px, 8vw, 92px); letter-spacing: .01em; }
.banner-title .accent { font-size: clamp(30px, 5.5vw, 62px); letter-spacing: .3em; color: var(--accent); margin-top: 6px; }
.banner-badge { display: table; margin: -18px 16px 0 auto; position: relative; z-index: 2; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); font-size: 13px; font-weight: 700; }
.home-h1 { font-size: clamp(30px, 4.5vw, 44px); margin: 18px 0 10px; text-shadow: none; }
.intro { max-width: 820px; margin-bottom: 26px; }
.intro .lede { margin-bottom: 6px; }
details.more summary { display: inline; cursor: pointer; color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; list-style: none; }
details.more summary::-webkit-details-marker { display: none; }
details.more[open] summary { display: none; }
details.more p { margin: 6px 0 0; color: var(--text); }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 22px; }
.btn { display: inline-flex; align-items: center; justify-content: center; font: 700 16px/1 var(--font); padding: 14px 22px; border-radius: 10px; text-decoration: none; border: 1px solid transparent; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { border-color: var(--accent); color: var(--text); background: transparent; }
.btn-ghost:hover { background: rgba(44, 207, 191,.08); }
.btn-sm { padding: 11px 18px; font-size: 15px; }

.stat-boxes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; max-width: 920px; }
.stat-box { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.stat-box p { margin: 0; }
.stat-v { font-weight: 700; font-size: 18px; color: var(--text); }
.stat-l { font-size: 13px; color: var(--muted); }
@media (max-width: 760px) { .stat-boxes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- offer cards ---------- */
.offers { margin: 4px 0 28px; }
.offers .tabs { margin-bottom: 18px; }
.offer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 980px) { .offer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .offer-grid { grid-template-columns: 1fr; } }
.offer { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; transition: border-color .15s, transform .15s; }
.offer:hover { border-color: rgba(44, 207, 191,.6); transform: translateY(-2px); }
.offer-tile { position: relative; display: grid; place-items: center; height: 116px; border-radius: 10px; background: radial-gradient(circle at 50% 40%, rgba(44, 207, 191,.16), transparent 65%), var(--surface-2); margin-bottom: 12px; overflow: hidden; }
.offer-tile img { width: 96px; height: 96px; border-radius: 10px; box-shadow: 0 6px 18px rgba(0,0,0,.45); }
.tile-label { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); font: 800 13px/1 var(--display); letter-spacing: .04em; color: #fff; background: rgba(14,17,19,.75); padding: 3px 8px; border-radius: 6px; }
.offer-title { font-size: 17px; margin: 0 0 12px; }
.offer-row { display: flex; align-items: baseline; flex-wrap: wrap; font-size: 13px; margin: 0 0 6px; }
.offer-row .ok { color: var(--ok); font-weight: 700; }
.offer-row .muted { color: var(--muted); }
.offer-row .right { margin-left: auto; }
.offer-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.offer-row + .offer-foot { margin-top: auto; }
.from { margin: 0; display: flex; align-items: baseline; gap: 8px; }
.from span:first-child { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.from .money { font: 800 22px/1 var(--display); color: var(--text); }

/* ---------- values table extras ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.chip { display: inline-flex; align-items: center; gap: 8px; font: 600 15px/1 var(--font); color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 9px 14px; cursor: pointer; }
.chip span { font-size: 12px; font-weight: 700; background: var(--surface-2); color: var(--muted); border-radius: 999px; padding: 2px 7px; }
.chip[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.chip[aria-pressed="true"] span { background: rgba(4, 32, 28,.18); color: var(--accent-ink); }
.chip:disabled { opacity: .5; cursor: not-allowed; }
.table-search { width: 100%; font: 400 15px var(--font); color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; margin: 0 0 14px; }
.table-search:focus { outline: none; border-color: var(--accent); }
.table-stat { margin: 0 0 10px; font-size: 14px; color: var(--muted); }
.pill-cat { background: transparent; border: 1px solid var(--line); color: var(--text); font-weight: 600; }
.pill-new { background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); letter-spacing: .06em; text-transform: uppercase; font-size: 11px; }
.trend svg .base { stroke: var(--line); stroke-width: 1; stroke-dasharray: 2 3; }
.row-icon { width: 44px; height: 44px; border: 1px solid var(--line); }

/* ---------- guide layout: article + sticky sidebar ---------- */
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
.page-grid > article.with-side { padding-block: 8px 64px; min-width: 0; }
.page-grid > article.with-side > :is(p, ul, ol, h2, h3, aside, details, .cta-wrap, figure.figure) { max-width: 780px; }
.side { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 16px; padding: 28px 0 48px; }
.side-box { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.side-h { margin: 0 0 10px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.toc-box ol { margin: 0; padding-left: 20px; }
.toc-box li { margin-bottom: 6px; font-size: 15px; }
.toc-box li::marker { color: var(--accent); font-weight: 700; }
.toc-box a { color: var(--text); text-decoration: none; }
.toc-box a:hover { color: var(--accent); }
.deal-box { background: radial-gradient(420px 200px at 100% 0%, rgba(44, 207, 191,.14), transparent 70%), var(--surface); border-color: rgba(44, 207, 191,.35); }
.side-k { margin: 0 0 4px; font-size: 13px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .06em; }
.side-big { margin: 0 0 8px; font: 800 30px/1.05 var(--display); text-transform: uppercase; color: var(--text); }
.side-note { margin: 0 0 14px; font-size: 14px; color: var(--muted); line-height: 1.5; }
.btn-block { display: flex; width: 100%; }
.side-link { display: block; margin-top: 10px; text-align: center; font-size: 14px; font-weight: 600; }
.side-list { list-style: none; margin: 0; padding: 0; }
.side-list li { margin: 0; border-top: 1px solid var(--line); }
.side-list li:first-child { border-top: 0; }
.side-list a { display: flex; flex-direction: column; gap: 2px; padding: 10px 0; text-decoration: none; color: var(--text); font-weight: 700; }
.side-list a:hover span:first-child { color: var(--accent); }
.side-list .muted { font-weight: 400; font-size: 13px; color: var(--muted); }
@media (max-width: 1080px) {
  .page-grid { grid-template-columns: 1fr; gap: 0; }
  .side { position: static; padding-top: 0; }
}

/* prose polish: orange bullets, roomier lists, boxed tables inside guides */
article ul li::marker { color: var(--accent); }
article ol li::marker { color: var(--accent); font-weight: 700; }
article li { padding-left: 2px; }

/* ---------- light theme ---------- */
:root[data-theme="light"] {
  --bg: #f6f4ef; --surface: #ffffff; --surface-2: #f0ece4; --line: #e2dbcf; --text: #1a1a1a; --muted: #6b6457;
  --accent: #0e8f83; --accent-ink: #ffffff; --ok: #2f8a43; --bad: #c8443a; color-scheme: light;
}
:root[data-theme="light"] .site-header { background: rgba(246,244,239,.92); }
:root[data-theme="light"] strong, :root[data-theme="light"] .money.strong, :root[data-theme="light"] .tool-big { color: #111; }
:root[data-theme="light"] h1 { text-shadow: none; }
:root[data-theme="light"] .page-hero figure.hero img { opacity: .35; }
:root[data-theme="light"] .tile-label { background: rgba(0,0,0,.7); }
