/* Comparoto — Article page styles (specific only).
   Base reset + shared components come from base.css + components.css.
   This file must NOT redefine body/html/.btn/.container/.skip/.eyebrow. */

/* — Article shell — */
.shell { max-width: var(--shell); margin: 0 auto; padding: 0 24px; }

/* — Reading progress bar — */
.progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: var(--blue); z-index: 110; transition: width 0.08s linear;
}

/* — Article wrapper — */
.article {
  max-width: var(--maxw-prose);
  margin: 0 auto;
  padding: 36px 0 8px;
}

/* — Article reading text (17px for comfortable reading) — */
.article-content { font-size: 17px; }

/* — Breadcrumbs — */
.crumbs {
  display: flex; gap: 8px; align-items: center;
  font-size: 13.5px; color: var(--ink-muted); margin-bottom: 22px;
  font-weight: 500; flex-wrap: wrap;
}
.crumbs a { color: var(--ink-muted); }
.crumbs a:hover { color: var(--blue); text-decoration: none; }
.crumbs .sep { opacity: 0.5; }

/* — Article hero (category pill, h1, dek) — */
.eyebrow-pill { margin-bottom: 18px; }
.article h1 {
  font-size: clamp(32px, 4.4vw, 54px);
  max-width: 20ch; letter-spacing: -0.02em;
}
.dek {
  font-size: clamp(18px, 2vw, 22px); color: var(--ink-muted);
  max-width: 62ch; margin: 18px 0 0; font-weight: 400; line-height: 1.45;
}

/* — Article meta line (author, date, reading time) — */
.article-meta {
  display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center;
  margin-top: 26px; padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 14px; color: var(--ink-muted);
}
.article-meta .by {
  display: flex; align-items: center; gap: 10px;
  color: var(--ink); font-weight: 600;
}
.article-meta .avatar {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--ink); color: var(--bg);
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 13px;
  border: none; flex: none;
}
.article-meta .pipe { color: var(--border-strong); }

/* — Spotlight stage (hero image or placeholder) — */
.stage {
  margin: 42px 0; border: 1px solid var(--border);
  border-radius: var(--r-angle); overflow: hidden;
  background: var(--bg); position: relative;
}
.stage-floor {
  position: relative; aspect-ratio: 16/9; background: var(--surface);
  display: grid; place-items: center; overflow: hidden;
}
.stage-floor::after {
  content: ""; position: absolute; left: 50%; bottom: 0;
  width: 74%; height: 1px; transform: translateX(-50%);
  background: var(--border-strong);
}
.spot {
  position: absolute; width: 62%; aspect-ratio: 1; border-radius: 50%;
  background: var(--blue-tint); filter: blur(70px); opacity: 0.85; top: 8%;
}
.car-sil {
  position: relative; z-index: 1; width: 34%; max-width: 230px;
  color: var(--ink); opacity: 0.9;
}
.stage-chip {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.02em;
  color: var(--ink-muted);
  background: color-mix(in oklch, var(--bg) 80%, transparent);
  backdrop-filter: blur(6px); border: 1px solid var(--border);
  padding: 5px 10px; border-radius: var(--r-pill);
}
.stage figcaption, .figcap {
  font-size: 13px; color: var(--ink-muted);
  padding: 14px 18px; border-top: 1px solid var(--border); background: var(--bg);
}
.stage figcaption b, .figcap b { color: var(--ink); font-weight: 600; }
.stage.narrow { max-width: 760px; margin-inline: auto; }
.stage.square .stage-floor { aspect-ratio: 4/3; }

