:root {
  --bg: #f6f3ee; --surface: #ffffff; --surface2: #efe9e0; --fg: #1d1f26; --muted: #5f5e5a;
  --line: #ddd5c9; --accent: #a8490c; --accent-fg: #ffffff; --warnbg: #fff1dd;
  --font: "Inter Variable", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg: #14161c; --surface: #1d2029; --surface2: #262a35; --fg: #eceae5; --muted: #a2a3ab; --line: #333845; --accent: #f0a35c; --accent-fg: #1a1208; --warnbg: #2f2619; color-scheme: dark; }
}
:root[data-theme="dark"] { --bg: #14161c; --surface: #1d2029; --surface2: #262a35; --fg: #eceae5; --muted: #a2a3ab; --line: #333845; --accent: #f0a35c; --accent-fg: #1a1208; --warnbg: #2f2619; color-scheme: dark; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 17px/1.55 var(--font); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 28px 18px; }
.top { max-width: 1040px; margin: 0 auto; padding: 14px 18px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--fg); text-decoration: none; }
.link, a { color: var(--accent); }
h1 { font-size: clamp(1.9rem, 7vw, 2.6rem); line-height: 1.1; letter-spacing: -0.02em; margin: 12px 0; text-wrap: balance; }
h2 { font-size: 1.4rem; line-height: 1.2; margin: 0 0 14px; text-wrap: balance; }
p { margin: 0 0 12px; }
.lead { font-size: 1.1rem; }
.muted, footer p { color: var(--muted); font-size: .92rem; }
.fine { color: var(--muted); font-size: .95rem; margin-top: 12px; }
.pill { display: inline-block; background: var(--surface2); border-radius: 99px; padding: 4px 12px; font-size: .85rem; margin: 0; }
.btn { display: block; text-align: center; background: var(--accent); color: var(--accent-fg); text-decoration: none; font-weight: 700; padding: 16px 20px; border-radius: 14px; margin-top: 20px; }
.btn:hover { filter: brightness(1.05); }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.steps { padding-left: 22px; margin: 0; display: grid; gap: 12px; }
.cards { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 10px; }
.cards li { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; display: grid; gap: 2px; }
.cards span { color: var(--muted); font-size: .95rem; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ticks li { padding-left: 28px; position: relative; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.box { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px; margin-bottom: 12px; }
.box .row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; }
.box ul { margin: 8px 0 0; padding-left: 20px; color: var(--muted); font-size: .95rem; }
.notice { background: var(--warnbg); border-left: 4px solid var(--accent); border-radius: 10px; padding: 14px 16px; }
.notice p:last-child { margin-bottom: 0; }
details { border-bottom: 1px solid var(--line); padding: 12px 0; }
summary { cursor: pointer; font-weight: 600; }
details p { margin: 10px 0 0; color: var(--muted); }
.final { text-align: center; }
footer { border-top: 1px solid var(--line); margin-top: 20px; }
footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 10px; }
@media (min-width: 640px) { .btn { display: inline-block; padding: 16px 28px; } .final .btn { margin-inline: auto; } }

