/* StackAutonomo — rediseño v2 (revista clara) */
:root {
  --paper: #f3f4ef;
  --paper-2: #e7eadf;
  --ink: #14180f;
  --ink-2: #3a4134;
  --ink-3: #596152;
  --line: #cdd2c2;
  --line-strong: #14180f;
  --lime: #b8e03a;
  --olive: #4a6600;
  --warn: #8a4f00;
  --dark: #14180f;
  --dark-fg: #dfe5d6;
  --dark-muted: #aab4a0;
  --wrap: 1240px;
  --header-h: 56px;
  --f-display: "Frank Ruhl Libre", Georgia, serif;
  --f-body: "Archivo", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, monospace;
  --f-hand: "Kalam", cursive;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-2);
  font: 400 17px/1.6 var(--f-body);
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--ink); text-decoration-color: var(--olive); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--olive); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 60;
  background: rgba(20, 24, 15, .08);
}
.progress span {
  display: block; height: 100%; width: 100%; background: var(--lime);
  transform-origin: 0 50%; transform: scaleX(var(--p, 0));
}

.mast {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.mast__top {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 8px 20px; padding: 10px 0; border-bottom: 1px solid var(--line);
  font-size: 12px; font-weight: 700; font-stretch: 80%; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-3);
}
.mast__top nav { display: flex; gap: 18px; }
.mast__top a { text-decoration: none; color: var(--ink-2); }
.mast__brand {
  padding: 22px 0 18px; border-bottom: 4px double var(--ink);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 8px 24px;
}
.brand {
  font-family: var(--f-display); font-weight: 900;
  font-size: clamp(40px, 7vw, 76px); line-height: .9; letter-spacing: -.03em;
  color: var(--ink); text-decoration: none;
}
.brand mark {
  background: linear-gradient(transparent 58%, var(--lime) 58%, var(--lime) 92%, transparent 92%);
  color: inherit;
}
.brand-tag { font-family: var(--f-hand); font-size: 20px; line-height: 1.2; color: var(--olive); }

.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: var(--paper); border-bottom: 1px solid var(--ink);
}
.site-header .wrap {
  height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.site-header .brand { font-size: 23px; letter-spacing: -.02em; }
.site-header .brand mark {
  background: linear-gradient(transparent 55%, var(--lime) 55%, var(--lime) 92%, transparent 92%);
}
.nav { display: flex; align-items: center; gap: 22px; font-size: 15px; font-weight: 700; }
.nav a { text-decoration: none; color: var(--ink-2); }
.nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -3px 0 var(--lime); }
.lang {
  font-family: var(--f-mono); font-size: 13px; letter-spacing: 0;
  border: 1px solid var(--ink); padding: 4px 7px; text-decoration: none; color: var(--ink);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; font: 800 16px/1 var(--f-body);
  text-decoration: none; border: 2px solid var(--ink); cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.btn--primary { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.btn--primary:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn--ink { background: var(--lime); color: var(--ink); border-color: var(--ink); }
.btn--ink:hover { background: var(--ink); color: var(--lime); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--lime); }
.btn--dark { background: var(--ink); color: var(--lime); border-color: var(--ink); }
.btn--dark:hover { color: #fff; }
.link-strong { font-weight: 700; text-decoration: underline; text-decoration-color: var(--lime); color: inherit; }
.link-strong:hover { color: var(--lime); }

.eyebrow {
  font-size: 13px; font-weight: 800; font-stretch: 80%;
  letter-spacing: .1em; text-transform: uppercase; color: var(--olive);
}
.eyebrow--lime { color: var(--lime); }

.hero-block {
  background: var(--dark); color: var(--dark-fg);
  display: flex; flex-wrap: wrap; margin-top: 28px;
}
.hero-block__copy {
  flex: 1 1 440px; min-width: 0; padding: clamp(28px, 5vw, 56px);
  display: grid; gap: 20px; align-content: center;
}
.hero-block h1 {
  margin: 0; font-family: var(--f-display); font-weight: 900;
  font-size: clamp(40px, 5.6vw, 70px); line-height: .98; letter-spacing: -.025em;
  color: #fff; text-wrap: balance;
}
.hero-block p { margin: 0; max-width: 32em; font-size: 19px; line-height: 1.55; }
.hero-block__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 6px; }
.hero-block__media { flex: 1 1 380px; min-width: 0; min-height: 320px; margin: 0; }
.hero-block__media img { width: 100%; height: 100%; object-fit: cover; }

.proof-bar {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--ink);
}
.proof-bar li { padding: 14px 16px 14px 0; font-size: 15px; color: var(--ink); }
.proof-bar strong { font-family: var(--f-mono); color: var(--olive); margin-right: 6px; }