/* — Article body layout (TOC + content) — */
.body-col { margin: 14px auto 0; position: relative; max-width: var(--shell); }
.toc {
  position: sticky; top: 100px; align-self: start;
  max-height: calc(100vh - 120px); overflow-y: auto;
  width: 160px; float: left; margin-left: -200px;
  padding: 0 0 0 16px; border-left: 2px solid var(--border);
  background: none; border-radius: 0;
}
.toc[hidden] { display: none; }
.toc-label {
  display: block; font-size: 11px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-subtle); margin-bottom: 8px;
}
.toc-list { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.toc-list li { counter-increment: toc; margin-bottom: 5px; }
.toc-list li:last-child { margin-bottom: 0; }
.toc-list li::before {
  content: counter(toc, decimal-leading-zero);
  font-size: 11px; color: var(--ink-subtle);
  margin-right: 8px; font-variant-numeric: tabular-nums;
}
.toc-list a {
  font-size: 13px; color: var(--ink-muted); text-decoration: none;
  transition: color 0.14s; line-height: 1.4;
}
.toc-list a:hover { color: var(--blue); }
.toc-list a[aria-current="true"] { color: var(--blue); font-weight: 600; }
.article-content { min-width: 0; }
.article-content-wrap { margin-top: 30px; grid-column: 1/-1; }
.article-content a:not(.btn) {
  color: var(--blue); text-decoration: underline;
  text-decoration-color: color-mix(in oklch, var(--blue) 30%, transparent);
  text-underline-offset: 2px;
}

/* TOC tablet/mobile */
@media (max-width: 1280px) {
  .toc {
    float: none; margin-left: 0; width: auto; position: static;
    max-height: none; border-left: none;
    border-top: 1px solid var(--border); border-radius: 0;
    background: none; padding: 16px 0; margin-bottom: 24px;
  }
  .toc-label {
    display: inline; font-size: 11px; letter-spacing: 0.06em;
    text-transform: uppercase; color: var(--ink-subtle);
    font-weight: 600; margin-right: 10px;
  }
  .toc-list { display: inline; list-style: none; }
  .toc-list li { display: inline; counter-increment: none; }
  .toc-list li::before { content: none; }
  .toc-list li::after { content: " \00B7 "; color: var(--border); margin: 0 2px; }
  .toc-list li:last-child::after { content: ""; }
  .toc-list a { font-size: 13px; font-weight: 400; color: var(--ink-muted); }
  .toc-list a[aria-current="true"] { color: var(--blue); font-weight: 600; }
}

/* — Breakout blocks (grids wider than reading column) — */
.block { grid-column: 1/-1; margin: 54px 0; }
.block-head { max-width: 720px; margin: 0 auto 26px; }
.block-head h2 { font-size: clamp(24px, 2.6vw, 32px); margin: 0 0 12px; letter-spacing: -0.01em; }
.block-head p { font-size: 18px; line-height: 1.6; color: var(--ink-muted); margin: 0; }
.block .modes, .block .profiles, .block .pick-grid { margin: 0; }

/* — TL;DR takeaway — */
.takeaway {
  border: 1px solid var(--border); background: var(--surface);
  border-radius: var(--r-card); padding: 24px 26px; margin: 30px 0;
}
.takeaway-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--blue-ink); margin-bottom: 16px;
}
.takeaway-label svg { width: 15px; height: 15px; }
.takeaway ol { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.takeaway li {
  display: grid; grid-template-columns: 30px 1fr; gap: 14px;
  font-size: 16px; line-height: 1.55; color: var(--ink-muted);
}
.takeaway li .num {
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  width: 30px; height: 30px; border-radius: var(--r-pill);
  background: var(--blue-tint); color: var(--blue-ink);
  display: grid; place-items: center; font-variant-numeric: tabular-nums;
}
.takeaway li b { color: var(--ink); font-weight: 600; }

/* — Glossary — */
.glossary { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 22px 0; }
.term {
  border: 1px solid var(--border); border-radius: var(--r-angle);
  padding: 16px 18px; background: var(--bg);
}
.term .tname { display: flex; align-items: baseline; gap: 8px; margin-bottom: 5px; flex-wrap: wrap; }
.term .tname b { font-family: var(--font-display); font-weight: 700; font-size: 16px; letter-spacing: -0.01em; color: var(--ink); }
.term .tname .abbr { font-size: 10.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-muted); }
.term p { font-size: 13.5px; color: var(--ink-muted); margin: 0; line-height: 1.5; }
.term p b { color: var(--ink); font-weight: 600; }

