/* Las mismas fuentes que la app: serif para lo que se lee, grotesca para el
   resto. Subconjunto latino, servidas desde acá (sin Google Fonts). */
@font-face { font-family: "Instrument Serif"; src: url(fonts/InstrumentSerif.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url(fonts/InstrumentSerif-Italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url(fonts/HankenGrotesk.woff2) format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --bg: #0F0B0C;
  --bg-2: #141011;
  --surface: #1A1416;
  --surface-2: #221A1D;
  --line: rgba(243, 235, 230, 0.11);
  --accent: #FF4D6D;
  --accent-2: #FF7A92;
  --amber: #F2A93B;
  --ember: #F6D9B0;
  --ink: #F3EBE6;
  --muted: #9C8F8A;
  --radius: 24px;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(0.33, 1, 0.68, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.02;
  margin: 0;
}
h1 em, h2 em { color: var(--accent); }
h3 { font-family: var(--sans); margin: 0; }
p { margin: 0; }
a { color: var(--accent-2); }
img, svg { display: block; }
:focus-visible { outline: 3px solid var(--ember); outline-offset: 3px; border-radius: 10px; }

.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
@media (max-width: 480px) { .wrap { padding: 0 16px; } }

.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 10px; }
.skip:focus { left: 12px; }

/* --------------------------------------------------------------- botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 54px; padding: 0 28px; border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-weight: 600; font-size: 17px; text-decoration: none; cursor: pointer;
  transition: transform 0.15s var(--ease), background 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.btn:active { transform: scale(0.98); }
.btn.primary { background: var(--accent); color: #1A0A0E; }
.btn.primary:hover { background: var(--accent-2); }
.btn.ghost { background: transparent; color: var(--ink); border-color: rgba(243, 235, 230, 0.28); }
.btn.ghost:hover { border-color: var(--ink); }
.btn.small { min-height: 40px; padding: 0 18px; font-size: 15px; }
.btn.wide { width: 100%; }
.btn[disabled] { opacity: 0.5; cursor: default; }
.link { background: none; border: 0; color: var(--muted); font: inherit; font-size: 15px; text-decoration: underline; cursor: pointer; padding: 6px 0; }

/* ------------------------------------------------------------------ nav */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(15, 11, 12, 0.76); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-in { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--serif); font-style: italic; font-size: 26px; line-height: 1; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 15px; }
.nav-links a:hover { color: var(--ink); }
.age { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; color: var(--ember); border: 1px solid rgba(246, 217, 176, 0.45); border-radius: 999px; padding: 2px 8px; }
@media (max-width: 820px) { .nav-links { display: none; } .age { margin-left: auto; } }

/* ------------------------------------------------------- aviso de share */
.shared { background: var(--surface); border-bottom: 1px solid var(--line); }
.shared-in { display: flex; align-items: center; gap: 12px; padding-top: 12px; padding-bottom: 12px; }
.shared p { font-size: 15px; color: var(--ink); }
.shared-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 0 6px rgba(246, 217, 176, 0.14); }

/* ----------------------------------------------------------------- hero */
/* clip y no hidden: hidden deja el contenedor desplazable y los resplandores lo corren. */
.hero { position: relative; padding: 44px 0 88px; overflow: hidden; overflow: clip; }
.glow { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; opacity: 0.55; }
.glow-a { width: 520px; height: 520px; background: var(--amber); top: -260px; left: -200px; opacity: 0.10; }
.glow-b { width: 560px; height: 560px; background: var(--accent); bottom: -280px; right: -160px; opacity: 0.14; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 64px; align-items: center; }
@media (max-width: 920px) {
  .hero { padding: 40px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; justify-items: center; }
  .hero-copy { text-align: center; }
  .hero-copy .lead { margin-left: auto; margin-right: auto; }
  .cta-row, .trust { justify-content: center; }
}

.eyebrow { color: var(--ember); font-weight: 600; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 18px; }
h1 { font-size: clamp(56px, 8.4vw, 108px); text-wrap: balance; }
h1 em, h2 em { font-style: italic; }
.lead { font-size: clamp(18px, 2.1vw, 21px); color: var(--muted); margin-top: 22px; max-width: 34ch; }
.lead strong { color: var(--ink); font-weight: 600; }
.lead.small { font-size: 18px; margin-top: 16px; max-width: 44ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; padding: 0; margin: 28px 0 0; color: var(--muted); font-size: 15px; }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--ember); }

