/* GAMEWISE — landing
   Mismo sistema que la app ("Scoreboard táctico", DESIGN.md del frontend y manual de marca v1.1):
   oscuro, números al frente, bordes de 1 px en lugar de sombras, cian solo para acción y progreso,
   azul solo para datos, verde/rojo solo para resultado, ámbar solo para "Ejemplo". */

@font-face { font-family: "Barlow"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-style: normal; font-display: swap; src: url("/assets/fonts/barlow-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/fonts/barlow-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 700; font-style: normal; font-display: swap; src: url("/assets/fonts/barlow-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/fonts/barlow-semi-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-weight: 700; font-style: normal; font-display: swap; src: url("/assets/fonts/barlow-semi-condensed-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-weight: 700; font-style: italic; font-display: swap; src: url("/assets/fonts/barlow-semi-condensed-latin-700-italic.woff2") format("woff2"); }

:root {
  --bg: #0F1219;
  --side: #141821;
  --card: #191D27;
  --card-hi: #20252F;
  --line: #262C38;
  --mute: #313847;
  --ink: #F1F3F7;
  --ink-2: #A3ABBA;
  --ink-3: #858EA0;
  --on-accent: #04101C;
  --accent: #12BEF2;
  --accent-dark: #0A8EC0;
  --accent-tint: rgba(18, 190, 242, .08);
  --accent-line: rgba(18, 190, 242, .45);
  --blue: #2F8BFF;
  --blue-text: #6AABFF;
  --green: #6FD36B;
  --red: #E5574F;
  --warn: #F2A93B;

  --font: "Barlow", system-ui, sans-serif;
  --cond: "Barlow Semi Condensed", "Barlow", system-ui, sans-serif;
  --r-control: 4px;
  --r-panel: 6px;
  --shadow-float: 0 6px 18px rgba(0, 0, 0, .35);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --wrap: 1160px;
  --pad: clamp(20px, 4vw, 32px);

  color-scheme: dark;
  scrollbar-color: var(--mute) var(--bg);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  caret-color: var(--accent);
}
::selection { background: rgba(18, 190, 242, .32); color: var(--ink); }
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--mute); border: 3px solid var(--bg); border-radius: 8px; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: var(--r-control); }
.sprite { position: absolute; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--accent); color: var(--on-accent); padding: 8px 12px; border-radius: var(--r-control); font-weight: 700; }
.skip:focus { left: 8px; }