/* — Modes comparison (Achat / LOA / LLD) — */
.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 22px 0; }
.mode {
  border: 1px solid var(--border); border-radius: var(--r-card); background: var(--bg);
  padding: 22px 20px; display: flex; flex-direction: column; gap: 12px;
}
.mode h3 { font-size: 18px; font-family: var(--font-display); }
.mode .mdesc { font-size: 12.5px; color: var(--ink-muted); margin: -6px 0 2px; line-height: 1.4; }
.mode .attr { list-style: none; padding: 14px 0 0; margin: 0; display: flex; flex-direction: column; gap: 11px; border-top: 1px solid var(--border); }
.mode .attr li { display: grid; grid-template-columns: 18px 1fr; gap: 9px; align-items: start; font-size: 13px; color: var(--ink-muted); line-height: 1.4; }
.mode .attr li .ic { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 1px; }
.mode .attr li .ic.ok { color: var(--blue); }
.mode .attr li .ic.no { color: var(--ink-subtle); }
.mode .attr li b { color: var(--ink); font-weight: 600; }

/* — Profile verdict cards — */
.profiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 22px 0; }
.profile {
  border: 1px solid var(--border); border-radius: var(--r-angle);
  padding: 18px 20px; background: var(--bg);
  display: flex; flex-direction: column; gap: 8px;
}
.profile .ptag { font-size: 11px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink-muted); }
.profile h3 { font-size: 16px; font-family: var(--font-display); line-height: 1.25; }
.profile .prec { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--border); font-size: 13.5px; color: var(--ink-muted); line-height: 1.5; }
.profile .prec .reco { display: flex; align-items: center; gap: 6px; font-weight: 700; color: var(--blue-ink); font-size: 13px; margin-bottom: 8px; }

