/* TartamudeAI — the house (11-nov-2026).
   The craft of the house: huge one-line titles with one word in italic serif; real scenes that show the product (the
   app's own screens, inside a phone); the pill with its light, its ring and its shine; halos; and something alive,
   the voice that flows (casa.js), which breathes at six cycles a minute (the rhythm of a calm breath) and moves even
   when the system asks for less motion. The colour is Juan's: a pastel blue, the sky and the sea, with a vivid sea
   blue and a night blue for everything that must be read (every pair here passes WCAG AA), and one warm light, the
   dawn, used only as light (the voice, the pill's ring, the night panel), never for a word on white. Every colour lives
   of the brand lives in :root and nowhere else (the voice's ribbons too). Fonts served by us, with fallbacks that take the same room, so
   that nothing jumps while they load. */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/fuentes/inter-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("/fuentes/instrument-serif-latin-400-italic.woff2") format("woff2"); }
/* Arial / Liberation Sans with Inter's measures. */
@font-face { font-family: "Inter Fallback"; src: local("Arial"), local("ArialMT"), local("Liberation Sans"),
  local("LiberationSans"); size-adjust: 103.94%; ascent-override: 93.2%; descent-override: 23.21%; line-gap-override: 0%; }
@font-face { font-family: "Serif Fallback"; font-style: italic; src: local("Georgia Italic"), local("Georgia-Italic"),
  local("Noto Serif Italic"), local("DejaVu Serif Italic"); size-adjust: 88%; }

/* The palette (marca/MARCA.md), built in OKLCH: Cielo is the brand; Mar and Noche carry the words; Amanecer is the
   one warm light. */
:root {
  color-scheme: light;
  --blanco: #ffffff;
  --bruma: #ebf6ff;     /* the sky's tint: grounds */
  --cielo: #97d7fe;     /* THE brand colour: a luminous pastel sky */
  --cielo-2: #6abef6;   /* the pastel with presence: the voice, the halos */
  --mar: #006cc7;       /* the vivid sea blue that is read: 5.3:1 on white, 4.9:1 on bruma */
  --mar-claro: #2b92e1;
  --mar-hondo: #0050a2; /* 7.9:1 */
  --noche: #051d3f;     /* titles and ink: 16.8:1 on white */
  --amanecer: #f7b889;  /* the dawn: light only, never a word on white (9.7:1 on noche) */
  --gris: #4a5d71;      /* 6.8:1 */
  --gris-2: #5d6e80;    /* 5.2:1 */
  --linea: #e2ecf5;
  --linea-2: #d5e3f0;
  --borde-campo: #7f97ae; /* a field's edge: 3:1, so it can be seen */
  --error: #b42318;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --muelle: cubic-bezier(0.34, 1.56, 0.64, 1);
  --sans: "Inter", "Inter Fallback", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --serif: "Instrument Serif", "Serif Fallback", Georgia, serif;
  --ancho: 1200px;
  --margen: 24px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { min-height: 100dvh; background: var(--blanco); color: var(--noche); font: 400 17px/1.55 var(--sans);
  letter-spacing: -0.011em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; font-feature-settings: "cv05" 1, "cv08" 1; overflow-x: clip; }
/* The sky over the page: a pastel light from above, under the header's glass. */
body.cielo { background: var(--blanco) radial-gradient(60% 48% at 50% 0%, color-mix(in srgb, var(--cielo) 62%, transparent) 0%,
  color-mix(in srgb, var(--cielo) 22%, transparent) 45%, transparent 78%) no-repeat 50% 0 / 2000px 1150px; }
body.cielo-suave { background: var(--blanco) radial-gradient(60% 50% at 50% 0%, color-mix(in srgb, var(--cielo) 34%, transparent),
  transparent 72%) no-repeat 50% 0 / 1800px 700px; }
a { color: inherit; }
svg { display: block; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--mar) 60%, transparent); outline-offset: 3px; border-radius: 8px; }
/* A section the menu glided to takes the focus (casa.js), for the keyboard; it is not a control, so no ring around it. */
section[tabindex="-1"]:focus { outline: none; }
.oculto { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.envoltura { width: 100%; max-width: calc(var(--ancho) + 2 * var(--margen)); margin: 0 auto; padding: 0 var(--margen); }
.estrecha { max-width: calc(860px + 2 * var(--margen)); }

/* ---------- The mark and the name ---------- */
.marca { display: inline-flex; align-items: center; gap: 10px; color: var(--noche); text-decoration: none;
  font: 800 19px/1 var(--sans); letter-spacing: -0.035em; }
.marca img { width: 32px; height: 32px; flex: none;
  filter: drop-shadow(0 6px 14px color-mix(in srgb, var(--cielo-2) 60%, transparent)); }
.marca b { font-weight: 800; color: var(--mar); }
/* The logo that speaks (casa.js): the icon inline, the same size and halo as the picture it replaces. */
.marca .icono-marca { width: 32px; height: 32px; flex: none; overflow: visible;
  filter: drop-shadow(0 6px 14px color-mix(in srgb, var(--cielo-2) 60%, transparent)); }
.marca .barra-marca { transform-box: fill-box; transform-origin: 50% 50%; }
.marca .brillo-marca { opacity: 0; }
.marca .letra { position: relative; top: 0; font-style: normal; }
.marca.habla .barra-marca { animation: barra-habla 0.62s cubic-bezier(0.45, 0, 0.25, 1) calc(var(--i) * 70ms) both; }
.marca.habla .brillo-marca { animation: brillo-marca 0.7s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both; }
.marca.habla .letra { animation: letra-habla 0.42s cubic-bezier(0.34, 1.4, 0.64, 1) calc(0.36s + var(--i) * 36ms) both; }
@keyframes barra-habla { 0%, 100% { transform: scaleY(1); } 35% { transform: scaleY(1.3); } 70% { transform: scaleY(0.78); } }
@keyframes brillo-marca { 0% { opacity: 1; transform: translateX(0) skewX(-18deg); }
  100% { opacity: 1; transform: translateX(120px) skewX(-18deg); } }
@keyframes letra-habla { 0%, 100% { top: 0; } 40% { top: -0.2em; } }
.marca-clara { color: var(--blanco); }
.marca-clara b { color: var(--cielo); }

/* ---------- Titles: one line always, as big as fits (100cqi ÷ the text's own measured width) ---------- */
.titulado { container-type: inline-size; }
.titulo { font-family: var(--sans); font-weight: 800; letter-spacing: -0.045em; line-height: 1.04; white-space: nowrap;
  font-size: min(calc(100cqi / var(--div)), var(--techo, 72px)); color: var(--noche); }
.titulo em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.012em; color: var(--mar);
  padding-right: 0.05em; }
/* The greeting's hand («Hola Juan 👋»: the app's Inicio and the site's phone of it). Juan, 15-nov: it moves a little,
   subtle: it waves from the wrist, a short wave and a long rest, and it moves even when the system asks for less
   motion, like all that is alive in the house. A rotation takes no room, so the greeting's one line is as measured. */
.saluda { display: inline-block; transform-origin: 72% 82%; animation: saluda 6.5s ease-in-out 0.5s infinite; }
@keyframes saluda {
  0%, 28%, 100% { transform: rotate(0deg); }
  5% { transform: rotate(13deg); }
  10% { transform: rotate(-6deg); }
  15% { transform: rotate(11deg); }
  20% { transform: rotate(-3deg); }
  24% { transform: rotate(5deg); }
}
.centrado { text-align: center; }
.entradilla { font-size: clamp(18px, 1.1vw + 13px, 22px); line-height: 1.5; color: var(--gris); letter-spacing: -0.016em;
  text-wrap: pretty; }

/* ---------- The pill: its light breathing under it (six breaths a minute), its body lit from above, its ring of
   light turning, its shine ---------- */
.cta { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; height: 62px;
  border-radius: 999px; color: var(--blanco); text-decoration: none; isolation: isolate; border: 0; background: none;
  font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.cta .luz { position: absolute; left: 50%; top: 50%; width: 440px; height: 440px; margin: -220px 0 0 -220px;
  border-radius: 50%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--cielo-2) 42%, transparent),
    color-mix(in srgb, var(--cielo) 14%, transparent) 52%, transparent);
  animation: respira 10s ease-in-out infinite; }
