/* =============================================================================
   PALETAZO.ES — sistema visual premium (Archetype: Magazine Editorial, adaptado)
   Paleta: papel cálido + acento terracota profundo + oro cálido secundario.
   Tipografía: Fraunces (display, itálica) + DM Sans (cuerpo/datos).
   ============================================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg:          #faf7f0;
  --bg-2:        #f1ebdd;
  --paper:       #ffffff;
  --ink:         #1a1714;
  --ink-soft:    #3c352c;
  --ink-mute:    #756b5c;
  --ink-faint:   #a89d8c;
  --accent:      #a8432c;
  --accent-2:    #c65a3d;
  --accent-dim:  rgba(168,67,44,.08);
  --gold:        #b3873e;
  --gold-dim:    rgba(179,135,62,.12);
  --green:       #2a7a4a;
  --green-dim:   rgba(42,122,74,.1);
  --red:         #b3261e;
  --red-dim:     rgba(179,38,30,.08);
  --line:        rgba(26,23,20,.12);
  --line-soft:   rgba(26,23,20,.07);
  --shadow-1:    0 1px 3px rgba(26,23,20,.06), 0 1px 2px rgba(26,23,20,.04);
  --shadow-2:    0 8px 28px rgba(26,23,20,.10), 0 2px 8px rgba(26,23,20,.05);
  --shadow-lift: 0 22px 48px rgba(26,23,20,.16);

  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'DM Sans', system-ui, -apple-system, sans-serif;

  --max:      1180px;
  --max-read: 740px;
  --r-sm:     6px;
  --r-md:     12px;
  --r-lg:     22px;

  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:     cubic-bezier(0.7, 0, 0.84, 0);
  --ease-soft:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --nav-h: 72px;
}

@property --hero-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 135deg;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  scroll-behavior: smooth;
  font-size: 16px;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.08; letter-spacing: -0.01em; font-family: var(--font-display); }
ul, ol { list-style: none; }
table { border-collapse: collapse; width: 100%; }
::selection { background: var(--accent); color: var(--bg); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1rem; background: var(--ink); color: var(--bg);
  z-index: 9999; border-radius: 8px; font-weight: 600; font-size: .85rem;
}
.skip-link:focus { top: 1rem; }

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) {
  animation-duration: .5s;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}
::view-transition-old(root) { animation-name: pz-fade-out; }
::view-transition-new(root) { animation-name: pz-fade-in; }
@keyframes pz-fade-out { to { opacity: 0; transform: translateY(-10px); } }
@keyframes pz-fade-in { from { opacity: 0; transform: translateY(10px); } }

/* =============================================================
   3. Utilities
   ============================================================= */
.container { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

#progress-bar, #reading-progress, #rp, #pb {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  z-index: 999; transition: width .1s linear;
}

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.is-visible, .reveal.on { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }

/* =============================================================
   4. Typography — headings, body copy, links (shared across all article families)
   ============================================================= */
h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 500; }
h1 em, .article-header h1 em, .art-header h1 em { font-style: italic; color: var(--accent); }

.article-body h2, .art-body h2, .article-body > h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
  color: var(--ink);
  margin: 3rem 0 1rem;
  line-height: 1.22;
  position: relative;
  padding-top: 1.6rem;
}
.article-body h2::before, .art-body h2::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 40px; height: 3px;
  background: var(--accent);
  border-radius: 2px;
}
.article-body h3, .art-body h3 {
  font-family: var(--font-display);
  font-size: 1.2rem; font-style: italic; font-weight: 400;
  color: var(--ink-soft);
  margin: 1.9rem 0 .6rem;
}
.article-body p, .art-body p, .article-body li, .art-body li {
  color: var(--ink-soft);
  line-height: 1.85;
  margin-bottom: 1.1rem;
  font-size: 1.02rem;
}
.article-body ul, .art-body ul, .rules-list { margin: 1rem 0 1.5rem; padding-left: 0; }
.article-body ul li, .art-body ul li, .rules-list li {
  padding-left: 1.6rem; position: relative; margin-bottom: .65rem;
}
.article-body ul li::before, .art-body ul li::before, .rules-list li::before {
  content: '—'; position: absolute; left: 0; color: var(--accent); font-weight: 600;
}
.rules-list.ok li::before { content: '✓'; color: var(--green); }
.rules-list.no li::before { content: '✕'; color: var(--red); }
.article-body ol, .art-body ol { padding-left: 1.4rem; margin: 1rem 0 1.5rem; }
.article-body ol li, .art-body ol li { list-style: decimal; padding-left: .4rem; margin-bottom: .65rem; color: var(--ink-soft); }
.article-body strong, .art-body strong { font-weight: 700; color: var(--ink); }
.article-body a, .art-body a {
  color: var(--accent); text-decoration: underline; text-decoration-color: rgba(168,67,44,.35);
  text-underline-offset: 3px; transition: text-decoration-color .2s;
}
.article-body a:hover, .art-body a:hover { text-decoration-color: var(--accent); }

