/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg: #f6faf9;
  --bg-alt: #eef5f3;
  --surface: #ffffff;
  --ink: #0a0a0a;
  --ink-soft: #55605d;
  --line: #dfe8e5;
  --accent: #00bfa6;
  --accent-ink: #06231d;
  --accent-soft: #e0f7f3;
  --gold: #0a0a0a;
  --danger: #c4432c;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 8px 24px -12px rgba(10, 10, 10, 0.14);
  --shadow-lg: 0 20px 48px -16px rgba(10, 10, 10, 0.2);
  --serif: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --footer-bg: #0a0a0a;
  --footer-ink: #f2f5f4;
  --footer-ink-soft: #a9b3b0;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --container: 1220px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0d1211;
    --bg-alt: #121a18;
    --surface: #141c1a;
    --ink: #eef5f3;
    --ink-soft: #9fb0ac;
    --line: #24322f;
    --accent: #1fe0c2;
    --accent-ink: #06231d;
    --accent-soft: #16302b;
    --gold: #eef5f3;
    --shadow: 0 8px 24px -12px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 20px 48px -16px rgba(0, 0, 0, 0.6);
  }
}
:root[data-theme="dark"] {
  --bg: #0d1211;
  --bg-alt: #121a18;
  --surface: #141c1a;
  --ink: #eef5f3;
  --ink-soft: #9fb0ac;
  --line: #24322f;
  --accent: #1fe0c2;
  --accent-ink: #06231d;
  --accent-soft: #16302b;
  --gold: #eef5f3;
  --shadow: 0 8px 24px -12px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 48px -16px rgba(0, 0, 0, 0.6);
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; tab-size: 2; scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  background: var(--bg);
  color: var(--ink);
  -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(--serif); font-weight: 600; }
ul, ol { padding: 0; list-style: none; }
table { border-collapse: collapse; width: 100%; }
::selection { background: var(--accent); color: var(--accent-ink); }
: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: 500;
}
.skip-link:focus { top: 1rem; }

/* =============================================================
   3. Utilities
   ============================================================= */
.container { max-width: var(--container); margin-inline: auto; padding-inline: 1.25rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.section { padding-block: clamp(2.5rem, 5vw, 5rem); }
.section-alt { background: var(--bg-alt); }
.eyebrow { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); font-weight: 700; margin-bottom: .5rem; display: block; }
.lede { color: var(--ink-soft); font-size: 1.05rem; max-width: 62ch; }
.grid { display: grid; gap: 1.5rem; }
.badge {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .3rem .65rem; border-radius: 999px; font-size: .78rem; font-weight: 600;
  background: var(--accent-soft); color: var(--accent);
}
.badge-gold { background: color-mix(in srgb, var(--danger) 16%, transparent); color: var(--danger); }

/* =============================================================
   4. Typography
   ============================================================= */
h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); }
.section-head { max-width: 68ch; margin-bottom: 2rem; }
.section-head h2 { margin-bottom: .6rem; }

/* =============================================================
   5. Components
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.5rem; border-radius: 999px; font-weight: 600; font-size: .95rem;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), background .2s var(--ease-out);
}
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: var(--shadow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-outline { border: 1.5px solid var(--line); color: var(--ink); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-block { width: 100%; }
.btn-sm { padding: .55rem 1rem; font-size: .85rem; }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
}

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  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)) { .nav { background: var(--bg); } }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .9rem; }
.nav-brand { font-family: var(--serif); font-weight: 800; font-size: 1.3rem; display: flex; align-items: center; gap: .55rem; letter-spacing: -0.01em; }
.nav-brand-dot {
  width: 12px; height: 12px; border-radius: 4px; flex: none;
  background: linear-gradient(135deg, var(--accent), #06897a);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.footer-brand .nav-brand-dot { box-shadow: 0 0 0 4px rgba(0,191,166,0.18); }
.nav-links { display: none; align-items: center; gap: 1.6rem; font-size: .92rem; font-weight: 500; }
.nav-links a { color: var(--ink-soft); transition: color .2s var(--ease-out); }
.nav-links a:hover { color: var(--ink); }
.nav-links a.nav-cta, .nav-links a.nav-cta:hover {
  color: var(--accent-ink); background: var(--accent); padding: .5rem 1.05rem; border-radius: 999px;
}
.nav-toggle { display: inline-flex; }
@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
}
.nav-mobile { display: none; flex-direction: column; gap: .2rem; padding: .5rem 0 1rem; border-top: 1px solid var(--line); }
.nav-mobile.is-open { display: flex; }
.nav-mobile a { padding: .65rem .2rem; color: var(--ink-soft); }
@media (min-width: 960px) { .nav-mobile { display: none !important; } }

/* Hero */
.hero { padding-block: clamp(3rem, 7vw, 6rem) clamp(2.5rem, 5vw, 4rem); }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.1fr .9fr; } }
.hero h1 { margin-bottom: 1rem; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 1.75rem; }
.hero-stat b { display: block; font-family: var(--serif); font-size: 1.6rem; color: var(--accent); }
.hero-stat span { font-size: .82rem; color: var(--ink-soft); }
.hero-figure { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3; background: var(--bg-alt); }
.hero-figure::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(155deg, rgba(0,191,166,0.20) 0%, rgba(10,10,10,0.16) 100%);
}
.hero-badge-corner {
  position: absolute; left: 1rem; bottom: 1rem; z-index: 1;
  background: rgba(10,10,10,0.72); color: #fff; backdrop-filter: blur(6px);
  padding: .5rem .9rem; border-radius: 999px; font-size: .8rem; font-weight: 600;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.75rem; }