/* ---------- Tipografía ---------- */
h1, h2, h3 { font-family: var(--cond); font-weight: 700; margin: 0; letter-spacing: -.005em; text-wrap: balance; }
h2 { font-size: clamp(36px, 5vw, 58px); line-height: 1.02; }
h3 { font-size: 24px; line-height: 1.2; }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--ink-2); max-width: 38em; margin: 18px 0 0; text-wrap: pretty; }
.num { font-family: var(--cond); font-weight: 700; font-variant-numeric: tabular-nums; }
.accent { color: var(--accent); }
/* Etiqueta de sección de la app: solo dentro de los paneles del producto */
.label { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin: 0; line-height: 1.4; }
.example {
  font-size: 12px; font-weight: 600; color: var(--warn); line-height: 1.5;
  border: 1px solid rgba(242, 169, 59, .4); padding: 0 7px; border-radius: var(--r-control);
  white-space: nowrap;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px; border-radius: var(--r-control);
  font: 700 16px/1 var(--font); text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--primary:hover { background: var(--accent-dark); }
.btn--primary:active { background: #087aa6; }
.btn--secondary { background: var(--card-hi); color: var(--ink); border-color: var(--line); }
.btn--secondary:hover { border-color: var(--ink-3); }
.btn--sm { height: 40px; padding: 0 16px; font-size: 14px; }
.btn--lg { height: 54px; padding: 0 26px; font-size: 17px; }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn--primary svg { transition: transform .2s var(--ease-out); }
.btn--primary:hover svg { transform: translateX(3px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
@media (max-width: 520px) { .actions .btn { width: 100%; } }

/* ---------- Barra superior ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.topbar.is-scrolled { border-bottom-color: var(--line); }
.topbar__inner { height: 68px; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand img { width: 36px; height: 36px; border-radius: 8px; background: #02070f; box-shadow: 0 0 0 1px rgba(255,255,255,.1); }
.brand span { font-family: var(--cond); font-weight: 700; font-size: 24px; letter-spacing: .04em; line-height: 1; }
.nav { display: flex; gap: 24px; margin-right: auto; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--ink); }
.topbar__cta { display: flex; gap: 8px; }

/* Selector de idioma: segmentos neutros, el activo en cian */
.lang { display: flex; align-items: center; gap: 2px; height: 40px; padding: 0 4px 0 10px; border: 1px solid var(--line); border-radius: var(--r-control); }
.lang__icon { width: 16px; height: 16px; color: var(--ink-3); margin-right: 4px; }
.lang a {
  font: 700 13px/1 var(--font); letter-spacing: .04em; color: var(--ink-3); text-decoration: none;
  padding: 7px 6px; border-radius: 3px;
}
.lang a:hover { color: var(--ink); }
.lang a[aria-current="true"] { color: var(--accent); background: var(--accent-tint); }
@media (max-width: 960px) { .nav { display: none; } .lang { margin-left: auto; } }
@media (max-width: 600px) { .topbar__login { display: none; } .lang__icon { display: none; } .lang { padding-left: 4px; } }
@media (max-width: 420px) { .brand span { display: none; } .topbar__inner { gap: 12px; } }

/* ---------- Hero ---------- */
.hero { padding: clamp(44px, 7vw, 88px) 0 clamp(56px, 8vw, 96px); }
.hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(50px, 7vw, 84px); line-height: .95; letter-spacing: -.015em; }
.hero__note { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 18px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--ink-3); }
.hero__note li { display: inline-flex; align-items: center; gap: 7px; }
.hero__note svg { width: 14px; height: 14px; color: var(--green); }
.hero__note li:last-child svg { color: var(--ink-2); width: 16px; height: 16px; }
@media (max-width: 980px) { .hero__grid { grid-template-columns: 1fr; } }

/* Marcador del hero */
.board { margin: 0; position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 20px 20px 18px; }
.board__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.board__pattern { margin: 6px 0 0; font-family: var(--cond); font-style: italic; font-weight: 700; font-size: clamp(32px, 3.4vw, 40px); line-height: 1; }
.board__count { text-align: right; }
.board__count b { display: block; font-size: 44px; line-height: .9; color: var(--accent); }
.board__count b span { font-size: 22px; color: var(--ink-3); }
.board__count > span { font-size: 13px; color: var(--ink-2); }
.board > .example { position: absolute; top: -11px; right: 16px; background: var(--card); }

.board__table { width: 100%; border-collapse: collapse; margin-top: 6px; font-size: 14px; }
.board__table th { text-align: left; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); padding: 8px 10px 6px; }
.board__table th:last-child, .board__table td:last-child { text-align: right; }
.board__table td { padding: 6px 10px; border-top: 1px solid var(--line); white-space: nowrap; }
.board__table td i { font-family: var(--cond); font-weight: 700; font-size: 16px; }
.board__table .num { font-size: 17px; }
.board__table small { font: 600 12px/1 var(--font); margin-left: 4px; }
.win { color: var(--green); }
.loss { color: var(--red); }
.board__table .none { color: var(--ink-3); }
.flag { display: inline-block; font-weight: 600; font-size: 13px; color: var(--accent); padding: 2px 8px; border-radius: var(--r-control); background: var(--accent-tint); box-shadow: inset 0 0 0 1px var(--accent-line); }

/* El momento animado de la página: el coach "lee" las 10 partidas y marca el patrón */
@media (prefers-reduced-motion: no-preference) {
  .board__table tbody tr { animation: row-read .5s var(--ease-out) backwards; }
  .board__table tbody tr.hit .flag { animation: flag-on .6s var(--ease-out) backwards; }
  .board__table tbody tr:nth-child(1), .board__table tbody tr:nth-child(1) .flag { animation-delay: .15s; }
  .board__table tbody tr:nth-child(2), .board__table tbody tr:nth-child(2) .flag { animation-delay: .27s; }
  .board__table tbody tr:nth-child(3) { animation-delay: .39s; }
  .board__table tbody tr:nth-child(4), .board__table tbody tr:nth-child(4) .flag { animation-delay: .51s; }
  .board__table tbody tr:nth-child(5), .board__table tbody tr:nth-child(5) .flag { animation-delay: .63s; }
  .board__table tbody tr:nth-child(6), .board__table tbody tr:nth-child(6) .flag { animation-delay: .75s; }
  .board__table tbody tr:nth-child(7) { animation-delay: .87s; }
  .board__table tbody tr:nth-child(8), .board__table tbody tr:nth-child(8) .flag { animation-delay: .99s; }
  .board__table tbody tr:nth-child(9), .board__table tbody tr:nth-child(9) .flag { animation-delay: 1.11s; }
  .board__table tbody tr:nth-child(10) { animation-delay: 1.23s; }
  .board__count b { animation: count-on .5s var(--ease-out) 1.35s backwards; }
}
@keyframes row-read { from { opacity: .35; } }
@keyframes flag-on { from { color: var(--ink-3); background: transparent; box-shadow: inset 0 0 0 1px var(--line); } }
@keyframes count-on { from { color: var(--ink-3); } }

.board__coach { display: flex; gap: 12px; align-items: flex-start; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.board__coach img { width: 32px; height: 32px; border-radius: 7px; flex: none; background: #02070f; }
.board__coach p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink); }
@media (max-width: 420px) { .board { padding: 16px 14px 14px; } .board__table td, .board__table th { padding-left: 6px; padding-right: 6px; } .board__table small { display: block; margin: 2px 0 0; } }

/* ---------- Credibilidad ---------- */
.proof { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--side); }
.proof__inner { display: flex; align-items: center; justify-content: space-between; gap: 10px 40px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 20px; }
.proof p { margin: 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 15px; color: var(--ink-3); }
.proof__award svg { width: 20px; height: 20px; color: var(--accent); }
.proof__award b { font-family: var(--cond); font-size: 20px; color: var(--ink); }
.proof__sources b { color: var(--ink); font-weight: 600; }

