/* Billuzo · sitio de presentación. Colores y letras de docs/marca/billuzo (papel moneda). */
:root {
  --bg: #EEF2EC;
  --surface: #F8FAF7;
  --surface-2: #E1E9DF;
  --line: #D5DFD3;
  --ink: #12261D;
  --text: #34473D;
  --muted: #5F7268;
  --accent: #2E7D4F;
  --accent-strong: #1F5A39;
  --accent-soft: #DCEBDD;
  --on-accent: #FFFFFF;
  --hero: #DCEBDD;
  --up: #2E7D4F;
  --down: #B04F3A;
  --warn: #9A6B12;
  --down-soft: #F6E1DB;
  --surface-hover: #F1F5EF;
  --night: #0F1F18;
  --seal: #9CC5A1;
  --thread: #D9A441;

  --font-display: 'Bricolage Grotesque', 'Inter', system-ui, sans-serif;
  --font-text: 'Inter', system-ui, sans-serif;

  /* Cinco tamaños: 13 / 16 / 20 / 28 / grande */
  --t-small: 13px;
  --t-body: 16px;
  --t-mid: 20px;
  --t-head: clamp(26px, 2.2vw, 32px);
  --t-big: clamp(52px, 7vw, 112px);

  --m: clamp(20px, 3vw, 40px);
  --gap: clamp(120px, 14vw, 200px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 var(--t-body)/1.55 var(--font-text);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
h1, h2, h3, p, figure, ol, ul { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: var(--on-accent); }
h1, h2 { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.035em; text-wrap: balance; }
h2 { font-size: var(--t-head); line-height: 1.15; }
.tabular, .ui-amount, .ui-prob, .pick-nums, .ui-big, .frag--hero b, .resp b { font-variant-numeric: tabular-nums; }

/* La rejilla: 12 columnas entre dos márgenes iguales. La columna 4 (27 %) es el eje del texto. */
.top, .hero, .showcase, .features, .how, .plans, .faq, .foot, .stadium-text {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px;
  padding-inline: var(--m); max-width: 1520px; margin-inline: auto;
}

/* ---------- Barra ---------- */
.top { position: absolute; inset: 0 0 auto; z-index: 5; padding-top: 48px; align-items: center; }
.wordmark {
  grid-column: 1 / span 3; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; justify-self: start;
  font: 800 26px/1 var(--font-display); letter-spacing: -0.05em; color: var(--ink);
}
.wordmark .ll, .foot-name .ll { color: var(--accent); }
.mark { width: 1.25em; height: auto; flex: none; color: var(--accent); }
.signin { grid-column: 11 / 13; justify-self: end; font-size: 15px; text-decoration: none; color: var(--ink); padding: 8px 0; }
.signin:hover { color: var(--accent-strong); }

/* ---------- Hero: columna en un solo eje ---------- */
.hero::before {
  content: ""; position: absolute; inset: 0 calc(50% - 50vw); z-index: -1; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='480' height='120' viewBox='0 0 480 120'%3E%3Cg fill='none' stroke='%232E7D4F' stroke-opacity='.10' stroke-width='1.2'%3E%3Cpath d='M0 30 Q60 0 120 30 T240 30 T360 30 T480 30'/%3E%3Cpath d='M0 30 Q60 60 120 30 T240 30 T360 30 T480 30'/%3E%3Cpath d='M0 90 Q60 60 120 90 T240 90 T360 90 T480 90'/%3E%3Cpath d='M0 90 Q60 120 120 90 T240 90 T360 90 T480 90'/%3E%3C/g%3E%3C/svg%3E");
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent); mask-image: linear-gradient(180deg, #000 55%, transparent);
}
.hero { position: relative; isolation: isolate; min-height: min(100svh, 860px); align-items: center; padding-top: 140px; padding-bottom: 96px; }
.hero-col { grid-column: 1 / span 6; max-width: 620px; }
.hero h1 { font-size: clamp(44px, 5.4vw, 84px); line-height: 1; letter-spacing: -0.035em; }
.lead { margin-top: 32px; font-size: var(--t-mid); line-height: 1.5; color: var(--ink); max-width: 34ch; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 24px; margin-top: 28px; }
.btn {
  display: inline-flex; align-items: center; height: 48px; padding: 0 24px; border-radius: 999px;
  background: var(--accent); color: var(--on-accent); font-weight: 600; text-decoration: none;
  transition: transform .2s var(--ease), background-color .2s var(--ease);
}
.btn:hover { background: var(--accent-strong); transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.textlink { text-decoration: none; color: var(--ink); font-weight: 500; }
.textlink span { display: inline-block; transition: transform .2s var(--ease); }
.textlink:hover span { transform: translateX(4px); }
.textlink:hover { color: var(--accent-strong); }

.peek {
  grid-column: 8 / span 5; align-self: center; width: 100%; max-width: 520px; justify-self: end;
  background: var(--surface); border-radius: 20px; padding: 18px 14px 14px;
}
.peek-head { display: flex; justify-content: space-between; align-items: center; padding: 0 8px 12px; font: 600 16px/1.2 var(--font-display); }
.peek-rows { position: relative; }
.peek-set { position: absolute; inset: 0 0 auto; opacity: 0; transition: opacity 1.6s ease; }
.peek-set.is-on { position: relative; opacity: 1; }
.pointer { position: absolute; right: 70px; top: 28px; width: 14px; fill: var(--ink); stroke: var(--bg); stroke-width: 1; }

/* ---------- Piezas de la interfaz (data-ui): aquí rigen las reglas de la app ---------- */
[data-ui] { font-size: 14px; line-height: 1.35; color: var(--ink); }
.ui-row {
  position: relative; display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px;
  transition: background-color .2s var(--ease);
}
.ui-row + .ui-row { margin-top: 2px; }
.ui-row.is-hover, .ui-row:hover { background: var(--surface-2); }
.ui-dot {
  display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 999px;
  font: 600 13px/1 var(--font-display); background: var(--surface-2); color: var(--muted);
}
.ui-dot--brand { background: var(--accent-soft); color: var(--accent); }
.ui-row.is-hover .ui-dot--cat, .ui-row:hover .ui-dot--cat { background: var(--bg); }
.ui-main { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.ui-main b { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ui-main small, .frag small { font-size: 13px; color: var(--muted); }
.ui-amount { font-weight: 600; white-space: nowrap; }
.ui-prob { font-weight: 600; color: var(--accent); white-space: nowrap; }
.ui-up { color: var(--up); }
.ui-down { color: var(--down); }
.ui-warn { color: var(--warn); }
.ui-muted { color: var(--muted); }
.bar { height: 6px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.bar > span { display: block; height: 100%; border-radius: inherit; background: var(--accent); transform-origin: left; }
.bar--warn > span { background: var(--warn); }
.chip { font-size: 13px; padding: 3px 10px; border-radius: 999px; background: var(--surface-2); color: var(--muted); }
.chip--won { background: var(--accent-soft); color: var(--accent-strong); }
.ui-field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); }
.ui-field input, .ui-input {
  height: 44px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface-2);
  padding: 0 14px; font-size: 15px; color: var(--ink); width: 100%;
}
.ui-input { display: flex; align-items: center; gap: 6px; color: var(--muted); }
.ui-input input { border: 0; background: none; height: 100%; padding: 0; outline: none; font-variant-numeric: tabular-nums; color: var(--ink); width: 100%; }
.ui-field input:focus, .ui-input:focus-within { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgba(46, 125, 79, .25); } /* taste-skill-ignore: anillo de foco de la app */
.ui-btn {
  height: 44px; padding: 0 18px; border-radius: 999px; border: 0; background: var(--accent); color: var(--on-accent);
  font-weight: 600; cursor: pointer; transition: transform .15s var(--ease), background-color .2s var(--ease);
}
.ui-btn:hover { background: var(--accent-strong); }
.ui-btn:active { transform: scale(.97); }
.ui-btn--full { width: 100%; height: 52px; font-size: 16px; }
.ui-link { border: 0; background: none; color: var(--accent); cursor: pointer; padding: 0 0 0 8px; font-size: 14px; }
.ui-link:hover { text-decoration: underline; }
.ui-seg { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--surface-2); width: max-content; }
.ui-seg > * { padding: 6px 14px; border-radius: 999px; color: var(--muted); font-size: 13px; border: 0; background: none; }
.ui-seg > .on { background: var(--surface); color: var(--ink); }
.ui-seg--pick { width: 100%; }
.ui-seg--pick > * { flex: 1; cursor: pointer; padding: 10px; font-size: 14px; transition: background-color .2s var(--ease), color .2s var(--ease); }
.ui-seg--pick > *:hover { color: var(--ink); }
.ui-split { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--muted); }
.ui-split b { color: var(--ink); font-weight: 600; }

/* ---------- Un pronóstico en tres estados ---------- */
.showcase { padding-top: 120px; row-gap: 56px; }
.showcase h2 { grid-column: 4 / span 6; margin-bottom: 40px; }
.state { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; }
.state-word {
  grid-column: 1 / span 3; justify-self: end; align-self: start; padding-top: 22px;
  font: 500 var(--t-mid)/1.2 var(--font-display); color: var(--muted); transition: color .3s var(--ease);
}
.state:hover .state-word { color: var(--ink); }
.pick { grid-column: 4 / span 6; max-width: 640px; width: 100%; background: var(--surface); border-radius: 20px; padding: 20px 22px; }
.pick--live { outline: 1px solid var(--accent); outline-offset: -1px; }
.pick-head { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); }
.pick-match { margin-top: 10px; font: 600 var(--t-mid)/1.3 var(--font-display); }
.pick-line { margin-top: 12px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; align-items: baseline; }
.pick-line b { font-weight: 500; font-size: 15px; }
.pick-nums { display: flex; gap: 18px; color: var(--muted); font-size: 13px; }
.pick-nums strong { color: var(--ink); font-size: 15px; font-weight: 600; }
.pick-nums strong.up { color: var(--up); }
.pick .bar { margin-top: 14px; }
.pick-form { margin-top: 16px; display: grid; grid-template-columns: 150px 1fr auto; gap: 14px; align-items: end; }
.pick-out { font-size: 14px; color: var(--text); display: flex; flex-direction: column; }
.pick-out strong { font-size: 20px; color: var(--ink); font-variant-numeric: tabular-nums; }
.pick-out small { font-size: 13px; color: var(--muted); }
.pick-done { margin-top: 16px; padding: 12px 14px; border-radius: 14px; background: var(--accent-soft); color: var(--accent-strong); }
.pick-done strong { color: var(--ink); }
.pick-note { margin-top: 14px; font-size: 13px; color: var(--muted); }
.pick--live.is-won .pick-form { display: none; }

