/* Pandora World — web pública.
   Concepto: «libro de caravana». Fondo de tinta cálida, oro del logotipo como
   único acento, una ruta punteada que cruza el hero; secciones en una columna
   de 1120 px con cabeceras alineadas a la izquierda. La ventana de canales
   imita la del juego y es el único objeto «de interfaz» de la página.
   Oscuro primero (como el juego); variante clara con los mismos tokens. */
:root {
  --bg: #0c0a07;
  --bg-band: #120f0a;
  --surface: #17130d;
  --surface-2: #1f1a12;
  --line: #3a3122;
  --line-soft: #2a2319;
  --text: #ece5d3;
  --muted: #a89f8a;
  --gold: #d9b765;
  --gold-strong: #f1d68f;
  --gold-ink: #1a1305;
  --cta-top: #f0d27f;
  --cta-bottom: #b98d34;
  --hero-fade: 12, 10, 7;
  --ok: #9fe07a;
  --warn: #f0d880;
  --hot: #f0a050;
  --bad: #ff7a6a;
  --focus: #f6dc93;
  --shadow: 0 18px 50px rgba(0, 0, 0, .45);

  --font-display: "Palatino Linotype", Palatino, "Book Antiqua", "Iowan Old Style", "URW Palladio L", P052, Georgia, serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "Cascadia Mono", "SF Mono", Menlo, Consolas, monospace;

  --step--1: .875rem;
  --step-0: 1rem;
  --step-1: 1.1875rem;
  --step-2: 1.5rem;
  --step-3: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
  --step-4: clamp(1.6rem, 1.2rem + 2vw, 2.6rem);
  --radius: 12px;
  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 32px);
  --head-h: 64px;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f4f2ed; --bg-band: #ebe7de; --surface: #fffdf8; --surface-2: #f1ece1;
    --line: #d6ccb6; --line-soft: #e4dccb; --text: #1c170e; --muted: #5f5645;
    --gold: #85641b; --gold-strong: #5e4510; --gold-ink: #1a1305;
    --cta-top: #f0d27f; --cta-bottom: #c79b3e; --hero-fade: 244, 242, 237;
    --ok: #2f7d1f; --warn: #8a6a00; --hot: #a85a10; --bad: #b3261e; --focus: #6b4e12;
    --shadow: 0 14px 40px rgba(60, 45, 15, .16);
    color-scheme: light;
  }
}
:root[data-theme="light"] {
  --bg: #f4f2ed; --bg-band: #ebe7de; --surface: #fffdf8; --surface-2: #f1ece1;
  --line: #d6ccb6; --line-soft: #e4dccb; --text: #1c170e; --muted: #5f5645;
  --gold: #85641b; --gold-strong: #5e4510; --gold-ink: #1a1305;
  --cta-top: #f0d27f; --cta-bottom: #c79b3e; --hero-fade: 244, 242, 237;
  --ok: #2f7d1f; --warn: #8a6a00; --hot: #a85a10; --bad: #b3261e; --focus: #6b4e12;
  --shadow: 0 14px 40px rgba(60, 45, 15, .16);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 var(--step-0)/1.6 var(--font-body); text-rendering: optimizeLegibility; overflow-x: hidden; }