/* Drop cap on the lede paragraph */
.article-body > p:first-of-type::first-letter,
.lede::first-letter, .dropcap {
  font-family: var(--font-display);
  font-size: 3.8rem; font-weight: 500; font-style: italic;
  float: left; line-height: .82; padding: .05em .08em 0 0;
  color: var(--accent);
}

blockquote, .pullquote, .pq {
  border-left: 3px solid var(--accent);
  padding: .3rem 0 .3rem 1.5rem;
  margin: 2.2rem 0;
}
blockquote p, .pullquote p, .pq p, .pullquote, .pq {
  font-family: var(--font-display);
  font-style: italic; font-size: 1.3rem; line-height: 1.5;
  color: var(--ink-soft); margin: 0;
}

/* =============================================================
   5. Navigation (single canonical shell, injected into every page)
   ============================================================= */
.pz-nav {
  position: sticky; top: 0; z-index: 200;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.25rem;
  background: rgba(250,247,240,.86);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid var(--line);
}
@supports not (backdrop-filter: blur(1px)) { .pz-nav { background: var(--bg); } }
.pz-nav .logo {
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 500; font-style: italic;
  color: var(--ink);
}
.pz-nav .logo span { color: var(--accent); }
.pz-nav-links { display: flex; align-items: center; gap: 2rem; }
.pz-nav-links a {
  font-size: .86rem; font-weight: 500; color: var(--ink-mute);
  transition: color .2s var(--ease-out); position: relative;
}
.pz-nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 1.5px;
  background: var(--accent); transition: width .25s var(--ease-out);
}
.pz-nav-links a:hover { color: var(--ink); }
.pz-nav-links a:hover::after { width: 100%; }
.pz-nav-back {
  font-size: .86rem; font-weight: 500; color: var(--ink-mute); display: flex; align-items: center; gap: .4rem;
  transition: color .2s;
}
.pz-nav-back:hover { color: var(--accent); }
.pz-burger { display: none; width: 32px; height: 24px; position: relative; }
.pz-burger span {
  position: absolute; left: 0; width: 100%; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .25s var(--ease-out), opacity .25s var(--ease-out);
}
.pz-burger span:nth-child(1) { top: 0; }
.pz-burger span:nth-child(2) { top: 11px; }
.pz-burger span:nth-child(3) { top: 22px; }
@media (max-width: 719px) {
  .pz-nav-links { position: fixed; inset: var(--nav-h) 0 0 0; background: var(--bg); flex-direction: column;
    justify-content: flex-start; padding: 2.5rem 1.5rem; gap: 1.4rem; transform: translateX(100%);
    transition: transform .3s var(--ease-out); }
  .pz-nav-links.open { transform: translateX(0); }
  .pz-nav-links a { font-size: 1.1rem; }
  .pz-burger { display: block; }
}

/* =============================================================
   6. Breadcrumb, TOC, article header (shared across ALL article families
      regardless of original class name — alias selectors)
   ============================================================= */