/* ---------- Estadio: el descanso de la página ---------- */
.stadium { margin-top: var(--gap); }
.stadium-fig { position: relative; overflow: hidden; }
.stadium-fig img { width: 100%; height: clamp(220px, 34vw, 520px); object-fit: cover; object-position: 50% 60%; transform: scale(1.06); will-change: transform; }
.stadium-text { margin-top: 64px; row-gap: 20px; }
.stadium-text h2 { grid-column: 1 / span 5; }
.stadium-text p { grid-column: 7 / span 5; font-size: var(--t-mid); line-height: 1.5; color: var(--ink); }

/* ---------- Planes: Gratis y Premium ---------- */
.plans { padding-top: var(--gap); }
.plans-head { grid-column: 1 / -1; margin-bottom: 56px; text-align: center; }
.plans-head p { margin: 16px auto 0; font-size: var(--t-mid); line-height: 1.5; color: var(--text); max-width: 40ch; }
.plan-grid { grid-column: 1 / -1; justify-self: center; width: 100%; max-width: 960px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.plan {
  display: flex; flex-direction: column; gap: 24px; padding: 32px 28px 28px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
  transition: background-color .3s var(--ease);
}
.plan:hover { background: var(--surface-hover); }
.plan h3 { font: 600 var(--t-mid)/1.25 var(--font-display); letter-spacing: -0.01em; }
.plan--premium { background: linear-gradient(160deg, var(--hero), var(--surface) 70%); border-color: var(--accent-soft); }
.plan--premium:hover { background: linear-gradient(160deg, var(--hero), var(--surface-hover) 70%); }
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.plan-tag { padding: 4px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-strong); font-size: var(--t-small); font-weight: 600; }
.plan-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.plan-price b { font: 500 clamp(40px, 4vw, 56px)/1 var(--font-display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.plan-price span { color: var(--muted); font-size: var(--t-small); }
.plan-list { display: grid; gap: 12px; flex: 1; align-content: start; }
.plan-list li { position: relative; padding-left: 28px; color: var(--text); }
.plan-list li::before {
  content: ''; position: absolute; left: 0; top: .35em; width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%237FD8B6' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}
.plan-list b { color: var(--ink); font-weight: 600; }
.plan .btn { align-self: flex-start; }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn--ghost:hover { background: var(--surface-2); }
.plan-note { color: var(--muted); font-size: var(--t-small); }

/* ---------- Seis celdas escalonadas ---------- */
.features { padding-top: var(--gap); }
.features h2 { grid-column: 1 / -1; margin-bottom: 56px; }
.cells { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.cell {
  position: relative; display: flex; flex-direction: column; justify-content: space-between;
  min-height: 440px; background: var(--surface); border-radius: 20px; overflow: hidden;
  transition: background-color .3s var(--ease);
}
.cell:hover { background: var(--surface-hover); }
.cell--flip { flex-direction: column-reverse; }
.cells .cell:nth-child(n+4) { flex-direction: column-reverse; }
.cells .cell--flip:nth-child(n+4) { flex-direction: column; }
.cell-text { padding: 28px 28px 24px; }
.cell-text h3 { font: 600 var(--t-mid)/1.25 var(--font-display); letter-spacing: -0.01em; }
.cell-text p { margin-top: 10px; color: var(--ink); font-size: var(--t-body); line-height: 1.5; }
.frag { background: var(--surface-2); padding: 16px; margin: 0 0 0 28px; border-radius: 20px 0 0 0; transition: transform .4s var(--ease); }
.cell--flip .frag, .cells .cell:nth-child(n+4) .frag { border-radius: 0 0 0 20px; }
.cells .cell--flip:nth-child(n+4) .frag { border-radius: 20px 0 0 0; }
.cell:hover .frag { transform: translateX(-6px); }
.frag .ui-row.is-hover, .frag .ui-row:hover { background: var(--surface); }
.frag--budgets { display: grid; gap: 16px; padding: 22px 28px 22px 18px; }
.budget { display: grid; grid-template-columns: 1fr auto; gap: 8px; font-size: 14px; }
.budget span:nth-child(2) { color: var(--muted); font-variant-numeric: tabular-nums; }
.budget .bar { grid-column: 1 / -1; background: var(--bg); }
.frag--hero { background: var(--hero); padding: 26px 24px; display: grid; gap: 4px; }
.frag--hero > b, .resp > b { font: 300 40px/1.1 var(--font-display); letter-spacing: -0.02em; }
.frag--hero > b span, .resp > b span { color: var(--muted); font-size: .6em; }
.frag--hero .ui-split { margin-top: 10px; }
.frag--form { display: grid; gap: 4px; padding: 18px 22px 18px 18px; }
.frag--form small { margin-bottom: 6px; }
.form-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 7px 0; font-variant-numeric: tabular-nums; }
.o { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 999px; font: 700 13px/1 var(--font-text); font-style: normal; flex: none; }
.o--w { background: var(--accent-soft); color: var(--accent); }
.o--d { background: var(--bg); color: var(--muted); }
.o--l { background: var(--down-soft); color: var(--down); }
.frag--results { display: grid; gap: 16px; padding: 22px 24px 24px 18px; }
.ui-big { font: 300 36px/1 var(--font-display); }
.ui-big small { display: block; margin-top: 6px; font: 400 13px/1.3 var(--font-text); color: var(--muted); }

/* ---------- Así empiezas ---------- */
.how { padding-top: var(--gap); }
.how h2 { grid-column: 4 / span 6; margin-bottom: 56px; }
.steps { grid-column: 4 / -1; display: grid; grid-template-columns: minmax(0, 1fr); gap: 88px; }
.step { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; max-width: 560px; }
.step-say { font: 500 var(--t-mid)/1.35 var(--font-display); }
.call { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 14px; background: var(--surface); }
.ui-label { font-size: 13px; color: var(--muted); }
.ui-typed { font-size: 15px; color: var(--ink); }
.ui-typed::after { content: ''; display: inline-block; width: 1px; height: 1.1em; margin-left: 2px; vertical-align: -0.2em; background: var(--accent); animation: caret 1.1s steps(1) infinite; }
.resp { margin-left: 56px; border-radius: 20px; padding: 20px; background: var(--surface-2); display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; }
.resp--wide { width: min(760px, calc(100vw - 2 * var(--m) - 56px)); max-width: none; padding: 10px; }
.resp .ui-row.is-hover, .resp .ui-row:hover { background: var(--surface); }
.how-note { grid-column: 4 / span 6; margin-top: 64px; color: var(--ink); font-size: var(--t-body); }
@keyframes caret { 50% { opacity: 0; } }

/* ---------- Preguntas ---------- */
.faq { padding-top: var(--gap); align-items: start; }
.faq-list { grid-column: 1 / span 5; }
.faq h2 { font: 500 var(--t-mid)/1.4 var(--font-text); letter-spacing: 0; color: var(--muted); margin-bottom: 18px; }
.faq ul { display: grid; gap: 6px; }
.q {
  display: flex; align-items: center; gap: 14px; width: 100%; padding: 8px 0; border: 0; background: none;
  text-align: left; font-size: var(--t-mid); line-height: 1.4; color: var(--muted); cursor: pointer; transition: color .2s var(--ease);
}
.q::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); flex: none; transition: background-color .2s var(--ease), transform .2s var(--ease); }
.q:hover, .q.is-on { color: var(--ink); }
.q.is-on::before { background: var(--accent); transform: scale(1.25); }
.a { display: none; padding: 0 0 12px 22px; font-size: var(--t-body); color: var(--ink); }
.faq-pane { grid-column: 7 / -1; position: sticky; top: 120px; }
.faq-pane p { font: 400 var(--t-head)/1.3 var(--font-display); max-width: 36ch; color: var(--ink); transition: opacity .15s ease; }
.faq-pane p.is-out { opacity: 0; }

/* ---------- Cierre ---------- */
.cta {
  margin-top: 160px; background: var(--accent); color: var(--on-accent); min-height: 90svh;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; padding: 40px var(--m);
}
.cta-text { grid-column: 1 / span 6; align-self: end; }
.cta h2 { font-size: var(--t-big); line-height: .92; letter-spacing: -0.045em; font-weight: 800; }
.cta-text p { margin-top: 20px; font-size: var(--t-mid); max-width: 30ch; }
.dialog {
  grid-column: 8 / span 5; align-self: center; justify-self: start; width: 100%; max-width: 440px;
  background: var(--surface); color: var(--ink); border-radius: 20px; padding: 28px; display: grid; gap: 20px;
  box-shadow: 0 30px 80px rgba(15, 31, 24, .35); /* taste-skill-ignore: el diálogo de la app flota */
}
.dialog-title { font: 600 20px/1.2 var(--font-display); }

/* ---------- Pie ---------- */
.foot { display: block; position: relative; padding-top: 72px; padding-bottom: 32px; color: var(--muted); font-size: 14px; }
.foot-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.foot-name { text-decoration: none; display: inline-flex; align-items: center; gap: 10px; font: 800 30px/1 var(--font-display); letter-spacing: -0.05em; color: var(--ink); }
.foot-social { display: flex; gap: 12px; }
.foot-social a {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line); color: var(--ink); /* taste-skill-ignore: botones redondos del pie, pedidos por el dueño */
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.foot-social a:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.foot-social svg { width: 20px; height: 20px; fill: currentColor; }
.foot-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; margin-top: 56px; }
.foot-cols h2 { font: 600 16px/1.3 var(--font-display); letter-spacing: 0; color: var(--ink); margin-bottom: 18px; }
.foot-cols ul { display: grid; gap: 12px; }
.foot-cols a { color: var(--text); text-decoration: none; font-size: 15px; transition: color .2s var(--ease); }
.foot-cols a:hover { color: var(--accent-strong); }
.foot-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px;
  margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); /* taste-skill-ignore: separador del pie, pedido por el dueño */
}
.foot-bottom a { color: var(--text); }
.foot-bottom a:hover { color: var(--ink); }
.age { display: inline-block; margin: 0 4px; line-height: 22px; padding: 0 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-strong); font-weight: 600; font-size: 13px; }

