/* Agenvault · sitio web. Colores y tipografía de la app (azul marino #0E285C, verde cerradura #02BC79, Figtree).
   Sin fuentes ni scripts externos: el sitio no carga nada de terceros. */
@font-face {
  font-family: "Figtree";
  src: url("/assets/figtree.woff") format("woff");
  font-weight: 300 900;
  font-display: swap;
}

:root {
  --navy: #0e285c;
  --navy-2: #183e84;
  --green: #02bc79;
  --green-ink: #017a50;
  --accent: #545bfe;
  --bg: #fcf9f2;
  --surface: #ffffff;
  --ink: #141a33;
  --muted: #565c7a;
  --line: #e6e3d8;
  --radius: 22px;
  --font: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1226;
    --surface: #121b36;
    --ink: #eceefa;
    --muted: #a8aecb;
    --line: #233056;
    --green-ink: #3fe0a5;
    --accent: #8f95ff;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.65 var(--font);
}
a { color: var(--accent); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 6px; }
img, svg { max-width: 100%; }

.wrap { max-width: 1040px; margin: 0 auto; padding-inline: max(20px, env(safe-area-inset-left, 0px)) max(20px, env(safe-area-inset-right, 0px)); }

/* Encabezado */
.top { padding-block: 18px; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 20px; letter-spacing: .01em; }
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.nav { display: flex; gap: 18px; align-items: center; font-weight: 600; font-size: 15px; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover { color: var(--ink); }
.lang { border: 1px solid var(--line); padding: 4px 12px; border-radius: 999px; }

/* Encabezado oscuro (portada) */
.top.dark { background: var(--navy); }
.top.dark .brand { color: #fff; }
.top.dark .nav a { color: #c3cdee; }
.top.dark .nav a:hover { color: #fff; }
.top.dark .lang { color: #fff; border-color: rgba(255,255,255,.3); }

/* Portada */
.hero { background: radial-gradient(1200px 500px at 70% -10%, var(--navy-2), var(--navy) 60%); color: #fff; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; padding-block: 72px 80px; }
.hero h1 { font-size: clamp(34px, 5.2vw, 56px); line-height: 1.08; margin: 0 0 18px; font-weight: 800; letter-spacing: -.02em; text-wrap: balance; }
.hero p { font-size: 19px; color: #d5ddf5; margin: 0 0 28px; max-width: 34ch; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; font-size: 15px; color: #c3cdee; list-style: none; padding: 0; }
.trust li::before { content: "✓ "; color: var(--green); font-weight: 800; }

/* Secciones */
section { padding-block: 64px; }
.section-title { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.15; margin: 0 0 10px; font-weight: 800; letter-spacing: -.01em; text-wrap: balance; }
.section-sub { color: var(--muted); margin: 0 0 32px; max-width: 60ch; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { margin: 12px 0 6px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 24px; background: color-mix(in srgb, var(--accent) 14%, transparent); }
.icon.g { background: color-mix(in srgb, var(--green) 18%, transparent); }

.premium { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.plan { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: var(--bg); }
.plan.best { border: 2px solid var(--accent); }
.plan .tag { display: inline-block; font-size: 13px; font-weight: 700; color: #fff; background: var(--accent); border-radius: 999px; padding: 3px 10px; margin-bottom: 8px; }
.plan .price { font-size: 30px; font-weight: 800; }
.plan .price small { font-size: 15px; font-weight: 500; color: var(--muted); }
.plan p { margin: 4px 0 0; color: var(--green-ink); font-weight: 600; font-size: 15px; }
.note { font-size: 14px; color: var(--muted); margin-top: 16px; }

/* Documentos legales */
.doc { max-width: 760px; padding-block: 48px 72px; }
.doc h1 { font-size: clamp(30px, 4vw, 42px); line-height: 1.12; margin: 0 0 8px; letter-spacing: -.01em; }
.doc .updated { color: var(--muted); margin: 0 0 32px; font-size: 15px; }
.doc h2 { font-size: 21px; margin: 36px 0 8px; }
.doc p, .doc li { color: var(--ink); }
.doc .lead { font-size: 19px; }
.doc table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { color: var(--muted); font-weight: 700; }
.tablebox { overflow-x: auto; }
.callout { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--green); border-radius: 14px; padding: 16px 18px; margin: 18px 0; }
.mail { font-weight: 700; color: var(--green-ink); }

/* Pie */
footer { border-top: 1px solid var(--line); padding-block: 28px 40px; color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; justify-content: space-between; gap: 14px 24px; flex-wrap: wrap; }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer a { color: var(--muted); }

@media (max-width: 760px) {
  .hero .wrap { grid-template-columns: 1fr; padding-block: 48px 56px; text-align: left; }
  section { padding-block: 48px; }
  .nav { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }

/* ============ Página de producto ============ */
.btn { display: inline-flex; align-items: center; gap: 10px; border-radius: 999px; padding: 14px 24px; font-weight: 700; text-decoration: none; }
.btn.ghost { color: #fff; border: 1px solid rgba(255,255,255,.35); }
.btn.ghost:hover { background: rgba(255,255,255,.08); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Marco de teléfono con captura real */
.phone { width: 260px; max-width: 100%; border-radius: 40px; padding: 9px; background: linear-gradient(160deg, #1d2a4f, #070d20); box-shadow: 0 30px 60px -20px rgba(8, 18, 48, .55), inset 0 0 0 1px rgba(255,255,255,.08); }
.phone img { display: block; width: 100%; height: auto; border-radius: 32px; }
.phones { position: relative; display: flex; justify-content: center; align-items: flex-end; }
.phones .phone + .phone { margin-left: -70px; }
.phones .back { transform: translateY(-36px) scale(.9); opacity: .96; }
.hero .phones .phone { box-shadow: 0 40px 80px -24px rgba(0,0,0,.6), inset 0 0 0 1px rgba(255,255,255,.1); }

/* Franja de 3 pilares */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: -48px; position: relative; }
.pillar { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: 0 18px 40px -28px rgba(14, 40, 92, .35); }
.pillar strong { display: block; font-size: 18px; margin: 10px 0 4px; }
.pillar span { color: var(--muted); font-size: 15px; }

/* Resultados (lo que vas a lograr) */
.outcomes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.outcome { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
.outcome .check { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--green) 18%, transparent); color: var(--green-ink); font-weight: 800; }
.outcome b { display: block; margin-bottom: 2px; }
.outcome span { color: var(--muted); font-size: 15px; }

/* Filas de funciones alternadas */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding-block: 44px; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature.flip .feature-text { order: 2; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.feature h3 { font-size: clamp(24px, 3vw, 32px); line-height: 1.15; margin: 0 0 12px; letter-spacing: -.01em; text-wrap: balance; }
.feature p { color: var(--muted); margin: 0 0 14px; }
.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; top: .45em; width: 16px; height: 16px; border-radius: 50%; background: var(--green); }
.ticks li::after { content: ""; position: absolute; left: 5px; top: calc(.45em + 4px); width: 6px; height: 4px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }

/* Pasos */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.step .n { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--navy); color: #fff; font-weight: 800; margin-bottom: 12px; }
.step b { display: block; font-size: 18px; margin-bottom: 4px; }
.step span { color: var(--muted); font-size: 15px; }

/* Seguridad */
.secure { background: var(--navy); color: #fff; }
.secure .section-title { color: #fff; }
.secure .section-sub { color: #c3cdee; }
.secure .grid .card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); }
.secure .card h3 { color: #fff; }
.secure .card p { color: #c3cdee; }
.secure a { color: #9fe8c9; }

/* Comparación gratis vs Premium */
.compare { width: 100%; border-collapse: collapse; font-size: 16px; }
.compare th, .compare td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.compare thead th { font-size: 14px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.compare td:nth-child(3), .compare th:nth-child(3) { color: var(--ink); font-weight: 700; }
.compare thead th:nth-child(3) { color: var(--accent); }
.premium-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; }

/* Preguntas frecuentes */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-weight: 800; font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 10px 0 0; }

/* Llamada final */
.final { background: radial-gradient(900px 400px at 20% 0%, var(--navy-2), var(--navy) 70%); color: #fff; text-align: center; }
.final .section-title { color: #fff; }
.final p { color: #c3cdee; margin: 0 auto 26px; max-width: 52ch; }
.final img { width: 72px; height: 72px; border-radius: 18px; margin-bottom: 18px; }

@media (max-width: 860px) {
  .feature, .premium-grid { grid-template-columns: 1fr; gap: 28px; }
  .feature.flip .feature-text { order: 0; }
  .feature .phones { justify-content: flex-start; }
  .steps { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; margin-top: 24px; }
}
@media (max-width: 760px) {
  .hero .phones { grid-row: 2; justify-content: center; }
  .phone { width: 220px; }
  .phones .phone + .phone { margin-left: -90px; }
  .compare { font-size: 14px; }
  .compare th, .compare td { padding: 10px 8px; }
}
.plans.spaced { margin-top: 22px; }

/* Teléfono: el menú se acomoda en dos renglones (todo a la vista) y los teléfonos caben completos. */
@media (max-width: 760px) {
  .top .wrap { flex-wrap: wrap; row-gap: 10px; }
  .nav { width: 100%; flex-wrap: wrap; gap: 8px 16px; font-size: 14px; }
  .phone { width: 190px; border-radius: 32px; padding: 7px; }
  .phone img { border-radius: 26px; }
  .phones .phone + .phone { margin-left: -64px; }
  .phones .back { transform: translateY(-24px) scale(.92); }
}

/* Menú superior fijo al desplazarse y flecha para volver al inicio (sin JavaScript). */
html { scroll-behavior: smooth; }
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); padding-top: max(14px, env(safe-area-inset-top, 0px)); padding-bottom: 14px; }
.top.dark { background: color-mix(in srgb, var(--navy) 94%, transparent); border-bottom-color: rgba(255,255,255,.08); }
section[id], div[id] { scroll-margin-top: 96px; }
.to-top {
  position: fixed; right: max(18px, env(safe-area-inset-right, 0px)); bottom: max(18px, env(safe-area-inset-bottom, 0px)); z-index: 30;
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy); color: #fff; text-decoration: none; border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 12px 28px -10px rgba(8, 18, 48, .55);
}
.to-top:hover { background: var(--navy-2); }
.to-top svg { width: 22px; height: 22px; }
@media (max-width: 760px) { section[id], div[id] { scroll-margin-top: 130px; } .to-top { width: 46px; height: 46px; } }


/* Documentos legales (aviso de privacidad, eliminar cuenta): texto justificado, con división silábica para evitar huecos. */
.doc p, .doc li { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.doc .updated, .doc h1, .doc h2 { text-align: left; }

/* Simetría y orden visual de la página de producto */
.trust { display: grid; grid-template-columns: repeat(2, max-content); gap: 8px 28px; }
.plans.spaced { grid-template-columns: repeat(3, 1fr); }
.plan { display: grid; grid-template-rows: auto auto auto 1fr; align-content: start; }
.plan .tag { justify-self: start; }
.plan .tag.soft { color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); }
.secure .card h3 { white-space: nowrap; }
.feature p, .section-sub, .outcome span, .step span, .pillar span, .card p, .faq details p, .note, .hero p { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.final p { text-align: center; }
@media (max-width: 860px) { .plans.spaced { grid-template-columns: 1fr; } .secure .card h3 { white-space: normal; } }

/* ===== Pase de marca: formal, dinámica, adaptable y actual ===== */
/* Escala tipográfica fija */
:root { --fs-h1: clamp(38px, 5.4vw, 60px); --fs-h2: clamp(28px, 3.4vw, 42px); --fs-h3: clamp(22px, 2.4vw, 28px); --fs-body: 18px; --fs-small: 15px; }
body { font-size: var(--fs-body); }
.hero h1 { font-size: var(--fs-h1); line-height: 1.04; letter-spacing: -.025em; }
.section-title { font-size: var(--fs-h2); line-height: 1.1; letter-spacing: -.02em; margin-bottom: 14px; }
.feature h3 { font-size: var(--fs-h3); line-height: 1.18; }
section { padding-block: 88px; }
.section-sub { font-size: 19px; line-height: 1.6; max-width: 58ch; margin-bottom: 40px; }
/* Patrón único de encabezado: etiqueta + título + subtítulo */
.eyebrow { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.secure .eyebrow, .final .eyebrow { color: #9fe8c9; }
/* El justificado solo en párrafos largos y anchos; en tarjetas, alineado a la izquierda con largo parejo */
.outcome span, .step span, .pillar span, .card p, .note, .hero p { text-align: left; hyphens: manual; }
.hero p { font-size: 20px; color: #d5ddf5; }
/* Tarjetas: misma altura, mismo aire, elevación sutil al pasar el cursor */
.pillar, .outcome, .step, .card, .plan { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.pillar:hover, .outcome:hover, .step:hover, .plan:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -24px rgba(14, 40, 92, .45); }
.secure .card:hover { transform: translateY(-3px); border-color: rgba(159, 232, 201, .4); }
.outcome b, .step b, .pillar strong, .card h3 { font-size: 18px; letter-spacing: -.005em; }
.outcome span, .step span, .pillar span, .card p { font-size: var(--fs-small); line-height: 1.55; }
/* Precios: estructura idéntica en las tres tarjetas */
.plan { padding: 24px; gap: 4px; }
.plan .plan-name { font-weight: 700; font-size: 17px; margin-top: 6px; }
.plan .price { font-size: 38px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; white-space: nowrap; }
.plan .price .cur { font-size: 16px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.plan .period { color: var(--muted); font-size: var(--fs-small); margin-bottom: 8px; }
.plan p { margin-top: auto; }
/* Entrada sutil de la portada (dinámica, sin distraer). Solo movimiento: el contenido nunca empieza invisible. */
@keyframes subir { from { transform: translateY(14px); } to { transform: none; } }
@keyframes subir-atras { from { transform: translateY(-20px) scale(.88); } to { transform: translateY(-36px) scale(.9); } }
.hero .wrap > div:first-child > * { animation: subir .7s cubic-bezier(.2,.7,.2,1) both; }
.hero .wrap > div:first-child > *:nth-child(2) { animation-delay: .08s; }
.hero .wrap > div:first-child > *:nth-child(3) { animation-delay: .16s; }
.hero .wrap > div:first-child > *:nth-child(4) { animation-delay: .24s; }
.hero .phones .phone:not(.back) { animation: subir .9s .15s cubic-bezier(.2,.7,.2,1) both; }
.hero .phones .back { animation: subir-atras .9s .3s cubic-bezier(.2,.7,.2,1) both; }
@media (prefers-reduced-motion: reduce) {
  .hero .wrap > div:first-child > *, .hero .phones .phone { animation: none !important; }
  .pillar, .outcome, .step, .card, .plan { transition: none; }
  .pillar:hover, .outcome:hover, .step:hover, .plan:hover, .secure .card:hover { transform: none; }
}
@media (max-width: 760px) {
  section { padding-block: 60px; }
  .section-sub { font-size: 17px; margin-bottom: 28px; }
  .hero p { font-size: 18px; }
  @keyframes subir-atras { from { transform: translateY(-12px) scale(.9); } to { transform: translateY(-24px) scale(.92); } }
}

/* Teléfonos encimados: el de enfrente siempre tapa por completo al de atrás (el transform del de atrás creaba una
   capa que se pintaba encima y su contorno se veía a través). */
.phones .phone { position: relative; z-index: 2; }
.phones .phone.back { z-index: 1; opacity: 1; }

/* Distintivo "Muy pronto en Google Play": destaca sin imitar el distintivo oficial */

/* ===== Rediseño estilo web: pilares, pasos y planes ===== */
/* Pilares: cuatro en una fila, compactos (icono a la izquierda); 2 × 2 en tableta y lista en teléfono. */
.icon.a { background: color-mix(in srgb, #f5a524 20%, transparent); color: #b86e00; }
.pillars { grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pillar { display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: start; padding: 18px; }
.pillar strong { margin: 2px 0 2px; font-size: 17px; }
.pillar span { display: block; font-size: 14.5px; line-height: 1.5; }
@media (max-width: 1080px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .pillars { grid-template-columns: repeat(2, 1fr); margin-top: 24px; } }
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; gap: 10px; } .pillar { padding: 14px 16px; } }

/* Cómo funciona: línea de tiempo conectada, sin tarjetas. */
.steps { position: relative; gap: 32px; }
.steps::before { content: ""; position: absolute; top: 27px; left: 28px; right: calc(33.33% - 28px); height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--green)); opacity: .45; }
.step { position: relative; background: none; border: 0; border-radius: 0; padding: 0; box-shadow: none; }
.step:hover { transform: none; box-shadow: none; }
.step .n { width: 56px; height: 56px; border-radius: 50%; margin-bottom: 18px; font-size: 22px; letter-spacing: -.02em;
  color: #fff; background: linear-gradient(140deg, var(--accent), #2f8cf0 55%, var(--green));
  box-shadow: 0 0 0 7px var(--bg), 0 14px 26px -12px rgba(84, 91, 254, .7); position: relative; z-index: 1; }
.step b { font-size: 19px; margin-bottom: 6px; }
.step span { display: block; max-width: 30ch; }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
@media (max-width: 640px) {
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .steps::before { top: 28px; bottom: 28px; left: 27px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--accent), var(--green)); }
  .step { display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; }
  .step .n { grid-row: span 2; margin-bottom: 0; }
  .step b { align-self: end; margin-top: 4px; }
  .step span { max-width: none; }
}

/* Planes: tarjetas de precio de página web; la anual, al centro y destacada. */
.plans.spaced { grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: stretch; margin-top: 28px; }
.plan { text-align: center; justify-items: center; grid-template-rows: auto auto auto auto 1fr; padding: 26px 18px 22px; background: var(--surface); }
.plan .tag { justify-self: center; margin-bottom: 10px; }
.plan .plan-name { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 0; }
.plan .price { font-size: clamp(30px, 3.4vw, 40px); margin-top: 6px; }
.plan .period { margin-bottom: 14px; }
.plan p { display: flex; gap: 6px; align-items: flex-start; justify-content: center; text-align: left; border-top: 1px solid var(--line); padding-top: 14px; width: 100%; font-size: 14.5px; line-height: 1.4; }
.plan p .ck { width: 18px; height: 18px; flex: none; margin-top: 1px; color: var(--green); }
.plan.best { background: linear-gradient(160deg, var(--navy-2, #1b3a7a), var(--navy)); border: 0; color: #fff; transform: translateY(-8px);
  box-shadow: 0 26px 50px -24px rgba(14, 40, 92, .75); }
.plan.best:hover { transform: translateY(-11px); }
.plan.best .tag { background: var(--green); color: #062b1d; }
.plan.best .plan-name, .plan.best .period, .plan.best .price .cur { color: #b9c6ec; }
.plan.best p { color: #9fe8c9; border-top-color: rgba(255, 255, 255, .14); }
.plan.best p .ck { color: #9fe8c9; }
@media (max-width: 860px) { .plans.spaced { grid-template-columns: repeat(3, 1fr); } }
/* Teléfono: renglones compactos (nombre a la izquierda, precio a la derecha). */
@media (max-width: 600px) {
  .plans.spaced { grid-template-columns: 1fr; gap: 10px; }
  .plan, .plan.best { transform: none; text-align: left; justify-items: start; grid-template-columns: 1fr auto; grid-template-rows: auto auto auto; column-gap: 12px; row-gap: 2px; padding: 16px 18px; }
  .plan.best:hover { transform: none; }
  .plan .tag { grid-column: 1 / -1; justify-self: start; margin-bottom: 4px; }
  .plan .plan-name { grid-column: 1; grid-row: 2; align-self: center; font-size: 14px; }
  .plan .price { grid-column: 2; grid-row: 2; margin: 0; font-size: 28px; justify-self: end; }
  .plan .period { grid-column: 2; grid-row: 3; margin: 0; justify-self: end; }
  .plan p { grid-column: 1; grid-row: 3; border: 0; padding: 0; justify-content: flex-start; font-size: 14px; }
}

/* Cómo funciona: descripciones justificadas (con guiones para evitar huecos en columnas angostas). */
.step span { text-align: justify; text-justify: inter-word; hyphens: auto; -webkit-hyphens: auto; }
.step span { max-width: none; }
.steps { column-gap: 28px; }

/* Pilares: descripción justificada, igual que los pasos. */
.pillar span { text-align: justify; text-justify: inter-word; hyphens: auto; -webkit-hyphens: auto; }

/* Pilares: icono junto al título y descripción a todo el ancho (el justificado no deja huecos). */
.pillar { grid-template-columns: 40px 1fr; grid-template-areas: "icon title" "desc desc"; column-gap: 12px; row-gap: 10px; align-items: center; }
.pillar > div:last-child { display: contents; }
.pillar .icon { grid-area: icon; width: 40px; height: 40px; border-radius: 12px; }
.pillar .icon svg { width: 22px; height: 22px; }
.pillar strong { grid-area: title; margin: 0; }
.pillar span { grid-area: desc; }

/* ===== Zigzag de funciones: título a todo lo ancho, texto e imagen lado a lado y alternados ===== */
.feature { grid-template-columns: minmax(0, 1fr) minmax(260px, .85fr); grid-template-areas: "head head" "text media"; column-gap: 48px; row-gap: 22px; }
.feature.flip { grid-template-columns: minmax(260px, .85fr) minmax(0, 1fr); grid-template-areas: "head head" "media text"; }
.feature-head { grid-area: head; }
.feature-head h3 { margin: 4px 0 0; font-size: var(--fs-h3); line-height: 1.18; }
.feature-text { grid-area: text; order: 0 !important; }
.feature .phones { grid-area: media; justify-content: center; }
@media (max-width: 860px) {
  .feature, .feature.flip { grid-template-columns: minmax(0, 1fr) minmax(200px, .8fr); column-gap: 28px; }
  .feature.flip { grid-template-columns: minmax(200px, .8fr) minmax(0, 1fr); }
  .feature .phones { justify-content: center; }
}
@media (max-width: 640px) {
  .feature, .feature.flip { grid-template-columns: 1fr; grid-template-areas: "head" "text" "media"; }
}

/* Premium: sin captura; comparación y planes a todo lo ancho. */
.premium-grid { grid-template-columns: 1fr; }

/* Seguridad: cuadrícula 2 × 2. */
.secure .grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.secure .card h3 { white-space: normal; }
@media (max-width: 560px) { .secure .grid { grid-template-columns: 1fr; } }

/* Beneficios: descripción justificada a todo el ancho de la tarjeta. */
.outcome span { text-align: justify; text-justify: inter-word; hyphens: auto; -webkit-hyphens: auto; }
.secure .card p { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.outcome > div { flex: 1; min-width: 0; }
.outcome span:not(.check) { display: block; }

/* ===== Lanzamiento: preinscripción, índice, comparación, plan gratis y pie de página ===== */
.cta-note { margin: 12px 0 0; font-size: 14px; color: #b9c6ec; }
a.pillar { color: inherit; text-decoration: none; }
a.pillar:hover { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
a.pillar:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.feature { scroll-margin-top: 90px; }
.cmp-title { color: #fff; font-size: var(--fs-h3); margin: 44px 0 16px; }
.tablebox.dark { border-color: rgba(255,255,255,.14); background: rgba(255,255,255,.04); }
.vs { width: 100%; border-collapse: collapse; font-size: 15px; color: #c3cdee; }
.vs th, .vs td { padding: 14px 16px; text-align: left; border-bottom: 1px solid rgba(255,255,255,.1); vertical-align: top; }
.vs thead th { color: #fff; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.vs thead th:nth-child(2) { color: #9fe8c9; }
.vs tbody th { color: #fff; font-weight: 600; }
.vs td.yes { color: #fff; font-weight: 600; }
.vs td.yes .ck { width: 16px; height: 16px; margin-right: 6px; vertical-align: -2px; color: #9fe8c9; }
.vs tr:last-child th, .vs tr:last-child td { border-bottom: 0; }
.plans.spaced.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.plan.free .price { color: var(--ink, inherit); }
@media (max-width: 1000px) { .plans.spaced.four { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 22px; } }
@media (max-width: 600px) { .plans.spaced.four { grid-template-columns: 1fr; } .vs th, .vs td { padding: 12px 10px; font-size: 14px; } }
.site-footer { padding-block: 48px 28px; }
.site-footer .wrap { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 28px; align-items: start; justify-content: initial; }
.site-footer .foot-brand p { margin: 10px 0 0; max-width: 32ch; }
.site-footer .foot-brand .made { font-size: 14px; opacity: .85; }
.site-footer .brand { color: var(--ink, inherit); font-size: 18px; }
.site-footer .foot-col { display: grid; gap: 10px; align-content: start; }
.site-footer .foot-col b { color: var(--ink, inherit); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.site-footer .foot-legal { display: block; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; }
@media (max-width: 860px) { .site-footer .wrap { grid-template-columns: 1fr 1fr; } .site-footer .foot-legal { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .site-footer .wrap { grid-template-columns: 1fr; } }

/* Pie de página sin la columna Producto (repetía el menú). */
.site-footer .wrap { grid-template-columns: 1.6fr 1fr 1.2fr; }
@media (max-width: 860px) { .site-footer .wrap { grid-template-columns: 1fr 1fr; } .site-footer .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .site-footer .wrap { grid-template-columns: 1fr; } }

/* Insignia oficial de Google Play (arte sin modificar) con el texto de preinscripción encima. */
.play-cta { display: inline-grid; gap: 8px; justify-items: start; text-decoration: none; }
.play-cta .play-pre { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #9fe8c9; }
.play-cta img { display: block; height: 58px; width: auto; transition: transform .2s ease, filter .2s ease; }
.play-cta:hover img { transform: translateY(-2px); filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .35)); }
.play-cta:focus-visible { outline: 3px solid var(--green); outline-offset: 6px; border-radius: 10px; }
.cta-row { align-items: flex-end; }
.final .play-cta { justify-items: center; margin-top: 4px; }
@media (prefers-reduced-motion: reduce) { .play-cta img { transition: none; } .play-cta:hover img { transform: none; } }

/* Planes sin montos: el precio en la moneda de cada país lo muestran la app y Google Play. */
.plan .price.word { font-size: clamp(24px, 2.4vw, 30px); white-space: normal; line-height: 1.15; margin-top: 4px; }
@media (max-width: 600px) { .plan .price.word { font-size: 22px; } }
@media (max-width: 600px) {
  .plan, .plan.best { grid-template-columns: 1fr; text-align: left; justify-items: start; }
  .plan .tag, .plan .price.word, .plan .period, .plan p { grid-column: 1; grid-row: auto; justify-self: start; }
  .plan .period { margin-bottom: 6px; }
  .plan p { justify-content: flex-start; }
}

/* Insignia "Próximamente": no es enlace, sin efecto al pasar el cursor. */
.play-cta.soon img { cursor: default; }
.play-cta.soon:hover img { transform: none; filter: none; }
