/* =========================================================
   Dent Pocket — sitio público: landing, login, páginas legales y 404.
   Móvil primero. Usa los tokens de /assets/css/tokens.css (los mismos de la app).
   ========================================================= */

:root {
  --wrap: 1180px;
  --gutter: 20px;
  --hero-glow: radial-gradient(900px 520px at 78% 8%, color-mix(in srgb, var(--accent) 16%, transparent) 0%, transparent 62%),
               radial-gradient(700px 420px at 0% 30%, color-mix(in srgb, #F2B8B5 22%, transparent) 0%, transparent 60%);
  --band: #0B3B3C;
  --band-ink: #EAF4F2;
  --band-ink-2: #A8C9C4;
  --red: #E5484D;
  --ink-3: #5E6A6A; /* más oscuro que en la app: texto pequeño con contraste AA sobre porcelana */
  --blue: #3E7BFA;
  --ai: #7C5CDB; --ai-ink: #5B3DB8;
  --soon: #D4A017; --soon-ink: #8A6500;
  --chat-bg: #EFEAE0; --bubble: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --hero-glow: radial-gradient(900px 520px at 78% 8%, color-mix(in srgb, var(--accent) 14%, transparent) 0%, transparent 62%),
                 radial-gradient(700px 420px at 0% 30%, rgba(199, 126, 124, .12) 0%, transparent 60%);
    --band: #0F2A2D;
    --ink-3: #869C9B;
    --ai: #A896F2; --ai-ink: #C9BDFA; --soon: #E9C15A; --soon-ink: #E9C15A; --chat-bg: #0F1C1F; --bubble: #183034;
  }
}
:root[data-theme="dark"] {
  --hero-glow: radial-gradient(900px 520px at 78% 8%, color-mix(in srgb, var(--accent) 14%, transparent) 0%, transparent 62%),
               radial-gradient(700px 420px at 0% 30%, rgba(199, 126, 124, .12) 0%, transparent 60%);
  --band: #0F2A2D;
  --ink-3: #869C9B;
  --ai: #A896F2; --ai-ink: #C9BDFA; --soon: #E9C15A; --soon-ink: #E9C15A; --chat-bg: #0F1C1F; --bubble: #183034;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
main { overflow-x: clip; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--brand); color: #fff; padding: 10px 14px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--ink-2); }
.icon { width: 20px; height: 20px; flex: none; }

/* ---------------- Marca ---------------- */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--brand); }
.brand-mark { width: 34px; height: 34px; color: var(--brand); }
.brand-name { font-weight: 500; font-size: 19px; letter-spacing: -.02em; color: var(--ink); }
.brand-name b { font-weight: 800; color: var(--brand); }

