/* Cuerpo Millonario · para Alan · the story.
   His world by day: the white and ink of coachalanneira.com, one accent: the fucsia of his site and of the flor de
   jamaica (#D4007A). Bebas Neue (the titles of his site: titles, numbers) and Plus Jakarta Sans 400/600/800 (text, UI),
   self-hosted, swap. The device: a thin fucsia seam, ticked like a cinta métrica, that always separates antes and
   después; it opens on his pinned before/after and closes on "Hoy" / "En 6 semanas". Chapters 4 and 7 on ink.
   html.st-on   = the experience (story.js running).
   html.st-flat = ?rm=1, the flat mode: the readable document with end states and the one live phone.
   Without either, the page is a readable static document (no JS, or a script failed to load). */

@font-face { font-family: "Bebas Neue"; src: url("media/fonts/bebas-neue-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("media/fonts/plus-jakarta-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("media/fonts/plus-jakarta-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("media/fonts/plus-jakarta-sans-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }

:root {
  --paper: #F7F7F7;
  --card: #FFFFFF;
  --line: #E3E3E3;
  --ink: #0A0A0A;
  --mute: #555555;
  --veil: rgba(10, 10, 10, .62);
  --fu: #D4007A;
  --paper-rgb: 247, 247, 247;
  --ink-rgb: 10, 10, 10;
  --hair: rgba(10, 10, 10, .1);
  --shadow: 0 18px 40px -20px rgba(10, 10, 10, .32);
  --f-d: "Bebas Neue", Impact, "Arial Narrow", sans-serif;
  --f-t: "Plus Jakarta Sans", Arial, Helvetica, sans-serif;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-ios: cubic-bezier(.32, .72, 0, 1);
  --gut: 16px;
  --S: 100vh;
  --LH: 100vh;
  color-scheme: light;
}
@supports (height: 100svh) { :root { --S: 100svh; --LH: 100lvh; } }

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--paper); color: var(--ink); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overflow-x: hidden; overflow-x: clip; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.45 var(--f-t);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
}
p, h1, h2, h3, ol, ul, li, figure, blockquote { margin: 0; padding: 0; }
h1, h2, h3 { font-weight: inherit; font-size: inherit; }
ol, ul { list-style: none; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
b { font-weight: 800; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--fu); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.probe { position: fixed; top: 0; left: 0; width: 0; visibility: hidden; pointer-events: none; }
#vh-s { height: 100vh; height: 100svh; }
#vh-l { height: 100vh; height: 100lvh; }
.skip {
  position: fixed; left: 12px; top: 12px; z-index: 1000; padding: 10px 14px; border-radius: 12px;
  background: var(--ink); color: var(--paper); font: 800 15px/1.2 var(--f-t); text-decoration: none;
  transform: translateY(calc(-100% - 90px));
}
.skip:focus-visible { transform: none; }
.sr-story { display: none; }
html.st-on .sr-story { display: block; }
#end { height: 1px; }
.fu { color: var(--fu); }
.nw { white-space: nowrap; }
.q1 { color: var(--fu); }

/* ---------------------------------------------------------------------------------------------- type roles (SPEC 3) */
.t-over { font: 800 12px/1.2 var(--f-t); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.t-h1 { font: 400 60px/.92 var(--f-d); letter-spacing: .01em; }
.t-h2 { font: 400 46px/.94 var(--f-d); letter-spacing: .01em; }
.t-key { font: 400 50px/.92 var(--f-d); letter-spacing: .01em; }
.t-stat { font: 400 78px/.9 var(--f-d); letter-spacing: .01em; white-space: nowrap; }
.t-num { font: 400 40px/.95 var(--f-d); letter-spacing: .01em; white-space: nowrap; }
.t-quote { font: 800 21px/1.25 var(--f-t); letter-spacing: -.01em; }
.t-card { font: 800 19px/1.25 var(--f-t); letter-spacing: -.01em; }
.t-row { font: 600 17px/1.3 var(--f-t); }
.t-body { font: 400 17px/1.45 var(--f-t); }
.t-label { font: 400 15px/1.3 var(--f-t); color: var(--mute); }
.t-small { font: 400 12px/1.35 var(--f-t); letter-spacing: .01em; color: var(--mute); }
.t-body, .t-quote, .t-card, .t-label, .t-small, .t-row { text-wrap: pretty; }
.sl { font: 800 12px/1.1 var(--f-t); letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
html.st-desk .t-over { font-size: 13px; }
html.st-desk .t-h1 { font-size: 112px; }
html.st-desk .t-h2 { font-size: 84px; }
html.st-desk .t-key { font-size: 100px; }
html.st-desk .t-stat { font-size: 132px; }
html.st-desk .t-num { font-size: 60px; }
html.st-desk .t-quote { font-size: 30px; }
html.st-desk .t-card { font-size: 23px; }
html.st-desk .t-row { font-size: 23px; }
html.st-desk .t-body { font-size: 20px; }
html.st-desk .t-label { font-size: 17px; }
html.st-desk .t-small { font-size: 13px; }
html.st-desk .sl { font-size: 14px; }
html.st-desk .t-h1, html.st-desk .t-h2, html.st-desk .t-key { text-wrap: balance; }

/* ---------------------------------------------------------------------------------------------- light and grain */
.grain {
  position: fixed; inset: 0; z-index: 800; pointer-events: none; opacity: .03;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n' x='0' y='0'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' seed='7' stitchTiles='stitch'/><feColorMatrix type='matrix' values='0 0 0 0 .04  0 0 0 0 .04  0 0 0 0 .04  0 0 0 1.2 -.35'/></filter><rect width='220' height='220' filter='url(%23n)'/></svg>");
  background-size: 220px 220px;
}
/* daylight from the top of his site */
.day { display: none; }
html.st-on .day {
  display: block; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(110% 70% at 50% -14%, rgba(255, 255, 255, .95) 0, rgba(255, 255, 255, .4) 44%, rgba(255, 255, 255, 0) 72%);
}

/* ============================================================================================== experience */
html.js:not(.st-on):not(.st-fail):not(.st-flat) #story,
html.js:not(.st-on):not(.st-fail):not(.st-flat) #dock { visibility: hidden; }
html.st-boot *, html.st-boot *::before, html.st-boot *::after { transition: none !important; }
html.st-on #run { position: relative; height: calc(var(--runL, 4340vh) + var(--LH)); }
html.st-on #end { position: absolute; left: 0; bottom: 0; width: 1px; }
html.st-on #stage {
  position: -webkit-sticky; position: sticky; top: 0;
  height: 100vh; height: var(--LH);
  overflow: hidden; overflow: clip;
  background: var(--paper);
}
/* a chapter is a scene of the stage (no stacking context of its own); story.js places every block (left, top, width
   at layout time; transform, opacity, clip-path per frame) */
html.st-on .sc { position: absolute; left: 0; top: 0; width: 100%; height: var(--LH); visibility: hidden; pointer-events: none; }
html.st-on .sc > * { position: absolute; left: 0; top: 0; z-index: 20; }
html.st-on .sc.is-on [data-id] { will-change: transform, opacity; }
html.st-on .s1fig { display: none; }
html.st-on [data-id] { opacity: 0; }
/* a text that sits on the seam knocks it out (a dimension line written on the tape) */
html.st-on .ko { background: var(--paper); padding: 4px 10px; }

/* an overline over his media: a paper tag */
html.st-on .tag { padding: 6px 9px 5px; border-radius: 5px; background: rgba(255, 255, 255, .92); color: var(--ink); box-shadow: 0 6px 18px -10px rgba(10, 10, 10, .4); }

/* ---------------------------------------------------------------------------------------------- media frames */
.mb__i, .mb__v { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; }
.mb__i { color: transparent; font-size: 0; }
.mb__v { z-index: 1; opacity: 0; transition: opacity .3s linear; }
.mb__v.on { opacity: 1; }
.bg { display: none; }
html.st-on .bg { display: block; position: absolute; z-index: 1; overflow: hidden; pointer-events: none; visibility: hidden; opacity: 0; background: var(--ink); }
.bg__veil { position: absolute; inset: 0; z-index: 2; }
.bg--balcon .bg__veil { background: rgba(var(--paper-rgb), .8); }
.bg--gym .bg__veil { background: var(--ink); opacity: .6; }
html.st-on .bg--balcon { background: var(--paper); }
html.st-on .bg--gym { z-index: 16; }

/* ---------------------------------------------------------------------------------------------- the seam (SPEC 3, Objects)
   One box 48 px wide: the line on its axis (x 24), the graduations on its right. story.js sets its anchor, its angle
   and its length (clip) each frame; the small ticks every .1 screen and the long ones every .5 run with the scroll. */
.seam, .sl--a, .sl--d { display: none; }
html.st-on .seam {
  display: block; position: absolute; left: 0; top: 0; z-index: 18; width: 48px; height: var(--sh, 2400px);
  transform-origin: 24px 0; pointer-events: none; opacity: 0;
}
.seam__t, .seam__l { position: absolute; left: 23px; top: 0; width: 2px; height: 100%; }
.seam__t { background: #CFCFCF; opacity: 0; }
.seam__l { background: var(--fu); transform-origin: 50% 0; }
.seam__k { position: absolute; left: 25px; top: 0; width: 20px; height: 100%; overflow: hidden; }
.seam__s {
  position: absolute; left: 0; top: 0; width: 20px; height: calc(100% + var(--t5, 400px));
  background-image: linear-gradient(180deg, var(--fu) 0, var(--fu) 2px, transparent 2px), linear-gradient(180deg, rgba(212, 0, 122, .7) 0, rgba(212, 0, 122, .7) 1px, transparent 1px);
  background-size: 20px var(--t5, 400px), 8px var(--t1, 80px); background-repeat: repeat-y;
}
.seam__g { position: absolute; left: 25px; top: 0; opacity: 0; background-repeat: repeat-y; }
.seam__g--6 { width: 16px; background-image: linear-gradient(180deg, var(--fu) 0, var(--fu) 2px, transparent 2px); }
.seam__g--21 { width: 10px; background-image: linear-gradient(180deg, var(--fu) 0, var(--fu) 1.5px, transparent 1.5px); }
.seam__p { position: absolute; left: 18px; top: 0; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 2px #CFCFCF; opacity: 0; transition: background-color .2s linear, box-shadow .2s linear; }
.seam__p.on { background: var(--fu); box-shadow: 0 0 0 3px var(--paper); }
.seam__m { position: absolute; left: 17px; top: 0; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: var(--fu); box-shadow: 0 0 0 3px var(--paper), 0 4px 12px -2px rgba(212, 0, 122, .55); opacity: 0; }
.seam__d { position: absolute; left: 25px; top: 0; width: 34px; height: 3px; margin-top: -1px; border-radius: 1.5px; background: var(--fu); transform-origin: 0 50%; transform: scaleX(0); }
.seam__h { position: absolute; left: 17px; top: -1px; width: 14px; height: 3px; border-radius: 1.5px; background: var(--fu); }
/* ANTES and DESPUÉS at the head of the seam (chapter 1) */
html.st-on .sl--a, html.st-on .sl--d, html.st-on .sl--9 {
  display: block; position: absolute; left: 0; top: 0; z-index: 19; padding: 5px 8px 4px; border-radius: 4px;
  background: rgba(255, 255, 255, .92); white-space: nowrap; opacity: 0; pointer-events: none;
  box-shadow: 0 6px 16px -10px rgba(10, 10, 10, .45);
}

/* ---------------------------------------------------------------------------------------------- 1 · Antes / Después */
html.st-on .pf { position: absolute; left: 0; top: 0; z-index: 2; overflow: hidden; background: #DADADA; }
.pf__i { position: absolute; left: 0; top: 0; max-width: none; transform-origin: 0 0; color: transparent; font-size: 0; }
html.st-on .veil1 {
  position: absolute; left: 0; right: 0; bottom: 0; top: auto; z-index: 3; width: 100%; height: 44%; pointer-events: none;
  background: linear-gradient(180deg, rgba(var(--paper-rgb), 0) 0, rgba(var(--paper-rgb), .82) 34%, rgba(var(--paper-rgb), .95) 62%, var(--paper) 100%);
}
html.st-desk .veil1 { height: 34%; }
.sc-1 .t-quote { text-align: center; }
.sc-1 .t-stat, .sc-1 .t-body, .sc-1 .t-small { text-align: center; }
html.st-on .sc-1 .cue { text-align: left; color: var(--ink); }
html.st-on.st-desk .sc-1 .cue { text-align: center; }
html.st-on .sc-1 [data-id^="c1.n"], html.st-on .sc-1 [data-id^="c1.l"], html.st-on .sc-1 [data-id="c1.src"], html.st-on .sc-1 [data-id="c1.q"], html.st-on .sc-1 [data-id="c1.qs"] { width: max-content; }
html.st-on .sc-1 [data-id="c1.q"] { max-width: calc(100vw - 32px); }
html.st-on .sc-1 .t-stat { padding-top: 6px; }

/* ---------------------------------------------------------------------------------------------- 2 · Lo que ya tienes */
html.st-on .mk { display: block; position: absolute; z-index: 19; width: 40px; height: 2px; border-radius: 1px; background: var(--fu); transform-origin: 0 50%; transform: scaleX(0); }
html.st-on .mk.mk--l { transform-origin: 100% 50%; }
.mk { display: none; }
.sc-2 .t-num { color: var(--ink); }
.cn { font-variant-numeric: tabular-nums; }
html.st-desk .sc-2 .t-r { text-align: right; }
.sc-2 [data-id="c2.close"] { font-weight: 800; }

/* ---------------------------------------------------------------------------------------------- 3 · Tu método */
html.st-on .rls { position: static; }
.rl { position: relative; overflow: hidden; border-radius: 16px; background: #DADADA; aspect-ratio: 4 / 5; }
html.st-on .rl { position: absolute; left: 0; top: 0; z-index: 5; visibility: hidden; box-shadow: 0 30px 60px -32px rgba(10, 10, 10, .5); }
/* the rule card: his words, a fucsia opening quote */
.card { background: var(--card); border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line), 0 20px 44px -28px rgba(10, 10, 10, .35); padding: 15px 18px 16px; }
.card .q1 { font: 400 1.6em/0 var(--f-d); vertical-align: -.12em; margin-right: 2px; }
html.st-on .card { visibility: hidden; }
html.st-on .card [data-id] { opacity: 1; will-change: auto; }
html.st-desk .card { padding: 20px 24px 21px; border-radius: 18px; }
/* the phases: phones, the active one on top (a roller); desktop, the list on the seam */
.ph { display: none; }
html.st-on:not(.st-desk) .ph { display: flex; align-items: flex-start; gap: 10px; font: 400 40px/1 var(--f-d); letter-spacing: .01em; opacity: 0; }
.ph__n, .ph__w { display: block; height: 1em; overflow: hidden; }
.ph__n { color: var(--fu); }
.ph__r { display: block; }
.ph__r i { display: block; height: 1em; font-style: normal; white-space: nowrap; }
.pl { display: none; }
html.st-on.st-desk .pl { display: block; }
.pl__r { display: flex; align-items: baseline; gap: 16px; font: 400 54px/1 var(--f-d); letter-spacing: .01em; color: rgba(10, 10, 10, .22); transition: color .25s linear; white-space: nowrap; }
.pl__n { color: inherit; }
.pl__r.on { color: var(--ink); }
.pl__r.on .pl__n { color: var(--fu); }
.pl__r + .pl__r { margin-top: 14px; }

/* ---------------------------------------------------------------------------------------------- 4 · La salida */
html.st-on .fr { display: block; position: absolute; left: 0; top: 0; z-index: 9; overflow: hidden; visibility: hidden; background: var(--ink); }
.fr { display: none; }
.key span { display: block; }
.key .fu { margin-top: 4px; }

/* ---------------------------------------------------------------------------------------------- 5 · Tu app */
html.st-on .lbs { position: static; }
.lb {
  background: var(--card); color: var(--ink); border-radius: 999px; padding: 10px 18px 11px; white-space: nowrap;
  box-shadow: inset 0 0 0 1px var(--line), 0 14px 30px -18px rgba(10, 10, 10, .4);
}
.lb__n { font: 400 1.32em/0 var(--f-d); color: var(--fu); vertical-align: -.08em; }
html.st-on .lbs > li { position: absolute; left: 0; top: 0; z-index: 20; width: max-content; }
html.st-desk .lb { padding: 12px 22px 13px; transition: background-color .25s linear, color .25s linear, box-shadow .25s linear; }
html.st-desk .lb.dim { background: transparent; color: rgba(10, 10, 10, .34); box-shadow: inset 0 0 0 1px var(--line); }
html.st-desk .lb.dim .lb__n { color: rgba(10, 10, 10, .34); }

/* ---------------------------------------------------------------------------------------------- 6 · Tu turno */
.cal { display: none; }
html.st-on.st-desk .cal { display: grid; grid-template-columns: repeat(7, 46px); gap: 9px; z-index: 20; }
.cal li { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font: 400 22px/1 var(--f-d); color: rgba(10, 10, 10, .42); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); opacity: 0; }
.cal li.on { background: var(--fu); color: #FFFFFF; box-shadow: 0 10px 22px -10px rgba(212, 0, 122, .6); }
.sc-6 [data-id="c6.a1"] .q1 { margin-right: 1px; }

/* ---------------------------------------------------------------------------------------------- 4 · 5 · 6 · the phone (black titanium) */
html.st-on .phone {
  display: block; position: absolute; left: 0; top: 0; z-index: 13;
  width: var(--cw, 393px); height: var(--chh, 852px); transform-origin: 0 0; pointer-events: none;
}
.phone { --R: 55px; --bz: 11px; --band: 6px; }
html.st-on .phone.ph-off { opacity: 0; visibility: hidden; }
html.st-on .phone.is-anim { will-change: transform, opacity, clip-path; }
html.st-on .phone__screen { pointer-events: auto; }
.phone__frame {
  position: absolute; inset: calc((var(--bz) + var(--band)) * -1);
  border-radius: calc(var(--R) + var(--bz) + var(--band));
  border: var(--band) solid transparent;
  background:
    linear-gradient(#060606, #060606) padding-box,
    linear-gradient(158deg, #3A3A3A 0%, #2B2B2B 12%, #141414 30%, #2E2E2E 50%, #161616 68%, #2B2B2B 86%, #3A3A3A 100%) border-box;
  box-shadow: 0 0 0 .6px rgba(0, 0, 0, .6), inset 0 0 0 .6px rgba(255, 255, 255, .08);
  pointer-events: none;
}
.phone__frame::before {
  content: ""; position: absolute; inset: 0; border-radius: calc(var(--R) + var(--bz));
  border: var(--bz) solid #030303; box-shadow: 0 0 0 1px rgba(0, 0, 0, .6), inset 0 0 0 .75px rgba(255, 255, 255, .05);
}
.phone__frame::after {
  content: ""; position: absolute; inset: calc(var(--band) * -1); border-radius: inherit; pointer-events: none;
  border-top: 1px solid rgba(255, 255, 255, .35);
  -webkit-mask-image: linear-gradient(90deg, transparent 8%, #000 30%, #000 70%, transparent 92%);
  mask-image: linear-gradient(90deg, transparent 8%, #000 30%, #000 70%, transparent 92%);
}
html.st-on .phone::before {
  content: ""; position: absolute; inset: calc((var(--bz) + var(--band)) * -1); border-radius: calc(var(--R) + var(--bz) + var(--band));
  box-shadow: 0 50px 90px -40px rgba(10, 10, 10, .55), 0 14px 28px -18px rgba(10, 10, 10, .35); pointer-events: none;
}
.pb { position: absolute; width: 5px; border-radius: 2px; background: linear-gradient(90deg, #101010 0%, #3A3A3A 45%, #4A4A4A 55%, #161616 100%); }
.pb--act { left: calc(0px - var(--bz) - var(--band) - 3.5px); top: 122px; height: 32px; }
.pb--vu { left: calc(0px - var(--bz) - var(--band) - 3.5px); top: 182px; height: 60px; }
.pb--vd { left: calc(0px - var(--bz) - var(--band) - 3.5px); top: 254px; height: 60px; }
.pb--pw { right: calc(0px - var(--bz) - var(--band) - 3.5px); top: 214px; height: 94px; }
.phone__screen { position: absolute; inset: 0; border-radius: var(--R); overflow: hidden; overflow: clip; background: var(--paper); transform: translateZ(0); }
#alan-app { position: absolute; left: 0; top: 0; width: 100%; height: 100%; contain: strict; touch-action: pan-y; }
.phone__glare {
  position: absolute; inset: 0; z-index: 40; pointer-events: none; border-radius: var(--R);
  background: linear-gradient(118deg, rgba(255, 255, 255, .1) 0%, rgba(255, 255, 255, .02) 20%, rgba(255, 255, 255, 0) 38%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05);
}
.phone__island { position: absolute; top: 11px; left: 50%; z-index: 41; width: 126px; height: 37px; margin-left: -63px; border-radius: 18.5px; background: #000; pointer-events: none; }
.phone__island::after {
  content: ""; position: absolute; right: 13px; top: 50%; width: 11px; height: 11px; margin-top: -5.5px; border-radius: 50%;
  background: radial-gradient(circle at 38% 34%, #3A3A46 0, #121218 38%, #050507 62%, #000 72%);
}
/* T4: his reel inside the phone (the same frames as the full-bleed one), then the icon it becomes */
.preel, .ric { display: none; }
html.st-on .preel { display: block; position: absolute; left: 0; top: 0; z-index: 30; width: var(--cw, 393px); height: var(--chh, 852px); overflow: hidden; transform-origin: 0 0; visibility: hidden; background: var(--ink); pointer-events: none; }
html.st-on .ric { display: block; position: absolute; left: 0; top: 0; z-index: 31; visibility: hidden; pointer-events: none; }
.ric, .fb__ic, .store__ic { border-radius: 22.37%; background: linear-gradient(180deg, #2A2A2A 0%, #0E0E0E 55%, #050505 100%); overflow: hidden; }
.ric i, .fb__ic i, .store__ic i { position: absolute; left: 48.6%; top: 0; width: 2.8%; height: 100%; background: var(--fu); }
.ric i::before, .fb__ic i::before, .store__ic i::before {
  content: ""; position: absolute; left: 100%; top: 0; width: 550%; height: 100%;
  background:
    linear-gradient(var(--fu), var(--fu)) 0 31.5% / 56% 2.8% no-repeat,
    linear-gradient(var(--fu), var(--fu)) 0 50% / 100% 2.8% no-repeat,
    linear-gradient(var(--fu), var(--fu)) 0 68.5% / 56% 2.8% no-repeat;
}
/* the static splash: only when the app is missing */
.phone__fb { display: none; position: absolute; inset: 0; background: var(--paper); color: var(--ink); text-align: center; }
html.st-noapp .phone__fb, html[data-noapp] .phone__fb, html:not(.st-on):not(.st-flat) .phone__fb { display: block; }
html.st-noapp #alan-app, html[data-noapp] #alan-app, html:not(.st-on):not(.st-flat) #alan-app { display: none; }
.fb__ic { position: relative; display: block; width: 104px; height: 104px; margin: 288px auto 0; }
.fb__w { margin-top: 26px; font: 400 44px/.95 var(--f-d); letter-spacing: .01em; }
.fb__s { margin-top: 8px; font: 400 14px/1.4 var(--f-t); color: var(--mute); }

/* the scroll reminder (chapter 6): story.js places it under the live phone (phones) or beside it (desktop), never on the glass */
.nudge { display: none; }
html.st-on .nudge {
  display: flex; position: absolute; z-index: 27; left: 0; top: 0; align-items: center; gap: 10px;
  padding: 7px 16px 7px 7px; border-radius: 24px; background: var(--card); color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow); white-space: nowrap; pointer-events: none;
  opacity: 0; visibility: hidden; translate: 0 10px;
  transition: opacity .32s linear, translate .42s var(--ease-out), visibility 0s linear .42s;
}
html.st-on .nudge.on { opacity: 1; visibility: inherit; translate: 0 0; transition: opacity .32s linear, translate .42s var(--ease-out), visibility 0s; }
.nudge__c { flex: none; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--fu); }
.nudge__c svg { width: 18px; height: 18px; fill: none; stroke: #FFFFFF; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.nudge__t { display: flex; flex-direction: column; gap: 2px; }
.nudge__t b { font: 800 15px/1.15 var(--f-t); }
.nudge__t span { font: 400 13px/1.25 var(--f-t); color: var(--mute); }
html.st-on:not(.rmos) .nudge.on .nudge__c svg { animation: st-nudge 1.4s cubic-bezier(.45, 0, .55, 1) infinite; }
@keyframes st-nudge { 0%, 100% { transform: translateY(-3px); } 50% { transform: translateY(3px); } }

/* ---------------------------------------------------------------------------------------------- 7 · the offer, on ink */
.ink { display: none; }
html.st-on .ink { display: block; position: absolute; left: 0; top: 0; z-index: 15; width: 100%; height: var(--LH); background: var(--ink); visibility: hidden; pointer-events: none; }
html.st-on .sc-7 > [data-id], html.st-on .sc-7 .c7h { z-index: 20; }
.sc-7 .t-over { color: #A8A8A8; }
.sc-7 .t-h2, .sc-7 .t-row { color: #FFFFFF; }
.sc-7 .t-h2.fu { color: var(--fu); }
.sc-7 .t-small { color: #B8B8B8; }
.c7h span { display: block; }
html.st-on .c7h { position: static; }
html.st-on .c7h > span { position: absolute; left: 0; top: 0; z-index: 20; }
html.st-on .rcl { position: static; }
html.st-on .rcl > li { position: absolute; left: 0; top: 0; z-index: 20; width: max-content; }
.rr { text-align: center; }
.rr__h { color: var(--fu); font-weight: 800; margin-right: 2px; }
.sc-7 .t-over--c, .sc-7 .t-small--c { text-align: center; }

/* ---------------------------------------------------------------------------------------------- 8 · Los números (quiet) */
.nr b { font-weight: 800; color: var(--ink); }
.sc-8 .nr { color: #2A2A2A; }

/* ---------------------------------------------------------------------------------------------- 9 · Tú decides */
html.st-on .hv { display: block; position: absolute; left: 0; top: 0; z-index: 2; overflow: hidden; visibility: hidden; background: #1A1A1A; }
.hv { display: none; }
.hv__in { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
.tl9 { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 3px; background: #111; }
.tl9 li { position: relative; overflow: hidden; }
.tl9 li:first-child { grid-row: span 2; }
.hv__veil { position: absolute; inset: 0; z-index: 2; }
.hv--a .hv__veil { background: linear-gradient(180deg, rgba(var(--ink-rgb), .5) 0, rgba(var(--ink-rgb), .42) 50%, rgba(var(--ink-rgb), .78) 100%); }
.hv--d .hv__veil { background: linear-gradient(180deg, rgba(var(--ink-rgb), 0) 40%, rgba(var(--ink-rgb), .66) 100%); }
.store {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 16px;
  background: var(--card); color: var(--ink); box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .6); white-space: nowrap;
}
.store__ic { position: relative; flex: none; display: block; width: 40px; height: 40px; }
.store__t { display: flex; flex-direction: column; gap: 3px; }
.store__t b { font: 400 19px/1 var(--f-d); letter-spacing: .02em; }
.store__t span { font: 600 11px/1.2 var(--f-t); color: var(--mute); }
html.st-on:not(.st-desk) .store { flex-direction: column; gap: 8px; padding: 12px 12px 11px; text-align: center; }
html.st-on:not(.st-desk) .store__t { align-items: center; }
html.st-desk .store { padding: 14px 20px 14px 14px; gap: 14px; border-radius: 20px; }
html.st-desk .store__ic { width: 56px; height: 56px; }
html.st-desk .store__t b { font-size: 26px; }
html.st-desk .store__t span { font-size: 13px; }
.t-body--w { color: #FFFFFF; text-shadow: 0 1px 12px rgba(0, 0, 0, .35); }
html.st-on .sc-9 .t-body--w { font-weight: 600; }
.ud { position: relative; white-space: nowrap; }
.ud__l { position: absolute; left: 0; right: 0; bottom: -4px; height: 3px; border-radius: 1.5px; background: var(--fu); }
html.st-on .ud__l { display: none; }
/* the card: Jeremy and Maxime side by side, Instagram first, WhatsApp second */
.ct {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 12px; padding: 14px;
  border-radius: 22px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line), 0 30px 60px -34px rgba(10, 10, 10, .45);
}
.ct:focus { outline: none; }
.ct__p { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.ct__who { display: flex; align-items: center; gap: 9px; min-width: 0; }
.ct__who img { flex: none; width: 34px; height: 34px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1.5px var(--card), 0 0 0 2.5px var(--line); }
.ct__who > span { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ct__who b { font: 800 16px/1.05 var(--f-t); }
.ct__who > span > span { font: 400 12px/1.1 var(--f-t); color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ct__b { display: flex; flex-direction: column; gap: 10px; }
.btn {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-width: 0; height: 46px; padding: 0 12px;
  border-radius: 14px; background: var(--fu); color: #FFFFFF; text-decoration: none; font: 800 15px/1 var(--f-t);
  transition: transform .14s var(--ease-out); touch-action: manipulation;
}
.btn--2 { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(10, 10, 10, .28); }
.btn:active { transform: scale(.97); }
.btn span { white-space: nowrap; }
.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
html.st-on .ct { pointer-events: none; opacity: 0; }
html.st-on .ct.live { pointer-events: auto; }
html.st-desk .ct { padding: 24px; column-gap: 18px; border-radius: 26px; }
html.st-desk .ct__p { gap: 14px; }
html.st-desk .ct__who img { width: 48px; height: 48px; }
html.st-desk .ct__who b { font-size: 19px; }
html.st-desk .ct__who > span > span { font-size: 13px; }
html.st-desk .btn { height: 54px; font-size: 17px; border-radius: 16px; }
html.c9-tight:not(.st-desk) .ct { padding: 12px; }
html.c9-tight:not(.st-desk) .ct__p, html.c9-tight:not(.st-desk) .ct__b { gap: 8px; }
html.c9-tight:not(.st-desk) .ct .btn { height: 42px; }

/* ---------------------------------------------------------------------------------------------- the contact pill + sheet */
#dock {
  position: fixed; z-index: 900; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  transition: transform .28s var(--ease-ios), opacity .28s linear, visibility 0s;
}
#dock.aside { transform: translate3d(0, calc(100% + 16px), 0); opacity: 0; pointer-events: none; visibility: hidden; transition: transform .28s var(--ease-ios), opacity .28s linear, visibility 0s linear .28s; }
.pill {
  display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 18px 0 9px;
  border-radius: 24px; background: rgba(255, 255, 255, .96); color: var(--ink); border: 0;
  box-shadow: inset 0 0 0 1px var(--hair), var(--shadow);
  font: 800 15px/1 var(--f-t); text-decoration: none; white-space: nowrap; cursor: pointer; touch-action: manipulation;
  transition: transform .14s var(--ease-out), opacity .2s linear;
}
.pill:active { transform: scale(.96); }
.pill__faces { display: flex; }
.pill__faces img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1.5px #FFFFFF; }
.pill__faces img + img { margin-left: -8px; }
#dock.open .pill { opacity: 0; }
/* the autoplay control: bottom left, the contact pill keeps bottom right */
#autoplay {
  position: fixed; z-index: 900; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  transition: transform .28s var(--ease-ios), opacity .28s linear, visibility 0s;
}
html.js:not(.st-on) #autoplay, html.st-flat #autoplay, html.st-fail #autoplay { display: none; }
#autoplay.aside { transform: translate3d(0, calc(100% + 16px), 0); opacity: 0; pointer-events: none; visibility: hidden; transition: transform .28s var(--ease-ios), opacity .28s linear, visibility 0s linear .28s; }
.auto {
  position: relative; overflow: hidden; display: flex; align-items: center; gap: 9px; height: 48px; padding: 0 17px 0 12px;
  border-radius: 24px; background: rgba(255, 255, 255, .96); color: var(--ink); border: 0;
  box-shadow: inset 0 0 0 1px var(--hair), var(--shadow);
  font: 800 15px/1 var(--f-t); white-space: nowrap; cursor: pointer; touch-action: manipulation;
  transition: transform .14s var(--ease-out);
}
.auto:active { transform: scale(.96); }
.auto:focus-visible { outline: 2px solid var(--fu); outline-offset: 3px; }
.auto__i { width: 26px; height: 26px; border-radius: 50%; background: var(--fu); color: #FFFFFF; display: grid; place-items: center; flex: none; }
.auto__i svg { width: 10px; height: 10px; fill: currentColor; display: block; }
.auto__i svg[fill="none"] { fill: none; width: 12px; height: 12px; }
.auto__bar { position: absolute; left: 16px; right: 16px; bottom: 6px; height: 2px; border-radius: 1px; background: var(--hair); overflow: hidden; }
.auto__bar i { display: block; width: 100%; height: 100%; background: var(--fu); transform-origin: 0 50%; transform: scaleX(0); }
#autoplay:not(.is-on) .auto__bar { opacity: .55; }
.auto-off { opacity: 0 !important; visibility: hidden !important; }

#sheet-scrim { position: fixed; inset: 0; z-index: 950; background: rgba(10, 10, 10, .42); opacity: 0; transition: opacity .22s linear; }
#sheet-scrim.on { opacity: 1; }
#sheet {
  position: fixed; z-index: 960; left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom, 0px));
  max-width: 480px; margin: 0 auto; max-height: calc(100% - 24px); overflow: auto; overscroll-behavior: contain;
  padding: 22px 20px 20px; border-radius: 28px; background: var(--card); color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--hair), 0 30px 80px -24px rgba(10, 10, 10, .5);
  transform: translate3d(0, 112%, 0); transition: transform .4s var(--ease-ios);
}
#sheet.on { transform: none; }
.sheet__grab { width: 38px; height: 5px; border-radius: 3px; background: rgba(10, 10, 10, .16); margin: -8px auto 14px; }
.sheet__x { position: absolute; right: 10px; top: 10px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }
.sheet__h { font: 400 38px/.95 var(--f-d); letter-spacing: .01em; padding-right: 44px; }
.sheet__s { margin-top: 8px; font: 400 15px/1.3 var(--f-t); color: var(--mute); }
.who { display: grid; grid-template-columns: 48px 1fr; column-gap: 14px; row-gap: 12px; align-items: center; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--hair); }
.who img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1.5px #FFFFFF, 0 0 0 2.5px var(--line); }
.who__n { display: flex; flex-direction: column; gap: 3px; }
.who__n b { font: 800 17px/1.1 var(--f-t); }
.who__n span { font: 400 13px/1.2 var(--f-t); color: var(--mute); }
.who__b { grid-column: 1 / -1; display: flex; gap: 10px; }
.who__b .btn { flex: 1; height: 48px; font-size: 16px; }

/* ============================================================================================== static document
   (no JS, a script failed to load, or ?rm=1): the same words, the same order, readable, end states. */
html:not(.st-on) #stage { position: static; height: auto; overflow: visible; }
html:not(.st-on) .bg, html:not(.st-on) .fr, html:not(.st-on) .pf, html:not(.st-on) .veil1, html:not(.st-on) .mk,
html:not(.st-on) .ph, html:not(.st-on) .pl, html:not(.st-on) .preel, html:not(.st-on) .ric, html:not(.st-on) .ink,
html:not(.st-on) .nudge, html:not(.st-on) .seam, html:not(.st-on) .sl--a, html:not(.st-on) .sl--d, html:not(.st-on) .day,
html:not(.st-on) .mb__v, html:not(.st-on) .cal, html:not(.st-on) .cue, html:not(.st-on) .hv--a { display: none; }
html.no-js img[data-src] { display: none; }
html:not(.st-on) .sc { position: relative; padding: 56px var(--gut) 0; max-width: 760px; margin: 0 auto; }
html:not(.st-on) .sc-1 { padding-top: 24px; }
html:not(.st-on) .s1fig { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; margin: 14px 0 18px; border-left: 0; }
html:not(.st-on) .s1fig img { width: 100%; aspect-ratio: 3 / 5; object-fit: cover; object-position: 50% 8%; }
html:not(.st-on) .t-h1, html:not(.st-on) .t-h2 { display: block; font-size: clamp(40px, 9vw, 72px); }
html:not(.st-on) .t-over { display: block; margin-bottom: 10px; }
html:not(.st-on) .t-quote { margin: 14px 0 6px; }
html:not(.st-on) .t-small { display: block; margin-top: 8px; }
html:not(.st-on) .t-stat { margin-top: 22px; font-size: clamp(56px, 12vw, 96px); }
html:not(.st-on) .sc-1 .t-stat, html:not(.st-on) .sc-1 .t-body, html:not(.st-on) .sc-1 .t-small, html:not(.st-on) .sc-1 .t-quote { text-align: left; }
html:not(.st-on) .sc-2 .t-num { margin-top: 18px; padding-left: 16px; border-left: 2px solid var(--fu); }
html:not(.st-on) .sc-2 .t-label { padding-left: 18px; }
html:not(.st-on) .sc-2 [data-id="c2.close"] { margin-top: 22px; }
html:not(.st-on) .rls { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 20px 0 12px; }
html:not(.st-on) .card { margin-top: 16px; }
html:not(.st-on) .key { margin-top: 22px; }
html:not(.st-on) .key .t-key { font-size: clamp(40px, 9vw, 72px); }
html:not(.st-on) .sc-4 .t-body { margin-top: 12px; }
html:not(.st-on) .lbs { display: grid; gap: 10px; margin-top: 18px; justify-items: start; }
html:not(.st-on) .lb { white-space: normal; border-radius: 16px; }
html:not(.st-on) .sc-6 .t-body, html:not(.st-on) .sc-6 .t-key { display: block; margin-top: 12px; }
html:not(.st-on) .phone { position: relative; display: block; width: 393px; height: 852px; margin: 34px 0 calc(852px * -.28 + 10px) calc(50% - 196.5px); transform: scale(.72); transform-origin: 50% 0; }
html:not(.st-on) .phone__screen { border-radius: 55px; }
html:not(.st-on) .sc-7 { background: var(--ink); color: #FFFFFF; max-width: none; padding: 56px var(--gut) 48px; margin-top: 56px; }
html:not(.st-on) .sc-7 > * { max-width: 728px; margin-left: auto; margin-right: auto; }
html:not(.st-on) .c7h { display: block; margin-bottom: 18px; }
html:not(.st-on) .rcl { display: grid; gap: 10px; margin-top: 14px; }
html:not(.st-on) .rr { text-align: left; }
html:not(.st-on) .sc-7 .t-over--c, html:not(.st-on) .sc-7 .t-small--c { text-align: left; }
html:not(.st-on) .nr { margin-top: 12px; }
html:not(.st-on) .hv--d { position: relative; display: block; height: 320px; margin: 10px 0 18px; border-radius: 18px; overflow: hidden; }
html:not(.st-on) .hv--d img { width: 100%; height: 100%; object-fit: cover; }
html:not(.st-on) .store { left: 16px; bottom: 16px; }
html:not(.st-on) .sl--9 { display: inline-block; margin: 10px 8px 0 0; }
html:not(.st-on) .t-body--w { color: var(--ink); text-shadow: none; }
html:not(.st-on) .sc-9 .t-h1 { margin-top: 24px; }
html:not(.st-on) .ct { margin: 22px 0 16px; max-width: 520px; }
html:not(.st-on) .sc-9 { padding-bottom: 110px; }
@media (min-width: 760px) {
  html:not(.st-on) .rls { grid-template-columns: repeat(4, 1fr); }
  html:not(.st-on) .s1fig { max-width: 520px; }
}
