/* =============================================================
   Capitagora — comparador de hogar · estética limpia tipo Apple
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg:        #fbfbfd;
  --bg-2:      #f5f5f7;
  --panel:     #ffffff;
  --ink:       #1d1d1f;
  --ink-soft:  #424245;
  --ink-mute:  #6e6e73;
  --accent:    #0071e3;
  --accent-ink:#0066cc;
  --good:      #1a9e57;
  --bad:       #d0402b;
  --gold:      #f5a623;
  --line:      rgba(0,0,0,0.10);
  --line-soft: rgba(0,0,0,0.06);
  --nav-bg:    rgba(251,251,253,0.72);
  --shadow:    0 10px 40px rgba(0,0,0,0.08);
  --shadow-lg: 0 24px 70px rgba(0,0,0,0.14);

  --radius:    18px;
  --radius-lg: 28px;
  --maxw:      1120px;

  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

[data-theme="dark"] {
  --bg:        #000000;
  --bg-2:      #0a0a0a;
  --panel:     #161617;
  --ink:       #f5f5f7;
  --ink-soft:  #d2d2d7;
  --ink-mute:  #86868b;
  --accent:    #2997ff;
  --accent-ink:#2997ff;
  --good:      #35c07f;
  --bad:       #ff6a55;
  --gold:      #ffb838;
  --line:      rgba(255,255,255,0.14);
  --line-soft: rgba(255,255,255,0.08);
  --nav-bg:    rgba(0,0,0,0.62);
  --shadow:    0 10px 40px rgba(0,0,0,0.5);
  --shadow-lg: 0 24px 70px rgba(0,0,0,0.6);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:#000000; --bg-2:#0a0a0a; --panel:#161617;
    --ink:#f5f5f7; --ink-soft:#d2d2d7; --ink-mute:#86868b;
    --accent:#2997ff; --accent-ink:#2997ff; --good:#35c07f; --bad:#ff6a55; --gold:#ffb838;
    --line:rgba(255,255,255,0.14); --line-soft:rgba(255,255,255,0.08);
    --nav-bg:rgba(0,0,0,0.62); --shadow:0 10px 40px rgba(0,0,0,0.5); --shadow-lg:0 24px 70px 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;
  overflow-x: clip;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
  transition: background .4s var(--ease-out), color .4s var(--ease-out);
}
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.06; letter-spacing: -0.022em; font-weight: 600; }
::selection { background: var(--accent); color: #fff; }

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

/* =============================================================
   3. Utilities
   ============================================================= */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }
.wide { max-width: 1320px; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0 0 0 0); border:0; }
.skip-link {
  position: fixed; top: -100px; left: 1rem; padding: .6rem 1rem;
  background: var(--panel); color: var(--ink); z-index: 9999; border-radius: 10px;
  font-weight: 600; box-shadow: var(--shadow);
}
.skip-link:focus { top: 1rem; }

.eyebrow {
  font-size: .82rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--accent-ink);
}
.section { padding-block: clamp(60px, 8vw, 110px); }
.section-head { max-width: 720px; margin: 0 auto clamp(32px, 5vw, 56px); text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 4.4vw, 3.2rem); letter-spacing: -0.03em; }
.section-head p { margin-top: 14px; color: var(--ink-mute); font-size: clamp(1.02rem, 1.6vw, 1.2rem); }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* =============================================================
   4. Buttons
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .72em 1.35em; border-radius: 980px; font-weight: 600; font-size: .98rem;
  transition: transform .3s var(--ease-out), background .3s var(--ease-out), color .3s, box-shadow .3s;
  will-change: transform;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { transform: scale(1.04); box-shadow: 0 8px 26px rgba(0,113,227,.4); }
.btn-ghost { color: var(--accent-ink); }
.btn-ghost:hover { color: var(--accent); }
.btn-ghost .arw { transition: transform .3s var(--ease-out); }
.btn-ghost:hover .arw { transform: translateX(4px); }
.btn-buy {
  display: inline-flex; align-items: center; gap: .55em; justify-content: center;
  background: var(--accent); color: #fff; padding: .78em 1.5em; border-radius: 980px; font-weight: 600;
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
.btn-buy:hover { transform: scale(1.035); box-shadow: 0 10px 28px rgba(0,113,227,.4); }
.btn-buy svg { width: 16px; height: 16px; }

/* =============================================================
   5. Nav + mega menú
   ============================================================= */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  height: 54px; display: flex; align-items: center;
  background: var(--nav-bg);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.nav.is-scrolled { border-bottom-color: var(--line-soft); }
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: 18px; }