[hidden] { display: none !important; }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--gold); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--gold-strong); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.2; text-wrap: balance; margin: 0; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.muted { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.skip { position: absolute; left: 12px; top: -48px; z-index: 50; padding: 10px 14px; border-radius: 8px; background: var(--gold); color: var(--gold-ink); font-weight: 600; }
.skip:focus { top: calc(env(safe-area-inset-top, 0px) + 10px); }

/* ── Botones ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 44px; padding: .6em 1.2em; border-radius: 999px; border: 1px solid transparent; font: 600 var(--step-0)/1.1 var(--font-body); text-decoration: none; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, filter .15s ease, background-color .15s ease; }
.btn--play { color: var(--gold-ink); background: linear-gradient(180deg, var(--cta-top), var(--cta-bottom)); border-color: #7a5b1c; box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 8px 22px rgba(185, 141, 52, .28); }
.btn--play:hover { color: var(--gold-ink); filter: brightness(1.07); transform: translateY(-1px); }
.btn--play:active { transform: translateY(0); }
.btn--ghost { color: var(--text); background: transparent; border-color: var(--line); }
.btn--ghost:hover { color: var(--text); border-color: var(--gold); background: var(--surface); }
.btn--large { min-height: 56px; padding: .8em 1.8em; font-size: var(--step-1); letter-spacing: .01em; }
.btn--small { min-height: 38px; padding: .45em 1em; font-size: var(--step--1); }

/* ── Cabecera ── */
.site-head { position: sticky; top: 0; z-index: 30; padding-top: env(safe-area-inset-top, 0px); background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(1.2) blur(10px); -webkit-backdrop-filter: saturate(1.2) blur(10px); border-bottom: 1px solid var(--line-soft); }
@supports not (background: color-mix(in srgb, red 50%, blue)) { .site-head { background: var(--bg); } }
.site-head__bar { display: flex; align-items: center; gap: 20px; min-height: var(--head-h); }
.brand { flex: none; display: block; width: 132px; }
.site-nav { flex: 1; min-width: 0; }
.site-nav ul { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; }
.site-nav a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--muted); font-size: var(--step--1); font-weight: 500; text-decoration: none; white-space: nowrap; }
.site-nav a:hover { color: var(--text); background: var(--surface); }
.site-head__tools { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.lang-switch, .theme-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 40px; height: 40px; padding: 0 10px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--text); font: 600 var(--step--1)/1 var(--font-body); text-decoration: none; cursor: pointer; }
.lang-switch:hover, .theme-toggle:hover { border-color: var(--gold); color: var(--gold-strong); }
.theme-toggle { padding: 0; width: 40px; }
.theme-toggle__icon { display: none; }
.theme-toggle[data-mode="auto"] [data-icon="auto"], .theme-toggle[data-mode="dark"] [data-icon="dark"], .theme-toggle[data-mode="light"] [data-icon="light"], .theme-toggle:not([data-mode]) [data-icon="auto"] { display: inline-flex; }
@media (max-width: 960px) {
  .site-head__bar { flex-wrap: wrap; gap: 0 12px; }
  .site-nav { order: 3; flex-basis: 100%; margin-inline: calc(var(--gutter) * -1); overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav ul { padding: 0 var(--gutter) 8px; }
  .brand { width: 112px; }
}
@media (max-width: 420px) { .site-head__tools .btn--play { display: none; } .brand { width: 104px; } }

/* ── Hero ── */
.hero { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(56px, 9vw, 120px) clamp(72px, 10vw, 128px); }
.hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgba(var(--hero-fade), .94) 0%, rgba(var(--hero-fade), .78) 42%, rgba(var(--hero-fade), .28) 100%),
  linear-gradient(0deg, rgb(var(--hero-fade)) 0%, rgba(var(--hero-fade), 0) 38%); }
.hero__inner { display: grid; gap: 22px; justify-items: start; }
.hero__title { display: grid; gap: 18px; margin: 0; }
.hero__logo { width: min(620px, 92%); filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .55)); }
.hero__tagline { font-family: var(--font-display); font-size: var(--step-3); font-weight: 600; font-style: italic; color: var(--gold-strong); letter-spacing: .005em; max-width: 22ch; }
.hero__lead { max-width: 54ch; font-size: var(--step-1); color: var(--text); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 4px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: var(--step--1); }
.hero__facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero__facts li::before { content: ""; width: 6px; height: 6px; transform: rotate(45deg); background: var(--gold); }
.hero__route { position: absolute; left: 0; right: 0; bottom: 14px; width: 100%; height: 40px; z-index: -1; }
.hero__route path { fill: none; stroke: var(--gold); stroke-width: 2; stroke-dasharray: 2 10; stroke-linecap: round; opacity: .7; vector-effect: non-scaling-stroke; animation: caravan 40s linear infinite; }
@keyframes caravan { to { stroke-dashoffset: -480; } }
@media (max-width: 640px) { .hero::before { background: linear-gradient(0deg, rgb(var(--hero-fade)) 8%, rgba(var(--hero-fade), .82) 55%, rgba(var(--hero-fade), .6) 100%); } }

/* ── Secciones ── */
.section { padding-block: clamp(56px, 8vw, 104px); }
main > .section:nth-child(even of .section) { background: var(--bg-band); border-block: 1px solid var(--line-soft); }
.section-head { display: grid; gap: 10px; max-width: 62ch; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head h2 { font-size: var(--step-4); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--gold); font-size: var(--step--1); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 7px; height: 7px; transform: rotate(45deg); border: 1.5px solid currentColor; }
.lead { color: var(--muted); font-size: var(--step-1); }
.note { padding: 14px 16px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); }
.status { padding: 24px 0; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }

