/* Canchora: sitio público (inicio, privacidad y términos). Solo tema oscuro de la marca. */
@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/montserrat-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #0E100E;
  --surface: #1F211F;
  --surface-soft: #161816;
  --text: #F2F4EF;
  --muted: #A1A79C;
  --lime: #C5F25D;
  --lime-ink: #0E100E;
  --border: rgba(242, 244, 239, 0.12);
  --radius: 16px;
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.65 var(--font);
}

a { color: var(--lime); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, .button:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  padding: 8px 12px;
  background: var(--lime);
  color: var(--lime-ink);
  font-weight: 700;
  border-radius: 8px;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.wrap.narrow { max-width: 760px; }

/* Encabezado */
.site-header { border-bottom: 1px solid var(--border); }
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  padding-block: 12px;
  flex-wrap: wrap;
}
.brand { display: inline-flex; align-items: center; }
/* SVG oficial (docs/brand/puntoplay-marca/svg/logo-horizontal-oscuro.svg): solo se fija la altura; el ancho sale de su viewBox. */
.brand img { display: block; height: 28px; width: auto; aspect-ratio: 456.45 / 72; }
.site-nav { display: flex; gap: 20px; flex-wrap: wrap; font-size: 0.95rem; font-weight: 600; }
.site-nav a { color: var(--text); text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--lime); }

/* Botones */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-weight: 700;
  text-decoration: none;
  border: 1px solid var(--lime);
}
.button.primary { background: var(--lime); color: var(--lime-ink); }
.button.secondary { background: transparent; color: var(--lime); }
.button.primary:hover { background: #D4F77F; }
.button.secondary:hover { background: rgba(197, 242, 93, 0.1); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

/* Inicio */
.hero { padding: 72px 0 56px; }
.eyebrow {
  margin: 0 0 12px;
  color: var(--lime);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.hero .lead { max-width: 58ch; margin: 20px 0 0; color: var(--muted); font-size: 1.15rem; }
.note { margin: 14px 0 0; color: var(--muted); font-size: 0.9rem; }

.section { padding: 56px 0; border-top: 1px solid var(--border); }
.section h2 {
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  line-height: 1.2;
  font-weight: 800;
}
.section > .wrap > p { max-width: 62ch; color: var(--muted); margin: 0; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 28px;
  padding: 0;
  list-style: none;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.card h3 { margin: 0 0 6px; font-size: 1.1rem; font-weight: 700; }
.card p { margin: 0; color: var(--muted); }
.step {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--lime-ink);
  font-weight: 800;
}

.panel-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  margin-top: 28px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface-soft);
  border: 1px solid rgba(197, 242, 93, 0.35);
}
.panel-cta p { margin: 0; color: var(--muted); }
.panel-cta .actions { margin-top: 0; }

.checks { margin: 20px 0 0; padding: 0; list-style: none; max-width: 62ch; }
.checks li { position: relative; padding-left: 28px; margin: 10px 0; color: var(--muted); }
.checks li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.55em;
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--lime);
  border-bottom: 2px solid var(--lime);
  transform: rotate(-45deg);
}
.checks strong { color: var(--text); }

/* Páginas legales */
.legal { padding: 48px 0 72px; }
.legal h1 { margin: 0 0 4px; font-size: clamp(1.9rem, 5vw, 2.5rem); line-height: 1.15; font-weight: 800; }
.legal h2 { margin: 40px 0 10px; font-size: 1.25rem; line-height: 1.3; font-weight: 700; scroll-margin-top: 16px; }
.legal h3 { margin: 24px 0 6px; font-size: 1.05rem; font-weight: 700; }
.legal p, .legal li { color: #D9DDD4; }
.legal ul { padding-left: 22px; }
.legal li { margin: 6px 0; }
.legal strong { color: var(--text); }
.updated { margin: 0 0 24px; color: var(--muted); }
.toc {
  margin: 24px 0 8px;
  padding: 18px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.toc p { margin: 0 0 6px; font-weight: 700; color: var(--text); }
.toc ol { margin: 0; padding-left: 20px; }
.toc li { margin: 4px 0; }
.table-wrap { overflow-x: auto; margin: 12px 0; border: 1px solid var(--border); border-radius: 12px; }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
th, td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
th { background: var(--surface); color: var(--text); font-weight: 700; }
tr:last-child td { border-bottom: 0; }
td { color: #D9DDD4; }
.callout {
  margin: 16px 0;
  padding: 16px 18px;
  border-left: 4px solid var(--lime);
  background: var(--surface-soft);
  border-radius: 0 12px 12px 0;
}
.callout p { margin: 0; }
mark.pendiente { background: #5A4B00; color: #FFF1A8; padding: 0 4px; border-radius: 4px; }

/* Pie */
.site-footer { border-top: 1px solid var(--border); padding: 32px 0 40px; color: var(--muted); font-size: 0.92rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer p { margin: 0; }

@media (max-width: 640px) {
  .hero { padding: 48px 0 40px; }
  .panel-cta { grid-template-columns: 1fr; padding: 22px; }
  .site-nav { gap: 14px; font-size: 0.9rem; }
  .button { width: 100%; }
}

@media (prefers-reduced-motion: no-preference) {
  .button { transition: background-color 0.15s ease; }
}