.breadcrumb, .bc, nav.bc {
  max-width: var(--max-read); margin: 0 auto; padding: 1.1rem 1.25rem .4rem;
  font-size: .78rem; color: var(--ink-faint); display: flex; flex-wrap: wrap; gap: .3rem;
}
.breadcrumb a, .bc a { color: var(--ink-faint); }
.breadcrumb a:hover, .bc a:hover { color: var(--accent); }
.breadcrumb span, .bc span { margin: 0 .1rem; }
nav[aria-label="Breadcrumb"] ol, .hero-breadcrumb {
  display: flex; flex-wrap: wrap; gap: .3rem; font-size: .78rem; color: var(--ink-faint);
  max-width: var(--max-read); margin: 0 auto; padding: 1.1rem 1.25rem .4rem;
}

.wrap, .article-col { max-width: var(--max-read); margin: 0 auto; }
.aw { max-width: var(--max-read); margin: 0 auto; padding: 0 1.25rem; }

.article-header, .art-header, .ah, header.hero-wrap, header.hero-bg, header[class*="hero"], section.hero {
  position: relative;
  max-width: var(--max-read); margin: .5rem auto 0; padding: 2.2rem 1.9rem 2.6rem;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--paper);
  isolation: isolate;
}
.article-header::before, .art-header::before, .ah::before, header.hero-wrap::before, header.hero-bg::before, header[class*="hero"]::before, section.hero::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(180deg, rgba(26,23,20,.25) 0%, rgba(26,23,20,.62) 68%, rgba(26,23,20,.86) 100%), var(--hero-img, none);
  background-size: cover; background-position: center;
}
.article-header, .art-header, .ah, header.hero-wrap, header.hero-bg, header[class*="hero"], section.hero { color: #f5f0e4; min-height: 320px; display: flex; flex-direction: column; justify-content: flex-end; }
.article-header h1, .art-header h1, .ah h1, .hero-wrap h1, .hero-h1, header[class*="hero"] h1, section.hero h1 {
  color: #fdfaf3; font-weight: 500; margin-bottom: .7rem;
}
.article-tag, .art-tag, .acat, .hero-tag, [class*="article-tag"], [class*="art-tag"] {
  display: inline-flex; align-self: flex-start;
  background: rgba(250,247,240,.16); color: #fdfaf3;
  border: 1px solid rgba(250,247,240,.35);
  font-size: .7rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  padding: .35rem .8rem; border-radius: 100px; margin-bottom: 1rem; backdrop-filter: blur(6px);
}
.article-dek, .art-dek, .adesc, .hero-sub, .hero-lead {
  font-size: 1.08rem; color: rgba(253,250,243,.86); max-width: 560px; line-height: 1.6; margin-bottom: 1.3rem; font-weight: 400;
}
.article-meta, .art-meta, .ameta, .hero-meta {
  display: flex; flex-wrap: wrap; gap: .9rem 1.6rem; align-items: center;
  padding-top: 1.1rem; border-top: 1px solid rgba(250,247,240,.22);
  font-size: .86rem; color: rgba(253,250,243,.75);
}
.meta-block, .meta-b {
  display: flex; flex-direction: column; gap: .1rem;
}
.achip { display: flex; align-items: center; gap: .6rem; }
.ainit, .av {
  width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: .9rem; flex-shrink: 0;
}
.aname { color: #fdfaf3; font-weight: 600; }
.meta-block .label, .meta-b .lbl, .label {
  font-size: .64rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(253,250,243,.6);
}
.meta-block .value, .meta-b .val, .value {
  font-size: .86rem; color: #fdfaf3; font-weight: 600;
}

.toc-box, .toc {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 1.5rem 1.7rem;
  max-width: var(--max-read); margin: 1.6rem auto;
}
.toc-box h4, .toc h4, .toc-t, .toc-title {
  font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .09em;
  color: var(--ink-faint); margin-bottom: 1rem;
}
.toc-box ol, .toc ol { display: flex; flex-direction: column; gap: .5rem; counter-reset: pztoc; }
.toc-box li, .toc li { counter-increment: pztoc; display: flex; gap: .7rem; align-items: baseline; }
.toc-box li::before, .toc li::before {
  content: counter(pztoc)'.'; font-size: .78rem; color: var(--accent); font-weight: 700; min-width: 18px;
}
.toc-box a, .toc a {
  font-size: .92rem; color: var(--ink-soft); border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.toc-box a:hover, .toc a:hover { color: var(--accent); border-color: var(--accent); }

.article-body, .art-body, .ab, .article-wrap, main#main-content {
  max-width: var(--max-read); margin: 0 auto; padding: 2.2rem 1.25rem 4.5rem;
}

.hero-ranking {
  background: rgba(250,247,240,.08); border: 1px solid rgba(250,247,240,.2); border-radius: var(--r-md);
  padding: 1.4rem 1.6rem; backdrop-filter: blur(8px);
}
.hero-ranking-title { font-size: .74rem; text-transform: uppercase; letter-spacing: .07em; color: rgba(253,250,243,.6); margin-bottom: .9rem; }
.rank-item { display: flex; align-items: center; gap: .7rem; padding: .5rem 0; color: #fdfaf3; font-size: .92rem; border-bottom: 1px solid rgba(250,247,240,.1); }
.rank-item:last-child { border-bottom: 0; }
.rank-item .rank-num { font-family: var(--font-display); color: var(--gold); font-size: 1rem; width: 20px; }
.hero-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2.5rem; align-items: center; }
@media (max-width: 719px) { .hero-grid { grid-template-columns: 1fr; } }

/* =============================================================
   7. Score widgets (bars + table variant)
   ============================================================= */
.score-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 1.8rem; margin: 2.2rem 0; box-shadow: var(--shadow-1);
}
.score-card h3 { margin-bottom: 1.2rem; font-size: 1.05rem; }
.score-grid { display: grid; gap: 1rem; }
.score-item { display: flex; align-items: center; gap: 1rem; }
.score-item label { min-width: 110px; font-size: .86rem; color: var(--ink-mute); font-weight: 600; }
.score-bar-wrap { flex: 1; display: flex; align-items: center; gap: .7rem; }
.score-bar { flex: 1; height: 8px; background: var(--bg-2); border-radius: 100px; overflow: hidden; }
.score-fill {
  height: 100%; width: 0; border-radius: 100px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  transition: width 1.1s var(--ease-out);
}
.score-num { font-weight: 700; font-size: .92rem; min-width: 30px; text-align: right; }

.score-table, table[class*="table"] {
  width: 100%; margin: 1.6rem 0; border-radius: var(--r-md); overflow: hidden;
  border: 1px solid var(--line); font-size: .92rem;
}
.score-table th, .score-table td,
.spec-table th, .spec-table td,
.verdict-table th, .verdict-table td,
.compare-table th, .compare-table td,
.comparison-table th, .comparison-table td,
.errors-table th, .errors-table td,
.price-table th, .price-table td,
.ref-table th, .ref-table td,
.sum-table th, .sum-table td, .sum-tbl th, .sum-tbl td,
.cal-tbl th, .cal-tbl td,
.cookie-table th, .cookie-table td,
.tp-table th, .tp-table td {
  padding: .8rem 1rem; text-align: left; border-bottom: 1px solid var(--line-soft);
}
.score-table th, .spec-table th, .verdict-table th, .compare-table th,
.comparison-table th, .errors-table th, .price-table th, .ref-table th,
.sum-table th, .sum-tbl th, .cal-tbl th, .cookie-table th, .tp-table th {
  background: var(--bg-2); font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-mute);
}
.score-table tr:last-child td, .spec-table tr:last-child td, .verdict-table tr:last-child td,
.compare-table tr:last-child td, .comparison-table tr:last-child td { border-bottom: 0; }
.spec-wrap { margin: 1.6rem 0; }

