/* Al Studio DR — styles */
@property --v { syntax: "<number>"; inherits: true; initial-value: 0; }

:root {
  --night: #060816;
  --night-2: #0c0f24;
  --night-3: #151936;
  --night-line: rgba(255, 255, 255, .1);
  --sand: #f7f3ea;
  --sand-2: #efe8da;
  --white: #fff;
  --ink: #0b0d1c;
  --gray: #5d5f6e;
  --gray-dark: #a4a7bd;
  --line: rgba(11, 13, 28, .1);
  --violet: #d86dff;
  --indigo: #5a4dfc;
  --blue: #5f9bff;
  --brand: linear-gradient(120deg, #e070ff 0%, #7a58ff 45%, #4f8dff 100%);
  --accent: #5b3df0;
  --accent-on-dark: #b3a4ff;
  --sea: #2fe0d0;
  --sun: #ffb56b;
  --dr-blue: #2a55e0;
  --dr-red: #e5153b;
  --wa: #1fae5b;
  --ok: #1f8a4c;
  --warn: #b8660b;
  --bad: #c0362c;
  --radius: 24px;
  --max: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --spring: cubic-bezier(.34, 1.4, .64, 1);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.55;
  color: var(--ink); background: var(--night);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.dark :focus-visible, .nav :focus-visible, .footer :focus-visible { outline-color: var(--accent-on-dark); }

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: 999px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: clamp(96px, 12vw, 168px); overflow-x: hidden; overflow-x: clip; }
.dark { background: var(--night); color: var(--white); }
.sand { background: var(--sand); color: var(--ink); }
.sand-2 { background: var(--sand-2); color: var(--ink); }

/* Type */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.dark .eyebrow { color: var(--accent-on-dark); }
.h-display { font-size: clamp(44px, 6.6vw, 92px); line-height: 1; letter-spacing: -.045em; font-weight: 750; }
.h-1 { font-size: clamp(38px, 5.4vw, 74px); line-height: 1.03; letter-spacing: -.04em; font-weight: 750; }
.h-2 { font-size: clamp(32px, 4.2vw, 56px); line-height: 1.05; letter-spacing: -.035em; font-weight: 750; }
.h-3 { font-size: 22px; line-height: 1.2; letter-spacing: -.02em; font-weight: 650; }
.lede { font-family: "Fraunces", Georgia, "Times New Roman", serif; font-optical-sizing: auto; font-weight: 350; font-size: clamp(18px, 1.6vw, 21.5px); line-height: 1.55; letter-spacing: -.005em; color: var(--gray); max-width: 44ch; }
.dark .lede { color: var(--gray-dark); }
.muted { color: var(--gray); }
.dark .muted { color: var(--gray-dark); }
.grad { background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-box-decoration-break: clone; }
.center { text-align: center; }
.center .lede { margin-inline: auto; }

/* Buttons */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px; border-radius: 999px; border: 1px solid transparent;
  font-size: 16px; font-weight: 600; letter-spacing: -.01em; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary { background: var(--accent); color: var(--white); box-shadow: 0 10px 30px -10px rgba(91, 61, 240, .8); }
.btn-primary:hover { background: #4c2fe0; box-shadow: 0 16px 40px -12px rgba(91, 61, 240, .9); }
.dark .btn-primary { background: var(--brand); background-size: 140% 100%; background-position: 0 0; }
.dark .btn-primary:hover { background-position: 100% 0; }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: var(--night-3); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--sand-2); }
.btn-ghost { border-color: var(--line); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }
.dark .btn-ghost { border-color: rgba(255, 255, 255, .22); color: var(--white); background: rgba(255, 255, 255, .04); }
.dark .btn-ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, .08); }
.btn-wa .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 4px rgba(31, 174, 91, .2); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }


