/* ACCONTROL · sitio web — «el billete de noche» con la gramática de una página de producto */

@font-face { font-family: "Bodoni Moda"; src: url("assets/fonts/bodoni-moda-latin.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url("assets/fonts/bodoni-moda-italic-latin.woff2") format("woff2"); font-weight: 400 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url("assets/fonts/schibsted-grotesk-latin.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url("assets/fonts/schibsted-grotesk-italic-latin.woff2") format("woff2"); font-weight: 400 900; font-style: italic; font-display: swap; }

:root {
  --paper: #0e121a;
  --paper-2: #121722;
  --sheet: #161c28;
  --sheet-2: #1c2433;
  --rule: rgb(236 239 244 / 10%);
  --rule-2: rgb(236 239 244 / 18%);
  --ink: #eceff4;
  --muted: #a6b0c8;
  --faint: #7d88a3;

  /* Denominaciones de noche: tinta (texto sobre papel) y relleno (con texto blanco) */
  --personal: #cdbbf0; --personal-solid: #5b3a8c; --personal-deep: #34204f;
  --freelancer: #f3ab72; --freelancer-solid: #b85614; --freelancer-deep: #5c2a0c;
  --entrepreneur: #79d3d9; --entrepreneur-solid: #1f7f86; --entrepreneur-deep: #0d3f43;
  --company: #f5979f; --company-solid: #b8283f; --company-deep: #5e1220;

  --kind: var(--personal); --kind-solid: var(--personal-solid); --kind-deep: var(--personal-deep);
  --pos: #6fd3a0;

  --display: "Bodoni Moda", "Didot", Georgia, serif;
  --cond: "Schibsted Grotesk", system-ui, sans-serif;
  --body: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --gutter: clamp(20px, 5vw, 64px);
  --max: 1180px;
  --shadow-float: 0 2px 6px rgb(0 0 0 / 30%), 0 30px 80px rgb(0 0 0 / 45%);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 64px; scrollbar-color: #3a4357 var(--paper); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.1875rem/1.5 var(--body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
::selection { background: var(--personal-solid); color: #fff; }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb { background: #2c3446; border-radius: 999px; border: 3px solid var(--paper); }
::-webkit-scrollbar-thumb:hover { background: #3a4357; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure { 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; cursor: pointer; }
html { -webkit-tap-highlight-color: transparent; } /* sin el recuadro azul del navegador al tocar o hacer clic */
:focus:not(:focus-visible) { outline: none; }
:focus-visible { outline: 2px solid var(--personal); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--personal-solid); color: #fff; padding: 10px 16px; border-radius: 10px; transition: top .2s var(--ease-out); }
.skip:focus { top: 12px; }

/* ── Piezas comunes ── */
.mark { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
.mark rect:first-child { stroke-width: 3; }
.mark .mark__in { stroke-width: 1.4; opacity: .45; }
.mark path { stroke-width: 6; }
.mark .mark__bar { stroke-width: 4.5; }
.mark--sm { width: 18px; height: 18px; }
.chev { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: rotate .25s var(--ease-out); }
.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico--sm { width: 12px; height: 12px; stroke-width: 1.7; }
.plus { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; transition: rotate .3s var(--ease-out); }
details[open] > summary .plus { rotate: 45deg; }
details[open] > summary .chev { rotate: 180deg; }
summary { list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }

.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; flex: none; }
.dot--personal { background: var(--personal); }
.dot--freelancer { background: var(--freelancer); }
.dot--entrepreneur { background: var(--entrepreneur); }
.dot--company { background: var(--company); }

.pill {
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  background: var(--kind-solid); color: #fff; font-weight: 600; border-radius: 999px;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 18%), 0 8px 22px rgb(0 0 0 / 40%);
  transition: scale .12s var(--ease-out), background-color .2s;
}
.pill:hover { background: #6a47a1; }
.pill:active { scale: .97; }
.pill--sm { font-size: .8125rem; padding: 5px 13px; box-shadow: none; }
.pill--lg { font-size: 1.125rem; padding: 15px 28px; min-height: 52px; }
.link-more { display: inline-flex; align-items: center; gap: 6px; color: var(--kind); font-weight: 600; }
.link-more:hover { text-decoration: underline; text-underline-offset: 4px; }

.section-title {
  font: 600 clamp(2.5rem, 5.6vw, 4.75rem)/1 var(--display); letter-spacing: -0.025em; text-wrap: balance;
  max-width: 16ch; margin-inline: auto; text-align: center;
}
.section-sub { color: var(--muted); font-size: clamp(1.125rem, 1.6vw, 1.375rem); max-width: 46ch; margin: 22px auto 0; text-align: center; text-wrap: pretty; }
.demo { display: inline-block; font: 700 .6875rem/1 var(--cond); letter-spacing: .14em; color: var(--kind); background: color-mix(in srgb, var(--kind) 16%, transparent); padding: 4px 7px; border-radius: 999px; vertical-align: middle; margin-left: 8px; }
.pos { color: var(--pos); }

/* ── Navegación global ── */
.gnav { position: relative; z-index: 40; }
.gnav__bar {
  position: relative; z-index: 2; height: 48px; max-width: 1080px; margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; gap: 8px; font-size: .8125rem; color: #d3d8e3;
}
.gnav::before { content: ""; position: absolute; inset: 0 0 auto; height: 48px; background: rgb(14 18 26 / 80%); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); z-index: 1; }
.gnav__brand { display: inline-flex; align-items: center; gap: 9px; font: 700 .9375rem/1 var(--cond); letter-spacing: .12em; margin-right: auto; color: var(--ink); }
.gnav__brand .mark { width: 22px; height: 22px; }
.gnav__menu { display: flex; align-items: center; gap: 4px; margin-right: auto; }
.gnav__link { display: inline-flex; align-items: center; gap: 5px; height: 48px; padding: 0 12px; opacity: .86; transition: opacity .2s; }
.gnav__link:hover, .gnav__item.is-open .gnav__link { opacity: 1; }
.gnav__item.is-open .chev { rotate: 180deg; }
.gnav__burger { display: none; width: 44px; height: 44px; margin-right: -12px; align-items: center; justify-content: center; }
.gnav__burger svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.gnav__burger path { transition: translate .3s var(--ease-out), rotate .3s var(--ease-out); transform-origin: 12px 12px; }
.gnav__burger[aria-expanded="true"] .b1 { translate: 0 3px; rotate: 45deg; }
.gnav__burger[aria-expanded="true"] .b2 { translate: 0 -3px; rotate: -45deg; }

.fly {
  position: fixed; left: 0; right: 0; top: 48px; z-index: 1;
  background: rgb(18 23 34 / 96%); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--rule);
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path .38s var(--ease-out), visibility 0s .38s;
}
.gnav__item.is-open .fly { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .42s var(--ease-out), visibility 0s; }
.fly__inner { max-width: 1080px; margin: 0 auto; padding: 36px var(--gutter) 48px; opacity: 0; translate: 0 -8px; transition: opacity .25s, translate .35s var(--ease-out); }
.gnav__item.is-open .fly__inner { opacity: 1; translate: 0 0; transition-delay: .06s; }
.fly__lead { color: var(--muted); font-size: .875rem; margin-bottom: 20px; }
.fly__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.fly__grid li { display: grid; }
.fly__grid a { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; row-gap: 4px; padding: 18px; border-radius: 16px; background: var(--sheet); border: 1px solid var(--rule); transition: background-color .2s, border-color .2s; }
.fly__grid a:hover { background: var(--sheet-2); border-color: var(--rule-2); }
.fly__grid .dot { margin-top: 8px; grid-row: span 2; }
.fly__grid strong { font: 600 1.5rem/1.1 var(--display); color: var(--ink); }
.fly__grid span { color: var(--muted); font-size: .875rem; }
.fly__inner--cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.fly__inner--cols a { display: block; padding: 5px 0; color: #d3d8e3; font-size: .9375rem; }
.fly__inner--cols a:hover { color: #fff; }
.fly__head { color: var(--faint); font-size: .75rem; margin-bottom: 10px; }
.fly__big { font: 600 1.75rem/1.25 var(--display) !important; color: var(--ink) !important; }
.scrim { position: fixed; inset: 48px 0 0; background: rgb(6 8 12 / 55%); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 0; }
.gnav.has-open .scrim { opacity: 1; }

.sheet { position: fixed; inset: 48px 0 0; z-index: 39; background: var(--paper); padding: 24px var(--gutter) 40px; overflow-y: auto; }
.sheet nav > * { opacity: 0; translate: 0 -10px; }
.sheet.is-in nav > * { opacity: 1; translate: 0 0; transition: opacity .35s, translate .45s var(--ease-out); transition-delay: calc(var(--i) * 35ms); }
.sheet__link, .sheet__group summary { display: flex; align-items: center; justify-content: space-between; font: 500 1.75rem/1 var(--display); padding: 14px 0; border-bottom: 1px solid var(--rule); }
.sheet__group a { display: flex; align-items: center; gap: 12px; padding: 12px 4px; color: var(--muted); font-size: 1.0625rem; }

/* ── Subnavegación ── */
.lnav { position: sticky; top: 0; z-index: 30; height: 52px; margin-top: -52px; translate: 0 -100%; opacity: 0; transition: translate .4s var(--ease-out), opacity .3s; }
.lnav.is-on { translate: 0 0; opacity: 1; }
.lnav::before { content: ""; position: absolute; inset: 0; background: rgb(14 18 26 / 78%); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--rule); }
.lnav__in { position: relative; height: 100%; max-width: 1080px; margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; gap: 28px; }
.lnav__title { font: 600 1.3125rem/1 var(--display); letter-spacing: .04em; margin-right: auto; }
.lnav__links { display: flex; gap: 24px; font-size: .8125rem; color: #c3cad8; }
.lnav__links a { position: relative; padding: 6px 0; }
.lnav__links a:hover { color: #fff; }
.lnav__links a.is-here { color: #fff; }
.lnav__links a.is-here::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: currentColor; }

/* ── Héroe ── */
.hero { position: relative; height: 230vh; }
.hero__sticky { position: sticky; top: 0; height: 100vh; min-height: 640px; overflow: hidden; display: flex; flex-direction: column; align-items: center; padding-top: clamp(64px, 11vh, 120px); }
.hero__copy { text-align: center; padding: 0 var(--gutter); max-width: 1000px; will-change: transform, opacity; }
.hero__title { font: 600 clamp(3rem, 7.4vw, 6rem)/.96 var(--display); letter-spacing: -0.03em; text-wrap: balance; }
.hero__sub { color: var(--muted); font-size: clamp(1.1875rem, 1.9vw, 1.5rem); max-width: 40ch; margin: 22px auto 0; text-wrap: pretty; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 28px; margin-top: 30px; }
.hero__fine { color: var(--faint); font-size: .875rem; margin-top: 18px; }

.device { position: relative; width: min(1040px, 86vw); margin-top: clamp(36px, 6vh, 64px); perspective: 1800px; transform-origin: 50% 0; will-change: transform; }
.device__lid { transform-origin: 50% 100%; will-change: transform; }
.device__screen {
  position: relative; aspect-ratio: 16 / 10; border-radius: 22px 22px 0 0; overflow: hidden;
  background: var(--paper-2); border: clamp(8px, 1.1vw, 14px) solid #222a39; border-bottom-width: clamp(12px, 1.6vw, 20px);
  box-shadow: 0 0 0 1px #2f394c, 0 40px 100px rgb(0 0 0 / 55%);
  display: grid; grid-template-columns: 22% 1fr; font-size: clamp(7px, 1.05vw, 13px);
}
.device__base { position: relative; height: clamp(10px, 1.4vw, 18px); width: 114%; margin-left: -7%; background: linear-gradient(#3a4458, #1d2330 60%, #10141c); border-radius: 0 0 18px 18px; }
.device__base i { position: absolute; left: 50%; top: 0; translate: -50% 0; width: 14%; height: 45%; background: #141924; border-radius: 0 0 10px 10px; }
.app__side { background: var(--personal-deep); padding: 1.6em 1.2em; display: flex; flex-direction: column; gap: .35em; color: rgb(255 255 255 / 82%); }
.app__brand { display: flex; align-items: center; gap: .6em; font: 700 1.2em/1 var(--cond); letter-spacing: .12em; color: #fff; margin-bottom: 1.4em; }
.app__nav { padding: .65em .8em; border-radius: .6em; font-weight: 600; }
.app__nav.is-on { background: rgb(255 255 255 / 14%); color: #fff; }
.app__main { padding: 2em 2.4em; display: flex; flex-direction: column; gap: 1.2em; }
.app__hi { font: 600 2.2em/1 var(--display); }
.app__meta { color: var(--muted); margin-top: -.6em; }
.app__stamp { display: inline-flex; align-items: center; gap: .5em; align-self: flex-start; margin-top: -.3em; padding: .35em .8em; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--personal) 45%, transparent); color: var(--personal); font: 700 .85em/1 var(--cond); letter-spacing: .1em; text-transform: uppercase; }
.app__stamp svg { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.app__tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1em; }
.tile { background: var(--sheet); border: 1px solid var(--rule); border-radius: 1em; padding: 1em 1.2em; display: grid; gap: .3em; }
.tile span { color: var(--muted); font-size: .9em; }
.tile b { font: 600 1.5em/1 var(--display); }

/* ── El billete ── */
.note {
  --k: var(--kind);
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--sheet); border-radius: 24px; padding: 28px 28px 40px;
  box-shadow: 0 2px 6px rgb(0 0 0 / 28%), 0 24px 60px rgb(0 0 0 / 36%);
}
.note::before, .note::after { content: ""; position: absolute; pointer-events: none; border-radius: 19px; }
.note::before { inset: 6px; border: 1.5px solid color-mix(in srgb, var(--k) 50%, transparent); }
.note::after { inset: 11px; border: 1px solid color-mix(in srgb, var(--k) 26%, transparent); border-radius: 15px; }
.rosette { position: absolute; z-index: -1; right: -18%; top: 50%; width: 78%; aspect-ratio: 1; translate: 0 -50%; color: var(--k); opacity: .34;
  -webkit-mask-image: radial-gradient(circle at 70% 50%, #000 30%, transparent 72%); mask-image: radial-gradient(circle at 70% 50%, #000 30%, transparent 72%); }
.rosette g { fill: none; stroke: currentColor; stroke-width: .55; stroke-linejoin: round; }
.note__label { font: 700 .8125em/1 var(--cond); letter-spacing: .16em; color: var(--k); display: flex; align-items: center; }
.note__value { font: 600 4.4em/1 var(--display); color: var(--k); letter-spacing: -0.01em; margin-top: .25em; white-space: nowrap; }
.note__value .cur { font-size: .48em; margin-right: .12em; vertical-align: .62em; }
.note__value .cents { font-size: .5em; }
.note__ex { color: var(--muted); max-width: 30ch; margin-top: .6em; font-size: .95em; }
.note__btns { display: flex; gap: .6em; margin-top: 1.1em; }
.mini { padding: .6em 1em; border-radius: .7em; border: 1px solid var(--rule-2); font-weight: 600; font-size: .9em; }
.mini--p { background: var(--personal-solid); border-color: transparent; color: #fff; }
.micro { position: absolute; left: 18px; right: 18px; bottom: 15px; font: 600 7px/1 var(--cond); letter-spacing: .2em; color: color-mix(in srgb, var(--k) 55%, transparent); white-space: nowrap; overflow: hidden; }
.note--hero { font-size: 1em; padding: 1.8em 2em 2.6em; border-radius: 1.4em; }
.note--hero .note__value { font-size: 4.2em; }

/* ── Declaración ── */
.say { position: relative; height: 210vh; }
.say__sticky { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; justify-content: center; padding: 0 var(--gutter); }
.say__text { font: 500 clamp(2.125rem, 4.6vw, 4rem)/1.08 var(--display); letter-spacing: -0.02em; max-width: 22ch; text-wrap: balance; }
.say__text .w { opacity: var(--o, 1); transition: opacity .15s linear; }
.say__text .w--k { color: var(--kind); }

/* ── Cómo funciona ── */
.story { padding: clamp(80px, 14vh, 160px) var(--gutter) 40px; max-width: var(--max); margin: 0 auto; }
.story__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 96px); margin-top: clamp(48px, 8vh, 96px); }
.story__stage { position: sticky; top: calc(50vh - 190px); height: 380px; align-self: start; }
.note--story { height: 100%; font-size: clamp(14px, 1.5vw, 18px); padding: 2em 2.2em; }
.face { position: absolute; inset: 2em 2.2em 2.6em; opacity: 0; translate: 0 14px; filter: blur(6px); transition: opacity .45s var(--ease-out), translate .6s var(--ease-out), filter .45s var(--ease-out); }
.note--story[data-face="disponible"] .face[data-for="disponible"],
.note--story[data-face="mes"] .face[data-for="mes"],
.note--story[data-face="metas"] .face[data-for="metas"],
.note--story[data-face="patrimonio"] .face[data-for="patrimonio"] { opacity: 1; translate: 0 0; filter: none; }
.note--story .rosette { transition: rotate 1.2s var(--ease-out); }
.note--story[data-face="mes"] .rosette { rotate: 30deg; }
.note--story[data-face="metas"] .rosette { rotate: 60deg; }
.note--story[data-face="patrimonio"] .rosette { rotate: 90deg; }
.note__value--long { font-size: 3.4em; }
.rows { margin-top: 1.1em; display: grid; gap: .5em; max-width: 24em; }
.rows div { display: flex; justify-content: space-between; gap: 1em; }
.rows dt { color: var(--muted); }
.rows dd { font: 600 1.25em/1.2 var(--display); }
.rows__total { border-top: 1px solid var(--rule-2); padding-top: .5em; }
.rows__total dd { color: var(--k); font-size: 1.5em; }
.split { display: flex; gap: 3px; height: 12px; border-radius: 6px; overflow: hidden; margin-top: 1.1em; max-width: 24em; }
.split i { width: var(--w); background: #4c5a78; }
.split i:nth-child(2) { background: var(--k); }
.split i:nth-child(3) { background: var(--pos); }
.bar { height: 14px; border-radius: 7px; background: color-mix(in srgb, var(--k) 18%, transparent); margin-top: .9em; max-width: 24em; overflow: hidden; }
.bar i { display: block; width: var(--w); height: 100%; border-radius: 7px; background: var(--k); }
.story__steps { display: grid; }
.step { min-height: 74vh; display: flex; flex-direction: column; justify-content: center; opacity: .28; transition: opacity .5s var(--ease-out); }
.step.is-on { opacity: 1; }
.step h3 { font: 600 clamp(2rem, 3.4vw, 3rem)/1.02 var(--display); letter-spacing: -0.02em; }
.step p { color: var(--muted); margin-top: 16px; max-width: 34ch; }

/* ── Galería ── */
.gallery { padding: clamp(80px, 12vh, 140px) 0 40px; }
.gallery__head { padding: 0 var(--gutter); }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(260px, 26vw, 340px); gap: clamp(20px, 2.4vw, 32px);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2));
  padding: 56px max(var(--gutter), calc((100vw - var(--max)) / 2)) 24px; scrollbar-width: none; overscroll-behavior-x: contain;
}
.rail::-webkit-scrollbar { display: none; }
.shot { scroll-snap-align: start; }
.phone { border-radius: 38px; padding: 9px; background: #222a39; box-shadow: 0 0 0 1px #313b4f, 0 30px 70px rgb(0 0 0 / 45%); transition: translate .5s var(--ease-out); }
.phone img { width: 100%; height: auto; border-radius: 30px; aspect-ratio: 430 / 932; background: var(--sheet); }
.shot:hover .phone { translate: 0 -6px; }
.shot figcaption { color: var(--muted); font-size: 1rem; margin-top: 18px; max-width: 30ch; }
.shot figcaption strong { color: var(--ink); }
.rail__ctrl { max-width: var(--max); margin: 8px auto 0; padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; }
.rail__dots { display: flex; gap: 8px; }
.rail__dots i { width: 8px; height: 8px; border-radius: 4px; background: #3a4357; transition: width .4s var(--ease-out), background-color .3s; }
.rail__dots i.is-on { width: 28px; background: var(--ink); }
.rail__btns { display: flex; gap: 12px; }
.round { width: 44px; height: 44px; border-radius: 50%; background: var(--sheet-2); display: grid; place-items: center; transition: background-color .2s, opacity .2s, scale .12s; }
.round:hover { background: #283146; }
.round:active { scale: .94; }
.round:disabled { opacity: .35; cursor: default; }
.round svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ── Espacios ── */
.spaces { padding: clamp(100px, 16vh, 180px) var(--gutter); max-width: var(--max); margin: 0 auto; }
.spaces[data-kind="freelancer"] { --kind: var(--freelancer); --kind-solid: var(--freelancer-solid); --kind-deep: var(--freelancer-deep); }
.spaces[data-kind="entrepreneur"] { --kind: var(--entrepreneur); --kind-solid: var(--entrepreneur-solid); --kind-deep: var(--entrepreneur-deep); }
.spaces[data-kind="company"] { --kind: var(--company); --kind-solid: var(--company-solid); --kind-deep: var(--company-deep); }
.spaces__picker { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 40px; }
.spaces__picker button { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--rule-2); color: var(--muted); font-weight: 600; transition: background-color .25s, color .25s, border-color .25s; }
.spaces__picker button:hover { color: var(--ink); border-color: rgb(236 239 244 / 32%); }
.spaces__picker button[aria-checked="true"] { background: var(--kind-solid); border-color: transparent; color: #fff; }
.spaces__picker button[aria-checked="true"] .dot { background: #fff; }
.spaces__body { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); margin-top: 56px; align-items: start; }
.note--space { aspect-ratio: 1.9; font-size: clamp(14px, 1.6vw, 20px); padding: 2.2em 2.4em; transition: box-shadow .5s; }
.note--space .note__label { font-size: 1em; }
.note--space .rosette { transition: color .5s, rotate 1s var(--ease-out); }
.spaces.is-swapping .note--space .rosette { rotate: 24deg; }
.note__tag { font: 600 2.6em/1.02 var(--display); letter-spacing: -0.015em; color: var(--ink); margin-top: .45em; max-width: 10ch; text-wrap: balance; }
.checks { display: grid; gap: 2px; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--rule); color: #d3d8e3; font-size: 1.0625rem; }
.checks svg { width: 20px; height: 20px; margin-top: 3px; fill: none; stroke: var(--kind); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: stroke .4s; }
.checks li { animation: none; }
.spaces.is-swapping .checks li { opacity: 0; translate: 0 6px; }
.checks li { transition: opacity .35s var(--ease-out), translate .45s var(--ease-out); transition-delay: calc(var(--i, 0) * 25ms); }
.more { margin-top: 18px; }
.more summary { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; color: var(--kind); font-weight: 600; }
.soon li { color: var(--muted); padding: 6px 0 6px 34px; }

/* ── Privacidad ── */
.privacy { padding: clamp(100px, 16vh, 180px) var(--gutter); max-width: var(--max); margin: 0 auto; }
.privacy__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 56px; align-items: start; }
.pv { background: var(--sheet); border: 1px solid var(--rule); border-radius: 28px; padding: 32px; transition: background-color .3s, border-color .3s; }
.pv[open] { background: var(--sheet-2); border-color: var(--rule-2); }
.pv summary { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 18px; }
.pv__ico { width: 56px; height: 56px; fill: none; stroke: var(--kind); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pv__t { font: 600 clamp(1.5rem, 2.2vw, 2rem)/1.05 var(--display); }
.pv p { color: var(--muted); margin-top: 18px; padding-left: 74px; max-width: 46ch; }
.privacy__note { color: var(--faint); font-size: .9375rem; max-width: 62ch; margin: 32px auto 0; text-align: center; }

/* ── Compara ── */
.compare { padding: clamp(80px, 12vh, 140px) var(--gutter); max-width: var(--max); margin: 0 auto; }
.table-wrap { margin-top: 48px; overflow-x: auto; border-radius: 24px; border: 1px solid var(--rule); background: var(--paper-2); }
.cmp { width: 100%; min-width: 720px; border-collapse: collapse; }
.cmp th, .cmp td { padding: 16px 18px; text-align: center; border-bottom: 1px solid var(--rule); }
.cmp thead th { font: 700 1.25rem/1 var(--cond); position: sticky; top: 0; background: var(--paper-2); white-space: nowrap; }
.cmp thead th .dot { margin-right: 8px; vertical-align: 2px; }
.cmp tbody th { text-align: left; font-weight: 400; color: #d3d8e3; position: sticky; left: 0; background: var(--paper-2); }
.cmp tbody tr:last-child > * { border-bottom: 0; }
.cmp tbody tr:hover > * { background: var(--sheet); }
.cmp svg { width: 20px; height: 20px; margin: 0 auto; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cmp .y { stroke: var(--ink); }
.cmp .n { stroke: #4a5469; }
.cmp-pick { display: none; }

/* ── Instalar ── */
.install { padding: clamp(100px, 16vh, 180px) var(--gutter); max-width: 980px; margin: 0 auto; text-align: center; }
.os { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 4px; margin-top: 44px; padding: 5px; border-radius: 999px; background: var(--sheet); border: 1px solid var(--rule); }
.os button { min-height: 40px; padding: 0 18px; border-radius: 999px; color: var(--muted); font-weight: 600; font-size: .9375rem; transition: background-color .25s, color .25s; }
.os button:hover { color: var(--ink); }
.os button[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.os__found { color: var(--faint); font-size: .875rem; min-height: 1.5em; margin-top: 14px; }
.wizard { position: relative; text-align: left; margin-top: 28px; background: var(--sheet); border-radius: 28px; padding: clamp(28px, 4vw, 48px); }
.wizard::before, .wizard::after { content: ""; position: absolute; pointer-events: none; }
.wizard::before { inset: 7px; border: 1.5px solid color-mix(in srgb, var(--kind) 45%, transparent); border-radius: 22px; }
.wizard::after { inset: 13px; border: 1px solid color-mix(in srgb, var(--kind) 22%, transparent); border-radius: 17px; }
.wizard__progress { height: 4px; border-radius: 2px; background: var(--rule-2); overflow: hidden; }
.wizard__progress i { display: block; height: 100%; width: 100%; background: var(--kind); transform-origin: 0 50%; scale: var(--p, .33) 1; transition: scale .5s var(--ease-out); }
.wizard__steps { display: grid; margin-top: 32px; }
.wstep { grid-area: 1 / 1; position: relative; display: grid; grid-template-columns: auto 1fr; gap: 8px 22px; align-content: start; opacity: 0; visibility: hidden; translate: 24px 0; transition: opacity .35s, translate .5s var(--ease-out), visibility 0s .5s; }
.wstep.is-back { translate: -24px 0; }
.wstep.is-on { opacity: 1; visibility: visible; translate: 0 0; transition: opacity .35s .05s, translate .5s var(--ease-out), visibility 0s; }
.wstep__n { font: 500 5.5rem/.8 var(--display); color: var(--kind); grid-row: span 3; letter-spacing: -0.04em; }
.wstep h3 { font: 600 clamp(1.625rem, 2.6vw, 2.25rem)/1.05 var(--display); }
.wstep p { color: var(--muted); max-width: 52ch; }
.wstep .ui { display: inline-flex; align-items: center; gap: 6px; padding: 2px 8px; border-radius: 6px; background: var(--sheet-2); border: 1px solid var(--rule-2); color: var(--ink); font-size: .9375rem; white-space: nowrap; vertical-align: 1px; }
.wstep .ui svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wstep__art { grid-column: 2; margin-top: 18px; max-width: 460px; }
.wizard__nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; }
.wizard__count { color: var(--faint); font-size: .875rem; }
.ghost { min-height: 44px; padding: 0 20px; border-radius: 12px; border: 1px solid var(--rule-2); font-weight: 600; transition: background-color .2s, opacity .2s, scale .12s; }
.ghost:hover { background: var(--sheet-2); }
.ghost:active { scale: .97; }
.ghost:disabled { opacity: .35; cursor: default; }
.ghost--fill { background: var(--ink); color: var(--paper); border-color: transparent; }
.ghost--fill:hover { background: #fff; }
.install__go { margin-top: 36px; }
.install__soon { color: var(--muted); font-size: .9375rem; margin-top: 14px; min-height: 1.5em; }

/* ── Beta ── */
.beta-tag {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; padding: 4px 14px 4px 4px;
  border-radius: 999px; border: 1px solid var(--rule-2); background: var(--sheet);
  color: var(--muted); font-size: .875rem; font-weight: 600;
}
.beta-tag b { padding: 3px 10px; border-radius: 999px; background: var(--kind-solid); color: #fff; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.install .beta-tag { margin-bottom: 26px; }
.beta-notes {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 40px; text-align: left;
}
.beta-notes li { padding: 20px 22px; border-radius: 18px; background: var(--sheet); border: 1px solid var(--rule); color: var(--muted); font-size: .9375rem; text-wrap: pretty; }
.beta-notes strong { display: block; margin-bottom: 6px; color: var(--ink); font-size: 1rem; }
.beta-notes a { color: var(--kind); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) { .beta-notes { grid-template-columns: 1fr; } }

/* Dibujos de la barra del navegador */
.art { width: 100%; height: auto; }
.art { overflow: visible; }
.art .o { fill: none; stroke: rgb(236 239 244 / 34%); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.art .o--soft { stroke: rgb(236 239 244 / 14%); }
.art .o--panel { fill: var(--sheet-2); stroke: rgb(236 239 244 / 26%); }
.art .hl { fill: none; stroke: var(--kind); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.art .hl--fill { fill: var(--kind-solid); stroke: none; }
.art .hl--soft { fill: color-mix(in srgb, var(--kind) 16%, transparent); stroke: color-mix(in srgb, var(--kind) 60%, transparent); }
.art text { font-family: var(--body); font-size: 12px; }
.art .t { fill: var(--muted); }
.art .t--lab { font: 700 10px var(--cond); letter-spacing: .16em; fill: var(--kind); }
.art .ht { fill: var(--ink); font-weight: 600; }
.art .ht--big { font: 600 28px var(--display); fill: var(--kind); }
.art .ht--btn { fill: #fff; font-size: 12px; }
.art .ht--sm { font-size: 10px; }
.art .cur { fill: var(--ink); stroke: var(--paper); stroke-width: 1.2; }
.art .pulse { fill: none; stroke: var(--kind); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: pulse 2.2s var(--ease-out) infinite; }
@keyframes pulse { 0% { scale: .7; opacity: .9; } 100% { scale: 1.9; opacity: 0; } }

/* ── Preguntas ── */
.faq { padding: clamp(80px, 12vh, 140px) var(--gutter); max-width: 860px; margin: 0 auto; }
.faq__list { margin-top: 48px; border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; font: 500 clamp(1.25rem, 2vw, 1.625rem)/1.15 var(--display); }
.faq summary:hover { color: #fff; }
.faq details p { color: var(--muted); padding: 0 48px 26px 0; max-width: 62ch; }
.faq details[open] p { animation: drop .45s var(--ease-out); }
@keyframes drop { from { opacity: 0; translate: 0 -8px; } }

/* ── Cierre ── */
.close { position: relative; overflow: hidden; isolation: isolate; padding: clamp(120px, 20vh, 220px) var(--gutter); display: flex; flex-direction: column; align-items: center; gap: 36px; text-align: center; }
.rosette--close { position: absolute; z-index: -1; left: 50%; top: 50%; right: auto; width: min(1100px, 140vw); translate: -50% -50%; color: var(--kind); opacity: .16; -webkit-mask-image: radial-gradient(circle, #000 20%, transparent 70%); mask-image: radial-gradient(circle, #000 20%, transparent 70%); }
.mark--xl { width: 88px; height: 88px; color: var(--ink); }
.close__t { font: 600 clamp(3rem, 7.4vw, 6rem)/.96 var(--display); letter-spacing: -0.03em; max-width: 12ch; text-wrap: balance; }

/* ── Pie ── */
.foot { background: var(--paper-2); border-top: 1px solid var(--rule); font-size: .8125rem; color: var(--faint); }
.foot__in { max-width: 1080px; margin: 0 auto; padding: 28px var(--gutter) 40px; }
.foot__fine { padding-bottom: 18px; border-bottom: 1px solid var(--rule); max-width: 90ch; }
.foot__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 22px 0; }
.foot__col summary { color: #d3d8e3; font-weight: 600; margin-bottom: 8px; pointer-events: none; display: flex; justify-content: space-between; align-items: center; }
.foot__col summary .chev { display: none; }
.foot__col a { display: block; padding: 4px 0; }
.foot__col a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.foot__legal { display: flex; flex-wrap: wrap; gap: 8px 24px; padding-top: 18px; border-top: 1px solid var(--rule); }
.foot__legal span:first-child { font: 700 .875rem/1 var(--cond); letter-spacing: .12em; color: var(--muted); }

/* ── Entradas al llegar (el contenido es visible sin JS) ── */
.js .rise { opacity: 0; translate: 0 40px; filter: blur(4px); transition: opacity .9s var(--ease-out), translate 1.1s var(--ease-out), filter .9s var(--ease-out); transition-delay: var(--d, 0s); }
.js .rise.is-in { opacity: 1; translate: 0 0; filter: none; }

/* ── Adaptación ── */
@media (max-width: 1000px) {
  .fly__grid { grid-template-columns: repeat(2, 1fr); }
  .story__grid { grid-template-columns: 1fr; }
  .story__stage { top: 76px; height: 300px; z-index: 2; }
  .step { min-height: 62vh; justify-content: flex-start; padding-top: 340px; }
  .step:first-child { padding-top: 360px; }
  .spaces__body { grid-template-columns: 1fr; }
}
@media (max-width: 833px) {
  .gnav__menu, .gnav__cta { display: none; }
  .gnav__burger { display: inline-flex; }
  .lnav__links { display: none; }
  .device__screen { grid-template-columns: 1fr; }
  .app__side { display: none; }
  .app__tiles { grid-template-columns: repeat(2, 1fr); }
  .app__tiles .tile:last-child { display: none; }
  .privacy__grid { grid-template-columns: 1fr; }
  .pv p { padding-left: 0; }
  .foot__cols { grid-template-columns: 1fr; gap: 0; }
  .foot__col { border-bottom: 1px solid var(--rule); }
  .foot__col summary { pointer-events: auto; padding: 12px 0; margin: 0; }
  .foot__col summary .chev { display: block; }
  .foot__col a { padding: 6px 0 6px 12px; }
}
@media (max-width: 560px) {
  body { font-size: 1.0625rem; }
  .hero { height: 190vh; }
  .device { width: 94vw; }
  .device__screen { font-size: 8.4px; aspect-ratio: 10 / 9.4; }
  .app__main { padding: 1.8em 1.6em; gap: 1.4em; }
  .note--hero .note__value { font-size: 4.8em; }
  .note--story { font-size: 13.5px; }
  .story__stage { height: 260px; }
  .story__stage::after { content: ""; position: absolute; left: -20px; right: -20px; top: 100%; height: 48px; background: linear-gradient(var(--paper), transparent); pointer-events: none; }
  .story__stage::before { content: ""; position: absolute; left: -24px; right: -24px; bottom: calc(100% - 24px); height: 52px; background: var(--paper); z-index: -1; }
  .step { padding-top: 370px; }
  .step:first-child { padding-top: 380px; }
  .cmp-pick { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 32px; }
  .cmp-pick button { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--rule-2); color: var(--muted); font-weight: 600; font-size: .9375rem; }
  .cmp-pick button[aria-checked="true"] { background: var(--ink); color: var(--paper); border-color: transparent; }
  .table-wrap { margin-top: 20px; }
  .cmp { min-width: 0; table-layout: fixed; }
  .cmp tr > :not(:first-child) { display: none; }
  .cmp[data-col="1"] tr > :nth-child(2), .cmp[data-col="2"] tr > :nth-child(3), .cmp[data-col="3"] tr > :nth-child(4), .cmp[data-col="4"] tr > :nth-child(5) { display: table-cell; width: 34%; }
  .note--space { aspect-ratio: 1.45; }
  .wstep { grid-template-columns: 1fr; }
  .wstep__n { grid-row: auto; font-size: 3.5rem; }
  .wstep__art { grid-column: 1; }
  .wizard__steps { min-height: 420px; }
  .os { border-radius: 22px; }
  .pv { padding: 24px; border-radius: 22px; }
  .pv summary { grid-template-columns: 44px 1fr auto; gap: 14px; }
  .pv__ico { width: 44px; height: 44px; }
}

/* «Reducir movimiento»: Windows lo trae activo en muchos equipos. La página sigue viva;
   solo se calman lo que parpadea sin parar y los desplazamientos largos. */
@media (prefers-reduced-motion: reduce) {
  .art .pulse { animation-iteration-count: 2; }
  .js .rise { translate: 0 16px; filter: none; }
  .face { translate: 0 6px; filter: none; }
}

/* ════════ Tipografía: Bodoni Moda (valor grabado) + Schibsted Grotesk (texto) ════════ */
.hero__title, .close__t, .section-title, .say__text, .step h3, .wstep h3, .note__tag { font-optical-sizing: auto; font-variant-numeric: lining-nums; }
.hero__title, .close__t { letter-spacing: -0.035em; line-height: .94; }
.section-title { letter-spacing: -0.03em; }
.note__value, .rows dd, .tile b, .wstep__n { font-variant-numeric: lining-nums tabular-nums; letter-spacing: -0.02em; }
.say__text .w--k { font-style: italic; }
.note__label, .demo, .micro, .app__stamp, .gnav__brand, .app__brand, .foot__legal span:first-child { font-weight: 700; }
.note__label, .demo { letter-spacing: .14em; }
body { letter-spacing: -0.005em; }

/* ════════ Color por espacio: cada tramo de la página es una denominación ════════ */
.privacy { --kind: var(--freelancer); --kind-solid: var(--freelancer-solid); --kind-deep: var(--freelancer-deep); }
.compare { --kind: var(--entrepreneur); --kind-solid: var(--entrepreneur-solid); --kind-deep: var(--entrepreneur-deep); }
.install, .faq { --kind: var(--company); --kind-solid: var(--company-solid); --kind-deep: var(--company-deep); }

.hero, .say, .story, .gallery, .spaces, .privacy, .compare, .install, .faq, .close {
  --band: color-mix(in srgb, var(--kind-deep) 30%, var(--paper));
  --sheet: color-mix(in srgb, var(--kind-deep) 22%, #161c28);
  --sheet-2: color-mix(in srgb, var(--kind-deep) 28%, #1c2433);
  --paper-2: color-mix(in srgb, var(--kind-deep) 18%, #121722);
  --rule: color-mix(in srgb, var(--kind) 12%, transparent);
  --rule-2: color-mix(in srgb, var(--kind) 22%, transparent);
  background-color: var(--band);
  box-shadow: 0 0 0 100vmax var(--band);
  clip-path: inset(0 -100vmax);
  transition: background-color .6s var(--ease-out), box-shadow .6s var(--ease-out);
}
.hero, .say, .story, .gallery { --band: color-mix(in srgb, var(--kind-deep) 34%, var(--paper)); }
.close { --band: var(--paper); }
.install__go .pill, .close .pill { background: var(--kind-solid); }
.install__go .pill:hover, .close .pill:hover, .hero .pill:hover { background: color-mix(in srgb, var(--kind-solid) 82%, #fff); }
.os button[aria-selected="true"] { background: var(--kind); color: var(--paper); }
.faq summary:hover { color: var(--kind); }
.privacy .pv[open] { border-color: color-mix(in srgb, var(--kind) 40%, transparent); }
.cmp .y { stroke: var(--kind); }
.cmp thead th { color: var(--ink); }
/* Cifras de ancho fijo solo donde hay montos (en Schibsted el ancho fijo también abre los signos) */
.note__value, .rows dd, .tile b, .cmp, .wizard__count, .app__tiles, .story .rows { font-variant-numeric: lining-nums tabular-nums; }

/* ════════ Instalador: equipos dibujados con cursor y dedo que hacen el paso ════════ */
.wstep__art { max-width: 520px; }
.art .dev { fill: #1c2433; stroke: rgb(236 239 244 / 22%); stroke-width: 1.2; }
.art .dev--base { fill: #232b3b; }
.art .dev__notch, .art .dev__btn { fill: #10141c; }
.art .scr { fill: #0b0e15; stroke: #000; stroke-width: 1; }
.art .task { fill: rgb(236 239 244 / 7%); }
.art .task--dock { fill: rgb(236 239 244 / 10%); stroke: rgb(236 239 244 / 14%); stroke-width: .6; }
.art .win__frame { fill: #121722; stroke: rgb(236 239 244 / 18%); stroke-width: .8; }
.art .win__line { fill: none; stroke: rgb(236 239 244 / 10%); stroke-width: .8; }
.art .win__tab { fill: #1c2433; }
.art .win__url { fill: #0b0e15; stroke: rgb(236 239 244 / 14%); stroke-width: .7; }
.art .menu { fill: #1f2737; stroke: rgb(236 239 244 / 20%); stroke-width: .8; filter: drop-shadow(0 4px 8px rgb(0 0 0 / 50%)); }
.art .o { stroke-width: 1; }
.art .disp { font-family: var(--display); font-weight: 600; fill: var(--ink); letter-spacing: -0.02em; }
.art .val { font-family: var(--display); font-weight: 600; fill: var(--kind); font-variant-numeric: lining-nums; }
.art .val--pos { fill: var(--pos); }
.art .val--ink { fill: var(--ink); }
.art .t--onv { fill: rgb(255 255 255 / 70%); }
.art .t--lab { font-weight: 700; letter-spacing: .14em; }

/* Puntero */
.art .ptr { transform-box: view-box; transform-origin: 0 0; opacity: 0; }
.art .cur { fill: #fff; stroke: #0b0e15; stroke-width: 1.1; stroke-linejoin: round; filter: drop-shadow(0 2px 2px rgb(0 0 0 / 50%)); }
.art .touch__dot { fill: rgb(255 255 255 / 72%); }
.art .touch__ring { fill: none; stroke: rgb(255 255 255 / 45%); stroke-width: 1.2; }
.art .ripple { fill: none; stroke: var(--kind); stroke-width: 1.6; opacity: 0; transform-box: fill-box; transform-origin: center; }
.wstep.is-on .art .ptr--one { animation: ptr-one 5.6s cubic-bezier(.45,0,.2,1) infinite; }
.wstep.is-on .art .ptr--two { animation: ptr-two 6.8s cubic-bezier(.45,0,.2,1) infinite; }
.wstep.is-on .art .ripple--1.is-one { animation: rip-one 5.6s linear infinite; }
.wstep.is-on .art .ripple--1.is-two { animation: rip-two-a 6.8s linear infinite; }
.wstep.is-on .art .ripple--2 { animation: rip-two-b 6.8s linear infinite; }
.art .show-a, .art .show-1, .art .show-2 { opacity: 0; }
.wstep.is-on .art .show-a { animation: show-a 5.6s ease infinite; }
.wstep.is-on .art .hide-a { animation: hide-a 5.6s ease infinite; }
.wstep.is-on .art .show-1 { animation: show-1 6.8s ease infinite; }
.wstep.is-on .art .show-2 { animation: show-2 6.8s ease infinite; }

@keyframes ptr-one {
  0%   { opacity: 0; transform: translate(calc(var(--x0) * 1px), calc(var(--y0) * 1px)); }
  6%   { opacity: 1; transform: translate(calc(var(--x0) * 1px), calc(var(--y0) * 1px)); }
  34%  { transform: translate(calc(var(--x1) * 1px), calc(var(--y1) * 1px)) scale(1); }
  38%  { transform: translate(calc(var(--x1) * 1px), calc(var(--y1) * 1px)) scale(.78); }
  42%  { transform: translate(calc(var(--x1) * 1px), calc(var(--y1) * 1px)) scale(1); }
  86%  { opacity: 1; transform: translate(calc(var(--x1) * 1px + 18px), calc(var(--y1) * 1px + 14px)); }
  94%, 100% { opacity: 0; transform: translate(calc(var(--x1) * 1px + 18px), calc(var(--y1) * 1px + 14px)); }
}
@keyframes ptr-two {
  0%   { opacity: 0; transform: translate(calc(var(--x0) * 1px), calc(var(--y0) * 1px)); }
  5%   { opacity: 1; transform: translate(calc(var(--x0) * 1px), calc(var(--y0) * 1px)); }
  24%  { transform: translate(calc(var(--x1) * 1px), calc(var(--y1) * 1px)) scale(1); }
  27%  { transform: translate(calc(var(--x1) * 1px), calc(var(--y1) * 1px)) scale(.78); }
  30%  { transform: translate(calc(var(--x1) * 1px), calc(var(--y1) * 1px)) scale(1); }
  36%  { transform: translate(calc(var(--x1) * 1px), calc(var(--y1) * 1px)); }
  55%  { transform: translate(calc(var(--x2) * 1px), calc(var(--y2) * 1px)) scale(1); }
  58%  { transform: translate(calc(var(--x2) * 1px), calc(var(--y2) * 1px)) scale(.78); }
  61%  { transform: translate(calc(var(--x2) * 1px), calc(var(--y2) * 1px)) scale(1); }
  86%  { opacity: 1; transform: translate(calc(var(--x2) * 1px + 18px), calc(var(--y2) * 1px + 14px)); }
  94%, 100% { opacity: 0; transform: translate(calc(var(--x2) * 1px + 18px), calc(var(--y2) * 1px + 14px)); }
}
@keyframes rip-one { 0%, 37% { opacity: 0; transform: scale(.3); } 38% { opacity: .9; transform: scale(.3); } 50%, 100% { opacity: 0; transform: scale(1.9); } }
@keyframes rip-two-a { 0%, 26% { opacity: 0; transform: scale(.3); } 27% { opacity: .9; transform: scale(.3); } 38%, 100% { opacity: 0; transform: scale(1.9); } }
@keyframes rip-two-b { 0%, 57% { opacity: 0; transform: scale(.3); } 58% { opacity: .9; transform: scale(.3); } 69%, 100% { opacity: 0; transform: scale(1.9); } }
@keyframes show-a { 0%, 40% { opacity: 0; } 48%, 90% { opacity: 1; } 98%, 100% { opacity: 0; } }
@keyframes hide-a { 0%, 40% { opacity: 1; } 46%, 92% { opacity: 0; } 100% { opacity: 1; } }
@keyframes show-1 { 0%, 28% { opacity: 0; } 33%, 60% { opacity: 1; } 66%, 100% { opacity: 0; } }
@keyframes show-2 { 0%, 61% { opacity: 0; } 67%, 90% { opacity: 1; } 97%, 100% { opacity: 0; } }

/* ════════ Al elegir un espacio, toda la página toma su color ════════ */
html[data-kind="personal"], html[data-kind="personal"] :is(.hero, .say, .story, .gallery, .spaces, .privacy, .compare, .install, .faq, .close, .lnav, .gnav) { --kind: var(--personal); --kind-solid: var(--personal-solid); --kind-deep: var(--personal-deep); }
html[data-kind="freelancer"], html[data-kind="freelancer"] :is(.hero, .say, .story, .gallery, .spaces, .privacy, .compare, .install, .faq, .close, .lnav, .gnav) { --kind: var(--freelancer); --kind-solid: var(--freelancer-solid); --kind-deep: var(--freelancer-deep); }
html[data-kind="entrepreneur"], html[data-kind="entrepreneur"] :is(.hero, .say, .story, .gallery, .spaces, .privacy, .compare, .install, .faq, .close, .lnav, .gnav) { --kind: var(--entrepreneur); --kind-solid: var(--entrepreneur-solid); --kind-deep: var(--entrepreneur-deep); }
html[data-kind="company"], html[data-kind="company"] :is(.hero, .say, .story, .gallery, .spaces, .privacy, .compare, .install, .faq, .close, .lnav, .gnav) { --kind: var(--company); --kind-solid: var(--company-solid); --kind-deep: var(--company-deep); }
html[data-kind] :is(.hero, .say, .story, .gallery, .spaces, .privacy, .compare, .install, .faq, .close) { --band: color-mix(in srgb, var(--kind-deep) 34%, var(--paper)); }
html[data-kind] body { background-color: color-mix(in srgb, var(--kind-deep) 34%, var(--paper)); transition: background-color .6s var(--ease-out); }
html[data-kind] .note--story, html[data-kind] .note--hero { --k: var(--kind); }
html[data-kind] .app__side { background: var(--kind-deep); }
html[data-kind] :is(.pill, .mini--p) { background: var(--kind-solid); }
html[data-kind] .say__text .w--k, html[data-kind] .link-more { color: var(--kind); }
html[data-kind] .foot { background: color-mix(in srgb, var(--kind-deep) 26%, var(--paper-2)); }
.foot { transition: background-color .6s var(--ease-out); }
.gallery[data-kind="freelancer"] { --kind: var(--freelancer); --kind-solid: var(--freelancer-solid); --kind-deep: var(--freelancer-deep); }
.gallery[data-kind="entrepreneur"] { --kind: var(--entrepreneur); --kind-solid: var(--entrepreneur-solid); --kind-deep: var(--entrepreneur-deep); }
.gallery[data-kind="company"] { --kind: var(--company); --kind-solid: var(--company-solid); --kind-deep: var(--company-deep); }

/* ════════ Galería por espacio ════════ */
.rail__ctrl { gap: 20px; }
.gal-pick {
  position: relative; display: inline-flex; gap: 2px; padding: 5px; border-radius: 999px;
  background: color-mix(in srgb, var(--kind-deep) 30%, #161c28);
  border: 1px solid color-mix(in srgb, var(--kind) 18%, transparent);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 4%), 0 10px 30px rgb(0 0 0 / 30%);
  transition: background-color .5s var(--ease-out), border-color .5s;
}
.gal-pick__glide {
  position: absolute; left: 0; top: 5px; bottom: 5px; border-radius: 999px; width: 0;
  background: var(--kind-solid); box-shadow: inset 0 1px 0 rgb(255 255 255 / 18%), 0 6px 16px rgb(0 0 0 / 35%);
  transition: transform .5s var(--ease-out), width .5s var(--ease-out), background-color .5s;
}
.gal-pick button {
  position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px;
  min-height: 42px; padding: 0 16px; border-radius: 999px; font-weight: 600; font-size: .9375rem;
  color: var(--muted); transition: color .3s;
}
.gal-pick button:hover { color: var(--ink); }
.gal-pick button[aria-checked="true"] { color: #fff; }
.gal-pick svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* Celulares del color del espacio */
.gallery .phone {
  background: linear-gradient(160deg, color-mix(in srgb, var(--kind-solid) 55%, #222a39), color-mix(in srgb, var(--kind-deep) 70%, #141924));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--kind) 35%, transparent), 0 30px 70px rgb(0 0 0 / 45%);
  transition: background .6s var(--ease-out), box-shadow .6s var(--ease-out), translate .5s var(--ease-out);
}
.gallery .shot figcaption strong { color: var(--kind); }

/* Cambio de espacio: salen y entran en cascada */
.rail.is-swap-out .shot { opacity: 0; translate: -24px 0; filter: blur(6px); transition: opacity .26s, translate .3s var(--ease-out), filter .26s; }
.rail.is-swap-in .shot { animation: shot-in .7s var(--ease-out) both; animation-delay: calc(var(--i) * 60ms); }
@keyframes shot-in { from { opacity: 0; translate: 40px 0; filter: blur(6px); } }

/* Arrastrar con el mouse */
@media (hover: hover) and (pointer: fine) {
  .rail { cursor: grab; }
  .rail.is-drag { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
  .rail.is-drag .shot { user-select: none; }
  .rail.is-drag .phone { translate: 0 -4px; }
}
.rail img { -webkit-user-drag: none; user-select: none; }

@media (max-width: 833px) {
  .rail__ctrl { flex-wrap: wrap; justify-content: space-between; }
  .gal-pick { order: -1; width: 100%; justify-content: space-between; }
  .gal-pick button { flex: 1; justify-content: center; padding: 0 6px; font-size: .8125rem; gap: 5px; }
}
@media (max-width: 420px) {
  .gal-pick button span { display: none; }
  .gal-pick button { min-height: 44px; }
  .gal-pick button[aria-checked="true"] span { display: inline; }
}

/* ════════ Celular: menos aire vacío entre el héroe, la declaración y «Cómo funciona» ════════ */
@media (max-width: 560px) {
  .hero { height: 150vh; }
  .say { height: 118vh; }
  .say__sticky { position: sticky; top: 84px; height: auto; min-height: 0; align-items: flex-start; padding: 8px var(--gutter) 0; }
  .story { padding-top: 24px; }
  .story__grid { margin-top: 28px; }
}
@media (max-width: 560px) {
  .step, .step:first-child { padding-top: 0; min-height: 46vh; }
  .step:first-child { margin-top: 22px; }
  .story__steps { padding-bottom: 12vh; }
}

/* Compara en celular: el nombre del espacio, entero y centrado sobre su columna */
@media (max-width: 833px) {
  .cmp tr > :first-child { width: 60%; }
  .cmp[data-col="1"] tr > :nth-child(2), .cmp[data-col="2"] tr > :nth-child(3), .cmp[data-col="3"] tr > :nth-child(4), .cmp[data-col="4"] tr > :nth-child(5) { width: 40%; text-align: center; }
  .cmp thead th { white-space: normal; font-size: 1.0625rem; line-height: 1.15; padding: 14px 8px; vertical-align: middle; }
  .cmp thead th:not(:first-child) { text-align: center; }
  .cmp thead th .dot { display: block; margin: 0 auto 6px; }
  .cmp td svg { margin: 0 auto; }
}

/* ════════ Logo: monograma AC entrelazado con la ✓ ════════ */
.gnav__logo { height: 24px; width: auto; display: block; }
.app__mark { width: 1.9em; height: 1.9em; flex: none; }
.close__mark { width: clamp(150px, 18vw, 230px); height: auto; }
.lnav__title img { height: 22px; width: auto; display: block; }

/* ════════ Intro del logo al abrir la portada (intro.js, cada vez que se abre) ════════ */
/* Tapa provisional que pone el <head> antes de pintar; si intro.js no llegara, se quita sola a los 3 s. */
html.has-intro::after { content: ""; position: fixed; inset: 0; z-index: 9998; background: var(--paper); animation: intro-failsafe .3s 3s forwards; }
@keyframes intro-failsafe { to { opacity: 0; visibility: hidden; } }
html.intro-run { overflow: hidden; }
html.intro-run .gnav__logo { opacity: 0; }
.intro { position: fixed; inset: 0; z-index: 9999; overflow: hidden; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.intro__bg { position: absolute; inset: 0; will-change: opacity; background:
  radial-gradient(55% 48% at 50% 48%, rgba(91, 58, 140, .42), rgba(14, 18, 26, 0) 72%),
  radial-gradient(120% 90% at 50% 120%, rgba(52, 32, 79, .5), rgba(14, 18, 26, 0) 60%), var(--paper); }
.intro__rosette { position: absolute; left: 50%; top: 48%; width: min(72vmin, 620px); height: auto; aspect-ratio: 1;
  margin: calc(min(72vmin, 620px) / -2) 0 0 calc(min(72vmin, 620px) / -2); opacity: 0; overflow: visible; will-change: transform, opacity; }
.intro__rosette path { fill: none; stroke: #cdbbf0; stroke-width: .5; vector-effect: non-scaling-stroke; }
.intro__logo { display: block; will-change: transform; }
.intro__hint { position: absolute; left: 0; right: 0; bottom: max(28px, env(safe-area-inset-bottom)); margin: 0; text-align: center;
  font: 600 .75rem/1 var(--body); letter-spacing: .22em; text-transform: uppercase; color: rgba(236, 239, 244, .42); opacity: 0; transition: opacity .5s; }
.intro-w { display: inline-block; }