@keyframes respira { 0%, 100% { transform: scale(0.86); opacity: 0.65; } 50% { transform: scale(1.06); opacity: 1; } }
.cta .cuerpo { position: absolute; inset: 0; border-radius: inherit; overflow: hidden;
  background: linear-gradient(180deg, color-mix(in srgb, var(--mar) 72%, #fff) 0%, var(--mar) 48%, var(--mar-hondo) 100%);
  box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, 0.45), inset 0 -3px 8px rgba(0, 0, 0, 0.18),
    0 22px 56px color-mix(in srgb, var(--mar) 38%, transparent), 0 4px 12px color-mix(in srgb, var(--noche) 16%, transparent);
  transition: transform 0.35s var(--muelle), box-shadow 0.35s ease, filter 0.2s ease; }
.cta .brillo { position: absolute; top: -40%; bottom: -40%; left: -40%; width: 32%; opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent); transform: skewX(-20deg); }
@property --giro { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.cta .anillo { position: absolute; inset: -3px; border-radius: inherit; padding: 2px; pointer-events: none;
  background: conic-gradient(from var(--giro), transparent 0deg, color-mix(in srgb, var(--cielo) 70%, transparent) 60deg,
    #fff 100deg, var(--amanecer) 145deg, transparent 230deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  filter: drop-shadow(0 0 6px color-mix(in srgb, var(--cielo-2) 90%, transparent));
  animation: gira 5s linear infinite; transition: transform 0.35s var(--muelle); }
@keyframes gira { to { --giro: 360deg; } }
.cta .texto { position: relative; display: inline-flex; align-items: center; gap: 10px; font: 650 18px/1 var(--sans);
  letter-spacing: -0.012em; white-space: nowrap; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  transition: transform 0.35s var(--muelle); }
.cta .texto small { font-weight: 500; font-size: 15px; opacity: 0.85; }
.cta .texto svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.3; stroke-linecap: round;
  stroke-linejoin: round; transition: translate 0.35s var(--muelle); }
@media (hover: hover) {
  .cta:hover .cuerpo, .cta:hover .anillo, .cta:hover .texto { transform: translateY(-3px); }
  .cta:hover .texto svg { translate: 3px 0; }
  .cta:hover .brillo { opacity: 1; transform: translateX(470%) skewX(-20deg);
    transition: transform 0.7s cubic-bezier(0.45, 0, 0.55, 1), opacity 0.1s linear; }
}
.cta:active .cuerpo, .cta:active .anillo, .cta:active .texto { transform: scale(0.97); transition-duration: 0.08s; }
.cta:active .cuerpo { filter: brightness(1.08); }
.cta:focus-visible { outline: none; }
.cta:focus-visible .anillo { inset: -6px; padding: 3px; }
.cta[disabled] { cursor: progress; }
.cta[disabled] .cuerpo { filter: saturate(0.7) brightness(1.05); }

/* The small one, for the header. */
.boton-chico { display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 999px;
  color: var(--blanco); text-decoration: none; font: 650 15px/1 var(--sans); letter-spacing: -0.01em; white-space: nowrap;
  background: linear-gradient(180deg, color-mix(in srgb, var(--mar) 80%, #fff) 0%, var(--mar) 42%, var(--mar-hondo) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 8px 22px color-mix(in srgb, var(--mar) 32%, transparent);
  transition: transform 0.3s var(--muelle), box-shadow 0.3s ease; }
@media (hover: hover) { .boton-chico:hover { transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 12px 28px color-mix(in srgb, var(--mar) 40%, transparent); } }

/* ---------- The header: glass, floating ---------- */
.cabecera { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--blanco) 42%, transparent);
  -webkit-backdrop-filter: saturate(1.8) blur(20px); backdrop-filter: saturate(1.8) blur(20px);
  border-bottom: 1px solid transparent; transition: border-color 0.3s ease, background-color 0.3s ease; }
.cabecera[data-bajada] { background: color-mix(in srgb, var(--blanco) 82%, transparent);
  border-bottom-color: color-mix(in srgb, var(--linea-2) 80%, transparent); }
.cabecera .envoltura { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.menu-sitio { display: flex; align-items: center; gap: 30px; }
.menu-sitio a:not(.boton-chico) { font: 600 15px/1 var(--sans); letter-spacing: -0.01em; color: var(--noche);
  text-decoration: none; transition: color 0.2s ease; }
.menu-sitio a:not(.boton-chico):hover { color: var(--mar); }
/* Where you are, a section of the front or a page: its name in the sea, and a line of the sea under it (casa.js marks
   it with aria-current while the section is on the screen). */
.menu-sitio .enlace-menu { position: relative; }
.menu-sitio .enlace-menu[aria-current] { color: var(--mar); }
.menu-sitio .enlace-menu::after { content: ""; position: absolute; left: 0; right: 0; bottom: -9px; height: 2px; border-radius: 2px;
  background: var(--mar); transform: scaleX(0); transition: transform 0.35s var(--ease); }
.menu-sitio .enlace-menu[aria-current]::after { transform: scaleX(1); }
/* «Iniciar sesión» (or «Mi cuenta», casa.js): the ink, a step quieter than the pill. */
.menu-sitio a.entrar { font-weight: 650; }
/* The menu button, only on a phone: two lines that become a cross. */
.abre-menu { position: relative; display: none; width: 44px; height: 44px; margin-right: -10px; border: 0; border-radius: 12px;
  background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.abre-menu i { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--noche);
  transition: transform 0.35s var(--ease), top 0.35s var(--ease); }
.abre-menu i:first-child { top: 17px; }
.abre-menu i:last-child { top: 25px; }
.abre-menu[aria-expanded="true"] i:first-child { top: 21px; transform: rotate(45deg); }
.abre-menu[aria-expanded="true"] i:last-child { top: 21px; transform: rotate(-45deg); }
@media (max-width: 899px) {
  .menu-sitio { gap: 12px; }
  .menu-sitio .enlace-menu, .menu-sitio a.entrar, .menu-sitio .boton-chico { display: none; }
  .abre-menu { display: block; }
}
/* The phone's menu: the whole screen under the header, the sky of the front, big words and the pill. */
.menu-movil { position: fixed; z-index: 29; left: 0; right: 0; top: 64px; bottom: 0; overflow-y: auto; overscroll-behavior: contain;
  background: radial-gradient(90% 50% at 50% 0%, color-mix(in srgb, var(--cielo) 46%, transparent), transparent 75%),
    radial-gradient(80% 36% at 50% 100%, color-mix(in srgb, var(--amanecer) 30%, transparent), transparent 75%), var(--blanco);
  animation: menu-entra 0.35s var(--ease) both; }
@keyframes menu-entra { from { opacity: 0; translate: 0 -8px; } }
.menu-movil .envoltura { display: flex; flex-direction: column; min-height: 100%; padding-top: 18px; padding-bottom: 34px; }
.menu-movil-enlaces { display: flex; flex-direction: column; }
.menu-movil-enlaces a { padding: 16px 2px; border-bottom: 1px solid var(--linea); font: 800 30px/1.1 var(--sans);
  letter-spacing: -0.035em; color: var(--noche); text-decoration: none; }
.menu-movil-enlaces a[aria-current] { color: var(--mar); }
.menu-movil-pie { display: flex; flex-direction: column; align-items: center; margin-top: auto; padding-top: 36px; }
html.menu-abierto { overflow: hidden; }
@media (min-width: 900px) { .menu-movil { display: none !important; } }


/* ---------- The first screen: the title, the app in a phone, and under it the button, all in the first screen ---------- */
.portada { position: relative; isolation: isolate; overflow: clip; text-align: center; padding: clamp(24px, 4.5vh, 56px) 0 28px; }
.portada .titulado { margin-top: 14px; }
.portada .titulo { --techo: 168px; }
.portada .entradilla { max-width: 31em; margin: 18px auto 0; }
.acciones { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 34px; }
.acciones .cta { max-width: 360px; }
/* The button stands on the phone's fade, in front of it: the phone ends where the button begins. */
.portada .acciones { position: relative; z-index: 3; margin-top: -34px; }
.nota { font: 500 15px/1.45 var(--sans); color: var(--gris-2); letter-spacing: -0.01em; }
/* The phone rises out of the voice; the page fades it into white. Its height is what the screen leaves (svh: it does
   not jump when the phone's address bar folds), so the button below it is still in the first screen. */
.escena-portada { position: relative; overflow: clip; height: clamp(340px, calc(100svh - 370px), 470px); margin-top: 34px; }
.escena-portada .voz { position: absolute; z-index: 0; left: 50%; top: 26%; width: 1800px; height: 280px; margin-left: -900px; }
.escena-portada .telefono { position: absolute; z-index: 1; left: 50%; top: 6px; translate: -50% 0; }  /* its rings fit */
.escena-portada::after { content: ""; position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: 160px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 82%); pointer-events: none; }
/* The dawn on the horizon the phone rises from: a warm light under the sky, behind the voice. */
.escena-portada::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 10px; width: 1500px; height: calc(100% + 40px);
  margin-left: -750px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--amanecer) 46%, transparent),
    color-mix(in srgb, var(--amanecer) 14%, transparent) 55%, transparent); }

/* ---------- The voice that flows (casa.js): ribbons of light, behind everything, never over a word ---------- */
.voz { pointer-events: none; }
.voz svg { width: 100%; height: 100%; overflow: visible; }
.voz .halo { filter: blur(16px); opacity: 0.6; }
/* Its three ribbons: the sky, the dawn and the sea (the site's casa.js and the app's Voz.svelte draw them). */
.voz .tono-0 stop { stop-color: var(--cielo-2); }
.voz .tono-1 stop { stop-color: var(--amanecer); }
.voz .tono-2 stop { stop-color: var(--mar); }

/* ---------- The phone: the app's own screens (390 × 844) scaled into it ---------- */
.telefono { --w: 300; --escala: calc((var(--w) - 22) / 390); position: relative; flex: none; width: calc(var(--w) * 1px);
  padding: 11px; border-radius: calc(var(--w) * 0.168px); background: #0b1624;
  box-shadow: 0 0 0 1.5px #b9c8d8, 0 0 0 4px #e8eef5, 0 0 0 5px #c5d2df,
    0 70px 120px -40px color-mix(in srgb, var(--noche) 42%, transparent), 0 40px 80px -40px color-mix(in srgb, var(--mar) 45%, transparent); }