/* --------------------------------------------------- demo: el teléfono */
.demo { display: grid; justify-items: center; gap: 18px; width: 100%; }
.phone {
  width: min(320px, 100%); aspect-ratio: 340 / 716; padding: 9px; border-radius: 56px;
  background: linear-gradient(160deg, #2A2124, #0A0708 40%, #1C1517);
  box-shadow: 0 0 0 1px rgba(243, 235, 230, 0.12), 0 50px 120px -40px rgba(0, 0, 0, 0.95), 0 0 90px -30px rgba(255, 77, 109, 0.35);
}
.screen {
  position: relative; height: 100%; border-radius: 47px; overflow: hidden;
  background: radial-gradient(120% 60% at 50% 0%, #211A1C, var(--bg) 60%);
  display: flex; flex-direction: column; padding: 0 22px 22px;
}
/* Como en la app: la pantalla se calienta con cada ronda (escalón). */
.screen::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(130% 70% at 50% 0%, rgba(255, 77, 109, 0.2), transparent 65%),
              radial-gradient(90% 40% at 50% 105%, rgba(215, 38, 61, 0.16), transparent 70%);
  transition: opacity 1.2s var(--ease);
}
.screen[data-step="2"]::before { opacity: 0.5; }
.screen[data-step="3"]::before { opacity: 1; }
.screen > * { position: relative; }
.status { position: relative; flex: none; height: 46px; display: flex; align-items: center; justify-content: space-between; padding: 4px 10px 0; font-size: 14px; font-weight: 600; }
.island { position: absolute; left: 50%; top: 11px; width: 92px; height: 27px; margin-left: -46px; border-radius: 20px; background: #000; }
.bars { width: 24px; height: 11px; border-radius: 3px; border: 1.5px solid rgba(243, 235, 230, 0.8); position: relative; }
.bars::after { content: ""; position: absolute; inset: 1.5px; right: 5px; border-radius: 1px; background: var(--ink); }
.app-bar { flex: none; display: flex; justify-content: space-between; align-items: center; font-size: 15px; font-weight: 600; margin-top: 6px; }
.live { font-size: 11px; font-weight: 600; color: var(--ember); letter-spacing: 0.16em; text-transform: uppercase; display: flex; align-items: center; gap: 6px; }
.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ember); animation: pulse 1.8s infinite; }
@keyframes pulse { 50% { opacity: 0.3; } }

.stage { flex: 1; min-height: 0; display: flex; flex-direction: column; animation: rise 0.35s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
.eyebrow-sm { font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ember); }
.eyebrow-sm.muted { color: var(--muted); }

.spin-stage { align-items: center; text-align: center; padding-top: 18px; }
.turn { font-family: var(--serif); font-size: 20px; color: var(--muted); margin-top: 10px; line-height: 1.1; }
.who { font-family: var(--serif); font-size: 50px; line-height: 1.05; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wheel { width: 100%; max-width: 286px; margin: 8px auto 0; flex: 1; min-height: 0; overflow: visible; }
.wheel text { font: 700 12px var(--sans); letter-spacing: 2px; }
.score { color: var(--muted); font-size: 13px; letter-spacing: 0.04em; min-height: 20px; margin: 6px 0 12px; }
.score b { color: var(--ember); font-weight: 600; }
.spin-stage .btn { margin-top: auto; }

.btn.wide { width: 100%; padding: 0 16px; }
.screen .btn { min-height: 50px; font-size: 15px; }
.card-stage { gap: 8px; padding-top: 22px; }
.card-head { display: flex; align-items: center; justify-content: space-between; }
.tag { font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 9px; }
.tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.tag.verdad, .card-who.verdad { color: var(--amber); }
.tag.reto, .card-who.reto { color: var(--accent); }
.card-body { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 12px; padding-bottom: 12px; }
.card-who { font-weight: 600; font-size: 15px; }
.card-text { font-family: var(--serif); font-size: 30px; line-height: 1.12; text-wrap: pretty; }
.chip { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; color: var(--muted); border: 1px solid var(--line); padding: 4px 10px; border-radius: 999px; }
.card-stage .link { text-decoration: none; align-self: center; font-size: 14px; min-height: 36px; }
.card-stage .link[disabled] { visibility: hidden; }

.end-stage { align-items: center; justify-content: center; text-align: center; gap: 12px; }
.end-stage img { margin-bottom: 8px; }
.end-title { font-family: var(--serif); font-size: 32px; line-height: 1.08; }
.end-text { color: var(--muted); font-size: 15px; margin-bottom: 14px; }
.end-stage .link { text-decoration: none; }

.names { color: var(--muted); font-size: 15px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 8px; }
.names input {
  width: 84px; font: inherit; font-weight: 600; color: var(--ink); background: transparent; text-align: center;
  border: 0; border-bottom: 1px solid rgba(243, 235, 230, 0.3); border-radius: 0; padding: 4px 2px;
}
.names input:focus { outline: none; border-color: var(--accent); }
.names-hint { width: 100%; text-align: center; font-size: 13px; opacity: 0.7; }

/* -------------------------------------------------------------- secciones */
.section { padding: 112px 0; border-top: 1px solid var(--line); }
@media (max-width: 720px) { .section { padding: 80px 0; } }
h2 { font-size: clamp(40px, 5.4vw, 64px); text-wrap: balance; }
h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; }
.head h2 { max-width: 18ch; }
.head.center { text-align: center; }
.head.center h2, .head.center .lead { margin-left: auto; margin-right: auto; }

