/* ==========================================================================
   HarmonyOS.es / .eu — hoja de estilos v1.0 (2026-10-10)
   Basada en la plantilla de sitio temático 1.1: tipografías Sora (titulares) e Instrument Sans
   (texto), paleta índigo/ultramar/jade, órbita de dispositivos en la portada, selector de idioma,
   catálogo de dispositivos, comparador, línea de tiempo, pilas de arquitectura y bloques de código.
   --- Comentario original de la plantilla:
   Sistema de diseño neutro. Para dar identidad a cada sitio:
     - colores: app/tema.php → 'colores' (se inyectan como variables CSS);
     - tipografías: sustituye las @font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 400 700; font-stretch: 75% 100%; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-latin-ext-wght-normal.woff2") format("woff2-variations");
  font-weight: 400 700; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-latin-wght-italic.woff2") format("woff2-variations");
  font-weight: 400 700; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Sora";
  src: url("../fonts/sora-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 800; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Sora";
  src: url("../fonts/sora-latin-ext-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 800; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  --ink: #14263a;
  --ink-2: #44566b;
  --ink-3: #6b7c8f;
  --paper: #f3f6f8;
  --surface: #ffffff;
  --line: #d6e0e8;
  --accent: #1f5fcc;
  --accent-soft: #e4edfb;
  --ok: #17895c;
  --ok-soft: #dcf2e7;
  --warn: #c98612;
  --warn-ink: #8a5a00;
  --warn-soft: #fbefd6;
  --bad: #c32d55;
  --bad-soft: #fae2e9;
  --ok-band: rgba(23, 137, 92, .12);

  --f-display: "Sora", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --f-text: "Instrument Sans", "Segoe UI", system-ui, sans-serif;

  --r-s: 8px;
  --r-m: 14px;
  --r-l: 24px;
  --wrap: 1200px;
  --measure: 68ch;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e8eef4;
    --ink-2: #b4c2d0;
    --ink-3: #8a9bad;
    --paper: #0f1a26;
    --surface: #162433;
    --line: #2a3b4d;
    --accent: #7fb0ff;
    --accent-soft: #1b3150;
    --ok: #4cc996;
    --ok-soft: #133528;
    --warn: #f0b54a;
    --warn-ink: #f0b54a;
    --warn-soft: #3a2e14;
    --bad: #ff7f9f;
    --bad-soft: #3d1a25;
    --ok-band: rgba(76, 201, 150, .14);
    color-scheme: dark;
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.125rem/1.65 var(--f-text);
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
img { height: auto; }
a { color: var(--accent); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 {
  font-family: var(--f-display);
  line-height: 1.12;
  letter-spacing: -.015em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.25rem, 5.4vw, 3.75rem); font-weight: 720; letter-spacing: -.03em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 680; }
h3 { font-size: 1.3rem; font-weight: 650; letter-spacing: -.005em; }
p { margin: 0 0 1em; }
strong, b { font-weight: 700; }
.icon { width: 1.1em; height: 1.1em; flex: none; vertical-align: -.15em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--ink); color: var(--paper); padding: .6em 1em; border-radius: var(--r-s); }
.skip:focus { left: 8px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font: 700 1rem/1 var(--f-text);
  padding: .85em 1.2em;
  border-radius: 999px;
  text-decoration: none;
  background: var(--ink); color: var(--paper);
  border: 2px solid var(--ink);
  transition: background-color .15s, color .15s;
}
.btn:hover { background: transparent; color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-ok { background: var(--ok); border-color: var(--ok); color: #fff; }
.btn-ok:hover { color: var(--ok); }

/* ---------- Cabecera ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 1.25rem; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--ink); text-decoration: none; }
.brand-mark { width: 34px; height: 34px; color: var(--accent); }
.brand-name { font: 500 1.35rem/1 var(--f-display); letter-spacing: -.03em; margin: 0; }
.brand-name b { font-weight: 780; }
.nav-main { margin-left: auto; display: none; }
.nav-main ul { display: flex; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.nav-main a {
  display: block; padding: .5em .7em; border-radius: var(--r-s);
  color: var(--ink-2); text-decoration: none; font-size: .98rem; white-space: nowrap;
}
.nav-main a:hover { color: var(--ink); background: var(--surface); }
.nav-main a[aria-current="page"] { color: var(--ink); font-weight: 700; box-shadow: inset 0 -3px 0 var(--ok); border-radius: 0; }
.btn-test { display: none; padding: .7em 1.05em; font-size: .95rem; }
.nav-mobile { margin-left: auto; }
.nav-mobile summary {
  list-style: none; cursor: pointer; width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: var(--r-s); border: 1px solid var(--line); background: var(--surface);
}
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-mobile summary .icon { width: 24px; height: 24px; }
.nav-mobile .i-close, .nav-mobile[open] .i-open { display: none; }
.nav-mobile[open] .i-close { display: block; }
.nav-mobile nav {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--surface); border-bottom: 1px solid var(--line);
  padding: .5rem var(--gutter) 1.25rem; box-shadow: 0 18px 30px -20px rgba(20, 38, 58, .35);
}
.nav-mobile ul { list-style: none; margin: 0; padding: 0; }
.nav-mobile li + li { border-top: 1px solid var(--line); }
.nav-mobile a { display: block; padding: .9rem 0; color: var(--ink); text-decoration: none; font-size: 1.15rem; }
.nav-mobile a[aria-current="page"] { font-weight: 700; color: var(--ok); }
@media (min-width: 1120px) {
  .nav-main, .btn-test { display: flex; }
  .nav-mobile { display: none; }
}

/* ---------- Migas y cabecera de página ---------- */
.crumbs ol { display: flex; flex-wrap: wrap; gap: .25rem .5rem; list-style: none; margin: 1.5rem 0 0; padding: 0; font-size: .95rem; color: var(--ink-3); }
.crumbs li + li::before { content: "/"; margin-right: .5rem; color: var(--line); }
.crumbs a { color: var(--ink-2); }
.page-head { max-width: 54rem; padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(1.5rem, 3vw, 2.5rem); }
.page-head .lede { font-size: clamp(1.18rem, 2vw, 1.35rem); line-height: 1.55; color: var(--ink-2); max-width: 46rem; margin-bottom: 1.2rem; }
.page-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; font-size: .95rem; color: var(--ink-3); margin: 0; }
.page-meta > * { display: inline-flex; align-items: center; gap: .4em; }
.page-meta a { color: var(--ink-2); }