.brand-word {
  font-weight: 800; font-size: 1.25rem; letter-spacing: -0.035em; color: var(--ink);
}

.nav-links { display: none; gap: 26px; font-size: .92rem; color: var(--ink-soft); align-items: center; }
.nav-links a { transition: color .25s; }
.nav-links a:hover { color: var(--ink); }
.menu-btn {
  display: inline-flex; align-items: center; gap: 6px; font-size: .92rem; font-weight: 500;
  color: var(--ink-soft); transition: color .25s; padding: 6px 0;
}
.menu-btn:hover, .menu-btn.open { color: var(--ink); }
.menu-btn .chev { transition: transform .3s var(--ease-out); font-size: .7em; }
.menu-btn.open .chev { transform: rotate(180deg); }

.nav-right { display: flex; align-items: center; gap: 12px; }
.theme-toggle {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--ink-soft); transition: transform .3s var(--ease-out), color .25s, border-color .25s;
}
.theme-toggle:hover { transform: scale(1.08); color: var(--ink); border-color: var(--ink-mute); }
.theme-toggle .moon { display: none; }
[data-theme="dark"] .theme-toggle .sun { display: none; }
[data-theme="dark"] .theme-toggle .moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .sun { display: none; }
  :root:not([data-theme="light"]) .theme-toggle .moon { display: block; }
}
@media (min-width: 900px) { .nav-links { display: flex; } }
.nav .menu-btn { display: inline-flex; } /* visible también en móvil */

/* Mega panel */
.mega {
  position: fixed; top: 62px; left: 50%; transform: translateX(-50%) translateY(-8px);
  width: min(980px, calc(100vw - 20px));
  max-height: calc(100vh - 90px); max-height: calc(100dvh - 90px); overflow: auto;
  background: var(--panel); border: 1px solid var(--line-soft);
  border-radius: 22px; box-shadow: var(--shadow-lg); padding: 26px;
  opacity: 0; pointer-events: none; z-index: 990;
  transition: opacity .28s var(--ease-out), transform .28s var(--ease-out);
}
.mega.open { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.mega-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 20px; }
@media (min-width: 720px) { .mega-grid { grid-template-columns: repeat(4, 1fr); } }
.mega h6 { font-size: .86rem; font-weight: 700; display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.mega h6 svg { width: 16px; height: 16px; color: var(--accent-ink); flex: 0 0 auto; }
.mega ul { list-style: none; display: grid; gap: 7px; padding: 0; }
.mega ul a { font-size: .87rem; color: var(--ink-mute); transition: color .2s; }
.mega ul a:hover { color: var(--accent-ink); }

/* =============================================================
   6. Hero (comparador: buscador + chips)
   ============================================================= */
.hero {
  min-height: 78vh; min-height: 78svh;
  display: grid; place-items: center; text-align: center;
  padding: 130px 22px 70px; position: relative; overflow: hidden;
}
.hero-glow {
  position: absolute; inset: -20% -10% auto -10%; height: 85%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(38% 48% at 28% 22%, rgba(0,113,227,.14), transparent 70%),
    radial-gradient(38% 48% at 74% 14%, rgba(111,75,255,.12), transparent 70%);
  filter: blur(30px);
}
.hero-inner { position: relative; z-index: 1; max-width: 860px; width: 100%; }
.hero .eyebrow { display: block; margin-bottom: 18px; }
.hero h1 { font-size: clamp(2.4rem, 7vw, 5rem); letter-spacing: -0.04em; line-height: 1.03; }
.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--accent), #6f4bff);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-sub {
  margin: 20px auto 0; max-width: 640px; font-size: clamp(1.05rem, 1.9vw, 1.3rem);
  color: var(--ink-mute); font-weight: 400;
}