.steps { list-style: none; padding: 0; margin: 64px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; gap: 64px; } }
.steps li { display: grid; justify-items: center; text-align: center; }
.steps p { color: var(--muted); margin-top: 10px; max-width: 34ch; }
.shot { margin: 0 0 28px; width: 100%; max-width: 250px; padding: 6px; border-radius: 40px; background: linear-gradient(160deg, #2A2124, #0A0708 40%, #1C1517); box-shadow: 0 0 0 1px rgba(243, 235, 230, 0.12), 0 30px 70px -30px rgba(0, 0, 0, 0.9); }
.shot img { width: 100%; height: auto; border-radius: 34px; }
.step-n { display: block; font-family: var(--serif); font-style: italic; font-size: 40px; line-height: 1; color: var(--accent); margin-bottom: 12px; }

.rules { background: var(--bg-2); }
.rule-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
@media (max-width: 860px) { .rule-grid { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; } }
.rule { padding: 30px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.rule p { color: var(--muted); margin-top: 10px; }
.rule-ico { font-family: var(--serif); font-style: italic; font-size: 32px; line-height: 1; color: var(--ember); margin-bottom: 18px; }

/* ---------------------------------------------------------------- niveles */
.levels-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 72px; align-items: center; }
@media (max-width: 920px) { .levels-grid { grid-template-columns: 1fr; gap: 48px; } }

.hold {
  position: relative; overflow: hidden; margin-top: 32px; height: 64px; max-width: 440px; border-radius: 999px;
  border: 1px solid rgba(246, 217, 176, 0.5); display: grid; place-items: center; cursor: pointer;
  user-select: none; -webkit-user-select: none; touch-action: none; -webkit-touch-callout: none;
}
.hold-fill { position: absolute; inset: 0; transform-origin: left; transform: scaleX(var(--p, 0)); background: rgba(255, 77, 109, 0.3); }
.hold-label { position: relative; color: var(--ember); font-weight: 600; padding: 0 16px; text-align: center; }
.hold.active { box-shadow: 0 0 0 6px rgba(246, 217, 176, 0.12); }
.hold.done { animation: flash 0.5s var(--ease); }
@keyframes flash { 30% { box-shadow: 0 0 0 14px rgba(255, 77, 109, 0.25); } }
.hold-hint { color: var(--muted); font-size: 14px; margin-top: 10px; max-width: 440px; }

.thermo { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 14px; }
.levels { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.levels li {
  display: grid; grid-template-columns: 18px 1fr auto; grid-template-areas: "dot name tier" "dot desc tier"; column-gap: 12px;
  padding: 14px 16px; border-radius: 18px; border: 1px solid transparent; opacity: 0.45;
  transition: opacity 0.3s, background 0.3s, border-color 0.3s;
}
.lv-dot { grid-area: dot; align-self: center; width: 10px; height: 10px; border-radius: 50%; background: var(--muted); transition: background 0.3s, box-shadow 0.3s; }
.levels li.on { opacity: 1; }
.levels li.on .lv-dot { background: var(--accent); }
.levels li.current { border-color: rgba(243, 235, 230, 0.18); background: rgba(243, 235, 230, 0.04); }
.levels li.current .lv-dot { box-shadow: 0 0 0 5px rgba(255, 77, 109, 0.2); }
.lv-name { grid-area: name; font-family: var(--serif); font-size: 28px; line-height: 1.1; }
.lv-desc { grid-area: desc; color: var(--muted); font-size: 14px; }
.lv-tier { grid-area: tier; align-self: center; font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.lv-tier.plus { color: var(--ember); }
.levels li.current .lv-name { font-style: italic; color: var(--accent); }

.sample { position: relative; margin-top: 10px; padding: 24px; border-radius: 20px; background: var(--bg); border: 1px solid var(--line); min-height: 150px; overflow: hidden; }
.sample-tag { font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.sample-text { font-family: var(--serif); font-size: 27px; line-height: 1.15; margin-top: 12px; transition: filter 0.3s; }
.sample.locked .sample-text { filter: blur(9px); user-select: none; }
.sample-lock { position: absolute; inset: 0; display: grid; place-items: center; }
.sample-lock span { background: rgba(15, 11, 12, 0.85); border: 1px solid rgba(246, 217, 176, 0.45); color: var(--ember); font-weight: 600; padding: 10px 16px; border-radius: 999px; font-size: 15px; }

/* ---------------------------------------------------------------- precios */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; align-items: stretch; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; } }
.plan { position: relative; padding: 32px; border-radius: 26px; background: var(--surface); border: 1px solid var(--line); }
.plan.featured { border-color: rgba(255, 77, 109, 0.55); box-shadow: 0 0 80px -40px rgba(255, 77, 109, 0.6); }
.ribbon { position: absolute; top: -12px; left: 32px; background: var(--accent); color: #1A0A0E; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.price { font-family: var(--serif); font-size: 60px; line-height: 1; margin-top: 14px; }
.price span { display: block; font-family: var(--sans); font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--muted); margin-top: 6px; }
.plan ul { list-style: none; padding: 20px 0 0; margin: 20px 0 0; display: grid; gap: 10px; border-top: 1px solid var(--line); }
.plan li { display: flex; gap: 10px; }
.plan li::before { content: "—"; color: var(--muted); }
.fine { margin-top: 24px; color: var(--muted); font-size: 14px; text-align: center; }

/* -------------------------------------------------------------- preguntas */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 72px; align-items: start; }
.faq-grid .head { position: sticky; top: 112px; }
@media (max-width: 920px) { .faq-grid { grid-template-columns: 1fr; gap: 40px; } .faq-grid .head { position: static; } }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 24px 40px 24px 0; font-family: var(--serif); font-size: 26px; line-height: 1.15; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-family: var(--sans); font-size: 26px; font-weight: 300; color: var(--accent); transition: transform 0.2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 0 22px; max-width: 64ch; }

/* ------------------------------------------------------------------ final */
.final { position: relative; overflow: hidden; overflow: clip; padding: 112px 0; border-top: 1px solid var(--line); }
.glow-c { width: 640px; height: 640px; background: var(--accent); left: 65%; top: 50%; transform: translate(-50%, -50%); opacity: 0.12; }
.final-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 72px; align-items: center; }
.final-mark { margin-bottom: 24px; }
.final h2 { max-width: 13ch; font-size: clamp(48px, 6.8vw, 88px); }
.final-shot { margin: 0; max-width: 280px; transform: rotate(3deg); }
@media (max-width: 860px) {
  .final-grid { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 56px; }
  .final h2, .final .lead { margin-left: auto; margin-right: auto; }
  .final-mark { margin-left: auto; margin-right: auto; }
  .stores { justify-content: center; }
  .final-shot { max-width: 240px; }
}
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.store {
  display: flex; align-items: center; gap: 12px; min-width: 200px; padding: 12px 22px; border-radius: 999px;
  background: var(--ink); color: var(--bg); text-decoration: none; font-weight: 700; font-size: 18px; line-height: 1.1; text-align: left;
}
.store svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.store small { display: block; font-size: 12px; font-weight: 600; opacity: 0.7; }
.store[aria-disabled="true"] { cursor: default; background: transparent; color: var(--ink); border: 1px solid rgba(243, 235, 230, 0.25); }
.store.preferred { order: -1; }

/* ------------------------------------------------------------------- pie */
.foot { border-top: 1px solid var(--line); padding: 36px 0 48px; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.foot p { color: var(--muted); font-size: 14px; flex: 1; min-width: 240px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 18px; }
.foot nav a { color: var(--muted); font-size: 14px; }

/* ------------------------------------------------- páginas legales (.doc) */
.doc main { max-width: 720px; margin: 0 auto; padding: 48px 20px 80px; }
.doc header { display: flex; align-items: center; gap: 12px; margin-bottom: 40px; }
.doc header img { width: 40px; height: 40px; }
.doc header a { color: var(--ink); text-decoration: none; font-family: var(--serif); font-style: italic; font-size: 28px; }
.doc h1 { font-size: 56px; margin-bottom: 12px; }
.doc h2 { font-size: 30px; margin: 40px 0 8px; max-width: none; }
.doc p, .doc li { color: var(--muted); }
.doc p strong, .doc li strong { color: var(--ink); }
.doc small { color: var(--muted); }
.doc footer { margin-top: 60px; font-size: 14px; }
.doc footer a { color: var(--muted); margin-right: 16px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