/* Trust / cómo elegimos */
.trust-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.trust-card { padding: 1.5rem; }
.trust-card .num { font-family: var(--serif); font-size: 1.6rem; color: var(--accent); display: block; margin-bottom: .4rem; }

/* Product card */
.product-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.product-card { display: flex; flex-direction: column; transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out); }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product-card-img { aspect-ratio: 4/3; background: var(--bg-alt); overflow: hidden; position: relative; }
.product-card-img img { width: 100%; height: 100%; object-fit: cover; }
.product-card-badge { position: absolute; top: .7rem; left: .7rem; }
.product-card-body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.product-card-brand { font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-soft); }
.product-card-name { font-size: 1.02rem; line-height: 1.3; min-height: 2.6em; }
.product-card-name a { color: var(--ink); }
.product-card-rating { display: flex; align-items: center; gap: .4rem; font-size: .85rem; color: var(--ink-soft); }
.product-card-rating .stars { color: var(--gold); }
.product-card-price { display: flex; align-items: baseline; gap: .5rem; margin-top: .2rem; }
.price-now { font-family: var(--serif); font-size: 1.3rem; font-weight: 700; }
.price-before { font-size: .85rem; color: var(--ink-soft); text-decoration: line-through; }
.product-card-foot { margin-top: auto; padding-top: .6rem; display: flex; gap: .5rem; }
.compare-check { display: flex; align-items: center; gap: .4rem; font-size: .78rem; color: var(--ink-soft); }