.telefono::before { content: ""; position: absolute; left: -7px; top: 22%; width: 3px; height: 7%; border-radius: 2px;
  background: #c5d2df; box-shadow: 0 calc(var(--w) * 0.14px) 0 #c5d2df; }
.telefono::after { content: ""; position: absolute; right: -7px; top: 27%; width: 3px; height: 12%; border-radius: 2px;
  background: #c5d2df; }
.pantalla-tel { position: relative; width: calc((var(--w) - 22) * 1px); height: calc(844px * var(--escala));
  border-radius: calc(var(--w) * 0.132px); overflow: hidden; background: var(--blanco); }
.lienzo { position: absolute; left: 0; top: 0; width: 390px; height: 844px; transform: scale(var(--escala));
  transform-origin: 0 0; }

/* ---------- The app's screens: the same pieces the app uses ---------- */
.app { position: relative; display: flex; flex-direction: column; height: 100%; padding: 0 24px; background: var(--blanco);
  color: var(--noche); font: 400 17px/1.5 var(--sans); letter-spacing: -0.011em; text-align: left; container-type: inline-size;
  isolation: isolate; }
.app::after { content: ""; position: absolute; left: 50%; bottom: 8px; width: 134px; height: 5px; margin-left: -67px;
  border-radius: 3px; background: var(--noche); opacity: 0.85; z-index: 5; }
.barra-estado { position: relative; display: flex; align-items: center; justify-content: space-between; height: 54px;
  margin: 0 -2px; padding: 4px 6px 0 18px; font: 650 17px/1 var(--sans); letter-spacing: -0.01em; flex: none; }
.barra-estado .isla { position: absolute; left: 50%; top: 11px; width: 124px; height: 36px; margin-left: -62px;
  border-radius: 20px; background: #05070a; }
.barra-estado .iconos { display: inline-flex; align-items: center; gap: 6px; }
.barra-estado svg { height: 12px; width: auto; fill: currentColor; }
.cabeza { display: flex; align-items: center; justify-content: space-between; height: 52px; flex: none; }
.app .fecha-dia { margin-top: 30px; font: 700 12px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gris-2); }
/* The app's own title: one line, as big as fits up to 52 px (lib/Titulo.svelte), 26 px under what is above it. */
.app .titulo { --techo: 52px; margin-top: 26px; }
.tarjeta { position: relative; background: var(--blanco); border: 1px solid var(--linea); border-radius: 30px; padding: 22px 22px 6px;
  box-shadow: 0 30px 70px color-mix(in srgb, var(--cielo) 30%, transparent), 0 2px 6px color-mix(in srgb, var(--noche) 4%, transparent); }
.app .titulo + .tarjeta { margin-top: 26px; }
.tarjeta .cab { display: flex; align-items: baseline; justify-content: space-between; }
.tarjeta .cab b { font: 700 12px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--noche); }
.tarjeta .cab span { font: 600 14px/1 var(--sans); color: var(--gris-2); font-variant-numeric: tabular-nums; }
/* Today's session: a line of steps, the one of now lit. */
.pasos { list-style: none; position: relative; margin: 14px 0 0; }
.pasos::before { content: ""; position: absolute; left: 13px; top: 22px; bottom: 26px; width: 2px; background: var(--linea-2); }
.pasos li { position: relative; display: grid; grid-template-columns: 28px 1fr auto; gap: 14px; align-items: center; min-height: 52px;
  font-weight: 600; letter-spacing: -0.015em; }
.pasos .p { z-index: 1; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--blanco);
  border: 2px solid var(--linea-2); font: 700 11px/1 var(--sans); color: var(--gris-2); font-variant-numeric: tabular-nums; }
.pasos li.ahora .p { border: 0; color: var(--blanco); background: var(--mar); animation: late 2.6s ease-in-out infinite; }
.pasos li.ahora::after { content: ""; position: absolute; left: 13px; top: 40px; height: 30px; width: 2px;
  background: linear-gradient(var(--mar), transparent); }
.pasos .n { color: var(--noche); }
.pasos .m { color: var(--gris-2); font-weight: 500; font-size: 15px; font-variant-numeric: tabular-nums; }
@keyframes late {
  0%, 100% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--cielo) 45%, transparent), 0 8px 18px color-mix(in srgb, var(--mar) 40%, transparent); }
  50% { box-shadow: 0 0 0 11px color-mix(in srgb, var(--cielo) 22%, transparent), 0 8px 22px color-mix(in srgb, var(--mar) 50%, transparent); } }
.app .cta { margin-top: 22px; flex: none; }
.reto { margin-top: 22px; font: 600 19px/1.35 var(--sans); letter-spacing: -0.02em; color: var(--noche); }
.reto span { display: block; margin-bottom: 8px; font: 700 12px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gris-2); }
.reto em { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.22em; color: var(--mar); letter-spacing: -0.01em; }
.relleno { flex: 1; min-height: 12px; }
/* The menu, the app's (lib/Menu.svelte): glass at the foot of the screen, over what scrolls under it; five places
   (Inicio · Escalera · Chat · Progreso · Cuenta), one mark over the place you are in. */
.menu { position: absolute; z-index: 4; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(5, 1fr);
  padding: 10px 10px 34px; background: color-mix(in srgb, var(--blanco) 86%, transparent); border-top: 1px solid var(--linea);
  -webkit-backdrop-filter: saturate(1.8) blur(20px); backdrop-filter: saturate(1.8) blur(20px); }
.menu span { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 4px 0;
  color: var(--gris-2); font: 600 11px/1 var(--sans); letter-spacing: -0.005em; }
.menu span.aqui { color: var(--noche); }
.menu span.aqui::before { content: ""; position: absolute; top: -10px; left: 50%; width: 22px; height: 3px; margin-left: -11px;
  border-radius: 0 0 3px 3px; background: var(--mar); box-shadow: 0 2px 10px color-mix(in srgb, var(--cielo-2) 80%, transparent); }
.menu svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.menu span.aqui svg { translate: 0 -1px; stroke-width: 2.2; }
/* A conversation: the character waits through a block. */
.conv-cab { display: flex; align-items: center; justify-content: space-between; height: 64px; flex: none; }
.conv-cab .que { display: block; font: 700 12px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gris-2); }
.conv-cab b { display: block; margin-top: 7px; font: 800 24px/1 var(--sans); letter-spacing: -0.035em; }
/* the way out of a screen; as a button too, without the browser's own border round it (seen in the app, 15-nov) */
.cerrar { width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; display: grid; place-items: center; background: var(--bruma);
  color: inherit; cursor: pointer; flex: none; }
.cerrar svg { width: 16px; height: 16px; fill: none; stroke: var(--noche); stroke-width: 2.4; stroke-linecap: round; }
.llamada { display: flex; flex-direction: column; align-items: center; margin-top: 34px; text-align: center; flex: none; }
.llamada .cara { position: relative; width: 124px; height: 124px; border-radius: 50%; display: grid; place-items: center;
  font: 800 48px/1 var(--sans); color: var(--blanco); background: linear-gradient(160deg, var(--cielo-2), var(--mar));
  box-shadow: 0 0 0 12px color-mix(in srgb, var(--cielo) 34%, transparent), 0 22px 44px color-mix(in srgb, var(--mar) 30%, transparent); }
.llamada .cara::before, .llamada .cara::after { content: ""; position: absolute; inset: -14px; border-radius: 50%;
  border: 2px solid var(--cielo-2); opacity: 0; }
.llamada b { margin-top: 22px; font: 800 26px/1.1 var(--sans); letter-spacing: -0.035em; }
.llamada small { margin-top: 7px; font: 500 15px/1.3 var(--sans); color: var(--gris); }
.burbujas { display: flex; flex-direction: column; gap: 12px; flex: none; }
.b { max-width: 84%; padding: 13px 17px; border-radius: 22px; font: 500 17px/1.38 var(--sans); letter-spacing: -0.012em; }
.b-ia { align-self: flex-start; color: var(--noche); background: var(--bruma); border-bottom-left-radius: 8px; }
.b-tu { align-self: flex-end; color: var(--blanco); border-bottom-right-radius: 8px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--mar) 82%, #fff), var(--mar));
  box-shadow: 0 10px 24px color-mix(in srgb, var(--mar) 26%, transparent); }
.escribiendo { align-self: flex-start; display: inline-flex; gap: 5px; padding: 17px 18px; border-radius: 22px;
  border-bottom-left-radius: 8px; background: var(--bruma); }
.escribiendo i { width: 8px; height: 8px; border-radius: 50%; background: var(--gris-2); animation: punto 1.2s ease-in-out infinite; }
.escribiendo i:nth-child(2) { animation-delay: 0.15s; }
.escribiendo i:nth-child(3) { animation-delay: 0.3s; }
@keyframes punto { 0%, 100% { opacity: 0.3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
@keyframes entra { from { opacity: 0; translate: 0 10px; } }
.micro { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 26px 0 40px; flex: none; }
.boton-micro { position: relative; width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center;
  color: var(--blanco); background: linear-gradient(180deg, var(--mar-claro), var(--mar) 55%, var(--mar-hondo));
  box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, 0.45), 0 16px 36px color-mix(in srgb, var(--mar) 40%, transparent); }
.boton-micro::before, .boton-micro::after { content: ""; position: absolute; inset: -2px; border-radius: 50%;
  border: 2px solid var(--cielo-2); animation: onda 2.8s ease-out infinite; }
.boton-micro::after { animation-delay: 1.4s; }
.boton-micro svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@keyframes onda { from { transform: scale(0.9); opacity: 0.9; } to { transform: scale(1.7); opacity: 0; } }
/* ---------- The site's phones: the app's screens of today, piece by piece, with the app's own measures (its screen is
   390 px wide, as the phone's canvas is; web/app/src/estilo.css). Every piece is named tel-…, so that none of these
   rules ever reaches the app, which reads this sheet too (test_casa_y_la_app.py). ---------- */
.tel-que { display: block; font: 700 12px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gris-2); }
.tel-boton-2 { display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 0 18px; border-radius: 999px;
  border: 1px solid var(--linea-2); background: var(--blanco); color: var(--noche); font: 650 15px/1 var(--sans);
  letter-spacing: -0.01em; white-space: nowrap; box-shadow: 0 8px 22px color-mix(in srgb, var(--cielo) 30%, transparent); }
/* Inicio (Inicio.svelte): your day, around the session's ring; the challenge and the two minutes to warm up; graba tu
   vida and tus eventos; the shape Inicio takes on a 390 × 844 with its status bar. */
.tel-inicio .fecha-dia { margin-top: 12px; }
.tel-inicio .titulo { margin-top: 14px; }
.app .tel-sesion { margin-top: 12px; padding: 18px 18px 12px; flex: none; }
.tel-sesion-cuerpo { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: center; margin-top: 8px; }
.tel-anillo { position: relative; flex: none; width: 100px; height: 100px; }
.tel-anillo svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.tel-anillo .tel-tono { stop-color: var(--mar); }
.tel-anillo .tel-tono-claro { stop-color: var(--mar-claro); }
.tel-anillo .tel-pista { fill: none; stroke: var(--bruma); }
.tel-arco { fill: none; stroke-linecap: round; }
.tel-arco.luego { stroke: var(--linea-2); }
.tel-arco.ahora { stroke: var(--cielo-2); filter: drop-shadow(0 0 5px color-mix(in srgb, var(--cielo-2) 75%, transparent)); }
/* the light along the block of now, from its start to its end (49.7 px, the arc's length), again and again */
.tel-luz { fill: none; stroke: #fff; stroke-linecap: round; stroke-dasharray: 9px 1000px; opacity: 0.95; filter: drop-shadow(0 0 4px #fff);
  animation: tel-luz 3.4s cubic-bezier(0.45, 0, 0.55, 1) 1.2s infinite both; }