/* =============================================================
   8. Callouts / alerts
   ============================================================= */
.callout {
  background: var(--accent-dim); border-left: 3px solid var(--accent);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: 1.1rem 1.4rem; margin: 1.8rem 0;
}
.callout p { margin: 0; color: var(--ink-soft); }
.callout.warn, .callout-warn { background: var(--gold-dim); border-color: var(--gold); }
.callout.red { background: var(--red-dim); border-color: var(--red); }
.callout-icon { margin-bottom: .3rem; display: block; font-size: 1.2rem; }

/* =============================================================
   9. Pros / cons
   ============================================================= */
.pro-con, .cmp-pros-cons, .compare-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin: 1.8rem 0;
}
.pc-box, .cons-box {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.3rem 1.4rem;
}
.pc-box.a, .cmp-pro { border-top: 3px solid var(--green); }
.pc-box.b, .cmp-con { border-top: 3px solid var(--red); }
.pc-box ul li::before { content: '✓'; color: var(--green); }
.pc-box.b ul li::before, .cons-lbl { content: '✕'; color: var(--red); }
@media (max-width: 719px) { .pro-con, .cmp-pros-cons, .compare-grid { grid-template-columns: 1fr; } }

/* =============================================================
   10. VS comparison hero + bars + winner box
   ============================================================= */