.section { padding: 64px 0; }
.section-head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end;
  gap: 12px 24px; margin-bottom: 28px;
}
.section-head h2 {
  margin: 0; font-family: var(--f-display); font-weight: 700;
  font-size: clamp(28px, 3.4vw, 38px); line-height: 1.08; letter-spacing: -.015em; color: var(--ink);
}
.section-head p { margin: 0; color: var(--ink-3); }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 40px 28px;
}
.card {
  display: flex; flex-direction: column; gap: 12px; height: 100%;
  padding-top: 14px; border-top: 2px solid var(--ink);
  color: var(--ink); text-decoration: none;
}
.card__meta {
  display: flex; justify-content: space-between; gap: 12px;
  font-size: 13px; font-weight: 700; font-stretch: 80%; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink-3);
}
.card__meta .tag { color: var(--olive); }
.card__meta .time { font-family: var(--f-mono); font-weight: 500; letter-spacing: 0; text-transform: none; }
.card__media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--paper-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.card h3 {
  margin: 4px 0 0; font-family: var(--f-display); font-weight: 700;
  font-size: 25px; line-height: 1.12; letter-spacing: -.01em; color: var(--ink); text-wrap: balance;
}
.card p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.card__cta { margin-top: auto; padding-top: 6px; font-size: 15px; font-weight: 800; color: var(--ink); }
.card__cta em {
  font-style: normal;
  background: linear-gradient(transparent 60%, var(--lime) 60%);
}
.card:hover .card__media img { transform: scale(1.02); }
.card:hover h3 { text-decoration: underline; text-decoration-color: var(--lime); }

.tool-band {
  display: flex; flex-wrap: wrap; border: 2px solid var(--ink); background: #fff;
}
.tool-band__copy { flex: 1 1 420px; padding: 28px; display: grid; gap: 12px; align-content: center; }
.tool-band__copy h2 {
  margin: 0; font-family: var(--f-display); font-weight: 700; font-size: 28px; line-height: 1.1; color: var(--ink);
}
.tool-band__actions {
  flex: 1 1 300px; padding: 28px; background: var(--paper-2);
  display: grid; gap: 10px; align-content: center;
}
.tool-band__actions a {
  display: flex; justify-content: space-between; align-items: center;
  min-height: 52px; padding: 0 18px; border: 2px solid var(--ink);
  font-size: 16px; font-weight: 800; text-decoration: none; color: var(--ink);
}
.tool-band__actions a.primary { background: var(--lime); }
.tool-band__actions a:hover { background: var(--ink); color: var(--lime); }

.nl-band { background: var(--dark); color: var(--dark-fg); }
.nl-band .wrap {
  padding: 56px 24px; display: flex; flex-wrap: wrap;
  justify-content: space-between; align-items: center; gap: 28px 48px;
}
.nl-band h2 {
  margin: 0; font-family: var(--f-display); font-weight: 900;
  font-size: clamp(28px, 3.6vw, 42px); line-height: 1.04; color: #fff; text-wrap: balance;
}
.nl-note { margin: 8px 0 0; font-size: 15px; color: var(--dark-muted); max-width: 36em; }