/* Ficha */
.ficha { padding-block: clamp(2rem, 5vw, 3.5rem); }
.ficha-top { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .ficha-top { grid-template-columns: 1fr 1fr; } }
.ficha-galeria-main { border-radius: var(--radius); overflow: hidden; aspect-ratio: 1/1; background: var(--bg-alt); box-shadow: var(--shadow); }
.ficha-galeria-main img { width: 100%; height: 100%; object-fit: cover; }
.ficha-thumbs { display: flex; gap: .6rem; margin-top: .8rem; flex-wrap: wrap; }
.ficha-thumbs button { width: 64px; height: 64px; border-radius: 8px; overflow: hidden; border: 2px solid transparent; }
.ficha-thumbs button.is-active { border-color: var(--accent); }
.ficha-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.ficha-marca { text-transform: uppercase; font-size: .8rem; letter-spacing: .06em; color: var(--accent); font-weight: 700; }
.ficha-nombre { margin-block: .35rem .6rem; }
.ficha-rating { display: flex; align-items: center; gap: .5rem; color: var(--ink-soft); font-size: .95rem; margin-bottom: 1rem; }
.ficha-rating .stars { color: var(--gold); font-size: 1.05rem; }
.ficha-precio { display: flex; align-items: baseline; gap: .7rem; flex-wrap: wrap; margin-bottom: .4rem; }
.ficha-precio .precio-actual { font-family: var(--serif); font-size: 2rem; font-weight: 700; }
.ficha-precio .precio-antes { font-size: 1.05rem; color: var(--ink-soft); text-decoration: line-through; }
.precio-nota { font-size: .82rem; color: var(--ink-soft); margin-bottom: 1.3rem; }
.btn-comprar { margin-top: .4rem; }
.ficha-section { margin-top: clamp(2.5rem, 5vw, 4rem); }
.ficha-section h2 { margin-bottom: 1.1rem; }
.specs-table { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.specs-table tr { border-bottom: 1px solid var(--line); }
.specs-table tr:last-child { border-bottom: none; }
.specs-table th, .specs-table td { text-align: left; padding: .7rem 1rem; font-size: .92rem; }
.specs-table th { color: var(--ink-soft); font-weight: 500; width: 45%; background: var(--bg-alt); }
.specs-group-title { background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; padding: .5rem 1rem; }
.editorial-cuerpo p { margin-bottom: 1rem; color: var(--ink-soft); }
.pros-contras { display: grid; gap: 1.2rem; margin-top: 1.5rem; }
@media (min-width: 640px) { .pros-contras { grid-template-columns: 1fr 1fr; } }
.pros-contras > div { padding: 1.2rem; border-radius: var(--radius); }
.pros-contras .pros { background: var(--accent-soft); }
.pros-contras .contras { background: color-mix(in srgb, var(--danger) 10%, transparent); }
.pros-contras li { position: relative; padding-left: 1.4rem; margin-bottom: .5rem; font-size: .92rem; }
.pros-contras .pros li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.pros-contras .contras li::before { content: "–"; position: absolute; left: 0; color: var(--danger); font-weight: 700; }
.ideal-para { margin-top: 1.3rem; padding: 1rem 1.2rem; border-left: 3px solid var(--gold); background: var(--bg-alt); border-radius: 0 8px 8px 0; }
.resenas-list li { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.resenas-list .resena-head { display: flex; justify-content: space-between; font-size: .85rem; color: var(--ink-soft); margin-bottom: .3rem; }
.similares-strip { display: flex; gap: 1rem; overflow-x: auto; overflow-y: visible; padding-block: .5rem .8rem; }
.similares-strip .product-card { min-width: 220px; flex: 0 0 auto; }
.aviso-afiliados { margin-top: 2.5rem; padding: 1rem; font-size: .82rem; color: var(--ink-soft); background: var(--bg-alt); border-radius: var(--radius); }

/* Radar */
.radar-wrap { display: flex; flex-direction: column; align-items: center; gap: .6rem; }
.radar-wrap svg { max-width: 340px; width: 100%; }
.radar-legend { display: flex; flex-wrap: wrap; gap: .6rem 1rem; justify-content: center; font-size: .82rem; color: var(--ink-soft); }
.radar-legend .dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: .35rem; vertical-align: middle; }

/* Comparador */
.comparador-picker { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.5rem; }
.comparador-picker select { padding: .6rem .9rem; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); min-width: 220px; }
.comparador-table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); }
.comparador-table { min-width: 640px; }
.comparador-table th, .comparador-table td { padding: .8rem 1rem; border-bottom: 1px solid var(--line); font-size: .9rem; text-align: left; }
.comparador-table th.col-producto { min-width: 200px; }
.comparador-table td.is-best { background: var(--accent-soft); font-weight: 700; color: var(--accent); }
.comparador-table .remove-badge {
  position: relative; top: -2px; margin-left: .4rem; width: 20px; height: 20px; border-radius: 50%;
  background: var(--danger); color: #fff; font-size: .7rem; display: inline-flex; align-items: center; justify-content: center;
}
.comparador-empty { padding: 3rem 1.5rem; text-align: center; color: var(--ink-soft); }

/* Category intro */
.category-intro { max-width: 70ch; margin-bottom: 2rem; color: var(--ink-soft); }
.filters-bar { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: 1.5rem; align-items: center; }
.filters-bar select { padding: .55rem .8rem; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); }

/* Guide / ranking */
.guide-body p { margin-bottom: 1.1rem; color: var(--ink-soft); max-width: 72ch; }
.guide-body h2 { margin-top: 2rem; margin-bottom: .8rem; }
.ranking-list { counter-reset: rank; display: flex; flex-direction: column; gap: 1rem; }
.ranking-item { display: grid; grid-template-columns: auto 90px 1fr; gap: 1rem; align-items: center; padding: 1rem; }
.ranking-item .rank-num { font-family: var(--serif); font-size: 1.8rem; color: var(--accent); font-weight: 700; }
.ranking-item img { width: 90px; height: 90px; object-fit: cover; border-radius: 8px; background: var(--bg-alt); }