/* ---------- Rejilla de artículo ---------- */
.article-grid { display: grid; gap: 2.5rem; grid-template-columns: minmax(0, 1fr); }
.article-grid > * { min-width: 0; }
.toc { display: none; }
@media (min-width: 1000px) {
  .article-grid { grid-template-columns: 15rem minmax(0, 1fr); gap: 4rem; }
  .toc { display: block; position: sticky; top: 96px; align-self: start; font-size: .95rem; }
  .toc-title { font-family: var(--f-display); font-weight: 650; margin-bottom: .6rem; }
  .toc ol { list-style: none; margin: 0; padding: 0 0 0 1rem; border-left: 2px solid var(--line); }
  .toc li { margin: 0 0 .55rem; }
  .toc a { color: var(--ink-2); text-decoration: none; display: block; line-height: 1.35; }
  .toc a:hover, .toc a.is-active { color: var(--ink); }
  .toc a.is-active { font-weight: 700; box-shadow: -1.1rem 0 0 -0.95rem var(--ok); }
}
.prose { max-width: var(--measure); }
.prose-solo { margin-bottom: 3rem; }
.prose > h2 { margin-top: 2.6em; padding-top: .2em; }
.prose > h2:first-child { margin-top: 0; }
.prose > h3 { margin-top: 1.8em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--ink-3); }
.prose .wide { max-width: none; width: 100%; }
@media (min-width: 1000px) {
  .prose .wide { width: min(100%, 52rem); }
}

/* Lo esencial */
.keypoints {
  background: var(--surface); border-radius: var(--r-m); padding: 1.4rem 1.5rem 1.2rem;
  border: 1px solid var(--line); margin: 0 0 2.5rem;
}
.keypoints .kp-title { font-size: 1.15rem; margin: 0 0 .8rem; display: flex; align-items: center; gap: .5rem; }
.keypoints .kp-title .icon { color: var(--ok); width: 1.3em; height: 1.3em; }
.keypoints ul { list-style: none; padding: 0; margin: 0; }
.keypoints li { position: relative; padding-left: 1.6rem; margin-bottom: .55rem; }
.keypoints li::before {
  content: ""; position: absolute; left: .2rem; top: .55em; width: .62rem; height: .62rem;
  border-radius: 50%; background: var(--ok);
}

/* Avisos */
.callout {
  display: grid; grid-template-columns: auto 1fr; gap: .9rem; align-items: start;
  border-radius: var(--r-m); padding: 1.15rem 1.3rem; margin: 1.8rem 0;
  background: var(--accent-soft);
}
.callout > .icon { width: 1.5rem; height: 1.5rem; margin-top: .15rem; color: var(--accent); }
.callout p:last-child, .callout ul:last-child { margin-bottom: 0; }
.callout h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.callout-alert { background: var(--bad-soft); }
.callout-alert > .icon { color: var(--bad); }
.callout-ok { background: var(--ok-soft); }
.callout-ok > .icon { color: var(--ok); }

/* Tablas */
.table-wrap { overflow-x: auto; margin: 1.5rem 0 2rem; border-radius: var(--r-m); border: 1px solid var(--line); background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: 1rem; }
th, td { text-align: left; padding: .8rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-family: var(--f-display); font-weight: 650; background: color-mix(in srgb, var(--paper) 60%, var(--surface)); }
tbody tr:last-child > * { border-bottom: 0; }
tbody th { font-weight: 700; }
td.ok { color: var(--ok); font-weight: 700; }
td.mid { color: var(--warn-ink); font-weight: 700; }
td.bad { color: var(--bad); font-weight: 700; }

/* ---------- Infografías ---------- */
.ig {
  margin: 2rem 0 2.5rem; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-l);
  padding: clamp(1.1rem, 3vw, 2rem);
}
.ig > figcaption, .ig-caption { font-size: .95rem; color: var(--ink-3); margin-top: 1.1rem; line-height: 1.45; }
.ig-title { font-family: var(--f-display); font-size: 1.25rem; font-weight: 680; margin: 0 0 1.2rem; letter-spacing: -.01em; }
.ig svg text { font-family: var(--f-text); fill: var(--ink); }
.ig svg .t-muted { fill: var(--ink-3); }
.ig svg .t-display { font-family: var(--f-display); font-weight: 700; }