/* — Pick grid (model recommendations) — */
.pick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pick {
  position: relative; border: 1px solid var(--border); border-radius: var(--r-card);
  background: var(--bg); padding: 24px 22px 20px;
  display: flex; flex-direction: column; gap: 8px;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.pick:hover { box-shadow: var(--shadow-2); border-color: var(--border-strong); }
.pick.is-rec { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.pick-flag {
  position: absolute; top: -12px; left: 22px;
  background: var(--lime); color: var(--ink);
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.07em;
  text-transform: uppercase; padding: 5px 11px; border-radius: var(--r-pill);
}
.pick-name { font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.pick-tag { font-size: 12.5px; color: var(--ink-muted); }
.pick-why { font-size: 14px; color: var(--ink-muted); line-height: 1.5; margin: 4px 0 0; }
.pick-why b { color: var(--ink); font-weight: 600; }
.pick-foot { display: flex; justify-content: space-between; align-items: flex-end; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--border); }
.pick-price { font-size: 12px; color: var(--ink-muted); line-height: 1.3; }
.pick-price b { display: block; color: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 17px; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; margin-top: 2px; }
.pick-score { font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--blue-ink); text-align: right; line-height: 1.3; }
.pick-score b { display: block; font-size: 18px; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }

/* — FAQ accordion — */
details.faq { border: 1px solid var(--border); border-radius: var(--r-angle); background: var(--bg); margin: 14px 0; overflow: hidden; }
details.faq summary { list-style: none; cursor: pointer; padding: 18px 22px; display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 16px; color: var(--ink); line-height: 1.35; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary .chev { margin-left: auto; transition: transform 0.25s ease; color: var(--ink-muted); }
details.faq summary .chev svg { width: 18px; height: 18px; display: block; }
details.faq[open] summary .chev { transform: rotate(180deg); }
details.faq[open] summary { border-bottom: 1px solid var(--border); }
details.faq .a { padding: 16px 22px 20px; font-size: 15.5px; line-height: 1.65; color: var(--ink-muted); }
details.faq .a b { color: var(--ink); font-weight: 600; }

/* — Mid-article nudge — */
.nudge {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  border-radius: var(--r-card); padding: 28px 32px; margin: 48px 0;
  background: var(--surface-dark); border: none; box-shadow: var(--shadow-md);
}
.nudge .ntxt { font-size: 16px; color: var(--on-dark-2); line-height: 1.5; }
.nudge .ntxt b { color: var(--on-dark-1); font-size: 17px; }
.nudge .btn { margin-left: auto; }

/* — Related section — */
.related { border-top: 1px solid var(--border); margin-top: 64px; padding: 54px 0; }
.rel-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.rel-card {
  border: 1px solid var(--border); border-radius: var(--r-angle);
  background: var(--bg); overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  text-decoration: none; color: var(--ink);
}
.rel-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--border-strong); text-decoration: none; }
.rel-thumb { aspect-ratio: 16/10; background: var(--surface); position: relative; display: grid; place-items: center; overflow: hidden; border-bottom: 1px solid var(--border); }
.rel-thumb img { width: 100%; height: 100%; object-fit: cover; }
.rel-thumb .spot { width: 80%; opacity: 0.7; }
.rel-thumb .car-sil { width: 42%; max-width: 120px; opacity: 0.85; }
.rel-cat {
  position: absolute; top: 10px; left: 10px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--ink); background: var(--lime);
  padding: 4px 9px; border-radius: var(--r-pill);
}
.rel-cat.c-blue { background: var(--blue); color: var(--bg); }
.rel-cat.c-coral { background: var(--coral); color: var(--bg); }
.rel-cat.c-neutral { background: var(--surface-overlay); color: var(--ink); border: 1px solid var(--border-strong); }
.rel-body { padding: 15px 16px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.rel-body h3 { font-size: 16.5px; line-height: 1.25; font-family: var(--font-display); }
.rel-meta { margin-top: auto; font-size: 12.5px; color: var(--ink-muted); display: flex; gap: 8px; align-items: center; font-variant-numeric: tabular-nums; }

/* — Upsell section — */
.upsell { background: var(--surface); border-top: 1px solid var(--border); padding: 60px 0 70px; }
.upsell-head { text-align: center; max-width: 60ch; margin: 0 auto 36px; }
.upsell-head .eyebrow { margin: 0 auto 16px; }
.upsell-head h2 { font-size: clamp(26px, 3.2vw, 40px); }
.upsell-head p { color: var(--ink-muted); font-size: 17px; margin: 14px 0 0; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 880px; margin: 0 auto; }
.plan {
  position: relative; border: 1px solid var(--border); border-radius: var(--r-card);
  background: var(--bg); padding: 30px 28px;
  display: flex; flex-direction: column; transition: box-shadow 0.2s ease;
}
.plan:hover { box-shadow: var(--shadow-2); }
.plan.feature { border-color: var(--lime); border-width: 2px; }
.plan-flag {
  position: absolute; top: -13px; left: 28px;
  background: var(--lime); color: var(--ink);
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em;
  padding: 5px 13px; border-radius: var(--r-pill); text-transform: uppercase;
}
.trust-line { margin: 10px 0 0; font-size: 13px; color: var(--ink-muted); text-align: center; }
.method-link {
  color: var(--blue); font-weight: 600; text-decoration: none;
  border-bottom: 1px solid color-mix(in oklch, var(--blue) 30%, transparent);
}
.method-link:hover { text-decoration: none; border-bottom-color: var(--blue); }
.plan-tag { font-size: 12.5px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 6px; }
.plan.feature .plan-tag { color: var(--lime-ink); }
.plan h3 { font-size: 24px; font-family: var(--font-display); }
.price { display: flex; align-items: baseline; gap: 6px; margin: 14px 0 4px; flex-wrap: wrap; }
.price .amt { font-family: var(--font-display); font-weight: 700; font-size: 46px; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.price .per { color: var(--ink-muted); font-size: 15px; font-weight: 500; }
.price .once { color: var(--ink-muted); font-size: 14px; align-self: center; margin-left: 6px; }
.plan .lede { color: var(--ink-muted); font-size: 14.5px; margin: 0 0 20px; }
.feat { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-direction: column; gap: 13px; }
.feat li { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; color: var(--ink); line-height: 1.45; }
.feat li svg { width: 18px; height: 18px; flex: 0 0 auto; color: var(--blue); margin-top: 1px; }
.plan.feature .feat li svg { color: var(--lime-ink); }
.feat li b { font-weight: 600; }
.plan .btn { margin-top: auto; }

/* — FAB (floating action button) — */
.fab {
  position: fixed; right: 24px; bottom: calc(24px + env(safe-area-inset-bottom));
  width: 50px; height: 50px; border-radius: var(--r-pill);
  background: var(--ink); color: var(--bg); border: none; text-decoration: none;
  display: grid; place-items: center; cursor: pointer;
  box-shadow: var(--shadow-3);
  opacity: 0; transform: translateY(14px) scale(0.9); pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.18s ease;
  z-index: 40;
}
.fab.show { opacity: 1; transform: none; pointer-events: auto; }
.fab:hover { background: var(--blue); color: var(--bg); }
.fab svg { width: 20px; height: 20px; }

/* — Tags layout (article body) — */
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0; }

/* — Verdict block — */
.verdict {
  border: 1px solid var(--blue-tint2); background: var(--blue-tint);
  border-radius: var(--r-card); padding: 26px 28px; margin: 30px 0; position: relative;
}
.verdict-head {
  display: flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--blue-ink); margin-bottom: 8px;
}
.ribbon {
  position: absolute; top: 18px; right: 18px;
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--lime); color: var(--ink);
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.07em;
  padding: 6px 13px; border-radius: var(--r-pill);
}
.ribbon svg { width: 14px; height: 14px; }
.verdict h3, .verdict-title {
  font-size: clamp(22px, 2.4vw, 28px); max-width: 32ch;
  font-family: var(--font-display); font-weight: 600; line-height: 1.15;
  margin: 0; letter-spacing: -0.01em;
}
.verdict .scoreline { margin-top: 12px; font-size: 15px; color: var(--ink-muted); }
.verdict .scoreline b { color: var(--ink); font-variant-numeric: tabular-nums; font-size: 18px; font-family: var(--font-display); }
.verdict[data-accent="coral"] { border-color: var(--coral-tint2); background: var(--coral-tint); }
.verdict[data-accent="coral"] .verdict-head { color: var(--coral-ink); }
.verdict[data-accent="lime"] { border-color: var(--lime-tint); background: color-mix(in oklch, var(--lime) 10%, var(--bg)); }
.verdict[data-accent="lime"] .verdict-head { color: var(--lime-ink); }
.coral-heart { color: var(--coral); }