.hero-search {
  margin: 34px auto 0; max-width: 620px; display: flex; gap: 8px;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 980px; padding: 7px 7px 7px 22px;
  box-shadow: var(--shadow);
  transition: box-shadow .3s, border-color .3s;
}
.hero-search:focus-within { border-color: var(--accent); box-shadow: 0 12px 40px rgba(0,113,227,.18); }
.hero-search svg { width: 18px; height: 18px; color: var(--ink-mute); align-self: center; flex: 0 0 auto; }
.hero-search input {
  flex: 1; min-width: 0; border: 0; background: none; color: var(--ink);
  font: inherit; font-size: 1rem; outline: none; padding-inline: 10px;
}
.hero-search input::placeholder { color: var(--ink-mute); }
.hero-search button {
  background: var(--accent); color: #fff; border-radius: 980px; padding: .6em 1.3em; font-weight: 600;
  transition: transform .3s var(--ease-out);
}
.hero-search button:hover { transform: scale(1.04); }

.chips { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.chip {
  font-size: .86rem; color: var(--ink-soft); border: 1px solid var(--line);
  border-radius: 980px; padding: .42em 1em;
  transition: border-color .25s, color .25s, background .25s, transform .3s var(--ease-out);
}
.chip:hover { border-color: var(--accent); color: var(--accent-ink); transform: translateY(-2px); }

.hero-note { margin-top: 26px; font-size: .84rem; color: var(--ink-mute); }

/* =============================================================
   7. Tiles de categorías (iconos)
   ============================================================= */
.tiles { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .tiles { grid-template-columns: repeat(5, 1fr); } }
.tile {
  background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 24px 16px 20px; text-align: center; box-shadow: var(--shadow);
  transition: transform .35s var(--ease-out), box-shadow .35s, border-color .35s;
}
.tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(0,113,227,.35); }
.tile .ico {
  width: 52px; height: 52px; border-radius: 16px; margin: 0 auto 12px;
  display: grid; place-items: center; color: var(--accent-ink);
  background: linear-gradient(135deg, rgba(0,113,227,.10), rgba(111,75,255,.10));
  transition: transform .35s var(--ease-out);
}
.tile:hover .ico { transform: scale(1.1); }
.tile .ico svg { width: 26px; height: 26px; }
.tile h3 { font-size: .98rem; letter-spacing: -0.01em; }
.tile p { font-size: .8rem; color: var(--ink-mute); margin-top: 3px; }

/* =============================================================
   8. Cómo elegimos (pasos)
   ============================================================= */
.steps { display: grid; gap: 30px; grid-template-columns: 1fr; text-align: center; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step .n {
  font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 800; letter-spacing: -0.03em;
  background: linear-gradient(120deg, var(--accent), #6f4bff);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.step h4 { margin-top: 6px; font-size: 1.12rem; }
.step p { margin-top: 6px; color: var(--ink-mute); font-size: .95rem; }

/* =============================================================
   9. Top picks / ranking cards
   ============================================================= */
.picks { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .picks { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1040px) { .picks { grid-template-columns: repeat(3,1fr); } }
.pick {
  position: relative; background: var(--panel); border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: 26px 24px 24px; box-shadow: var(--shadow);
  transition: transform .4s var(--ease-out), box-shadow .4s;
  display: flex; flex-direction: column;
}
.pick:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pick .rank {
  position: absolute; top: -14px; left: 22px; width: 34px; height: 34px; border-radius: 50%;
  background: var(--ink); color: var(--bg); display: grid; place-items: center; font-weight: 700; font-size: .95rem;
  box-shadow: var(--shadow);
}
.pick .tag { font-size: .74rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--accent-ink); }
.pick h3 { font-size: 1.24rem; margin: 8px 0 6px; letter-spacing: -0.02em; }
.pick .desc { color: var(--ink-mute); font-size: .95rem; flex: 1; }
.pick .meta { display: flex; align-items: center; gap: 12px; margin: 16px 0; font-size: .88rem; color: var(--ink-soft); }
.stars { color: var(--gold); letter-spacing: 1px; }
.pick .price { font-weight: 600; }
.pick .btn-buy { width: 100%; }

/* =============================================================
   10. Servicios de Amazon (siempre oscuro)
   ============================================================= */
.services-band {
  background: linear-gradient(180deg, #0c0c11 0%, #16161e 100%);
  color: #f5f5f7;
  padding-block: clamp(60px, 8vw, 110px);
}
.services-band .eyebrow { color: #2997ff; }
.services-band .section-head h2 { color: #f5f5f7; }
.services-band .section-head p { color: rgba(245,245,247,.62); }
.svc-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .svc-grid { grid-template-columns: repeat(5, 1fr); } }
.svc {
  background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.10);
  border-radius: 20px; padding: 24px 20px; display: flex; flex-direction: column; gap: 8px;
  transition: transform .35s var(--ease-out), background .3s, border-color .3s;
}
.svc:hover { transform: translateY(-5px); background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.2); }
.svc .ico {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(41,151,255,.25), rgba(111,75,255,.25)); color: #7db9ff;
}
.svc .ico svg { width: 22px; height: 22px; }
.svc h3 { font-size: 1.05rem; color: #f5f5f7; }
.svc p { font-size: .85rem; color: rgba(245,245,247,.6); flex: 1; }
.svc .free { font-size: .8rem; font-weight: 700; color: #35c07f; }
.svc a {
  margin-top: 6px; font-size: .9rem; font-weight: 600; color: #2997ff;
  display: inline-flex; align-items: center; gap: 6px;
}
.svc a .arw { transition: transform .3s var(--ease-out); }
.svc:hover a .arw { transform: translateX(4px); }
.services-note { margin-top: 26px; text-align: center; font-size: .8rem; color: rgba(245,245,247,.45); }

/* =============================================================
   11. Guías / artículos
   ============================================================= */
.arts { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .arts { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1040px) { .arts { grid-template-columns: repeat(3,1fr); } }
.art {
  background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); transition: transform .4s var(--ease-out), box-shadow .4s;
  display: flex; flex-direction: column;
}
.art:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.art .thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--bg-2); }
.art .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out); }
.art:hover .thumb img { transform: scale(1.05); }
.art .body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.art .cat-label { font-size: .74rem; font-weight: 600; text-transform: uppercase; letter-spacing:.04em; color: var(--accent-ink); }
.art h3 { font-size: 1.18rem; letter-spacing: -0.02em; }
.art p { color: var(--ink-mute); font-size: .93rem; flex: 1; }
.art .read { margin-top: 6px; font-size: .88rem; font-weight: 600; color: var(--accent-ink); display: inline-flex; align-items: center; gap: 6px; }
.art .read .arw { transition: transform .3s var(--ease-out); }
.art:hover .read .arw { transform: translateX(4px); }
.search-count { text-align: center; margin-bottom: 22px; color: var(--ink-mute); font-size: .92rem; min-height: 1.3em; }

