/* Estilo de la web de TruchiChat. Fuentes del sistema, nada de fuera: la CSP solo deja lo propio. */
:root {
  color-scheme: light dark;
  --navy: #0c2461;
  --navy-2: #13317d;
  --navy-ink: #d5def5;
  --blue: #0a6cff;
  --link: #0a5fd8;
  --ink: #0f172a;
  --muted: #4f5a72;
  --bg: #ffffff;
  --soft: #f3f5fa;
  --line: #e1e6f0;
  --ok: #17803f;
  --warn: #9a5b00;
  --radius: 1rem;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #eef2fb;
    --muted: #a9b3c9;
    --bg: #0b1020;
    --soft: #111a2f;
    --line: #243050;
    --link: #7fb6ff;
    --blue: #3d8bff;
    --ok: #5fd08a;
    --warn: #f0b35a;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 1.0625rem;
}
/* Texto justificado en toda la web (Jeny, 1 oct 2026). Partir palabras evita los huecos en móvil. */
p, li, dd, blockquote, figcaption, .nope > div {
  text-align: justify;
  -webkit-hyphens: auto;
  hyphens: auto;
  hyphenate-limit-chars: 8 4 5;
  -webkit-hyphenate-limit-before: 4;
  -webkit-hyphenate-limit-after: 5;
}
.center :is(p, li), .solo .panel > p { text-align: center; }
/* Etiquetas sueltas, y párrafos con comandos, huellas, correos o direcciones web (no se pueden
   partir y dejan huecos enormes en la línea de antes): mejor alineados que estirados. */
.trust, .shots figcaption, .hash { text-align: start; }
:is(p, li, dd):where(:has(code, kbd, .hash, a[href^="mailto:"], a[href^="http"])) { text-align: start; }
/* Direcciones, código, huellas y nombres de marca (web-nueva.mjs los envuelve en .marca): nunca
   partidos con guion. */