/* ---------- Entrada al hacer scroll (sin JS todo queda visible) ---------- */
.js .reveal > *, .js .reveal.cell, .js .state.reveal > * { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in > *, .js .reveal.cell.is-in, .js .state.reveal.is-in > * { opacity: 1; transform: none; }
.js .reveal.is-in > *:nth-child(2) { transition-delay: 80ms; }
.js .reveal.is-in > *:nth-child(3) { transition-delay: 160ms; }
.js .reveal.is-in > *:nth-child(4) { transition-delay: 240ms; }
.js .cells .cell:nth-child(3n+2) { transition-delay: 80ms; }
.js .cells .cell:nth-child(3n) { transition-delay: 160ms; }
.js h2.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js h2.reveal.is-in { opacity: 1; transform: none; }
.js .bar > span { transform: scaleX(0); transition: transform 1.2s var(--ease) .3s; }
.js .is-in .bar > span, .js .peek .bar > span { transform: scaleX(1); }

/* ---------- Tableta ---------- */
@media (max-width: 1100px) {
  .showcase h2, .how h2, .how-note { grid-column: 3 / span 8; }
  .hero { align-items: start; row-gap: 56px; padding-top: 150px; }
  .hero-col { grid-column: 1 / span 10; }
  .peek { grid-column: 1 / span 9; justify-self: start; }
  .resp--wide { width: auto; }
  .faq-pane p { font-size: var(--t-mid); }
  .pick { grid-column: 4 / -1; }
  .steps { grid-column: 3 / -1; }
  .cells { grid-template-columns: repeat(2, 1fr); }
  .cells .cell:nth-child(n) { flex-direction: column; }
  .cells .cell:nth-child(4n+2), .cells .cell:nth-child(4n+3) { flex-direction: column-reverse; }
  .cells .cell .frag { border-radius: 20px 0 0 0; }
  .cells .cell:nth-child(4n+2) .frag, .cells .cell:nth-child(4n+3) .frag { border-radius: 0 0 0 20px; }
  .stadium-text h2, .stadium-text p { grid-column: 1 / -1; }
  .faq-list { grid-column: 1 / span 6; }
  .cta-text { grid-column: 1 / span 6; }
  .dialog { grid-column: 7 / -1; }
}

/* ---------- Teléfono ---------- */
@media (max-width: 720px) {
  .plans-head, .plan-grid { grid-column: 1 / -1; }
  .plan-grid { grid-template-columns: 1fr; }
  .plan { padding: 24px 20px; }
  .top { padding-top: 32px; }
  .wordmark { grid-column: 1 / span 6; }
  .signin { grid-column: 7 / -1; }
  .hero { padding-top: 120px; padding-bottom: 72px; row-gap: 40px; }
  .hero-col { grid-column: 1 / -1; }
  .hero h1 { font-size: 44px; }
  .lead { font-size: 17px; margin-top: 20px; }
  .actions { flex-wrap: nowrap; gap: 16px; }
  .btn { padding: 0 20px; }
  .peek { grid-column: 1 / -1; }
  .pointer { right: 60px; }

  .showcase { row-gap: 10px; }
  .showcase h2, .how h2 { grid-column: 1 / -1; font-size: 26px; margin-bottom: 24px; }
  .state { display: flex; flex-direction: column-reverse; gap: 10px; margin-bottom: 38px; }
  .state-word { font-size: 17px; padding-top: 0; justify-self: start; }
  .pick { padding: 18px; }
  .pick-form { grid-template-columns: 1fr 1fr; }
  .pick-form .ui-btn { grid-column: 1 / -1; }

  .stadium-text { margin-top: 40px; }
  .stadium-text p { font-size: 17px; }

  .cells { grid-template-columns: 1fr; gap: 6px; }
  .cells .cell:nth-child(n) { flex-direction: column; min-height: 0; }
  .cells .cell:nth-child(n) .frag { margin: 0 0 0 28px; border-radius: 20px 0 0 0; }
  .cells .cell:nth-child(even) .frag { margin: 0 28px 0 0; border-radius: 0 20px 0 0; }
  .cell-text { padding: 24px; }

  .steps { grid-column: 1 / -1; gap: 56px; }
  .resp { margin-left: 0; }
  .resp--wide { width: calc(100vw - var(--m)); margin-right: calc(-1 * var(--m)); border-radius: 20px 0 0 20px; }
  .how-note { grid-column: 1 / -1; }

  .faq-list { grid-column: 1 / -1; }
  .faq-pane { display: none; }
  .q[aria-expanded="true"] + .a { display: block; }

  .cta { min-height: 88svh; grid-template-rows: auto 1fr; padding: 48px var(--m) 32px; row-gap: 40px; }
  .cta-text { grid-column: 1 / -1; align-self: start; }
  .cta h2 { font-size: 16vw; }
  .cta-text p { font-size: 16px; }
  .dialog { grid-column: 1 / -1; align-self: end; padding: 22px; }

  .foot { padding-top: 56px; padding-bottom: 24px; }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 20px; margin-top: 44px; }
  .foot-bottom { flex-direction: column; align-items: flex-start; margin-top: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
  .js .reveal > *, .js .reveal.cell, .js .state.reveal > *, .js h2.reveal { opacity: 1; transform: none; }
  .js .bar > span { transform: none; }
  .stadium-fig img { transform: none; }
  .peek-set:not(.is-on) { display: none; }
}

/* Hilo de seguridad del billete: una sola línea dorada punteada sobre el pie. */
.foot::before {
  content: ""; position: absolute; left: var(--m); right: var(--m); top: 0; height: 4px; opacity: .8;
  background: repeating-linear-gradient(90deg, var(--thread) 0 18px, transparent 18px 30px);
}
