@font-face { font-family: "Archivo"; font-style: normal; font-weight: 400 900; font-stretch: 62% 125%; font-display: swap; src: url("/fonts/archivo-latin.woff2") format("woff2"); }

:root {
  --bg: #0e0f0c; --surface: #1a1c17; --surface-2: #23261f; --line: #2c3027;
  --text: #f2f4ee; --soft: #b9bdb2; --faint: #7d8277; --accent: #c6f432; --on-accent: #0e0f0c; --warn: #e6a15a;
  --f-wide: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif; }
main { max-width: 680px; margin: 0 auto; padding: 32px 16px 64px; }
h1 { font-size: 34px; margin: 8px 0 4px; letter-spacing: -0.5px; line-height: 1.15; }
h2 { font-size: 21px; margin-top: 32px; }
a { color: var(--accent); }
.card { background: var(--surface); border-radius: 20px; padding: 20px; margin: 20px 0; }
.code { font-size: 40px; font-weight: 800; letter-spacing: 6px; color: var(--accent); text-align: center; }
.soft { color: var(--soft); }
footer { margin-top: 48px; color: var(--soft); font-size: 14px; }

/* Cabecera común */
.top { max-width: 1080px; margin: 0 auto; padding: 18px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 19px; letter-spacing: -0.3px; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.top nav a { color: var(--soft); text-decoration: none; font-size: 15px; margin-left: 18px; }
.top nav a:hover { color: var(--text); }

/* Portada (opción B: la clasificación es la portada) */
.landing { font-family: var(--f-wide); }
.landing main { max-width: 1080px; padding: 0 16px 48px; }
.landing .top { font-stretch: 112%; }
.landing .top nav a { font-stretch: 100%; }
.hero { padding-block: 32px 0; }
.hero h1 { font-size: clamp(42px, 8.5vw, 104px); line-height: .92; letter-spacing: -0.03em; font-weight: 900; font-stretch: 125%; margin: 0; text-wrap: balance; text-transform: uppercase; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-row { display: grid; grid-template-columns: 1fr auto; gap: 20px 24px; align-items: end; margin-top: 28px; }
.hero-row p { margin: 0; color: var(--soft); font-size: 18px; max-width: 34em; }
.cta { display: grid; gap: 10px; justify-items: end; }
.cta .btn { font-size: 16px; padding: 14px 22px; }
.soon { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 13px; color: var(--soft); letter-spacing: .04em; text-transform: uppercase; }
.soon svg { width: 15px; height: 15px; flex: none; }
.top nav { display: flex; align-items: center; }
.top nav .btn-top, .top nav .btn-top:hover { color: var(--on-accent); padding: 9px 14px; font-size: 14px; margin-left: 18px; }
.board { margin-top: 40px; border-top: 2px solid var(--text); }
.board-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding-block: 14px; font-size: 13px; color: var(--faint); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.board-head b { color: var(--text); }
.board ol { list-style: none; margin: 0; padding: 0; }
.board li { display: grid; grid-template-columns: 56px 1fr auto; align-items: baseline; gap: 16px; padding-block: 14px; border-top: 1px solid var(--line); }
.board .p { font-size: 15px; color: var(--faint); font-weight: 700; font-variant-numeric: tabular-nums; }
.board .n { font-size: clamp(22px, 3.4vw, 36px); font-weight: 800; font-stretch: 112%; letter-spacing: -0.01em; line-height: 1.15; min-width: 0; }
.board .n small { display: block; font-size: 13px; font-weight: 500; color: var(--faint); font-stretch: 100%; letter-spacing: 0; margin-top: 2px; }
.board .s { font-size: clamp(28px, 4.6vw, 52px); font-weight: 900; font-variant-numeric: tabular-nums; font-stretch: 75%; line-height: 1; }
.board .lead .n, .board .lead .s { color: var(--accent); }
.board .last .n small { color: var(--warn); }
.rules { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 64px; border-top: 2px solid var(--text); }
.rules div { padding: 22px 20px 0 0; min-width: 0; }
.rules div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.k { font-size: 13px; color: var(--accent); text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.rules h2 { font-size: 22px; font-stretch: 112%; margin: 8px 0 6px; }
.rules p { margin: 0; color: var(--soft); font-size: 15px; }
.band { display: grid; gap: 40px; padding-block: 48px; margin-top: 64px; border-top: 2px solid var(--text); align-items: start; }
.band h2 { font-size: clamp(30px, 4.6vw, 52px); line-height: 1; font-weight: 900; font-stretch: 125%; margin: 0 0 16px; text-transform: uppercase; letter-spacing: -0.02em; text-wrap: balance; }
.gym { grid-template-columns: 0.9fr 1.1fr; }
.gym > div > p { color: var(--soft); margin: 0 0 20px; }
.gym ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.gym li { color: var(--soft); padding-left: 22px; position: relative; }
.gym li::before { content: ""; position: absolute; left: 0; top: .72em; width: 10px; height: 2px; background: var(--accent); }
.gym li b { color: var(--text); }
.log { border: 1px solid var(--line); border-radius: 8px; min-width: 0; overflow: hidden; }
.log-h { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); font-weight: 600; }
.log-h b { color: var(--text); }
.ex { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.ex .t { font-weight: 700; font-stretch: 105%; min-width: 0; }
.ex .t small { display: block; color: var(--faint); font-weight: 500; font-size: 13px; font-stretch: 100%; }
.step { display: inline-flex; align-items: center; gap: 10px; font-variant-numeric: tabular-nums; font-weight: 800; font-size: 20px; font-stretch: 75%; white-space: nowrap; }
.step i { font-style: normal; width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-size: 18px; color: var(--accent); font-stretch: 100%; }
.rest { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; background: var(--accent); color: var(--on-accent); font-weight: 700; }
.rest b { font-size: 34px; font-weight: 900; font-stretch: 75%; font-variant-numeric: tabular-nums; line-height: 1; }
.pts { grid-template-columns: 1fr 1fr; align-items: center; }
.pts h2 { margin: 0; }
.pts table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.pts td { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
.pts td:last-child { text-align: right; font-weight: 800; font-size: 22px; color: var(--accent); }
.pts caption { caption-side: bottom; text-align: left; color: var(--faint); font-size: 14px; padding-top: 12px; }
.beta { grid-template-columns: 1fr 1fr; }
.beta p { color: var(--soft); margin: 0; max-width: 34em; }
.signup { display: grid; gap: 8px; min-width: 0; }
.signup label, .signup legend { font-size: 13px; font-weight: 600; color: var(--soft); text-transform: uppercase; letter-spacing: .08em; }
.signup input[type=text], .signup input:not([type]), .signup input[type=email] { font: inherit; font-size: 17px; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 12px 14px; margin-bottom: 8px; width: 100%; }
.signup input:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.signup fieldset { border: 0; padding: 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.signup legend { width: 100%; padding: 0; margin-bottom: 8px; }
.signup .opt { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; text-transform: none; letter-spacing: 0; color: var(--text); font-weight: 500; cursor: pointer; }
.signup .opt input { accent-color: var(--accent); width: 18px; height: 18px; margin: 0; }
.signup .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.signup .btn { border: 0; font: inherit; font-weight: 700; cursor: pointer; justify-self: start; }
.signup .btn:disabled { opacity: .6; cursor: progress; }
.signup .fine { font-size: 13px; color: var(--faint); margin: 4px 0 0; }
.signup .fine a { color: var(--soft); }
.signup .msg { margin: 0; color: var(--accent); font-weight: 600; min-height: 1.5em; }
.btn { display: inline-flex; align-items: center; justify-content: center; font-weight: 700; padding: 13px 20px; border-radius: 6px; text-decoration: none; background: var(--accent); color: var(--on-accent); }
.btn:focus-visible, .top a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.site-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 24px; margin-top: 0; border-top: 1px solid var(--line); color: var(--faint); font-size: 14px; }
.site-foot div { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.site-foot a { color: var(--soft); text-decoration: none; }
.site-foot a:hover { color: var(--text); }

/* El pique: muro ilustrado y avisos (PIQ-182) */
.pique { grid-template-columns: 0.9fr 1.1fr; }
.pique > div > p { color: var(--soft); margin: 0 0 20px; }
.pique ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.pique li { color: var(--soft); padding-left: 22px; position: relative; }
.pique li::before { content: ""; position: absolute; left: 0; top: .72em; width: 10px; height: 2px; background: var(--accent); }
.pique li b { color: var(--text); }
.wall { display: grid; gap: 12px; min-width: 0; }
.feed { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.post { padding: 14px 16px; display: grid; gap: 10px; }
.post + .post { border-top: 1px solid var(--line); }
.post-h { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.post-h b { font-stretch: 105%; }
.post-h small { font-size: 13px; color: var(--faint); }
.post-h .pts { color: var(--accent); font-weight: 900; font-stretch: 75%; font-size: 22px; font-variant-numeric: tabular-nums; }
.photo { aspect-ratio: 16 / 7; max-width: 100%; border-radius: 6px; background: linear-gradient(135deg, #2a2f22, #171a13); display: grid; place-items: center; color: var(--faint); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; }
.react { display: flex; gap: 8px; flex-wrap: wrap; font-size: 13px; }
.react span { border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; color: var(--soft); }
.react span.me { border-color: var(--accent); color: var(--accent); }
.comment { margin: 0; font-size: 14px; color: var(--soft); }
.comment b { color: var(--text); }
.comment em { font-style: normal; color: var(--accent); font-weight: 600; }
.alerts { display: grid; gap: 8px; }
.alert { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.alert .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); margin-top: 6px; }
.alert.warn .dot { background: var(--warn); }
.alert b { display: block; font-stretch: 105%; }
.alert span { font-size: 13px; color: var(--soft); }

/* Todo lo que trae: ficha técnica en tres columnas (PIQ-182) */
.feat { padding-block: 48px; margin-top: 64px; border-top: 2px solid var(--text); }
.feat-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: end; margin-bottom: 28px; }
.feat-head h2 { font-size: clamp(30px, 4.6vw, 52px); line-height: 1; font-weight: 900; font-stretch: 125%; margin: 0; text-transform: uppercase; letter-spacing: -0.02em; text-wrap: balance; }
.feat-head p { margin: 0; color: var(--soft); max-width: 34em; }
.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 32px; }
.col { min-width: 0; }
.col .k { display: block; padding-bottom: 10px; border-bottom: 2px solid var(--text); }
.col dl { margin: 0; }
.col dl div { padding: 12px 0; border-bottom: 1px solid var(--line); display: grid; gap: 2px; }
.col dt { font-weight: 700; font-stretch: 105%; }
.col dd { margin: 0; font-size: 14px; color: var(--soft); }
.feat + .band { margin-top: 0; }

/* Puntos: dos modos (PIQ-182) */
.pts { align-items: start; }
.pts > div > p { color: var(--soft); margin: 0; max-width: 34em; }
.modes { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mode { border-top: 2px solid var(--text); padding-top: 12px; min-width: 0; }
.mode .k { display: block; margin-bottom: 8px; }
.mode table { margin: 0; }
.mode .big { font-size: 44px; font-weight: 900; font-stretch: 75%; color: var(--accent); line-height: 1; margin: 6px 0 10px; }
.mode p { margin: 10px 0 0; font-size: 14px; color: var(--faint); }
.mode p.lead { margin: 0; color: var(--text); font-size: 16px; }

/* Preguntas frecuentes: plegables nativas (PIQ-182) */
.faq { grid-template-columns: 0.8fr 1.2fr; }
.faq > div > p { color: var(--soft); margin: 0; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 14px 0; font-weight: 700; font-stretch: 105%; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-weight: 900; font-size: 20px; line-height: 1; flex: none; }
.faq details[open] summary::after { content: "−"; }
.faq summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.faq details p { margin: 0 0 14px; color: var(--soft); font-size: 15px; max-width: 60ch; }

/* Páginas secundarias (soporte, privacidad, términos): misma cabecera y tipografía que la portada (PIQ-182) */
.page main { max-width: 680px; padding-top: 16px; }
.page h1 { font-size: clamp(34px, 6vw, 56px); line-height: .95; font-weight: 900; font-stretch: 125%; text-transform: uppercase; letter-spacing: -0.03em; margin: 8px 0 12px; }
.page h2 { font-size: 22px; font-stretch: 112%; font-weight: 800; margin: 32px 0 8px; }
.page p, .page li { color: var(--soft); }
.page p strong, .page li strong { color: var(--text); }
.page .updated { font-size: 14px; color: var(--faint); margin: 0 0 8px; padding-bottom: 16px; border-bottom: 2px solid var(--text); }
.page .box { border-top: 2px solid var(--text); padding: 14px 0 16px; display: grid; gap: 6px; }
.page .box p { margin: 0; color: var(--text); }
.page .qa { border-top: 1px solid var(--line); padding: 12px 0; }
.page .qa:last-of-type { border-bottom: 1px solid var(--line); }
.page .qa b { display: block; font-stretch: 105%; color: var(--text); }
.page .qa span { font-size: 15px; }
.page .qa a, .page .box a { color: var(--accent); }
.page footer { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; }
.page footer a { color: var(--soft); text-decoration: none; }
.page footer a:hover { color: var(--text); }

@media (max-width: 760px) {
  .hero { padding-top: 20px; }
  .hero-row, .gym, .pts, .beta, .pique, .faq, .feat-head { grid-template-columns: 1fr; }
  .cta { justify-items: stretch; }
  .cols { grid-template-columns: 1fr; gap: 24px; }
  .modes { grid-template-columns: 1fr; }
  .feat { padding-block: 40px; margin-top: 48px; }
  .signup .btn { justify-self: stretch; }
  .hero-row p { font-size: 17px; }
  .btn { width: 100%; }
  .btn-top { width: auto; margin-left: 0; }
  .board { margin-top: 32px; }
  .board li { grid-template-columns: 28px 1fr auto; gap: 12px; }
  .rules { grid-template-columns: 1fr; margin-top: 48px; }
  .rules div { padding: 20px 0 0; }
  .rules div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 20px; }
  .band { gap: 28px; padding-block: 40px; margin-top: 48px; }
  .top nav a { margin-left: 14px; }
}
@media (max-width: 640px) {
  .top nav a:not(.btn-top) { display: none; }
}
@media (max-width: 340px) {
  .ex { grid-template-columns: 1fr; }
}
.band + .band { margin-top: 0; }

/* Idioma en la cabecera: se ve también en móvil (PIQ-163) */
.top nav a.lang { font-weight: 700; letter-spacing: .06em; font-size: 13px; }
@media (max-width: 640px) {
  .top nav a.lang { display: inline; margin-left: 0; margin-right: 14px; }
}

/* Página de prensa (PIQ-163) */
.press main { max-width: 860px; }
.press .lead { font-size: 19px; color: var(--text); max-width: 40em; }
.press .facts { margin: 0; border-top: 2px solid var(--text); }
.press .facts div { display: grid; grid-template-columns: 200px 1fr; gap: 4px 20px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.press .facts dt { font-weight: 700; font-stretch: 105%; }
.press .facts dd { margin: 0; color: var(--soft); }
.press blockquote { margin: 0; padding: 14px 0 14px 18px; border-left: 2px solid var(--accent); color: var(--text); }
.press .copy { display: inline-block; margin-top: 8px; font-size: 14px; }
.press .logos { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 12px; }
.press .logos a { display: grid; gap: 8px; justify-items: start; color: var(--soft); text-decoration: none; font-size: 14px; }
.press .logos img { width: 96px; height: 96px; border-radius: 22px; }
.press .shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 12px; }
.press .shots a { display: grid; gap: 6px; color: var(--soft); text-decoration: none; font-size: 13px; min-width: 0; }
.press .shots img { width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); }
@media (max-width: 640px) {
  .press .facts div { grid-template-columns: 1fr; }
  .press .shots { grid-template-columns: repeat(2, 1fr); }
}

/* Guías, cómo funciona y preguntas (PIQ-160) */
.page .crumbs { font-size: 14px; color: var(--faint); margin: 8px 0 0; }
.page .crumbs a { color: var(--soft); text-decoration: none; }
.page .lead { font-size: 19px; color: var(--text); }
.page table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
.page th, .page td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--soft); }
.page th { color: var(--text); font-weight: 700; border-bottom: 2px solid var(--text); }
.page td:first-child { color: var(--text); font-weight: 600; }
.page .note { border-left: 2px solid var(--accent); padding: 4px 0 4px 16px; margin: 16px 0; }
.page .note p { margin: 0; }
.page .faq { margin-top: 8px; }
.page .faq h2 { margin-top: 32px; }
.guides { list-style: none; padding: 0; margin: 16px 0 0; border-top: 2px solid var(--text); }
.guides li { border-bottom: 1px solid var(--line); }
.guides a { display: grid; gap: 4px; padding: 16px 0; text-decoration: none; }
.guides a b { color: var(--text); font-size: 19px; font-stretch: 105%; }
.guides a span { color: var(--soft); font-size: 15px; }
.guides a:hover b { color: var(--accent); }
.page .next { margin-top: 32px; padding: 20px; border: 1px solid var(--line); border-radius: 8px; display: grid; gap: 12px; justify-items: start; }
.page .next p { margin: 0; color: var(--text); }