.vs-hero {
  max-width: var(--max-read); margin: 1.5rem auto; background: var(--ink);
  border-radius: var(--r-lg); padding: 2rem 1.5rem; position: relative; overflow: hidden;
}
.vs-hero-inner { display: flex; align-items: center; justify-content: center; gap: 1.5rem; }
.vs-pala { flex: 1; text-align: center; max-width: 240px; }
.pala-img {
  width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: var(--r-md);
  margin-bottom: .8rem; box-shadow: var(--shadow-lift);
}
.pala-name { color: #fdfaf3; font-family: var(--font-display); font-size: 1.05rem; margin-bottom: .2rem; }
.pala-player { color: rgba(253,250,243,.6); font-size: .8rem; margin-bottom: .3rem; }
.pala-price { color: var(--gold); font-weight: 700; font-size: .92rem; }
.vs-sep, .cmp-vs {
  font-family: var(--font-display); font-style: italic; font-size: 1.6rem; color: var(--accent-2);
  flex-shrink: 0;
}
.vs-badge {
  position: absolute; top: 1rem; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; font-size: .68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em; padding: .3rem .9rem; border-radius: 100px;
}
@media (max-width: 640px) { .vs-hero-inner { flex-direction: column; } .vs-sep { transform: rotate(90deg); } }

.cmp-bars { margin: 1.8rem 0; display: flex; flex-direction: column; gap: 1.1rem; }
.cmp-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: .8rem; }
.cmp-header, .cmp-label { grid-column: 1 / -1; font-size: .82rem; font-weight: 700; color: var(--ink-mute); text-align: center; text-transform: uppercase; letter-spacing: .05em; }
.cmp-bar-wrap { height: 8px; background: var(--bg-2); border-radius: 100px; overflow: hidden; position: relative; }
.cmp-bar-wrap.left .cmp-fill { background: var(--accent); margin-left: auto; }
.cmp-bar-wrap.right .cmp-fill { background: var(--gold); }
.cmp-fill { height: 100%; width: 60%; border-radius: 100px; }
.cmp-val { font-weight: 700; font-size: .85rem; text-align: center; min-width: 40px; }

.winner-box {
  background: var(--gold-dim); border: 1px solid rgba(179,135,62,.3); border-radius: var(--r-md);
  padding: 1.5rem; margin: 2rem 0; text-align: center;
}
.badge-win {
  display: inline-block; background: var(--gold); color: var(--ink); font-weight: 700; font-size: .72rem;
  text-transform: uppercase; letter-spacing: .07em; padding: .3rem .9rem; border-radius: 100px; margin-bottom: .6rem;
}
.winner-name { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: .4rem; }
.winner-why { color: var(--ink-mute); font-size: .95rem; }

/* =============================================================
   11. Quiz / result blocks
   ============================================================= */
.quiz-section {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.8rem; margin: 2.2rem 0;
}
.quiz-header { margin-bottom: 1.2rem; }
.quiz-question, .quiz-q { margin-bottom: 1.3rem; }
.quiz-question > *:first-child, .quiz-q > *:first-child { font-weight: 700; margin-bottom: .6rem; display: block; }
.quiz-options, .quiz-opts { display: flex; flex-wrap: wrap; gap: .6rem; }
.quiz-opt, .quiz-btn {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 100px;
  padding: .5rem 1.1rem; font-size: .88rem; font-weight: 600; transition: all .2s var(--ease-out);
}
.quiz-opt:hover, .quiz-btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.quiz-result { text-align: center; padding-top: 1rem; border-top: 1px solid var(--line); }
.result-score-display { font-family: var(--font-display); font-size: 2.6rem; color: var(--accent); }
.result-label { color: var(--ink-mute); font-size: .9rem; margin-bottom: .8rem; }
.result-box { border-radius: var(--r-md); padding: 1.1rem; font-weight: 600; }
.result-yes, .result-a { background: var(--green-dim); color: var(--green); }
.result-no, .result-b { background: var(--red-dim); color: var(--red); }
.result-maybe, .result-tie { background: var(--gold-dim); color: var(--gold); }