@keyframes tel-luz { from { stroke-dashoffset: 9px; } to { stroke-dashoffset: -49.7px; } }
.tel-centro { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.tel-centro b { font: 800 30px/1 var(--sans); letter-spacing: -0.05em; color: var(--noche); font-variant-numeric: tabular-nums; }
.tel-centro small { margin-top: 4px; font: 700 10.5px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gris-2); }
.tel-bloques { display: grid; margin: 0; padding: 0; list-style: none; }
.tel-bloques li { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; gap: 10px; align-items: center; min-height: 32px;
  font: 600 15px/1.22 var(--sans); letter-spacing: -0.015em; }
.tel-bloques .p { position: relative; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--linea-2); background: var(--blanco); }
.tel-bloques li.ahora .p { border: 0; background: var(--mar); animation: late 2.6s ease-in-out infinite; }
.tel-bloques li.hecho .p { border: 0; background: var(--cielo); }
.tel-bloques li.hecho .p svg { position: absolute; inset: -2px; width: 16px; height: 16px; fill: none; stroke: var(--noche); stroke-width: 3.2;
  stroke-linecap: round; stroke-linejoin: round; }
.tel-bloques .n { color: var(--noche); }
.tel-bloques li.luego .n { color: var(--gris-2); }
.tel-bloques li.hecho .n { color: var(--gris); }
.tel-bloques .m { font: 500 13.5px/1 var(--sans); color: var(--gris-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tel-bloques li.ahora .m { color: var(--mar); font-weight: 650; }
.tel-inicio .cta { margin-top: 16px; }
.tel-reto { margin-top: 16px; flex: none; }
.tel-reto-cab { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tel-reto-cab > span:first-child { font: 700 11px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gris-2); }
.tel-calentar { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px 0 10px; border-radius: 999px;
  border: 1px solid var(--linea-2); background: var(--blanco); color: var(--noche); font: 650 14px/1 var(--sans); white-space: nowrap;
  box-shadow: 0 10px 26px color-mix(in srgb, var(--cielo) 34%, transparent); }
.tel-calentar i { width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle, var(--cielo-2) 0 38%, transparent 40%),
  radial-gradient(circle, color-mix(in srgb, var(--cielo) 60%, transparent) 0 70%, transparent 72%); animation: respira 10s ease-in-out infinite; }
.tel-reto-texto { margin-top: 6px; font: 650 17px/1.32 var(--sans); letter-spacing: -0.02em; color: var(--noche); text-wrap: pretty; }
.tel-filas { display: grid; gap: 2px; margin-top: 14px; flex: none; }
.tel-fila { display: flex; align-items: center; gap: 10px; padding: 1px 4px; }
.tel-fila b { flex: 1; min-width: 0; font: 650 15px/1.2 var(--sans); letter-spacing: -0.012em; color: var(--noche); }
.tel-icono { flex: none; display: grid; place-items: center; width: 18px; height: 18px; }
svg.tel-icono { fill: none; stroke: var(--mar); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tel-luz-vida { position: relative; width: 12px; height: 12px; border-radius: 50%;
  background: radial-gradient(circle at 38% 34%, #fff 0 18%, var(--amanecer) 60%, #d9782f 100%);
  box-shadow: 0 0 10px 2px color-mix(in srgb, var(--amanecer) 70%, transparent); }
.tel-luz-vida::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--amanecer) 75%, transparent);
  animation: tel-graba 2.4s ease-out infinite; }
@keyframes tel-graba { from { transform: scale(0.45); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.tel-abre { flex: none; width: 16px; height: 16px; fill: none; stroke: var(--mar); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
/* A conversation (Hablar.svelte, the simulator): where and at what level; the character, an AI, beside its name; its
   face over its voice, and what is happening under it; your task; what was said; the microphone. casa.js plays it:
   the AI speaks (her rings, the microphone quiet), listens to you (her face deeper, the microphone alive), waits through
   your block, thinks, and answers. */
.tel-conv-cab { display: flex; align-items: center; justify-content: space-between; height: 72px; flex: none; }
.tel-conv-cab b { display: block; margin-top: 7px; font: 800 24px/1 var(--sans); letter-spacing: -0.035em; }
.tel-es-ia { display: inline-block; margin-left: 8px; padding: 4px 7px 3px; border-radius: 999px; vertical-align: 4px; font: 800 11px/1 var(--sans);
  letter-spacing: 0.08em; color: var(--mar-hondo); background: color-mix(in srgb, var(--cielo) 34%, var(--blanco));
  border: 1px solid color-mix(in srgb, var(--mar) 22%, transparent); }
.tel-llamada { position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: center; margin-top: 10px;
  text-align: center; flex: none; }
.tel-voz-cara { position: absolute; z-index: -1; left: -24px; right: -24px; top: 50%; height: 150px; margin-top: -92px; }
.tel-voz-cara .halo { stroke-width: 8px; filter: blur(5px); opacity: 0.35; }
.tel-cara { position: relative; width: 104px; height: 104px; border-radius: 50%; display: grid; place-items: center; font: 800 40px/1 var(--sans);
  color: var(--blanco); background: linear-gradient(160deg, var(--cielo-2), var(--mar)); transition: background 0.4s ease;
  box-shadow: 0 0 0 10px color-mix(in srgb, var(--cielo) 34%, transparent), 0 22px 44px color-mix(in srgb, var(--mar) 30%, transparent); }
.tel-cara::before, .tel-cara::after { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 2px solid var(--cielo-2); opacity: 0; }
.tel-conv[data-habla="ia"] .tel-cara::before, .tel-conv[data-habla="ia"] .tel-cara::after { animation: onda 2.4s ease-out infinite; }
.tel-conv[data-habla="ia"] .tel-cara::after { animation-delay: 1.2s; }
.tel-conv[data-habla="tu"] .tel-cara { background: linear-gradient(160deg, var(--mar-claro), var(--mar-hondo)); }
.tel-llamada small { max-width: 18em; margin-top: 26px; font: 500 15px/1.3 var(--sans); color: var(--gris); }
.tel-tarea { margin: 4px 8px 0; text-align: center; font: 500 14px/1.5 var(--sans); color: var(--gris); flex: none; }
.tel-burbujas { display: flex; flex: 1; min-height: 0; flex-direction: column; justify-content: flex-end; gap: 12px; overflow: hidden; padding: 18px 0 6px;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 46px); mask-image: linear-gradient(to bottom, transparent 0, #000 46px); }
.tel-b-nombre { align-self: flex-start; margin: 6px 0 -2px 4px; font: 700 11px/1 var(--sans); letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gris-2); }
.tel-b { max-width: 84%; padding: 13px 17px; border-radius: 22px; font: 500 17px/1.38 var(--sans); letter-spacing: -0.012em; }
.tel-b-ia { align-self: flex-start; color: var(--noche); background: var(--bruma); border-bottom-left-radius: 8px; }
.tel-b-tu { align-self: flex-end; color: var(--blanco); border-bottom-right-radius: 8px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--mar) 82%, #fff), var(--mar)); box-shadow: 0 10px 24px color-mix(in srgb, var(--mar) 26%, transparent); }
.tel-escribiendo { align-self: flex-start; display: inline-flex; gap: 5px; padding: 17px 18px; border-radius: 22px; border-bottom-left-radius: 8px;
  background: var(--bruma); }
.tel-escribiendo i { width: 8px; height: 8px; border-radius: 50%; background: var(--gris-2); animation: punto 1.2s ease-in-out infinite; }
.tel-escribiendo i:nth-child(2) { animation-delay: 0.15s; }
.tel-escribiendo i:nth-child(3) { animation-delay: 0.3s; }
.tel-conv:not(.animada) .tel-escribiendo { display: none; }
.tel-conv.animada [data-paso]:not(.se-ve) { display: none; }
[data-paso].se-ve { animation: entra 0.5s var(--ease) both; }
.tel-micro { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 14px 0 30px; flex: none; }
.tel-boton-micro { position: relative; width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; color: var(--blanco);
  background: linear-gradient(180deg, var(--mar-claro), var(--mar) 55%, var(--mar-hondo)); transition: background 0.4s ease;
  box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, 0.45), 0 16px 36px color-mix(in srgb, var(--mar) 40%, transparent); }
.tel-boton-micro::before, .tel-boton-micro::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--cielo-2);
  animation: onda 2.8s ease-out infinite; }