/* — Scores (bar chart) — */
.scores { margin: 38px 0 10px; }
.scores h2 { margin-bottom: 6px; }
.scores .sub { color: var(--ink-muted); font-size: 15px; margin-bottom: 22px; }
.score-block { margin-bottom: 20px; }
.score-block .lab { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 9px; }
.score-block .lab .name { font-weight: 600; font-size: 15px; }
.score-block .lab .name small { display: block; font-weight: 500; font-size: 12.5px; color: var(--ink-muted); margin-top: 2px; }
.score-block .lab .nums { font-size: 13px; color: var(--ink-muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.score-block .lab .nums b { color: var(--ink); font-family: var(--font-display); font-size: 16px; }
.score-track { height: 12px; border-radius: var(--r-pill); background: var(--surface); overflow: hidden; display: flex; position: relative; }
.bar { height: 100%; width: 0; transition: width 0.8s cubic-bezier(0.2, 0, 0, 1); border-radius: var(--r-pill); }
.bar.m3, .bar.win { background: linear-gradient(90deg, var(--blue), var(--coral)); }
.bar.rs5 { background: color-mix(in oklch, var(--ink-subtle) 70%, var(--ink)); }
.bar.fit { background: var(--blue); }
.scores .score-block:nth-child(1) .bar { transition-delay: 0ms; }
.scores .score-block:nth-child(2) .bar { transition-delay: 80ms; }
.scores .score-block:nth-child(3) .bar { transition-delay: 160ms; }
.scores .score-block:nth-child(4) .bar { transition-delay: 240ms; }
.score-legend { display: flex; gap: 18px; margin-top: 8px; font-size: 13px; color: var(--ink-muted); }
.score-legend span { display: inline-flex; align-items: center; gap: 7px; }
.swatch { width: 11px; height: 11px; border-radius: 4px; display: inline-block; }
.swatch.s-m3 { background: var(--blue); }
.swatch.s-rs5 { background: color-mix(in oklch, var(--ink-subtle) 70%, var(--ink)); }
.score-total {
  display: flex; align-items: center; gap: 14px; margin-top: 26px;
  padding: 20px 24px; border: 1px solid var(--border);
  border-radius: var(--r-card); background: var(--blue-tint);
}
.score-total .big {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(40px, 6vw, 64px); color: var(--ink); line-height: 1;
  letter-spacing: -0.03em; font-variant-numeric: tabular-nums;
}
.score-total .big sup { font-size: 0.34em; color: var(--ink-muted); font-weight: 600; margin-left: 4px; }
.score-total .copy { font-size: 14.5px; color: var(--ink-muted); line-height: 1.5; }
.score-total .copy b { color: var(--ink); }

/* — Comparison: spec details — */
details.specs { border: 1px solid var(--border); border-radius: var(--r-angle); background: var(--bg); margin: 26px 0; overflow: hidden; }
details.specs + details.specs { margin-top: -1px; }
details.specs summary { list-style: none; cursor: pointer; padding: 18px 22px; display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 15.5px; color: var(--ink); }
details.specs summary > svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--ink-muted); }
details.specs summary::-webkit-details-marker { display: none; }
details.specs summary .chev { margin-left: auto; transition: transform 0.25s ease; color: var(--ink-muted); }
details.specs summary .chev svg { width: 18px; height: 18px; display: block; }
details.specs[open] summary .chev { transform: rotate(180deg); }
details.specs[open] summary { border-bottom: 1px solid var(--border); }
.spec-table { padding: 6px 22px 18px; }
.spec-table .spec-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--border); font-size: 15px; }
.spec-table .spec-row:last-child { border-bottom: 0; }
.spec-table .spec-row .k { color: var(--ink-muted); }
.spec-table .spec-row .v { color: var(--ink); font-weight: 600; text-align: right; }
.spec-table .spec-row .v small { color: var(--ink-muted); font-weight: 500; margin-left: 8px; }