.hero > :not(.fine):not(h1), .hero h1 { max-width: 720px; }
.fine { max-width: 720px; }
.lead { max-width: 720px; }
@media (min-width: 820px) {
  body { font-size: 18px; }
  .wrap { padding: 44px 32px; }
  .top { padding: 18px 32px; }
  .hero { padding-top: 72px; padding-bottom: 72px; }
  h1 { font-size: 3.6rem; }
  h2 { font-size: 1.8rem; }
  .steps { grid-template-columns: repeat(3, 1fr); padding: 0; list-style: none; counter-reset: s; gap: 18px; }
  .steps li { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px; counter-increment: s; }
  .steps li::before { content: counter(s); display: block; color: var(--accent); font-weight: 700; font-size: 1.4rem; margin-bottom: 6px; }
  .cards { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .ticks { grid-template-columns: repeat(2, 1fr); gap: 12px 28px; }
  .box { max-width: 680px; padding: 22px; }
  .notice { max-width: 760px; }
  .faq details { max-width: 780px; }
}

/* ---------- ilustraciones ---------- */
.hero { position: relative; overflow: hidden; }
.hero-grid { display: grid; gap: 28px; align-items: center; }
.hero-art { position: relative; display: flex; justify-content: center; }
.glow { position: absolute; inset: 8% 10%; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 38%, transparent), transparent); filter: blur(30px); }
.phone { position: relative; width: min(250px, 70vw); height: auto; filter: drop-shadow(0 24px 40px rgba(0,0,0,.35)); }
.p-body { fill: #0c0e13; stroke: #3a4050; stroke-width: 2; }
.p-screen { fill: #171a22; }
.p-notch { fill: #0c0e13; }
.p-small { fill: #a2a3ab; font: 12px var(--font); }
.p-mid { fill: #d8d6d0; font: 13px var(--font); }
.p-big { fill: #1a1208; font: 700 17px var(--font); }
.p-card { fill: #232733; }
.p-line { stroke: #f0a35c; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.p-dot { fill: #f0a35c; }
.p-btn { fill: #f0a35c; }
.p-btn-t { fill: #1a1208; font: 700 14px var(--font); }
.ring { fill: none; stroke: #f0a35c; }
.ring2 { opacity: .35; stroke-width: 2; } .ring3 { opacity: .18; stroke-width: 2; }
.breath { fill: #f0a35c; transform-box: fill-box; transform-origin: center; animation: breath 10s ease-in-out infinite; }
@keyframes breath { 0%, 100% { transform: scale(.82); } 40% { transform: scale(1.3); } }
@media (prefers-reduced-motion: reduce) { .breath { animation: none; } }
@media (min-width: 820px) { .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 40px; } .phone { width: 290px; } }

.ic { width: 48px; height: 48px; fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.steps li .ic { display: block; margin-bottom: 10px; }
.steps li::before { display: none !important; }
.cards li.pc { display: flex; align-items: center; gap: 16px; }
.pc div { display: grid; gap: 2px; }

.priv { display: grid; gap: 22px; align-items: center; }
.priv-art { display: grid; gap: 14px; justify-items: start; padding: 22px; border-radius: 18px; background: linear-gradient(135deg, var(--surface), var(--surface2)); border: 1px solid var(--line); }
.appicon { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.appicon svg { width: 54px; height: 54px; } .ai-bg { fill: #f2c94c; } .ai-l { stroke: #6d5200; stroke-width: 3; stroke-linecap: round; fill: none; }
.notif { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; display: grid; gap: 2px; box-shadow: 0 8px 20px rgba(0,0,0,.18); }
.notif span { color: var(--muted); font-size: .92rem; }
@media (min-width: 820px) { .priv { grid-template-columns: .8fr 1.2fr; gap: 40px; } }

.timeline { display: flex; justify-content: space-between; position: relative; max-width: 680px; margin: 6px 0 26px; }
.timeline::before { content: ""; position: absolute; left: 8%; right: 8%; top: 9px; height: 3px; background: linear-gradient(90deg, var(--line), var(--accent)); border-radius: 3px; }
.tl-step { position: relative; display: grid; justify-items: center; gap: 2px; text-align: center; flex: 1; font-size: .95rem; }
.tl-step span:last-child { color: var(--muted); font-size: .88rem; }
.tl-dot { width: 20px; height: 20px; border-radius: 50%; background: var(--surface); border: 3px solid var(--accent); margin-bottom: 6px; }
.tl-dot.hot { background: var(--accent); box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 25%, transparent); }

section.wrap:nth-of-type(even) { background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--surface2) 35%, transparent), transparent); }
@media (min-width: 820px) { .priv .ticks { grid-template-columns: 1fr; } }

.care { display: flex; gap: 18px; align-items: flex-start; max-width: 780px; padding: 20px 22px; border-radius: 18px; background: linear-gradient(135deg, var(--surface), var(--surface2)); border: 1px solid var(--line); }
.care h2 { margin-bottom: 6px; font-size: 1.25rem; }
.care p { margin: 0; color: var(--muted); }

.perks { list-style: none; padding: 0; margin: 4px 0 6px; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.perks li { background: var(--surface2); border-radius: 99px; padding: 6px 14px; font-size: .92rem; font-weight: 600; }
.perks li::before { content: '✓ '; color: var(--accent); }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.stats div { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px 12px; text-align: center; display: grid; gap: 2px; }
.stats b { font-size: 2.1rem; line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; }
.stats span { color: var(--muted); font-size: .92rem; }
.path { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; max-width: 780px; position: relative; }
.path li { display: flex; gap: 16px; padding: 0 0 22px; position: relative; }
.path li:not(:last-child)::after { content: ''; position: absolute; left: 21px; top: 44px; bottom: 2px; width: 2px; background: linear-gradient(var(--accent), var(--line)); }
.badge { width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: var(--accent-fg); display: grid; place-items: center; font-weight: 800; flex: none; box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 22%, transparent); }
.path div { display: grid; gap: 2px; padding-top: 4px; }
.path span:not(.badge) { color: var(--muted); }
@media (min-width: 820px) { .stats { grid-template-columns: repeat(4, 1fr); } }

.pains { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 10px; max-width: 780px; }
.pains li { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 12px; padding: 14px 16px; }
.pains-out { max-width: 780px; font-weight: 600; }

/* Capturas reales de la app */
.shot-frame { margin: 0; border-radius: 30px; overflow: hidden; border: 1px solid var(--line); background: #14161c; box-shadow: 0 24px 40px rgba(0,0,0,.28); }
.shot-frame img { display: block; width: 100%; height: auto; }
.hero-shot { position: relative; width: min(260px, 68vw); }
.gallery h2 { text-align: center; }
.shots { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 12px 4px 18px; -webkit-overflow-scrolling: touch; }
.shots figure { flex: 0 0 min(230px, 68vw); scroll-snap-align: center; margin: 0; }
.shots figcaption { text-align: center; font-weight: 650; font-size: .95rem; margin-top: 12px; }
.center { text-align: center; }
@media (min-width: 900px) { .hero-shot { width: 300px; } .shots { overflow: visible; justify-content: center; } .shots figure { flex: 1 1 0; max-width: 250px; } }
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: linear-gradient(to top, var(--bg) 70%, transparent); }
.sticky-cta[hidden] { display: none; }
.sticky-cta .btn { margin: 0; display: block; }
@media (min-width: 820px) { .sticky-cta { display: none !important; } }

.path .medal { width: 52px; height: 52px; flex: none; filter: drop-shadow(0 4px 10px color-mix(in srgb, var(--accent) 35%, transparent)); }
.path li:not(:last-child)::after { left: 25px; top: 56px; }

/* ===== Fotos, video y pantallas grandes ===== */
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; font-feature-settings: "cv11", "ss03"; }
h1, h2 { letter-spacing: -0.02em; }
.hero-art { position: relative; display: flex; justify-content: center; padding-bottom: 28px; }
.hero-photo { margin: 0; width: min(100%, 460px); border-radius: 28px; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.35); aspect-ratio: 4 / 5; background: var(--surface2); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-art .hero-shot { position: absolute; right: max(0px, calc(50% - 250px)); bottom: 0; width: 150px; border-radius: 22px; box-shadow: 0 20px 40px rgba(0,0,0,.45); border: 3px solid var(--bg); }
.story { display: grid; gap: 24px; align-items: center; }
.story-img, .band { margin: 0; border-radius: 24px; overflow: hidden; box-shadow: 0 24px 50px rgba(0,0,0,.25); }
.story-img img, .band img { width: 100%; height: auto; display: block; }
.band { margin-bottom: 22px; }
.band img { max-height: 380px; object-fit: cover; }
.story-txt p { max-width: 520px; }
.desk h2, .desk > .lead { text-align: center; } .desk > .lead { margin-inline: auto; max-width: 620px; }
.desk-grid { display: grid; gap: 22px; margin-top: 22px; }
.browser { margin: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #14161c; box-shadow: 0 24px 50px rgba(0,0,0,.3); }
.browser-bar { display: flex; gap: 6px; padding: 10px 12px; background: var(--surface2); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); display: block; }
.browser img { display: block; width: 100%; height: auto; }
video.demo { display: block; width: 100%; height: auto; background: #14161c; }
@media (min-width: 820px) {
  .wrap { max-width: 1200px; }
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 56px; }
  .hero-art .hero-shot { right: -8px; width: 190px; }
  .hero h1 { font-size: clamp(2.6rem, 4.2vw, 3.6rem); }
  .story { grid-template-columns: 1.1fr .9fr; gap: 56px; }
  .desk-grid { grid-template-columns: 1fr 1fr; }
  h2 { font-size: 1.8rem; }
  body { font-size: 18px; }
}
@media (min-width: 1100px) { .hero-photo { width: 500px; } }
@media (prefers-reduced-motion: reduce) { video.demo { animation: none; } }
.hero > .hero-grid { max-width: none; } .hero-text { max-width: 640px; } .hero-text > * { max-width: none; }
@media (min-width: 820px) { .hero > .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); width: 100%; } }
.hero-text { min-width: 0; } .hero-photo { width: 100%; max-width: 480px; }

@media (min-width: 820px) { .hero-art { display: block; max-width: 520px; width: 100%; margin-left: auto; } .hero-photo { max-width: none; } .hero-art .hero-shot { right: -24px; } }
.hero.wrap > .hero-grid { max-width: none; width: 100%; }
@media (min-width: 820px) { .top { max-width: 1200px; padding-left: 32px; padding-right: 32px; } }

.pill-adult b { background: var(--accent); color: var(--accent-fg); border-radius: 6px; padding: 1px 7px; margin-right: 6px; font-weight: 800; }
.adult-note { max-width: 720px; margin-inline: auto; }

.hero-photo img { object-position: 30% 50%; }
.band { position: relative; }
.band figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 20px 16px; font-weight: 700; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.6); background: linear-gradient(transparent, rgba(0,0,0,.55)); }
@media (min-width: 820px) { .pains { grid-template-columns: 1fr 1fr; max-width: none; } .pains-out { max-width: none; } }

/* iconos de pago y redes */
.foot-icons { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-bottom: 14px; }
.pay { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pay > svg { width: 44px; height: 29px; }
.pay-note { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; color: var(--muted); margin-left: 6px; }
.pay-note svg { width: 28px; height: 19px; color: var(--muted); }
.soc { display: flex; gap: 8px; }
.soc a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); opacity: .6; }
.soc a[href] { opacity: 1; color: var(--fg); } .soc a[href]:hover { border-color: var(--accent); color: var(--accent); }
.soc svg { width: 20px; height: 20px; }
.final .lead, .final h2 { text-align: center; margin-inline: auto; } footer .fine.center { max-width: 720px; margin-inline: auto; }

/* la app instalada dibuja bajo la hora y la batería: el encabezado baja lo que haga falta */
html, body { overscroll-behavior-y: none; }
body { overflow-x: clip; -webkit-tap-highlight-color: transparent; }
@media (max-width: 819px) { .top { padding-top: calc(14px + env(safe-area-inset-top)); } }

.btn.soon { opacity: .65; pointer-events: none; cursor: default; }