.tel-boton-micro::after { animation-delay: 1.4s; }
.tel-boton-micro svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* while the AI speaks or thinks, the microphone is quiet, and «Ya está» waits for your words */
.tel-conv:not([data-habla="tu"]) .tel-boton-micro { background: linear-gradient(180deg, #9fb2c6, #7f95ab); }
.tel-conv:not([data-habla="tu"]) .tel-boton-micro::before, .tel-conv:not([data-habla="tu"]) .tel-boton-micro::after { animation: none; opacity: 0; }
.tel-acciones { display: flex; gap: 10px; justify-content: center; }
.tel-conv:not([data-habla="tu"]) .tel-acciones .tel-boton-2:first-child { opacity: 0.55; }
/* Reading syllable by syllable (Ejercicio.svelte): what is read in the ink, each syllable said in time with its short
   line of the sea under it; the one of the pulse in the sea, its light underneath; what comes in the sky's grey; the
   pulse; and tu IA following you, its ring filling with what is read. casa.js plays it, at the pulse's pace. */
.tel-barra-ej { display: flex; align-items: center; justify-content: space-between; height: 56px; flex: none; }
.tel-tiempo { font: 700 17px/1 var(--sans); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.tel-lectura { flex: 1; min-height: 0; overflow: hidden; padding: 8px 0 16px; font: 600 27px/1.75 var(--sans); letter-spacing: -0.02em; color: #b9c7d5;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22px, #000 calc(100% - 22px), transparent);
  mask-image: linear-gradient(to bottom, transparent 0, #000 22px, #000 calc(100% - 22px), transparent); }
.tel-sil { position: relative; transition: color 0.2s ease; }
.tel-sil.ya { color: var(--noche); }
.tel-sil.ya::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: -0.1em; height: 3px; border-radius: 3px;
  background: color-mix(in srgb, var(--mar) 70%, transparent); }
.tel-sil.ahora { color: var(--mar); }
.tel-sil.ahora::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0.1em; height: 0.11em; border-radius: 1em; background: var(--mar);
  box-shadow: 0 0 16px var(--cielo-2), 0 0 4px var(--mar); }
.tel-pulso { display: flex; align-items: center; justify-content: center; gap: 10px; height: 34px; flex: none; font: 650 14px/1 var(--sans);
  color: var(--gris); font-variant-numeric: tabular-nums; }
.tel-golpe { width: 14px; height: 14px; border-radius: 50%; background: var(--mar); opacity: 0.35; }
.tel-golpe.late { animation: tel-golpe 0.42s ease-out both; }
@keyframes tel-golpe { from { transform: scale(1.5); opacity: 1; box-shadow: 0 0 0 6px color-mix(in srgb, var(--cielo-2) 55%, transparent); }
  to { transform: scale(0.8); opacity: 0.35; box-shadow: 0 0 0 0 transparent; } }
.tel-escucha { display: flex; align-items: center; gap: 14px; margin: 10px 0 30px; padding: 10px 10px 10px 12px; border-radius: 30px; flex: none;
  background: color-mix(in srgb, var(--blanco) 88%, transparent);
  box-shadow: 0 0 0 1px var(--linea), 0 18px 40px color-mix(in srgb, var(--cielo) 36%, transparent); }
.tel-anillo-escucha { position: relative; flex: none; display: grid; place-items: center; width: 66px; height: 66px; }
.tel-anillo-escucha svg { position: absolute; inset: 0; width: 100%; height: 100%; rotate: -90deg; overflow: visible; }
.tel-anillo-escucha .tel-pista { fill: none; stroke: color-mix(in srgb, var(--cielo) 60%, var(--linea-2)); stroke-width: 6; }
.tel-lleno { fill: none; stroke: var(--mar); stroke-width: 6; stroke-linecap: round; filter: drop-shadow(0 0 5px var(--cielo-2));
  transition: stroke-dasharray 0.6s ease; }
.tel-cara-escucha { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; font: 800 19px/1 var(--sans); color: var(--blanco);
  background: linear-gradient(160deg, var(--cielo-2), var(--mar)); box-shadow: 0 8px 20px color-mix(in srgb, var(--mar) 30%, transparent); }
.tel-linea-escucha { flex: 1; min-width: 0; font: 650 15px/1.35 var(--sans); color: var(--noche); }
.tel-escucha .tel-boton-2 { height: 44px; }
/* The living ladder (Escalera.svelte): what you already do, your next challenge, and each step from the least fear to
   the most, its fear of today on its bar and a tick where it was at the start. */
.tel-escalera-hoy { display: grid; gap: 10px; margin-top: 14px; flex: none; }
.tel-ya-haces { display: flex; align-items: baseline; gap: 10px; }
.tel-ya-haces b { font: 800 44px/0.95 var(--sans); letter-spacing: -0.05em; color: var(--noche); }
.tel-ya-haces span { font: 600 16px/1.25 var(--sans); color: var(--gris); }
.tel-siguiente { padding: 12px 14px; border-radius: 18px; background: var(--bruma); font: 650 16px/1.35 var(--sans); color: var(--noche); }
.tel-siguiente span { display: block; margin-bottom: 4px; font: 700 11px/1.2 var(--sans); letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gris-2); }
.tel-parrafo { margin-top: 14px; font: 500 18px/1.55 var(--sans); color: var(--gris); letter-spacing: -0.014em; flex: none; }
.tel-peldanos { display: grid; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; flex: none; }
.tel-peldanos li { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border-radius: 18px; border: 1px solid var(--linea);
  background: var(--blanco); }
.tel-peldanos .n { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--bruma);
  font: 700 13px/1 var(--sans); color: var(--mar); font-variant-numeric: tabular-nums; }
.tel-peldanos .n svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.tel-peldanos li.tel-siguiente-li { border-color: var(--mar); box-shadow: inset 0 0 0 1px var(--mar); }
.tel-peldanos li.tel-la-haces .n { background: var(--cielo); color: var(--noche); }
.tel-peldanos li.tel-superado .n { background: var(--mar); color: var(--blanco); }
.tel-t { flex: 1; min-width: 0; }
.tel-t b { display: block; font: 650 16px/1.35 var(--sans); color: var(--noche); }
.tel-t small { display: block; margin-top: 3px; font: 500 13px/1.35 var(--sans); color: var(--gris-2); }
.tel-t small strong { font-weight: 700; color: var(--mar-hondo); }
.tel-barra { position: relative; display: block; height: 4px; margin-top: 8px; border-radius: 4px; background: var(--linea); }
.tel-barra i { display: block; height: 100%; border-radius: 4px; background: var(--cielo-2); }
.tel-barra em { position: absolute; top: -3px; width: 2px; height: 10px; margin-left: -1px; border-radius: 1px; background: var(--gris-2); }
/* each step's fear, today and (its tick) at the start */
.tel-peldanos li:nth-child(1) .tel-barra i { width: 15%; } .tel-peldanos li:nth-child(1) .tel-barra em { left: 35%; }
.tel-peldanos li:nth-child(2) .tel-barra i { width: 20%; } .tel-peldanos li:nth-child(2) .tel-barra em { left: 40%; }
.tel-peldanos li:nth-child(3) .tel-barra i { width: 35%; } .tel-peldanos li:nth-child(3) .tel-barra em { left: 50%; }
.tel-peldanos li:nth-child(4) .tel-barra i { width: 55%; }
.tel-peldanos li:nth-child(5) .tel-barra i { width: 70%; }
.tel-peldanos li:nth-child(6) .tel-barra i { width: 85%; }
.evento { margin-top: 18px; padding: 18px 20px; flex: none; }
.evento .n-evento { margin-top: 10px; font: 750 21px/1.2 var(--sans); letter-spacing: -0.03em; }

/* ---------- The scenes ---------- */
.escena { position: relative; overflow-x: clip; padding: clamp(72px, 11vh, 132px) 0; }
/* «Así funciona.» (Juan, 21-nov): the title that opens the scenes, centred like «Elige tu plan.», with the same air
   above and below (the 28 px make up for the first scene starting lower than its padding): closer, it sat on Lucía's phone. */
.presenta { padding: clamp(72px, 11vh, 132px) 0 28px; }
.presenta .titulo { --techo: 116px; }
/* On a phone (Juan, 21-nov), where the scene's text comes first: the same air below «Así funciona.» as above it (the
   28 px above are for the computer's centred scene), and the three scene titles one size, the longest's: the divisor
   is .t-silabeo's (below), so it changes with it. */
@media (max-width: 999px) {
  .presenta { padding-bottom: clamp(72px, 11vh, 132px); }
  .presenta + .escena { padding-top: 0; }
  .texto-escena .titulo { --div: 6.59; }
}
.escena.banda { background: linear-gradient(180deg, var(--blanco) 0%, var(--bruma) 16%, var(--bruma) 84%, var(--blanco) 100%); }
.escena .envoltura { display: grid; gap: 64px; justify-items: center; }
.texto-escena { width: 100%; max-width: 540px; }
.texto-escena .titulo { --techo: 112px; }
.texto-escena > p { margin-top: 18px; font-size: 19px; line-height: 1.58; color: var(--gris); letter-spacing: -0.014em; text-wrap: pretty; }
.lugar-tel { position: relative; isolation: isolate; display: grid; place-items: center; width: 100%; }
.lugar-tel::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 50%; width: 620px; height: 620px; margin: -310px 0 0 -310px;
  border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--cielo) 62%, transparent),
    color-mix(in srgb, var(--cielo) 16%, transparent) 58%, transparent); }

/* ---------- The method: the deep sea ---------- */
.metodo { padding: clamp(24px, 6vh, 72px) 0; }
.panel { position: relative; isolation: isolate; overflow: clip; border-radius: 40px; color: var(--blanco);
  padding: clamp(44px, 7vw, 88px) clamp(24px, 5.5vw, 76px) clamp(170px, 16vw, 210px);
  background: radial-gradient(70% 60% at 85% 0%, color-mix(in srgb, var(--mar) 62%, transparent), transparent 70%),
    linear-gradient(165deg, var(--noche) 0%, color-mix(in srgb, var(--noche) 82%, var(--mar)) 60%,
      color-mix(in srgb, var(--noche) 64%, var(--mar)) 100%); }