/* ── Características ── */
.features-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; margin: 0; padding: 0; list-style: none; }
.feature { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; }
.feature__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--gold); }
.feature h3 { font-size: var(--step-1); margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: .9688rem; }
.features-aside { display: grid; gap: 20px; position: sticky; top: calc(var(--head-h) + 24px); }
@media (max-width: 1000px) { .features-layout { grid-template-columns: 1fr; } .features-aside { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } }
@media (max-width: 720px) { .features { grid-template-columns: 1fr; } .features-aside { grid-template-columns: 1fr; } }

.channel-board { margin: 0; padding: 14px; border: 1px solid #6f5a30; border-radius: 10px; background: linear-gradient(170deg, #1d2527, #0b0f10 75%); box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .05); color: #ece5d3; font-size: var(--step--1); }
.channel-board__title { margin: -14px -14px 12px; padding: 9px 14px; border-bottom: 1px solid #4a3f28; border-radius: 10px 10px 0 0; background: linear-gradient(#2a3234, #161c1e); color: #f3e2b1; font-family: var(--font-display); font-size: var(--step-0); letter-spacing: .06em; }
.channel-board__rows { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.channel-board__rows li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 9px 12px; border: 1px solid #2a3336; border-radius: 8px; background: #080c0d; }
.ch-name { color: #fff0c2; font-weight: 600; }
.ch-state { font-weight: 700; letter-spacing: .02em; }
.ch-state[data-state="easy"] { color: #9fe07a; }
.ch-state[data-state="populated"] { color: #f0d880; }
.ch-state[data-state="crowded"] { color: #f0a050; }
.ch-state[data-state="full"] { color: #ff6a5a; }
.ch-note { grid-column: 1 / -1; color: #8d9894; font-size: .8125rem; }
.channel-board__full { margin-top: 10px; color: #8d9894; font-size: .8125rem; }
.channel-board figcaption { margin-top: 12px; padding-top: 10px; border-top: 1px solid #2a3336; color: #a7ada9; font-size: .8125rem; }
.origins { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.origin { margin: 0; display: grid; gap: 8px; }
.origin img { width: 100%; aspect-ratio: 800 / 364; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.origin figcaption { color: var(--muted); font-size: var(--step--1); line-height: 1.45; }
.origin strong { display: block; color: var(--text); font-family: var(--font-display); font-size: var(--step-1); }

/* ── Instalación ── */
.install { display: grid; gap: 18px; }
.install__tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.tab { position: relative; display: grid; gap: 2px; justify-items: start; min-height: 64px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--text); font: 600 var(--step--1)/1.3 var(--font-body); text-align: left; cursor: pointer; }
.tab small { color: var(--muted); font-weight: 400; }
.tab:hover { border-color: var(--gold); }
.tab[aria-selected="true"] { border-color: var(--gold); background: var(--surface-2); box-shadow: inset 0 -3px 0 var(--gold); }
.tab__detected { order: -1; justify-self: start; margin-bottom: 2px; padding: 1px 7px; border-radius: 999px; background: var(--gold); color: var(--gold-ink); font-size: .6875rem; font-style: normal; font-weight: 700; letter-spacing: .03em; }
.install-panel { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: center; padding: clamp(18px, 3vw, 32px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.install-panel + .install-panel { margin-top: 0; }
.install-art { width: 100%; height: auto; }
.install-art .a-frame { fill: var(--surface-2); stroke: var(--line); stroke-width: 1.5; }
.install-art .a-bar { fill: var(--bg); stroke: var(--line); }
.install-art .a-menu { fill: var(--bg); stroke: var(--line); }
.install-art .a-text { fill: var(--line); }
.install-art .a-dot { fill: var(--muted); }
.install-art .a-accent { fill: var(--gold); opacity: .8; }
.install-art .a-hot > :first-child { fill: var(--gold); }
.install-art .a-hot { stroke: var(--gold-ink); fill: var(--gold-ink); }
.install-art .a-hot > :first-child { stroke: none; }
.install-art .a-hot { animation: pulse 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes pulse { 50% { opacity: .72; } }
.steps { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { position: relative; display: grid; gap: 4px; padding-left: 52px; counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: -2px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--gold); color: var(--gold); font: 700 var(--step-0)/1 var(--font-display); }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 17.5px; top: 40px; bottom: -16px; border-left: 1.5px dotted var(--line); }
.steps h3 { font-size: var(--step-1); }
.steps p { color: var(--muted); }
.firefox-note { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start; margin-top: 18px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); }
.firefox-note h3 { font-size: var(--step-0); margin-bottom: 2px; }
.firefox-note p { color: var(--muted); }
.firefox-note__icon { color: var(--hot); display: grid; place-items: center; padding-top: 2px; }
.firefox-note.is-current { border-color: var(--hot); background: var(--surface); }
.install__cta { margin-top: 24px; }
@media (max-width: 860px) { .install__tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); } .install-panel { grid-template-columns: 1fr; } .install-panel__art { max-width: 320px; } }

/* ── Noticias ── */
.news { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 18px; align-items: start; }
.news-card { display: grid; gap: 10px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); min-width: 0; }
.news-card--pinned { grid-column: 1 / -1; border-color: color-mix(in srgb, var(--gold) 55%, var(--line)); background: linear-gradient(160deg, var(--surface-2), var(--surface) 60%); }
.news-card h3 { font-size: var(--step-2); }
.news-card:not(.news-card--pinned) h3 { font-size: var(--step-1); }
.news-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; color: var(--muted); font-size: .8125rem; }
.cat, .pin { display: inline-flex; align-items: center; padding: 2px 9px; border-radius: 999px; border: 1px solid var(--line); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: .6875rem; }
.cat[data-cat="patch"] { color: var(--gold); border-color: color-mix(in srgb, var(--gold) 60%, transparent); }
.cat[data-cat="event"] { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 50%, transparent); }
.cat[data-cat="maintenance"] { color: var(--hot); border-color: color-mix(in srgb, var(--hot) 55%, transparent); }
.pin { background: var(--gold); color: var(--gold-ink); border-color: var(--gold); }
.news-card__body { display: grid; gap: 10px; max-width: 70ch; overflow-wrap: anywhere; }
.news-card__body ul, .news-card__body ol { margin: 0; padding-left: 1.3em; display: grid; gap: 4px; }
.news-card__body h4 { font-size: var(--step-1); margin-top: 4px; }
.news-card__body code { padding: 1px 5px; border-radius: 4px; background: var(--bg); font: .9em var(--font-mono); }
.news-card__more summary { color: var(--gold); cursor: pointer; font-weight: 600; width: max-content; }
.news-card__more[open] summary { margin-bottom: 10px; }
.news-card__by { font-size: .8125rem; }

/* ── Rankings ── */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chip { min-height: 40px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--text); font: 600 var(--step--1)/1 var(--font-body); cursor: pointer; }
.chip:hover { border-color: var(--gold); }
.chip[aria-selected="true"] { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); }
.rank { min-height: 180px; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.rank-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: .9375rem; }
.rank-table th, .rank-table td { padding: 11px 16px; text-align: left; border-bottom: 1px solid var(--line-soft); white-space: nowrap; }
.rank-table thead th { position: sticky; top: 0; background: var(--surface-2); color: var(--muted); font: 700 .75rem/1.2 var(--font-body); letter-spacing: .08em; text-transform: uppercase; }
.rank-table tbody tr:last-child > * { border-bottom: 0; }
.rank-table tbody tr:hover > * { background: var(--surface-2); }
.rank-table .col-rank { width: 3.5rem; color: var(--muted); font-weight: 700; }
.rank-table .col-level, .rank-table .col-jobLevel, .rank-table .col-members, .rank-table .col-points { text-align: right; }
.rank-table tbody th.col-name { font-weight: 600; color: var(--text); }
.rank-table .top .col-rank { color: var(--gold); font-family: var(--font-display); font-size: 1.05rem; }
.rank-table .top-1 .col-name::after { content: " ◆"; color: var(--gold); font-size: .75em; }
.rank__updated { margin-top: 10px; font-size: .8125rem; min-height: 1.3em; }
@media (max-width: 560px) { .rank-table th, .rank-table td { padding: 10px 10px; } .rank-table .col-race { display: none; } }

/* ── Comunidad ── */
.social { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.social__link { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--text); text-decoration: none; }
.social__link:hover { border-color: var(--gold); color: var(--text); }
.social__link .icon { width: 28px; height: 28px; color: var(--gold); }
.social__link span { display: grid; }
.social__link small { color: var(--muted); font-size: .8125rem; }
.social__link--primary { grid-column: span 2; }
@media (max-width: 560px) { .social__link--primary { grid-column: auto; } }

/* ── FAQ ── */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(20px, 5vw, 64px); align-items: start; }
.faq__list { display: grid; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 2px; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s ease; }
.faq__item[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }
.faq__item h3 { font-size: var(--step-1); }
.faq__item p { padding: 0 2px 20px; color: var(--muted); max-width: 68ch; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } }

/* ── Pie ── */
.site-foot { padding-block: 48px calc(28px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line-soft); background: var(--bg); }
.site-foot__grid { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr) auto; gap: 32px 48px; align-items: start; }
.site-foot__brand { display: grid; gap: 10px; }
.site-foot__brand img { width: 180px; }
.site-foot__brand p { font-size: .8125rem; }
.site-foot__title { font-size: var(--step-0); color: var(--gold); margin-bottom: 6px; font-family: var(--font-body); letter-spacing: .08em; text-transform: uppercase; font-size: .75rem; }
.site-foot__notice p { color: var(--muted); font-size: .875rem; max-width: 70ch; }
.site-foot__links { display: grid; gap: 8px; font-size: .9375rem; }
.site-foot__links a { color: var(--text); text-decoration: none; }
.site-foot__links a:hover { color: var(--gold-strong); text-decoration: underline; }
.site-foot__copy { margin-top: 32px; color: var(--muted); font-size: .8125rem; }
@media (max-width: 860px) { .site-foot__grid { grid-template-columns: 1fr; } }

/* ── Páginas legales / 404 ── */
.legal { padding-block: clamp(32px, 6vw, 72px); max-width: 820px; }
.legal h1 { font-size: var(--step-4); margin: 18px 0 8px; }
.legal__body { display: grid; gap: 28px; margin-top: 32px; }
.legal__body section { display: grid; gap: 10px; }
.legal__body h2 { font-size: var(--step-2); color: var(--gold-strong); }
.legal__body p { color: var(--text); max-width: 68ch; }
.back { text-decoration: none; font-weight: 600; }
.notfound { display: grid; gap: 18px; justify-items: start; }
.notfound img { width: min(420px, 100%); }
.notfound p:last-child { display: flex; flex-wrap: wrap; gap: 12px; }

/* ── Silk ── */
.store__points { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: -12px 0 24px; padding: 0; list-style: none; color: var(--muted); font-size: var(--step--1); }
.store__points li { display: inline-flex; align-items: center; gap: 8px; }
.store__points li::before { content: ""; width: 6px; height: 6px; transform: rotate(45deg); background: var(--gold); }
.store__cta { margin-top: 24px; }

/* ── Requisitos ── */
.req { display: grid; gap: 20px; }
.req-block { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.req-table { width: 100%; border-collapse: collapse; font-size: .9063rem; }
.req-table caption { padding: 14px 16px; text-align: left; font: 600 var(--step-1)/1.2 var(--font-display); color: var(--gold-strong); border-bottom: 1px solid var(--line); background: var(--surface-2); }
.req-table th, .req-table td { padding: 10px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-soft); }
.req-table thead th { color: var(--muted); font: 700 .75rem/1.2 var(--font-body); letter-spacing: .08em; text-transform: uppercase; }
.req-table thead th:nth-child(3) { color: var(--gold); }
.req-table tbody th { width: 22%; color: var(--text); font-weight: 600; }
.req-table tbody td { color: var(--muted); }
.req-table tbody td:last-child { color: var(--text); }
.req-table tbody tr:last-child > * { border-bottom: 0; }
.req-notes { display: grid; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .9375rem; max-width: 80ch; }
.req-notes li { position: relative; padding-left: 18px; }
.req-notes li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; transform: rotate(45deg); background: var(--gold); }
.req-link { margin-top: 16px; }
.req-link a { font-weight: 600; }
@media (max-width: 600px) {
  .req-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .req-table tbody, .req-table tr, .req-table th, .req-table td { display: block; width: auto; }
  .req-table tbody tr { padding: 10px 14px; border-bottom: 1px solid var(--line-soft); }
  .req-table tbody tr:last-child { border-bottom: 0; }
  .req-table tbody th, .req-table tbody td { padding: 2px 0; border: 0; width: auto; }
  .req-table tbody td::before { content: attr(data-label) ": "; color: var(--gold); font-weight: 600; }
}