/* ---------------- Botones ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 14px; border: 1px solid transparent;
  font-weight: 750; font-size: 15.5px; letter-spacing: -.005em; text-decoration: none; white-space: nowrap;
  transition: transform .12s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s;
}
.btn svg { width: 20px; height: 20px; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 28px -12px color-mix(in srgb, var(--brand) 80%, transparent), inset 0 1px 0 rgba(255,255,255,.12); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 16px 36px -14px color-mix(in srgb, var(--brand) 90%, transparent); }
.btn-ghost { background: color-mix(in srgb, var(--surface) 70%, transparent); border-color: var(--line-strong); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink-3); background: var(--surface); }
.btn-light { background: #fff; color: #0B3B3C; }
.btn-light:hover { transform: translateY(-1px); }
.btn-outline-light { border-color: rgba(255,255,255,.28); color: #fff; background: transparent; }
.btn-outline-light:hover { border-color: rgba(255,255,255,.6); }
.btn-sm { min-height: 40px; padding: 0 14px; border-radius: 11px; font-size: 14px; }
.btn-block { width: 100%; }
:root[data-theme="dark"] .btn-primary { color: var(--accent-ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn-primary { color: var(--accent-ink); } }
.wa-dot { width: 8px; height: 8px; border-radius: 50%; background: #25D366; box-shadow: 0 0 0 3px rgba(37,211,102,.25); }
.link { background: none; border: 0; padding: 0; color: var(--accent); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }

/* ---------------- Encabezado ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s, background .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 12px; height: 64px; }
.nav { display: none; gap: 4px; margin-left: 28px; }
.nav a { text-decoration: none; color: var(--ink-2); font-weight: 650; font-size: 14.5px; padding: 8px 12px; border-radius: 10px; }
.nav a:hover { color: var(--ink); background: var(--surface-3); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.header-actions .login-link { display: none; }
.icon-btn { width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 11px; border: 1px solid var(--line); background: transparent; color: var(--ink-2); }
.icon-btn:hover { color: var(--ink); background: var(--surface-3); }
.icon-btn svg { width: 18px; height: 18px; }
.theme-sun { display: none; }
:root[data-theme="dark"] .theme-sun { display: block; } :root[data-theme="dark"] .theme-moon { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .theme-sun { display: block; } :root:not([data-theme="light"]) .theme-moon { display: none; } }

/* ---------------- Hero ---------------- */
.hero { position: relative; overflow: hidden; padding: 28px 0 56px; background: var(--hero-glow); }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: radial-gradient(700px 420px at 70% 20%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(700px 420px at 70% 20%, #000 0%, transparent 75%);
}
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; width: fit-content;
  padding: 6px 12px 6px 8px; border-radius: 999px; font-size: 13px; font-weight: 750; letter-spacing: .01em;
  background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); box-shadow: var(--shadow-sm);
}
.eyebrow .dot { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.eyebrow .dot svg { width: 12px; height: 12px; }
.hero h1 {
  margin: 18px 0 16px; font-size: clamp(38px, 9.6vw, 68px); line-height: 1.02; letter-spacing: -.045em; font-weight: 800;
  text-wrap: balance;
}
.hero h1 em { font-style: normal; color: var(--accent); position: relative; white-space: nowrap; }
.hero h1 em::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: .02em; height: .16em; border-radius: 99px;
  background: color-mix(in srgb, var(--accent) 28%, transparent); z-index: -1;
}
.lede { font-size: clamp(17px, 2.2vw, 19.5px); color: var(--ink-2); max-width: 560px; margin: 0 0 26px; text-wrap: pretty; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-row .btn { flex: 1 1 200px; }
.cta-row.cta-center { justify-content: center; max-width: 460px; margin: 0 auto; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 22px 0 0; padding: 0; list-style: none; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.trust li { display: flex; align-items: center; gap: 7px; }
.trust svg { width: 16px; height: 16px; color: var(--accent); }

/* Tarjeta de producto (el odontograma real) */
.product { position: relative; }
.device {
  position: relative; border-radius: 22px; background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow-lg), 0 0 0 8px color-mix(in srgb, var(--surface) 55%, transparent);
  overflow: hidden;
}
.device-bar { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.device-bar .dots { display: flex; gap: 6px; }
.device-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.pchip { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 3px 12px 3px 3px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); font-size: 12.5px; }
.pchip .av { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-weight: 800; font-size: 11px; }
.pchip b { font-weight: 750; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pchip small { color: var(--ink-3); white-space: nowrap; }
.pchip .av svg { width: 12px; height: 12px; }
/* Video del héroe (VSL): vertical 9:16 dentro de un marco tipo celular, sin sonido hasta que el visitante toque «Toca para escuchar» */
.device-phone { width: min(100%, 300px); margin: 0 auto; border-radius: 28px; }
.device-phone .device-bar { justify-content: center; }
.device-phone .device-bar .dots { display: none; }
.vsl { position: relative; background: var(--stage-bg); aspect-ratio: 9 / 16; }
.vsl video { display: block; width: 100%; height: 100%; object-fit: cover; }
.vsl-sound {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 9px; padding: 12px 20px 12px 16px; border: 0; border-radius: 99px;
  background: var(--brand); color: #fff; font: inherit; font-size: 15px; font-weight: 800; white-space: nowrap; cursor: pointer;
  box-shadow: 0 10px 30px rgba(0,0,0,.28), 0 0 0 6px color-mix(in srgb, var(--brand) 22%, transparent);
  animation: vsl-pulse 2.4s ease-in-out infinite;
}
.vsl-sound svg { width: 20px; height: 20px; flex: none; }
:root[data-theme="dark"] .vsl-sound { color: var(--accent-ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .vsl-sound { color: var(--accent-ink); } }
.vsl-sound:hover { filter: brightness(1.08); }
.vsl.on .vsl-sound { display: none; }
/* La portada del VSL vertical es verde oscuro: el botón va en blanco para que resalte en tema claro y oscuro */
.device-phone .vsl-sound, :root[data-theme="dark"] .device-phone .vsl-sound { background: #fff; color: #0B3B3C; box-shadow: 0 10px 30px rgba(0,0,0,.32), 0 0 0 6px rgba(255,255,255,.18); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .device-phone .vsl-sound { color: #0B3B3C; } }
@keyframes vsl-pulse { 50% { box-shadow: 0 10px 30px rgba(0,0,0,.28), 0 0 0 12px color-mix(in srgb, var(--brand) 10%, transparent); } }
@media (prefers-reduced-motion: reduce) { .vsl-sound { animation: none; } }
/* En celular y tablet vertical el video va justo debajo del título (antes del texto y los botones) */
@media (max-width: 899px) {
  .hero .wrap { gap: 0; }
  .hero-copy { display: contents; }
  .hero-copy > * { order: 1; }
  .product { order: 2; margin: 6px 0 26px; }
  .hero-copy > .lede, .hero-copy > .cta-row, .hero-copy > .trust { order: 3; }
}

/* ---------------- Secciones ---------------- */
.section { padding: 72px 0; }
.section.alt { background: var(--surface-2); border-block: 1px solid var(--line); }
.kicker { display: inline-block; font-size: 12.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.section h2 { font-size: clamp(30px, 6.2vw, 46px); line-height: 1.08; letter-spacing: -.035em; font-weight: 800; margin: 0 0 16px; text-wrap: balance; }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head p { font-size: 18px; color: var(--ink-2); margin: 0; text-wrap: pretty; }
.center { text-align: center; margin-inline: auto; }

/* Tarjetas (Por qué confiar) */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.card h3 { margin: 14px 0 6px; font-size: 19px; letter-spacing: -.015em; line-height: 1.25; }
.card p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.card-icon { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-3); color: var(--ink-2); }
.card-icon svg { width: 22px; height: 22px; }

/* Problema: la frase del VSL y tres síntomas en píldoras */
.section.problem { padding: 56px 0; }
.problem .section-head { margin-bottom: 0; }
.problem h2 em { font-style: normal; color: var(--red); }
.pains { list-style: none; margin: 26px auto 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pains li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); font-weight: 700; font-size: 14.5px; color: var(--ink-2); }
.pains svg { flex: none; width: 18px; height: 18px; color: var(--red); }

/* Cómo funciona: Documenta · Muéstrale · Entrégale (los 3 pasos del VSL) */
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; font-size: 15.5px; }
.ticks svg { flex: none; width: 20px; height: 20px; color: var(--accent); margin-top: 2px; }
.shot { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lg); background: var(--surface); }
.shot img { width: 100%; height: auto; }
.step { display: flex; flex-direction: column; overflow: hidden; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.step .shot { aspect-ratio: 16 / 9; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; background: var(--stage-bg); }
.step .shot img { height: 100%; object-fit: cover; object-position: left top; }
.step-body { flex: 1; display: flex; flex-direction: column; padding: 20px 20px 22px; }
.num { align-self: flex-start; font-family: var(--mono); font-weight: 600; font-size: 12.5px; color: var(--accent); background: var(--accent-soft); padding: 4px 9px; border-radius: 8px; }
.step h3 { margin: 12px 0 8px; font-size: clamp(21px, 3.6vw, 24px); line-height: 1.18; letter-spacing: -.025em; text-wrap: balance; }
.step-body > p { margin: 0 0 14px; color: var(--ink-2); font-size: 16px; }
.step .ticks li { font-size: 15px; }
.step-body > .fine { margin: auto 0 0; padding-top: 14px; font-size: 12.5px; color: var(--ink-3); }

/* Bloques plegables («Ver todo lo que hace», comparativa) */
.more-block { margin-top: 28px; }
.more-block > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px; width: fit-content; max-width: 100%; margin: 0 auto; padding: 12px 18px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--surface); font-weight: 750; font-size: 15px; color: var(--ink); text-align: center; transition: border-color .2s; }
.more-block > summary::-webkit-details-marker { display: none; }
.more-block > summary:hover { border-color: var(--ink-3); }
.more-block > summary svg { flex: none; width: 18px; height: 18px; color: var(--ink-3); transition: transform .2s; }
.more-block[open] > summary { margin-bottom: 22px; }
.more-block[open] > summary svg { transform: rotate(45deg); color: var(--accent); }