/* Nav */
.nav { position: sticky; top: 0; z-index: 60; color: var(--white); transition: background-color .3s, border-color .3s; border-bottom: 1px solid transparent; background: rgba(6, 8, 22, .55); -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px); }
.nav.is-scrolled { background: rgba(6, 8, 22, .86); border-color: var(--night-line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); }
.brand-mark { width: 44px; height: auto; }
.brand-word { font-family: "Michroma", "Inter", sans-serif; font-size: 13.5px; font-weight: 400; letter-spacing: .08em; white-space: nowrap; }
.brand-word .d { background: linear-gradient(180deg, #7fc4ff, #1463ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-word .r { color: #ff2442; margin-left: -.06em; -webkit-text-stroke: .05em #ff2442; }
.brand-word .d { -webkit-text-stroke: .05em #2f7bff; }
.footer-brand { flex-direction: column; align-items: flex-start; gap: 14px; }
.footer-brand .brand-mark { width: 96px; }
.footer-brand .brand-word { font-size: 20px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: 14px; color: rgba(255, 255, 255, .78); text-decoration: none; transition: color .2s; }
.nav-links a:hover { color: var(--white); }
.nav .btn { min-height: 40px; padding: 9px 18px; font-size: 14px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 20px; height: 2px; background: var(--white); border-radius: 2px; position: relative; transition: transform .25s var(--ease), background-color .25s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav-cta-desktop { display: none; }
  .nav-links { position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; align-items: stretch; gap: 0; background: var(--night); border-bottom: 1px solid var(--night-line); padding: 8px var(--gutter) 24px; }
  .js .nav-links:not(.open) { display: none; }
  .nav-links a { font-size: 22px; font-weight: 600; padding: 14px 0; border-bottom: 1px solid var(--night-line); color: var(--white); }
  .nav-links .btn { margin-top: 20px; min-height: 52px; font-size: 16px; border-bottom: 0; }
}
@media (min-width: 901px) { .nav-links .nav-cta-mobile { display: none; } }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--night); color: var(--white); margin-top: -68px; padding-top: 68px; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero { --sea-h: 0px; }
/* Background: the calm brand colors as soft light fields, crossed by slow frequency lines */
.aura { position: absolute; inset: 0; background:
  radial-gradient(50% 60% at 80% 72%, rgba(224, 112, 255, .26), transparent 70%),
  radial-gradient(40% 45% at 64% 100%, rgba(255, 170, 140, .13), transparent 70%),
  radial-gradient(42% 48% at 14% 18%, rgba(90, 77, 252, .24), transparent 70%),
  radial-gradient(36% 40% at 38% 108%, rgba(47, 224, 208, .12), transparent 70%),
  linear-gradient(180deg, #060816 0%, #0b0b2a 55%, #1a1044 100%);
  animation: aura 16s ease-in-out infinite alternate; }
@keyframes aura { to { filter: hue-rotate(-16deg) saturate(1.12); } }
.freq { position: absolute; left: 0; bottom: 0; width: 200%; height: 55%; opacity: .42; animation: drift 48s linear infinite;
  -webkit-mask: linear-gradient(180deg, transparent, #000 25%, #000 80%, transparent); mask: linear-gradient(180deg, transparent, #000 25%, #000 80%, transparent); }
.freq path { fill: none; stroke-width: 1.3; vector-effect: non-scaling-stroke; }
.freq path:nth-child(even) { opacity: .5; }
@keyframes drift { to { transform: translateX(-50%); } }
.hero.is-off .freq, .hero.is-off .aura { animation-play-state: paused; }

.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; min-height: min(calc(100svh - 68px), 860px); padding-block: clamp(28px, 4vw, 56px) calc(var(--sea-h) + clamp(28px, 4vw, 56px)); }
.hero-copy { position: relative; z-index: 2; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(47, 224, 208, .55); } 80%, 100% { box-shadow: 0 0 0 10px rgba(47, 224, 208, 0); } }
.hero h1 { font-size: clamp(40px, 4.4vw, 66px); line-height: 1.02; }
.hero h1 .line { display: block; }
.hero .lede { margin: 22px 0 32px; color: rgba(255, 255, 255, .72); max-width: 40ch; font-size: clamp(17px, 1.35vw, 19px); }
.proof { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; font-size: 14px; color: rgba(255, 255, 255, .75); }
.proof li { display: inline-flex; align-items: center; gap: 8px; }
.proof svg { width: 16px; height: 16px; color: var(--sea); }
.proof strong { color: var(--white); font-weight: 600; }

/* Intro animation (first seconds) */
.js .intro { opacity: 0; transform: translateY(26px); animation: rise .9s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 1ms); }
@keyframes rise { to { opacity: 1; transform: none; } }

/* Hero stage */
.stage-wrap { position: relative; z-index: 2; }
.stage { position: relative; height: clamp(440px, 38vw, 540px); }
.card { position: absolute; background: var(--white); color: var(--ink); border-radius: 20px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .06); }
.s-web { left: 0; top: 2%; width: 82%; overflow: hidden; }
.s-web .bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #f1ede4; font-size: 11.5px; color: var(--gray); }
.s-web .bar i { width: 9px; height: 9px; border-radius: 50%; background: #dcd5c6; }
.s-web .bar b { margin-inline: auto; font-weight: 500; background: var(--white); padding: 3px 14px; border-radius: 999px; }
.s-web .body { padding: 18px 18px 20px; display: grid; gap: 14px; }
.s-web .mnav { display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; }
.s-web .mnav span:last-child { font-weight: 500; color: var(--gray); display: flex; gap: 12px; }
.s-web .mh { font-weight: 750; color: var(--ink); margin: 0; font-size: clamp(20px, 2vw, 28px); letter-spacing: -.03em; line-height: 1.05; }
.s-web p { font-size: 12.5px; color: var(--gray); }
.photo { display: block; width: 100%; height: auto; object-fit: cover; background: #dfe8ea; -webkit-user-drag: none; user-select: none; }
.beach-photo { aspect-ratio: 16 / 7; border-radius: 12px; }
.mbtn { justify-self: start; display: inline-flex; gap: 6px; align-items: center; font-size: 12px; font-weight: 600; padding: 8px 14px; border-radius: 999px; background: var(--wa); color: var(--white); transition: transform .3s var(--spring); }
.cursor { position: absolute; width: 22px; height: 22px; left: 62%; top: 48%; border-radius: 50%; background: rgba(91, 61, 240, .25); border: 2px solid var(--accent); transition: left .55s var(--ease), top .55s var(--ease), transform .25s; }
.stage[data-step="0"] .cursor { left: 16%; top: 83%; transform: scale(.85); }
.stage[data-step="0"] .mbtn { transform: scale(.95); }

.s-phone { right: 0; bottom: 0; width: min(40%, 232px); aspect-ratio: 9 / 18.5; border-radius: 38px; background: #0d0f1f; padding: 10px; z-index: 3; }
.s-phone .screen { height: 100%; border-radius: 30px; background: #efe7dc; overflow: hidden; display: flex; flex-direction: column; }
.s-phone .head { display: flex; align-items: center; gap: 8px; padding: 22px 12px 10px; background: #0f5a4e; color: var(--white); }
.s-phone .head .av { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700; background: var(--sun); color: var(--ink); flex: none; }
.s-phone .head strong { display: block; font-size: 12.5px; line-height: 1.1; }
.s-phone .head small { font-size: 10.5px; opacity: .8; }
.s-phone .msgs { flex: 1; padding: 12px 10px; display: flex; flex-direction: column; gap: 8px; justify-content: flex-end; }
.msg { max-width: 88%; padding: 8px 10px; border-radius: 12px; font-size: 11.5px; line-height: 1.35; box-shadow: 0 1px 1px rgba(0, 0, 0, .06); }
.msg.in { background: var(--white); align-self: flex-start; border-top-left-radius: 3px; }
.msg.out { background: #d9fdd3; align-self: flex-end; border-top-right-radius: 3px; }
.msg time { display: block; text-align: right; font-size: 9.5px; color: var(--gray); margin-top: 2px; }
.typing { align-self: flex-end; background: #d9fdd3; border-radius: 12px; padding: 9px 12px; display: flex; gap: 4px; }
.typing i { width: 5px; height: 5px; border-radius: 50%; background: #4e7a58; animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 60%, 100% { opacity: .3; } 30% { opacity: 1; } }
.quick { display: flex; flex-wrap: wrap; gap: 5px; align-self: flex-end; justify-content: flex-end; }
.quick span { font-size: 10.5px; font-weight: 600; padding: 5px 9px; border-radius: 999px; background: var(--white); color: #0f5a4e; border: 1px solid #0f5a4e; }
.quick span.on { background: #0f5a4e; color: var(--white); }

.toast { left: 34%; top: -3%; z-index: 4; display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: center; padding: 11px 16px 11px 11px; border-radius: 16px; width: max-content; max-width: 290px; }
.toast .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: #ece8ff; color: var(--accent); }
.toast .ic svg { width: 17px; height: 17px; }
.toast strong { display: block; font-size: 13px; line-height: 1.2; }
.toast small { font-size: 11.5px; color: var(--gray); }
.toast.t2 { top: 30%; left: -7%; }
.toast.t2 .ic { background: #e3f7ef; color: var(--ok); }

.s-dash { left: 3%; bottom: 3%; width: 44%; padding: 14px 16px; z-index: 2; }
.s-dash .top { display: flex; justify-content: space-between; align-items: baseline; font-size: 11.5px; color: var(--gray); }
.s-dash .num { font-size: 32px; font-weight: 750; letter-spacing: -.03em; line-height: 1.1; margin-top: 2px; font-variant-numeric: tabular-nums; }
.s-dash .num em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--ok); margin-left: 6px; vertical-align: middle; }
.s-dash .mbars { display: flex; align-items: flex-end; gap: 6px; height: 46px; margin-top: 8px; }
.s-dash .mbars i { flex: 1; border-radius: 4px 4px 1px 1px; background: #e9e4f9; height: var(--h); transition: height .55s var(--spring); }
.s-dash .mbars i:last-child { background: var(--brand); }
.stage:not([data-step="5"]) .s-dash .mbars i:last-child { height: 20%; }

/* Stage visibility by step (no-JS shows the final state) */
.js [data-show] { opacity: 0; transform: translateY(14px) scale(.97); transition: opacity .35s var(--ease), transform .45s var(--spring); }
.js [data-show].on { opacity: 1; transform: none; }
.js .msg[data-show] { transform-origin: bottom; }
.js [data-hide].off { display: none; }

.steps-ui { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.seg { display: flex; gap: 6px; flex: 1; }
.seg button { flex: 1; height: 28px; padding: 0; border: 0; background: transparent; cursor: pointer; position: relative; }
.seg button::before, .seg button::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 3px; }
.seg button::before { background: rgba(255, 255, 255, .18); }
.seg button::after { background: var(--white); transform: scaleX(0); transform-origin: left; }
.seg button.done::after { transform: none; }
.seg button[aria-current="step"]::after { transform: none; }
.playing .seg button[aria-current="step"]::after { animation: fill var(--dur, 2400ms) linear forwards; }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.caption { font-size: 14px; color: rgba(255, 255, 255, .8); margin-top: 10px; min-height: 1.5em; }
.caption b { color: var(--sea); font-weight: 600; margin-right: 6px; font-variant-numeric: tabular-nums; }
.pause { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .05); color: var(--white); cursor: pointer; display: grid; place-items: center; }
.pause:hover { border-color: var(--white); }
.pause svg { width: 14px; height: 14px; }
.pause .i-play { display: none; }
.pause[aria-pressed="true"] .i-play { display: block; }
.pause[aria-pressed="true"] .i-pause { display: none; }
.demo-note { font-size: 12px; color: rgba(255, 255, 255, .5); margin-left: auto; }

/* Scroll cue */
.cue { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 3; font-size: 12px; color: rgba(255, 255, 255, .6); display: flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none; }
.cue i { width: 22px; height: 34px; border-radius: 12px; border: 1.5px solid rgba(255, 255, 255, .35); position: relative; }
.cue i::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--white); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(10px); opacity: 0; } 100% { opacity: 0; } }

/* Marquee */
.marquee { background: var(--night); color: var(--white); border-block: 1px solid var(--night-line); overflow-x: auto; overflow-y: hidden; scrollbar-width: none; padding-block: 22px; cursor: grab; user-select: none; }
.marquee::-webkit-scrollbar { display: none; }
.marquee.is-dragging { cursor: grabbing; }
.marquee:focus-visible { outline-offset: -3px; }
html:not(.js) .marquee { overflow: hidden; }
.marquee-track { display: flex; width: max-content; }
html:not(.js) .marquee-track { animation: marquee3 38s linear infinite; }
@keyframes marquee3 { to { transform: translateX(-33.333%); } }
.marquee ul { display: flex; align-items: center; }
.marquee li { display: flex; align-items: center; gap: 28px; padding-right: 28px; font-size: clamp(18px, 2vw, 24px); font-weight: 600; letter-spacing: -.02em; white-space: nowrap; color: rgba(255, 255, 255, .85); }
.marquee li::after { content: ""; width: 10px; height: 10px; transform: rotate(45deg); background: var(--brand); border-radius: 2px; }

/* Statement */
.statement { background: var(--night); color: var(--white); overflow: hidden; }
.statement::before { content: ""; position: absolute; width: 900px; height: 900px; left: 50%; top: 50%; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(90, 77, 252, .18), transparent 60%); pointer-events: none; }
.statement .h-1 { position: relative; max-width: 22ch; margin-inline: auto; font-size: clamp(36px, 5.2vw, 72px); }
.js .lit .w { opacity: .18; transition: opacity .35s linear; }
.js .lit .w.on { opacity: 1; }
.statement .lede { position: relative; margin-top: 32px; max-width: 52ch; }

/* Website mockup: browser screens + phone */
.device { position: relative; width: 100%; }
.device .browser { border-radius: 18px; overflow: hidden; background: var(--white); box-shadow: 0 50px 90px -40px rgba(11, 13, 28, .45), 0 0 0 1px var(--line); }
.device .bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #f1ede4; font-size: 12px; color: var(--gray); }
.device .bar i { width: 9px; height: 9px; border-radius: 50%; background: #dcd5c6; }
.device .bar b { margin-inline: auto; font-weight: 500; background: var(--white); padding: 3px 14px; border-radius: 999px; }
.screens { position: relative; aspect-ratio: 16 / 11; }
.screen-v { position: absolute; inset: 0; padding: 22px; opacity: 0; transform: scale(.98); transition: opacity .45s var(--ease), transform .45s var(--ease); display: grid; gap: 14px; align-content: start; }
.screen-v.is-active { opacity: 1; transform: none; }
.serp { display: grid; gap: 12px; }
.serp .q { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; font-size: 14px; }
.serp .q svg { width: 16px; height: 16px; color: var(--gray); }
.serp .r { border-radius: 14px; padding: 14px; border: 1px solid var(--line); display: grid; gap: 4px; font-size: 13px; }
.serp .r.top { border-color: var(--accent); box-shadow: 0 0 0 4px #ece8ff; }
.serp .r b { font-size: 16px; color: #1a3fb8; }
.stars { color: #e6a100; letter-spacing: 1px; }
.phone-mini { position: absolute; right: -5%; bottom: -10%; width: 28%; aspect-ratio: 9 / 18.5; border-radius: 26px; background: #0d0f1f; padding: 7px; box-shadow: 0 30px 60px -20px rgba(11, 13, 28, .6); }
.phone-mini div { height: 100%; border-radius: 20px; background: #efe7dc; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 10px 8px; overflow: hidden; }
.phone-mini span { font-size: 9.5px; padding: 6px 8px; border-radius: 9px; background: var(--white); max-width: 90%; }
.phone-mini span.o { background: #d9fdd3; align-self: flex-end; }

.deliverables { display: grid; gap: 14px; margin: 28px 0 32px; }
.deliverables li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.deliverables svg { width: 20px; height: 20px; margin-top: 3px; color: var(--accent); }
.dark .deliverables svg { color: var(--sea); }

/* Systems explorer: one section, one tab per product */
.svc-sec { background: var(--night-2); padding-block: clamp(88px, 10vw, 136px); }
.svc-head { text-align: center; }
.svc-bar { position: sticky; top: 80px; z-index: 5; display: flex; justify-content: center; margin: 44px 0 48px; }
.svc-tabs { position: relative; display: flex; gap: 4px; max-width: 100%; padding: 6px; border-radius: 999px; overflow-x: auto; scrollbar-width: none;
  background: rgba(21, 25, 54, .82); border: 1px solid var(--night-line); -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .8); }
.svc-tabs::-webkit-scrollbar { display: none; }
.svc-ind { position: absolute; top: 6px; bottom: 6px; left: 0; width: 0; border-radius: 999px; background: var(--brand); box-shadow: 0 8px 24px -8px rgba(122, 88, 255, .9); transition: transform .5s var(--spring), width .5s var(--spring); }
.svc-tab { position: relative; z-index: 1; flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 18px; border: 0; border-radius: 999px; background: transparent; color: rgba(255, 255, 255, .7); font-size: 15px; font-weight: 600; white-space: nowrap; cursor: pointer; transition: color .25s; }
.svc-tab svg { width: 18px; height: 18px; flex: none; }
.svc-tab:hover, .svc-tab.is-active { color: var(--white); }
.svc-tab:focus-visible { outline: 3px solid var(--accent-on-dark); outline-offset: -3px; }
html:not(.js) .svc-bar { display: none; }
html:not(.js) .svc-panel + .svc-panel { margin-top: 120px; }
.js .svc-panel:not(.is-active) { display: none; }
.svc-panel:focus { outline: none; }
.svc-panel.enter { animation: svc-in .55s var(--ease); }
@keyframes svc-in { from { opacity: 0; transform: translateX(calc(var(--dir, 1) * 32px)); } }
.svc-panel .h-2 { font-size: clamp(30px, 3.4vw, 48px); }
.svc-panel .lede { margin-top: 18px; }
.svc-panel .deliverables { margin: 24px 0 26px; }
.svc-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; width: fit-content; max-width: 100%; margin-bottom: 26px; padding: 14px 20px; border-radius: 18px; background: rgba(255, 255, 255, .05); border: 1px solid var(--night-line); }
.svc-price strong { font-size: clamp(26px, 2.4vw, 32px); font-weight: 750; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.svc-unit { font-size: 14px; font-weight: 600; color: var(--gray-dark); }
.svc-plans { display: grid; gap: 10px; }
.svc-plans p { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
/* Wide screens: one aligned table (plan · from · price) */
@media (min-width: 1280px) {
  .svc-plans { grid-template-columns: repeat(3, max-content); align-items: baseline; gap: 10px; }
  .svc-plans p { display: contents; }
}
.svc-plan { min-width: 6.5em; font-size: 14px; font-weight: 700; color: var(--white); }
.svc-plans strong { font-size: clamp(20px, 1.8vw, 24px); }
.svc-price small { flex-basis: 100%; margin-top: 2px; font-size: 13.5px; font-weight: 600; color: var(--sea); }
.web-steps { display: grid; gap: 8px; margin: 24px 0 26px; }
.web-steps li { display: grid; grid-template-columns: 30px 1fr; gap: 10px; padding: 12px 14px; border-radius: 14px; border: 1px solid transparent; color: var(--gray-dark); font-size: 15.5px; line-height: 1.45; cursor: pointer; transition: background-color .4s, border-color .4s, color .4s; }
.web-steps b { padding-top: 1px; font-size: 13px; color: var(--accent-on-dark); }
.web-steps strong { color: var(--white); font-weight: 650; }
.web-steps li.is-active { background: rgba(255, 255, 255, .06); border-color: var(--night-line); color: #d3d6e8; }
.web-steps li { position: relative; overflow: hidden; }
/* While the screens rotate, the active step shows how long until the next one */
.web-steps.is-cycling li.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--brand); transform-origin: left; animation: fill 2.2s linear; }
.web-device { max-width: 580px; margin: 0 auto 8%; color: var(--ink); }
/* Keep the screen content clear of the phone that overlaps the browser's right edge */
.web-device .screen-v { padding-right: 25%; }
.web-device .screen-v:first-child { padding-right: 22px; }
.svc-tab svg { transition: transform .3s var(--spring); }
.svc-tab:hover svg, .svc-tab.is-active svg { transform: scale(1.15); }
.svc-next { display: flex; align-items: center; gap: 10px; width: fit-content; margin: 56px auto 0; padding: 12px 22px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .18); color: var(--white); font-size: 15px; font-weight: 600; text-decoration: none; transition: border-color .2s, background-color .2s; }
.svc-next:hover { border-color: var(--white); background: rgba(255, 255, 255, .06); }
.svc-next svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.svc-next:hover svg { transform: translateX(4px); }
.js .svc-next:not(.is-active) { display: none; }
html:not(.js) .svc-nexts { display: none; }

/* Pricing: the systems side by side, same card for each */
.wrap-wide { max-width: 1480px; }
#precios { padding-top: clamp(64px, 7vw, 104px); }
.pricing-head { text-align: center; margin-bottom: 48px; }
.pricing-head .h-1 { max-width: 18ch; margin-inline: auto; }
.pricing-head .lede { max-width: 62ch; }
.pricing-head .lede { margin: 18px auto 0; }
.sys-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: stretch; max-width: 1180px; margin-inline: auto; }
@media (min-width: 1200px) {
  .sys-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; max-width: none; }
  .sys-grid > .plan { padding-inline: 20px; }
  .sys-grid .price { font-size: clamp(28px, 2.05vw, 34px); }
  .sys-grid .btn { padding-inline: 12px; font-size: 15px; }
  .sys-grid .plan-bonus { padding: 12px 14px; }
  .sys-grid .plan-bonus p { font-size: 11px; letter-spacing: .04em; }
}
/* The list takes its natural height; the button always sits at the bottom of the card */
.sys-grid .plan ul { flex: none; }
.sys-grid .plan .btn { margin-top: auto; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px 22px; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s; }
.plan::before { content: ""; position: absolute; top: -1px; left: 26px; right: 26px; height: 4px; border-radius: 0 0 6px 6px; background: var(--acc, var(--accent)); }
.sys-head { display: grid; justify-items: start; gap: 14px; }
.sys-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; color: var(--acc); background: color-mix(in srgb, var(--acc) 14%, var(--white)); }
.sys-ic svg { width: 22px; height: 22px; }
.plan h3 { font-size: 21px; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.sys-tag { margin-top: 10px; min-height: 2.9em; font-size: 14.5px; line-height: 1.45; color: var(--gray); }

/* Websites: Landing / Business / Signature switch (radio buttons, works without JS) */
.plan-pick { display: flex; gap: 2px; min-width: 0; min-height: 42px; margin: 10px 0 0; padding: 3px; border: 0; border-radius: 999px; background: var(--sand); }
.plan-pick label { flex: 1 1 auto; display: grid; place-items: center; padding: 6px 4px; letter-spacing: -.01em; border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--gray); white-space: nowrap; cursor: pointer; transition: background-color .25s, color .25s, box-shadow .25s; }
.plan-pick label:hover { color: var(--ink); }
.plan-pick input:checked + label { background: var(--white); color: var(--ink); box-shadow: 0 4px 14px -6px rgba(11, 13, 28, .35); }
.plan-pick input:focus-visible + label { outline: 3px solid var(--accent); outline-offset: 1px; }
.plan-pick label { grid-auto-flow: column; gap: 3px; }
.rec-tag { color: #e6a100; }
.web-plans { flex: 1; display: flex; flex-direction: column; }
.web-plan { flex: 1; display: none; flex-direction: column; }
.sys-card:has(#wp-landing:checked) .wp-landing,
.sys-card:has(#wp-business:checked) .wp-business,
.sys-card:has(#wp-signature:checked) .wp-signature { display: flex; animation: plan-in .4s var(--ease); }
@keyframes plan-in { from { opacity: 0; transform: translateY(8px); } }
@supports not selector(:has(a)) { .web-plan { display: flex; } .web-plan + .web-plan { margin-top: 24px; } .plan-pick { display: none; } }

/* Price: label, price, note */
.price-meta { margin-top: 20px; min-height: 1.5em; font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--gray); }
.price { margin-top: 2px; display: flex; flex-wrap: wrap; align-items: baseline; font-size: clamp(32px, 2.4vw, 40px); font-weight: 750; letter-spacing: -.04em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.price-unit { margin-left: 3px; font-size: 15px; font-weight: 650; letter-spacing: 0; color: var(--gray); }
.period { margin-top: 8px; font-size: 13.5px; font-weight: 600; line-height: 1.45; color: var(--gray); }
/* Signature: limited availability, shown only when that plan is selected */
.spots { display: inline-flex; align-items: center; gap: 8px; width: fit-content; margin-top: 10px; padding: 5px 11px 5px 9px; border-radius: 999px; background: rgba(229, 21, 59, .08); color: #b3122f; font-size: 12.5px; font-weight: 700; }
.spots i { width: 7px; height: 7px; border-radius: 50%; background: var(--dr-red); animation: ping-red 2s infinite; }
.plan-for { margin-top: 12px; font-size: 14.5px; color: var(--gray); }

@keyframes ping-red { 0% { box-shadow: 0 0 0 0 rgba(229, 21, 59, .5); } 80%, 100% { box-shadow: 0 0 0 9px rgba(229, 21, 59, 0); } }

.plan ul { display: grid; align-content: start; gap: 10px; margin: 20px 0 22px; padding-top: 20px; border-top: 1px solid var(--line); flex: 1; }
.plan li { display: grid; grid-template-columns: 20px 1fr; gap: 8px; font-size: 14.5px; line-height: 1.45; }
.plan li svg { width: 18px; height: 18px; margin-top: 2px; color: var(--acc, var(--accent)); }
.plan .btn { width: 100%; }
.plan-bonus { margin: -6px 0 20px; padding: 14px 16px; border-radius: 16px; background: var(--sand); border: 1px dashed rgba(91, 61, 240, .35); }
.plan-bonus p { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.plan-bonus p svg { width: 18px; height: 18px; flex: none; }
.plan-bonus span { display: grid; grid-template-columns: 14px 1fr; gap: 6px; margin-top: 6px; font-size: 13.5px; line-height: 1.4; }
.plan-bonus span::before { content: "+"; font-weight: 800; color: var(--accent); }
.sys-demo { display: inline-flex; align-self: center; align-items: center; gap: 6px; margin-top: 14px; min-height: 32px; font-size: 14px; font-weight: 600; color: var(--gray); text-decoration: none; transition: color .2s; }
.sys-demo:hover { color: var(--ink); }
.sys-demo svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.sys-demo:hover svg { transform: translateX(3px); }

.assure { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.assure > div { display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: start; padding: 20px 22px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; }
.assure svg { width: 42px; height: 42px; padding: 10px; border-radius: 12px; background: rgba(91, 61, 240, .1); color: var(--accent); }
.assure b { display: block; font-size: 15.5px; font-weight: 700; letter-spacing: -.01em; }
.assure span { display: block; margin-top: 2px; font-size: 14px; line-height: 1.45; color: var(--gray); }
@media (max-width: 900px) { .assure { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }
/* Partner program: reuses the pricing head and the .assure cards; the CTA sits centered below */
#socios .assure { margin-top: 0; }
.partner-cta { justify-content: center; margin-top: 32px; }
.pricing-foot { margin-top: 36px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--gray); }

/* Product demos */
.product { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.product > *, .cta-layout > *, .faq-layout > *, .hero-grid > * { min-width: 0; }
.product-copy .lede { margin-top: 20px; }
.product-vis { position: relative; }
.dark .product-vis::before { content: ""; position: absolute; inset: -10%; background: radial-gradient(50% 50% at 50% 50%, rgba(90, 77, 252, .28), transparent 70%); z-index: 0; pointer-events: none; }
.product-vis > * { position: relative; }
.panel { background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 3vw, 28px); box-shadow: 0 40px 80px -46px rgba(11, 13, 28, .45); }
.dark .panel { border-color: transparent; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); }
.panel-label { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; font-size: 13px; color: var(--gray); }
.panel-label strong { color: var(--ink); font-size: 14px; }

/* Demo animations when revealed */
.js .reveal .seq > * { opacity: 0; transform: translateY(12px); transition: opacity .35s var(--ease), transform .45s var(--spring); }
.js .reveal.in .seq > * { opacity: 1; transform: none; }
.js .reveal.in .seq > *:nth-child(2) { transition-delay: .15s; }
.js .reveal.in .seq > *:nth-child(3) { transition-delay: .35s; }
.js .reveal.in .seq > *:nth-child(4) { transition-delay: .55s; }
.js .reveal.in .seq > *:nth-child(5) { transition-delay: .75s; }
.js .reveal.in .seq > *:nth-child(6) { transition-delay: .95s; }

/* WhatsApp demo */
.phone { max-width: 370px; margin: 0 auto; background: #0d0f1f; border-radius: 44px; padding: 12px; box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .08); }
.phone-screen { background: #efe7dc; border-radius: 34px; overflow: hidden; color: var(--ink); }
.phone-screen .chat-head { display: flex; align-items: center; gap: 10px; padding: 26px 16px 12px; background: #0f5a4e; color: var(--white); }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--sun); color: var(--ink); display: grid; place-items: center; font-size: 12px; font-weight: 700; flex: none; }
.chat-head strong { font-size: 14px; display: block; line-height: 1.2; }
.chat-head small { font-size: 12px; opacity: .8; }
.chat-body { padding: 16px 12px 20px; display: flex; flex-direction: column; gap: 10px; }
.bubble { max-width: 84%; padding: 9px 12px; border-radius: 14px; font-size: 13.5px; line-height: 1.4; box-shadow: 0 1px 1px rgba(0, 0, 0, .06); }
.bubble.in { background: var(--white); align-self: flex-start; border-top-left-radius: 4px; }
.bubble.out { background: #d9fdd3; align-self: flex-end; border-top-right-radius: 4px; }
.bubble time { display: block; text-align: right; font-size: 10.5px; color: var(--gray); margin-top: 2px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 6px; align-self: flex-end; justify-content: flex-end; }
.chip { font-size: 12px; font-weight: 600; padding: 6px 11px; border-radius: 999px; border: 1px solid #0f5a4e; color: #0f5a4e; background: var(--white); }
.chip.on { background: #0f5a4e; color: var(--white); }
.handoff { display: grid; gap: 4px; background: var(--white); border-left: 3px solid var(--accent); border-radius: 12px; padding: 10px 12px; font-size: 12.5px; }
.handoff b { color: var(--accent); font-size: 11.5px; letter-spacing: .04em; }

/* Audit demo */
.score { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.ring { --v: 58; width: 96px; height: 96px; border-radius: 50%; background: conic-gradient(var(--accent) calc(var(--v) * 1%), var(--sand-2) 0); display: grid; place-items: center; }
.js .reveal .ring { --v: 0; transition: --v 1.6s var(--ease) .2s; }
.js .reveal.in .ring { --v: 58; }
.ring span { width: 76px; height: 76px; border-radius: 50%; background: var(--white); display: grid; place-items: center; font-size: 26px; font-weight: 750; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.score small { color: var(--gray); font-size: 13px; }
.findings { display: grid; margin-top: 8px; }
.finding { display: grid; grid-template-columns: 26px 1fr auto; gap: 12px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.finding:last-child { border-bottom: 0; }
.finding .p { font-size: 12px; font-weight: 700; color: var(--gray); }
.sev { font-size: 11.5px; font-weight: 700; padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
.sev.high { background: #fbe9e7; color: var(--bad); }
.sev.mid { background: #fdf1e1; color: var(--warn); }
.sev.low { background: #e6f4ec; color: var(--ok); }

/* Invoices demo */
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi { background: var(--sand); border-radius: 14px; padding: 12px 14px; }
.kpi small { display: block; font-size: 12px; color: var(--gray); }
.kpi strong { font-size: clamp(18px, 2vw, 24px); letter-spacing: -.02em; }
.table-wrap { overflow-x: auto; margin-top: 14px; }
.inv { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 360px; }
.inv th { text-align: left; font-size: 12px; font-weight: 600; color: var(--gray); padding: 8px 6px; border-bottom: 1px solid var(--line); }
.inv td { padding: 11px 6px; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.inv tr:last-child td { border-bottom: 0; }
.inv td:nth-child(3), .inv th:nth-child(3) { text-align: right; }
.st { font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.st.paid { background: #e6f4ec; color: var(--ok); }
.st.due { background: #fdf1e1; color: var(--warn); }
.st.late { background: #fbe9e7; color: var(--bad); }
.auto-row { display: flex; gap: 10px; align-items: center; margin-top: 14px; padding: 11px 13px; border-radius: 12px; background: #ece8ff; color: var(--accent); font-size: 13px; font-weight: 600; }
.auto-row svg { width: 16px; height: 16px; flex: none; }

/* Content demo */
.source { display: grid; grid-template-columns: 100px 1fr; gap: 14px; align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 10px; }
.thumb .photo { height: 100%; }
.thumb::after { content: ""; position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; background: rgba(11, 13, 28, .55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M7.5 5.5v9l7-4.5z' fill='white'/%3E%3C/svg%3E") center / 18px no-repeat; }
.thumb .dur { position: absolute; right: 5px; bottom: 5px; padding: 1px 5px; border-radius: 4px; background: rgba(0, 0, 0, .75); color: var(--white); font-size: 10px; font-weight: 600; }
.source small { color: var(--gray); font-size: 13px; }
.timeline { position: relative; height: 36px; border-radius: 8px; margin: 18px 0 8px; overflow: hidden; background: linear-gradient(rgba(11, 13, 28, .35), rgba(11, 13, 28, .35)), url("img/photos/content-video.webp") left center / auto 100% repeat-x; }
.timeline i { position: absolute; top: 0; bottom: 0; background: rgba(122, 88, 255, .35); border: 2px solid #b3a4ff; border-radius: 4px; }
.js .reveal .timeline i { transform: scaleY(0); transition: transform .5s var(--spring); }
.js .reveal.in .timeline i { transform: none; }
.js .reveal.in .timeline i:nth-child(2) { transition-delay: .15s; }
.js .reveal.in .timeline i:nth-child(3) { transition-delay: .3s; }
.js .reveal.in .timeline i:nth-child(4) { transition-delay: .45s; }
.outputs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.out { min-width: 0; border: 1px solid var(--line); border-radius: 12px; padding: 8px; font-size: 11.5px; font-weight: 600; display: grid; gap: 6px; align-content: start; }
.out .f { position: relative; overflow: hidden; border-radius: 8px; background: var(--sand-2); }
.out .f .photo { position: absolute; inset: 0; height: 100%; }
.out .f.v { aspect-ratio: 9 / 14; }
.out .f.v .cap { position: absolute; left: 6px; right: 6px; bottom: 12px; padding: 3px 5px; border-radius: 4px; background: rgba(255, 255, 255, .92); color: var(--ink); font-size: 9.5px; font-weight: 800; line-height: 1.2; text-align: center; }
.out .f.v .bar { position: absolute; left: 0; bottom: 0; width: 38%; height: 3px; background: #ff3b5c; }
.out .f.c { aspect-ratio: 4 / 5; display: grid; align-content: space-between; padding: 8px; background: var(--brand); color: var(--white); }
.out .f.c b { font-size: 11px; line-height: 1.2; letter-spacing: -.01em; }
.out .f.c .dots { display: flex; gap: 3px; }
.out .f.c .dots i { width: 5px; height: 5px; border-radius: 50%; background: rgba(255, 255, 255, .5); }
.out .f.c .dots i:first-child { background: var(--white); }
.out .f.t { aspect-ratio: 16 / 9; }
.out .f.s { aspect-ratio: 1; display: grid; place-items: center; }
.out .f.s::after { content: ""; position: absolute; inset: 0; background: rgba(11, 13, 28, .55); }
.out .f.s q { position: relative; z-index: 1; padding: 6px; color: var(--white); font-family: "Fraunces", Georgia, serif; font-size: 10.5px; font-style: italic; line-height: 1.25; text-align: center; }
.out small { color: var(--gray); font-weight: 500; }

/* Process */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 64px; counter-reset: step; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 22px; height: 2px; background: var(--night-line); }
.steps::after { content: ""; position: absolute; left: 0; right: 0; top: 22px; height: 2px; background: var(--brand); transform-origin: left; }
.js .reveal.steps::after { transform: scaleX(0); transition: transform 1.6s var(--ease) .2s; }
.js .reveal.in.steps::after { transform: none; }
.steps li { position: relative; counter-increment: step; padding-top: 72px; }
.steps li::before { content: "0" counter(step); position: absolute; top: 0; left: 0; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 700; background: var(--night-3); border: 1px solid var(--night-line); color: var(--white); }
.steps h3 { margin-bottom: 8px; }
.steps p { font-family: "Fraunces", Georgia, serif; font-weight: 350; color: var(--gray-dark); font-size: 16.5px; line-height: 1.55; }

/* Industries marquee */
.ind-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.ind-head .lede { margin-top: 16px; }
.ind-nav { display: flex; gap: 10px; flex: none; }
.ind-btn { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer; transition: background-color .2s, color .2s, opacity .2s; }
.ind-btn svg { width: 20px; height: 20px; }
.ind-btn[data-dir="-1"] svg { transform: rotate(180deg); }
.ind-btn:hover:not(:disabled) { background: var(--ink); color: var(--white); }
.ind-btn:disabled { opacity: .35; cursor: default; }
/* Full-bleed: cards line up with the content on the left and run to the edge of the screen */
.ind-track { --bleed: calc(max(0px, (100vw - var(--max)) / 2) + var(--gutter)); display: flex; gap: 16px; margin: 40px calc(var(--bleed) * -1) 0; padding: 6px var(--bleed) 26px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--bleed); scrollbar-width: none; cursor: grab; }
.ind-track::-webkit-scrollbar { display: none; }
.ind-track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.ind-card { position: relative; flex: 0 0 clamp(260px, 24vw, 310px); aspect-ratio: 3 / 4; scroll-snap-align: start; overflow: hidden; border-radius: 22px; background: var(--night); color: var(--white); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.ind-card .photo { position: absolute; inset: 0; height: 100%; transition: transform .9s var(--ease); }
.ind-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 8, 22, 0) 22%, rgba(6, 8, 22, .55) 52%, rgba(6, 8, 22, .94) 100%); }
.ind-info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 20px; }
.ind-sys { display: flex; gap: 6px; margin-bottom: 12px; }
.ind-sys > span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.ind-sys svg { width: 15px; height: 15px; }
.ind-card h3 { font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.ind-card ul { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.ind-card li { padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .14); color: var(--white); font-size: 12.5px; line-height: 1.3; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
@media (hover: hover) and (pointer: fine) { .ind-card:hover { transform: translateY(-4px); box-shadow: 0 28px 56px -30px rgba(11, 13, 28, .6); } .ind-card:hover .photo { transform: scale(1.06); } }
@media (max-width: 600px) { .ind-head { flex-direction: column; align-items: flex-start; } .ind-card { flex-basis: 80%; } }

/* Work */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 56px; }
.work-card { background: var(--night-3); border: 1px solid var(--night-line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .5s var(--ease), border-color .4s; }
.work-visual { position: relative; min-height: 250px; overflow: hidden; padding: 24px 22px; display: grid; align-content: center; gap: 8px; background: radial-gradient(90% 80% at 50% 0%, rgba(122, 88, 255, .35), transparent 70%), var(--night-2); }
.work-body { padding: 22px 24px 26px; flex: 1; }
.work-body small { color: var(--accent-on-dark); font-size: 13px; font-weight: 600; }
.work-body h3 { margin-top: 6px; font-size: 20px; }
.w-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--white); color: var(--ink); border-radius: 12px; padding: 10px 12px; font-size: 13px; transition: transform .5s var(--ease); }
.w-row b { font-weight: 600; }
.work-card:hover .w-row:nth-of-type(1) { transform: translateX(-4px); }
.work-card:hover .w-row:nth-of-type(3) { transform: translateX(4px); }
.w-arrow { justify-self: center; color: var(--gray-dark); font-size: 14px; line-height: 1; }
.w-big { background: var(--brand); color: var(--white); }
.w-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.w-grid i { aspect-ratio: 1; border-radius: 6px; background: rgba(255, 255, 255, .12); transition: transform .5s var(--ease); }
.w-grid i.ph { background: url("img/photos/content-clip.webp") center 30% / cover; }
.w-grid i.ph.s { background-image: url("img/photos/content-square.webp"); }
.w-grid i.ph.t { background-image: url("img/photos/content-video.webp"); }
.w-grid i.q { background: var(--brand); }
/* Article snippet tiles: title bar and text lines */
.w-grid i:not(.ph):not(.q) { background: linear-gradient(#cfc8e6 0 0) 18% 26% / 64% 9% no-repeat, linear-gradient(#e7e3ee 0 0) 18% 50% / 70% 6% no-repeat, linear-gradient(#e7e3ee 0 0) 18% 64% / 56% 6% no-repeat, linear-gradient(#e7e3ee 0 0) 18% 78% / 62% 6% no-repeat, var(--white); }
.work-card:hover .w-grid i:nth-child(odd) { transform: scale(.92); }

/* FAQ */
.faq-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq-layout > div:first-child { position: sticky; top: 110px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font-size: 19px; font-weight: 600; letter-spacing: -.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line);
  background: linear-gradient(currentColor, currentColor) center / 12px 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 12px no-repeat; transition: transform .35s var(--ease), background-color .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--white); }
.faq details p { padding: 0 48px 26px 0; color: var(--gray); max-width: 62ch; }

/* Final CTA */
.cta { position: relative; overflow: hidden; background: var(--night); color: var(--white); isolation: isolate; }
.cta .aura { background: radial-gradient(55% 60% at 30% 105%, rgba(224, 112, 255, .26), transparent 70%), radial-gradient(40% 50% at 88% 8%, rgba(90, 77, 252, .22), transparent 70%), linear-gradient(180deg, #060816 0%, #0d0b2e 60%, #1a1044 100%); }
.cta .freq { height: 46%; opacity: .35; }
.cta .cta-layout { padding-bottom: 60px; }
.cta .hero-bg { z-index: -1; }
.cta-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.cta-layout .lede { margin-top: 20px; }
.direct { margin-top: 36px; display: grid; gap: 8px; }
.direct a { display: inline-flex; align-items: center; gap: 12px; font-size: clamp(22px, 2.4vw, 30px); font-weight: 650; text-decoration: none; letter-spacing: -.02em; }
.direct a:hover { text-decoration: underline; text-underline-offset: 6px; }
.direct a .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 5px rgba(31, 174, 91, .2); }
.form { background: rgba(12, 15, 36, .78); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border: 1px solid var(--night-line); border-radius: var(--radius); padding: clamp(22px, 4vw, 36px); display: grid; gap: 18px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 600; }
.field .opt { color: var(--gray-dark); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 12px 14px; border-radius: 12px; background: rgba(6, 8, 22, .7); border: 1px solid rgba(255, 255, 255, .14); color: var(--white); font-size: 16px; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 110px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #a4a7bd 50%), linear-gradient(135deg, #a4a7bd 50%, transparent 50%); background-position: calc(100% - 22px) 23px, calc(100% - 16px) 23px; background-size: 6px 6px; background-repeat: no-repeat; }
.field select option { color: var(--ink); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(255, 255, 255, .3); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 0; border-color: var(--accent-on-dark); box-shadow: 0 0 0 3px rgba(179, 164, 255, .35); }
.field [aria-invalid="true"] { border-color: #ff8a80; }
.error { font-size: 13px; color: #ffb3ab; }
.error:empty { display: none; }
.form-note { font-size: 13px; color: var(--gray-dark); }
.form .btn { width: 100%; }

/* Floating WhatsApp */
.fab { position: fixed; right: calc(16px + env(safe-area-inset-right)); bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 55; display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px 12px 12px; border-radius: 999px; background: var(--wa); color: var(--white); font-weight: 600; font-size: 15px; text-decoration: none; box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .5);
  transform: translateY(120%); opacity: 0; transition: transform .5s var(--spring), opacity .3s; }
.fab.show { transform: none; opacity: 1; }
.fab:hover { background: #179a4f; }
.fab span.ic { width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, .18); display: grid; place-items: center; }
.fab svg { width: 18px; height: 18px; }
html:not(.js) .typing { display: none; }

/* Footer */
.footer { background: var(--night); color: var(--gray-dark); border-top: 1px solid var(--night-line); padding-block: 64px 40px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.footer p { max-width: 34ch; margin-top: 6px; }
.footer h2 { font-size: 13px; color: var(--white); font-weight: 600; margin-bottom: 14px; }
.footer ul { display: grid; gap: 4px; }
.footer li a { display: inline-block; padding-block: 6px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--night-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.footer-bottom span { display: inline-flex; align-items: center; gap: 8px; }

/* Lift effects only for mouse/trackpad */
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-2px); }
  .plan:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--acc, var(--accent)) 45%, transparent); box-shadow: 0 30px 60px -34px color-mix(in srgb, var(--acc, var(--accent)) 70%, transparent); }
  .work-card:hover { transform: translateY(-6px); border-color: rgba(179, 164, 255, .45); }
}

/* Language switcher */
.lang { position: fixed; left: calc(16px + env(safe-area-inset-left)); bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 56; font-size: 14px; }
.lang-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 12px 8px 12px; border-radius: 14px; cursor: pointer;
  color: var(--white); background: rgba(12, 15, 36, .82); border: 1px solid rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%);
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .6); font-weight: 650; letter-spacing: .04em; transition: border-color .2s, background-color .2s; }
.lang-btn:hover { border-color: rgba(255, 255, 255, .4); }
.lang-btn svg { width: 16px; height: 16px; flex: none; }
.lang-btn svg:last-child { width: 14px; height: 14px; opacity: .7; transition: transform .25s var(--ease); }
.lang.open .lang-btn svg:last-child { transform: rotate(180deg); }
.lang-menu { position: absolute; left: 0; bottom: calc(100% + 8px); min-width: 200px; padding: 6px; border-radius: 16px;
  background: rgba(12, 15, 36, .96); border: 1px solid rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 0 24px 50px -16px rgba(0, 0, 0, .75); animation: pop .22s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(6px) scale(.98); } }
.lang-menu a { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 8px 12px; border-radius: 10px; color: rgba(255, 255, 255, .86); text-decoration: none; }
.lang-menu a:hover, .lang-menu a:focus-visible { background: rgba(255, 255, 255, .08); color: var(--white); }
.lang-menu a:focus-visible { outline: 2px solid var(--accent-on-dark); outline-offset: -2px; }
.lang-menu .code { width: 30px; font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--gray-dark); }
.lang-menu a[aria-current="true"] { background: rgba(122, 88, 255, .22); color: var(--white); }
.lang-menu a[aria-current="true"] .code { color: var(--accent-on-dark); }
.lang-menu a[aria-current="true"]::after { content: ""; margin-left: auto; width: 8px; height: 8px; border-radius: 50%; background: var(--sea); }
.lang .lang-btn:focus-visible { outline: 3px solid var(--accent-on-dark); outline-offset: 3px; }
/* Gym website demo: classes, payment, team CRM, content */
.classes { display: grid; gap: 8px; }
.cls { display: grid; grid-template-columns: 46px 1fr auto; gap: 10px; align-items: center; padding: 6px; border: 1px solid var(--line); border-radius: 12px; font-size: 12px; }
.cls .photo { width: 46px; height: 46px; border-radius: 9px; }
.cls b { display: block; font-size: 13px; }
.cls span { color: var(--gray); }
.cls .book { padding: 6px 12px; border-radius: 999px; background: var(--ink); color: var(--white); font-size: 11.5px; font-weight: 600; }
.pay { display: grid; gap: 10px; }
.pay-card { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; padding: 8px; border: 1px solid var(--line); border-radius: 12px; font-size: 12px; }
.pay-card .photo { width: 64px; height: 64px; border-radius: 10px; }
.pay-card b { display: block; font-size: 13.5px; }
.pay-card span { display: block; color: var(--gray); }
.pay-card strong { font-size: 18px; letter-spacing: -.02em; }
.pay-fields { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 6px; }
.pay-fields i { height: 26px; border-radius: 7px; background: var(--sand); }
.pay-btn { display: block; padding: 9px; border-radius: 999px; background: var(--accent); color: var(--white); text-align: center; font-size: 12.5px; font-weight: 700; }
.pay small { color: var(--gray); text-align: center; font-size: 11px; }
.crm { display: grid; gap: 10px; font-size: 12px; }
.crm-title { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; }
.crm-title .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.crm-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.crm-kpis div { padding: 8px 10px; border-radius: 10px; background: var(--sand); }
.crm-kpis small { display: block; color: var(--gray); font-size: 11px; }
.crm-kpis strong { font-size: 17px; letter-spacing: -.02em; }
.crm-rows { display: grid; gap: 4px; }
.crm-rows div { display: grid; grid-template-columns: 26px 1fr auto; gap: 8px; align-items: center; padding: 4px 2px; border-bottom: 1px solid var(--line); }
.crm-rows .av { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #ece8ff; color: var(--accent); font-size: 10px; font-weight: 700; }
.ig { display: grid; gap: 8px; }
.ig-head { display: flex; align-items: center; gap: 8px; font-size: 12.5px; }
.ig-head .av { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: var(--white); font-size: 10px; font-weight: 800; }
.ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.ig-grid .photo { aspect-ratio: 1; border-radius: 6px; }
.ig-cap { font-size: 12px; font-weight: 600; }
/* Each system's example opens inside its tab */
.svc-panel > .ex { margin-top: 36px; text-align: center; }
.ex summary { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); color: var(--white); font-size: 14.5px; font-weight: 600; cursor: pointer; list-style: none; transition: background-color .2s, border-color .2s; }
.ex summary::-webkit-details-marker { display: none; }
.ex summary svg { width: 18px; height: 18px; }
.ex summary:hover, .ex[open] summary { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .4); }
.ex .work-card { max-width: 420px; margin: 16px auto 0; text-align: left; animation: pop .3s var(--ease); }
.ex .work-body p { margin-top: 8px; font-size: 13.5px; line-height: 1.5; color: var(--gray-dark); }
.process-panel { text-align: center; }
.process-panel .h-2 { max-width: 22ch; margin-inline: auto; }
.process-panel .steps { text-align: left; }
.rooms-title { font-weight: 700; font-size: 18px; letter-spacing: -.02em; margin-bottom: 12px; }

/* Long words (German, Russian): never overflow */
h1, h2, h3, .price { overflow-wrap: break-word; hyphens: manual; }
/* Languages with longer headlines */
:lang(de) .hero h1, :lang(fr) .hero h1, :lang(ru) .hero h1 { font-size: clamp(34px, 3.8vw, 58px); }
:lang(de) .h-1, :lang(fr) .h-1, :lang(ru) .h-1 { font-size: clamp(34px, 4.8vw, 66px); }

/* Phones and tablets: switcher lives in the top bar, never over content */
@media (max-width: 900px) {
  .lang { top: calc(12px + env(safe-area-inset-top)); bottom: auto; left: auto; right: calc(var(--gutter) + 52px); z-index: 61; }
  .lang-btn { min-height: 44px; padding: 8px 10px; background: rgba(255, 255, 255, .06); box-shadow: none; }
  .lang-btn svg:last-child { display: none; }
  .lang-menu { top: calc(100% + 8px); bottom: auto; left: auto; right: -52px; }
}
.btn { white-space: normal; text-align: center; }

/* Touch screens: 44px minimum targets */
@media (pointer: coarse) {
  .seg button { height: 44px; }
  .pause { width: 44px; height: 44px; }
  .brand { min-height: 44px; }
  .nav-links a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; }
}

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1080px) {
  .hero-grid { gap: 28px; }
  .cue { display: none; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .steps::before, .steps::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { text-align: center; }
  .hero-copy .lede { margin-inline: auto; }
  .hero-copy .actions, .proof { justify-content: center; }
  .stage-wrap { max-width: 640px; width: 100%; margin: 0 auto; }
  .plan-for { min-height: 0; }
  .work-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .product, .faq-layout, .cta-layout { grid-template-columns: 1fr; }
  .faq-layout > div:first-child { position: static; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero-grid { padding-top: 28px; padding-bottom: 120px; }
  .hero .lede { font-size: 17px; }
  .hero .actions .btn { width: 100%; }
  .proof { flex-direction: column; align-items: center; gap: 8px; }
  .stage { height: 470px; }
  .s-web { width: 100%; }
  .s-web .mnav span:last-child { display: none; }
  .s-phone { width: 52%; right: -2%; }
  .s-dash { width: 50%; left: 0; }
  .toast { left: 6%; top: -2%; max-width: 88%; }
  .toast.t2 { left: 2%; top: 30%; }
  .demo-note { display: none; }

  .steps { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .kpis .kpi:nth-child(3) { display: none; }
  .outputs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fab .label-text { display: none; }
  .fab { padding: 12px; }
  .footer-grid { grid-template-columns: 1fr; }
  .faq summary { font-size: 17px; }
}

/* Phones and tablets: plans and work cards become swipeable rows */
.snap-dots { display: none; }
@media (max-width: 900px) {
  .svc-bar { top: 76px; margin: 32px calc(var(--gutter) * -1) 32px; padding-inline: var(--gutter); justify-content: flex-start; }
  .svc-bar .svc-tabs { margin-inline: auto; -webkit-mask: linear-gradient(90deg, transparent, #000 18px, #000 calc(100% - 18px), transparent); mask: linear-gradient(90deg, transparent, #000 18px, #000 calc(100% - 18px), transparent); }
  .svc-tab { padding: 10px 14px; font-size: 14.5px; }
  .svc-next { margin-top: 40px; }
  .plans.snap, .work-grid.snap { display: flex; gap: 14px; max-width: none; margin-inline: calc(var(--gutter) * -1); padding: 24px var(--gutter) 30px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; position: relative; }
  .plans.snap::-webkit-scrollbar, .work-grid.snap::-webkit-scrollbar { display: none; }
  .plans.snap > *, .work-grid.snap > * { flex: 0 0 min(84%, 400px); scroll-snap-align: center; }
  .work-grid.snap { margin-top: 32px; }
  .snap-dots { display: flex; justify-content: center; gap: 8px; }
  .snap-dots i { width: 7px; height: 7px; border-radius: 99px; background: rgba(11, 13, 28, .2); transition: width .3s var(--ease), background-color .3s; }
  .snap-dots i.on { width: 22px; background: var(--accent); }
  .dark .snap-dots i { background: rgba(255, 255, 255, .25); }
  .dark .snap-dots i.on { background: var(--accent-on-dark); }
  .assure { margin-top: 28px; }
}

/* ---------- Marca: cards share the system card; extra price lines sit under the main price ---------- */
.period:empty { display: none; }
.rec-pill { display: inline-flex; align-items: center; gap: 6px; width: fit-content; margin-top: 10px; padding: 4px 11px; border-radius: 999px; background: color-mix(in srgb, var(--acc, var(--accent)) 12%, var(--white)); font-size: 12px; font-weight: 700; }
.price-more { display: grid; gap: 10px; margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: var(--sand); }
.price-more p { display: grid; gap: 2px; }
.pm-label { font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--gray); }
.pm-val { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; font-variant-numeric: tabular-nums; }
.pm-amt { font-size: 19px; font-weight: 750; letter-spacing: -.02em; }
.pm-amt i { margin-left: 2px; font-style: normal; font-size: 13px; font-weight: 650; letter-spacing: 0; color: var(--gray); }
.pm-val small { flex-basis: 100%; font-size: 12.5px; font-weight: 600; color: var(--gray); }
.plan-note { margin: -8px 0 18px; font-size: 12.5px; line-height: 1.45; color: var(--gray); }
span.sys-demo { visibility: hidden; }
#marca { padding-top: clamp(72px, 8vw, 120px); }

/* ---------- Hero film: an image sequence the scroll plays ---------- */
.hero { overflow: clip; } /* clip, not hidden: position: sticky keeps working inside */
.hero-stick { position: relative; }
.film { position: relative; aspect-ratio: 16 / 9; margin-inline: calc(var(--gutter) * -1); background: var(--poster) center / cover no-repeat; mix-blend-mode: screen; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 16%, #000 80%, transparent); mask-image: linear-gradient(180deg, transparent, #000 16%, #000 80%, transparent); }
.film canvas { display: block; width: 100%; height: 100%; }
.film.is-live { background-image: none; }
@media (min-width: 901px) {
  /* Desktop: the film fills the first screen from the right; its left edge dissolves behind the headline */
  .has-film .hero-stick { display: flex; align-items: center; min-height: calc(100svh - 68px); }
  .has-film .hero-grid { min-height: 0; }
  .has-film .hero-copy { max-width: 560px; }
  .has-film .film { position: absolute; top: 0; left: 30vw; height: 100%; margin: 0;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 24%), linear-gradient(180deg, #000 78%, transparent); mask-image: linear-gradient(90deg, transparent, #000 24%), linear-gradient(180deg, #000 78%, transparent);
    -webkit-mask-composite: source-in; mask-composite: intersect; }
}
@media (min-width: 901px) and (min-height: 560px) and (prefers-reduced-motion: no-preference) {
  /* The first screen holds still for one extra screen of scroll while the spark travels */
  .js .has-film .hero-pin { height: calc(195svh - 68px); }
  .js .has-film .hero-stick { position: sticky; top: 68px; height: calc(100svh - 68px); min-height: 0; overflow: hidden; }
}
.hero-demo { padding-block: clamp(16px, 4vw, 56px) clamp(72px, 9vw, 128px); }
.hero-demo .stage-wrap { max-width: 640px; margin-inline: auto; }
.demo-tag { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 14px; font-size: 12.5px; color: rgba(255, 255, 255, .55); }
.demo-tag span { padding: 3px 9px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .22); color: rgba(255, 255, 255, .82); font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
@media (max-width: 900px) { .has-film .hero-grid { padding-bottom: 0; } .hero-demo { padding-top: 44px; } }

/* ---------- Showreel dialog (only when src/video/showreel.mp4 exists) ---------- */
.reel-btn svg { width: 16px; height: 16px; }
.reel-dialog { width: min(92vw, 1100px); max-width: none; padding: 0; border: 0; border-radius: 20px; background: #000; color: var(--white); overflow: visible; }
.reel-dialog::backdrop { background: rgba(6, 8, 22, .88); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.reel-dialog video { display: block; width: 100%; max-height: 86vh; border-radius: 20px; background: #000; }
.reel-close { position: absolute; right: 12px; top: 12px; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: rgba(12, 15, 36, .72); color: var(--white); cursor: pointer; }
.reel-close svg { width: 18px; height: 18px; }
.reel-close:focus-visible { outline: 3px solid var(--accent-on-dark); outline-offset: 3px; }

/* ---------- Marca demos: flow in four steps + mockups ---------- */
.flow { display: grid; margin: 24px 0 26px; }
.flow li { position: relative; display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid var(--night-line); color: var(--white); font-size: 15.5px; font-weight: 600; line-height: 1.35; }
.flow li + li { margin-top: 26px; }
.flow li + li::before { content: "↓"; position: absolute; left: 21px; top: -25px; color: var(--accent-on-dark); font-size: 15px; font-weight: 400; line-height: 24px; }
.flow b { font-size: 13px; color: var(--accent-on-dark); }
.vis-note { margin-top: 16px; text-align: center; font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--gray-dark); }
.reel-phone { max-width: 320px; }
.reel-screen { position: relative; aspect-ratio: 9 / 16; background: #0d0f1f; color: var(--white); }
.reel-screen .photo { position: absolute; inset: 0; height: 100%; }
.reel-screen::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 8, 22, .5), rgba(6, 8, 22, 0) 26%, rgba(6, 8, 22, 0) 52%, rgba(6, 8, 22, .82)); }
.reel-user { position: absolute; left: 14px; top: 26px; z-index: 1; display: flex; align-items: center; gap: 8px; font-size: 13px; }
.reel-user .avatar { background: var(--brand); color: var(--white); }
.reel-user svg { width: 16px; height: 16px; }
.reel-cap { position: absolute; left: 16px; right: 16px; bottom: 98px; z-index: 1; padding: 8px 10px; border-radius: 8px; background: rgba(255, 255, 255, .94); color: var(--ink); font-size: 16px; font-weight: 800; line-height: 1.2; text-align: center; }
.reel-stats { position: absolute; left: 14px; right: 14px; bottom: 26px; z-index: 1; display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; background: rgba(12, 15, 36, .74); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: 13px; font-weight: 700; line-height: 1.3; }
.reel-stats svg { flex: none; width: 14px; height: 14px; color: var(--sea); }
.reel-bar { position: absolute; left: 0; bottom: 0; z-index: 1; width: 42%; height: 4px; background: #ff3b5c; }
.kpis-2 { grid-template-columns: 1fr 1fr; }
.yt-list { display: grid; margin-top: 14px; }
.yt-list li { display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); }
.yt-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.yt-list .thumb { display: block; }
.yt-list .thumb::after { width: 24px; height: 24px; margin: -12px 0 0 -12px; background-size: 14px; }
.yt-list b { display: block; font-size: 14px; font-weight: 650; line-height: 1.3; letter-spacing: -.01em; }
.yt-list small { display: block; margin-top: 2px; font-size: 12px; color: var(--gray); }
.chart-title { margin-top: 18px; font-size: 12px; font-weight: 600; color: var(--gray); }
.bars { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: 150px; gap: 12px; margin-top: 8px; }
.bars > div { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; }
.bars b { font-size: 13px; font-variant-numeric: tabular-nums; }
.bars i { width: 100%; max-width: 72px; height: calc(var(--h) * 1px); border-radius: 8px 8px 3px 3px; background: #e9e4f9; }
.bars > div:last-child i { background: var(--brand); }
.bars small { font-size: 11.5px; color: var(--gray); }
@media (max-width: 600px) {
  .kpis-3 .kpi:nth-child(3) { display: block; grid-column: 1 / -1; }
  .yt-list li { grid-template-columns: 76px 1fr; }
}
/* Eight tabs: a little tighter so they fit on one line on wide screens */
@media (min-width: 901px) { .svc-tab { padding: 10px 14px; font-size: 14.5px; gap: 7px; } }
/* Menu links sit in a liquid-glass pill, the same violet as the button but translucent and calm */
@media (min-width: 901px) {
  .nav-links { position: relative; isolation: isolate; gap: 2px; padding: 4px; min-height: 40px; border-radius: 999px; background: linear-gradient(135deg, rgba(122, 88, 255, .34), rgba(91, 61, 240, .2) 60%, rgba(79, 141, 255, .22)); border: 1px solid rgba(255, 255, 255, .14); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .24), inset 0 -1px 0 rgba(91, 61, 240, .3), 0 12px 32px -16px rgba(91, 61, 240, .7); }
  .nav-links::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: radial-gradient(120% 90% at 18% 0%, rgba(255, 255, 255, .2), transparent 55%), radial-gradient(60% 80% at 85% 110%, rgba(224, 112, 255, .16), transparent 60%); pointer-events: none; }
  .nav-links a:not(.btn) { padding: 0 14px; min-height: 32px; border-radius: 999px; color: rgba(255, 255, 255, .86); transition: background-color .25s, color .2s; }
  .nav-links a:not(.btn):hover { background: rgba(255, 255, 255, .12); color: var(--white); }
}
@media (min-width: 901px) and (max-width: 1180px) { .nav-links a:not(.btn) { padding: 0 10px; } }
/* Six links: on narrow desktops the header tightens so the longest languages still fit on one line */
@media (min-width: 901px) and (max-width: 1080px) {
  .nav-inner { gap: 16px; }
  .nav-links a:not(.btn) { padding: 0 8px; font-size: 13px; white-space: nowrap; }
  .nav .nav-cta-desktop { padding-inline: 14px; }
}

/* ---------- Trabajos (portfolio) ---------- */
.works-head .lede { margin-top: 16px; }
.works-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.wf { min-height: 40px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--gray); font-size: 14px; font-weight: 600; white-space: nowrap; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.wf:hover { color: var(--ink); border-color: var(--ink); }
.wf.is-active { background: var(--ink); border-color: var(--ink); color: var(--white); }
.tj-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 28px; }
.tj { display: flex; flex-direction: column; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: 20px; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.tj[hidden] { display: none; }
.tj-shot { aspect-ratio: 16 / 10; overflow: hidden; background: var(--night-2); }
.tj-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .9s var(--ease); }
.tj-body { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; }
.tj-tags { display: flex; flex-wrap: wrap; gap: 6px; font-size: 12px; font-weight: 600; }
.tj-tags span { padding: 3px 9px; border-radius: 999px; background: var(--sand); color: var(--gray); }
.tj-tags .tj-type { background: rgba(91, 61, 240, .1); color: var(--accent); }
.tj h3 { font-size: 18px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.tj-place { font-size: 13.5px; color: var(--gray); }
.tj-link { display: inline-flex; align-items: center; gap: 6px; width: fit-content; min-height: 36px; margin-top: auto; padding-top: 6px; color: var(--accent); font-size: 14.5px; font-weight: 600; text-decoration: none; }
.tj-link svg { width: 16px; height: 16px; }
.tj-link:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (hover: hover) and (pointer: fine) { .tj:hover { transform: translateY(-4px); box-shadow: 0 28px 56px -34px rgba(11, 13, 28, .5); } .tj:hover img { transform: scale(1.04); } }
@media (pointer: coarse) { .wf, .tj-link { min-height: 44px; } }
@media (max-width: 1080px) { .tj-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .works-filter { flex-wrap: nowrap; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); overflow-x: auto; scrollbar-width: none; }
  .works-filter::-webkit-scrollbar { display: none; }
  .wf { flex: none; }
  .tj-grid { gap: 12px; }
  .tj-body { padding: 12px 12px 14px; }
  .tj h3 { font-size: 15px; }
}

/* ---------- Footer with the Marca column, privacy page ---------- */
.footer-grid { grid-template-columns: 1.4fr repeat(4, 1fr); }
@media (max-width: 1080px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }
.legal { min-height: 72vh; padding-block: clamp(56px, 8vw, 112px); }
.legal .wrap { max-width: 760px; }
.legal .lede { max-width: none; margin-top: 18px; }
.legal h2 { margin-top: 40px; }
.legal p:not(.lede) { margin-top: 10px; color: var(--gray-dark); }
.legal-wa a { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; color: var(--white); font-size: 18px; font-weight: 650; text-decoration: none; }
.legal-wa a:hover { text-decoration: underline; text-underline-offset: 5px; }
.legal-wa .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 4px rgba(31, 174, 91, .2); }

/* ---------- Slim page: compact offers, details dialog, three demos ---------- */
/* Compact card: name, one line, price, three points, button. The full card opens in a dialog. */
.offer { scroll-margin-top: 92px; }
.offer .price-meta { margin-top: 16px; }
.oc-price { margin-top: 2px; display: flex; flex-wrap: wrap; align-items: baseline; font-size: clamp(30px, 2.2vw, 36px); font-weight: 750; letter-spacing: -.04em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.oc-more { margin-top: 8px; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 10px; font-size: 13.5px; line-height: 1.4; color: var(--gray); }
.oc-more b { font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.oc-more small { flex-basis: 100%; font-size: 12.5px; }
.offer .period { font-size: 13px; }
.offer ul { margin: 18px 0 20px; padding-top: 18px; }
.oc-details { display: inline-flex; align-self: center; align-items: center; gap: 6px; margin-top: 12px; min-height: 36px; padding: 0 6px; border: 0; background: none; font-size: 14px; font-weight: 650; color: var(--gray); cursor: pointer; transition: color .2s; }
.oc-details:hover { color: var(--ink); }
.oc-details svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.oc-details:hover svg { transform: translateX(3px); }
html:not(.js) .oc-details { display: none; }

/* Details dialog: the full card, on top of the page */
.offer-dialog { width: min(92vw, 520px); max-width: none; max-height: none; margin: auto; padding: 0; border: 0; border-radius: 28px; background: transparent; color: var(--ink); overflow: visible; }
.offer-dialog::backdrop { background: rgba(6, 8, 22, .74); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.offer-dialog > .plan { max-height: min(88vh, 900px); max-height: min(88dvh, 900px); overflow-y: auto; overscroll-behavior: contain; border-radius: 28px; padding: 30px 28px 26px; box-shadow: 0 60px 120px -40px rgba(4, 5, 14, .8); }
.offer-dialog > .plan:hover { transform: none; border-color: var(--line); }
.offer-dialog .sys-tag { min-height: 0; padding-right: 44px; }
.offer-dialog .sys-head { padding-right: 44px; }
.offer-dialog .price-meta { margin-top: 14px; }
.dialog-close { position: absolute; right: 14px; top: 14px; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer; }
.dialog-close svg { width: 16px; height: 16px; }
.offer-dialog[open] { animation: dialog-in .5s cubic-bezier(.16, 1, .3, 1); }
.offer-dialog[open]::backdrop { animation: backdrop-in .35s ease; }
@keyframes dialog-in { from { opacity: 0; transform: translateY(28px) scale(.96); } }
@keyframes backdrop-in { from { opacity: 0; } }
/* Without JavaScript the full cards simply follow the compact ones */
html:not(.js) .offer-dialog { display: block; position: static; margin: 16px auto 0; }
html:not(.js) .dialog-close { display: none; }

/* Demos: three examples, text on one side and the example on the other */
.section { padding-block: clamp(80px, 9vw, 128px); }
.demo-rows { display: grid; gap: clamp(64px, 7vw, 104px); margin-top: clamp(48px, 6vw, 80px); }
.demo-row { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.demo-row.flip { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.demo-row.flip .demo-copy { order: 2; }
.demo-copy .lede { margin-top: 18px; max-width: 44ch; }
.demo-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; min-height: 36px; font-weight: 650; color: var(--white); text-decoration: none; }
.demo-link svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.demo-link:hover svg { transform: translateX(4px); }
.demo-row .stage-wrap { max-width: 640px; margin-inline: auto; }
.demo-row .web-device { margin-bottom: 0; }
@media (max-width: 900px) {
  .demo-row, .demo-row.flip { grid-template-columns: 1fr; }
  .demo-row.flip .demo-copy { order: 0; }
}
.sheet-dim { display: none; }
.process-panel { margin-top: clamp(80px, 9vw, 128px); scroll-margin-top: 92px; }
.process-panel .steps { margin-top: 48px; }

/* FAQ: six first, the rest behind a button */
.faq-extra details:first-child { border-top: 0; }
.faq-more { display: inline-flex; align-items: center; margin-top: 24px; min-height: 44px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font-size: 15px; font-weight: 650; cursor: pointer; transition: border-color .2s; }
.faq-more:hover { border-color: var(--ink); }
html:not(.js) .faq-more, .faq-more[hidden] { display: none; }

/* Closing film: the board lights up behind the contact section as the visitor arrives */
.cta .film-bg { position: absolute; inset: 0; margin: 0; aspect-ratio: auto; opacity: .6; mix-blend-mode: screen; -webkit-mask-image: linear-gradient(180deg, transparent, #000 22% 78%, transparent); mask-image: linear-gradient(180deg, transparent, #000 22% 78%, transparent); }
.cta .film-bg canvas { object-fit: cover; }
.cta .film-bg.is-live { background-image: none; }
@media (max-width: 900px) { .cta .film-bg { opacity: .45; } }

/* ---------- Scroll motion ---------- */
/* Sheets: every section is a sheet with a rounded top that lies over the one before it. On wide screens the
   previous sheet stays pinned while the next one slides over it, shrinking and dimming (app.js sets --stick,
   --dim and scale, and adds .stuck). */
:root { --sheet: clamp(22px, 3.2vw, 44px); }
main > .section { border-radius: var(--sheet) var(--sheet) 0 0; margin-top: calc(var(--sheet) * -1); box-shadow: 0 -30px 80px -30px rgba(4, 5, 14, .5); }
.marquee { padding-bottom: calc(22px + var(--sheet)); }
@media (min-width: 901px) and (min-height: 560px) and (prefers-reduced-motion: no-preference) {
  .js main > .section.stuck { position: sticky; top: var(--stick, 0px); transform-origin: 50% max(50%, calc(100% - 50vh)); }
  .js main > .section.sheet-live { will-change: scale; }
  .js main > .section.sheet-live .sheet-dim { will-change: opacity; }
  .js main > .section .sheet-dim { display: block; position: absolute; inset: 0; z-index: 40; border-radius: inherit; background: #04050e; opacity: 0; pointer-events: none; }
  /* While app.js measures where things really are, nothing is pinned or shrunk */
  .js.unstick main > .section { position: relative !important; top: auto !important; scale: none !important; }
}

/* Staggered entrance: the children of a block arrive one after another (app.js numbers them with --k and adds
   .stagger). Once they have landed, .done hands their transitions back to the hover effects. */
.js .reveal.stagger { opacity: 1; transform: none; }
.js .stagger:not(.done) > * { opacity: 0; transform: translateY(64px) scale(.97); transition: opacity .7s var(--ease), transform 1.1s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(var(--k, 0) * 90ms); }
.js .stagger.in:not(.done) > * { opacity: 1; transform: none; }
/* Cards arrive with depth: tilted back and small, they rise and straighten */
.js .stagger.deep:not(.done) { perspective: 1500px; }
.js .stagger.deep:not(.done) > * { transform: translateY(130px) rotateX(18deg) scale(.88); transform-origin: 50% 100%; transition: opacity .9s var(--ease), transform 1.4s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(var(--k, 0) * 130ms); }
.js .stagger.deep.in:not(.done) > * { transform: none; }
/* Titles: label, headline and text settle in order, coming into focus */
.js .stagger.soft:not(.done) > * { transform: translateY(26px); filter: blur(8px); transition: opacity .8s var(--ease), transform .9s cubic-bezier(.16, 1, .3, 1), filter .8s var(--ease); transition-delay: calc(var(--k, 0) * 110ms); }
.js .stagger.soft.in:not(.done) > * { transform: none; filter: none; }
/* Headlines rise word by word from behind their own line (app.js wraps each word in .wd > .wi) */
.js .stagger.soft:not(.done) > .split { opacity: 1; transform: none; filter: none; }
.wd { display: inline-block; vertical-align: top; overflow: hidden; padding-block: .16em; margin-block: -.16em; }
.wi { display: inline-block; transform-origin: 0 100%; transition: transform 1.1s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(var(--k, 0) * 70ms + 120ms); }
.js .reveal:not(.in) .split .wi { transform: translateY(125%) rotate(7deg); }
.split.landed .wd { overflow: visible; }
/* Mockups follow the scroll (app.js sets translate, scale and rotate); will-change keeps them on their own layer */
.drift-box { perspective: 1400px; }
.drift { will-change: translate, scale, rotate; transform-origin: 50% 100%; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .intro, .js .reveal, .js .reveal .seq > *, .js .stagger:not(.done) > * { opacity: 1; transform: none; filter: none; }
  .drift { translate: none !important; scale: none !important; rotate: none !important; }
  .js .lit .w { opacity: 1; }
  .js .reveal .ring { --v: 58; }
}