/* — Guide: persona card — */
.persona {
  display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start;
  border: 1px solid var(--border); border-radius: var(--r-angle);
  padding: 22px 24px; margin: 30px 0; background: var(--bg);
}
.persona .pico { width: 46px; height: 46px; border-radius: var(--r-pill); background: var(--blue-tint); display: grid; place-items: center; color: var(--blue-ink); flex: 0 0 auto; }
.persona .pico svg { width: 22px; height: 22px; }
.persona .persona-title { font-size: 20px; margin: 0 0 6px; line-height: 1.2; letter-spacing: -0.01em; }
.persona > p { font-size: 15px; color: var(--ink-muted); margin: 0; line-height: 1.55; }
.persona .needs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; grid-column: 1/-1; align-items: center; }
.criteria-intro { color: var(--ink-muted); font-size: 15px; margin-bottom: 18px; }
.criteria { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 0 0 8px; }
.crit { display: flex; gap: 12px; border: 1px solid var(--border); border-radius: var(--r-angle); padding: 16px 18px; background: var(--bg); }
.crit .cico { width: 34px; height: 34px; border-radius: var(--r-pill); background: var(--surface); display: grid; place-items: center; color: var(--blue-ink); flex: 0 0 auto; }
.crit .cico svg { width: 18px; height: 18px; }
.crit h3 { font-family: var(--font-sans); font-size: 15px; font-weight: 600; margin: 0 0 3px; letter-spacing: 0; line-height: 1.3; }
.crit p { font-size: 13.5px; color: var(--ink-muted); margin: 0; line-height: 1.45; }

/* — Guide: TCO (total cost of ownership) — */
.tco { border: 1px solid var(--border); border-radius: var(--r-card); background: var(--bg); padding: 24px 26px; margin: 30px 0; }
.tco-head { display: flex; align-items: center; gap: 10px; margin-bottom: 2px; }
.tco-head .tico { width: 30px; height: 30px; border-radius: var(--r-pill); background: var(--surface); display: grid; place-items: center; color: var(--blue-ink); flex: 0 0 auto; }
.tco-head .tico svg { width: 16px; height: 16px; }
.tco h3 { font-size: 20px; }
.tco .tsub { color: var(--ink-muted); font-size: 13.5px; margin: 2px 0 16px; }
.tco-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--border); font-size: 15px; align-items: baseline; }
.tco-row:last-of-type { border-bottom: 0; }
.tco-row .k { color: var(--ink-muted); }
.tco-row .k small { display: block; font-size: 12px; color: var(--ink-subtle); margin-top: 1px; }
.tco-row .v { color: var(--ink); font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tco-row .v.muted { color: var(--ink-muted); font-weight: 500; }
.tco-row .v.neg { color: var(--blue-ink); }
.tco-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 16px; margin-top: 8px; border-top: 2px solid var(--ink); font-family: var(--font-display); font-weight: 700; }

