/* Estudio Tera — landing.
   Estilos portados 1:1 de "Landing Estudio Tera.dc.html" (Claude Design). Los valores que en el
   diseño cambiaban por JS en móvil (isM, <720px) aquí son media queries (max-width: 719px). */

/* ---------- Fuentes autoalojadas (Google Fonts: Archivo variable wdth/wght + JetBrains Mono) ---------- */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(/fonts/archivo-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(/fonts/archivo-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url(/fonts/jetbrains-mono-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url(/fonts/jetbrains-mono-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  --ink: #0d0d0c;
  --paper: #f4f3ee;
  --lime: oklch(0.91 0.21 125);
  --red: oklch(0.64 0.24 27);
  --red-deep: oklch(0.55 0.22 27);
  --line: #262624;
  --line-2: #2e2e2b;
  --panel: #151514;
  --muted: #b9b8b0;
  --muted-2: #9a9a92;
  --muted-3: #a9a8a0;
  --soft: #c9c8c0;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --sec-pad: 110px;
  --btn-w: auto;
}
@supports not (color: oklch(0 0 0)) {
  :root { --lime: #c2f83d; --red: #fd2b2e; --red-deep: #d40c1a; }
}
@media (max-width: 719px) {
  :root { --sec-pad: 64px; --btn-w: 100%; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: Archivo, sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; text-align: inherit; cursor: pointer; }
summary { list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
video { display: block; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
[tabindex="-1"]:focus { outline: none; }

.lime { color: var(--lime); }
.arr { font-family: var(--mono); }
.sq { width: 14px; height: 14px; background: var(--lime); display: inline-block; flex: none; }
.sq--ink { background: var(--ink); }
.only-m { display: none; }
.wrap { max-width: 1240px; margin: 0 auto; padding: var(--sec-pad) 20px; }
.skip {
  position: fixed; top: 12px; left: 12px; z-index: 100;
  padding: 10px 16px; border-radius: 40px;
  background: var(--lime); color: var(--ink);
  font: 700 13px/1 var(--mono); text-transform: uppercase;
  transform: translateY(-160%); transition: transform .2s;
}
.skip:focus { transform: none; }
@media (max-width: 719px) {
  .only-d { display: none; }
  .only-m { display: inline; }
}

/* Mientras main.js prepara el intro, el contenido del hero no se pinta (evita un parpadeo). */
.intro [data-intro], .intro [data-intro-kids] > *, .intro .hero__video { opacity: 0; }

/* ---------- Botones ---------- */
.btn {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  width: var(--btn-w);
  font-weight: 900; font-stretch: 75%; text-transform: uppercase;
  border-radius: 60px;
  transition: background .35s, color .35s, transform .5s var(--ease), box-shadow .5s;
}
.btn--lime { background: var(--lime); color: var(--ink); }
.btn--lime:hover { background: var(--paper); color: var(--ink); transform: translateY(-3px); box-shadow: 0 18px 40px -14px rgba(200, 245, 66, .55); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--paper); color: var(--ink); transform: translateY(-3px); box-shadow: 0 18px 40px -14px rgba(13, 13, 12, .45); }
.btn--hero { font-size: 22px; padding: 20px 32px; }
.btn--xl { font-size: 24px; padding: 22px 36px; }
.btn--foot { font-size: 24px; padding: 22px 34px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20;
  background: rgba(13, 13, 12, .88);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), opacity .35s;
}
.js .nav:not(.is-on):not(:focus-within) { transform: translateY(-110%); opacity: 0; pointer-events: none; }
.nav__prog { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--lime); transform-origin: left; transform: scaleX(0); }
.nav__in { max-width: 1240px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--paper); font-weight: 900; font-stretch: 75%; font-size: 24px;
  text-transform: uppercase; letter-spacing: .01em; white-space: nowrap;
}
.nav__links { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; font-family: var(--mono); font-size: 13px; font-weight: 600; text-transform: uppercase; }
.nav__link { color: var(--muted); }
.nav__link:hover { color: var(--paper); }
.nav__cta { background: var(--lime); color: var(--ink); padding: 11px 18px; border-radius: 40px; }
.nav__cta:hover { background: var(--paper); }
@media (max-width: 719px) {
  .nav__link { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  border-bottom: 1px solid var(--line);
}
.hero__video, .price__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__video { opacity: .38; }
.hero__shade { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(13, 13, 12, .35) 0%, rgba(13, 13, 12, .7) 70%, #0d0d0c 100%); }
.hero__in {
  position: relative; max-width: 1240px; width: 100%; margin: 0 auto;
  padding: clamp(24px, 6svh, 48px) 20px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: clamp(14px, 3svh, 28px);
}
.kicker { font-family: var(--mono); font-size: 14px; font-weight: 600; color: var(--lime); text-transform: uppercase; letter-spacing: .08em; }
.hero__title {
  font-weight: 900; font-stretch: 66%; text-transform: uppercase;
  line-height: .86; font-size: clamp(52px, min(15vw, 19svh), 200px);
  letter-spacing: -.005em; text-wrap: balance;
}
.badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.badge { font-weight: 900; font-stretch: 66%; text-transform: uppercase; font-size: clamp(20px, min(3.4vw, 5svh), 44px); }
.badge--solid { background: var(--paper); color: var(--ink); padding: 4px 14px 6px; }
.badge--line { border: 3px solid var(--paper); padding: 1px 14px 3px; }
.badge--red { background: var(--red); color: var(--ink); padding: 4px 16px 6px; transform: rotate(-2deg); }
.deal { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(14px, 3svh, 28px) 44px; margin-top: 4px; width: 100%; }
.facts { display: flex; align-items: flex-end; justify-content: center; gap: 36px; flex-wrap: wrap; }
.fact__k { font-family: var(--mono); font-size: 13px; color: var(--muted); text-transform: uppercase; }
.fact__v { font-weight: 900; font-stretch: 66%; font-size: clamp(48px, min(8vw, 10svh), 110px); line-height: .9; }
.fact__v small { font-size: .32em; margin-left: 8px; color: var(--muted); }

/* ---------- Marquesina ---------- */
.mq { background: var(--lime); color: var(--ink); overflow: hidden; border-bottom: 1px solid var(--line); }
.mq__track {
  display: flex; width: max-content; padding: 16px 0; white-space: nowrap;
  font-weight: 900; font-stretch: 66%; text-transform: uppercase; font-size: 34px;
}
.mq__group { display: flex; gap: 40px; padding-right: 40px; align-items: baseline; }
.mq__x { position: relative; display: inline-block; width: .5em; height: .7em; flex: none; }
.mq__x::before, .mq__x::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: .11em; height: .7em; background: var(--ink);
  translate: -50% -50%; rotate: 45deg;
}
.mq__x::after { rotate: -45deg; }
@media (prefers-reduced-motion: no-preference) {
  .mq__track { animation: mq 28s linear infinite; }
}
@keyframes mq { to { translate: -33.3333% 0; } }
@media (max-width: 719px) {
  .mq__track { font-size: 24px; }
  .mq__group { gap: 18px; padding-right: 18px; }
}

/* ---------- Por qué ---------- */
.why { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 40px; align-items: center; }
.why__copy { display: flex; flex-direction: column; gap: 22px; }
.eyebrow { font-family: var(--mono); font-size: 14px; font-weight: 600; color: var(--lime); text-transform: uppercase; }
.why__title { font-weight: 900; font-stretch: 66%; text-transform: uppercase; line-height: .9; font-size: clamp(48px, 6.4vw, 92px); text-wrap: balance; }
.why__lead { font-size: 20px; line-height: 1.5; color: var(--soft); max-width: 540px; text-wrap: pretty; }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.card { border-radius: 22px; padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.card--dark { border: 1px solid var(--line-2); background: var(--panel); }
.card--lime { background: var(--lime); color: var(--ink); }
.card--red {
  grid-column: 1 / -1; background: var(--red); color: var(--ink);
  flex-direction: row; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.card__k { font-family: var(--mono); font-size: 13px; text-transform: uppercase; }
.card--dark .card__k { color: var(--muted-2); }
.card__t { font-weight: 900; font-stretch: 66%; text-transform: uppercase; font-size: 40px; line-height: .9; }
.card__d { font-size: 16px; line-height: 1.45; }
.card--dark .card__d { color: var(--muted); }
.card__res { font-family: var(--mono); font-weight: 700; font-size: 18px; text-transform: uppercase; }
@media (max-width: 719px) {
  .card { padding: 20px; }
  .card__t { font-size: 30px; }
}

/* ---------- Qué incluye ---------- */
.incl { border-top: 1px solid var(--line); background: var(--paper); color: var(--ink); }
.incl__in { display: flex; flex-direction: column; gap: 48px; }
.h-xl { font-weight: 900; font-stretch: 66%; text-transform: uppercase; line-height: .88; font-size: clamp(52px, 8vw, 120px); }
.incl__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 20px; }
.box { border-radius: 26px; padding: 34px; display: flex; flex-direction: column; gap: 22px; }
.box--dark { background: var(--ink); color: var(--paper); }
.box--line { border: 3px solid var(--ink); }
.box__head { display: flex; align-items: center; justify-content: space-between; }
.box__t { font-weight: 900; font-stretch: 66%; text-transform: uppercase; font-size: 48px; line-height: .9; }
.box__ico { width: 52px; height: 52px; border-radius: 26px; color: var(--ink); display: flex; align-items: center; justify-content: center; font-weight: 900; }
.box__ico--ok { background: var(--lime); font-size: 28px; }
.box__ico--no { background: var(--red); font-size: 26px; }
.items { display: flex; flex-direction: column; }
.item { display: flex; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line-2); }
.box--line .item { border-top-color: #d6d5cc; }
.item__mk { color: var(--lime); font-family: var(--mono); font-weight: 700; }
.box--line .item__mk { color: var(--red-deep); }
.item__tx { display: flex; flex-direction: column; gap: 3px; }
.item__t { font-weight: 700; font-size: 19px; }
.item__d { font-size: 15px; color: var(--muted-3); line-height: 1.4; }
.box--line .item__d { color: #55554f; }
.box__note { margin-top: auto; font-family: var(--mono); font-size: 14px; line-height: 1.5; color: #3a3a36; }
@media (max-width: 719px) {
  .box { padding: 22px; }
  .box__t { font-size: 38px; }
}

/* ---------- Proceso ---------- */
.proc { display: flex; flex-direction: column; gap: 48px; }
.proc__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.proc__sub { font-family: var(--mono); font-size: 15px; color: var(--muted); max-width: 360px; line-height: 1.5; }
.proc__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px; align-items: stretch; }

.steps { display: flex; flex-direction: column; gap: 8px; }
.step {
  position: relative; overflow: hidden; display: block; width: 100%;
  border-radius: 20px; padding: 20px 22px;
  border: 1px solid #1f1f1d; background: transparent;
  transition: background .5s, border-color .5s;
}
.step.is-active { background: var(--panel); border-color: #3a3a36; }
.step:hover { border-color: #4a4a45; }
.step__row { display: flex; align-items: center; gap: 16px; }
.step__n { font-family: var(--mono); font-weight: 700; font-size: 14px; color: #6f6e68; transition: color .5s; }
.step__t { flex: 1; font-weight: 900; font-stretch: 75%; text-transform: uppercase; font-size: 24px; line-height: 1; color: #8a8982; transition: color .5s; }
.step__dia {
  font-family: var(--mono); font-size: 12px; font-weight: 700; text-transform: uppercase;
  color: #8a8982; background: transparent; border: 1px solid var(--line-2);
  padding: 5px 10px; border-radius: 20px; white-space: nowrap;
  transition: background .5s, color .5s;
}
.step.is-active .step__n { color: var(--lime); }
.step.is-active .step__t { color: var(--paper); }
.step.is-active .step__dia { color: var(--ink); background: var(--lime); border-color: var(--lime); }
.step__desc { display: none; padding: 12px 0 6px 34px; font-size: 16px; line-height: 1.55; color: var(--soft); text-wrap: pretty; }
.step__track { display: none; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--line); }
.step.is-active .step__desc, .step.is-active .step__track { display: block; }
.step__bar, .cur__bar { display: block; height: 100%; background: var(--lime); transform-origin: left; transform: scaleX(0); }

.pills { display: none; gap: 6px; }
.pill {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 10px 0 9px; border-radius: 14px;
  border: 1px solid var(--line-2); background: transparent; color: #8a8982;
  font-family: var(--mono); font-size: 15px; font-weight: 700;
  transition: background .4s, color .4s, border-color .4s;
}
.pill.is-active { border-color: var(--lime); background: var(--lime); color: var(--ink); }

.stage {
  position: relative; overflow: hidden;
  border-radius: 28px; border: 1px solid var(--line-2);
  background: radial-gradient(120% 90% at 85% 0%, #1e2113 0%, #121211 62%);
  min-height: 580px; display: flex; flex-direction: column;
}
.stage__top {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 22px; border-bottom: 1px solid var(--line);
  font-family: var(--mono); font-size: 12px; font-weight: 600; text-transform: uppercase; color: var(--muted-2);
}
.dots { display: flex; gap: 6px; align-items: center; }
.dot { width: 6px; height: 6px; border-radius: 3px; background: #3a3a36; transition: width .6s var(--ease), background .4s; }
.dot.is-done { background: var(--lime); }
.dot.is-active { width: 26px; }
.stage__body { flex: 1; display: flex; align-items: center; justify-content: center; padding: 28px 22px; }

.cur { display: none; flex-direction: column; gap: 10px; }
.cur__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cur__t { font-weight: 900; font-stretch: 75%; text-transform: uppercase; font-size: 26px; line-height: 1; }
.cur__dia { font-family: var(--mono); font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--ink); background: var(--lime); padding: 5px 10px; border-radius: 20px; white-space: nowrap; }
.cur__d { font-size: 16px; line-height: 1.55; color: var(--soft); text-wrap: pretty; min-height: 50px; }
.cur__track { height: 3px; border-radius: 2px; background: var(--line); overflow: hidden; }

@media (max-width: 719px) {
  .proc__grid { grid-template-columns: minmax(0, 1fr); }
  .steps { display: none; }
  .pills, .cur { display: flex; }
  .stage { min-height: 440px; height: 440px; }
  .stage__body { padding: 20px 14px; zoom: .86; }
}

/* Escena 1 · chat */
.chat { width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 10px; }
.chat__head { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.chat__av { width: 42px; height: 42px; border-radius: 21px; background: var(--lime); color: var(--ink); display: flex; align-items: center; justify-content: center; font-weight: 900; font-stretch: 75%; font-size: 16px; }
.chat__who { display: flex; flex-direction: column; gap: 2px; }
.chat__name { font-weight: 800; font-size: 16px; white-space: nowrap; }
.chat__on { font-family: var(--mono); font-size: 12px; color: var(--lime); }
.bub { max-width: 82%; padding: 12px 16px; font-size: 16px; line-height: 1.4; }
.bub--me { align-self: flex-end; background: var(--lime); color: var(--ink); border-radius: 18px 18px 4px 18px; }
.bub--them { align-self: flex-start; background: #232321; color: var(--paper); border-radius: 18px 18px 18px 4px; }
.typing { align-self: flex-start; display: flex; gap: 5px; padding: 15px 16px; background: #232321; border-radius: 18px; }
.typing span { width: 7px; height: 7px; border-radius: 4px; background: var(--muted); }

/* Escena 2 · recibo */
.receipt {
  position: relative; width: 100%; max-width: 380px;
  background: var(--paper); color: var(--ink); border-radius: 22px; padding: 28px;
  display: flex; flex-direction: column; gap: 12px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8);
}
.receipt__k { font-family: var(--mono); font-size: 12px; font-weight: 700; text-transform: uppercase; color: #55554f; }
.receipt__amt { font-weight: 900; font-stretch: 66%; font-size: 76px; line-height: .85; }
.receipt__meta { font-family: var(--mono); font-size: 13px; font-weight: 700; text-transform: uppercase; }
.receipt__rows { display: flex; flex-direction: column; border-top: 1px dashed var(--muted-3); margin-top: 6px; padding-top: 6px; }
.receipt__row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 15px; }
.receipt__row b { font-weight: 900; }
.receipt__row--sum { border-top: 1px solid #d6d5cc; }
.receipt__stamp {
  position: absolute; right: 22px; top: 24px; rotate: -8deg;
  background: var(--ink); color: var(--lime);
  font-weight: 900; font-stretch: 66%; text-transform: uppercase; font-size: 28px; line-height: 1;
  padding: 6px 12px 8px; border-radius: 6px;
}

/* Escena 3 · brief */
.brief { width: 100%; max-width: 440px; display: flex; flex-direction: column; gap: 12px; }
.brief__card { background: #1b1b19; border: 1px solid var(--line-2); border-radius: 18px; padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; }
.brief__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brief__t { font-weight: 800; font-size: 17px; white-space: nowrap; }
.ok { width: 26px; height: 26px; border-radius: 13px; background: var(--lime); color: var(--ink); display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 14px; flex: none; }
.refs { display: flex; gap: 8px; }
.ref { flex: 1; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--ref-bg); display: flex; flex-direction: column; gap: 5px; padding: 7px; }
.ref__bar { height: 5px; width: 40%; border-radius: 3px; background: var(--ref-c); }
.ref__img { flex: 1; border-radius: 6px; background: var(--ref-c); }
.ref--cafe { --ref-bg: #2a1d14; --ref-c: oklch(0.72 0.14 60); }
.ref--sky { --ref-bg: #eef3f6; --ref-c: oklch(0.62 0.13 230); }
.ref--gold { --ref-bg: #141414; --ref-c: oklch(0.78 0.11 85); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; font-family: var(--mono); font-size: 12px; font-weight: 600; text-transform: uppercase; }
.chips span { border: 1px solid #3a3a36; border-radius: 20px; padding: 5px 10px; }
.prev { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.prev__url { font-family: var(--mono); font-size: 13px; background: var(--line); padding: 6px 12px; border-radius: 14px; color: var(--soft); }
.prev__note { font-size: 14px; color: var(--muted); white-space: nowrap; }

/* Escena 4 · desarrollo en vivo */
.browser { width: 100%; max-width: 480px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line-2); background: var(--paper); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); }
.browser__bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #1b1b19; }
.browser__dot { width: 10px; height: 10px; border-radius: 5px; background: #444; }
.browser__url {
  flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-family: var(--mono); font-size: 12px; color: var(--muted); background: var(--line); padding: 5px 12px; border-radius: 12px;
}
.browser__live { display: flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--paper); white-space: nowrap; }
.live-dot { width: 9px; height: 9px; border-radius: 5px; background: var(--red); }
.browser__page { padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.bp-row { display: flex; justify-content: space-between; align-items: center; }
.bp-links { display: flex; gap: 8px; }
.bp { transform-origin: left; }
.bp--logo { width: 96px; height: 12px; border-radius: 6px; background: var(--ink); }
.bp--link { width: 38px; height: 8px; border-radius: 4px; background: var(--muted); }
.bp--hero { --ref-c: oklch(0.72 0.14 60); height: 130px; border-radius: 12px; background: var(--ref-c); display: flex; align-items: flex-end; padding: 14px; }
.bp-hero__t { font-weight: 900; font-stretch: 66%; text-transform: uppercase; font-size: 36px; line-height: .9; color: #2a1d14; }
.bp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.bp--tile { height: 56px; border-radius: 10px; background: #e2e1d9; }
.bp--cta { height: 36px; width: 52%; border-radius: 18px; background: var(--ink); }
.toast {
  position: absolute; right: 20px; bottom: 20px;
  display: flex; align-items: center; gap: 10px;
  background: var(--ink); border: 1px solid #3a3a36; padding: 10px 14px; border-radius: 14px;
  font-family: var(--mono); font-size: 12px; color: var(--paper); white-space: nowrap;
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .8);
}
.toast__dot { width: 8px; height: 8px; border-radius: 4px; background: var(--lime); }

/* Escena 5 · entrega */
.done { width: 100%; max-width: 440px; display: flex; flex-direction: column; gap: 14px; }
.done__url { display: flex; align-items: center; gap: 4px; background: #1b1b19; border: 1px solid var(--line-2); border-radius: 30px; padding: 12px 18px; font-family: var(--mono); font-size: 15px; }
.done__proto { color: #8a8982; }
.done__host { color: var(--paper); font-weight: 700; }
.done__ok { margin-left: auto; width: 9px; height: 9px; border-radius: 5px; background: var(--lime); }
.done__title { font-weight: 900; font-stretch: 66%; text-transform: uppercase; font-size: 80px; line-height: .85; white-space: nowrap; color: var(--lime); }
.zip { display: flex; align-items: center; gap: 14px; background: var(--paper); color: var(--ink); border-radius: 16px; padding: 14px 16px; }
.zip__ico {
  flex: none; width: 40px; height: 48px; border-radius: 8px; background: var(--ink); color: var(--lime);
  display: flex; align-items: flex-end; justify-content: center; padding-bottom: 7px;
  font-family: var(--mono); font-size: 10px; font-weight: 700;
}
.zip__tx { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.zip__name { font-weight: 800; font-size: 16px; }
.zip__meta { font-family: var(--mono); font-size: 12px; color: #55554f; }
.zip__dl { margin-left: auto; font-weight: 900; font-size: 22px; }
.svc { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.svc__card { background: #1b1b19; border: 1px solid var(--line-2); border-radius: 16px; padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.svc__k { font-family: var(--mono); font-size: 12px; text-transform: uppercase; color: var(--muted-2); }
.svc__v { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 16px; }
.svc__dot { width: 8px; height: 8px; border-radius: 4px; background: var(--lime); }
@media (max-width: 719px) {
  .done__title { font-size: min(60px, 15.5vw); }
}

/* ---------- Precio ---------- */
.price { position: relative; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.price__video { opacity: .3; }
.price__in { position: relative; display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.price__num { font-weight: 900; font-stretch: 66%; font-size: clamp(96px, 26vw, 280px); line-height: .82; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.price__tag { font-weight: 900; font-stretch: 66%; text-transform: uppercase; font-size: clamp(24px, 3.4vw, 46px); background: var(--paper); color: var(--ink); padding: 4px 16px 6px; text-wrap: balance; }
.price__p { font-size: 19px; line-height: 1.5; color: #d6d5cc; max-width: 560px; }
.price .btn { margin-top: 12px; }

/* ---------- Preguntas ---------- */
.faq { max-width: 1000px; margin: 0 auto; padding: var(--sec-pad) 20px; display: flex; flex-direction: column; gap: 40px; }
.faq__list { display: flex; flex-direction: column; }
.qa { border-top: 1px solid var(--line-2); padding: 24px 0; }
.qa summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; font-weight: 800; font-size: 22px; line-height: 1.25; transition: color .4s; }
.qa summary:hover { color: var(--lime); }
.pl {
  flex: none; width: 40px; height: 40px; border-radius: 20px;
  background: #1e1e1c; color: var(--lime);
  display: flex; align-items: center; justify-content: center; font-size: 24px;
  transition: transform .7s var(--ease), background .4s, color .4s;
}
.qa p { margin: 14px 0 0; font-size: 17px; line-height: 1.6; color: var(--muted); max-width: 780px; text-wrap: pretty; }
.qa[data-state="open"] summary, html:not(.js) .qa[open] summary { color: var(--lime); }
.qa[data-state="open"] .pl, html:not(.js) .qa[open] .pl { transform: rotate(135deg); background: var(--lime); color: var(--ink); }
@media (max-width: 719px) {
  .qa summary { font-size: 18px; }
}

/* ---------- Términos ---------- */
.terms { background: var(--panel); border-top: 1px solid var(--line); }
.terms__in { max-width: 1000px; margin: 0 auto; padding: var(--sec-pad) 20px; display: flex; flex-direction: column; gap: 28px; }
.terms__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.terms__title { font-weight: 900; font-stretch: 66%; text-transform: uppercase; line-height: .9; font-size: clamp(40px, 5vw, 68px); }
.terms__date { font-family: var(--mono); font-size: 13px; color: var(--muted-2); }
.terms__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 0 40px; }
.term { display: flex; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line-2); }
.term__n { font-family: var(--mono); font-weight: 700; color: var(--lime); font-size: 14px; padding-top: 3px; }
.term__tx { display: flex; flex-direction: column; gap: 4px; }
.term__t { font-weight: 700; font-size: 17px; }
.term__d { font-size: 15px; line-height: 1.55; color: var(--muted-3); text-wrap: pretty; }

/* ---------- Footer ---------- */
.foot { background: var(--lime); color: var(--ink); }
.foot :focus-visible { outline-color: var(--ink); }
.foot__in { max-width: 1240px; margin: 0 auto; padding: var(--sec-pad) 20px 28px; display: flex; flex-direction: column; gap: 56px; }
.foot__cta { display: flex; flex-direction: column; gap: 32px; }
.foot__title { font-weight: 900; font-stretch: 66%; text-transform: uppercase; line-height: .84; font-size: clamp(56px, 13vw, 180px); text-wrap: balance; }
.foot__row { display: flex; align-items: center; gap: 18px 28px; flex-wrap: wrap; }
.foot__live { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 13px; font-weight: 700; text-transform: uppercase; }
.foot__dot { width: 10px; height: 10px; border-radius: 5px; background: var(--ink); }
.foot__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 32px 40px; padding-top: 32px; border-top: 2px solid var(--ink); }
.foot__col { display: flex; flex-direction: column; gap: 14px; }
.foot__col--links { gap: 12px; }
.foot__brand { display: flex; align-items: center; gap: 10px; font-weight: 900; font-stretch: 75%; font-size: 26px; text-transform: uppercase; }
.foot__desc { font-size: 16px; line-height: 1.5; max-width: 300px; text-wrap: pretty; }
.foot__k { font-family: var(--mono); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.foot__a { color: var(--ink); font-size: 17px; font-weight: 700; }
.foot__a:hover { color: var(--ink); text-decoration: underline; }
.foot__bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding-top: 20px; border-top: 1px solid rgba(13, 13, 12, .25);
  font-family: var(--mono); font-size: 12px; font-weight: 700; text-transform: uppercase;
}
.foot__up { display: flex; align-items: center; gap: 8px; font-size: inherit; }

/* ---------- Botón flotante (solo móvil) ---------- */
.fab { display: none; }
@media (max-width: 719px) {
  .fab {
    position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 30;
    display: flex; align-items: center; justify-content: center; gap: 12px;
    background: var(--lime); color: var(--ink);
    font-weight: 900; font-stretch: 75%; text-transform: uppercase; font-size: 20px;
    padding: 18px 24px; border-radius: 60px; box-shadow: 0 12px 40px rgba(0, 0, 0, .5);
    transform: translateY(160%); opacity: 0; pointer-events: none; visibility: hidden;
    transition: transform .6s var(--ease), opacity .4s, visibility 0s linear .6s;
  }
  .fab.is-on {
    transform: translateY(0); opacity: 1; pointer-events: auto; visibility: visible;
    transition: transform .6s var(--ease), opacity .4s, visibility 0s;
  }
}

/* Navegadores sin oklch: colores equivalentes en sRGB (va al final para ganar la cascada). */
@supports not (color: oklch(0 0 0)) {
  .ref--cafe, .bp--hero { --ref-c: #e38d3d; }
  .ref--sky { --ref-c: #0093c5; }
  .ref--gold { --ref-c: #d8b260; }
}
