/* Animario · animario.com — the packing line, taken outside.
   Same world as the app (moulded pulp, label paper ruled in ink, egg-stamp digits, one reserved orange for
   «lo siguiente que toca»), pushed to marketing scale: one ink line down the page, four steps hung from it, with a
   single stop where the person approves. */

@font-face { font-family: Archivo; src: url("/ui/fonts/archivo.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: Doto; src: url("/ui/fonts/doto.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --pulp: #d1ccc2;
  --pulp-deep: #c1bbb0;
  --pulp-shade: #a9a296;
  --paper: #f4f0e8;
  --paper-2: #ebe5d9;
  --white: #fffdf8;
  --ink: #1d1a16;
  --ink-2: #4e473e;
  --ink-3: #6f665a;
  --rule: rgba(29, 26, 22, .22);
  --rule-strong: #1d1a16;
  --next: #ff8a3d;
  --next-deep: #e2702a;
  --next-pale: #ffd9bf;
  /* the content types' line tones, as the app has them (ui/ui/app.css, DESIGN.md → Type Tones): only the dots of the
     type row under «Cuatro pasos» */
  --t-curiosidades: var(--next); --t-historias: #4e9a6b; --t-misterios: #8c6cc4; --t-psicologia: #4f86c6; --t-actualidad: #e0679a;

  --f-ui: Archivo, system-ui, sans-serif;
  --f-dot: Doto, ui-monospace, monospace;
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1200px;
  --radio: 6px;
  --sombra: 0 18px 40px -22px rgba(29, 26, 22, .45), 0 2px 6px -2px rgba(29, 26, 22, .18);
  color-scheme: light;
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
/* what the Worker shows or hides when it serves the page (worker/src/credits.js: data-c-show, data-c-hide) stays hidden
   whatever its own display says: buttons, table rows and groups, spans inside a sentence */
[hidden] { display: none !important; }
html { background: var(--pulp); color: var(--ink); font: 400 17px/1.55 var(--f-ui); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; caret-color: var(--ink); scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; min-height: 100vh; overflow-x: clip;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .2 0 0 0 0 .18 0 0 0 0 .15 0 0 0 .17 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
}
::selection { background: var(--next); color: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
* { scrollbar-width: thin; scrollbar-color: var(--pulp-shade) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: var(--pulp-shade); border-radius: 10px; border: 2px solid var(--pulp); }
::-webkit-scrollbar-track { background: transparent; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
img, video, svg { display: block; max-width: 100%; }
p, dd, dt, li, summary { text-wrap: pretty; }
h1, h2, h3 { margin: 0; text-wrap: balance; font-weight: 800; font-stretch: 72%; line-height: 1; letter-spacing: -0.012em; }
h2 { font-size: clamp(32px, 4.6vw, 56px); }
h3 { font-size: 22px; font-stretch: 78%; line-height: 1.1; }
small { font-size: .82em; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.visualmente-oculto { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.salto { position: absolute; left: 16px; top: -60px; z-index: 50; padding: 10px 14px; background: var(--ink); color: var(--paper); border-radius: var(--radio); font-weight: 700; text-decoration: none; }
.salto:focus { top: 12px; }
.lede { color: var(--ink-2); max-width: 62ch; margin: 0; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; }
.nota { color: var(--ink-2); font-size: 14px; line-height: 1.5; margin: 0; max-width: 60ch; }
.num { font-variant-numeric: tabular-nums; }

/* the egg stamp: dot-matrix digits only, never running text */
.sello { font-family: var(--f-dot); font-weight: 800; letter-spacing: .03em; font-variant-numeric: tabular-nums; line-height: .9; }

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 700 15px/1 var(--f-ui); color: var(--ink); text-decoration: none; white-space: nowrap;
  padding: 0 18px; min-height: 44px; border-radius: var(--radio); border: 1px solid var(--rule-strong); background: var(--white);
  cursor: pointer; transition: background-color .18s var(--ease-out), transform .18s var(--ease-out), box-shadow .18s var(--ease-out);
}
.btn:hover { background: var(--paper-2); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn .ic { width: 18px; height: 18px; transition: transform .25s var(--ease-out); }
.btn:hover .ic { transform: translateX(3px); }
.btn.siguiente { background: var(--next); border-color: var(--next-deep); box-shadow: 0 1px 0 var(--next-deep), var(--sombra); }
.btn.siguiente:hover { background: #ff9a55; }
.btn.grande { min-height: 56px; padding: 0 24px; font-size: 17px; }
.btn.compacto { min-height: 38px; padding: 0 14px; font-size: 14px; box-shadow: none; }
.btn.fantasma { background: transparent; border-color: transparent; }
.btn.fantasma:hover { background: rgba(29, 26, 22, .06); }

/* ------------------------------------------------------------------ header */
.cabecera { position: sticky; top: 0; z-index: 40; background: rgba(209, 204, 194, .86); backdrop-filter: saturate(1.2) blur(10px); -webkit-backdrop-filter: saturate(1.2) blur(10px); border-bottom: 1px solid var(--rule); }
.cab-int { max-width: var(--max); margin: 0 auto; padding: 10px var(--gutter); display: flex; align-items: center; gap: 18px; }
.marca { display: inline-flex; align-items: center; text-decoration: none; padding: 4px 0; }
.marca img, .pie-marca img { display: block; height: 36px; width: auto; }
.pie-marca img { height: 32px; }
.marca-txt { font-weight: 800; font-stretch: 70%; font-size: 26px; line-height: 1; letter-spacing: -0.01em; }
.nav { margin-left: auto; }
.menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.menu a { display: inline-block; padding: 8px 12px; border-radius: var(--radio); font-weight: 600; font-size: 15px; color: var(--ink-2); text-decoration: none; }
.menu a:hover { color: var(--ink); background: rgba(255, 253, 248, .5); }
.solo-menu { display: none; }
.nav-btn { display: none; }
.cab-acciones { display: flex; align-items: center; gap: 6px; }

/* the language switch, «ES · EN»: the current one inked and underlined, the other a quiet link. In the bar, beside
   the actions; under 900px it moves into the menu panel; and again in the footer */
.idioma { display: inline-flex; align-items: center; font: 700 13px/1 var(--f-ui); letter-spacing: .06em; white-space: nowrap; }
.idioma a, .idioma-actual { display: inline-flex; align-items: center; min-height: 38px; min-width: 32px; justify-content: center; padding: 0 6px; border-radius: var(--radio); text-decoration: none; }
.idioma a { color: var(--ink-2); }
.idioma a:hover { color: var(--ink); background: rgba(255, 253, 248, .5); }
.idioma-actual { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .4em; }
.idioma-sep { color: var(--ink-3); padding: 0 1px; }

/* ------------------------------------------------------------------ hero */
main { display: block; position: relative; }
/* the line: one ink rail down the whole page, in the middle of the gutter, every section hung from it at its mark */
main::before { content: ""; position: absolute; top: 0; bottom: 0; left: calc(max(0px, (100% - var(--max)) / 2) + var(--gutter) / 2); width: 1px; background: var(--rule-strong); pointer-events: none; }
.hito { position: absolute; left: calc(var(--gutter) / 2); top: clamp(44px, 7vw, 100px); transform: translateX(-50%); writing-mode: vertical-rl; padding: 8px 0; background: var(--pulp); font-family: var(--f-dot); font-weight: 800; font-size: 13px; letter-spacing: .08em; color: var(--ink); white-space: nowrap; }
.prueba .hito { background: var(--ink); color: #e8e2d6; }
.ejemplos .hito { background: var(--pulp-deep); top: 0; }
.final .hito { background: var(--paper); }
.hero, .prueba-int, .como, .ejemplos-cab, .precios, .ganadores-int, .preguntas, .final-int { position: relative; }
.prueba-int::before { content: ""; position: absolute; top: 0; bottom: 0; left: calc(var(--gutter) / 2); width: 1px; background: rgba(244, 240, 232, .35); }
.hero { max-width: var(--max); margin: 0 auto; padding: clamp(40px, 7vw, 96px) var(--gutter) clamp(32px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(48px, 6.4vw, 92px); line-height: .92; letter-spacing: -0.028em; }
.hero h1 em { font-style: normal; }
@media (min-width: 641px) { .hero h1 em { white-space: nowrap; } }
.hero .lede { margin-top: clamp(20px, 2.6vw, 30px); max-width: 56ch; }
.hero-cta { margin-top: 30px; display: grid; gap: 12px; justify-items: start; }
.hero-botones { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; }
.enlace-ejemplo { font-weight: 700; font-size: 16px; text-underline-offset: .22em; display: inline-flex; align-items: center; gap: 8px; }
.enlace-ejemplo .sello { font-size: 15px; color: var(--ink-2); }
.hero-pasos { list-style: none; margin: 36px 0 0; padding: 14px 0 0; display: flex; flex-wrap: wrap; gap: 6px 22px; border-top: 1px solid var(--rule-strong); font-weight: 600; font-size: 14px; color: var(--ink-2); }
.hero-pasos li { display: inline-flex; align-items: center; gap: 8px; }
.hero-pasos li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); }

.hero-movil { margin: 0; justify-self: center; position: relative; width: min(100%, 330px); }
.movil { position: relative; aspect-ratio: 9 / 16; background: var(--ink); border: 1px solid var(--rule-strong); border-radius: 22px; overflow: hidden; box-shadow: var(--sombra); }
.movil video { width: 100%; height: 100%; object-fit: cover; background: var(--ink); }
.etiqueta-colgada {
  position: absolute; right: -14px; bottom: 44px; max-width: 250px;
  display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; align-items: center;
  padding: 12px 14px 12px 16px; background: var(--paper); border: 1px solid var(--rule-strong); border-radius: 4px;
  box-shadow: var(--sombra); transform: rotate(-2.5deg); font-size: 13px; line-height: 1.3; color: var(--ink-2);
}
.etiqueta-colgada::before { content: ""; position: absolute; left: -7px; top: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--pulp); border: 1px solid var(--rule-strong); transform: translateY(-50%); }
.etiqueta-colgada .sello { font-size: 30px; color: var(--ink); }
.etiqueta-colgada small { display: block; margin-top: 4px; color: var(--ink-3); font-size: 12px; line-height: 1.35; }

/* ------------------------------------------------------------------ proof */
.prueba { background: var(--ink); color: var(--paper); margin-top: clamp(24px, 4vw, 48px); }
.prueba-int { max-width: var(--max); margin: 0 auto; padding: clamp(56px, 7vw, 104px) var(--gutter); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: clamp(32px, 6vw, 96px); align-items: center; }
.prueba h2 { font-size: clamp(34px, 4.8vw, 60px); }
.prueba p { max-width: 58ch; }
.prueba .prueba-txt > p:not(.nota) { margin: 22px 0 0; font-size: clamp(17px, 1.5vw, 19px); color: #d9d3c8; }
.prueba b { color: var(--paper); }
.cifras { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; align-items: end; gap: 24px clamp(28px, 4vw, 56px); margin: 36px 0 0; padding: 26px 0; border-top: 1px solid rgba(244, 240, 232, .22); border-bottom: 1px solid rgba(244, 240, 232, .22); }
.cifras dt { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #bfb8ac; }
.cifras dd { margin: 8px 0 0; font-size: clamp(40px, 4.4vw, 58px); color: var(--paper); white-space: nowrap; }
.prueba .nota { margin-top: 22px; color: #bfb8ac; }
.prueba-video { margin: 0; justify-self: center; width: min(100%, 360px); }
.movil-grande { border-color: rgba(244, 240, 232, .4); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9); }
.prueba-video figcaption { margin-top: 16px; font-size: 14px; line-height: 1.45; color: #bfb8ac; text-align: center; }
.reproducir {
  position: absolute; inset: 0; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  padding: 24px; border: 0; background: linear-gradient(to top, rgba(29, 26, 22, .78), rgba(29, 26, 22, .15) 55%, rgba(29, 26, 22, 0)); color: var(--paper); cursor: pointer; font: inherit;
  transition: background-color .2s var(--ease-out);
}
.reproducir:hover .reproducir-disco { transform: scale(1.06); background: #ff9a55; }
.reproducir:focus-visible { outline-offset: -4px; outline-color: var(--paper); }
.reproducir-disco { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--next); color: var(--ink); border: 1px solid var(--next-deep); box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .7); transition: transform .25s var(--ease-out), background-color .2s; }
.reproducir-disco .ic { width: 34px; height: 34px; margin-left: 4px; }
.reproducir-txt { font-weight: 700; font-size: 16px; text-align: center; line-height: 1.2; text-shadow: 0 1px 2px rgba(0, 0, 0, .5); }
.reproducir-txt small { display: block; margin-top: 4px; font-weight: 500; font-size: 13px; color: #d9d3c8; }
.movil.sonando .reproducir { display: none; }

/* ------------------------------------------------------------------ the line */
.como { max-width: var(--max); margin: 0 auto; padding: clamp(64px, 8vw, 120px) var(--gutter) clamp(40px, 5vw, 72px); }
.como-cab { max-width: 760px; }
.como-cab .lede { margin-top: 18px; }
.linea { list-style: none; margin: clamp(40px, 5vw, 64px) 0 0; padding: 0; position: relative; display: grid; gap: 0; max-width: 880px; }
.paso { position: relative; padding: 22px 0 30px; }
.paso + .paso { border-top: 1px solid var(--rule); }
.paso::before { content: ""; position: absolute; left: calc(var(--gutter) / -2); top: 30px; width: 11px; height: 11px; border-radius: 50%; background: var(--paper); border: 1px solid var(--rule-strong); transform: translateX(-50%); }
.minuto { font-family: var(--f-dot); font-weight: 800; font-size: 14px; letter-spacing: .06em; color: var(--ink-2); white-space: nowrap; align-self: start; padding-top: .3em; }
.paso-cuerpo h3 { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px 12px; }
.paso-cuerpo p { margin: 10px 0 0; max-width: 56ch; color: var(--ink-2); }
.paso.parada .paso-cuerpo { background: var(--paper); border: 1px solid var(--rule-strong); border-radius: 4px; padding: 20px 22px 22px; margin: -6px 0 0; box-shadow: var(--sombra); position: relative; }
.paso.parada::before { background: var(--next); border-color: var(--next-deep); width: 15px; height: 15px; top: 28px; box-shadow: 0 0 0 5px var(--next-pale); z-index: 1; }
.paso.parada .minuto { color: var(--next-deep); }
.paso.parada .paso-cuerpo p { color: var(--ink); }
.redes { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.redes li { font-size: 13px; font-weight: 700; letter-spacing: .03em; padding: 4px 10px; border: 1px solid var(--rule-strong); border-radius: 3px; background: var(--paper); }
/* what else a step can do, one quiet line each: the feature's name in ink, its line in Ink 2 */
.extras { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 4px; max-width: 60ch; font-size: 15px; color: var(--ink-2); }
.extras li { padding-left: 14px; position: relative; }
.extras li::before { content: ""; position: absolute; left: 0; top: .7em; width: 6px; height: 1px; background: var(--ink-2); }
.extras b { color: var(--ink); font-weight: 700; }
/* the content types: one lead line and a row of chips, each with its type's dot (decorative: the name says it) */
.tipos { margin: clamp(28px, 4vw, 44px) 0 0; max-width: 880px; }
.tipos-cab { margin: 0; font-size: 17px; font-weight: 700; color: var(--ink); }
.tipos-lista { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tipos-lista li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; font-size: 15px; font-weight: 700; color: var(--ink); background: var(--white); border: 1px solid var(--rule-strong); border-radius: 8px; }
.tipos-lista .tdot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--t); box-shadow: inset 0 0 0 1px rgba(29, 26, 22, .25); }
.t-curiosidades { --t: var(--t-curiosidades); }
.t-historias { --t: var(--t-historias); }
.t-misterios { --t: var(--t-misterios); }
.t-psicologia { --t: var(--t-psicologia); }
.t-actualidad { --t: var(--t-actualidad); }

/* ------------------------------------------------------------------ examples: the shelf */
.ejemplos { padding: clamp(48px, 6vw, 88px) 0; border-top: 1px solid var(--rule-strong); border-bottom: 1px solid var(--rule-strong); background: var(--pulp-deep); }
.ejemplos-cab { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.ejemplos-cab .lede { margin-top: 16px; }
.estante {
  list-style: none; margin: clamp(28px, 4vw, 44px) 0 0; padding: 6px var(--gutter) 22px;
  display: flex; gap: clamp(14px, 2vw, 24px); overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter);
  overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch;
}
.reel { flex: 0 0 auto; width: clamp(200px, 22vw, 250px); scroll-snap-align: start; }
.reel .movil { border-radius: 16px; }
.reel p { margin: 12px 0 0; font-size: 14px; line-height: 1.35; display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: start; }
.reel b { font-weight: 700; }
.dur { font-family: var(--f-dot); font-weight: 800; font-size: 14px; color: var(--ink-2); letter-spacing: .02em; padding-top: 1px; }

/* ------------------------------------------------------------------ pricing */
.precios { max-width: var(--max); margin: 0 auto; padding: clamp(64px, 8vw, 120px) var(--gutter) clamp(48px, 6vw, 88px); }
.precios-cab { max-width: 760px; }
.precios-cab .lede { margin-top: 18px; }
.planes { margin: clamp(32px, 4vw, 48px) 0 0; display: grid; grid-template-columns: 1.25fr repeat(3, 1fr); background: var(--paper); border: 1px solid var(--rule-strong); border-radius: 4px; overflow: hidden; }
.plan { padding: 26px 24px 28px; display: grid; align-content: start; gap: 14px; }
.plan + .plan { border-left: 1px solid var(--rule); }
.plan h3 { font-size: 15px; font-weight: 700; font-stretch: 100%; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.precio { margin: 0; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.precio b { font-size: 46px; font-weight: 800; font-stretch: 72%; line-height: 1; letter-spacing: -0.02em; }
.precio span { color: var(--ink-2); font-size: 14px; }
.plan p { margin: 0; color: var(--ink-2); font-size: 15px; }
.plan .al-mes { color: var(--ink); font-size: 16px; }
.plan .ejemplo { margin-top: -6px; font-size: 14px; }
.plan .canales { margin-top: -8px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.plan .btn { justify-self: start; margin-top: 6px; }
/* «Ver combinaciones»: a few ways to spend the plan's credits (worker/src/credits.js → combosFor), a ruled row at the
   foot of its card like the FAQ's, the drawn plus turning to a cross. It is the card's last row, so opening it only makes
   that card longer: the cards beside it keep every line where it was */
.combinaciones { border-top: 1px solid var(--rule); margin-top: 4px; }
.combinaciones summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 10px 0 0; font-size: 14px; font-weight: 700; color: var(--ink-2); }
.combinaciones summary::-webkit-details-marker { display: none; }
.combinaciones summary::after { content: ""; flex: none; width: 12px; height: 12px; margin-right: 4px; background: linear-gradient(var(--ink), var(--ink)) center / 12px 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.5px 12px no-repeat; }
.combinaciones[open] summary::after { transform: rotate(45deg); }
.combinaciones summary:hover { color: var(--ink); }
.combinaciones ul { list-style: none; margin: 8px 0 0; padding: 0; font-size: 14px; line-height: 1.4; color: var(--ink); }
.combinaciones li { padding: 8px 0; border-top: 1px solid var(--rule); }
.combinaciones li:first-child { border-top: 0; padding-top: 2px; }
.plan .combinaciones p { margin: 4px 0 0; padding-top: 10px; border-top: 1px solid var(--rule); font-size: 13px; color: var(--ink-2); }
@media (prefers-reduced-motion: no-preference) { .combinaciones summary::after { transition: transform .25s var(--ease-out); } }
.precio .sello { font-size: 52px; letter-spacing: 0; }
.plan.gratis { background: var(--white); position: relative; }
.plan.gratis::after { content: ""; position: absolute; inset: 0 -1px 0 0; border-right: 1px solid var(--rule-strong); pointer-events: none; }
/* Ganadores, a row of its own under the four plans: ink, with an orange edge, so the others read as the easy step */
.plan-ganadores { grid-column: 1 / -1; padding: 26px 24px 28px; display: grid; grid-template-columns: minmax(220px, 1.25fr) 2fr auto; gap: 18px 32px; align-items: center; background: var(--ink); color: var(--paper); box-shadow: inset 0 0 0 2px var(--next); }
.plan-ganadores .pg-cab { display: grid; gap: 8px; }
.plan-ganadores h3 { font-size: 15px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--next); }
.plan-ganadores .pg-sobre { margin: 0; font-size: 14px; color: var(--pulp); }
.plan-ganadores .precio b { color: var(--paper); }
.plan-ganadores .precio span { color: var(--pulp); }
.pg-ventajas { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; font-size: 15px; color: var(--paper); }
.pg-ventajas li { display: flex; align-items: flex-start; gap: 8px; }
.pg-ventajas .ic { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--next); }
.plan-ganadores .btn { background: var(--paper); color: var(--ink); border-color: var(--paper); white-space: nowrap; }
.plan-ganadores .btn:hover { background: var(--white); }
.reglas { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 10px 28px; font-size: 15px; color: var(--ink-2); max-width: 1040px; }
.reglas li { display: inline-flex; align-items: flex-start; gap: 8px; }
.reglas .ic { width: 18px; height: 18px; margin-top: 3px; color: var(--ink); }

.gasto { margin: clamp(40px, 5vw, 64px) 0 0; max-width: 760px; }
/* «Cómo se gastan» is a receipt: paper, ruled, figures tabular and right-aligned */
.gasto h3 { font-size: 26px; }
.gasto table { width: 100%; border-collapse: collapse; margin-top: 18px; background: var(--paper); border: 1px solid var(--rule-strong); font-size: 15px; }
.gasto :is(th, td) { text-align: left; padding: 14px 16px; vertical-align: top; border-bottom: 1px solid var(--rule); }
.gasto thead th { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); padding: 10px 16px; }
.gasto tbody th { font-weight: 700; }
.gasto tbody th small { display: block; font-weight: 500; color: var(--ink-2); margin-top: 3px; font-size: 13px; }
.gasto td { color: var(--ink-2); }
.gasto .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--ink); }
.gasto .nota { margin-top: 14px; }
/* «Cómo se gastan»: Animario's AI opens a group of its own, by level, under a full ink rule and a label */
/* its rows are ruled from above, so a row the Worker hides takes its rule with it: a hairline between rows, the ink rule
   opening Animario's group, and the table's own ink edge closing it (in collapsed borders a cell's own would win) */
.gasto tbody :is(th, td) { border-bottom: 0; border-top: 1px solid var(--rule); }
.gasto .grupo th { border-top-color: var(--rule-strong); }
.gasto .btn { margin-top: 16px; }
.gasto .grupo th { padding: 10px 16px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); background: var(--white); }
.gasto .grupo small { display: block; margin-top: 3px; font-size: 13px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.gasto td.num { font-weight: 800; font-size: 17px; }
.gasto thead .num { white-space: normal; }
/* each column head with its duration and its unit, small and unshouted under it */
.gasto thead small { display: block; margin-top: 3px; font-size: 12px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.gasto .en-movil { display: none; }
/* under the table, what credits are worth on the Básico plan */
.gasto .valor { margin: 14px 0 0; font-size: 15px; font-weight: 600; color: var(--ink); max-width: 64ch; }
/* on a phone each row is a card: its name and line, then «Corto 40 · Largo 60 · Ideas 7» (data-l), no sideways scroll;
   the column heads say only that the figures are credits */
@media (max-width: 560px) {
  .gasto :is(table, thead, tbody, tr, th, td) { display: block; }
  .gasto thead th:not(:first-child) { display: none; }
  .gasto .en-movil { display: inline; }
  .gasto tbody tr:not(.grupo) { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 0; padding: 12px 14px 14px; border-top: 1px solid var(--rule); }
  .gasto tbody tr:not(.grupo) :is(th, td) { padding: 0; border: 0; }
  .gasto tbody tr:not(.grupo) th { flex: 1 0 100%; }
  .gasto tbody td.num { text-align: left; font-size: 16px; }
  .gasto tbody td::before { content: attr(data-l) "\00a0"; font-size: 14px; font-weight: 600; color: var(--ink-2); }
  .gasto tbody td + td::before { content: "\00a0·\00a0\00a0" attr(data-l) "\00a0"; }
  .gasto td.sin { display: none; }
  .gasto .grupo th { display: block; }
}

/* the top-ups, only with a plan. One paper panel: the pitch on top, the four top-ups ruled under it, each with its
   credits stamped big and its price and equivalence small; no button (the orange stays with the welcome credits). The
   parts of every top-up share rows (subgrid), so an offer's badge over one of them never pushes its figures out of line
   with the others' */
.recargas { margin: clamp(32px, 4vw, 48px) 0 0; display: grid; gap: 18px; padding: 26px 24px 24px; background: var(--paper); border: 1px solid var(--rule-strong); border-radius: 4px; }
.recargas-cab h3 { font-size: clamp(26px, 2.6vw, 32px); }
.recargas-cab p { margin: 10px 0 0; color: var(--ink-2); font-size: 16px; max-width: 72ch; }
.recargas-cab b { color: var(--ink); }
.paquetes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--rule-strong); }
.paquetes li { display: grid; grid-row: span 6; grid-template-rows: subgrid; row-gap: 4px; align-content: start; padding: 16px 16px 4px; border-left: 1px solid var(--rule); min-width: 0; }
.paquetes li:first-child { border-left: 0; padding-left: 0; }
.paquetes .oferta { grid-row: 1; } .paquetes .sello { grid-row: 2; } .paquetes .u { grid-row: 3; } .paquetes .p { grid-row: 4; } .paquetes .oferta-precio { grid-row: 5; } .paquetes li > small:last-child { grid-row: 6; }
.paquetes .sello { font-size: clamp(36px, 3.4vw, 46px); }
.paquetes .u { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.paquetes .p { margin-top: 12px; font-size: 28px; font-weight: 800; font-stretch: 72%; line-height: 1; letter-spacing: -0.01em; }
.paquetes small { font-size: 13px; color: var(--ink-2); }
/* a timed offer on a top-up: its name as an ink label over it, then under its price what a credit costs against the rest
   and its end. Never a crossed-out price, never the orange */
.paquetes .oferta { justify-self: start; align-self: end; margin-bottom: 8px; padding: 3px 8px 4px; background: var(--ink); color: var(--paper); border-radius: 3px; font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase; line-height: 1.3; }
.paquetes .oferta b { font-weight: 700; }
.paquetes .oferta-precio { color: var(--ink); font-weight: 600; }
.paquetes .oferta-precio .fin { display: block; font-weight: 500; color: var(--ink-2); }
@media (max-width: 900px) {
  .paquetes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .paquetes li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .paquetes li:nth-child(n + 3) { border-top: 1px solid var(--rule); }
}
/* on a phone each top-up is a ruled row: the credits, their word and the price on one line, the offer's label over them
   and the rest under them */
@media (max-width: 640px) {
  .recargas { padding: 20px 16px 20px; }
  .paquetes { grid-template-columns: minmax(0, 1fr); }
  .paquetes li:nth-child(n) { grid-row: auto; grid-template-rows: none; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 2px 10px; padding: 14px 0 12px; border-left: 0; border-top: 1px solid var(--rule); }
  .paquetes li:first-child { border-top: 0; }
  .paquetes li > * { grid-row: auto !important; }
  .paquetes .sello { font-size: 34px; }
  .paquetes .p { margin-top: 0; font-size: 24px; }
  .paquetes small, .paquetes .oferta { grid-column: 1 / -1; }
  .paquetes .oferta { margin-bottom: 4px; }
}

/* ------------------------------------------------------------------ how credits work
   The rules in plain words, as ruled rows: a full ink rule on top, hairlines between them, the term condensed on the
   left and its words in Ink 2 on the right; on a phone the term sits above */
.creditos { position: relative; max-width: var(--max); margin: 0 auto; padding: clamp(48px, 6vw, 88px) var(--gutter); }
.creditos-cab { max-width: 760px; }
.creditos-cab .lede { margin-top: 18px; }
.filas { margin: clamp(28px, 4vw, 44px) 0 0; max-width: 1040px; border-top: 1px solid var(--rule-strong); }
.filas > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 6px clamp(20px, 3vw, 40px); padding: 18px 0 20px; border-bottom: 1px solid var(--rule); }
.filas dt { font-size: 24px; font-weight: 800; font-stretch: 76%; line-height: 1.1; }
.filas dd { margin: 0; color: var(--ink-2); max-width: 62ch; }
.filas dd p { margin: 0; }
.filas dd p + p { margin-top: 8px; }
.filas dd b { color: var(--ink); }
@media (max-width: 640px) { .filas > div { grid-template-columns: minmax(0, 1fr); } .filas dt { font-size: 22px; } }

/* ------------------------------------------------------------------ Ganadores: the plan by application
   The darker material (an ink band, like the proof) sets the exclusive tier apart from the plans above it. Its button
   is paper, not orange: the orange stays with «Empieza con … créditos gratis». Figures stamped; the rest a ruled list */
.ganadores { background: var(--ink); color: var(--paper); }
.ganadores-int { position: relative; max-width: var(--max); margin: 0 auto; padding: clamp(56px, 7vw, 104px) var(--gutter); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.ganadores-int::before { content: ""; position: absolute; top: 0; bottom: 0; left: calc(var(--gutter) / 2); width: 1px; background: rgba(244, 240, 232, .35); }
.ganadores .hito { background: var(--ink); color: #e8e2d6; }
.ganadores :focus-visible { outline-color: var(--paper); }
.ganadores-sobre { margin: 0 0 16px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #bfb8ac; }
.ganadores h2 { font-size: clamp(34px, 4.8vw, 60px); }
.ganadores .lede { margin-top: 20px; max-width: 52ch; color: #d9d3c8; }
.ganadores-precio { margin: 30px 0 0; font-size: 18px; font-weight: 600; color: #d9d3c8; }
.ganadores-precio b { margin: 0 2px 0 4px; font-size: 46px; font-weight: 800; font-stretch: 72%; line-height: 1; letter-spacing: -0.02em; color: var(--paper); }
.ganadores-cta { margin-top: 26px; display: grid; gap: 12px; justify-items: start; }
.ganadores .btn { border-color: var(--paper); }
.ganadores .nota { color: #bfb8ac; }
.ganadores-cifras { list-style: none; margin: 0; padding: 0 0 24px; display: grid; grid-template-columns: repeat(2, auto); justify-content: start; gap: 20px clamp(36px, 5vw, 72px); border-bottom: 1px solid rgba(244, 240, 232, .22); }
.ganadores-cifras li { display: grid; gap: 8px; align-content: start; }
.ganadores-cifras li > span { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #bfb8ac; }
.ganadores-cifras .sello { font-size: clamp(56px, 6vw, 80px); color: var(--paper); }
.ganadores-h3 { margin: 24px 0 0; font-size: 13px; font-weight: 700; font-stretch: 100%; letter-spacing: .06em; text-transform: uppercase; color: #bfb8ac; }
.ganadores-incluye { list-style: none; margin: 8px 0 0; padding: 0; }
.ganadores-incluye li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-top: 1px solid rgba(244, 240, 232, .16); font-size: 16px; line-height: 1.45; color: #d9d3c8; }
.ganadores-incluye li:first-child { border-top: 0; }
.ganadores-incluye .ic { width: 18px; height: 18px; margin-top: 2px; color: var(--paper); }

/* ------------------------------------------------------------------ FAQ */
.preguntas { max-width: var(--max); margin: 0 auto; padding: clamp(40px, 5vw, 72px) var(--gutter) clamp(56px, 7vw, 96px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 24px clamp(32px, 5vw, 80px); align-items: start; }
.preguntas h2 { font-size: clamp(32px, 3.6vw, 44px); position: sticky; top: 84px; }
.faq { border-top: 1px solid var(--rule-strong); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 44px 18px 0; font-size: 19px; font-weight: 700; font-stretch: 90%; line-height: 1.3; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; transform: translateY(-50%); background: linear-gradient(var(--ink), var(--ink)) center / 14px 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.5px 14px no-repeat; transition: transform .25s var(--ease-out); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq summary:hover { color: var(--ink); background: linear-gradient(90deg, rgba(255, 253, 248, .5), transparent); }
.faq-r { padding: 0 0 20px; }
.faq-r p { margin: 0; color: var(--ink-2); max-width: 64ch; }

/* ------------------------------------------------------------------ final */
.final { background: var(--paper); border-top: 1px solid var(--rule-strong); }
.final-int { max-width: var(--max); margin: 0 auto; padding: clamp(64px, 9vw, 128px) var(--gutter); display: grid; justify-items: center; text-align: center; gap: 18px; }
.final h2 { font-size: clamp(44px, 7vw, 92px); letter-spacing: -0.025em; line-height: .95; }
.final p { margin: 0; max-width: 46ch; color: var(--ink-2); font-size: clamp(17px, 1.6vw, 20px); }
.final .btn { margin-top: 10px; }
.final .nota { margin-top: 4px; }

/* ------------------------------------------------------------------ footer */
.pie { background: var(--ink); color: #bfb8ac; }
.pie-int { max-width: var(--max); margin: 0 auto; padding: 36px var(--gutter) 44px; display: grid; grid-template-columns: auto 1fr auto; gap: 20px 40px; align-items: start; font-size: 14px; line-height: 1.5; }
.pie-marca { margin: 0; display: grid; gap: 2px; color: var(--paper); }
.pie-marca span:last-child { font-size: 13px; color: #bfb8ac; }
.pie-empresa { margin: 0; max-width: 56ch; }
.pie-enlaces { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; text-align: right; }
.pie-enlaces a { color: var(--paper); }
.pie-idioma { margin-top: 4px; }
.pie .idioma { margin-right: -6px; }
.pie .idioma a, .pie .idioma-actual { min-height: 32px; }
.pie .idioma a { color: #d9d3c8; }
.pie .idioma a:hover { color: var(--paper); background: rgba(244, 240, 232, .1); }
.pie .idioma a:focus-visible { outline-color: var(--paper); }
.pie .idioma-actual { color: var(--paper); }
.pie .idioma-sep { color: #8f877b; }

/* ------------------------------------------------------------------ motion: one authored moment, the hero settling into place */
@media (prefers-reduced-motion: no-preference) {
  .hero-txt > * { animation: posar .9s var(--ease-out) both; }
  .hero-txt > :nth-child(2) { animation-delay: .08s; }
  .hero-txt > :nth-child(3) { animation-delay: .16s; }
  .hero-txt > :nth-child(4) { animation-delay: .24s; }
  .hero-movil { animation: posar 1.1s var(--ease-out) .2s both; }
  .etiqueta-colgada { animation: colgar 1.2s var(--ease-out) .7s both; }
  @keyframes posar { from { opacity: 0; transform: translateY(14px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
  @keyframes colgar { from { opacity: 0; transform: rotate(-9deg) translateY(10px); } to { opacity: 1; transform: rotate(-2.5deg); } }
}

/* ------------------------------------------------------------------ responsive */
/* between the menu button (≤900px) and a bar with room for everything (≥1100px): tighter links, and the bar's switch
   shows only the other language (the footer keeps «ES · EN») */
@media (min-width: 901px) and (max-width: 1099px) {
  .cab-int { gap: 10px; }
  .menu { gap: 0; }
  .menu a { padding: 8px 9px; }
  .cab-acciones { gap: 2px; }
  .cab-acciones .fantasma { padding: 0 10px; }
  .cab-idioma .idioma-actual, .cab-idioma .idioma-sep { display: none; }
}
/* the Ganadores link fits the bar only from 1200px (below, «Cómo funciona» would wrap); the menu panel always has it */
@media (min-width: 901px) and (max-width: 1199px) { .menu-ganadores { display: none; } }
@media (max-width: 1024px) {
  .planes { grid-template-columns: 1fr 1fr; }
  .plan + .plan { border-left: 0; }
  .plan:nth-child(even) { border-left: 1px solid var(--rule); }
  .plan:nth-child(n + 3) { border-top: 1px solid var(--rule); }
  .plan.gratis::after { border-right: 0; border-bottom: 1px solid var(--rule-strong); inset: 0 0 -1px 0; }
  .plan.gratis { grid-column: 1 / -1; }
  .plan:nth-child(2) { border-left: 0; }
  .plan:nth-child(3) { border-left: 1px solid var(--rule); border-top: 0; }
  .plan:nth-child(4) { border-top: 1px solid var(--rule); grid-column: 1 / -1; border-left: 0; }
  .plan-ganadores { grid-template-columns: 1fr 1.6fr; }
  .plan-ganadores .btn { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 900px) {
  .menu { display: none; }
  .nav-btn { display: inline-flex; align-items: center; gap: 8px; font: 700 14px/1 var(--f-ui); color: var(--ink); background: transparent; border: 1px solid var(--rule-strong); border-radius: var(--radio); min-height: 38px; padding: 0 12px 0 10px; cursor: pointer; }
  .nav-btn .ic { width: 18px; height: 18px; }
  .nav.abierto .menu { display: grid; position: absolute; left: 16px; right: 16px; top: calc(100% + 8px); padding: 8px; gap: 2px; background: var(--paper); border: 1px solid var(--rule-strong); border-radius: var(--radio); box-shadow: var(--sombra); }
  .nav.abierto .menu a { display: block; padding: 12px 14px; font-size: 16px; color: var(--ink); }
  .solo-menu { display: block; border-top: 1px solid var(--rule); margin-top: 4px; padding-top: 4px; }
  .solo-menu + .solo-menu { margin-top: 0; }
  .nav.abierto .menu .idioma a { display: inline-flex; padding: 0 10px; font-size: 14px; color: var(--ink-2); }
  .nav.abierto .menu .idioma a:hover { color: var(--ink); background: var(--paper-2); }
  .menu-idioma .idioma { font-size: 14px; padding: 0 4px; }
  .cab-idioma { display: none; }
  .cabecera .fantasma { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 36px; }
  .hero-movil { justify-self: start; width: min(100%, 300px); margin-top: 8px; }
  .prueba-int { grid-template-columns: 1fr; }
  .prueba-video { justify-self: start; }
  .ganadores-int { grid-template-columns: 1fr; }
  .preguntas { grid-template-columns: 1fr; }
  .preguntas h2 { position: static; }
  .pie-int { grid-template-columns: 1fr; }
  .pie-enlaces { text-align: left; }
  .pie .idioma { margin: 0 0 0 -6px; }
}
@media (max-width: 640px) {
  html { font-size: 16px; }
  .cab-int { gap: 10px; }
  .marca-txt { font-size: 23px; }
  .cabecera .compacto { font-size: 13px; padding: 0 11px; }
  .hero h1 { font-size: clamp(48px, 15.5vw, 64px); }
  .hero-cta .btn { width: 100%; }
  .hero-botones { width: 100%; }
  .etiqueta-colgada { position: static; max-width: none; margin: 14px 4px 0 0; transform: rotate(-1deg); }
  .etiqueta-colgada::before { display: none; }
  .cifras { grid-template-columns: 1fr 1fr; gap: 20px 24px; }
  .cifras dd { font-size: 44px; }
  .ganadores-cta .btn { width: 100%; }
  .ganadores-cifras { gap: 20px 40px; }
  .ganadores-cifras .sello { font-size: 56px; }
  .paso::before { top: 26px; }
  .paso.parada::before { top: 22px; }
  .paso.parada .paso-cuerpo { margin-left: 0; padding: 18px 18px 20px; }
  .reel { width: 200px; }
  .planes { grid-template-columns: 1fr; }
  .plan, .plan:nth-child(n) { border-left: 0; border-top: 1px solid var(--rule); grid-column: auto; }
  .plan.gratis { border-top: 0; }
  .plan .btn { width: 100%; }
  .plan-ganadores { grid-template-columns: 1fr; }
  .pg-ventajas { grid-template-columns: 1fr; }
  .plan-ganadores .btn { width: 100%; justify-content: center; }
  .gasto :is(th, td) { padding: 12px 10px; }
  .pie-int { padding-top: 28px; }
}

/* the header action shortens where the bar is narrow */
.compacto .corto { display: none; }
@media (max-width: 640px) { .compacto .largo { display: none; } .compacto .corto { display: inline; } }