/* Ofertas */
.oferta-pct { color: var(--danger); font-weight: 700; }

/* Footer — fixed dark brand background regardless of light/dark theme */
.footer { padding-block: 2.75rem; margin-top: 3rem; background: var(--footer-bg); color: var(--footer-ink); }
.footer .lede { color: var(--footer-ink-soft); }
.footer-grid { display: grid; gap: 1.5rem; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.footer-brand { font-family: var(--serif); font-weight: 800; font-size: 1.2rem; margin-bottom: .5rem; color: var(--footer-ink); letter-spacing: -0.01em; }
.footer-links a { display: block; padding: .3rem 0; color: var(--footer-ink-soft); font-size: .9rem; }
.footer-links a:hover { color: var(--accent); }
.footer-legal { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.12); font-size: .78rem; color: var(--footer-ink-soft); }

/* =============================================================
   6b. Quiz — "Descubre tu silla ideal" (dark, premium sub-theme)
   ============================================================= */
.quiz-hero {
  background: linear-gradient(160deg, #071210, #0d1d19);
  padding-block: clamp(2.25rem, 5vw, 3.5rem) 2rem;
}
.quiz-hero .eyebrow { color: var(--accent); }
.quiz-hero h1 { color: #ffffff; margin-block: .3rem .6rem; }
.quiz-hero .lede { color: #b7c7c2; max-width: 60ch; }

.quiz-section { background: #0a0f0e; padding-block: 0 clamp(2.5rem, 5vw, 4rem); }

.quiz-app {
  background: #101917;
  border: 1px solid #1c2b27;
  border-radius: 20px;
  padding: clamp(1.15rem, 4vw, 2.5rem);
  box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.6);
  max-width: 760px;
  margin-inline: auto;
  color: #f2f7f5;
}

.quiz-progress-wrap { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.75rem; }
.quiz-progress-bar { flex: 1; height: 8px; border-radius: 999px; background: #1c2b27; overflow: hidden; min-width: 0; }
.quiz-progress-fill { height: 100%; width: 16.66%; background: linear-gradient(90deg, var(--accent), #06897a); border-radius: 999px; transition: width .4s var(--ease-out); }
.quiz-progress-label { font-size: .8rem; color: #9db3ac; font-weight: 600; white-space: nowrap; flex: none; }

.quiz-question { animation: quizSlideIn .35s var(--ease-out); }
@keyframes quizSlideIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .quiz-question { animation: none; } }
.quiz-question h2 { font-size: clamp(1.25rem, 3vw, 1.7rem); color: #ffffff; margin-bottom: 1.25rem; }

.quiz-options { display: grid; gap: .7rem; }
.quiz-option {
  display: flex; align-items: center; gap: 1rem;
  width: 100%; min-height: 64px;
  padding: .85rem 1.1rem;
  border-radius: 14px;
  border: 1.5px solid #22332e;
  background: #141f1c;
  color: #f2f7f5;
  cursor: pointer;
  text-align: left;
  transition: border-color .2s var(--ease-out), background .2s var(--ease-out), transform .15s var(--ease-out);
}
.quiz-option:hover { border-color: var(--accent); background: #17251f; transform: translateY(-1px); }
.quiz-option.is-selected { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 18%, #141f1c); box-shadow: 0 0 0 2px var(--accent) inset; }
.quiz-option-icon { font-size: 1.5rem; flex: none; width: 2.1rem; text-align: center; }
.quiz-option-text { min-width: 0; }
.quiz-option-text strong { display: block; font-size: 1rem; margin-bottom: .12rem; }
.quiz-option-text span { display: block; font-size: .84rem; color: #9db3ac; }
.quiz-option.is-selected .quiz-option-text span { color: #cfe4de; }

.quiz-nav { margin-top: 1.5rem; }
.quiz-btn-back { min-height: 48px; border-color: #2c3f39; color: #cfe4de; background: transparent; }
.quiz-btn-back:hover { border-color: var(--accent); color: var(--accent); }
.quiz-btn-back[hidden] { display: none; }

.quiz-results { color: #f2f7f5; }
.quiz-profile { background: #141f1c; border: 1px solid #22332e; border-radius: 16px; padding: 1.5rem; margin-bottom: 1.75rem; text-align: center; }
.quiz-profile-emoji { font-size: 2.3rem; }
.quiz-profile-name { color: var(--accent); font-family: var(--serif); font-weight: 800; font-size: 1.25rem; margin-block: .4rem .5rem; }
.quiz-profile-desc { color: #b7c7c2; max-width: 56ch; margin-inline: auto; }

.quiz-aviso { background: rgba(224, 172, 82, 0.12); border: 1px solid #3a4a44; padding: .8rem 1rem; border-radius: 10px; font-size: .85rem; color: #cfe4de; margin-bottom: 1.5rem; }

.quiz-rec-card { background: #141f1c; border: 1px solid #22332e; border-radius: 18px; padding: 1.4rem; display: grid; gap: 1.2rem; margin-bottom: 1.5rem; }
@media (min-width: 640px) { .quiz-rec-card { grid-template-columns: 170px 1fr; } }
.quiz-rec-img { width: 100%; aspect-ratio: 1/1; border-radius: 12px; overflow: hidden; background: #1c2b27; display: flex; align-items: center; justify-content: center; }
.quiz-rec-img img { width: 100%; height: 100%; object-fit: contain; }
.quiz-rec-noimg { font-size: 2.4rem; opacity: .5; }
.quiz-rec-body { min-width: 0; }
.quiz-rec-title { font-size: 1.1rem; margin-bottom: .35rem; color: #fff; }
.quiz-rec-title small { display: block; color: #9db3ac; font-weight: 600; font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: .15rem; }
.quiz-rec-highlight { color: #b7c7c2; margin-bottom: .7rem; font-size: .92rem; }
.quiz-rec-price { display: flex; align-items: baseline; gap: .6rem; margin-bottom: .5rem; flex-wrap: wrap; }
.quiz-rec-price .now { font-family: var(--serif); font-size: 1.4rem; font-weight: 700; color: #fff; }
.quiz-rec-price .before { text-decoration: line-through; color: #7f9089; font-size: .9rem; }
.quiz-rec-rating { color: #9db3ac; font-size: .88rem; margin-bottom: .7rem; }
.quiz-rec-rating .stars { color: #f5b942; }
.quiz-pills { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: .9rem; }
.quiz-pill { background: #1c2b27; border: 1px solid #2c3f39; padding: .32rem .65rem; border-radius: 999px; font-size: .76rem; color: #cfe4de; }
.quiz-compat-bar-wrap { margin-bottom: 1rem; }
.quiz-compat-label { display: flex; justify-content: space-between; font-size: .8rem; color: #9db3ac; margin-bottom: .3rem; }
.quiz-compat-bar { height: 9px; border-radius: 999px; background: #1c2b27; overflow: hidden; }
.quiz-compat-fill { height: 100%; background: linear-gradient(90deg, var(--accent), #06897a); border-radius: 999px; }
.quiz-rec-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.btn-amazon { background: #ff9900; color: #0a0a0a; min-height: 48px; }
.btn-amazon:hover { background: #0a0a0a; color: #fff; }
.btn-dark { background: #333333; color: #fff; min-height: 48px; }
.btn-dark:hover { background: #000000; }

.quiz-why { background: #141f1c; border-left: 3px solid var(--accent); padding: 1rem 1.2rem; border-radius: 0 12px 12px 0; color: #cfe4de; margin-bottom: 1.5rem; font-size: .92rem; }

.quiz-second-label { font-weight: 700; margin-bottom: .8rem; color: #fff; }

.quiz-repeat-wrap { text-align: center; margin-top: 1.5rem; }
.btn-quiz-repeat { background: transparent; border: 1.5px solid var(--accent); color: var(--accent); min-height: 48px; }
.btn-quiz-repeat:hover { background: var(--accent); color: #06231d; }

/* Legal pages */
.legal-body { max-width: 74ch; }
.legal-body h2 { margin-top: 1.8rem; margin-bottom: .6rem; }
.legal-body p, .legal-body li { color: var(--ink-soft); margin-bottom: .8rem; }
.legal-body li { padding-left: 1.2rem; position: relative; }
.legal-body li::before { content: "–"; position: absolute; left: 0; }

/* =============================================================
   7. Effects
   ============================================================= */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* =============================================================
   9. Reduced motion — only intrusive effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .marquee { animation: none; }
}