/* Escala de diagnóstico: tres tramos coloreados con umbrales */
.scale { margin: 0 0 1.6rem; }
.scale:last-child { margin-bottom: 0; }
.scale-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: .55rem; }
.scale-name { font-weight: 700; }
.scale-unit { font-size: .9rem; color: var(--ink-3); }
.scale-bar { display: grid; grid-template-columns: var(--cols); border-radius: 999px; overflow: hidden; height: 2.6rem; }
.scale-bar > span {
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-size: .9rem; font-weight: 700; line-height: 1.1; padding: 0 .4rem;
}
.seg-ok { background: var(--ok-soft); color: var(--ok); }
.seg-mid { background: var(--warn-soft); color: var(--warn-ink); }
.seg-bad { background: var(--bad-soft); color: var(--bad); }
.scale-ticks { position: relative; height: 1.5rem; font-size: .88rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.scale-ticks span { position: absolute; top: .25rem; transform: translateX(-50%); white-space: nowrap; }
.scale-ticks span::before { content: ""; position: absolute; left: 50%; top: -.4rem; width: 2px; height: .45rem; background: var(--ink-3); }
.scale-legend { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; font-size: .95rem; margin-bottom: 1.4rem; }
.scale-legend span { display: inline-flex; align-items: center; gap: .45rem; }
.scale-legend i { width: .9rem; height: .9rem; border-radius: 50%; display: inline-block; }
.scale-legend .l-ok { background: var(--ok); }
.scale-legend .l-mid { background: var(--warn); }
.scale-legend .l-bad { background: var(--bad); }

/* Pasos (secuencias reales: regla 15/15, etc.) */
.steps { list-style: none; margin: 1.5rem 0 2rem; padding: 0; counter-reset: paso; display: grid; gap: .9rem; }
.steps > li {
  counter-increment: paso; position: relative; padding: 1.1rem 1.2rem 1.1rem 4.2rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); margin: 0;
}
.steps > li::before {
  content: counter(paso); position: absolute; left: 1.1rem; top: 1rem;
  width: 2.2rem; height: 2.2rem; border-radius: 50%; display: grid; place-items: center;
  font: 750 1.1rem/1 var(--f-display); background: var(--ink); color: var(--paper);
}
.steps h3 { font-size: 1.1rem; margin: .15rem 0 .25rem; }
.steps p { margin: 0; }

/* Rejilla de iconos (síntomas, hábitos…) */
.icon-grid { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.prose .icon-grid { padding-left: 0; }
.icon-grid > li { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .2rem .9rem; align-items: start; }
.icon-grid .ig-ico {
  grid-row: span 2; width: 3rem; height: 3rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent);
}
.icon-grid .ig-ico .icon { width: 1.45rem; height: 1.45rem; }
.icon-grid strong { display: block; line-height: 1.3; padding-top: .2rem; }
.icon-grid span.d { color: var(--ink-2); font-size: 1rem; line-height: 1.45; }
.icon-grid.tone-alert .ig-ico { background: var(--bad-soft); color: var(--bad); }
.icon-grid.tone-ok .ig-ico { background: var(--ok-soft); color: var(--ok); }
.icon-grid.tone-high .ig-ico { background: var(--warn-soft); color: var(--warn-ink); }

/* Comparativa (tarjetas con cifra destacada) */
.types { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); margin: 1.5rem 0 2rem; }
.type-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); padding: 1.3rem; display: flex; flex-direction: column; }
.type-card h3 { margin-bottom: .25rem; }
.type-card .share { font: 750 2.2rem/1 var(--f-display); letter-spacing: -.03em; margin: .4rem 0 .1rem; }
.type-card .share-l { font-size: .92rem; color: var(--ink-3); margin-bottom: 1rem; }
.type-card dl { margin: 0 0 1rem; display: grid; gap: .55rem; font-size: 1rem; }
.type-card dt { font-weight: 700; font-size: .9rem; color: var(--ink-3); }
.type-card dd { margin: 0; line-height: 1.4; }
.type-card .more { margin-top: auto; font-weight: 700; }

/* Tarjetas de color por grupo (plazos, categorías…) */
.checkups { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); margin: 0; }
.checkup { border-top: 6px solid var(--c, var(--accent)); background: color-mix(in srgb, var(--c, var(--accent)) 8%, var(--surface)); border-radius: var(--r-s); padding: 1rem 1.1rem; }
.checkup h4 { font-size: 1.05rem; margin: 0 0 .5rem; }
.checkup ul { list-style: none; padding: 0; margin: 0; font-size: 1rem; }
.checkup li { padding: .35rem 0; border-top: 1px solid color-mix(in srgb, var(--c, var(--accent)) 18%, transparent); margin: 0; }
.checkup li:first-child { border-top: 0; }