.site-footer {
  padding: 24px 24px 40px; display: flex; flex-wrap: wrap;
  justify-content: space-between; gap: 12px; font-size: 13px; color: var(--ink-3);
  max-width: var(--wrap); margin: 0 auto;
}
.site-footer a { color: var(--ink-3); }

.article-hero { background: var(--dark); color: var(--dark-fg); }
.article-hero .wrap {
  padding: 48px 24px 0; display: flex; flex-wrap: wrap; gap: 40px 56px; align-items: center;
}
.article-hero__copy { flex: 1 1 440px; min-width: 0; }
.article-hero__meta {
  display: flex; flex-wrap: wrap; gap: 6px 16px;
  font-size: 13px; font-weight: 700; font-stretch: 80%; letter-spacing: .1em;
  text-transform: uppercase; color: var(--dark-muted);
}
.article-hero__meta .tag { color: var(--lime); }
.article-hero h1 {
  margin: 18px 0; font-family: var(--f-display); font-weight: 900;
  font-size: clamp(40px, 6vw, 72px); line-height: .98; letter-spacing: -.025em;
  color: #fff; text-wrap: balance;
}
.article-hero .dek {
  margin: 0 0 28px; max-width: 30em; font-family: var(--f-display); font-weight: 500;
  font-size: 22px; line-height: 1.4; color: var(--dark-fg); text-wrap: pretty;
}
.article-hero__actions { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; margin-bottom: 32px; }
.article-hero__media { flex: 1 1 420px; min-width: 0; margin: 0; }
.article-hero__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.verdict-panel { max-width: var(--wrap); margin: 0 auto; padding: 40px 24px 44px; }
.verdict-panel__label {
  display: flex; align-items: baseline; justify-content: space-between;
  padding-bottom: 12px; border-bottom: 1px solid #3a4630;
  font-size: 13px; font-weight: 800; font-stretch: 80%; letter-spacing: .1em;
  text-transform: uppercase; color: var(--lime);
}
.verdict-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.verdict-card {
  padding: 18px 20px 4px 0; border-bottom: 1px solid #3a4630; display: grid; gap: 6px;
}
.verdict-card .who { font-size: 14px; font-weight: 700; color: var(--dark-muted); }
.verdict-card .what {
  font-family: var(--f-display); font-weight: 700; font-size: 22px; line-height: 1.15; color: #fff;
}
.verdict-card .price { font-family: var(--f-mono); font-size: 14px; color: var(--lime); }
.verdict-card a {
  padding: 6px 0 12px; font-size: 15px; font-weight: 700;
  color: var(--dark-fg); text-decoration: none;
}
.verdict-card a:hover { color: var(--lime); }

.series-bar { border-bottom: 1px solid var(--line); }
.series-bar .wrap {
  padding: 14px 24px; display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between; gap: 12px 24px;
}
.series-bar ol {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px;
  margin: 0; padding: 0; list-style: none; font-size: 14px; font-weight: 700;
}
.series-bar .label {
  font-size: 12px; font-stretch: 80%; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3);
}
.series-bar .step {
  display: flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none;
}
.series-bar .step span {
  display: grid; place-items: center; width: 22px; height: 22px;
  font-family: var(--f-mono); font-size: 12px; border: 1px solid var(--ink);
}
.series-bar .step.is-current span { background: var(--ink); color: var(--lime); border-color: var(--ink); }
.disclosure-inline {
  margin: 0; max-width: 46em; font-size: 13px; line-height: 1.45; color: var(--ink-3);
}
.disclosure-inline strong { color: var(--ink); }