/* ---------- Secciones ---------- */
.section { padding: clamp(88px, 12vw, 144px) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section__head { max-width: 800px; margin-bottom: clamp(44px, 6vw, 72px); }

/* Problema */
.problem__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.pains { list-style: none; margin: 32px 0 0; padding: 0; border-top: 1px solid var(--line); }
.pains li { padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: 17px; max-width: 36em; }
.pains b { color: var(--ink); font-weight: 600; }
.stats { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 20px; }
.stats__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.stats__grid { margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); }
.stats__grid div { padding: 12px 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.stats__grid div:nth-child(odd) { padding-right: 16px; }
.stats__grid div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
.stats__grid dt { font-size: 14px; color: var(--ink-2); }
.stats__grid dd { margin: 0; font-size: 24px; line-height: 1; color: var(--blue-text); }
.stats__question { margin: 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; font-family: var(--cond); font-weight: 700; font-size: 22px; color: var(--accent); }
.stats__question .num { font-size: 26px; color: var(--ink-3); }
@media (max-width: 900px) { .problem__grid { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .stats__grid { grid-template-columns: 1fr; } .stats__grid div:nth-child(n) { padding-left: 0; padding-right: 0; border-left: 0; } }

/* Ciclo */
.loop { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); }
.loop li { padding: 38px 20px 0 0; border-top: 2px solid var(--accent); position: relative; }
.loop__node {
  position: absolute; top: -21px; left: 0; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; background: var(--side); border: 2px solid var(--accent); color: var(--accent);
}
.loop__node svg { width: 17px; height: 17px; }
.loop .loop__last { border-top-color: var(--green); }
.loop .loop__last .loop__node { border-color: var(--green); color: var(--green); }
.loop .num { font-size: 15px; color: var(--ink-3); }
.loop h3 { font-size: 24px; margin-top: 2px; }
.loop p { margin: 8px 0 0; color: var(--ink-2); font-size: 15px; }
.loop-note { display: flex; gap: 12px; align-items: flex-start; margin: 48px 0 0; max-width: 780px; color: var(--ink-2); font-size: 17px; }
.loop-note svg { width: 22px; height: 22px; color: var(--accent); flex: none; margin-top: 2px; }
.loop-note b { color: var(--ink); }
@media (max-width: 1000px) { .loop { grid-template-columns: repeat(3, 1fr); row-gap: 36px; } }
@media (max-width: 560px) { .loop { grid-template-columns: 1fr 1fr; row-gap: 30px; } .loop h3 { font-size: 21px; } }

/* Qué te muestra */
.features { display: grid; gap: clamp(80px, 11vw, 136px); }
.feature { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.feature:nth-child(even) .feature__text { order: 2; }
.feature__text h3 { font-size: clamp(28px, 3vw, 34px); line-height: 1.1; }
.feature__text h3 { font-size: clamp(30px, 3.4vw, 40px); line-height: 1.05; }
.feature__text p { color: var(--ink-2); margin: 18px 0 0; font-size: 18px; max-width: 30em; }
.feature__text ul { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.feature__text li { display: flex; gap: 10px; color: var(--ink-2); font-size: 15px; }
.feature__text li svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: 2px; }
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; } .feature:nth-child(even) .feature__text { order: 0; } }

