/* Countey — portada. El mundo es el de la app (DESIGN.md): Aurora clara de
   esquinas, vidrio con canto iluminado, coral como único acento y SF Pro. */

:root {
  color-scheme: light;
  --base: #F3EFF4;
  --ink: #1B1B1F;
  --ink-soft: rgba(27, 27, 31, .72);
  --ink-faint: rgba(27, 27, 31, .66);
  --hair: rgba(27, 27, 31, .09);
  --coral: #EC3F24;
  --coral-a: #F85A3C;
  --coral-b: #DE2F18;
  --green: #1CA14B;
  --glass: rgba(255, 255, 255, .58);
  --glass-edge: rgba(255, 255, 255, .9);
  --shadow: 0 10px 30px -8px rgba(31, 25, 40, .16), 0 2px 6px rgba(31, 25, 40, .05);
  --b1: rgba(255, 176, 138, .85);
  --b2: rgba(196, 170, 255, .80);
  --b3: rgba(150, 200, 255, .75);
  --night: #0A0A0F;
  --night-ink: #F4F3F7;
  --night-soft: rgba(244, 243, 247, .66);
  --night-coral: #F4492D;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --spring: cubic-bezier(.34, 1.4, .64, 1);
  --gutter: clamp(20px, 5vw, 64px);
  --bar-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--bar-h); }
body {
  margin: 0;
  background: var(--base);
  color: var(--ink);
  font: 400 17px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
h1, h2, h3, p, ol, ul, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
::selection { background: rgba(236, 63, 36, .2); color: var(--ink); }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; border-radius: 8px; }
html { scrollbar-color: rgba(27, 27, 31, .28) transparent; }

.skip {
  position: fixed; left: 12px; top: -60px; z-index: 50;
  padding: 10px 16px; border-radius: 12px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 600;
}
.skip:focus { top: 12px; }

/* Aurora de la página: tres focos pegados a las esquinas, fijos, que respiran muy despacio. */
.aurora { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.aurora i { position: absolute; border-radius: 50%; filter: blur(8px); will-change: transform; }
.aurora .b1 { width: 95vmax; height: 95vmax; left: -34vmax; top: -44vmax; background: radial-gradient(circle, var(--b1), transparent 68%); animation: breathe 22s ease-in-out infinite alternate; }
.aurora .b2 { width: 85vmax; height: 85vmax; right: -36vmax; top: -30vmax; background: radial-gradient(circle, var(--b2), transparent 68%); animation: breathe 26s ease-in-out -8s infinite alternate; }
.aurora .b3 { width: 120vmax; height: 120vmax; left: 50%; bottom: -88vmax; margin-left: -60vmax; background: radial-gradient(circle, var(--b3), transparent 66%); animation: breathe 30s ease-in-out -4s infinite alternate; }
@keyframes breathe { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(2vmax, 1.5vmax, 0) scale(1.06); } }