/* The dawn is never laid over the blue (a warm light over a blue mixes into grey): here it is the word and a ribbon. */
.panel .voz { position: absolute; z-index: -1; left: -10%; right: -10%; bottom: -10px; height: 180px; opacity: 0.85; }
.panel .titulo { --techo: 120px; color: var(--blanco); }
.panel .titulo em { color: var(--amanecer); }
.panel .entradilla { max-width: 34em; margin-top: 22px; color: color-mix(in srgb, var(--cielo) 30%, #fff); }
.cifras { list-style: none; display: grid; gap: 14px; margin-top: 46px; }
.cifras li { padding: 26px 26px 24px; border-radius: 26px; background: color-mix(in srgb, #fff 6%, transparent);
  border: 1px solid color-mix(in srgb, #fff 13%, transparent); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.cifras b { display: block; font: 800 68px/0.95 var(--sans); letter-spacing: -0.055em; font-variant-numeric: tabular-nums; }
.cifras em { display: block; margin-top: 8px; font: italic 400 27px/1.1 var(--serif); color: var(--cielo); letter-spacing: -0.01em; }

/* ---------- Questions: one sentence each ---------- */
.preguntas .titulo { --techo: 116px; }
.preguntas { padding: clamp(24px, 5vh, 64px) 0 clamp(80px, 12vh, 140px); }
/* On its own page (/preguntas) it opens the page: the same room under the header as «Precios» and «Cómo funciona». */
main > .preguntas:first-child { padding-top: clamp(72px, 11vh, 132px); }
.lista-preguntas { max-width: 820px; margin: 44px auto 0; border-top: 1px solid var(--linea-2); text-align: left; }
.lista-preguntas details { border-bottom: 1px solid var(--linea-2); }
.lista-preguntas summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 23px 4px;
  list-style: none; cursor: pointer; font: 650 19px/1.35 var(--sans); letter-spacing: -0.02em; color: var(--noche); }
.lista-preguntas summary::-webkit-details-marker { display: none; }
.lista-preguntas summary i { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--bruma);
  transition: background-color 0.25s ease; }
.lista-preguntas summary i::before, .lista-preguntas summary i::after { content: ""; position: absolute; left: 50%; top: 50%;
  width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--mar); transition: transform 0.35s var(--ease); }
.lista-preguntas summary i::after { transform: rotate(90deg); }
.lista-preguntas details[open] summary i { background: color-mix(in srgb, var(--cielo) 55%, #fff); }
.lista-preguntas details[open] summary i::after { transform: rotate(0deg); }
.lista-preguntas details p { max-width: 38em; padding: 0 4px 26px; font-size: 18px; line-height: 1.55; color: var(--gris); }

/* ---------- The closing: who builds it, in one paragraph, and the first step ---------- */
.cierre { padding: 0 0 clamp(72px, 11vh, 120px); }
.panel-cierre { position: relative; isolation: isolate; overflow: clip; border-radius: 40px; text-align: center;
  max-width: 960px; margin: 0 auto; padding: clamp(44px, 6vw, 72px) clamp(22px, 4.5vw, 56px) clamp(150px, 14vw, 182px);
  /* a sky at dawn: the blue, then white, then the warm light on the horizon the voice flows along */
  background: linear-gradient(180deg, var(--bruma) 0%, color-mix(in srgb, var(--cielo) 56%, #fff) 46%,
    color-mix(in srgb, var(--cielo) 14%, #fff) 66%, #fff 80%, color-mix(in srgb, var(--amanecer) 36%, #fff) 100%);
  border: 1px solid var(--linea); container-type: inline-size; }
.panel-cierre .voz { position: absolute; z-index: -1; left: -6%; right: -6%; bottom: 0; height: 180px; }
/* The paragraph keeps one of two measured shapes, each line a whole piece of the sentence (scripts/web/cierre.js):
   on a phone, six lines, which come out whenever the column is 14.8 to 16.4 times the letter, so the letter follows
   the card (100cqi ÷ 14.9) and the column stops at 15.6; on a computer, three, one per sentence and the second at
   its comma. A short word never ends a line (its space does not break, in the HTML). */
.cierre-texto { max-width: 15.6em; margin: 0 auto; font: 600 clamp(15px, 100cqi / 14.9, 21px)/1.42 var(--sans);
  letter-spacing: -0.024em; color: var(--noche); text-wrap: balance; }
@media (min-width: 760px) { .cierre-texto { max-width: 29em; font-size: clamp(22px, 1vw + 14.5px, 28px); } }
.panel-cierre .acciones { margin-top: clamp(30px, 3.4vw, 42px); }
.campo { display: block; }
.campo > span { display: block; margin: 0 0 9px 4px; font: 600 15px/1 var(--sans); color: var(--noche); }
.campo input { width: 100%; height: 60px; padding: 0 20px; border: 1px solid var(--borde-campo); border-radius: 18px;
  font: 500 18px/1 var(--sans); letter-spacing: -0.01em; color: var(--noche); background: var(--blanco);
  box-shadow: 0 1px 2px color-mix(in srgb, var(--noche) 5%, transparent), 0 12px 30px color-mix(in srgb, var(--cielo) 26%, transparent);
  transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.campo input::placeholder { color: #8b9db0; }
.campo input:focus { outline: none; border-color: var(--mar);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--cielo-2) 40%, transparent), 0 12px 30px color-mix(in srgb, var(--cielo) 30%, transparent); }
.casilla { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; margin-top: 18px; cursor: pointer;
  font: 500 15px/1.5 var(--sans); color: var(--gris); letter-spacing: -0.008em; }
.casilla input { appearance: none; -webkit-appearance: none; width: 26px; height: 26px; margin: 0; border-radius: 8px; cursor: pointer;
  border: 1.5px solid var(--borde-campo); background: var(--blanco); transition: background-color 0.2s ease, border-color 0.2s ease; }
.casilla input:checked { border-color: var(--mar);
  background: var(--mar) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7'/%3E%3C/svg%3E") center / 15px no-repeat; }
.casilla input:focus-visible { outline: 3px solid color-mix(in srgb, var(--mar) 55%, transparent); outline-offset: 2px; }
.casilla a { color: var(--mar); font-weight: 650; }
.aviso { min-height: 22px; margin-top: 14px; font: 600 15px/1.45 var(--sans); color: var(--error); text-align: center; }
.aviso:empty { margin-top: 0; }

/* ---------- The footer: the deep of the sea ---------- */
.pie-sitio { background: var(--noche); color: #b8cde2; padding: 68px 0 38px; }
/* The sea's focus ring vanishes on the night: in the footer, a keyboard sees the sky's. */
.pie-sitio :focus-visible { outline-color: var(--cielo); }
.pie-arriba { display: grid; gap: 44px; }
.pie-marca p { max-width: 22em; margin-top: 16px; font: 500 15px/1.55 var(--sans); }
/* The four profiles (one handle, @tartamudeai), under the brand: each network's own glyph (Simple Icons, CC0), in the
   ink of the footer's links. Every one is a 44 px target; the first glyph stands on the brand's left edge. */
.pie-redes { display: flex; flex-wrap: wrap; margin: 20px 0 0 -12px; padding: 0; list-style: none; }
.pie-redes a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: #e3eef8;
  transition: color 0.2s, background-color 0.2s; }
.pie-redes a:hover { color: var(--blanco); background: color-mix(in srgb, #fff 8%, transparent); }
.pie-redes svg { width: 20px; height: 20px; fill: currentColor; }
.pie-columnas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 24px; }
.pie-columnas div { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; }
.pie-columnas b { margin-bottom: 3px; font: 700 12px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--cielo); }
.pie-columnas a { font: 500 15px/1.3 var(--sans); color: #e3eef8; text-decoration: none; }
/* B8.11: the largest text of the system (a phone of 390 px at 200 % is 195 px across): the footer, one column, and the
   four profiles still on one row (their targets at 38 px). */
@media (max-width: 300px) {
  .pie-columnas { grid-template-columns: 1fr; }
  .pie-redes { margin-left: -9px; }
  .pie-redes a { width: 38px; height: 38px; }
}
.pie-columnas a:hover { color: var(--blanco); text-decoration: underline; text-underline-offset: 3px; }
.pie-abajo { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px; margin-top: 30px; padding-top: 24px;
  border-top: 1px solid color-mix(in srgb, #fff 10%, transparent); font: 500 13px/1.5 var(--sans); color: #93abc3; }

/* ---------- Documents (the legal pages) ---------- */
/* AdiosMulta's legal document, in TartamudeAI's blue (11-nov, Juan: «la misma estética, el mismo diseño premium»): the
   text in a 720 px column at 17 px, «Volver al inicio» above a plain heavy title, the date in grey, each section
   numbered under a hairline, and «En esta página» at the right on a computer (sticky, the section you are in marked
   in blue); on a phone, folded in «Índice». */
body.hoja { background: var(--blanco); }
.legal { padding: clamp(32px, 6vh, 56px) 0 clamp(80px, 12vh, 128px); }
.legal-rejilla { display: grid; gap: 48px; }
/* B8.11: a long address (an e-mail, a link) breaks before it leaves a narrow screen or a large text. */
.legal-texto { min-width: 0; max-width: 720px; overflow-wrap: anywhere; }
.volver { display: inline-flex; align-items: center; gap: 8px; font: 500 16px/1 var(--sans); color: var(--mar); text-decoration: none; }
.volver svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.volver:hover { text-decoration: underline; text-underline-offset: 3px; }
.legal-texto h1 { margin-top: 44px; font: 800 clamp(34px, 5vw, 52px)/1.06 var(--sans); letter-spacing: -0.035em; color: var(--noche); }
/* B8.11: with the system's large text (a phone at 200 % is 195 px across) the title gives way, not its words: «privacidad» and «condiciones» fit whole */
@media (max-width: 340px) { .legal-texto h1 { font-size: min(34px, 11vw); } }
.legal-texto h2 { position: relative; margin: 80px 0 20px; font: 700 clamp(21px, 2.3vw, 25px)/1.28 var(--sans); letter-spacing: -0.018em;
  color: var(--noche); scroll-margin-top: 88px; }
.legal-texto h2::before { content: ""; position: absolute; left: 0; right: 0; top: -40px; height: 1px; background: var(--linea-2); }
.legal-texto h3 { margin: 40px 0 14px; font: 700 18px/1.35 var(--sans); letter-spacing: -0.01em; color: var(--noche); }
.legal-texto p, .legal-texto ul { font: 400 17px/1.75 var(--sans); color: #34485c; }
.legal-texto p { margin-bottom: 18px; }
.legal-texto .actualizado { margin: 14px 0 44px; font: 500 14px/1.5 var(--sans); color: var(--gris-2); }
.legal-texto ul { margin-bottom: 22px; padding-left: 22px; }
.legal-texto li { margin-bottom: 10px; padding-left: 4px; }
.legal-texto li::marker { color: var(--gris-2); }
/* B8.11: a link inside the text is told by more than its colour (WCAG 1.4.1): a fine underline, full on hover. */
.legal-texto a { color: var(--mar); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px;
  text-decoration-color: color-mix(in srgb, var(--mar) 40%, transparent); }
.legal-texto a:hover { text-decoration-color: currentColor; }
.legal-texto strong { color: var(--noche); font-weight: 600; }
/* A legal table (what /cookies keeps in your browser), as AdiosMulta's: in its own frame, the name of each row whole;
   on a phone each row is a block, what it names on top and each datum under its column's name (its data-label). */
.legal-texto table { width: 100%; margin: 4px 0 28px; border: 1px solid var(--linea-2); border-radius: 14px; border-collapse: separate;
  border-spacing: 0; overflow-wrap: break-word; font: 400 15px/1.55 var(--sans); color: #34485c; }
.legal-texto th { padding: 12px 14px; text-align: left; font: 600 13px/1.35 var(--sans); color: var(--noche); background: var(--bruma);
  border-bottom: 1px solid var(--linea-2); }
.legal-texto th:first-child { border-top-left-radius: 13px; }
.legal-texto th:last-child { border-top-right-radius: 13px; }
.legal-texto td { padding: 12px 14px; vertical-align: top; border-bottom: 1px solid var(--linea); }
.legal-texto tr:last-child td { border-bottom: 0; }
.legal-texto td:first-child { font-weight: 600; color: var(--noche); }
@media (min-width: 641px) { .legal-texto td:first-child { white-space: nowrap; } }
@media (max-width: 640px) {
  .legal-texto table, .legal-texto tbody, .legal-texto tr, .legal-texto td { display: block; }
  .legal-texto thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .legal-texto tr { padding: 16px 18px; border-bottom: 1px solid var(--linea); }
  .legal-texto tr:last-child { border-bottom: 0; }
  .legal-texto td { padding: 0; border: 0; font-size: 15.5px; }
  .legal-texto td + td { margin-top: 10px; }
  .legal-texto td[data-label]::before { content: attr(data-label); display: block; margin-bottom: 2px; font: 700 11px/1.4 var(--sans);
    letter-spacing: 0.08em; text-transform: uppercase; color: var(--gris-2); }
}
.indice { margin: -12px 0 44px; border: 1px solid var(--linea-2); border-radius: 18px; background: var(--bruma); }
.indice summary { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; cursor: pointer; list-style: none;
  font: 700 17px/1 var(--sans); color: var(--noche); }
.indice summary::-webkit-details-marker { display: none; }
.indice summary i { width: 30px; height: 30px; border-radius: 50%; background: var(--blanco) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23051d3f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: rotate 0.2s ease; }
.indice[open] summary i { rotate: 180deg; }
.indice ol, .en-esta-pagina ol { list-style: none; margin: 0; padding: 0; }
.indice ol { padding: 0 20px 14px; }
.indice a { display: block; padding: 9px 0; font: 500 15.5px/1.35 var(--sans); color: var(--noche); text-decoration: none; }
.num { margin-right: 0.35em; color: var(--gris-2); font-variant-numeric: tabular-nums; }
.en-esta-pagina { display: none; }
.en-esta-pagina > p { margin: 0 0 10px; padding-left: 16px; font: 700 11px/1 var(--sans); letter-spacing: 0.11em; text-transform: uppercase;
  color: var(--gris-2); }
.en-esta-pagina a { display: block; padding: 8px 0 8px 14px; border-left: 2px solid var(--linea-2); font: 500 14.5px/1.3 var(--sans);
  color: var(--gris); text-decoration: none; transition: color 0.15s ease, border-color 0.15s ease; }
.en-esta-pagina a:hover { color: var(--noche); }
.en-esta-pagina a.aqui { color: var(--mar); border-left-color: var(--mar); }
.en-esta-pagina a.aqui .num { color: inherit; }
@media (min-width: 1024px) {
  .legal-rejilla { grid-template-columns: minmax(0, 720px) 260px; justify-content: space-between; gap: 64px; }
  .indice { display: none; }
  .en-esta-pagina { display: block; position: sticky; top: 112px; align-self: start; }
}

/* ---------- A page that says one thing (404, the list's link) ---------- */
.una-cosa { position: relative; isolation: isolate; overflow: clip; display: flex; flex-direction: column; justify-content: center;
  min-height: calc(100dvh - 64px); padding: 72px 0 250px; text-align: center; }
.una-cosa .voz { position: absolute; z-index: -1; left: 50%; bottom: 20px; width: 1800px; height: 250px; margin-left: -900px; }
.una-cosa .titulo { --techo: 128px; }
.una-cosa .entradilla { max-width: 30em; margin: 22px auto 0; }

/* ---------- A page of its own (Contacto): its title and its sentence ---------- */
.pagina-cab { text-align: center; padding: clamp(40px, 9vh, 104px) 0 clamp(20px, 5vh, 56px); }
.pagina-cab .titulo { --techo: 150px; }
.pagina-cab .entradilla { max-width: 30em; margin: 20px auto 0; }
/* ---------- The plans, a section of the front: three, the Método on the night ---------- */
.precios { overflow-x: clip; padding: clamp(72px, 11vh, 132px) 0 clamp(24px, 5vh, 64px); }
.precios .titulo { --techo: 116px; }
.precios .entradilla { max-width: 30em; margin: 18px auto 0; }
.planes { display: grid; gap: 18px; align-items: stretch; margin-top: 52px; text-align: left; }
.plan { position: relative; display: flex; flex-direction: column; padding: 34px 28px 30px; border-radius: 32px; background: var(--blanco);
  border: 1px solid var(--linea); box-shadow: 0 30px 70px color-mix(in srgb, var(--cielo) 24%, transparent),
    0 2px 6px color-mix(in srgb, var(--noche) 4%, transparent); container-type: inline-size; }
.plan h3 { font: 800 30px/1.05 var(--sans); letter-spacing: -0.04em; color: var(--noche); }
.plan-para { margin-top: 8px; font: 500 16px/1.45 var(--sans); color: var(--gris); }
/* The price and its «/mes + IVA»: one line always, on any phone or computer, and as big as the card's line allows,
   like a title: 100cqi ÷ the longest line's own width at a 1 px price (scripts/web/precios.js measures it, Inter and
   its fallback, the wider, plus 3 %, and checks every width), up to 64 px. The «/mes + IVA» and the gap are in em, so
   the line keeps its shape at every size; the three cards are as wide, so their prices are as big. */
.plan-precio { display: flex; align-items: baseline; gap: 0.107em; margin-top: 28px; white-space: nowrap;
  font-size: min(calc(100cqi / var(--div-precio)), 64px); }
.plan-precio b { font: 800 1em/1 var(--sans); letter-spacing: -0.055em; color: var(--noche); font-variant-numeric: tabular-nums; }
.plan-precio small { font: 600 0.3036em/1 var(--sans); color: var(--gris-2); }
.plan-nota { margin-top: 10px; font: 500 14px/1.45 var(--sans); color: var(--gris-2); }
/* Mensual or Anual (Juan, 21-nov; the month always first): two radios, no script; the page shows the period chosen.
   Each period has its own divisor, --div-precio (precios.js measures both), so the month keeps its size. */
.periodo-pago { display: inline-flex; gap: 4px; margin-top: 30px; padding: 5px; border-radius: 999px; background: var(--blanco);
  border: 1px solid var(--linea); box-shadow: 0 14px 36px color-mix(in srgb, var(--cielo) 26%, transparent); }
.periodo-pago label { position: relative; display: block; }
.periodo-pago input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.periodo-pago span { display: block; padding: 12px 24px; border-radius: 999px; font: 600 15px/1 var(--sans); letter-spacing: -0.01em;
  color: var(--noche); }
.periodo-pago input:checked + span { background: var(--noche); color: var(--blanco); }
.periodo-pago input:focus-visible + span { outline: 2px solid var(--mar); outline-offset: 2px; }
@media (prefers-reduced-motion: no-preference) { .periodo-pago span { transition: background-color .2s, color .2s; } }
.planes [data-periodo="ano"] { display: none; }
.precios:has(.periodo-pago input[value="ano"]:checked) .planes [data-periodo="mes"] { display: none; }
.precios:has(.periodo-pago input[value="ano"]:checked) .plan-precio[data-periodo="ano"] { display: flex; }
.precios:has(.periodo-pago input[value="ano"]:checked) .plan-nota[data-periodo="ano"] { display: block; }
.precios { --div-precio: 5.262; }
.precios:has(.periodo-pago input[value="ano"]:checked) { --div-precio: 5.794; }
.plan-lleva { list-style: none; display: grid; gap: 12px; margin: 26px 0 30px; flex: 1; align-content: start; }
.plan-lleva li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font: 500 16px/1.4 var(--sans); color: var(--noche); }
.plan-lleva svg { width: 20px; height: 20px; margin-top: 1px; fill: none; stroke: var(--mar); stroke-width: 2.4; stroke-linecap: round;
  stroke-linejoin: round; }
.plan .cta { flex: none; }
.plan-destacado { color: var(--blanco); border-color: transparent;
  background: radial-gradient(80% 50% at 85% 0%, color-mix(in srgb, var(--mar) 60%, transparent), transparent 70%),
    linear-gradient(165deg, var(--noche) 0%, color-mix(in srgb, var(--noche) 80%, var(--mar)) 100%);
  box-shadow: 0 40px 90px color-mix(in srgb, var(--mar) 30%, transparent), 0 2px 6px color-mix(in srgb, var(--noche) 10%, transparent); }
.plan-destacado h3, .plan-destacado .plan-precio b, .plan-destacado .plan-lleva li { color: var(--blanco); }
.plan-destacado .plan-para, .plan-destacado .plan-nota, .plan-destacado .plan-precio small { color: color-mix(in srgb, var(--cielo) 45%, #fff); }
.plan-destacado .plan-lleva svg { stroke: var(--amanecer); }
@media (min-width: 1000px) { .planes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* Contacto: two ways to write. */
.contacto { padding: clamp(16px, 4vh, 40px) 0 clamp(88px, 13vh, 150px); }
.contactos { list-style: none; display: grid; gap: 14px; max-width: 860px; margin: 0 auto; }
.contactos li { display: grid; gap: 8px; padding: 28px 26px; border-radius: 28px; background: var(--blanco); border: 1px solid var(--linea);
  box-shadow: 0 30px 70px color-mix(in srgb, var(--cielo) 24%, transparent), 0 2px 6px color-mix(in srgb, var(--noche) 4%, transparent); }
.contactos .icono { width: 50px; height: 50px; margin-bottom: 12px; border-radius: 16px; display: grid; place-items: center; color: var(--mar);
  background: linear-gradient(160deg, var(--bruma), color-mix(in srgb, var(--cielo) 45%, #fff)); }
.contactos svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.contactos b { font: 700 20px/1.25 var(--sans); letter-spacing: -0.022em; color: var(--noche); }
.contactos li > span:not(.icono) { font: 500 16px/1.5 var(--sans); color: var(--gris); }
.contactos a { margin-top: 10px; font: 650 18px/1.3 var(--sans); letter-spacing: -0.012em; color: var(--mar); text-decoration: none;
  overflow-wrap: anywhere; }
.contactos a:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (min-width: 760px) { .contactos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- The assistant: the site's AI chat, floating at the bottom right. Its button is the brand's logo alone,
   with nothing around it (Juan, 6-dic): its own shadow keeps it afloat, and its corners are the logo's (rx 19 of 64).
   On a computer its name shows beside it, in a pill of its own, under the cursor; on a phone the chat takes the whole
   screen. ---------- */
.asistente-boton { position: fixed; z-index: 40; right: 28px; bottom: 28px; width: 54px; height: 54px; padding: 0; border: 0;
  border-radius: 30%; cursor: pointer; background: none; -webkit-tap-highlight-color: transparent; }
.asistente-boton img { display: block; width: 100%; height: 100%;
  filter: drop-shadow(0 12px 22px color-mix(in srgb, var(--mar) 26%, transparent))
    drop-shadow(0 2px 5px color-mix(in srgb, var(--noche) 12%, transparent));
  transition: filter 0.3s ease; }
.asistente-etiqueta { position: absolute; top: 50%; right: calc(100% + 12px); translate: 8px -50%; padding: 12px 18px;
  border-radius: 999px; white-space: nowrap; font: 650 15px/1 var(--sans); letter-spacing: -0.01em; color: var(--noche);
  background: color-mix(in srgb, var(--blanco) 82%, transparent);
  -webkit-backdrop-filter: saturate(1.8) blur(16px); backdrop-filter: saturate(1.8) blur(16px);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--linea-2) 80%, transparent), 0 12px 30px color-mix(in srgb, var(--mar) 18%, transparent);
  opacity: 0; pointer-events: none; transition: opacity 0.2s ease, translate 0.3s var(--ease); }
@media (hover: hover) and (min-width: 769px) {
  .asistente-boton:hover { transform: translateY(-2px); }
  .asistente-boton:hover img { filter: drop-shadow(0 16px 28px color-mix(in srgb, var(--mar) 32%, transparent))
    drop-shadow(0 2px 5px color-mix(in srgb, var(--noche) 12%, transparent)); }
  .asistente-boton:hover .asistente-etiqueta { opacity: 1; translate: 0 -50%; }
}
.asistente-boton:focus-visible { outline: 3px solid color-mix(in srgb, var(--mar) 60%, transparent); outline-offset: 3px; }
.asistente-boton[aria-expanded="true"], html.menu-abierto .asistente-boton { opacity: 0; visibility: hidden; transform: scale(0.7);
  transition-delay: 0s, 0s, 0.25s; }
.asistente { position: fixed; z-index: 41; right: 26px; bottom: 26px; display: flex; flex-direction: column; width: 384px;
  max-width: calc(100vw - 32px); height: 600px; max-height: calc(100dvh - 52px); overflow: hidden; border-radius: 26px;
  background: var(--blanco); border: 1px solid var(--linea);
  box-shadow: 0 40px 100px color-mix(in srgb, var(--mar) 26%, transparent), 0 4px 14px color-mix(in srgb, var(--noche) 10%, transparent);
  animation: asistente-entra 0.35s var(--ease) both; transform-origin: bottom right; }
@keyframes asistente-entra { from { opacity: 0; transform: translateY(14px) scale(0.98); } }
.asistente-cab { position: relative; display: flex; align-items: center; gap: 12px; padding: 16px 14px 16px 18px; flex: none;
  background: radial-gradient(90% 140% at 0% 0%, color-mix(in srgb, var(--cielo) 40%, transparent), transparent 70%), var(--blanco);
  border-bottom: 1px solid var(--linea); }
.asistente-av { width: 40px; height: 40px; flex: none; }
.asistente-quien { flex: 1; min-width: 0; display: grid; gap: 4px; }
.asistente-quien b { font: 750 16px/1.15 var(--sans); letter-spacing: -0.02em; color: var(--noche); }
.asistente-cerrar { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border: 0; border-radius: 50%;
  background: var(--bruma); color: var(--noche); cursor: pointer; }
.asistente-cerrar svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.asistente-log { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; padding: 18px 16px; }
.asistente-msg { max-width: 86%; padding: 12px 15px; border-radius: 20px; font: 500 15.5px/1.45 var(--sans); letter-spacing: -0.01em;
  white-space: pre-line; overflow-wrap: anywhere; animation: entra 0.4s var(--ease) both; }
.asistente-msg a { color: var(--mar); font-weight: 650; text-decoration: underline; text-decoration-thickness: 1.5px;
  text-underline-offset: 3px; }
.asistente-msg.de-ia { align-self: flex-start; color: var(--noche); background: var(--bruma); border-bottom-left-radius: 7px; }
.asistente-msg.tuyo { align-self: flex-end; color: var(--blanco); border-bottom-right-radius: 7px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--mar) 82%, #fff), var(--mar)); }
.asistente-escribiendo { align-self: flex-start; display: inline-flex; gap: 5px; padding: 15px 16px; border-radius: 20px;
  border-bottom-left-radius: 7px; background: var(--bruma); }
.asistente-escribiendo i { width: 7px; height: 7px; border-radius: 50%; background: var(--gris-2); animation: punto 1.2s ease-in-out infinite; }
.asistente-escribiendo i:nth-child(2) { animation-delay: 0.15s; }
.asistente-escribiendo i:nth-child(3) { animation-delay: 0.3s; }
.asistente-escribe { display: flex; align-items: flex-end; gap: 10px; padding: 12px 14px 14px; flex: none; border-top: 1px solid var(--linea); }
.asistente-escribe textarea { flex: 1; min-height: 46px; max-height: 120px; padding: 12px 14px; resize: none; border: 1px solid var(--borde-campo);
  border-radius: 16px; font: 500 15.5px/1.4 var(--sans); color: var(--noche); background: var(--blanco); }
.asistente-escribe textarea:disabled { background: var(--bruma); border-color: var(--linea-2); cursor: not-allowed; }
.asistente-escribe button { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border: 0; border-radius: 14px;
  color: var(--blanco); background: var(--mar); cursor: pointer; }
.asistente-escribe button:disabled { background: color-mix(in srgb, var(--mar) 35%, #fff); cursor: not-allowed; }
.asistente-escribe button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round;
  stroke-linejoin: round; }
@media (max-width: 560px) {
  .asistente-boton { right: 18px; bottom: 18px; }
  .asistente { inset: 0; width: 100%; max-width: none; height: 100dvh; max-height: none; border-radius: 0; border: 0; }
  html.asistente-abierto { overflow: hidden; }
  /* On a phone the front's «Crear tu cuenta» sits at the bottom of the first screen: the button steps aside while it is
     in sight (casa.js) and comes back as soon as the page moves. */
  html.cta-a-la-vista .asistente-boton { opacity: 0; visibility: hidden; transform: translateY(12px) scale(0.85);
    transition-delay: 0s, 0s, 0.25s; }
}
/* It hides once it has faded out, but shows at once: so closing the chat can hand the focus back to it (casa.js). */
.asistente-boton { transition: transform 0.3s var(--muelle), opacity 0.25s ease, visibility 0s; }

/* ---------- Appear as the page moves (only what starts below the first screen) ---------- */
.aparece { opacity: 0; translate: 0 24px; transition: opacity 1s var(--ease), translate 1s var(--ease); }
.aparece.visto { opacity: 1; translate: 0 0; }
@media (prefers-reduced-motion: reduce) { .aparece { translate: none; transition-duration: 0.7s; } }

/* ---------- Each title's divisor: its width ÷ its font-size, measured in the browser with Inter and with the
   fallback (the wider), plus 3 % (scripts/web/medir_titulos.js). Re-measured whenever a title changes. ---------- */
.t-portada { --div: 6.98; } .t-funciona { --div: 5.46; } .t-espera { --div: 4.26; } .t-silabeo { --div: 6.59; } .t-paso { --div: 5.45; }
.t-metodo { --div: 5.33; } .t-preguntas { --div: 6.12; } .t-nada { --div: 7.52; }
.t-app-hola { --div: 6.46; } .t-app-escalera { --div: 5.06; }
.t-plan { --div: 5.5; } .t-leemos { --div: 6.31; }

/* ---------- On a computer ---------- */
@media (min-width: 900px) {
  .escena-portada { height: clamp(360px, calc(100svh - 470px), 540px); margin-top: 40px; }
  .escena-portada .telefono { --w: 336; }
  .escena-portada .voz { top: 24%; height: 320px; }
  .escena .telefono { --w: 330; }
  .cifras { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pie-arriba { grid-template-columns: 1.1fr 2fr; }
  .pie-columnas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .escena .envoltura { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 72px; }
  .escena .texto-escena { justify-self: start; }
  .escena.al-reves .texto-escena { order: 2; justify-self: end; }
}