.article-layout {
  max-width: var(--wrap); margin: 0 auto; padding: 56px 24px 96px;
  display: flex; gap: 56px; align-items: flex-start;
}
.article {
  flex: 1 1 auto; min-width: 0; max-width: 700px;
  font-size: 18px; line-height: 1.72; color: var(--ink-2);
}
.article > * + * { margin-top: 1.1em; }
.article .lead {
  margin: 0; font-size: 21px; line-height: 1.6; color: var(--ink); text-wrap: pretty;
}
.article .drop {
  float: left; font-family: var(--f-display); font-weight: 900;
  font-size: 74px; line-height: .8; margin: 8px 10px 0 0; color: var(--ink);
}
.article h2 {
  margin: 64px 0 0; padding-top: 14px; border-top: 4px double var(--ink);
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(28px, 3.4vw, 36px); line-height: 1.08; letter-spacing: -.015em; color: var(--ink);
}
.article h2 .num {
  display: block; margin-bottom: 10px; font-family: var(--f-body);
  font-size: 13px; font-weight: 800; font-stretch: 80%; letter-spacing: .1em;
  text-transform: uppercase; color: var(--olive);
}
.article h3 {
  margin: 0; font-family: var(--f-display); font-weight: 700;
  font-size: 26px; line-height: 1.12; color: var(--ink);
}
.article ul.ticks { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.article ul.ticks li { display: flex; gap: 14px; }
.article ul.ticks li::before {
  content: ""; flex: none; margin-top: .62em; width: 8px; height: 8px; background: var(--ink);
}
.mark { background: linear-gradient(transparent 60%, var(--lime) 60%); font-style: normal; font-weight: 700; color: var(--ink); }
.callout {
  margin: 28px 0 0; padding: 18px 20px; background: var(--paper-2);
  border-left: 6px solid var(--ink); color: var(--ink);
}
.callout__label {
  display: block; margin-bottom: 4px; font-size: 12px; font-weight: 800;
  font-stretch: 80%; letter-spacing: .1em; text-transform: uppercase;
}
.hand-note {
  float: right; width: 140px; margin: 22px 0 12px 18px;
  font-family: var(--f-hand); font-size: 19px; line-height: 1.25; color: var(--olive);
  transform: rotate(-2deg);
}

.panel { margin: 48px 0 0; border: 2px solid var(--ink); background: #fff; }
.panel__head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 8px 16px; padding: 14px 20px; background: var(--ink); color: var(--dark-fg);
}
.panel__head h2 { margin: 0; border: 0; padding: 0; font-size: 22px; color: #fff; }
.panel__body { padding: 8px 20px 20px; }
.quiz-q { margin: 0; padding: 16px 0 4px; border: 0; border-bottom: 1px solid var(--line); }
.quiz-q legend {
  float: left; width: 100%; padding: 0 0 10px; font-size: 16px; font-weight: 800; color: var(--ink);
}
.quiz-q legend .n { font-family: var(--f-mono); font-weight: 500; color: var(--olive); margin-right: 8px; }
.quiz-opts { clear: both; display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 12px; }
.quiz-opts button {
  min-height: 44px; padding: 0 14px; border: 1.5px solid var(--ink);
  background: #fff; color: var(--ink); font: 700 15px/1 var(--f-body); cursor: pointer; text-align: left;
}
.quiz-opts button[aria-pressed="true"] { background: var(--ink); color: var(--lime); }
.quiz-result {
  margin-top: 20px; padding: 20px; background: var(--paper-2);
  border-left: 6px solid var(--lime); display: none; gap: 10px;
}
.quiz-result.is-on { display: grid; }
.quiz-result .name {
  font-family: var(--f-display); font-weight: 900; font-size: 30px; line-height: 1.05; color: var(--ink);
}

.calc { margin-top: 20px; border: 2px solid var(--ink); background: #fff; display: flex; flex-wrap: wrap; }
.calc__inputs {
  flex: 1 1 280px; padding: 20px; display: grid; gap: 16px; align-content: start;
  border-right: 1px solid var(--line);
}
.calc__inputs label { display: grid; gap: 6px; font-size: 14px; font-weight: 700; color: var(--ink); }
.calc__inputs input[type="number"],
.calc__inputs input[type="range"] {
  min-height: 44px; padding: 0 12px; border: 1.5px solid var(--ink);
  background: var(--paper); font-family: var(--f-mono); font-size: 17px; color: var(--ink);
}
.calc__inputs input[type="range"] { padding: 0; accent-color: var(--ink); min-height: auto; }
.seg { display: flex; gap: 6px; }
.seg button {
  flex: 1; min-height: 40px; border: 1.5px solid var(--ink); background: #fff;
  font-family: var(--f-mono); font-size: 14px; cursor: pointer; color: var(--ink);
}
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--lime); }
.calc__out { flex: 1 1 280px; padding: 20px; display: grid; gap: 14px; align-content: start; }
.calc-bar { display: grid; grid-template-columns: 64px 1fr auto; gap: 10px; align-items: center; font-size: 14px; }
.calc-bar .track { height: 18px; background: var(--paper-2); }
.calc-bar .fill { display: block; height: 100%; background: var(--ink); }
.calc-bar .fill.lime { background: var(--lime); }
.calc-total { font-family: var(--f-mono); font-weight: 600; font-size: 34px; line-height: 1.1; color: var(--ink); }

.table-wrap { margin-top: 20px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare {
  width: 100%; min-width: 640px; border-collapse: collapse; font-size: 16px; line-height: 1.45;
  border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
}
.compare th, .compare td { text-align: left; vertical-align: top; padding: 14px 12px; border-bottom: 1px solid var(--line); }
.compare thead th {
  padding: 10px 12px; font-size: 12px; font-weight: 800; font-stretch: 80%;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); border-bottom: 1px solid var(--ink);
}
.compare tbody th { color: var(--ink); font-weight: 800; }
.compare .price { font-family: var(--f-mono); font-size: 14px; color: var(--ink); }
.compare .warn { color: var(--warn); }
.compare .pick-label {
  display: block; margin-top: 4px; font-family: var(--f-hand); font-weight: 400; font-size: 16px; color: var(--olive);
}
.compare .is-pick { background: #f7f8f2; }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; }
.filters span { font-size: 13px; font-weight: 700; color: var(--ink-3); margin-right: 4px; }
.filters button {
  min-height: 36px; padding: 0 12px; border: 1.5px solid var(--ink);
  background: #fff; color: var(--ink); font: 700 14px/1 var(--f-body); cursor: pointer;
}
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--lime); }