/* =============================================================
   12. FAQ / accordion
   ============================================================= */
.faq-item {
  border-bottom: 1px solid var(--line); padding: 1.2rem 0;
}
.faq-q, .faq-question { font-weight: 700; font-size: 1rem; display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
.faq-icon { color: var(--accent); transition: transform .25s var(--ease-out); flex-shrink: 0; margin-left: 1rem; }
.faq-item.open .faq-icon, .faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-a, .faq-answer { color: var(--ink-mute); margin-top: .7rem; line-height: 1.7; font-size: .95rem; }
.faq-badge {
  display: inline-block; background: var(--accent-dim); color: var(--accent); font-size: .68rem;
  font-weight: 700; text-transform: uppercase; padding: .2rem .6rem; border-radius: 100px; margin-bottom: .5rem;
}

/* =============================================================
   13. CTA / affiliate buttons, series-nav, rank cards, step cards
   ============================================================= */
.cta-btn, .btn-fill, .aside-cta, .quiz-cta, a.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--accent); color: #fff !important; font-weight: 700; font-size: .92rem;
  padding: .85rem 1.6rem; border-radius: 100px; transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out);
  box-shadow: var(--shadow-1);
}
.cta-btn:hover, .btn-fill:hover, .aside-cta:hover, .quiz-cta:hover, a.btn:hover {
  transform: translateY(-2px); box-shadow: var(--shadow-2);
}
.btn-out {
  display: inline-flex; align-items: center; gap: .5rem;
  border: 1.5px solid var(--ink); color: var(--ink); font-weight: 700; font-size: .92rem;
  padding: .8rem 1.5rem; border-radius: 100px; transition: all .2s var(--ease-out);
}
.btn-out:hover { background: var(--ink); color: var(--bg); }
.cta-note { font-size: .78rem; color: var(--ink-faint); margin-top: .5rem; }

.series-nav {
  display: flex; align-items: center; gap: 1rem; margin: 2.5rem 0; padding: 1.2rem;
  background: var(--bg-2); border-radius: var(--r-md);
}
.snum { font-family: var(--font-display); font-style: italic; font-size: 1.4rem; color: var(--accent); }

.step-card, .exercise-box, .scenario-card, .stat-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 1.4rem 1.6rem; margin: 1.4rem 0;
}
.step-number, .step-num {
  display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px;
  background: var(--accent); color: #fff; border-radius: 50%; font-weight: 700; margin-bottom: .7rem;
}
.stat-number { font-family: var(--font-display); font-size: 2rem; color: var(--accent); }
.stat-label { font-size: .82rem; color: var(--ink-mute); text-transform: uppercase; letter-spacing: .05em; }

.rank-card {
  display: flex; gap: 1.2rem; align-items: center; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 1.2rem 1.4rem; margin: 1rem 0;
}
.rank-card.gold { border-color: var(--gold); background: var(--gold-dim); }
.rank-card.silver { border-color: var(--ink-faint); }
.rank-num { font-family: var(--font-display); font-size: 1.8rem; color: var(--accent); flex-shrink: 0; }
.rank-price { color: var(--accent); font-weight: 700; }
.rank-tags { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: .4rem; }

/* =============================================================
   14. Badges / pills
   ============================================================= */
.badge, .pill {
  display: inline-block; background: var(--accent-dim); color: var(--accent); font-size: .72rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: .25rem .7rem; border-radius: 100px;
}
.badge-good, .badge-ok { background: var(--green-dim); color: var(--green); }
.badge-bad { background: var(--red-dim); color: var(--red); }
.badge-lux, .badge-hist { background: var(--gold-dim); color: var(--gold); }

/* =============================================================
   15. Author box, related grid, image frames
   ============================================================= */