/* =============================================================
   12. Newsletter CTA
   ============================================================= */
.cta {
  border-radius: var(--radius-lg); padding: clamp(40px,6vw,72px) 26px; text-align: center;
  background:
    radial-gradient(60% 100% at 50% 0%, rgba(0,113,227,.16), transparent 70%),
    var(--panel);
  border: 1px solid var(--line-soft); box-shadow: var(--shadow);
}
.cta h2 { font-size: clamp(1.8rem,4vw,2.8rem); letter-spacing: -0.03em; }
.cta p { margin: 12px auto 0; max-width: 480px; color: var(--ink-mute); }
.cta form { margin: 26px auto 0; display: flex; gap: 10px; max-width: 440px; flex-wrap: wrap; }
.cta input {
  flex: 1; min-width: 200px; padding: .8em 1.1em; border-radius: 980px; border: 1px solid var(--line);
  background: var(--bg); color: var(--ink); font: inherit;
}
.cta input:focus { outline: 2px solid var(--accent); }
.cta .ok { margin-top: 14px; color: var(--good); font-weight: 600; font-size: .95rem; min-height: 1.2em; }

/* =============================================================
   13. Aviso de afiliación
   ============================================================= */
.disclosure {
  font-size: .82rem; color: var(--ink-mute); background: var(--bg-2);
  border: 1px solid var(--line-soft); border-radius: 14px; padding: 14px 18px; line-height: 1.5;
  display: flex; gap: 10px; align-items: flex-start;
}
.disclosure svg { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 1px; color: var(--accent-ink); }

/* =============================================================
   14. Footer
   ============================================================= */
.footer { border-top: 1px solid var(--line-soft); background: var(--bg-2); padding-block: 56px 40px; margin-top: 40px; }
.footer-grid { display: grid; gap: 34px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.footer .brand-word { font-size: 1.2rem; }
.footer .about { margin-top: 14px; color: var(--ink-mute); font-size: .92rem; max-width: 34ch; }
.footer h5 { font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-mute); margin-bottom: 14px; }
.footer ul { list-style: none; display: grid; gap: 10px; padding: 0; }
.footer a { color: var(--ink-soft); font-size: .93rem; transition: color .25s; }
.footer a:hover { color: var(--ink); }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line-soft);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; color: var(--ink-mute); font-size: .82rem; }