/* ---------- FAQ, relacionados, fuentes ---------- */
.faq, .related, .sources { max-width: 52rem; margin-top: 3.5rem; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.1rem 2.5rem 1.1rem 0; position: relative;
  font: 650 1.15rem/1.35 var(--f-display);
}
.faq summary::-webkit-details-marker { display: none; }
.faq-chev { position: absolute; right: .3rem; top: 1.25rem; transition: transform .2s; color: var(--ink-3); }
.faq details[open] .faq-chev { transform: rotate(180deg); }
.faq details p { color: var(--ink-2); padding-right: 1rem; }
.related ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; }
@media (min-width: 760px) { .related ul { grid-template-columns: repeat(3, 1fr); } }
.related a { display: flex; flex-direction: column; gap: .4rem; height: 100%; background: var(--surface); padding: 1.2rem; text-decoration: none; color: var(--ink); }
.related a:hover { background: var(--accent-soft); }
.rel-title { font: 680 1.15rem/1.25 var(--f-display); }
.rel-desc { font-size: .97rem; color: var(--ink-2); line-height: 1.45; }
.sources ol { font-size: .95rem; color: var(--ink-2); padding-left: 1.4em; }
.sources li { margin-bottom: .5em; }
.sources a { color: var(--ink-2); overflow-wrap: anywhere; }
.disclaimer { display: flex; gap: .8rem; max-width: 52rem; margin: 3rem 0 4rem; padding: 1.1rem 1.25rem; border-radius: var(--r-m); border: 1px dashed var(--ink-3); font-size: .97rem; color: var(--ink-2); }
.disclaimer .icon { width: 1.3rem; height: 1.3rem; margin-top: .15rem; }
.disclaimer p { margin: 0; }

/* ---------- Pie ---------- */
.site-footer { background: #14263a; color: #c9d5e0; padding: 3.5rem 0 1.5rem; font-size: 1rem; }
.site-footer a { color: #e8eef4; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); }
.footer-brand .brand-name { color: #fff; font-size: 1.5rem; margin-bottom: .8rem; }
.footer-h { font: 650 1.05rem/1 var(--f-display); color: #fff; margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .55rem; }
.footer-sale { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-top: 2.5rem; padding: 1.2rem 1.4rem; border: 1px solid #2c4058; border-radius: var(--r-m); background: #1a3049; }
.footer-sale p { margin: 0; color: #e8eef4; }
.site-footer .btn-sale { background: #4cc996; border-color: #4cc996; color: #0f1a26; text-decoration: none; }
.site-footer .btn-sale:hover { background: transparent; color: #4cc996; text-decoration: none; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; border-top: 1px solid #2c4058; margin-top: 2.5rem; padding-top: 1.25rem; font-size: .9rem; color: #93a6b9; }
.footer-base p { margin: 0; }

/* ==========================================================================
   Portada
   ========================================================================== */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 0; overflow: hidden; }
.hero h1 { font-size: clamp(2.6rem, 7.5vw, 5.6rem); line-height: .98; letter-spacing: -.045em; max-width: 13ch; margin-bottom: 1.2rem; }
.hero .lede { font-size: clamp(1.15rem, 2vw, 1.35rem); color: var(--ink-2); max-width: 40rem; }
.hero-top { display: grid; gap: 0 3rem; }
@media (min-width: 980px) {
  .hero-top { grid-template-columns: 1.25fr 1fr; align-items: end; }
  .hero-top h1 { margin-bottom: 0; }
}
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.8rem 0 0; }


/* Cifras destacadas */
.cifras h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); letter-spacing: -.03em; }
.cifras p { color: var(--ink-2); max-width: 36rem; }
.fact-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .7rem; }
.fact-list li { display: grid; grid-template-columns: 6.5rem 1fr; gap: 1rem; align-items: baseline; border-top: 1px solid var(--line); padding-top: .7rem; }
.fact-list b { font: 750 1.35rem/1.1 var(--f-display); font-variant-numeric: tabular-nums; }
.fact-list span { color: var(--ink-2); font-size: 1rem; }

/* Rutas de lectura */
.paths { padding: clamp(2.5rem, 6vw, 4.5rem) 0; border-top: 1px solid var(--line); }
.paths-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 2rem; }
.paths-head h2 { margin: 0; }
.path-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--line); border-radius: var(--r-l); overflow: hidden; border: 1px solid var(--line); }
/* 9 tarjetas: 2 columnas con la primera a lo ancho (5 filas) y 3 × 3 en escritorio */
@media (min-width: 720px) { .path-list { grid-template-columns: 1fr 1fr; } .path-list li:first-child { grid-column: span 2; } }
@media (min-width: 1080px) { .path-list { grid-template-columns: repeat(3, 1fr); } .path-list li:first-child { grid-column: auto; } }
.path-list a {
  display: grid; grid-template-rows: auto auto 1fr; gap: .5rem; height: 100%;
  background: var(--surface); color: var(--ink); text-decoration: none; padding: 1.6rem 1.5rem 1.4rem;
}
.path-list a:hover { background: color-mix(in srgb, var(--surface) 80%, var(--accent-soft)); }
.path-list .p-ico { width: 2.6rem; height: 2.6rem; border-radius: 50%; display: grid; place-items: center; color: var(--c); background: color-mix(in srgb, var(--c) 14%, var(--surface)); }
.path-list .p-ico .icon { width: 1.3rem; height: 1.3rem; }
.path-list h3 { font-size: 1.35rem; margin: .4rem 0 0; }
.path-list p { color: var(--ink-2); font-size: 1rem; margin: 0; line-height: 1.5; }
.path-list li:first-child h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.path-list li:first-child p { font-size: 1.1rem; }
.path-list .p-for { font-size: .92rem; color: var(--ink-3); align-self: end; padding-top: .8rem; }