.author-box {
  display: flex; gap: 1rem; align-items: center; margin: 2.5rem 0; padding: 1.4rem;
  background: var(--bg-2); border-radius: var(--r-md);
}
.author-avatar, .author-av {
  width: 52px; height: 52px; border-radius: 50%; background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 1.2rem; flex-shrink: 0;
}
.author-name { font-weight: 700; }
.author-role { font-size: .82rem; color: var(--ink-mute); }
.author-bio { font-size: .88rem; color: var(--ink-mute); margin-top: .3rem; }

.img-frame { border-radius: var(--r-md); overflow: hidden; margin: 1.8rem 0; box-shadow: var(--shadow-1); }
.img-frame img { width: 100%; }

.related-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.2rem;
  max-width: var(--max-read); margin: 2.5rem auto 0;
}
.rel-card, .related-card, a.related-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.rel-card:hover, .related-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.related-card-img { aspect-ratio: 16/9; background: var(--bg-2); background-size: cover; background-position: center; }
.related-card-body, .rel-card > div:last-child { padding: 1rem 1.1rem; }
.rt { font-size: .68rem; text-transform: uppercase; color: var(--accent); font-weight: 700; letter-spacing: .05em; }
.rn { font-weight: 600; margin-top: .3rem; display: block; }

/* =============================================================
   16. Footer (single canonical shell)
   ============================================================= */
.pz-footer {
  background: var(--ink); color: rgba(250,247,240,.72); padding: 3.5rem 1.25rem 2rem; margin-top: 4rem;
}
.pz-footer .container { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; }
.pz-footer-brand .logo { font-family: var(--font-display); font-style: italic; font-size: 1.5rem; color: #fdfaf3; }
.pz-footer-brand .logo span { color: var(--accent-2); }
.pz-footer-brand p { font-size: .86rem; margin-top: .8rem; max-width: 280px; line-height: 1.6; }
.pz-footer-col h4 { font-family: var(--font-body); font-size: .74rem; text-transform: uppercase; letter-spacing: .07em; color: rgba(250,247,240,.45); margin-bottom: 1rem; }
.pz-footer-col ul { display: flex; flex-direction: column; gap: .6rem; }
.pz-footer-col a { font-size: .88rem; transition: color .2s; }
.pz-footer-col a:hover { color: #fdfaf3; }
.pz-footer-bottom {
  max-width: var(--max); margin: 2.5rem auto 0; padding-top: 1.6rem; border-top: 1px solid rgba(250,247,240,.12);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .78rem; color: rgba(250,247,240,.45);
}
.footer-credits a { color: rgba(250,247,240,.6); text-decoration: underline; }
@media (max-width: 959px) { .pz-footer .container { grid-template-columns: 1fr 1fr; } }
@media (max-width: 539px) { .pz-footer .container { grid-template-columns: 1fr; } }

/* =============================================================
   17. Homepage-specific components
   ============================================================= */
.masthead {
  text-align: center; padding: 2.6rem 1.25rem 1.8rem; border-bottom: 1px solid var(--line);
}
.masthead .issue { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: .6rem; }
.masthead .brand { font-family: var(--font-display); font-style: italic; font-size: clamp(2.4rem, 6vw, 3.6rem); color: var(--ink); }
.masthead .brand span { color: var(--accent); }
.masthead .tagline { color: var(--ink-mute); font-size: .95rem; margin-top: .5rem; }

.home-hero {
  position: relative; border-radius: var(--r-lg); overflow: hidden; margin: 2rem auto; max-width: var(--max);
  min-height: 480px; display: flex; align-items: flex-end; isolation: isolate;
}
.home-hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(180deg, rgba(26,23,20,.15) 0%, rgba(26,23,20,.55) 55%, rgba(26,23,20,.92) 100%), var(--hero-img);
  background-size: cover; background-position: center;
}
.home-hero-content { padding: 3rem 3rem 3.2rem; max-width: 640px; color: #fdfaf3; }
.home-hero .kicker {
  display: inline-flex; background: rgba(250,247,240,.16); border: 1px solid rgba(250,247,240,.35);
  padding: .35rem .9rem; border-radius: 100px; font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; margin-bottom: 1rem; backdrop-filter: blur(6px);
}
.home-hero h1 { color: #fdfaf3; font-size: clamp(2rem, 4.6vw, 3.4rem); margin-bottom: .9rem; }
.home-hero p { color: rgba(253,250,243,.85); font-size: 1.05rem; max-width: 540px; margin-bottom: 1.4rem; }
@media (max-width: 719px) { .home-hero-content { padding: 2rem 1.5rem 2.2rem; } }

.section-head { display: flex; align-items: baseline; justify-content: space-between; margin: 3.5rem auto 1.6rem; max-width: var(--max); padding: 0 1.25rem; }
.section-title { font-size: clamp(1.5rem, 3vw, 2rem); }
.section-title em { color: var(--accent); font-style: italic; }
.section-link { font-size: .86rem; font-weight: 600; color: var(--accent); }

.chip-row { display: flex; gap: .6rem; flex-wrap: wrap; max-width: var(--max); margin: 0 auto 2rem; padding: 0 1.25rem; }
.chip {
  padding: .5rem 1.1rem; border-radius: 100px; border: 1px solid var(--line); font-size: .84rem; font-weight: 600;
  color: var(--ink-mute); transition: all .2s var(--ease-out);
}
.chip.active, .chip:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
@media (max-width: 959px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 639px) { .grid { grid-template-columns: 1fr; } }

.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), border-color .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: rgba(168,67,44,.25); }
.card-img { aspect-ratio: 16/10; background-size: cover; background-position: center; position: relative; }
.card-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(26,23,20,0) 55%, rgba(26,23,20,.35) 100%); }
.card-badge { position: absolute; top: 12px; left: 12px; z-index: 1; background: var(--accent); color: #fff;
  font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: .3rem .8rem; border-radius: 100px; }