/* =============================================================
   15. Página de artículo
   ============================================================= */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 1100;
  background: linear-gradient(90deg, var(--accent), #6f4bff); transition: width .1s linear; }
.post-hero { padding-top: 120px; text-align: center; }
.post-hero .kicker { color: var(--accent-ink); font-weight: 600; text-transform: uppercase; letter-spacing:.05em; font-size:.82rem; }
.post-hero h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); letter-spacing: -0.035em; margin: 12px auto 0; max-width: 16ch; }
.post-meta { margin-top: 18px; color: var(--ink-mute); font-size: .92rem; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.post-lede { max-width: 680px; margin: 26px auto 0; font-size: 1.2rem; color: var(--ink-soft); }
.post-body { max-width: 720px; margin-inline: auto; }
.post-body > p { font-size: 1.1rem; color: var(--ink-soft); margin-block: 1.1em; }
.post-body h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-top: 1.6em; letter-spacing: -0.025em; }
.post-body h3 { font-size: 1.3rem; margin-top: 1.2em; }

.table-wrap { overflow-x: auto; margin: 26px 0; border: 1px solid var(--line-soft); border-radius: var(--radius); }
table.compare { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .95rem; }
table.compare th, table.compare td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line-soft); }
table.compare thead th { background: var(--bg-2); font-size: .8rem; text-transform: uppercase; letter-spacing: .03em; color: var(--ink-mute); }
table.compare tbody tr:last-child td { border-bottom: 0; }
table.compare .name { font-weight: 600; color: var(--ink); }
table.compare .best { color: var(--accent-ink); font-weight: 600; }
table.compare .stars { white-space: nowrap; }

.review {
  background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  padding: 28px; margin: 30px 0; box-shadow: var(--shadow); position: relative;
}
.review-head { display: flex; align-items: flex-start; gap: 16px; }
.review-rank { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: var(--bg);
  display: grid; place-items: center; font-weight: 700; font-size: 1.2rem; }
.review-head .h { flex: 1; }
.review-badge { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing:.04em;
  color: #fff; background: linear-gradient(120deg, var(--accent), #6f4bff); padding: 4px 10px; border-radius: 980px; display: inline-block; }
.review-head h3 { font-size: 1.4rem; margin-top: 8px; }
.review-sub { color: var(--ink-mute); font-size: .95rem; margin-top: 4px; }
.review-score { display: flex; align-items: center; gap: 10px; margin: 16px 0; }
.review-score .val { font-size: 1.5rem; font-weight: 700; }
.proscons { display: grid; gap: 18px; grid-template-columns: 1fr; margin: 18px 0; }
@media (min-width: 620px) { .proscons { grid-template-columns: 1fr 1fr; } }
.proscons ul { list-style: none; display: grid; gap: 8px; padding: 0; }
.proscons li { display: flex; gap: 8px; font-size: .95rem; color: var(--ink-soft); }
.proscons .pros li::before { content: "✓"; color: var(--good); font-weight: 700; }
.proscons .cons li::before { content: "✕"; color: var(--bad); font-weight: 700; }
.proscons h4 { font-size: .85rem; text-transform: uppercase; letter-spacing:.04em; color: var(--ink-mute); margin-bottom: 4px; }
.review-verdict { background: var(--bg-2); border-radius: 14px; padding: 16px 18px; font-size: .96rem; color: var(--ink-soft); margin: 8px 0 18px; }
.review-verdict strong { color: var(--ink); }
.review-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.review-price { font-size: 1.1rem; font-weight: 600; }
.review-price span { font-size: .82rem; color: var(--ink-mute); font-weight: 400; }

.toc { background: var(--bg-2); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 22px 24px; margin: 26px 0; }
.toc h4 { font-size: .82rem; text-transform: uppercase; letter-spacing:.05em; color: var(--ink-mute); margin-bottom: 12px; }
.toc ol { margin-left: 1.1em; display: grid; gap: 8px; color: var(--ink-soft); }
.toc a:hover { color: var(--accent-ink); }

.callout { border-left: 3px solid var(--accent); background: var(--bg-2); padding: 16px 20px; border-radius: 0 14px 14px 0; margin: 22px 0; color: var(--ink-soft); }

.related { border-top: 1px solid var(--line-soft); margin-top: 50px; padding-top: 40px; }

@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); }