.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 20px; }
.panel__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }

/* evidencia: filas de marcador separadas por divisores */
.evidence { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.evidence li { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.evidence .num { font-size: 20px; color: var(--ink-2); }
.evidence small { display: block; color: var(--ink-3); font-size: 13px; margin-top: 1px; }
.evidence small i { font-family: var(--cond); font-weight: 700; font-size: 14px; }
.pill { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: var(--r-control); white-space: nowrap; }
.pill--data { color: var(--blue-text); background: rgba(47, 139, 255, .1); }
.pill--coach { color: var(--accent); background: var(--accent-tint); }
.coach-read { margin: 14px 0 0; font-size: 15px; color: var(--ink); display: flex; gap: 10px; align-items: baseline; }

/* chat */
.chat { display: grid; gap: 12px; }
.msg { display: flex; gap: 10px; align-items: flex-end; max-width: 92%; }
.msg img { width: 30px; height: 30px; border-radius: 7px; flex: none; background: #02070f; }
.msg p { margin: 0; padding: 11px 14px; border-radius: var(--r-panel); font-size: 15px; line-height: 1.45; background: var(--card-hi); border: 1px solid var(--line); }
.msg--me { margin-left: auto; flex-direction: row-reverse; }
.msg--me p { background: var(--accent-tint); border-color: rgba(18, 190, 242, .3); }
.memory { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-3); margin: 0 0 0 40px; }
.memory svg { width: 14px; height: 14px; color: var(--accent); }

/* plan: la pieza destacada de la app (borde cian de 1 px, fondo apenas teñido) */
.task { padding: 16px; border-radius: var(--r-panel); background: var(--accent-tint); border: 1px solid var(--accent-line); }
.task__title { margin: 0 0 6px; font-family: var(--cond); font-weight: 700; font-size: 20px; color: var(--accent); }
.task__text { margin: 0; font-size: 17px; font-weight: 500; }
.task small { display: block; margin-top: 8px; color: var(--ink-2); font-size: 13px; }
.drills { list-style: none; margin: 14px 0 0; padding: 0; }
.drills li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; }
.drills .num { font-size: 17px; color: var(--ink-2); white-space: nowrap; }

/* progreso */
.progress-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.progress-row .big { font-size: 44px; line-height: 1; }
.progress-row .up { color: var(--green); font-size: 24px; margin-left: 8px; }
.ok-state { display: inline-flex; align-items: center; gap: 6px; color: var(--green); font-size: 14px; font-weight: 600; }
.ok-state svg { width: 16px; height: 16px; }
.chart { display: grid; grid-template-columns: repeat(10, 1fr); gap: 8px; align-items: end; height: 150px; position: relative; margin-top: 30px; border-bottom: 1px solid var(--line); }
.chart span { background: var(--blue); border-radius: 2px 2px 0 0; }
.chart span:nth-child(1) { height: 27%; }
.chart span:nth-child(2) { height: 40%; }
.chart span:nth-child(3) { height: 33%; }
.chart span:nth-child(4) { height: 50%; }
.chart span:nth-child(5) { height: 47%; }
.chart span:nth-child(6) { height: 60%; }
.chart span:nth-child(7) { height: 57%; }
.chart span:nth-child(8) { height: 67%; }
.chart span:nth-child(9) { height: 70%; }
.chart span:nth-child(10) { height: 73%; }
.chart__goal { position: absolute; left: 0; right: 0; bottom: 67%; border-top: 2px dashed var(--accent); }
.chart__goal em { position: absolute; right: 0; top: -24px; font-style: normal; font-size: 12px; font-weight: 700; color: var(--accent); letter-spacing: .06em; text-transform: uppercase; background: var(--card); padding-left: 6px; }
.chart-axis { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-3); margin-top: 8px; }