.card-body { padding: 1.3rem; flex: 1; display: flex; flex-direction: column; }
.card-cat { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--accent); margin-bottom: .6rem; }
.card-title { font-size: 1.12rem; font-weight: 500; line-height: 1.32; margin-bottom: .6rem; transition: color .2s; }
.card:hover .card-title { color: var(--accent); }
.card-exc { font-size: .88rem; line-height: 1.6; color: var(--ink-mute); flex: 1; margin-bottom: 1rem; }
.card-foot { display: flex; justify-content: space-between; align-items: center; padding-top: .9rem; border-top: 1px solid var(--line-soft); }
.card-date { font-size: .76rem; color: var(--ink-faint); }
.card-arrow { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); display: flex; align-items: center;
  justify-content: center; font-size: .9rem; transition: all .2s; }
.card:hover .card-arrow { background: var(--accent); border-color: var(--accent); color: #fff; }

.newsletter-cta {
  max-width: var(--max); margin: 5rem auto 3rem; padding: 3rem 2rem; text-align: center;
  background: linear-gradient(135deg, var(--ink) 0%, #2a241c 100%); border-radius: var(--r-lg); color: #fdfaf3;
}
.newsletter-cta h2 { color: #fdfaf3; margin-bottom: .8rem; }
.newsletter-cta p { color: rgba(253,250,243,.7); max-width: 480px; margin: 0 auto 1.6rem; }
.nl-form { display: flex; gap: .6rem; max-width: 420px; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.nl-form input {
  flex: 1; min-width: 200px; padding: .85rem 1.2rem; border-radius: 100px; border: 1px solid rgba(250,247,240,.25);
  background: rgba(250,247,240,.08); color: #fdfaf3; font: inherit;
}
.nl-form input::placeholder { color: rgba(250,247,240,.45); }

/* =============================================================
   18. Responsive tweaks for shared header/nav sections
   ============================================================= */
@media (max-width: 719px) {
  .article-header, .art-header, .ah, header.hero-wrap, header.hero-bg, header[class*="hero"], section.hero { padding: 1.6rem 1.3rem 2rem; min-height: 260px; }
  .pz-footer .container { gap: 1.8rem; }
}

/* =============================================================
   19. Reduced motion (only intrusive effects)
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  #progress-bar, #reading-progress, #rp, #pb { transition: none; }
}