/* Bloque test */
.test-band { background: var(--ink); color: #eef3f7; border-radius: var(--r-l); padding: clamp(1.8rem, 5vw, 3.5rem); display: grid; gap: 1.5rem; align-items: center; margin: 1rem 0 clamp(3rem, 6vw, 4.5rem); }
@media (min-width: 860px) { .test-band { grid-template-columns: 1.4fr 1fr; } }
.test-band h2 { color: #fff; }
.test-band p { color: #c3cfdb; margin: 0; max-width: 38rem; }
.test-band .btn { background: var(--ok); border-color: var(--ok); color: #fff; justify-self: start; }
.test-band .btn:hover { background: transparent; color: #fff; border-color: #fff; }
.risk-dial { display: flex; gap: 4px; margin-top: 1.4rem; max-width: 26rem; }
.risk-dial span { flex: 1; height: .6rem; border-radius: 99px; }
.risk-dial span:nth-child(1) { background: #4cc996; }
.risk-dial span:nth-child(2) { background: #9fd36b; }
.risk-dial span:nth-child(3) { background: #f0b54a; }
.risk-dial span:nth-child(4) { background: #f08a4a; }
.risk-dial span:nth-child(5) { background: #ff6f8f; }

/* ==========================================================================
   Noticias (estilo Discover)
   ========================================================================== */
.news-section { padding: clamp(2.5rem, 6vw, 4rem) 0; border-top: 1px solid var(--line); }
.news-body { margin-bottom: 4rem; }
.chips { display: flex; gap: .5rem; overflow-x: auto; padding: .2rem 0 1rem; margin: 0 0 1rem; list-style: none; scrollbar-width: thin; }
.chips a {
  display: inline-flex; align-items: center; gap: .4rem; white-space: nowrap;
  padding: .5em 1em; border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
  color: var(--ink-2); text-decoration: none; font-size: .97rem;
}
.chips a:hover { border-color: var(--ink-3); color: var(--ink); }
.chips a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.feed { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); list-style: none; padding: 0; margin: 0; }
.card {
  position: relative; display: flex; flex-direction: column; background: var(--surface);
  border-radius: var(--r-l); overflow: hidden; border: 1px solid var(--line); margin: 0;
}
.card:hover { border-color: var(--ink-3); }
.card-media { aspect-ratio: 16 / 9; background: var(--accent-soft); overflow: hidden; position: relative; }
.card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-media.ph { display: grid; place-items: center; color: var(--c, var(--accent)); background: color-mix(in srgb, var(--c, var(--accent)) 12%, var(--surface)); }
.card-media.ph svg.icon { width: 3.2rem; height: 3.2rem; opacity: .85; }
.card-media.ph .ph-wave { position: absolute; inset: auto 0 18% 0; width: 100%; height: 40%; opacity: .45; }
.card-body { padding: 1rem 1.15rem 1.15rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.card-src { display: flex; align-items: center; gap: .5rem; font-size: .88rem; color: var(--ink-3); }
.card-src img { width: 16px; height: 16px; border-radius: 3px; }
.card-src .pub { font-weight: 700; color: var(--ink-2); max-width: 14rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card h3 { font: 650 1.12rem/1.3 var(--f-display); margin: 0; letter-spacing: -.005em; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card h3 a:focus-visible { outline: none; }
.card:has(h3 a:focus-visible) { outline: 3px solid var(--accent); outline-offset: 3px; }
.card p { font-size: .98rem; color: var(--ink-2); margin: 0; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-foot { display: flex; align-items: center; gap: .6rem; margin-top: auto; padding-top: .3rem; font-size: .88rem; color: var(--ink-3); }
.tag { display: inline-flex; align-items: center; gap: .3rem; padding: .2em .65em; border-radius: 99px; background: color-mix(in srgb, var(--c, var(--accent)) 13%, var(--surface)); color: var(--c, var(--accent)); font-weight: 700; font-size: .82rem; }
.lang { font-weight: 700; border: 1px solid var(--line); border-radius: 4px; padding: 0 .3em; font-size: .78rem; }
@media (min-width: 900px) {
  .feed > .card.is-lead { grid-column: span 2; grid-row: span 2; }
  .feed > .card.is-lead .card-media { aspect-ratio: 16 / 10; }
  .feed > .card.is-lead h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.15; }
  .feed > .card.is-lead p { -webkit-line-clamp: 4; font-size: 1.05rem; }
}
.feed-empty { background: var(--surface); border: 1px dashed var(--ink-3); border-radius: var(--r-l); padding: 2rem; max-width: 40rem; }
.pager { display: flex; justify-content: space-between; gap: 1rem; margin: 2rem 0 0; }
.news-meta { font-size: .95rem; color: var(--ink-3); margin: -0.5rem 0 1.2rem; }

/* ==========================================================================
   Test o autoevaluación configurable
   ========================================================================== */
.quiz { max-width: 46rem; }
.quiz fieldset { border: 1px solid var(--line); background: var(--surface); border-radius: var(--r-m); padding: 1.2rem 1.3rem 1rem; margin: 0 0 1rem; }
.quiz legend { font: 650 1.15rem/1.3 var(--f-display); padding: 0 .4rem; margin-left: -.4rem; }
.quiz .hint { font-size: .95rem; color: var(--ink-3); margin: .2rem 0 .8rem; }
.opts { display: grid; gap: .5rem; }
@media (min-width: 640px) { .opts.cols-2 { grid-template-columns: 1fr 1fr; } }
.opts label {
  display: flex; align-items: center; gap: .7rem; cursor: pointer; padding: .7rem .9rem;
  border: 1.5px solid var(--line); border-radius: var(--r-s); background: var(--paper); line-height: 1.3;
}
.opts label:hover { border-color: var(--ink-3); }
.opts .pts { margin-left: auto; font-size: .85rem; color: var(--ink-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.opts input { accent-color: var(--ok); width: 1.15rem; height: 1.15rem; flex: none; margin: 0; }
.opts label:has(input:checked) { border-color: var(--ok); background: var(--ok-soft); }
.opts label:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }
.result {
  position: sticky; bottom: 0; z-index: 5; margin-top: 1.5rem;
  background: var(--ink); color: #eef3f7; border-radius: var(--r-m) var(--r-m) 0 0; padding: 1.1rem 1.3rem;
}
.result-row { display: flex; align-items: center; gap: 1rem; }
.result-score { font: 780 2.6rem/1 var(--f-display); font-variant-numeric: tabular-nums; min-width: 3.2ch; }
.result-score small { font-size: .95rem; font-weight: 400; color: #93a6b9; }
.result-level { font: 650 1.2rem/1.25 var(--f-display); }
.result p { margin: .6rem 0 0; color: #c3cfdb; font-size: 1rem; }
.result-meter { height: .55rem; border-radius: 99px; background: linear-gradient(90deg, #4cc996 0 27%, #9fd36b 27% 46%, #f0b54a 46% 58%, #f08a4a 58% 81%, #ff6f8f 81%); position: relative; margin-top: .9rem; }
.result-meter i { position: absolute; top: -.35rem; width: 4px; height: 1.25rem; border-radius: 2px; background: #fff; transform: translateX(-50%); left: var(--pos, 0%); transition: left .3s; box-shadow: 0 0 0 2px var(--ink); }
.quiz button.btn { cursor: pointer; }
.result:focus { outline: none; }
.result.is-final { position: static; border-radius: var(--r-m); }
.result .pending { color: #93a6b9; }

/* ==========================================================================
   404 y utilidades
   ========================================================================== */
.list-links { list-style: none; padding: 0; display: grid; gap: .6rem; }
.list-links a { font-size: 1.15rem; font-weight: 700; }
.two-col { display: grid; gap: 1.5rem; }
@media (min-width: 760px) { .two-col { grid-template-columns: 1fr 1fr; } }
.pill-row { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; list-style: none; }
.pill-row li { margin: 0; padding: .35em .8em; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); font-size: .97rem; }

@media print {
  .site-header, .site-footer, .toc, .related, .hero-cta, .btn { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .ig, .keypoints { break-inside: avoid; }
  a { color: #000; }
}

/* Gráficas de líneas */
.chart { display: block; width: 100%; height: auto; }
.c-grid { stroke: var(--line); stroke-width: 1; }
.c-cut { stroke: var(--ink-3); stroke-dasharray: 4 5; }
.c-measure { stroke: var(--ink); stroke-width: 1.5; stroke-dasharray: 2 4; }
.c-line { fill: none; stroke-width: 3.5; stroke-linecap: round; }
.c-line.c-ok { stroke: var(--ok); } .c-line.c-mid { stroke: var(--warn); } .c-line.c-bad { stroke: var(--bad); }
.c-dot.c-ok { fill: var(--ok); } .c-dot.c-mid { fill: var(--warn); } .c-dot.c-bad { fill: var(--bad); }
.ig svg text.c-lbl { font-weight: 700; }
.ig svg text.c-lbl.c-ok { fill: var(--ok); } .ig svg text.c-lbl.c-mid { fill: var(--warn-ink); } .ig svg text.c-lbl.c-bad { fill: var(--bad); }


/* Flujo (secuencia real con flechas) */
.flow { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; gap: 1.6rem; counter-reset: f; }
.prose .flow { padding: 0; }
@media (min-width: 900px) { .flow { grid-template-columns: repeat(4, 1fr); gap: 1.4rem; } }
.flow > li { counter-increment: f; position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); padding: 1rem 1.1rem 1.1rem; margin: 0; }
.flow > li::before { content: counter(f); display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--ink); color: var(--paper); font: 750 1rem/1 var(--f-display); margin-bottom: .6rem; }
.flow > li:not(:last-child)::after { content: ""; position: absolute; left: 50%; bottom: -1.3rem; width: 2px; height: 1rem; background: var(--ink-3); }
@media (min-width: 900px) {
  .flow > li:not(:last-child)::after { left: auto; right: -1.15rem; top: 1.9rem; bottom: auto; width: .9rem; height: 2px; }
}
.flow strong { display: block; font-family: var(--f-display); font-size: 1.15rem; line-height: 1.2; margin-bottom: .35rem; }
.flow span { display: block; font-size: .98rem; color: var(--ink-2); line-height: 1.45; }
.flow .big { font: 780 2.4rem/1 var(--f-display); color: var(--bad); letter-spacing: -.03em; margin: .2rem 0 .3rem; }
.card-media.ph { aspect-ratio: 16 / 7; }
@media (min-width: 900px) { .card-media.ph { aspect-ratio: 16 / 9; } }
.card-media.ph { aspect-ratio: 16 / 7; }
@media (min-width: 900px) { .card-media.ph { aspect-ratio: 16 / 9; } }
.checkup.c-accent { --c: var(--accent); } .checkup.c-warn { --c: var(--warn); } .checkup.c-bad { --c: var(--bad); } .checkup.c-ok { --c: var(--ok); }

/* Portada: infografía protagonista y nota de fuente */
.hero-visual { margin: clamp(1.5rem, 4vw, 3rem) 0 0; }
.hero-visual .ig { margin: 0; }
.small-note { font-size: .95rem; color: var(--ink-3); margin: .8rem 0 0; }
.cifras { display: grid; gap: 1.5rem 4rem; align-items: start; padding-top: clamp(3rem, 7vw, 5.5rem); padding-bottom: clamp(3rem, 7vw, 5.5rem); }
@media (min-width: 860px) { .cifras { grid-template-columns: 1fr 1fr; } }
.cifras .fact-list { margin-top: 0; }
.cifras .fact-list li:first-child { border-top: 0; padding-top: 0; }

/* Barras horizontales (infografía genérica) */
.bars { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.prose .bars { padding: 0; }
.bars li { margin: 0; display: grid; grid-template-columns: minmax(7rem, 12rem) 1fr; gap: .3rem 1rem; align-items: center; }
@media (max-width: 560px) { .bars li { grid-template-columns: 1fr; } }
.bars .b-label { font-weight: 700; line-height: 1.3; }
.bars .b-track { position: relative; height: 2.2rem; background: color-mix(in srgb, var(--line) 45%, var(--surface)); border-radius: 999px; overflow: hidden; }
.bars .b-fill { position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--c, var(--accent)); border-radius: 999px; }
.bars .b-val { position: absolute; right: .8rem; top: 50%; transform: translateY(-50%); font-weight: 700; font-variant-numeric: tabular-nums; color: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
  .hero-visual .b-fill { animation: grow 1.2s cubic-bezier(.3, 0, .2, 1) both; animation-delay: calc(var(--i, 0) * 120ms + 200ms); }
  @keyframes grow { from { width: 0; } }
}

/* ==========================================================================
   HarmonyOS — identidad y componentes propios (v1.0)
   ========================================================================== */
h1, h2, h3, h4 { letter-spacing: -.02em; }
h1 { font-weight: 650; }
h2 { font-weight: 620; }
.hero h1 { font-weight: 640; letter-spacing: -.05em; line-height: 1; max-width: 12ch; }
.brand-name { font-family: var(--f-display); letter-spacing: -.03em; }
.brand-name b { color: var(--accent); }

/* Selector de idioma */
.lang-switch { display: inline-flex; align-items: center; gap: .4em; font-size: .95rem; font-weight: 600; color: var(--ink-2);
  text-decoration: none; padding: .45em .8em; border: 1px solid var(--line); border-radius: 999px; white-space: nowrap; }
.lang-switch:hover { color: var(--accent); border-color: var(--accent); }
@media (max-width: 520px) { .lang-switch span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .lang-switch { position: relative; } }

/* Órbita de la portada: un único movimiento al cargar (las conexiones se dibujan una tras otra) */
.ig-eco { background: radial-gradient(120% 90% at 50% 50%, var(--accent-soft), transparent 70%); }
.eco { display: block; width: 100%; max-width: 760px; margin: 0 auto; height: auto; overflow: visible; }
.eco-ring { fill: none; stroke: var(--line); stroke-width: 1.5; }
.eco-ring-2 { stroke-dasharray: 3 7; }
.eco-link { stroke: var(--accent); stroke-width: 1.5; opacity: .45; }
.eco-node circle { fill: var(--surface); stroke: var(--accent); stroke-width: 1.5; }
.eco-node svg { color: var(--accent); }
.ig svg .eco-node text { fill: var(--ink-2); font: 600 15px var(--f-text); }
.eco-core { fill: var(--ink); }
.ig svg .eco-core-t { fill: var(--paper); font: 650 19px var(--f-display); letter-spacing: -.02em; }
.ig svg .eco-core-s { fill: var(--paper); opacity: .7; font: 500 12px var(--f-text); }
@media (prefers-reduced-motion: no-preference) {
  .hero-visual .eco-link { stroke-dasharray: 260; stroke-dashoffset: 260; animation: eco-draw .9s cubic-bezier(.3, 0, .2, 1) forwards; animation-delay: calc(var(--i) * 140ms + 250ms); }
  .hero-visual .eco-node { opacity: 0; animation: eco-in .5s ease-out forwards; animation-delay: calc(var(--i) * 140ms + 600ms); }
}
@keyframes eco-draw { to { stroke-dashoffset: 0; } }
@keyframes eco-in { to { opacity: 1; } }
.hero-visual .ig-title { text-align: center; }

/* Línea de tiempo: secuencia real de versiones */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; position: relative; }
.timeline li { position: relative; padding: 0 0 1.2rem 1.6rem; border-left: 2px solid var(--line); display: grid; gap: .1rem; min-width: 0; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: .35rem; width: 12px; height: 12px; border-radius: 50%; background: var(--surface); border: 2px solid var(--ink-3); }
.timeline .tl-own::before { background: var(--ok); border-color: var(--ok); }
.timeline .tl-year { font: 600 .9rem var(--f-display); color: var(--ink-3); }
.timeline .tl-ver { font-family: var(--f-display); font-size: 1.1rem; }
.timeline .tl-text { color: var(--ink-2); font-size: .98rem; line-height: 1.45; }
@media (min-width: 900px) {
  .timeline { grid-template-columns: repeat(7, 1fr); }
  .timeline li { border-left: 0; border-top: 2px solid var(--line); padding: 1.3rem .6rem 0 0; }
  .timeline li::before { left: 0; top: -7px; }
  .timeline .tl-own { border-top-color: var(--ok); }
}
.tl-key { display: inline-flex; align-items: center; gap: .4em; margin-right: 1.2rem; }
.tl-key::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--ink-3); }
.tl-key.tl-own::before { background: var(--ok); border-color: var(--ok); }

/* Pilas de arquitectura */
.stacks { display: grid; gap: 1.2rem; }
@media (min-width: 760px) { .stacks { grid-template-columns: 1fr 1fr; } }
.stack { min-width: 0; }
.stack-h { font: 650 1.15rem var(--f-display); margin: 0 0 .6rem; }
.stack ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.stack li { padding: .7rem .9rem; border-radius: var(--r-s); background: var(--surface); border: 1px solid var(--line); display: grid; gap: .1rem; }
.stack li strong { font-size: .95rem; }
.stack li span { color: var(--ink-2); font-size: .93rem; line-height: 1.4; }
.stack-own li { border-left: 4px solid var(--ok); }
.stack-own li:last-child { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.stack-own li:last-child span { color: inherit; opacity: .8; }
.stack-ext li { border-left: 4px solid var(--ink-3); }

/* Bloques de código */
pre.code { background: var(--ink); color: var(--paper); padding: 1.1rem 1.2rem; border-radius: var(--r-m); overflow-x: auto; font: 400 .9rem/1.55 ui-monospace, "SF Mono", Menlo, Consolas, monospace; max-width: 100%; }
:not(pre) > code { font: .92em ui-monospace, Menlo, Consolas, monospace; background: var(--accent-soft); padding: .05em .35em; border-radius: 4px; }

/* Filtros (catálogo y comparador) */
.filtro { margin: 0 0 2.5rem; }
.filtro .chips { margin-bottom: .8rem; }
.chip { font: inherit; font-size: .95rem; cursor: pointer; display: inline-flex; align-items: center; gap: .4em; padding: .45em .9em; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip:hover { border-color: var(--accent); }
.filtro-count { color: var(--ink-3); font-size: .95rem; margin: 0 0 1rem; }
.filtro-opts { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; align-items: center; }
.filtro-opts .filtro-count { margin: 0; }
.check { display: inline-flex; gap: .5em; align-items: center; cursor: pointer; }
.check input { width: 1.1rem; height: 1.1rem; accent-color: var(--accent); }

/* Catálogo de dispositivos */
.devices { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.devices li { min-width: 0; }
.devices li[hidden] { display: none; }
.devices a { height: 100%; display: grid; gap: .3rem; align-content: start; padding: 1.2rem; border-radius: var(--r-m); background: var(--surface);
  border: 1px solid var(--line); color: inherit; text-decoration: none; }
.devices a:hover { border-color: var(--accent); }
.dv-ico { width: 2.4rem; height: 2.4rem; display: grid; place-items: center; border-radius: 50%; background: var(--accent-soft); color: var(--accent); margin-bottom: .4rem; }
.dv-type { font-size: .88rem; color: var(--ink-3); }
.dv-name { font: 620 1.2rem/1.2 var(--f-display); letter-spacing: -.02em; }
.dv-os { font-weight: 600; color: var(--accent); font-size: .95rem; }
.dv-desc { color: var(--ink-2); font-size: .95rem; line-height: 1.45; }
.dv-market { display: inline-flex; gap: .35em; align-items: center; font-size: .88rem; color: var(--ink-3); padding-top: .4rem; }
.is-global .dv-market { color: var(--ok); font-weight: 600; }

/* Comparador */
.cmp th small, .cmp td small { display: block; font-size: .8rem; color: var(--ink-3); font-weight: 400; margin-top: .15rem; }
.cmp tr[hidden] { display: none; }
.cmp td.ok .cmp-tag { color: var(--ok); font-weight: 600; }
.cmp td.bad .cmp-tag { color: var(--bad); font-weight: 600; }
.filtro .chips { flex-wrap: wrap; overflow: visible; }