/* — Guide: picks block — */
.picks-intro { color: var(--ink-muted); font-size: 15px; margin-bottom: 18px; }
.picks-block { margin-top: 8px; grid-column: 1/-1; }
.picks-block h2 { font-size: clamp(24px, 2.8vw, 34px); margin: 34px 0 14px; letter-spacing: -0.01em; }
.picks-block .picks-intro { max-width: 680px; }

/* — Spec card (comparison table) — */
.spec-card { border: 1px solid var(--border); border-radius: var(--r-angle); background: var(--bg); margin: 26px 0; overflow: hidden; }
.spec-card-head { display: flex; align-items: center; gap: 10px; padding: 14px 22px; border-bottom: 1px solid var(--border); background: var(--surface); }
.spec-card-head svg { width: 18px; height: 18px; color: var(--ink-muted); flex-shrink: 0; }
.spec-card-title { font-weight: 600; font-size: 15px; color: var(--ink); }
.spec-card-vs { margin-left: auto; font-size: 12.5px; font-weight: 600; color: var(--blue-ink); background: var(--blue-tint); padding: 3px 10px; border-radius: var(--r-pill); }
.spec-card .spec-table-wrap { padding: 6px 22px 14px; }
.spec-card table.spec-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.spec-card table.spec-table thead th { font-size: 12.5px; font-weight: 600; color: var(--ink-subtle); text-transform: uppercase; letter-spacing: 0.04em; text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--border); }
.spec-card table.spec-table thead th:nth-child(2), .spec-card table.spec-table thead th:nth-child(3) { text-align: right; }
.spec-card table.spec-table tbody th { font-weight: 500; color: var(--ink-muted); text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--border); }
.spec-card table.spec-table tbody td { font-weight: 600; color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; padding: 10px 0 10px 12px; border-bottom: 1px solid var(--border); }
.spec-card table.spec-table tbody td:first-of-type, .spec-card table.spec-table tbody th:first-of-type { text-align: left; }
.spec-card table.spec-table tbody tr:last-child td, .spec-card table.spec-table tbody tr:last-child th { border-bottom: 0; }
@media (max-width: 560px) {
  .spec-card table.spec-table thead { display: none; }
  .spec-card table.spec-table tbody th { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-subtle); padding-bottom: 2px; border: 0; }
  .spec-card table.spec-table tbody td { display: inline-block; text-align: left; padding: 0 16px 8px 0; border: 0; }
}

/* — Persona needs — */
.need-label { font-size: 12.5px; font-weight: 600; color: var(--ink-subtle); text-transform: uppercase; letter-spacing: 0.04em; }
.need-item { font-size: 13px; color: var(--ink-muted); background: var(--surface); border: 1px solid var(--border); padding: 5px 12px; border-radius: var(--r-pill); }

/* — Source note (fine print) — */
.src-note {
  font-size: 11.5px; color: var(--ink-subtle);
  font-style: italic; margin: 8px 22px 14px;
  display: flex; gap: 5px; align-items: baseline;
  line-height: 1.4; opacity: 0.85;
}
.src-note svg { width: 12px; height: 12px; flex: 0 0 auto; opacity: 0.7; transform: translateY(1px); }

/* — Section heading shared — */
.section-head h2 { font-size: clamp(24px, 2.8vw, 34px); }
.section-head a { font-size: 14px; font-weight: 600; color: var(--blue); }

/* — Article body typography tweaks — */
.article-content h2 + p::first-letter {
  font-family: var(--font-display); font-weight: 700;
  font-size: 42px; float: left;
  line-height: 0.9; margin: 4px 8px 0 0;
}