.pick-row {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 14px 24px; padding: 22px 0; border-bottom: 1px solid var(--line);
}
.pick-row__who {
  font-size: 13px; font-weight: 800; font-stretch: 80%; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-3);
}
.pick-row__what {
  margin: 4px 0; font-family: var(--f-display); font-weight: 700; font-size: 25px; line-height: 1.15; color: var(--ink);
}

.cta-box {
  margin: 40px 0 0; display: flex; flex-wrap: wrap; border: 2px solid var(--ink); background: #fff;
}
.cta-box__copy { flex: 1 1 300px; padding: 24px; display: grid; gap: 12px; align-content: start; }
.cta-box__media { flex: 0 1 240px; min-height: 200px; background: var(--ink); }
.cta-box__media img { width: 100%; height: 100%; object-fit: cover; }
.cta-box__fine { font-size: 13px; color: var(--ink-3); }
.cta-box__actions { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; }

.checklist { margin: 16px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.checklist label {
  display: flex; gap: 14px; align-items: flex-start; min-height: 48px;
  padding: 12px 0; border-bottom: 1px solid var(--line); cursor: pointer;
}
.checklist input { flex: none; width: 22px; height: 22px; margin: 3px 0 0; accent-color: var(--ink); }
.checklist input:checked + span { color: var(--ink-3); text-decoration: line-through; }

.toc {
  flex: 0 0 230px; position: sticky; top: 84px; font-size: 15px; align-self: start;
}
.toc__head {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-bottom: 8px; border-bottom: 2px solid var(--ink);
}
.toc__title {
  font-size: 12px; font-weight: 800; font-stretch: 80%; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink);
}
.toc__time { font-family: var(--f-mono); font-size: 12px; color: var(--ink-3); }
.toc ol { margin: 0; padding: 0; list-style: none; }
.toc a {
  display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line);
  color: var(--ink-2); text-decoration: none; line-height: 1.3;
}
.toc a .n { flex: none; width: 20px; font-family: var(--f-mono); font-size: 12px; line-height: 1.6; color: var(--ink-3); }
.toc a[aria-current="true"] { color: var(--ink); font-weight: 800; }
.toc a[aria-current="true"] .n { color: var(--olive); }
.toc a[aria-current="true"] .lbl { background: linear-gradient(transparent 60%, var(--lime) 60%); }
.toc__cta {
  display: flex; align-items: center; justify-content: space-between; margin-top: 20px;
  min-height: 44px; padding: 0 14px; background: var(--ink); color: var(--lime);
  font-size: 14px; font-weight: 800; text-decoration: none;
}
.toc__cta:hover { color: #fff; }
.toc-mobile { display: none; margin: 32px 0 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
.toc-mobile summary {
  min-height: 48px; display: flex; align-items: center; justify-content: space-between;
  font-weight: 800; color: var(--ink); cursor: pointer; list-style: none;
}
.toc-mobile ol { margin: 0; padding: 0 0 8px; list-style: none; }
.toc-mobile a {
  display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line);
  color: var(--ink-2); text-decoration: none; font-size: 16px;
}

.sticky-cta {
  position: fixed; z-index: 45; right: 24px; bottom: 24px; width: 340px;
  padding: 16px; display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center;
  background: #fff; border: 2px solid var(--ink);
  transform: translateY(calc(100% + 32px)); opacity: 0;
  transition: transform .25s ease, opacity .25s ease;
}
.sticky-cta.is-visible { transform: none; opacity: 1; }
.sticky-cta__text { font-size: 14px; line-height: 1.35; color: var(--ink); font-weight: 700; }
.sticky-cta__text small { display: block; color: var(--ink-3); font-weight: 500; font-size: 12px; margin-top: 2px; }
.sticky-cta .btn { grid-column: 1 / -1; min-height: 44px; }
.sticky-cta__close {
  position: absolute; top: 4px; right: 4px; width: 36px; height: 36px;
  border: 0; background: none; color: var(--ink-3); font-size: 20px; cursor: pointer;
}

.end-band { background: var(--dark); color: var(--dark-fg); }
.end-band .wrap { padding: 64px 24px; display: flex; flex-wrap: wrap; gap: 48px; }
.next-reads { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 24px; }

@media (max-width: 1024px) {
  .toc { display: none; }
  .toc-mobile { display: block; }
  .article { max-width: none; }
  .hand-note { display: none; }
  .calc__inputs { border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 760px) {
  .mast__brand .brand-tag { display: none; }
  .nav a:not(.lang):not([aria-current]) { display: none; }
  .hero-block__actions .btn--primary { width: 100%; }
  .article-hero__actions .btn--primary,
  .cta-box .btn--primary,
  .pick-row .btn { width: 100%; }
  .sticky-cta {
    left: 0; right: 0; bottom: 0; width: auto; border-left: 0; border-right: 0; border-bottom: 0;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  }
  .sticky-cta__text small, .sticky-cta__close { display: none; }
  body.has-sticky { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .compare { min-width: 0; }
  .table-wrap { overflow: visible; }
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .compare tbody tr { display: block; border: 1px solid var(--ink); margin-bottom: 12px; background: #fff; }
  .compare tbody th, .compare tbody td { display: block; border-bottom: 1px solid var(--line); }
  .compare tbody td::before {
    content: attr(data-label); display: block; font-size: 11px; font-weight: 800;
    letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px;
  }
}