/* Pruébalo */
.try { background: var(--band); color: var(--band-ink); position: relative; overflow: hidden; }
.try::before { content: ""; position: absolute; inset: 0; background: radial-gradient(800px 400px at 85% 0%, rgba(61,214,195,.18), transparent 60%); pointer-events: none; }
.try .wrap { position: relative; }
.try .kicker { color: #7FE3D6; }
.try h2 { color: #fff; }
.try .section-head p { color: var(--band-ink-2); }
.try-grid { display: grid; gap: 18px; }
.try-board { border-radius: 20px; background: var(--surface); border: 1px solid rgba(255,255,255,.08); box-shadow: 0 30px 70px -30px rgba(0,0,0,.6); overflow: hidden; color: var(--ink); }
.try-tools { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.swatch { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px 0 10px; border-radius: 11px; border: 1.5px solid var(--line); background: var(--surface); font-weight: 700; font-size: 14px; color: var(--ink-2); }
.swatch i { width: 16px; height: 16px; border-radius: 5px; }
/* H5: los colores del «Pruébalo» salen del CSS (antes, style="" en el HTML) */
.swatch[data-cond="Caries"] i { background: #E5484D; }
.swatch[data-cond="Resina"] i { background: #3E7BFA; }
.swatch[data-cond="Fractura"] i { background: #F76B15; }
.swatch[data-cond="Sellante"] i { background: #12A594; }
.swatch[data-cond="borrar"] i { background: transparent; border: 1.5px dashed var(--ink-3); }
.wa-missing { font-size: 14px; margin: 12px 0 0; }
.swatch[aria-checked="true"] { border-color: var(--ink); color: var(--ink); box-shadow: var(--shadow-sm); }
.try-stage { background: var(--stage-bg); padding: 8px; min-height: 240px; display: grid; place-items: center; touch-action: manipulation; }
.try-stage svg { width: 100%; height: auto; max-height: 560px; }
.try-stage .surf { cursor: pointer; transition: fill-opacity .15s; }
.try-stage .surf:hover { fill-opacity: .35; }
.try-stage .surf[data-c] { fill-opacity: .88; }
.try-stage .surf[data-c]:hover { fill-opacity: .7; }
.try-hint { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink-2); }
.try-hint b { color: var(--ink); }
.try-side { display: grid; gap: 12px; align-content: start; }
.tally { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tally div { border-radius: 14px; padding: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.tally b { display: block; font-size: 30px; font-weight: 800; letter-spacing: -.03em; color: #fff; line-height: 1.1; }
.tally span { font-size: 13px; color: var(--band-ink-2); font-weight: 600; }
.tally .r b { color: #FF8589; } .tally .bl b { color: #8DB3FF; }
.try-log { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; max-height: 190px; overflow: auto; font-size: 14px; }
.try-log li { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; background: rgba(255,255,255,.05); color: var(--band-ink); }
.try-log li i { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.try-log li code { font-family: var(--mono); font-weight: 600; font-size: 12.5px; color: #fff; }
.try-log .empty { color: var(--band-ink-2); background: transparent; border: 1px dashed rgba(255,255,255,.18); }
.try-cta { border-radius: 16px; padding: 18px; background: linear-gradient(135deg, rgba(61,214,195,.18), rgba(61,214,195,.04)); border: 1px solid rgba(61,214,195,.3); }
.try-cta p { margin: 0 0 12px; font-weight: 650; color: #fff; }
.try-cta .locked { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; padding: 0; list-style: none; }
.try-cta .locked li { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--band-ink-2); padding: 4px 9px; border-radius: 8px; background: rgba(255,255,255,.06); }
.try-cta .locked svg { width: 12px; height: 12px; }

/* Por qué confiar */
.deck.deck-trust { max-width: 780px; }
.deck-trust .card { display: flex; flex-direction: column; gap: 18px; padding: 28px 24px 30px; border-radius: 22px; }
.deck-trust .card-icon { width: 56px; height: 56px; border-radius: 16px; background: var(--accent-soft); color: var(--accent); }
.deck-trust .card-icon svg { width: 26px; height: 26px; }
.deck-trust .card h3 { margin: 0 0 8px; font-size: clamp(22px, 4vw, 27px); letter-spacing: -.025em; line-height: 1.15; text-wrap: balance; }
.deck-trust .card p { font-size: 16.5px; line-height: 1.6; }
@media (min-width: 640px) {
  .deck-trust .card { flex-direction: row; gap: 26px; padding: 40px 40px 42px; }
}
.law { margin-top: 18px; font-size: 14px; color: var(--ink-3); }
.law.center { max-width: 640px; margin: 24px auto 0; }

/* Acceso / precio */
.pricing { display: grid; gap: 18px; align-items: stretch; }
.plan { position: relative; border-radius: 22px; padding: 28px 24px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.plan.featured { border: 2px solid var(--accent); }
.plan .badge { position: absolute; top: -13px; left: 24px; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 800; letter-spacing: .04em; padding: 4px 10px; border-radius: 99px; }
.plan h3 { margin: 0 0 4px; font-size: 20px; letter-spacing: -.015em; }
.price { font-size: clamp(34px, 7vw, 46px); font-weight: 800; letter-spacing: -.04em; line-height: 1.1; margin: 10px 0 2px; }
.price small { font-size: 16px; font-weight: 650; color: var(--ink-3); letter-spacing: 0; }
.price-alt { color: var(--ink-2); font-weight: 650; margin: 0 0 18px; min-height: 1.6em; }
.price-fine { font-size: 13px; line-height: 1.5; margin: -8px 0 16px; }
.price-fine a { color: inherit; text-decoration: underline; }
/* Reembolso de Hotmart junto al botón de pago (sesión 64) */
.price-refund { display: flex; align-items: flex-start; gap: 10px; margin: 14px 0 0; padding: 12px 14px; border-radius: 14px; background: var(--accent-soft); color: var(--ink); font-size: 14px; line-height: 1.45; }
.price-refund svg { width: 20px; height: 20px; flex: none; color: var(--accent); margin-top: 1px; }
.price-refund[hidden] { display: none; }
.plan .ticks { margin: 20px 0 0; padding-top: 18px; border-top: 1px solid var(--line); }
.plan .actions { display: grid; gap: 10px; }
.how-access { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.how-access.how-access-spaced { margin: 18px 0 22px; }
.how-access li { display: flex; gap: 14px; align-items: flex-start; }
.how-access .n { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; flex: none; background: var(--accent-soft); color: var(--accent); font-weight: 800; }
.how-access b { display: block; }
.how-access span { color: var(--ink-2); font-size: 15px; }
.aside-card { border-radius: 22px; padding: 26px 24px; background: var(--surface-2); border: 1px solid var(--line); }
.aside-card h3 { margin: 0 0 18px; font-size: 18px; }
.tutorial { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding: 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: inherit; transition: border-color .2s, transform .2s; }
.tutorial:hover { border-color: var(--accent); transform: translateY(-1px); }
.tut-play { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; }
:root[data-theme="dark"] .tut-play { color: var(--accent-ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tut-play { color: var(--accent-ink); } }
.tut-play svg { width: 16px; height: 16px; margin-left: 2px; }
.tutorial b { display: block; font-size: 15px; line-height: 1.3; }
.tutorial small { color: var(--ink-3); font-size: 13px; font-weight: 600; }
.tut-go { flex: none; width: 18px; height: 18px; margin-left: auto; color: var(--ink-3); }

/* Preguntas frecuentes */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; font-weight: 750; font-size: 16.5px; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; width: 20px; height: 20px; color: var(--ink-3); transition: transform .2s; }
.faq details[open] summary svg { transform: rotate(45deg); color: var(--accent); }
.faq .ans { padding: 0 20px 18px; color: var(--ink-2); font-size: 15.5px; }
.faq .ans p { margin: 0 0 8px; }
.faq .ans a { color: var(--accent); font-weight: 700; }
.faq-more { display: grid; gap: 10px; }
html:not(.no-js) .faq-more:not(.open) { display: none; }
.faq-toggle { justify-self: center; margin-top: 6px; }

/* Sesión 70: hasta ver el video completo solo se ve el héroe (boot.js pone .vsl-locked en <html>; landing.js la quita al terminar) */
.vsl-locked main > section:not(.hero), .vsl-locked .buybar, .vsl-locked .site-header .nav, .vsl-locked .site-footer { display: none !important; }
.lock-hint { display: none; }
.vsl-locked .lock-hint { display: flex; align-items: flex-start; gap: 8px; margin: 14px 0 0; max-width: 46ch; font-size: 14.5px; font-weight: 650; line-height: 1.45; color: var(--ink-2); }
.lock-hint svg { width: 17px; height: 17px; flex: none; margin-top: 2px; color: var(--accent); }

/* Planes (sesión 71): mensual y licencia de por vida, quietas, de la más económica a la más costosa */
.plans-grid { display: grid; gap: 16px; margin: 6px auto 18px; max-width: 420px; outline: none; }
@media (min-width: 680px) { .plans-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; gap: 20px; } }
.pcard { position: relative; display: flex; flex-direction: column; border-radius: 22px; padding: 22px 20px 18px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); color: var(--ink); }
.pcard-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.pcard-ico { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.pcard-ico svg { width: 18px; height: 18px; }
.pcard-tag { font-size: 10.5px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--accent); text-align: right; }
.pcard-name { margin: 0; font-size: 20px; letter-spacing: -.025em; }
.pcard-lead { margin: 4px 0 12px; color: var(--ink-2); font-size: 13.5px; line-height: 1.4; min-height: 2.8em; }
.pcard-price { display: flex; align-items: baseline; gap: 6px; }
.pcard-price b { font-size: 34px; font-weight: 800; letter-spacing: -.045em; line-height: 1; }
.pcard-price small { font-size: 13px; font-weight: 650; color: var(--ink-3); }
.pcard-bill { margin: 8px 0 2px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-size: 13px; color: var(--ink-2); }
.pcard-bill b { color: var(--ink); font-weight: 750; }
.pcard-cop { margin: 0 0 14px; font-size: 12px; font-weight: 600; color: var(--ink-3); }
.pcard-save { padding: 1px 8px; border-radius: 99px; background: var(--accent); color: var(--accent-ink); font-size: 10.5px; font-weight: 800; }
.pcard-pts { flex: 1; list-style: none; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 7px; align-content: start; }
.pcard-pts li { display: flex; gap: 7px; font-size: 13px; font-weight: 600; line-height: 1.4; }
.pcard-pts svg { width: 16px; height: 16px; flex: none; margin-top: 1px; color: var(--accent); }
.pcard .pcard-btn { min-height: 42px; font-size: 14px; padding: 0 12px; }
.pcard-fine { margin: 12px 0 0; font-size: 11px; line-height: 1.4; color: var(--ink-3); text-align: center; }
/* 1 · Mensual: limpia y tranquila */
.pcard-mensual { border-top: 3px solid var(--accent); }
/* 2 · De por vida: el pago único, con el rosa metálico de la marca como guía del ojo */
.pcard.pcard-vida { --rosa-metal: linear-gradient(118deg, #FFE3F0 0%, #FF92C4 20%, #E4488F 46%, #FF9DCA 68%, #FFE8F2 84%, #F36FAE 100%);
  background: radial-gradient(120% 80% at 0% 0%, #4A1631 0%, #24101C 48%, #160A12 100%); border-color: transparent; color: #FFEFF6;
  box-shadow: 0 26px 60px -24px rgba(228, 72, 143, .55), var(--shadow-lg); }
.pcard-vida::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: var(--rosa-metal); pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.pcard-vida .pcard-ico { background: var(--rosa-metal); color: #3B0C24; }
.pcard-vida .pcard-tag { padding: 3px 8px; border-radius: 99px; background: var(--rosa-metal); color: #3B0C24; letter-spacing: .06em; }
.pcard-vida .pcard-price b { background: var(--rosa-metal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pcard-vida .pcard-lead, .pcard-vida .pcard-bill { color: #F6CFE0; }
.pcard-vida .pcard-bill b { color: #FFEFF6; }
.pcard-vida .pcard-price small, .pcard-vida .pcard-cop, .pcard-vida .pcard-fine { color: #D9A3BD; }
.pcard-vida .pcard-save { background: #FF92C4; color: #3B0C24; }
.pcard-vida .pcard-pts { border-top-color: rgba(255, 146, 196, .22); }
.pcard-vida .pcard-pts svg { color: #FF92C4; }
.pcard.pcard-vida .pcard-btn.btn { background: var(--rosa-metal); color: #3B0C24; border-color: transparent; box-shadow: 0 12px 28px -10px rgba(228, 72, 143, .75); }
.pcard .pcard-btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
/* Banda de medios de pago (sesión 71): tranquilidad justo debajo de los precios; solo lo que muestra Hotmart (config.js → PAYMENT_METHODS) */
.pay-band { max-width: 760px; margin: 0 auto 22px; padding: 14px 0; border-radius: 16px; background: var(--surface); border: 1px solid var(--line);
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; justify-items: center; text-align: center; overflow: hidden; }
.pay-band[hidden] { display: none; }
.pay-title { margin: 0; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; color: var(--ink-2); }
.pay-title b { color: var(--ink); }
.pay-title svg { width: 18px; height: 18px; flex: none; color: var(--accent); }
/* Sesión 71k: la cinta. Dos listas iguales en fila; la pista se corre la mitad de su ancho y vuelve a empezar sin salto */
.pay-ribbon { width: 100%; min-width: 0; overflow: hidden; padding: 9px 0; background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 10%, var(--surface)), color-mix(in srgb, #E4488F 9%, var(--surface)));
  border-block: 1px solid color-mix(in srgb, var(--accent) 22%, var(--line));
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.pay-track { display: flex; width: max-content; animation: pay-ribbon 38s linear infinite; }
.pay-ribbon:hover .pay-track, .pay-band:focus-within .pay-track { animation-play-state: paused; }
@keyframes pay-ribbon { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.pay-list { list-style: none; margin: 0; padding: 0 10px 0 0; display: flex; flex-wrap: nowrap; gap: 10px; }
@media (prefers-reduced-motion: reduce) {
  .pay-track { animation: none; width: auto; justify-content: center; }
  .pay-list { flex-wrap: wrap; justify-content: center; padding: 0 16px; }
  .pay-list[aria-hidden] { display: none; }
}
.pay-list li { flex: none; white-space: nowrap; display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 99px; background: var(--surface);
  border: 1px solid var(--line); font-size: 13.5px; font-weight: 700; color: var(--ink); }
.pay-list svg { width: 18px; height: 18px; flex: none; color: var(--accent); }
.pay-fine { margin: 0; padding: 0 18px; font-size: 11.5px; color: var(--ink-3); }
/* Debajo de las tarjetas: una sola columna, uno sobre otro (pedido del dueño: más fácil de escanear) */
.plans-stack { display: grid; gap: 18px; max-width: 760px; margin: 8px auto 0; }
.stack-card { border-radius: 22px; padding: 26px 24px; background: var(--surface); border: 1px solid var(--line); }
.stack-card h3 { margin: 0 0 16px; font-size: 18px; }
.info-sep { border: 0; border-top: 1px solid var(--line); margin: 22px 0; }
.trust-list { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 13px; }
.trust-list li { display: flex; gap: 10px; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.trust-list li[hidden] { display: none; }
.trust-list b { color: var(--ink); }
.trust-list svg { width: 20px; height: 20px; flex: none; margin-top: 1px; color: var(--accent); }
.plans-info .price-fine { margin: 0 0 14px; }

.cupo-card { border-radius: 22px; padding: 26px 24px; background: var(--surface); border: 2px solid color-mix(in srgb, var(--accent) 45%, var(--line)); box-shadow: var(--shadow-md); }
.cupo-card .kicker { margin-bottom: 8px; }
.cupo-card h3 { margin: 0 0 8px; font-size: 21px; letter-spacing: -.02em; line-height: 1.2; }
.cupo-card > p { margin: 0 0 16px; color: var(--ink-2); font-size: 15px; }
.cupo-form { display: grid; gap: 8px; }
.cupo-form > label:first-child { font-weight: 700; font-size: 14px; }
.cupo-form input[type="email"] { width: 100%; height: 50px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--line-strong); background: var(--surface); color: var(--ink); font: inherit; font-size: 16px; }
.cupo-form input[type="email"]:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.cupo-form .check { margin: 6px 0 8px; font-size: 13.5px; line-height: 1.45; }
.cupo-form .check a { color: var(--accent); font-weight: 700; }
.cupo-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.cupo-form[hidden], .cupo-done[hidden] { display: none; }
.cupo-msg { margin: 2px 0 0; min-height: 1.4em; font-size: 14px; font-weight: 650; color: var(--ink-2); }
.cupo-msg.err { color: var(--danger); }
.cupo-done { text-align: center; padding: 6px 0 2px; outline: none; }
.cupo-ok { width: 48px; height: 48px; margin: 0 auto 10px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); }
.cupo-ok svg { width: 26px; height: 26px; }
.cupo-done h4 { margin: 0 0 6px; font-size: 18px; }
.cupo-done p { margin: 0 0 14px; color: var(--ink-2); font-size: 15px; overflow-wrap: anywhere; }
.cupo-done b { color: var(--ink); }
.cupo-fine { margin: 14px 0 0; font-size: 12.5px; line-height: 1.45; }
/* Controles propios del video mientras los planes estén cerrados (pausar sí, adelantar no) */
.vsl-bar { position: absolute; left: 8px; right: 8px; bottom: 8px; display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 14px; background: rgba(6, 22, 23, .72); color: #fff; backdrop-filter: blur(6px); }
.vsl-bar[hidden] { display: none; }
.vsl-btn { width: 34px; height: 34px; flex: none; border: 0; border-radius: 10px; background: rgba(255,255,255,.14); color: #fff; display: grid; place-items: center; cursor: pointer; }
.vsl-btn:hover { background: rgba(255,255,255,.24); }
.vsl-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.vsl-btn svg { width: 18px; height: 18px; }
.vsl-track { flex: 1; height: 5px; border-radius: 99px; background: rgba(255,255,255,.25); overflow: hidden; }
.vsl-track i { display: block; height: 100%; width: 0; background: #3DD6C3; border-radius: inherit; }
.vsl-time { font: 700 11.5px/1 var(--mono); white-space: nowrap; }
.vsl.locked video { cursor: pointer; }

/* Barra de compra fija (solo celular y tablet vertical) */
.buybar {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40;
  display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 16px; border-radius: 16px;
  background: color-mix(in srgb, var(--surface) 92%, transparent); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  transform: translateY(calc(100% + 28px)); visibility: hidden; transition: transform .35s cubic-bezier(.2,.8,.2,1), visibility 0s linear .35s;
}
.buybar.show { transform: none; visibility: visible; transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.buybar-txt { min-width: 0; }
.buybar-txt b { display: block; font-size: 16px; letter-spacing: -.02em; white-space: nowrap; }
.buybar-txt small { display: block; color: var(--ink-3); font-size: 12.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buybar .btn { flex: none; margin-left: auto; }

/* Cierre */
.final { text-align: center; padding: 80px 0; background: var(--hero-glow); }
.final h2 { font-size: clamp(32px, 7vw, 54px); letter-spacing: -.04em; line-height: 1.05; margin: 0 auto 16px; max-width: 820px; text-wrap: balance; }
.final p { color: var(--ink-2); font-size: 18px; margin: 0 auto 28px; max-width: 560px; }
.final .cta-row { justify-content: center; max-width: 520px; margin: 0 auto; }

/* Pie */
.site-footer { border-top: 1px solid var(--line); padding: 44px 0 36px; font-size: 14.5px; color: var(--ink-2); }
.foot-grid { display: grid; gap: 28px; }
.foot-grid .foot-h { margin: 0 0 10px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-grid a { text-decoration: none; }
.foot-grid a:hover { color: var(--ink); text-decoration: underline; }
.foot-tag { margin: 12px 0 0; max-width: 340px; }
.foot-bottom { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; font-size: 13px; color: var(--ink-3); }
.foot-bottom.flush { margin-top: 0; border-top: 0; padding-top: 0; }

/* Aparición suave al hacer scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------------- Tablet / escritorio ---------------- */
@media (min-width: 640px) {
  :root { --gutter: 28px; }
  .tally { grid-template-columns: repeat(4, 1fr); }
  .foot-grid { grid-template-columns: 1.6fr 1fr 1fr; }
}
@media (min-width: 900px) {
  .header-actions .login-link { display: inline-flex; }
  .hero { padding: 56px 0 96px; }
  .hero .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 48px; align-items: center; }
  .device-phone { width: 340px; }
  .cta-row .btn { flex: 0 0 auto; }
  .section { padding: 104px 0; }
  .section.problem { padding: 80px 0; }
  .buybar { display: none; }
  .try-grid { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 28px; align-items: start; }
  .tally { grid-template-columns: 1fr 1fr; }
  .pricing { grid-template-columns: 1.1fr 1fr; gap: 28px; }
}
@media (min-width: 1120px) {
  .nav { display: flex; }
}
@media (min-width: 1200px) {
  .hero h1 { font-size: 70px; }
}

/* Etiqueta IA ✦ */
.ai-tag {
  display: inline-flex; align-items: center; font-size: 11px; font-weight: 800; letter-spacing: .03em; white-space: nowrap;
  padding: 2px 7px; border-radius: 99px; vertical-align: 1px; color: var(--ai-ink);
  background: color-mix(in srgb, var(--ai) 14%, transparent); border: 1px solid color-mix(in srgb, var(--ai) 28%, transparent);
}
/* «Ver todo lo que hace Dent Pocket»: funciones por resultado */
.features { display: grid; gap: 14px; }
.fgroup { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 22px 20px; box-shadow: var(--shadow-sm); }
.fgroup header { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.fgroup .gi { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--brand); color: #fff; }
:root[data-theme="dark"] .fgroup .gi { color: var(--accent-ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .fgroup .gi { color: var(--accent-ink); } }
.fgroup .gi.gi-red { background: var(--red); color: #fff; }
.fgroup .gi svg { width: 23px; height: 23px; }
.fgroup h3 { margin: 0 0 2px; font-size: 20px; letter-spacing: -.02em; line-height: 1.2; }
.fgroup header p { margin: 0; color: var(--ink-2); font-size: 14.5px; }
.flist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.flist li { display: flex; gap: 12px; align-items: flex-start; }
.flist li > svg { flex: none; width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); }
.flist b { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-size: 15.5px; letter-spacing: -.01em; line-height: 1.3; }
.flist span:not(.soon):not(.ai-tag) { display: block; color: var(--ink-2); font-size: 14.5px; line-height: 1.45; margin-top: 2px; }
.flist .is-soon > svg { background: var(--surface-3); color: var(--ink-3); }
.flist .is-soon b { color: var(--ink-2); }

/* ---------------- E11: comparativa ---------------- */
.compare-wrap { max-width: 980px; margin: 0 auto; }
.compare { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; }
.compare thead { display: none; }
.compare tbody { display: grid; gap: 10px; }
.compare tr { display: grid; gap: 8px; padding: 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.compare th[scope="row"] { text-align: left; font-size: 16px; letter-spacing: -.01em; }
.compare td { display: flex; gap: 8px; align-items: flex-start; color: var(--ink-2); line-height: 1.45; }
.compare td::before { content: attr(data-label); flex: none; width: 92px; font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); padding-top: 3px; }
.compare td.us { color: var(--ink); font-weight: 650; }
.compare td.us::before { color: var(--accent); }
.compare td svg { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--accent); }
.compare tr.theirs td.us svg { color: var(--ink-3); }
.compare tr.theirs td:not(.us) { color: var(--ink); font-weight: 650; }
.compare-note { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0 0; font-size: 14.5px; color: var(--ink-2); }
.compare-note svg { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--ink-3); }
.compare-note b { color: var(--ink); }

/* Testimonios (solo se muestran si hay reales en config.js) */
.testis { display: grid; gap: 14px; }
.testi { margin: 0; padding: 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.testi svg { width: 26px; height: 26px; color: var(--accent); }
.testi blockquote { margin: 10px 0 14px; font-size: 16.5px; font-weight: 600; line-height: 1.5; }
.testi figcaption b { display: block; }
.testi figcaption span { color: var(--ink-3); font-size: 14px; }
/* Testimonio en captura (conversación real de WhatsApp, sin editar) */
.testi-shot { padding: 14px; }
.testi-shot img { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); }
.testi-shot figcaption { padding: 12px 6px 4px; }
.testi-shot figcaption small { display: block; margin-top: 4px; color: var(--ink-3); font-size: 12.5px; }
/* Con un solo testimonio, la tarjeta va centrada y del ancho de un celular */
.testis:has(> .testi:only-child) { grid-template-columns: minmax(0, 380px); justify-content: center; }

@media (min-width: 640px) {
  .testis { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 760px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .features .fgroup:last-child { grid-column: 1 / -1; }
  .features .fgroup:last-child .flist { grid-template-columns: repeat(2, 1fr); }
  .compare thead { display: table-header-group; }
  .compare tbody { display: table-row-group; }
  .compare tr { display: table-row; padding: 0; border: 0; background: none; border-radius: 0; }
  .compare th, .compare td { display: table-cell; padding: 15px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
  .compare td::before { content: none; }
  .compare td svg { display: inline-block; vertical-align: -3px; margin: 0 8px 0 0; }
  .compare thead th { font-size: 14px; font-weight: 800; color: var(--ink-2); text-align: left; border-bottom: 2px solid var(--line-strong); }
  .compare thead th.us { font-size: 17px; }
  .compare th[scope="row"] { width: 28%; font-size: 15px; color: var(--ink); }
  .compare .us { background: color-mix(in srgb, var(--accent) 7%, var(--surface)); border-inline: 2px solid color-mix(in srgb, var(--accent) 45%, transparent); width: 38%; }
  .compare thead .us { border-top: 2px solid color-mix(in srgb, var(--accent) 45%, transparent); border-radius: 16px 16px 0 0; }
  .compare tbody tr:last-child .us { border-bottom: 2px solid color-mix(in srgb, var(--accent) 45%, transparent); border-radius: 0 0 16px 16px; }
  .compare tbody tr:last-child > * { border-bottom-color: transparent; }
}
@media (min-width: 1100px) {
  .features { grid-template-columns: repeat(6, 1fr); }
  .features .fgroup { grid-column: span 2; }
  .features .fgroup:nth-child(4) { grid-column: span 3; }
  .features .fgroup:last-child { grid-column: span 3; }
  .features .fgroup:last-child .flist { grid-template-columns: 1fr; }
  .testis { grid-template-columns: repeat(3, 1fr); }
}

/* =========================================================
   Login
   ========================================================= */
.auth-page { min-height: 100vh; min-height: 100dvh; }
.auth { min-height: 100vh; min-height: 100dvh; display: grid; }
.auth-art { display: none; }
.auth-panel { display: flex; flex-direction: column; padding: 22px var(--gutter) 28px; background: var(--hero-glow); }
.auth-top { display: flex; align-items: center; justify-content: space-between; }
.auth-center { flex: 1; display: grid; place-items: center; padding: 28px 0; }
.auth-card { width: 100%; max-width: 420px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 30px 24px; box-shadow: var(--shadow-lg); }
.auth-card h1 { margin: 0 0 6px; font-size: 27px; letter-spacing: -.03em; line-height: 1.15; }
.auth-card > div > p.muted { margin: 0 0 22px; font-size: 15.5px; }
.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field > span { font-weight: 700; font-size: 14px; }
.field input {
  width: 100%; height: 50px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--line-strong);
  background: var(--surface); font-size: 16px; transition: border-color .15s, box-shadow .15s;
}
.field input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.field input[aria-invalid="true"] { border-color: var(--danger); }
.pw { position: relative; }
.pw input { padding-right: 52px; }
.pw-toggle { position: absolute; right: 5px; top: 5px; width: 40px; height: 40px; border-radius: 9px; border: 0; background: transparent; color: var(--ink-3); display: grid; place-items: center; }
.pw-toggle:hover { color: var(--ink); background: var(--surface-3); }
.pw-toggle svg { width: 20px; height: 20px; }
.row-end { display: flex; justify-content: flex-end; margin: -4px 0 20px; font-size: 14px; }
.notice { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; font-size: 14.5px; margin: 0 0 18px; line-height: 1.45; }
.notice svg { width: 18px; height: 18px; margin-top: 1px; }
.notice.error { background: color-mix(in srgb, var(--danger) 10%, transparent); color: color-mix(in srgb, var(--danger) 80%, var(--ink)); border: 1px solid color-mix(in srgb, var(--danger) 30%, transparent); }
.notice.ok { background: var(--accent-soft); color: var(--ink); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); }
.notice.info { background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--line); }
.btn .spinner { display: none; }
.btn.loading .spinner { display: block; }
.btn.loading .label { opacity: .8; }
.spinner { width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; animation: spin .8s linear infinite; }
.busy { text-align: center; padding: 18px 0 8px; }
.busy .spinner { width: 34px; height: 34px; margin: 0 auto 16px; color: var(--accent); border-width: 3px; }
.busy p { margin: 0; font-weight: 700; }
.auth-alt { margin: 18px 0 0; text-align: center; font-size: 15px; color: var(--ink-2); }
.auth-alt a { color: var(--accent); font-weight: 750; }
.auth-legal { text-align: center; font-size: 13px; color: var(--ink-3); }
.auth-legal a { color: inherit; }
.back-link { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-size: 14px; font-weight: 700; color: var(--ink-2); }
.back-link svg { width: 16px; height: 16px; }

@media (min-width: 960px) {
  .auth { grid-template-columns: 1.05fr 1fr; }
  .auth-art {
    display: flex; flex-direction: column; justify-content: space-between; padding: 40px 48px; position: relative; overflow: hidden;
    background: radial-gradient(900px 500px at 20% 0%, rgba(61,214,195,.22), transparent 60%), #0B3B3C; color: #EAF4F2;
  }
  .auth-art .brand-name { color: #EAF4F2; } .auth-art .brand-name b { color: #7FE3D6; } .auth-art .brand-mark { color: #7FE3D6; }
  .auth-art .art { margin: 24px auto; width: min(560px, 100%); max-height: 52vh; object-fit: contain; filter: drop-shadow(0 30px 50px rgba(0,0,0,.35)); }
  .auth-art blockquote { margin: 0; font-size: 26px; font-weight: 750; letter-spacing: -.025em; line-height: 1.25; max-width: 480px; }
  .auth-art blockquote span { color: #7FE3D6; }
  .auth-art .small { font-size: 14px; color: #A8C9C4; margin-top: 10px; }
  .auth-panel { padding: 28px 48px 32px; }
  .auth-panel .auth-top .brand { visibility: hidden; }
}

/* =========================================================
   Páginas legales y 404
   ========================================================= */
.doc { padding: 40px 0 80px; }
.doc .wrap { max-width: 780px; }
.doc h1 { font-size: clamp(32px, 6vw, 44px); letter-spacing: -.035em; line-height: 1.1; margin: 16px 0 8px; }
.doc h2 { font-size: 21px; letter-spacing: -.015em; margin: 36px 0 10px; }
.doc p, .doc li { color: var(--ink-2); font-size: 16px; }
.doc .draft { margin: 18px 0 26px; }
.doc .updated { color: var(--ink-3); font-size: 14px; }
.doc .updated.doc-end { margin-top: 36px; }
.nf { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 40px 0; }
.nf h1 { font-size: clamp(34px, 7vw, 54px); letter-spacing: -.04em; margin: 10px 0; }
.nf p { color: var(--ink-2); font-size: 18px; margin: 0 0 24px; }
.nf .big { font-family: var(--mono); font-weight: 600; font-size: 15px; color: var(--accent); }

/* =========================================================
   Activar acceso (después de la compra)
   ========================================================= */
.steps-mini { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 14px; }
.steps-mini b { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 12.5px; font-weight: 800; background: var(--accent); color: var(--accent-ink); }
.steps-mini b.off { background: var(--surface-3); color: var(--ink-3); }
.steps-mini i { width: 22px; height: 2px; border-radius: 2px; background: var(--line-strong); }
.steps-mini i.on { background: var(--accent); }
.check { display: flex; gap: 10px; align-items: flex-start; margin: -4px 0 16px; font-size: 14.5px; color: var(--ink-2); cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent); flex: none; }
.field small { font-weight: 600; }
.fine { margin: 12px 0 0; font-size: 13px; color: var(--ink-3); text-align: center; }
.fine a, .auth-card .muted a { color: var(--accent); font-weight: 700; }
.auth-card { min-width: 0; overflow-wrap: anywhere; }
#doneEmail { color: var(--ink); }
.auth-card .btn { white-space: normal; text-align: center; }

/* ---------- Aceptación de términos (/app/aceptar/) ---------- */
.terms-tag { display: inline-block; margin-bottom: 12px; padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 12.5px; font-weight: 800; }
.doc h3 { font-size: 17px; letter-spacing: -.01em; margin: 26px 0 8px; }
.legal-long p, .legal-long li { text-align: justify; hyphens: auto; }
.doc .toc { margin: 22px 0 8px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 14px; }
.doc .toc ol { margin: 6px 0 0; padding-left: 20px; }
.doc .toc li { font-size: 15px; text-align: left; }
.doc .defs { padding-left: 22px; display: grid; gap: 8px; }
.terms-card .check a { color: var(--accent); font-weight: 700; }
/* Modalidad de la cuenta (sesión 58): odontólogo con ReTHUS o Cuenta Estudiante */
.role-pick { border: 0; margin: 0 0 16px; padding: 0; min-width: 0; display: grid; gap: 8px; }
.role-pick legend { padding: 0; margin-bottom: 8px; font-size: 14.5px; font-weight: 800; color: var(--ink); }
.role-opt { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 12px; cursor: pointer; font-size: 14.5px; color: var(--ink-2); }
.role-opt:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.role-opt:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.role-opt input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent); flex: none; }
.role-opt span { display: grid; gap: 2px; min-width: 0; }
.role-opt b { color: var(--ink); font-weight: 800; }
.role-opt small { font-size: 13px; color: var(--ink-3); line-height: 1.4; }
.role-opt a { color: var(--accent); font-weight: 700; }
.btn:disabled, .btn[disabled] { opacity: .45; cursor: not-allowed; box-shadow: none; }

/* ---------- Mazo de tarjetas (Cómo funciona y Por qué confiar): un toque pasa a la siguiente ----------
   Sin JS se ven en columna. Con JS (.is-ready) se apilan en la misma celda: la de adelante se ve entera y las de atrás
   asoman abajo; la que se va sale volando hacia la izquierda y vuelve al fondo del mazo. */
.deck { --peek: 12px; position: relative; max-width: 1080px; margin: 0 auto; }
.deck-stage { display: grid; gap: 14px; }
.deck.is-ready .deck-stage { gap: 0; padding-bottom: calc(var(--peek) * 2); touch-action: pan-y; -webkit-tap-highlight-color: transparent; }
.deck.is-ready .deck-card { grid-area: 1 / 1; transform-origin: 50% 100%; transition: transform .55s cubic-bezier(.2,.8,.2,1), box-shadow .4s ease; }
.deck.is-ready .deck-card > * { transition: opacity .3s ease; }
.deck-card[data-pos="0"] { z-index: 3; cursor: pointer; box-shadow: var(--shadow-lg); }
.deck-card[data-pos="1"] { z-index: 2; transform: translateY(var(--peek)) scale(.965); }
.deck-card[data-pos="2"] { z-index: 1; transform: translateY(calc(var(--peek) * 2)) scale(.93); }
.deck-card[data-pos]:not([data-pos="0"]) { background: var(--surface-2); }
.deck-card[data-pos]:not([data-pos="0"]) > * { opacity: 0; }
.deck-card.is-out { animation: deck-out .72s cubic-bezier(.3,.7,.2,1) both; }
.deck-card.is-in { animation: deck-in .72s cubic-bezier(.3,.7,.2,1) both; }
.deck.is-ready .deck-card.is-out, .deck.is-ready .deck-card.is-in { background: var(--surface); }
.deck.is-ready .deck-card.is-out > *, .deck.is-ready .deck-card.is-in > * { opacity: 1; }
@keyframes deck-out {
  0% { transform: none; z-index: 4; }
  45% { transform: translateX(-58%) rotate(-5deg); z-index: 4; }
  55% { z-index: 0; }
  100% { transform: translateY(calc(var(--peek) * 2)) scale(.93); z-index: 0; }
}
@keyframes deck-in {
  0% { transform: translateY(calc(var(--peek) * 2)) scale(.93); z-index: 0; }
  45% { z-index: 0; }
  55% { transform: translateX(-58%) rotate(-5deg); z-index: 4; }
  100% { transform: none; z-index: 4; }
}
.deck-tabs { display: none; }
.deck.is-ready .deck-tabs {
  display: flex; width: max-content; max-width: 100%; margin: 0 auto 22px; padding: 5px; gap: 4px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.deck-tab {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border: 0; border-radius: 999px;
  background: transparent; color: var(--ink-2); font: inherit; font-size: 14.5px; font-weight: 750; letter-spacing: -.01em; cursor: pointer;
  transition: background .3s ease, color .3s ease;
}
.deck-tab:hover { color: var(--ink); }
.deck-tab-n { font-family: var(--mono); font-size: 11.5px; font-weight: 600; color: var(--ink-3); transition: color .3s ease; }
.deck-tab[aria-selected="true"] { background: var(--brand); color: #fff; }
.deck-tab[aria-selected="true"] .deck-tab-n { color: color-mix(in srgb, #fff 70%, transparent); }
:root[data-theme="dark"] .deck-tab[aria-selected="true"] { color: var(--accent-ink); }
:root[data-theme="dark"] .deck-tab[aria-selected="true"] .deck-tab-n { color: color-mix(in srgb, var(--accent-ink) 65%, transparent); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .deck-tab[aria-selected="true"] { color: var(--accent-ink); }
  :root:not([data-theme="light"]) .deck-tab[aria-selected="true"] .deck-tab-n { color: color-mix(in srgb, var(--accent-ink) 65%, transparent); }
}
.deck-tab:focus-visible, .deck-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.deck-nav { display: none; }
.deck.is-ready .deck-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.deck-hint { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 13.5px; font-weight: 650; color: var(--ink-3); }
.deck-hint svg { width: 16px; height: 16px; flex: none; }
.deck-ctrl { display: inline-flex; align-items: center; gap: 10px; }
.deck-count { min-width: 3.4em; text-align: center; font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--ink-2); }
.deck-btn {
  width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; cursor: pointer;
  background: var(--surface); color: var(--ink); border: 1px solid var(--line-strong); transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.deck-btn:hover { border-color: var(--accent); color: var(--accent); }
.deck-btn:active { transform: scale(.94); }
.deck-btn svg { width: 18px; height: 18px; }
.deck-btn.prev svg { transform: scaleX(-1); }
.deck-btn.next { background: var(--brand); border-color: var(--brand); color: #fff; }
.deck-btn.next:hover { color: #fff; filter: brightness(1.12); }
:root[data-theme="dark"] .deck-btn.next { color: var(--accent-ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .deck-btn.next { color: var(--accent-ink); } }
/* Paso a paso: la captura a la izquierda y el texto a la derecha desde la tablet */
@media (min-width: 760px) {
  .deck-steps .step { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
  .deck-steps .step .shot { aspect-ratio: auto; height: 100%; min-height: 340px; border-bottom: 0; border-right: 1px solid var(--line); }
  .deck-steps .step-body { padding: 34px 34px 32px; justify-content: center; }
  .deck-steps .step h3 { font-size: clamp(24px, 2.6vw, 30px); }
}
@media (max-width: 479px) {
  .deck-tab { padding: 0 12px; font-size: 13.5px; gap: 6px; }
  .deck-tab-n { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .deck.is-ready .deck-card, .deck.is-ready .deck-card > * { transition: none; }
  .deck-card.is-out, .deck-card.is-in { animation: none; }
}

/* M1 · Puente de la mudanza (/mudanza/): copia de seguridad de lo que quedó en dentpocket.com */
.mudanza h1 { font-size: clamp(28px, 6vw, 46px); }
.mudanza .nowrap { white-space: nowrap; }
.mudanza-copia { margin: 36px auto 0; max-width: 620px; text-align: left; border-top: 1px solid var(--line); padding-top: 24px; }
.mudanza-copia h2 { font-size: 20px; margin: 0 0 8px; }
.mudanza-copia p { font-size: 16px; margin: 0 0 12px; }
.mudanza-cuentas { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.mudanza-cuentas li { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between;
  border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.mudanza-cuentas label { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: var(--ink-2); flex-basis: 100%; }
.mudanza .muted { color: var(--ink-3, var(--ink-2)); font-size: 14px; }