/* ---------- Barra: cápsula flotante, separada de los bordes (como getbrim.app) ---------- */
.bar {
  --nav-ink: #1B1B1F;
  position: fixed; z-index: 30; top: 12px; left: 12px; right: 12px; max-width: 1180px; margin: 0 auto;
  height: 60px; padding: 0 10px 0 12px; border-radius: 30px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--nav-ink);
  background: rgba(255, 255, 255, .62);
  backdrop-filter: blur(22px) saturate(180%); -webkit-backdrop-filter: blur(22px) saturate(180%);
  box-shadow: 0 12px 32px -14px rgba(31, 25, 40, .28), inset 0 0 0 1px rgba(255, 255, 255, .85);
  transition: background .5s var(--ease), box-shadow .5s var(--ease), color .5s var(--ease);
}
.bar.dark {
  --nav-ink: #F4F3F7;
  background: rgba(24, 22, 32, .66);
  box-shadow: 0 12px 32px -14px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.bar-logo { display: flex; align-items: center; gap: 11px; text-decoration: none; font-size: 19px; font-weight: 700; letter-spacing: -.02em; }
.bar-logo img { width: 36px; height: 36px; border-radius: 9px; }
.bar-end { display: flex; align-items: center; gap: 6px; }
.bar-get {
  height: 42px; padding: 0 18px 0 15px; border-radius: 21px; display: inline-flex; align-items: center; gap: 7px;
  font-size: 15px; font-weight: 600; letter-spacing: -.01em; color: #fff; text-decoration: none; white-space: nowrap;
  background: linear-gradient(180deg, #E1351A, #C8290F);
  box-shadow: 0 6px 16px -6px rgba(200, 41, 15, .6), inset 0 1px 0 rgba(255, 255, 255, .24);
  transition: transform .25s var(--ease), filter .25s;
}
.bar-get:hover { transform: translateY(-1px); filter: brightness(1.05); }

.bar-nav { flex: 1; display: flex; justify-content: center; }
.bar-nav ul { display: flex; gap: 2px; }
.bar-nav a { display: block; padding: 9px 13px; border-radius: 18px; font-size: 14px; font-weight: 500; letter-spacing: -.01em; text-decoration: none; opacity: .78; transition: opacity .2s, background .2s; white-space: nowrap; }
.bar-nav a:hover { opacity: 1; background: color-mix(in srgb, var(--nav-ink) 7%, transparent); }
.bar-burger { display: none; width: 42px; height: 42px; border: 0; padding: 0; border-radius: 21px; background: none; cursor: pointer; position: relative; color: var(--nav-ink); }
.bar-burger span { position: absolute; left: 13px; width: 16px; height: 1.6px; border-radius: 1px; background: currentColor; transition: transform .35s var(--ease); }
.bar-burger span:first-child { top: 17px; }
.bar-burger span:last-child { top: 23px; }
.bar-burger[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.bar-burger[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }
.bar-menu {
  --menu-bg: rgba(255, 255, 255, .97);
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; padding: 10px; border-radius: 26px;
  background: var(--menu-bg); box-shadow: 0 24px 48px -20px rgba(31, 25, 40, .35), inset 0 0 0 1px rgba(255, 255, 255, .9);
  opacity: 0; transform: translateY(-6px) scale(.98); transform-origin: top center; transition: opacity .25s var(--ease), transform .35s var(--ease);
}
.bar.dark .bar-menu { --menu-bg: rgba(30, 27, 40, .97); box-shadow: 0 24px 48px -20px rgba(0, 0, 0, .7), inset 0 0 0 1px rgba(255, 255, 255, .08); }
.bar-menu.open { opacity: 1; transform: none; }
.bar-menu li a { display: block; padding: 13px 16px; border-radius: 16px; font-size: 20px; font-weight: 600; letter-spacing: -.02em; text-decoration: none; }
.bar-menu li a:active { background: color-mix(in srgb, var(--nav-ink) 7%, transparent); }
.bar-menu-langs { display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 12px 16px 8px; margin-top: 6px; border-top: 1px solid color-mix(in srgb, var(--nav-ink) 10%, transparent); font-size: 14px; }
.bar-menu-langs a { text-decoration: none; opacity: .65; }
.bar-menu-langs a[aria-current] { opacity: 1; font-weight: 600; }
@media (max-width: 1080px) {
  .bar-nav { display: none; }
  .bar-burger { display: block; }
}

/* Sello de la nota: estrellas arriba, la corona abraza la nota y debajo, de dónde sale */
.laurel { display: inline-flex; flex-direction: column; align-items: center; margin-bottom: 28px; color: var(--ink); text-decoration: none; transition: transform .4s var(--ease); }
.laurel:hover { transform: translateY(-2px); }
.laurel-stars { display: flex; gap: 3px; color: var(--coral); }
.laurel-stars svg { width: 14px; height: 14px; }
.laurel-row { display: flex; align-items: center; margin-top: 2px; }
.laurel-l { display: block; width: 32px; height: 57px; flex: none; background: currentColor; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.laurel-izq { --m: url(/img/laurel-izq.png); }
.laurel-der { --m: url(/img/laurel-der.png); }
.laurel-row b { padding: 0 4px; font-size: 42px; line-height: 1; font-weight: 700; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.laurel small { margin-top: 3px; font-size: 12.5px; font-weight: 600; letter-spacing: .005em; color: var(--ink-soft); white-space: nowrap; }

/* Reseñas */
.reviews-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 40px; }
.reviews-score { display: grid; grid-template-columns: auto auto; justify-content: start; align-items: center; gap: 8px 14px; color: var(--ink-soft); font-size: 15px; }
.reviews-score b { font-size: clamp(2.6rem, 4vw, 3.4rem); line-height: 1; font-weight: 700; letter-spacing: -.04em; color: var(--ink); font-variant-numeric: tabular-nums; }
.stars { display: inline-flex; gap: 2px; color: var(--coral); }
.stars svg { width: 18px; height: 18px; }
.reviews-score span { grid-column: 1 / -1; }
.reviews-list { margin-top: clamp(40px, 6vw, 72px); columns: 3 300px; column-gap: 18px; }
.review { break-inside: avoid; margin-bottom: 18px; }
.review figure {
  padding: 24px 24px 22px; border-radius: 24px;
  background: rgba(255, 255, 255, .62); backdrop-filter: blur(20px) saturate(150%); -webkit-backdrop-filter: blur(20px) saturate(150%);
  box-shadow: 0 20px 44px -26px rgba(31, 25, 40, .32), inset 0 0 0 1px rgba(255, 255, 255, .9);
}
.review .stars svg { width: 15px; height: 15px; }
.review blockquote { margin: 14px 0 0; }
.review-t { font-size: 18px; font-weight: 700; letter-spacing: -.02em; line-height: 1.25; text-wrap: balance; }
.review blockquote p + p { margin-top: 8px; color: var(--ink-soft); font-size: 16px; line-height: 1.5; }
.review figcaption { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; font-size: 14px; }
.review figcaption b { font-weight: 600; }
.review figcaption span { font-size: 12px; color: var(--ink-faint); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 999px; text-decoration: none; cursor: pointer; white-space: nowrap;
  font: 600 15px/1 var(--font); letter-spacing: -.01em; color: #fff;
  background: linear-gradient(180deg, #E1351A, #C8290F);
  box-shadow: 0 8px 20px -6px rgba(200, 41, 15, .55), inset 0 1px 0 rgba(255, 255, 255, .24);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), filter .25s;
}
.btn:hover { transform: translateY(-1px); filter: saturate(1.08) brightness(1.03); box-shadow: 0 12px 26px -6px rgba(200, 41, 15, .6), inset 0 1px 0 rgba(255, 255, 255, .24); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-lg { height: 56px; padding: 0 28px; font-size: 17px; }

/* Selector de idioma */
.lang { position: relative; }
.lang summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 5px;
  height: 28px; padding: 0 8px; border-radius: 14px; font-size: 12px; font-weight: 500; color: var(--nav-ink); opacity: .8;
  transition: opacity .2s, background .2s;
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover { opacity: 1; }
.lang summary svg { width: 15px; height: 15px; }
.lang a { color: var(--ink); }
.lang ul {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 170px; padding: 6px;
  background: rgba(255, 255, 255, .9); border-radius: 16px;
  backdrop-filter: blur(24px) saturate(160%); -webkit-backdrop-filter: blur(24px) saturate(160%);
  box-shadow: 0 18px 36px -14px rgba(31, 25, 40, .32), inset 0 0 0 1px rgba(255, 255, 255, .9);
  transform-origin: top right; animation: pop .22s var(--ease);
}
@keyframes pop { from { opacity: 0; transform: scale(.96) translateY(-4px); } }
.lang a { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: 10px; text-decoration: none; font-size: 15px; font-weight: 500; }
.lang a:hover { background: rgba(27, 27, 31, .05); }
.lang a[aria-current] { font-weight: 700; }
.lang a[aria-current]::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }

/* ---------- Escenario: el mes que se llena ---------- */
.stage { position: relative; height: calc(100svh + var(--steps, 5) * 78svh); }
.ancla { position: absolute; left: 0; top: 32svh; }
.pin {
  position: sticky; top: 0; height: 100svh; min-height: 560px;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: clamp(24px, 5vw, 96px);
  max-width: 1280px; margin: 0 auto; padding: var(--bar-h) var(--gutter) 0;
}
.copy { display: flex; flex-direction: column; gap: 40px; min-width: 0; }
.caps { display: grid; }
.cap {
  grid-area: 1 / 1; align-self: center;
  opacity: 0; transform: translateY(18px); filter: blur(6px); visibility: hidden;
  transition: opacity .45s var(--ease), transform .7s var(--ease), filter .5s var(--ease), visibility 0s .7s;
}
.cap.on { opacity: 1; transform: none; filter: none; visibility: visible; transition-delay: .08s, .08s, .08s, 0s; }

h1 {
  font-size: clamp(3rem, 6.3vw, 6rem); line-height: .98; letter-spacing: -.038em; font-weight: 700;
  text-wrap: balance;
}
h1 span { display: block; }
h1 .accent, .accent { color: var(--coral); }
.sub { margin-top: 24px; max-width: 30ch; font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.45; color: var(--ink-soft); text-wrap: pretty; }
.cta { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.req { font-size: 14px; color: var(--ink-faint); font-variant-numeric: tabular-nums; }
.hint { margin-top: 44px; display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--ink-faint); }
.hint svg { width: 16px; height: 16px; animation: nudge 2.4s var(--ease) infinite; }
@keyframes nudge { 0%, 60%, 100% { transform: none; } 30% { transform: translateY(4px); } }

.cap-t { font-size: clamp(2.8rem, 5.6vw, 5.4rem); line-height: 1; letter-spacing: -.036em; font-weight: 700; text-wrap: balance; }
.cap-p { margin-top: 20px; max-width: 26ch; font-size: clamp(1.15rem, 1.6vw, 1.45rem); line-height: 1.42; color: var(--ink-soft); text-wrap: pretty; }

/* Los capítulos, como el selector de títulos de la app: el activo en tinta, los demás apagados. */
/* Progreso por el escenario: una barrita por capítulo, como las historias de Instagram */
.capnav { position: absolute; left: var(--gutter); bottom: clamp(28px, 6svh, 56px); width: min(420px, 42%); display: flex; flex-direction: column; gap: 12px; }
.segs { display: flex; gap: 6px; }
.segs i { flex: 1; height: 4px; border-radius: 2px; overflow: hidden; background: rgba(27, 27, 31, .12); }
.segs b { display: block; height: 100%; border-radius: 2px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .15s linear; }
.cue { position: absolute; left: 50%; bottom: 22px; width: 40px; height: 40px; margin-left: -20px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-soft);
  background: rgba(255, 255, 255, .6); box-shadow: 0 8px 20px -10px rgba(31, 25, 40, .35), inset 0 0 0 1px rgba(255, 255, 255, .9);
  transition: opacity .4s var(--ease); animation: nudge 1.8s var(--ease) infinite; }
.cue svg { width: 18px; height: 18px; }
.cue.off { opacity: 0; }
.rail { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 18px; transition: opacity .5s var(--ease); }
.rail button {
  border: 0; background: none; padding: 4px 0; cursor: pointer; font: 700 17px/1.2 var(--font); letter-spacing: -.02em;
  color: var(--ink-faint); transition: color .3s, transform .4s var(--spring);
}
.rail button:hover { color: var(--ink-soft); }
.rail button[aria-current="step"] { color: var(--ink); transform: scale(1.08); transform-origin: left bottom; }
.rail.idle { opacity: .0; pointer-events: none; }

.stage-phone { display: flex; justify-content: center; }

/* ---------- El iPhone ---------- */
/* Marco oficial del iPhone 18 Pro (1350×2760, pantalla en 72,69). En puntos: 450×920 con la pantalla de 402×874 en 24,23. */
.phone { --pw: min(calc((100svh - var(--bar-h) - 56px) * .489), 430px); position: relative; width: var(--pw); aspect-ratio: 450 / 920; flex: none; }
.phone .frame { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 3; user-select: none; }
.phone .shot { position: absolute; left: 5.333%; top: 2.5%; width: 89.333%; height: 95%; object-fit: cover; border-radius: 12.2% / 5.6%; }
.phone::after {
  content: ""; position: absolute; z-index: -1; left: 10%; right: 10%; bottom: -1%; height: 8%;
  background: radial-gradient(closest-side, rgba(31, 25, 40, .28), transparent); filter: blur(10px);
}

.screen {
  position: absolute; left: 5.333%; top: 2.5%; width: 402px; height: 874px;
  transform-origin: 0 0; transform: scale(var(--s, .8));
  border-radius: 55px; overflow: hidden; isolation: isolate;
  font-family: var(--font); color: #111114; letter-spacing: -.01em;
  background: #F2EEF3;
  contain: layout paint;
}
.s-bg { position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 34% at 0% 0%, rgba(255, 190, 150, .95), transparent 70%),
    radial-gradient(60% 30% at 100% 2%, rgba(214, 190, 255, .9), transparent 70%),
    radial-gradient(90% 40% at 50% 104%, rgba(170, 212, 255, .95), transparent 72%),
    #F2EEF3;
}
.s-status { position: absolute; left: 0; right: 0; top: 0; height: 54px; display: flex; align-items: center; justify-content: space-between; padding: 6px 30px 0 52px; }
.s-time { font-weight: 600; font-size: 17px; letter-spacing: -.02em; }
.s-icons { display: flex; align-items: center; gap: 6px; }
.s-icons svg { display: block; }

.s-top { position: absolute; left: 15px; right: 15px; top: 66px; height: 44px; display: flex; align-items: center; justify-content: space-between; }
.s-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .72); box-shadow: 0 2px 8px rgba(40, 30, 60, .08), inset 0 0 0 .5px rgba(255, 255, 255, .9); }
.s-mid { display: flex; align-items: center; gap: 8px; }
.s-mini { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .72); box-shadow: 0 1px 4px rgba(40, 30, 60, .06); }
.s-mini.off { opacity: .45; }
.s-pill { position: relative; height: 36px; padding: 0 12px; border-radius: 18px; display: flex; align-items: center; gap: 7px; background: rgba(255, 255, 255, .72); box-shadow: 0 1px 4px rgba(40, 30, 60, .06); font-weight: 600; font-size: 15px; white-space: nowrap; }
.s-status-pill {
  position: absolute; left: 50%; top: 70px; height: 36px; padding: 0 14px 0 10px; border-radius: 18px; z-index: 4;
  display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; white-space: nowrap;
  background: rgba(255, 255, 255, .92); box-shadow: 0 6px 18px rgba(40, 30, 60, .14);
  transform: translate(-50%, -8px) scale(.9); opacity: 0; transition: transform .45s var(--spring), opacity .25s;
}
.s-status-pill.show { transform: translate(-50%, 0) scale(1); opacity: 1; }
.s-status-pill .spin { width: 18px; height: 18px; border-radius: 50%; border: 2.2px solid rgba(236, 63, 36, .2); border-top-color: var(--coral); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.s-ring { position: absolute; left: 81px; top: 123px; width: 240px; height: 240px; }
.s-ring svg { position: absolute; inset: 0; overflow: visible; }
.s-ring .track { stroke: rgba(120, 118, 128, .26); }
.s-ring .arc { filter: drop-shadow(0 0 8px rgba(40, 200, 90, .6)); transition: stroke-dashoffset 1.1s var(--ease); }
.s-ring-in { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.s-saved { font-size: 15px; color: rgba(60, 60, 67, .62); font-weight: 500; }
.s-amt { margin-top: 6px; display: flex; align-items: baseline; font-weight: 700; font-size: 35px; letter-spacing: -.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.s-amt .sign { font-size: 40px; margin-right: 2px; }
.s-amt .cur { font-size: 22px; color: rgba(60, 60, 67, .5); font-weight: 600; margin: 0 3px; }
.s-pct { margin-top: 8px; font-size: 14px; font-weight: 600; color: #2A9A48; white-space: nowrap; }

.s-chips { position: absolute; left: 0; right: 0; top: 376px; display: flex; justify-content: center; gap: 10px; }
.s-chip { min-width: 96px; padding: 9px 14px 10px; border-radius: 18px; background: rgba(255, 255, 255, .7); box-shadow: 0 6px 16px rgba(40, 30, 60, .08), inset 0 0 0 .5px rgba(255, 255, 255, .95); }
.s-chip span { display: flex; align-items: center; gap: 6px; font-size: 13px; color: rgba(60, 60, 67, .6); }
.s-chip span i { width: 7px; height: 7px; border-radius: 50%; background: #34C759; }
.s-chip.out span i { background: #FF3B30; }
.s-chip b { display: block; margin-top: 2px; font-size: 20px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }

.s-where { position: absolute; left: 18px; right: 18px; top: 450px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.s-where span:first-child { color: rgba(60, 60, 67, .55); font-weight: 500; letter-spacing: .04em; }
.s-where .see { color: var(--coral); font-weight: 600; font-size: 15px; letter-spacing: -.01em; }

.bub { position: absolute; width: 0; height: 0; }
.bub-in {
  position: absolute; left: -52px; top: -52px; width: 104px; height: 104px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  background: radial-gradient(circle at 34% 28%, rgba(255, 255, 255, .55), transparent 55%), var(--c);
  box-shadow: 0 8px 18px -6px rgba(40, 30, 60, .22), inset 0 0 0 1px rgba(255, 255, 255, .5);
  transform: scale(0); opacity: 0;
  transition: transform .9s var(--spring), opacity .3s;
}
.bub.on .bub-in { opacity: 1; }
.bub-in i { font-style: normal; font-size: 32px; line-height: 1; }
.bub-in b { font-size: 17px; font-weight: 700; letter-spacing: -.02em; color: #1B1B1F; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bub[data-cat="groceries"] { --c: rgba(120, 205, 140, .5); }
.bub[data-cat="shopping"] { --c: rgba(236, 130, 160, .5); }
.bub[data-cat="bills"] { --c: rgba(228, 218, 120, .62); }
.bub[data-cat="transport"] { --c: rgba(130, 176, 240, .6); }
.bub[data-cat="dining"] { --c: rgba(240, 196, 140, .62); }
.bub[data-cat="subs"] { --c: rgba(190, 160, 225, .55); }
.bub[data-cat="health"] { --c: rgba(236, 150, 150, .5); }
.bub[data-cat="leisure"] { --c: rgba(170, 170, 230, .55); }

.s-tab { position: absolute; left: 42px; right: 42px; top: 773px; height: 58px; border-radius: 29px; display: grid; grid-template-columns: 1fr 1fr 70px 1fr 1fr; align-items: center; background: rgba(255, 255, 255, .7); box-shadow: 0 10px 24px rgba(40, 30, 60, .12), inset 0 0 0 .5px rgba(255, 255, 255, .95); }
.s-tab > span { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 10px; font-weight: 500; color: rgba(60, 60, 67, .6); white-space: nowrap; }
.s-tab > span.on { color: #111114; font-weight: 600; }
.s-plus { justify-self: center; width: 62px; height: 62px; margin-top: -2px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(180deg, #F85A3C, #DE2F18); box-shadow: 0 10px 20px -6px rgba(222, 47, 24, .7), inset 0 1px 0 rgba(255, 255, 255, .3); }

/* Aviso de Apple Pay */
.o-notif {
  position: absolute; left: 10px; right: 10px; top: 56px; z-index: 6; padding: 13px 14px; border-radius: 26px;
  display: grid; grid-template-columns: 38px 1fr auto; gap: 2px 11px; align-items: center;
  background: rgba(250, 248, 252, .86); backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 16px 36px -10px rgba(30, 20, 50, .32), inset 0 0 0 .5px rgba(255, 255, 255, .9);
  transform: translateY(-150%) scale(.94); opacity: 0; transition: transform .7s var(--spring), opacity .3s;
}
.o-notif.show { transform: none; opacity: 1; }
.o-notif img { grid-row: span 2; width: 38px; height: 38px; border-radius: 9px; }
.o-notif b { font-size: 15px; font-weight: 600; }
.o-notif small { font-size: 13px; color: rgba(60, 60, 67, .55); }
.o-notif p { grid-column: 2 / 4; font-size: 15px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.o-dim { position: absolute; inset: 0; z-index: 5; background: rgba(20, 16, 30, .22); opacity: 0; transition: opacity .4s; }
.o-dim.show { opacity: 1; }
.o-sheet {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 6; border-radius: 38px 38px 0 0;
  background:
    radial-gradient(70% 30% at 0% 0%, rgba(255, 200, 170, .7), transparent 70%),
    radial-gradient(70% 30% at 100% 0%, rgba(220, 200, 255, .7), transparent 70%),
    radial-gradient(90% 40% at 50% 100%, rgba(180, 215, 255, .8), transparent 72%),
    #F6F3F7;
  box-shadow: 0 -10px 40px rgba(30, 20, 50, .18);
  transform: translateY(104%); transition: transform .6s var(--ease);
}
.o-sheet.show { transform: none; }
.o-sheet .grab { position: absolute; top: 8px; left: 50%; width: 36px; height: 5px; margin-left: -18px; border-radius: 3px; background: rgba(60, 60, 67, .22); }

.o-voice { height: 470px; display: flex; flex-direction: column; align-items: center; padding: 42px 24px 0; }
.o-voice .t { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.mic { margin-top: 30px; width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: rgba(236, 63, 36, .14); box-shadow: 0 0 0 0 rgba(236, 63, 36, .25); animation: halo 1.6s ease-out infinite; }
@keyframes halo { to { box-shadow: 0 0 0 22px rgba(236, 63, 36, 0); } }
.wave { margin-top: 26px; height: 22px; display: flex; align-items: center; gap: 4px; }
.wave i { width: 4px; height: 8px; border-radius: 2px; background: var(--coral); animation: bars .9s ease-in-out infinite; }
.wave i:nth-child(2) { animation-delay: -.2s; } .wave i:nth-child(3) { animation-delay: -.45s; } .wave i:nth-child(4) { animation-delay: -.1s; } .wave i:nth-child(5) { animation-delay: -.6s; } .wave i:nth-child(6) { animation-delay: -.3s; }
@keyframes bars { 50% { height: 22px; } }
.said { margin-top: 18px; min-height: 26px; font-size: 19px; font-weight: 600; letter-spacing: -.01em; text-align: center; }
.said.wait { color: rgba(60, 60, 67, .45); font-weight: 500; }
.said.typing::after, .typing::after { content: ""; display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -.15em; background: var(--coral); animation: caret .9s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.s-cta { width: 100%; height: 52px; border-radius: 26px; display: flex; align-items: center; justify-content: center; gap: 8px; color: #fff; font-size: 17px; font-weight: 600; background: linear-gradient(180deg, #F85A3C, #DE2F18); box-shadow: 0 10px 20px -8px rgba(222, 47, 24, .7); transition: transform .15s, filter .15s; }
.s-cta.press { transform: scale(.96); filter: brightness(.92); }
.o-voice .s-cta { margin-top: auto; }
.o-voice .cancel { margin: 16px 0 34px; font-size: 15px; color: rgba(60, 60, 67, .6); font-weight: 500; }

.o-detected, .o-new { top: 44px; padding: 18px 16px 0; display: flex; flex-direction: column; }
.sh-head { height: 44px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; font-size: 17px; font-weight: 600; }
.sh-head .c { justify-self: start; padding: 9px 16px; border-radius: 20px; font-size: 16px; font-weight: 500; background: rgba(255, 255, 255, .75); box-shadow: 0 1px 4px rgba(40, 30, 60, .08); }
.sh-note { margin: 18px 4px 12px; font-size: 13px; color: rgba(60, 60, 67, .6); line-height: 1.35; }
.rows { display: flex; flex-direction: column; gap: 10px; }
.row {
  position: relative; display: grid; grid-template-columns: 1fr auto 22px; gap: 2px 10px; align-items: center;
  padding: 11px 12px 11px 18px; border-radius: 16px; background: rgba(255, 255, 255, .8); box-shadow: 0 4px 12px rgba(40, 30, 60, .06);
  opacity: 0; transform: translateY(14px); transition: opacity .35s, transform .5s var(--ease);
}
.row.show { opacity: 1; transform: none; }
.row::before { content: ""; position: absolute; left: 8px; top: 12px; bottom: 12px; width: 3px; border-radius: 2px; background: #E5484D; }
.row .k { grid-column: 1; font-size: 10px; font-weight: 700; letter-spacing: .05em; color: #E5484D; white-space: nowrap; }
.row .k em { font-style: normal; color: rgba(60, 60, 67, .6); font-weight: 600; letter-spacing: 0; }
.row .m { grid-column: 1; font-size: 16px; font-weight: 700; }
.row .f { grid-column: 1; font-size: 12px; color: rgba(60, 60, 67, .55); }
.row .a { grid-column: 2; grid-row: 1 / 4; text-align: right; font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; }
.row .a small { display: block; font-size: 10px; font-weight: 500; color: rgba(60, 60, 67, .5); }
.row .x { grid-column: 3; grid-row: 1 / 4; width: 20px; height: 20px; border-radius: 50%; background: rgba(60, 60, 67, .5); display: grid; place-items: center; }
.o-detected .s-cta, .o-new .s-cta { margin-top: auto; margin-bottom: 38px; }

.seg { margin-top: 14px; height: 40px; padding: 3px; border-radius: 20px; display: grid; grid-template-columns: 1fr 1fr; background: rgba(255, 255, 255, .6); font-size: 15px; font-weight: 600; }
.seg span { display: grid; place-items: center; border-radius: 17px; color: rgba(60, 60, 67, .55); }
.seg span.on { color: #fff; background: linear-gradient(180deg, #F0553A, #D8331C); box-shadow: 0 4px 10px -4px rgba(222, 47, 24, .7); }
.big { margin: 26px 0 22px; text-align: center; font-weight: 700; font-size: 50px; letter-spacing: -.035em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.big .m { color: var(--coral); }
.big .cur { font-size: 26px; color: var(--coral); margin: 0 4px; font-weight: 600; }
.big.zero .num { color: rgba(60, 60, 67, .3); }
.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ways span { height: 58px; border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 12px; font-weight: 500; background: rgba(255, 255, 255, .7); }
.ways span.on { box-shadow: inset 0 0 0 1.5px rgba(236, 63, 36, .5); }
.lbl { margin: 18px 4px 7px; font-size: 12px; font-weight: 600; letter-spacing: .04em; color: rgba(60, 60, 67, .55); }
.field { height: 46px; padding: 0 14px; border-radius: 14px; display: flex; align-items: center; font-size: 16px; font-weight: 500; background: rgba(255, 255, 255, .8); }
.field:empty::before { content: attr(data-ph); color: rgba(60, 60, 67, .35); }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chips span { height: 32px; padding: 0 11px; border-radius: 16px; display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; background: rgba(255, 255, 255, .8); box-shadow: 0 1px 3px rgba(40, 30, 60, .06); transition: background .3s, color .3s, transform .4s var(--spring); }
.chips span.on { background: #111114; color: #fff; transform: scale(1.06); }

/* ---------- Secciones ---------- */
.section { position: relative; max-width: 1280px; margin: 0 auto; padding: clamp(96px, 14vw, 180px) var(--gutter); }
h2 { font-size: clamp(2.5rem, 5.2vw, 4.75rem); line-height: 1; letter-spacing: -.035em; font-weight: 700; text-wrap: balance; }
.lead { margin-top: 22px; max-width: 34ch; font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.5; color: var(--ink-soft); text-wrap: pretty; }

/* Apple Pay */
.pay { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.pay-photo { position: relative; aspect-ratio: 1; }
.pay-photo > img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.pay-notif {
  position: absolute; left: 6%; top: 7%; width: min(360px, 62%); padding: 12px 14px; border-radius: 22px;
  display: grid; grid-template-columns: 34px 1fr; gap: 1px 10px; align-items: center;
  background: rgba(246, 244, 248, .86); backdrop-filter: blur(18px) saturate(180%); -webkit-backdrop-filter: blur(18px) saturate(180%);
  box-shadow: 0 18px 40px -14px rgba(30, 20, 50, .35), inset 0 0 0 .5px rgba(255, 255, 255, .9);
  font-size: 14px; line-height: 1.3;
}
.pay-notif img { grid-row: span 2; width: 34px; height: 34px; border-radius: 8px; }
.pay-notif b { font-weight: 600; }
.pay-notif span { color: #2d2d33; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.steps { margin-top: 36px; display: flex; flex-direction: column; gap: 14px; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 30px 1fr; gap: 14px; align-items: center; font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.steps li::before { content: counter(s); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 700; color: #fff; background: linear-gradient(180deg, #E1351A, #C8290F); font-variant-numeric: tabular-nums; }

/* Plan */
.plan { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(40px, 8vw, 128px); align-items: center; }
.plan .phone { --pw: min(360px, 38vw); }
.plan .shot { opacity: 0; transition: opacity .5s var(--ease); }
.plan .shot.on { opacity: 1; }
.tabs { margin-top: 44px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 22px; }
.tabs button {
  border: 0; background: none; padding: 0; cursor: pointer; font: 700 clamp(1.25rem, 1.8vw, 1.6rem)/1.1 var(--font); letter-spacing: -.025em; color: var(--ink-faint);
  transition: color .3s, font-size .3s var(--ease);
}
.tabs button:hover { color: var(--ink-soft); }
.tabs button[aria-selected="true"] { color: var(--ink); font-size: clamp(2rem, 3vw, 2.6rem); }
.tab-p { margin-top: 18px; max-width: 34ch; min-height: 4.5em; font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.5; color: var(--ink-soft); }

/* Detalles */
.more { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 680px); gap: clamp(40px, 7vw, 112px); align-items: start; }
.more h2 { position: sticky; top: calc(var(--bar-h) + 48px); }
.more-list {
  border-radius: 26px; padding: 6px 0;
  background: rgba(255, 255, 255, .6); backdrop-filter: blur(22px) saturate(150%); -webkit-backdrop-filter: blur(22px) saturate(150%);
  box-shadow: 0 30px 60px -30px rgba(31, 25, 40, .3), inset 0 0 0 1px rgba(255, 255, 255, .9);
}
.more-list li { position: relative; display: grid; grid-template-columns: 28px 1fr; gap: 3px 18px; padding: 20px 26px; }
.more-list li + li::before { content: ""; position: absolute; top: 0; left: 72px; right: 0; height: 1px; background: var(--hair); }
.more-list svg { grid-row: span 2; width: 28px; height: 28px; margin-top: 1px; color: var(--coral); }
.more-list h3 { font-size: 19px; font-weight: 700; letter-spacing: -.02em; }
.more-list p { color: var(--ink-soft); font-size: 16px; line-height: 1.45; }

/* El final: un único degradado de la Aurora clara a la noche, que ya no vuelve a aclararse. */
.night {
  --ramp: clamp(560px, 95vh, 1000px);
  position: relative; isolation: isolate; overflow: hidden; color: var(--night-ink);
  padding-top: calc(var(--ramp) * .9);
  background:
    radial-gradient(90% calc(var(--ramp) * .5) at 12% calc(var(--ramp) * .5), rgba(255, 112, 80, .45), transparent 70%),
    radial-gradient(80% calc(var(--ramp) * .45) at 92% calc(var(--ramp) * .42), rgba(160, 100, 255, .45), transparent 70%),
    linear-gradient(to bottom,
      rgba(243, 239, 244, 0) 0,
      rgba(206, 188, 246, .42) calc(var(--ramp) * .16),
      rgba(160, 118, 222, .6) calc(var(--ramp) * .32),
      rgba(104, 62, 162, .78) calc(var(--ramp) * .48),
      rgba(48, 28, 84, .92) calc(var(--ramp) * .64),
      rgba(20, 14, 34, .98) calc(var(--ramp) * .8),
      var(--night) var(--ramp));
}
.night .glow { position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }
.night .g1 { width: 80vmax; height: 80vmax; left: -34vmax; top: calc(var(--ramp) + 10vmax); background: radial-gradient(circle, rgba(255, 107, 82, .42), transparent 64%); animation: breathe 26s ease-in-out infinite alternate; }
.night .g2 { width: 80vmax; height: 80vmax; right: -38vmax; top: 60%; background: radial-gradient(circle, rgba(150, 90, 255, .4), transparent 64%); animation: breathe 30s ease-in-out -9s infinite alternate; }
.night .g3 { width: 90vmax; height: 60vmax; left: 20%; bottom: -34vmax; background: radial-gradient(circle, rgba(40, 130, 255, .34), transparent 64%); animation: breathe 24s ease-in-out -5s infinite alternate; }
.yours { padding-top: 0; }
.yours h2 { font-size: clamp(4rem, 12vw, 9.5rem); letter-spacing: -.045em; line-height: .9; }
.yours .lead { color: var(--night-soft); }
.yours-list { margin-top: clamp(56px, 8vw, 96px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px clamp(28px, 4vw, 56px); padding-top: 32px; border-top: 1px solid rgba(255, 255, 255, .14); }
.yours-list h3 { font-size: clamp(1.5rem, 2.3vw, 2rem); letter-spacing: -.03em; line-height: 1.1; font-weight: 700; }
.yours-list p { margin-top: 12px; color: var(--night-soft); max-width: 28ch; }
.fine { margin-top: 56px; display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: baseline; font-size: 15px; color: var(--night-soft); }
.fine a { display: inline-flex; align-items: center; gap: 6px; color: var(--night-ink); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .3); padding-bottom: 1px; transition: border-color .2s; }
.fine a:hover { border-color: var(--night-coral); }
.night ::selection, footer ::selection { background: rgba(244, 73, 45, .45); color: #fff; }

/* Cierre */
.close { display: flex; flex-direction: column; align-items: center; text-align: center; }
.close { padding-top: clamp(40px, 8vw, 96px); }
.close .icon { width: clamp(96px, 12vw, 132px); height: auto; border-radius: 22.5%; box-shadow: 0 30px 60px -20px rgba(244, 73, 45, .45); }
.close h2 { color: var(--night-ink); }
.close .req { color: var(--night-soft); }
.close h2 { margin-top: 36px; max-width: 14ch; }
.badge { margin-top: 40px; display: inline-block; border-radius: 10px; transition: transform .25s var(--ease), opacity .2s; }
.badge:hover { transform: translateY(-2px); }
.badge img { height: 54px; width: auto; }
.close .req { margin-top: 18px; }

footer { background: var(--night); color: rgba(244, 243, 247, .5); font-size: 14px; }
footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; padding: 28px max(var(--gutter), calc((100% - 1280px) / 2 + var(--gutter))) 48px; border-top: 1px solid rgba(255, 255, 255, .08); }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer a { text-decoration: none; color: var(--night-soft); transition: color .2s; }
footer a:hover { color: var(--night-ink); }
footer .langs a[aria-current] { color: var(--night-ink); font-weight: 600; }

/* ---------- Móvil ---------- */
@media (max-width: 899px) {
  :root { --bar-h: 70px; }
  .bar { top: 8px; left: 8px; right: 8px; height: 54px; border-radius: 27px; padding: 0 7px 0 9px; }
  .bar-logo { font-size: 17px; gap: 9px; }
  .bar-logo img { width: 32px; height: 32px; border-radius: 8px; }
  .bar-get { height: 40px; padding: 0 15px 0 12px; font-size: 14px; }
  .lang summary span { display: none; }
  .reviews-list { columns: auto; display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); padding: 4px var(--gutter) 24px; scrollbar-width: none; align-items: flex-start; }
  .reviews-list::-webkit-scrollbar { display: none; }
  .review { flex: 0 0 84%; margin: 0; scroll-snap-align: center; }
  .laurel { margin-bottom: 18px; }
  .laurel-l { width: 28px; height: 50px; }
  .laurel-row b { font-size: 36px; }
  .stage { height: calc(100svh + var(--steps, 5) * 70svh); }
  .pin { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: calc(var(--bar-h) + 12px) var(--gutter) 0; }
  .capnav { position: static; width: auto; gap: 8px; margin-top: 10px; }
  .segs i { height: 3px; }
  .cue { display: none; }
  .copy { gap: 12px; flex: none; }
  .caps { height: var(--caph, auto); transition: height .6s var(--ease); }
  .cap { align-self: start; }
  h1 { font-size: clamp(2.6rem, 11.5vw, 3.6rem); }
  .sub { margin-top: 14px; font-size: 1.06rem; max-width: 34ch; }
  .cta { margin-top: 20px; }
  .btn-lg { height: 52px; padding: 0 24px; }
  .hint { display: none; }
  .cap-t { font-size: clamp(2.1rem, 9vw, 2.8rem); }
  .cap-p { margin-top: 8px; max-width: 34ch; font-size: 1.02rem; }
  .rail { gap: 2px 14px; }
  .rail button { font-size: 14px; }
  .rail.idle { display: none; }
  .stage-phone { flex: 1; min-height: 0; align-items: flex-start; padding-top: 14px; }
  .phone { --pw: min(80vw, calc((100svh - var(--bar-h) - 22px - var(--caph-cap, 130px) - 12px - 22px - 14px - 12px) * .489)); }
  .phone::after { display: none; }

  .pay, .plan { grid-template-columns: 1fr; }
  .plan { gap: 0; }
  .plan-copy { display: contents; }
  .plan h2 { order: 1; }
  .plan .tabs { order: 2; margin-top: 32px; }
  .plan .tab-p { order: 3; margin-top: 18px; }
  .plan .phone { --pw: min(300px, 74vw); justify-self: center; order: 4; margin-top: 32px; }
  .tab-p { min-height: 0; }
  .yours-list { grid-template-columns: 1fr; }
  .more { grid-template-columns: 1fr; }
  .more h2 { position: static; }
  .more-list li { padding: 18px 20px; gap: 3px 14px; }
  .more-list li + li::before { left: 62px; }
  .pay-notif { width: 84%; font-size: 13px; }
  .pay-notif span { white-space: normal; }
  footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