/* — Responsive — */
@media (max-width: 980px) {
  .rel-grid { grid-template-columns: repeat(2, 1fr); }
  .block .modes, .block .profiles, .block .pick-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
}
@media (max-width: 860px) {
  .plans { grid-template-columns: 1fr; }
  .body-col h2 { font-size: clamp(24px, 2.6vw, 32px); margin: 42px 0 16px; letter-spacing: -0.01em; }
  .block-head p { font-size: 17px; }
  .glossary { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .verdict { padding: 22px 20px; }
  .ribbon { position: static; display: inline-flex; margin-bottom: 10px; }
  .score-total { flex-direction: column; align-items: flex-start; gap: 6px; }
  .spec-table .spec-row .v small { display: block; margin: 2px 0 0; }
  .criteria { grid-template-columns: 1fr; }
  .persona { grid-template-columns: 1fr; }
  .bar { transition: none !important; }
}
@media (max-width: 560px) {
  .shell { padding: 0 18px; }
  .rel-grid { grid-template-columns: 1fr; }
  .nudge .btn { margin-left: 0; width: 100%; }
  .price .amt { font-size: 40px; }
}

/* ================================================================
   ANIMATIONS — Article motion
   ================================================================ */

@keyframes spotlight-bloom {
  0% { transform: scale(0.4); opacity: 0; }
  60% { opacity: 0.9; }
  100% { transform: scale(1); opacity: 0.85; }
}
@keyframes silhouette-emerge {
  0% { opacity: 0; transform: translateY(20px) scale(0.95); }
  100% { opacity: 0.9; transform: translateY(0) scale(1); }
}
.stage-floor .spot { animation: spotlight-bloom 1.2s var(--ease-out) both; }
.stage-floor .car-sil { animation: silhouette-emerge 0.8s 0.3s var(--ease-out) both; }
.stage-floor .stage-chip { opacity: 0; animation: silhouette-emerge 0.5s 0.6s var(--ease-out) both; }

@keyframes section-rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.section-reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out); }
.section-reveal.is-visible { opacity: 1; transform: translateY(0); }

.pick-grid .pick { opacity: 0; transform: translateY(24px); transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out); }
.pick-grid.is-visible .pick:nth-child(1) { transition-delay: 0ms; }
.pick-grid.is-visible .pick:nth-child(2) { transition-delay: 100ms; }
.pick-grid.is-visible .pick:nth-child(3) { transition-delay: 200ms; }
.pick-grid.is-visible .pick { opacity: 1; transform: translateY(0); }

.persona { opacity: 0; transform: translateY(16px); transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out); }
.persona.is-visible { opacity: 1; transform: translateY(0); }

.criteria .crit { opacity: 0; transform: translateY(16px); transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out); }
.criteria.is-visible .crit:nth-child(1) { transition-delay: 0ms; }
.criteria.is-visible .crit:nth-child(2) { transition-delay: 60ms; }
.criteria.is-visible .crit:nth-child(3) { transition-delay: 120ms; }
.criteria.is-visible .crit:nth-child(4) { transition-delay: 180ms; }
.criteria.is-visible .crit:nth-child(5) { transition-delay: 240ms; }
.criteria.is-visible .crit:nth-child(6) { transition-delay: 300ms; }
.criteria.is-visible .crit { opacity: 1; transform: translateY(0); }

.verdict, .spec-card, .tco { opacity: 0; transform: translateY(20px); transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out); }
.verdict.is-visible, .spec-card.is-visible, .tco.is-visible { opacity: 1; transform: translateY(0); }

.rel-grid .rel-card { opacity: 0; transform: translateY(16px); transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out); }
.rel-grid.is-visible .rel-card:nth-child(1) { transition-delay: 0ms; }
.rel-grid.is-visible .rel-card:nth-child(2) { transition-delay: 80ms; }
.rel-grid.is-visible .rel-card:nth-child(3) { transition-delay: 160ms; }
.rel-grid.is-visible .rel-card:nth-child(4) { transition-delay: 240ms; }
.rel-grid.is-visible .rel-card { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .stage-floor .spot, .stage-floor .car-sil, .stage-floor .stage-chip,
  .section-reveal, .pick-grid .pick, .persona, .criteria .crit,
  .verdict, .spec-card, .tco, .rel-grid .rel-card {
    opacity: 1 !important; transform: none !important;
    animation: none !important; transition: none !important;
  }
}

.article-hero-anim { opacity: 0; transform: translateY(12px); animation: article-hero-rise 0.6s var(--ease-out) var(--d, 0ms) forwards; }
@keyframes article-hero-rise { to { opacity: 1; transform: translateY(0); } }