a, code, kbd, pre, .hash, .marca { -webkit-hyphens: manual; hyphens: manual; }
img { max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: .15em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
.wrap { max-width: 72rem; margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 46rem; }
.skip { position: absolute; left: -999px; top: 0; background: var(--bg); padding: .5rem 1rem; z-index: 10; }
.skip:focus { left: 1rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Cabecera */
.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 1rem; min-height: 3.75rem; }
.brand { display: flex; align-items: center; gap: .6rem; font-weight: 700; font-size: 1.1rem; text-decoration: none; color: var(--ink); }
.brand img { width: 2rem; height: 2rem; border-radius: .55rem; }
.top nav { margin-left: auto; display: flex; align-items: center; gap: 1.1rem; font-size: .95rem; }
.top nav a { color: var(--muted); text-decoration: none; }
.top nav a:hover, .top nav a[aria-current="page"] { color: var(--ink); }
.top nav a[aria-current="page"] { font-weight: 600; }
.top details { display: none; margin-left: auto; }
.top summary { list-style: none; cursor: pointer; padding: .45rem .8rem; border: 1px solid var(--line); border-radius: 999px; font-size: .95rem; }
.top summary::-webkit-details-marker { display: none; }
.top details[open] .menu { display: flex; }
.menu { display: none; flex-direction: column; position: absolute; right: 1rem; top: 3.4rem; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: .5rem; min-width: 14rem; box-shadow: 0 10px 30px rgb(0 0 0 / .15); }
.menu a { padding: .6rem .8rem; border-radius: .6rem; color: var(--ink); text-decoration: none; }
.menu a:hover { background: var(--soft); }
@media (max-width: 52rem) {
  .top nav { display: none; }
  .top details { display: block; }
}

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .7rem 1.15rem; border-radius: 999px; font-weight: 600; text-decoration: none; font-size: .98rem; border: 1px solid transparent; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--ink); }
.top .btn { padding: .45rem .95rem; font-size: .92rem; }
.top nav .btn-primary { color: #fff; }
.stores { display: flex; flex-wrap: wrap; gap: .75rem; margin: 0 0 1.25rem; padding: 0; list-style: none; }
.store { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: .55rem 1.1rem; border-radius: .8rem; background: #fff; color: var(--navy); text-decoration: none; min-width: 11.5rem; min-height: 3.4rem; line-height: 1.25; border: 1px solid #ffffff; }
.store small { font-size: .74rem; opacity: .8; }
.store strong { font-size: 1.08rem; }
.store.soon { background: transparent; color: #fff; border-color: #ffffff66; cursor: default; }
.light .store, .light .store.alt { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.light .store.soon { background: transparent; color: var(--ink); border-color: var(--line); }

/* Portada */
.hero { background: var(--navy); color: #fff; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.5rem; align-items: center; padding-top: 4rem; }
.hero h1 { font-size: clamp(2.4rem, 5.5vw, 4.1rem); line-height: 1.04; margin: 0 0 1.25rem; letter-spacing: -.02em; }
.hero .sub { font-size: 1.18rem; color: var(--navy-ink); max-width: 34rem; margin: 0 0 2rem; }
.hero a:not(.store) { color: #fff; }
.trust { font-size: .92rem; color: #c3cff0; margin: 0 0 3rem; }
.trust span + span::before { content: "·"; margin: 0 .5rem; }
.phones { position: relative; align-self: end; justify-self: center; display: flex; align-items: flex-end; gap: 0; }
.phone { width: 16.5rem; border-radius: 2.4rem; padding: .55rem; background: #05080f; border: 1px solid #ffffff2a; box-shadow: 0 20px 60px rgb(0 0 0 / .35); }
.phone img { display: block; width: 100%; border-radius: 1.95rem; }
.phones .phone.back { width: 13.5rem; margin-right: -3.5rem; margin-bottom: 2.5rem; transform: rotate(-4deg); opacity: .97; }
.phones .phone.front { position: relative; z-index: 1; border-bottom-left-radius: 0; border-bottom-right-radius: 0; padding-bottom: 0; }
.phones .phone.front img { border-bottom-left-radius: 0; border-bottom-right-radius: 0; aspect-ratio: 9 / 15.5; object-fit: cover; object-position: top; }
.phones figcaption { position: absolute; left: 0; right: 0; bottom: -2rem; }
.phone-label { display: block; text-align: center; font-size: .8rem; color: var(--muted); margin-top: .6rem; }
.hero .phone-label { color: #b9c6ea; }

/* Secciones */
section { padding: 4.5rem 0; }
section.soft { background: var(--soft); }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin: 0 0 .6rem; }
h1, h2, h3 { line-height: 1.18; }
h2 { font-size: clamp(1.65rem, 3vw, 2.35rem); margin: 0 0 1rem; letter-spacing: -.01em; }
h3 { font-size: 1.12rem; margin: 0 0 .4rem; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 42rem; }
.muted { color: var(--muted); }
.small { font-size: .92rem; }

.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2rem; }
.big3 > div { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; }
.big3 .n { display: inline-grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; margin-bottom: .9rem; }
.big3 p { margin: 0; color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2rem; }
.card { padding: 1.4rem 1.5rem; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); }
.card p { margin: 0; color: var(--muted); }
.card .tag { display: inline-block; font-size: .75rem; font-weight: 700; padding: .1rem .5rem; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); margin-top: .7rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.split.flip > :first-child { order: 2; }
.center { justify-self: center; text-align: center; }
.steps { list-style: none; padding: 0; margin: 1.75rem 0 0; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 2.5rem 1fr; gap: 1rem; margin-bottom: 1.25rem; }
.steps li::before { content: counter(s); width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 700; }
@media (prefers-color-scheme: dark) { .steps li::before, .big3 .n { background: var(--navy-2); } }
.steps strong { display: block; }
.steps span { color: var(--muted); }
.note { font-size: .95rem; color: var(--muted); border-left: 3px solid var(--blue); padding-left: .9rem; margin: 1.25rem 0; }

.voice { background: var(--navy-2); color: #fff; border-radius: 1.5rem; padding: 2.75rem; display: grid; grid-template-columns: 1.15fr .85fr; gap: 2.5rem; align-items: center; }
.voice h2 { color: #fff; }
.voice p { color: var(--navy-ink); }
.voice a { color: #fff; }
.voice .eyebrow { color: #9cc4ff; }
.sample { margin: 0 0 1.25rem; }
.sample figcaption { font-weight: 600; margin-bottom: .4rem; }
.sample svg { display: block; width: 100%; height: 3.25rem; }
.sample audio { width: 100%; margin-top: .4rem; }
.wave rect { fill: #9cc4ff; }
.wave.alt rect { fill: #ffffff; opacity: .7; }

.server { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2rem; }
.server > div { padding: 1.5rem; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg); }
.server h3 { font-size: 1.02rem; margin: 0 0 .75rem; }
.server ul { margin: 0; padding-left: 1.1rem; color: var(--muted); }
.server .no h3 { color: var(--ok); }

.nope { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-top: 2rem; }
.nope div { border-top: 2px solid var(--ink); padding-top: 1rem; }
.nope strong { display: block; margin-bottom: .3rem; }
.nope span { color: var(--muted); font-size: .96rem; }

details.faq { border-bottom: 1px solid var(--line); padding: 1.05rem 0; }
details.faq summary { cursor: pointer; font-weight: 600; font-size: 1.06rem; }
details.faq > div { color: var(--muted); max-width: 46rem; }
details.faq > div p { margin: .6rem 0 0; }

.dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2rem; }
.dl > div { padding: 1.6rem; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); display: flex; flex-direction: column; gap: .5rem; }
.dl h3 { margin: 0; }
.dl p { margin: 0 0 1rem; color: var(--muted); flex: 1; }
.dl .btn[aria-disabled="true"] { opacity: .75; cursor: default; }
/* Cada botón, del ancho de su texto y centrado; si no caben en una fila, uno debajo de otro. */
.btn-row { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin: .25rem 0 1rem; }
.btn-row .btn { flex: 0 1 auto; max-width: 100%; text-align: center; }

/* Páginas de texto */
.page-head { background: var(--soft); border-bottom: 1px solid var(--line); padding: 3rem 0 2.25rem; }
.page-head h1 { font-size: clamp(2rem, 4vw, 2.9rem); margin: 0 0 .75rem; letter-spacing: -.015em; }
.page-head p { margin: 0; }
.prose { padding-top: 2.5rem; padding-bottom: 4rem; }
.prose h2 { font-size: 1.45rem; margin: 2.25rem 0 .75rem; }
.prose h3 { margin-top: 1.5rem; }
.prose li { margin: .35rem 0; }
.prose code, .hash { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .88em; overflow-wrap: anywhere; }
.prose .meta { color: var(--muted); font-size: .92rem; }
.prose pre { white-space: pre-wrap; font-size: .8rem; line-height: 1.45; color: var(--muted); border-left: 3px solid var(--line); padding-left: .9rem; margin-left: 0; overflow-wrap: anywhere; }
.prose a[href^="https://"] { overflow-wrap: anywhere; }
.prose table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: .96rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: .6rem .7rem; border-bottom: 1px solid var(--line); }
.prose thead th { font-size: .8rem; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.prose tbody th { font-weight: 600; }
.box { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.35rem; margin: 1.5rem 0; background: var(--bg); }
.box.info { border-left: 4px solid var(--blue); }
.box.warn { border-left: 4px solid var(--warn); }
.box > :first-child { margin-top: 0; }
.box > :last-child { margin-bottom: 0; }
.cta { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin: 2rem 0 0; padding: 1.4rem 1.5rem; border-radius: var(--radius); background: var(--soft); border: 1px solid var(--line); }
.cta p { margin: 0; flex: 1 1 16rem; }
.toc { columns: 2; padding-left: 1.1rem; }
.guides { list-style: none; padding: 0; display: grid; gap: 1rem; }
.guides a { display: block; padding: 1.2rem 1.4rem; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); background: var(--bg); }
.guides a:hover { border-color: var(--blue); }
.guides strong { display: block; }
.guides li, .guides a { text-align: center; }
.guides a > span { display: block; color: var(--muted); font-size: .96rem; margin-top: .25rem; }

/* Comparativa */
.cmp-wrap { overflow-x: auto; margin: 1rem 0 2rem; border: 1px solid var(--line); border-radius: var(--radius); }
.cmp { width: 100%; border-collapse: collapse; min-width: 44rem; font-size: .95rem; }
.cmp th, .cmp td { text-align: left; vertical-align: top; padding: .75rem .85rem; border-bottom: 1px solid var(--line); }
.cmp thead th { position: sticky; top: 0; background: var(--soft); font-size: .82rem; }
.cmp tbody th { font-weight: 600; width: 22%; text-transform: none; letter-spacing: 0; font-size: .92rem; color: var(--ink); }
.cmp td.us { background: color-mix(in srgb, var(--blue) 7%, transparent); }
.cmp a { font-size: .78rem; white-space: nowrap; }
.pos { color: var(--ok); font-weight: 600; }

/* Novedades */
.release { border-top: 1px solid var(--line); padding: 1.5rem 0; }
.release h3 { font-size: 1.2rem; margin: 0 0 .25rem; }
.release .date { color: var(--muted); font-size: .9rem; margin: 0 0 .75rem; }
.release h4 { margin: 1rem 0 .3rem; font-size: 1rem; }
.release ul { margin: .25rem 0; padding-left: 1.2rem; }
.platform-tabs { display: flex; gap: .5rem; flex-wrap: wrap; margin: 1.5rem 0; }
.platform { scroll-margin-top: 4.5rem; }
#android.platform { display: none; }
#android.platform:target, #android.platform:has(:target) { display: block; }
.platforms:has(#android:target, #android :target) #iphone { display: none; }

/* Invitación y enlace corto */
.solo { min-height: 70vh; display: grid; place-items: center; padding: 3rem 0; }
.solo .panel { max-width: 34rem; text-align: center; }
.solo .panel img.icon { width: 5.5rem; height: 5.5rem; border-radius: 1.3rem; }
.solo .stores { justify-content: center; }
.solo ol { text-align: left; }
.qr { width: 12rem; height: 12rem; background: #fff; padding: .6rem; border-radius: .8rem; border: 1px solid var(--line); }
[hidden] { display: none !important; }

/* Kit de prensa */
.shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); gap: 1rem; margin: 1rem 0; }
.shots figure { margin: 0; }
.shots img { border-radius: .8rem; border: 1px solid var(--line); display: block; }
.shots figcaption { font-size: .82rem; color: var(--muted); margin-top: .35rem; }

/* Pie */
.foot { padding: 2.5rem 0 3.5rem; border-top: 1px solid var(--line); font-size: .92rem; color: var(--muted); }
.foot .wrap { display: grid; gap: 1rem; }
.foot nav { display: flex; gap: .4rem 1.1rem; flex-wrap: wrap; }
.foot a { color: var(--muted); }
.foot .quiet { font-size: .85rem; }

.only-narrow { display: none; }
@media (max-width: 52rem) {
  .only-narrow { display: block; }
  .hero .wrap, .split, .voice { grid-template-columns: minmax(0, 1fr); }
  .split.flip > :first-child { order: 0; }
  .hero .wrap { padding-top: 2.75rem; gap: 1.5rem; }
  .hero h1 { text-align: center; }
  .trust { margin-bottom: 1rem; }
  .three, .grid, .server, .dl { grid-template-columns: 1fr; }
  .nope { grid-template-columns: 1fr 1fr; }
  .voice { padding: 1.75rem; }
  section { padding: 3.25rem 0; }
  .phone { width: 14rem; }
  .phones .phone.back { width: 11rem; margin-right: -3rem; }
  .toc { columns: 1; }
}
@media (max-width: 30rem) {
  .nope { grid-template-columns: 1fr; }
  .store { min-width: 0; flex: 1 1 100%; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media print {
  .top, .foot, .skip { display: none; }
  body { font-size: 11pt; }
}
.titulos-centrados :is(h1, h2), .titulos-centrados .release h3 { text-align: center; }
.titulos-centrados .platform-tabs { justify-content: center; }
.titulos-centrados .platform > h2 + p.muted { text-align: center; }
.foot, .foot :is(p, li) { text-align: center; }
.foot nav { justify-content: center; }
.prose h3.plataforma { text-align: center; font-size: 1.35rem; margin: 0 0 .5rem; }
.dl > div, .dl > div p, #release, #release p { text-align: center; }
/* Descargas: los tres recuadros se ven de un vistazo al abrir la página (Jeny, 1 oct 2026). */
.page-head.compacta { padding: 1.75rem 0 1.25rem; }
.page-head.compacta h1 { margin-bottom: .35rem; }
.descargas-tres .dl { margin: 1.5rem 0 0; gap: 1rem; }
.descargas-tres .dl > div { padding: 1.15rem 1.25rem; gap: .4rem; }
.descargas-tres h3.plataforma { font-size: 1.25rem; text-align: center; }
.descargas-tres .dl p { margin: 0 0 .6rem; line-height: 1.5; }
.descargas-tres .btn-row { margin: 0 0 .6rem; }
.descargas-tres #published > :last-child { margin-bottom: 0; }
.descargas-tres + .prose { padding-top: 1.5rem; }
/* En fila, los tres botones a la misma altura: filas compartidas título / texto / versión / botón / huella. */
@media (min-width: 52.01rem) {
  .descargas-tres .dl { grid-template-rows: repeat(5, auto); row-gap: 0; }
  .descargas-tres .dl > div { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: .4rem; }
  .descargas-tres .dl > div > h3 { grid-row: 1; }
  .descargas-tres .dl > div > p { grid-row: 2; }
  .descargas-tres #soon, .descargas-tres .dl p.version { grid-row: 3; }
  .descargas-tres #published:not([hidden]) { display: contents; }
  .descargas-tres .btn-row { grid-row: 4; align-self: start; }
  .descargas-tres #published > p:last-child { grid-row: 5; }
}
@media (max-width: 52rem) {
  .page-head.compacta { padding: 1rem 0 .85rem; }
  .page-head.compacta h1 { margin-bottom: .2rem; }
  .page-head.compacta .lead { font-size: 1rem; line-height: 1.4; }
  .descargas-tres .dl { margin-top: .85rem; gap: .6rem; }
  .descargas-tres .dl > div { padding: .7rem .9rem; gap: .2rem; }
  .descargas-tres h3.plataforma { font-size: 1.12rem; }
  .descargas-tres .dl p { font-size: .95rem; line-height: 1.4; margin-bottom: .45rem; }
  .descargas-tres .btn-row { margin-bottom: .25rem; }
  .descargas-tres .btn { padding-top: .55rem; padding-bottom: .55rem; }
}
.page-head.titulos-centrados :is(.lead, .eyebrow) { text-align: center; margin-left: auto; margin-right: auto; }
.page-head .fecha { text-align: center; margin: .5rem 0 0; font-size: .92rem; }
.titulos-centrados .platform-tabs { margin-top: 0; }
.prose:has(> .platforms:first-child) { padding-top: 1.25rem; }
.platforms > .platform { padding-top: 0; }
/* Títulos y textos centrados sin partir palabras con guion: solo hace falta en el texto justificado. */
h1, h2, h3, h4, h5, h6, th, summary, strong, .lead, .eyebrow, .fecha, .center, .guides, .dl > div, #release, .platform > h2 + p.muted, .foot, .store, .btn { -webkit-hyphens: manual; hyphens: manual; }
:is(.center, .guides, .dl > div, #release, .foot, .titulos-centrados .platform > h2 + p) :is(p, li, span) { -webkit-hyphens: manual; hyphens: manual; }
.page-head.titulos-centrados p { text-align: center; -webkit-hyphens: manual; hyphens: manual; }
/* Descargas: el texto de cada recuadro justificado (Jeny, 2 oct 2026); título, versión y botón siguen centrados. */
:is(#release, .descargas-tres .dl > div) > p:not(.version, .directo) { text-align: justify; text-align-last: left; -webkit-hyphens: auto; hyphens: auto; hyphenate-limit-chars: 6 3 2; }
@media (min-width: 52.01rem) {
  .descargas-tres .dl > div { padding-left: 1.05rem; padding-right: 1.05rem; }
  :is(#release, .descargas-tres .dl > div) > p:not(.version, .directo) { font-size: .97rem; }
}
/* Descargas: Android sin Google (Jeny, 6 oct 2026). Para quién es, bajo el título; debajo del
   botón, la descarga directa para quien ya la tiene (va en la fila de la huella de antes). */
.plataforma small { display: block; margin-top: .2rem; font-size: .86rem; font-weight: 600; line-height: 1.35; color: var(--blue); }
.descargas-tres .dl > div > p.directo { grid-row: 5; margin: 0; font-size: .9rem; text-align: center; }
.elige { border: 1px solid var(--line); border-radius: var(--radius); background: var(--soft); padding: 1rem 1.25rem; margin: 0 0 1.25rem; }
.prose .elige h2 { font-size: 1.15rem; margin: 0 0 .4rem; text-align: center; }
.elige p { margin: .4rem 0; font-size: .97rem; }
/* /android: GrapheneOS u otro Android, al principio. */
.caminos { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin: .75rem 0 .5rem; }
.caminos a { display: block; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); color: var(--ink); text-decoration: none; text-align: center; }
.caminos a:hover { border-color: var(--blue); }
.caminos strong { display: block; font-size: 1.1rem; }
.caminos a > span { display: block; color: var(--muted); font-size: .92rem; margin-top: .2rem; }
@media (max-width: 30rem) { .caminos { grid-template-columns: 1fr; } }
/* /android: cada paso con su captura al lado; en móvil, la captura debajo y más estrecha. */
.apk-boton { text-align: center; margin: 0 0 1.5rem; scroll-margin-top: 4.5rem; }
.apk-boton .btn { font-size: 1.15rem; padding: .95rem 2rem; }
.apk-boton .btn[aria-disabled="true"] { opacity: .6; pointer-events: none; }
.apk-boton p { text-align: center; margin: .6rem 0 0; color: var(--muted); font-size: .92rem; }
.apk-boton .hash { font-size: .78rem; }
.marcas { list-style: none; padding: 0; margin: .75rem 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.marcas li { margin: 0; text-align: center; }
.marcas a { display: inline-block; padding: .45rem .95rem; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); color: var(--ink); font-weight: 600; font-size: .95rem; text-decoration: none; }
.marcas a:hover { border-color: var(--blue); }
.marcas.secundarias a { font-weight: 500; color: var(--muted); }
.instalar :is(h2, h3, section) { scroll-margin-top: 4.5rem; }
.paso { display: grid; grid-template-columns: minmax(0, 1fr) 12.5rem; gap: 1.5rem; align-items: start; margin: 1.75rem 0; }
.paso > div > :first-child { margin-top: 0; }
.paso figure { margin: 0; }
.paso img { display: block; width: 100%; border-radius: .9rem; border: 1px solid var(--line); }
.paso figcaption { font-size: .82rem; color: var(--muted); margin-top: .35rem; text-align: center; }
.marca-sec { border-top: 1px solid var(--line); margin-top: 2rem; }
.marca-sec > h2 { margin-top: 1.5rem; }
.ruta { font-weight: 600; background: var(--soft); border: 1px solid var(--line); border-radius: .4rem; padding: 0 .3rem; -webkit-box-decoration-break: clone; box-decoration-break: clone; -webkit-hyphens: manual; hyphens: manual; }
:is(p, li):has(.ruta) { text-align: start; }
.fuentes { font-size: .9rem; }
@media (max-width: 40rem) {
  .paso { grid-template-columns: minmax(0, 1fr); gap: .75rem; }
  .paso figure { width: min(15rem, 80%); margin: 0 auto; }
  .paso figure.ancha { width: 100%; }
}

/* Idiomas (web-nueva.mjs e idioma.js): el selector va fuera del desplegable «Menú», siempre a
   la vista. Sin varios idiomas no sale nada. */
.top nav.idiomas, .idiomas-solo .idiomas { display: flex; margin-left: 0; gap: .1rem; padding: .12rem; border: 1px solid var(--line); border-radius: 999px; font-size: .8rem; }
.idiomas > * { padding: .18rem .5rem; border-radius: 999px; font-weight: 600; letter-spacing: .03em; text-decoration: none; color: var(--muted); }
.idiomas > [aria-current] { background: var(--soft); color: var(--ink); }
.idiomas a:hover { color: var(--ink); }
.idiomas-solo { display: flex; justify-content: flex-end; max-width: 72rem; margin: 0 auto; padding: .9rem 1.25rem 0; }
.foot nav.idiomas-pie { display: block; }
.idiomas-pie [aria-current] { color: var(--ink); font-weight: 600; }
@media print { .idiomas, .idiomas-solo { display: none; } }