/* Diferencia: tabla real */
.compare-wrap { border: 1px solid var(--line); border-radius: var(--r-panel); overflow: hidden; }
.compare { width: 100%; border-collapse: collapse; font-size: 16px; }
.compare th, .compare td { text-align: left; padding: 18px 22px; border-top: 1px solid var(--line); vertical-align: top; }
.compare thead th { border-top: 0; font-family: var(--cond); font-weight: 700; font-size: 20px; color: var(--ink-2); background: var(--side); }
.compare thead th.compare__us { color: var(--accent); }
.compare tbody th { font-weight: 600; color: var(--ink); width: 18%; }
.compare td { color: var(--ink-2); }
.compare td svg { width: 18px; height: 18px; vertical-align: -3px; margin-right: 10px; color: var(--ink-3); }
.compare td.compare__us { color: var(--ink); background: var(--accent-tint); }
.compare td.compare__us svg { color: var(--accent); }
.quote-line { margin: 36px 0 0; font-family: var(--cond); font-weight: 700; font-size: clamp(24px, 3vw, 32px); line-height: 1.2; color: var(--ink-2); }
.quote-line b { color: var(--ink); }
@media (max-width: 700px) {
  .compare thead { display: none; }
  .compare tr { display: grid; border-top: 1px solid var(--line); }
  .compare tbody tr:first-child { border-top: 0; }
  .compare th, .compare td { border-top: 0; padding: 10px 16px; width: auto; }
  .compare tbody th { padding-top: 16px; font-family: var(--cond); font-size: 18px; }
  .compare td:last-child { padding-bottom: 16px; }
}

/* Planes */
.plans { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
.plan { border: 1px solid var(--line); border-radius: var(--r-panel); background: var(--card); padding: clamp(24px, 3vw, 34px); display: flex; flex-direction: column; }
.plan--main { border-color: var(--accent-line); background: color-mix(in srgb, var(--card) 93%, var(--accent)); }
.plan--main h3 { color: var(--accent); }
.plan__price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 10px 0 4px; }
.plan__price b { font-size: 60px; line-height: 1; }
.plan__price span { color: var(--ink-2); font-size: 16px; }
.plan ul { list-style: none; margin: 18px 0 28px; padding: 0; display: grid; gap: 10px; }
.plan li { display: flex; gap: 10px; font-size: 16px; color: var(--ink-2); }
.plan li svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: 3px; }
.plan .btn { margin-top: auto; align-self: flex-start; }
.plan--soon { background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 22px 0 0; }
.plan--soon p { color: var(--ink-2); margin: 12px 0 0; font-size: 16px; max-width: 34em; }
@media (max-width: 820px) { .plans { grid-template-columns: 1fr; } .plan .btn { align-self: stretch; } }

/* FAQ */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative;
  font-family: var(--cond); font-weight: 700; font-size: 21px; line-height: 1.25;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(45deg); transition: transform .2s var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; border-color: var(--accent); }
.faq summary:hover { color: var(--accent); }
.faq details p { margin: -4px 0 22px; color: var(--ink-2); font-size: 16px; max-width: 40em; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } }

/* CTA final */
.final { text-align: center; }
.final h2 { font-size: clamp(44px, 6.4vw, 76px); line-height: .98; }
.final .lead { margin-left: auto; margin-right: auto; }
.final .actions { justify-content: center; }

/* Pie */
.footer { border-top: 1px solid var(--line); background: var(--side); padding: 44px 0 36px; font-size: 14px; color: var(--ink-3); }
.footer__top { display: flex; justify-content: space-between; gap: 28px; flex-wrap: wrap; align-items: flex-start; }
.footer .brand span { font-size: 21px; display: inline; }
.footer__tag { margin: 12px 0 0; max-width: 30em; }
.footer__links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer__links a { text-decoration: none; color: var(--ink-2); }
.footer__links a:hover { color: var(--ink); text-decoration: underline; }
.footer__leetify img, img.footer__leetify { width: 150px; height: auto; }
.footer__bottom { margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px 28px; flex-wrap: wrap; font-size: 13px; }
.footer__bottom p { margin: 0; max-width: 62em; }

/* Raíz sin middleware */
.fallback { min-height: 100vh; display: grid; place-items: center; }
.fallback a { color: var(--accent); margin: 0 10px; }

/* ---------- Bandas y radares de fondo ----------
   Radares tácticos originales (assets/radar-*.svg), no son mapas reales de CS2.
   Van solo en el inicio, el ciclo y el cierre, siempre detrás del contenido. */
.band { background: var(--side); }
.section + .band, .band + .section { border-top: 1px solid var(--line); }
.has-radar { position: relative; isolation: isolate; overflow: hidden; }
.has-radar::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  background: url("/assets/radar-a.svg") center / contain no-repeat;
  -webkit-mask-image: radial-gradient(closest-side, #000 40%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 40%, transparent 100%);
}
.hero.has-radar::before { width: min(1000px, 90vw); aspect-ratio: 1; right: -12vw; top: 50%; transform: translateY(-50%); opacity: .9; }
.radar--b::before { background-image: url("/assets/radar-b.svg"); }
.band.has-radar::before { width: 760px; aspect-ratio: 1; right: -180px; top: -200px; opacity: .7; }
.final.has-radar::before {
  width: 1100px; aspect-ratio: 1; left: 50%; top: 50%; transform: translate(-50%, -50%); opacity: .6;
  /* hueco en el centro para que el radar no compita con el título */
  -webkit-mask-image: radial-gradient(closest-side, transparent 38%, #000 62%, transparent 100%);
  mask-image: radial-gradient(closest-side, transparent 38%, #000 62%, transparent 100%);
}
@media (max-width: 980px) { .hero.has-radar::before { right: -30vw; top: 62%; width: 130vw; opacity: .6; } }
