/* Tinguro v4 — Product site inspired by Linearity structure
   Brand: Tinguro colors · Montserrat · vanilla */

:root {
  --violet: #9184fa;
  --violet-soft: #b67ffa;
  --sky: #7abfff;
  --magenta: #af1ccf;
  --bg: #f7f6fb;
  --bg-elev: #ffffff;
  --bg-soft: #efecff;
  --ink: #12101c;
  --muted: rgba(18, 16, 28, 0.62);
  --faint: rgba(18, 16, 28, 0.4);
  --line: rgba(18, 16, 28, 0.08);
  --line-v: rgba(145, 132, 250, 0.35);
  --font: "Montserrat", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav: 72px;
  --pad: clamp(1.25rem, 4vw, 3.5rem);
  --max: 1200px;
  --grad: linear-gradient(125deg, var(--violet) 0%, var(--violet-soft) 50%, var(--sky) 100%);
  --grad-btn: linear-gradient(135deg, #a394ff 0%, var(--violet) 45%, var(--violet-soft) 100%);
  --radius: 1.25rem;
  --shadow: 0 20px 50px rgba(145, 132, 250, 0.12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: auto; }
body {
  font-family: var(--font);
  background: transparent;
  color: var(--ink);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
/* Fallback if WebGL fails before paint */
html { background: var(--bg); }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }

.shell { width: min(var(--max), 100%); margin-inline: auto; padding-inline: var(--pad); }
.shell--wide { width: min(1320px, 100%); }

.eyebrow {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--violet);
}
.display {
  font-weight: 800; letter-spacing: -0.045em; line-height: 1.1;
}
.display--xl { font-size: clamp(2.75rem, 8vw, 5.5rem); }
.display--lg { font-size: clamp(2.2rem, 5.5vw, 3.75rem); }
.display--md { font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
.display--sm { font-size: clamp(1.5rem, 2.5vw, 2.25rem); }
.display--xs { font-size: clamp(1.25rem, 2vw, 2rem); }
.display--xxs { font-size: clamp(1rem, 1.5vw, 1.75rem); }
.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--muted); line-height: 1.7; max-width: 36rem;
}
.grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

.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;
}

/* —— Buttons (Linearity glass) —— */
@property --btn-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
.btn {
  position: relative;
  isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.75rem 1.55rem; border-radius: 999px;
  font-size: 0.88rem; font-weight: 700; letter-spacing: -0.01em;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    0 2px 2px rgba(18, 16, 28, 0.08),
    inset 0 0 0.7rem rgba(255, 255, 255, 0.45);
  transition: transform .35s var(--ease), box-shadow .35s, background .35s, color .35s, border-color .35s;
  white-space: nowrap;
}
.btn > * { position: relative; z-index: 1; }
@keyframes btn-spin {
  to { --btn-angle: 360deg; }
}
.btn:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.72);
  box-shadow:
    0 8px 20px rgba(145, 132, 250, 0.16),
    inset 0 0 1.1rem rgba(255, 255, 255, 0.62);
}
.btn:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
}
.btn--grad {
  color: #fff;
  border-color: transparent;
  background: var(--grad-btn);
  box-shadow:
    0 12px 28px rgba(145, 132, 250, 0.32),
    inset 0 -0.35rem 1.05rem rgba(182, 127, 250, 0.45);
}
.btn--grad:hover {
  border-color: transparent;
  box-shadow:
    0 16px 36px rgba(145, 132, 250, 0.42),
    inset 0 -0.4rem 1.25rem rgba(182, 127, 250, 0.55);
}
.btn--ink {
  color: #fff;
  border-color: transparent;
  background: var(--ink);
  box-shadow:
    0 8px 20px rgba(18, 16, 28, 0.18),
    inset 0 0 0.7rem rgba(255, 255, 255, 0.12);
}
.btn--ink:hover { background: #2a2638; }
.btn--ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.42);
}
.btn--lg { padding: 1.1rem 1.85rem; font-size: 0.92rem; }
.btn__arr { transition: transform .3s var(--ease); display: inline-block; }
.btn:hover .btn__arr { transform: translateX(4px); }

/* —— Nav (hide on scroll down / show on scroll up) —— */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 1000; height: var(--nav);
  display: flex; align-items: center;
  background: transparent;
  will-change: transform;
  transition: background .35s, box-shadow .35s, backdrop-filter .35s;
}
.nav.is-solid,
.nav.is-scrolled {
  /* background: rgba(247, 246, 251, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 var(--line); */
}
.nav.is-hidden {
  pointer-events: none;
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  width: min(1320px, 100%); margin-inline: auto; padding-inline: var(--pad);
}
.nav__brand img { height: 28px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 0.15rem; }
.nav__a {
  padding: 0.55rem 0.85rem; font-size: 0.84rem; font-weight: 600;
  color: var(--muted); border-radius: 999px; transition: color .25s, background .25s;
}
.nav__a:hover, .nav__a.is-on { color: var(--ink); background: rgba(145,132,250,0.1); }
.nav__acts { display: flex; align-items: center; gap: 0.65rem; }
.nav__end {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
  flex: none;
}
.btn__ico {
  display: none;
  width: 1.15rem;
  height: 1.15rem;
  flex: none;
}
.nav__burger {
  display: none; width: 44px; height: 44px;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav__burger span {
  display: block; width: 20px; height: 2px; background: var(--ink);
  transition: transform .3s, opacity .3s, background .25s;
}
.nav__burger.is-open span {
  background: #fff;
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Nav light mode — dark sections (how sticky, reel player, …) */
.nav.is-light .nav__a {
  color: rgba(255, 255, 255, 0.62);
}
.nav.is-light .nav__a:hover,
.nav.is-light .nav__a.is-on {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}
.nav.is-light .nav__burger span {
  background: #fff;
}
.nav.is-light .btn--ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  box-shadow:
    0 2px 2px rgba(0, 0, 0, 0.12),
    inset 0 0 0.7rem rgba(255, 255, 255, 0.18);
}
.nav.is-light .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.22);
}

.drawer {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(18,16,28,0.96); color: #fff;
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 1.5rem;
  opacity: 0; pointer-events: none; transition: opacity .35s;
}
.drawer.is-open { opacity: 1; pointer-events: auto; }
.drawer a { font-size: 1.75rem; font-weight: 800; letter-spacing: -0.03em; }

/* —— Site-wide WebGL (Linearity: fixed behind everything) —— */
.site-webgl {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100svh;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.5s ease;
  background: var(--bg);
}
.site-webgl.is-ready { opacity: 0.5; }
.site-webgl.is-fallback {
  opacity: 1;
  background:
    radial-gradient(ellipse 55% 50% at 28% 32%, rgba(200,200,200,0.45), transparent 55%),
    radial-gradient(ellipse 50% 45% at 75% 58%, rgba(160,160,160,0.38), transparent 50%),
    radial-gradient(ellipse 40% 40% at 52% 48%, rgba(180,180,180,0.32), transparent 45%),
    #f7f7f7;
}
.site-webgl canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

/* —— Hero —— */
.hero {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  /* padding: calc(var(--nav) + 5rem) 0 4.5rem; */
  padding: calc(var(--nav) + 2rem) 0 4.5rem;
  /* overflow: visible; */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: transparent;
}

.hero__copy {
  width: 100%;
  position: relative; z-index: 2;
  display: grid; gap: 1.35rem; text-align: center; justify-items: center;
  padding-bottom: 1rem;
  flex: 1;
  align-content: center;
}
.hero__lede { font-size: clamp(0.85rem, 1.6vw, 1.2rem); margin: 0 auto; max-width: 38rem; }
.hero__ctas {
  display: flex; flex-wrap: wrap; gap: 0.85rem; justify-content: center; margin-top: 0.35rem;
}
.hero__scroll {
  /* margin-top: 2.25rem; */
  margin-top: 1rem;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 0.75rem;
  color: var(--faint);
}
.hero__scroll-line {
  width: 1px; height: 3.25rem;
  background: linear-gradient(var(--violet), transparent);
  transform-origin: top;
}
.hero__title {
  max-width: none;
  letter-spacing: -0.05em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.hero__title-row {
  display: block;
  line-height: 1;
  pointer-events: none;
  margin-bottom: 4.5rem;
}
/* Assistantly: "with [unicorn] Talent" → "Todo [mascot] el diseño." */
.hero__title-btm {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin-top: -0.35rem;
  margin-bottom: 0.35rem;
}
.hero__title-side {
  display: block;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
  padding: 0.35rem 0;
  will-change: transform;
  transition:
    transform 0.6s ease,
    margin 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero__title-side--left {
  margin-right: 0;
}
.hero__title-side--right {
  margin-left: 0;
}
.hero__title-btm.is-mascot-ready .hero__title-side--left {
  margin-right: -5rem;
}
.hero__title-btm.is-mascot-ready .hero__title-side--right {
  margin-left: -5rem;
}
.hero__title-btm.is-hot .hero__title-side--left {
  transform: translate3d(-2rem, 0, 0);
}
.hero__title-btm.is-hot .hero__title-side--right {
  transform: translate3d(2rem, 0, 0);
}
.hero__mascot {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 0.65rem;
  z-index: 3;
  cursor: pointer;
  flex: 0 0 auto;
  width: auto;
  max-width: 0;
  margin: 0;
  /*
   * Safari HEVC alpha breaks if ancestors use opacity or transform.
   * Reveal only with max-width + visibility.
   */
  visibility: hidden;
  pointer-events: none;
  overflow: hidden;
  transition:
    max-width 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 0.7s;
}
.hero__mascot.is-ready {
  max-width: 22rem;
  visibility: visible;
  pointer-events: auto;
  overflow: visible;
  transition:
    max-width 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 0s;
}
.hero__mascot-glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.55s ease 0.12s;
  isolation: isolate;
}
.hero__mascot.is-ready .hero__mascot-glow {
  opacity: 1;
}
.hero__mascot-glow-spin {
  width: 22rem;
  height: 22rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(1);
  transform-origin: 50% 50%;
  transition: transform 0.6s ease;
}
.hero__title-btm.is-hot .hero__mascot-glow-spin {
  transform: scale(2);
}
.hero__mascot-glow img {
  width: 100%;
  height: 100%;
  max-width: none;
  display: block;
  object-fit: contain;
  animation: hero-mascot-spin 20s linear infinite;
  /* Tint Assistantly bloom toward Tinguro violets */
  filter: hue-rotate(12deg) saturate(1.15) brightness(1.05);
}
@keyframes hero-mascot-spin {
  to { transform: rotate(1turn); }
}
.hero__mascot-video {
  position: relative;
  z-index: 1;
  pointer-events: none;
  width: 22rem;
  margin-top: -4.5rem;
  margin-left: -1.25rem;
  margin-right: -1.75rem;
  transform-origin: 50% 75%;
  transition: transform 0.6s ease;
}
.hero__title-btm.is-hot .hero__mascot-video {
  transform: scale(1.2);
}
.hero__mascot-video video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  background-color: transparent;
}
/* Safari fallback: H.264 on black; screen blend makes black transparent */
.hero__mascot-video video.is-blend-alpha {
  mix-blend-mode: screen;
}
.hero__mascot-video video::-webkit-media-controls-start-playback-button,
.hero__mascot-video video::-webkit-media-controls {
  display: none !important;
}
.hero__watch {
  margin-top: 0.5rem;
  font-size: 0.88rem; font-weight: 700;
  border-bottom: 1px solid transparent;
  transition: border-color .3s, color .3s;
}
@media (min-width: 1025px) {
  .hero__mascot-video {
    /* width: 15rem; */
    margin-top: -6rem;
    margin-left: -1.75rem;
    margin-right: -2.25rem;
  }
  .hero__mascot-glow-spin {
    width: 35rem;
    height: 35rem;
  }
  .hero__mascot { top: 1rem; }
  .hero__mascot.is-ready { max-width: 26rem; }
  .hero__title-btm { gap: 0.85rem; margin-top: -0.75rem; }
  .hero__title-btm:not(.is-mascot-ready) { gap: 0.35rem; }
  .hero__scroll {
    margin-top: 2.25rem;
  }
}
@media (max-width: 767px) {
  .hero__title-btm {
    flex-wrap: wrap;
    row-gap: 0;
    margin-top: 1.15rem;
  }
  .hero__title-side--left,
  .hero__title-side--right {
    transition: none;
  }
  .hero__title-side--left {
    margin-right: 0;
  }
  .hero__title-side--right {
    margin-left: 0;
  }
  .hero__title-btm.is-mascot-ready .hero__title-side--left,
  .hero__title-btm.is-mascot-ready .hero__title-side--right {
    margin-right: 0;
    margin-left: 0;
  }
  .hero__title-btm.is-hot .hero__title-side--left,
  .hero__title-btm.is-hot .hero__title-side--right {
    transform: none;
  }
  .hero__mascot {
    order: -1;
    width: 100%;
    max-width: 0;
    max-height: 0;
    top: 0;
  }
  .hero__mascot.is-ready {
    max-width: 100%;
    max-height: 14rem;
  }
  .hero__mascot-video {
    width: min(11rem, 48vw);
    margin: -2.5rem auto 0;
  }
  .hero__title-btm.is-hot .hero__mascot-video {
    transform: scale(1.8);
  }
  .hero__mascot-glow-spin {
    width: 16rem;
    height: 16rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero__mascot {
    transition: visibility 0.2s ease, max-width 0.2s ease;
  }
  .hero__mascot.is-ready {
    max-width: 22rem;
  }
  .hero__mascot-glow {
    transition: opacity 0.2s ease;
  }
  .hero__title-side {
    transition: none;
  }
  .hero__mascot-glow img { animation: none; }
  .hero__title-side,
  .hero__mascot-video,
  .hero__mascot-glow-spin { transition: none; }
}

/* Content above fixed WebGL */
.section,
.foot,
.diff,
footer,
.page-hero,
.article,
.article__cover,
.article-page,
.article-meta,
.article-related,
.demo,
.blog-grid,
.finale,
.legal,
.blog-feature,
.blog-index {
  position: relative;
  z-index: 2;
}

/* —— Logo dock (Linearity: bottom, centered, fade-only hide) —— */
.trust--dock {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  padding: 1rem 0 max(1.15rem, 1.75svh);
  pointer-events: none;
  will-change: opacity;
}
.trust--dock.is-hidden {
  pointer-events: none;
}
.trust__inner {
  /* Linearity .marquee-container: edge fade via mask, not bg gradients */
  position: relative;
  display: flex;
  width: min(62.5rem, calc(100% - 2rem));
  margin: 0 auto;
  overflow: hidden;
  transform: translateZ(0);
  pointer-events: auto;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 15%, #000 85%, transparent);
  mask-image: linear-gradient(90deg, transparent 0, #000 15%, #000 85%, transparent);
}
.trust__track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 1.75rem;
  padding-right: 1.75rem;
  will-change: transform;
  transform: translateZ(0);
}
@media (min-width: 768px) {
  .trust__track {
    gap: 2.5rem;
    padding-right: 2.5rem;
  }
}
/*
  --logo-scale crece/encoge el slot (no el img fuera del slot),
  así las marcas altas no se cortan con overflow del marquee.
*/
.trust__logo {
  --logo-scale: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: calc(1.5rem * var(--logo-scale));
  flex-shrink: 0;
  overflow: visible;
  transition: filter 0.4s;
}
@media (min-width: 768px) {
  .trust__logo { height: calc(1.875rem * var(--logo-scale)); }
}
.trust__logo img {
  display: block;
  height: 100%;
  width: auto;
  max-width: 6.5rem;
  object-fit: contain;
  opacity: 0.55;
  filter: grayscale(1);
  transition: opacity 0.4s;
}
.trust__logo:hover img { opacity: 1; filter: none; }

/* —— Section commons —— */
.section { padding: clamp(4.5rem, 10vh, 7rem) 0; }
.section__head {
  text-align: center; margin-bottom: clamp(2rem, 5vh, 3.25rem);
  display: grid; gap: 0.85rem; justify-items: center;
}
.section__head .lede { margin: 0 auto; }

/* —— Showcase (Linearity floating assets + sticky copy) —— */
.showcase {
  position: relative;
  z-index: 2;
  /* Tall rail so sticky center holds through all 3 copy slides */
  height: 420vh;
  --sc-pad: clamp(1rem, 3vw, 2rem);
}
@media (max-width: 767px) {
  .showcase { height: 460vh; }
}
.showcase__pin {
  position: relative;
  top: 0;
  height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 6;
  pointer-events: none;
  padding: var(--sc-pad);
}
.showcase__center {
  pointer-events: auto;
  /* width: min(42rem, 100%); */
  width: min(54rem, 100%);
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 0.85rem;
}
.showcase__labels {
  position: relative;
  height: 1.25rem;
  width: 100%;
  margin-bottom: 0.35rem;
}
.showcase__label {
  position: absolute;
  inset: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
  opacity: 0;
  will-change: opacity, transform;
}
.showcase__label.is-on {
  opacity: 1;
}

.showcase__title {
  font-size: clamp(2rem, 5.5vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.05;
  color: var(--ink);
  display: grid;
  gap: 0.12em;
  justify-items: center;
}
@media (max-width: 767px) {
  .showcase__title { font-size: clamp(1.75rem, 8vw, 2.4rem); }
}
.showcase__line { display: block; }
.showcase__word-box {
  position: relative;
  display: inline-grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  justify-items: center;
  align-items: center;
  overflow: hidden;
  padding: 0 0.2rem 0.15rem;
  margin-bottom: -0.02em;
  vertical-align: bottom;
}
.showcase__word {
  grid-area: 1 / 1;
  display: inline-block;
  white-space: nowrap;
  padding-bottom: 0.05em;
  opacity: 0;
  will-change: transform, opacity;
}
.showcase__word.is-on {
  opacity: 1;
}
.showcase__stroke {
  position: absolute;
  left: 0;
  bottom: -0.1rem;
  width: 100%;
  height: 1.35rem;
  z-index: -1;
  pointer-events: none;
}
.showcase__stroke path { fill: none; }
.showcase__dots {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
  margin: 0.35rem 0 0.25rem;
}
.showcase__dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: rgba(18, 16, 28, 0.22);
  transition: background 0.3s, transform 0.3s;
  padding: 0;
}
.showcase__dot.is-on {
  background: var(--ink);
  transform: scale(1.25);
}
.showcase__descs {
  position: relative;
  width: min(36rem, 100%);
  min-height: 4.5rem;
}
.showcase__desc {
  position: absolute;
  inset: 0;
  margin: 0;
  font-size: clamp(0.92rem, 1.4vw, 1.05rem);
  line-height: 1.7;
  color: var(--muted);
  opacity: 0;
  will-change: opacity, transform;
  pointer-events: none;
}
.showcase__desc.is-on {
  opacity: 1;
  pointer-events: auto;
}

.showcase__rail {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  height: 100%;
  overflow: hidden;
}
.showcase__card {
  position: absolute;
  top: var(--t, 10%);
  left: var(--l, auto);
  right: var(--r, auto);
  width: var(--w, 13rem);
  aspect-ratio: var(--ar, 1);
  pointer-events: auto;
  will-change: transform;
  opacity: 0.3;
}
@media (max-width: 767px) {
  /* Same absolute float as Linearity — slightly smaller cards */
  .showcase__card { width: calc(var(--w, 13rem) * 0.72); opacity: 0.3;}
}
.showcase__card-anim {
  width: 100%;
  height: 100%;
  position: relative;
  border-radius: 0.85rem;
  overflow: visible;
  will-change: transform;
  transform: translateZ(0);
}
.showcase__card-scale {
  width: 100%;
  height: 100%;
  border-radius: 0.85rem;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 18px 40px rgba(18, 16, 28, 0.1);
  border: 1px solid rgba(18, 16, 28, 0.06);
  transform-origin: center center;
  will-change: transform;
}
.showcase__card-scale img {
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  margin: -1px;
  object-fit: cover;
  display: block;
}
.showcase__meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  margin-bottom: 0.45rem;
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--ink);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s, transform 0.35s;
  white-space: nowrap;
  pointer-events: none;
}
.showcase__meta span:last-child { color: var(--faint); font-weight: 600; }
.showcase__card:hover .showcase__meta {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 767px) {
  .showcase__meta { display: none; }
}

/* —— Works strip (Trionn horizontal scrub + v3 content) —— */
.works {
  position: relative;
  z-index: 2;
  background: transparent;
}
.works__pin {
  position: relative;
  box-sizing: border-box;
  height: 100svh;
  height: 100dvh;
  max-height: 100svh;
  max-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(0.65rem, 1.6vh, 1.5rem);
  padding:
    calc(var(--nav) + clamp(0.65rem, 1.8vh, 1.35rem))
    0
    clamp(0.75rem, 2vh, 1.5rem);
  overflow: hidden;
}
.works__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: clamp(0.65rem, 1.5vh, 1.15rem) 2rem;
  flex: 0 0 auto;
}
.works__title {
  margin-top: 0.4rem;
  max-width: 16ch;
  font-size: clamp(1.45rem, 3.8vh, 2.75rem);
  line-height: 1.05;
}
.works__cta { flex: none; }
.works__viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  align-items: center;
  container-type: size;
  container-name: works-vp;
}
.works__rail {
  display: flex;
  align-items: center;
  gap: clamp(0.85rem, 1.5vw, 1.25rem);
  padding-inline: var(--pad);
  width: max-content;
  height: 100%;
  max-height: 100%;
  will-change: transform;
}
.works__card {
  flex: none;
  width: auto;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  --works-media-h: 52vh;
  --works-media-h: min(62vh, 100cqh);
}
.works__media {
  position: relative;
  height: var(--works-media-h);
  width: auto;
  max-width: min(400px, 46vw);
  aspect-ratio: 4 / 5;
  flex: none;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(145, 132, 250, 0.1);
}
.works__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.9s var(--ease);
}
.works__card:hover .works__media img,
.works__card:focus-within .works__media img { transform: scale(1.06); }
.works__info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  width: auto;
  min-width: 0;
  padding: 2.85rem 1.15rem 1.15rem;
  background: linear-gradient(
    to top,
    rgba(18, 16, 28, 0.82) 0%,
    rgba(18, 16, 28, 0.35) 52%,
    transparent 100%
  );
  transform: scale(1);
  transform-origin: left bottom;
  transition: transform 0.45s var(--ease);
  pointer-events: none;
}
.works__card:hover .works__info,
.works__card:focus-within .works__info {
  transform: scale(1.07);
}
.works__tag {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 0.3rem;
}
.works__name {
  font-size: clamp(1.1rem, 2.2vh, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.works__progress {
  width: min(var(--max), calc(100% - 2 * var(--pad)));
  margin-inline: auto;
  height: 2px;
  background: var(--line);
  border-radius: 999px;
  overflow: hidden;
  flex: 0 0 auto;
  will-change: opacity;
}
.works__progress-bar {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--grad);
  transform-origin: left center;
}
@media (prefers-reduced-motion: reduce) {
  .works__info,
  .works__card:hover .works__info,
  .works__card:focus-within .works__info {
    transform: none;
    transition: none;
  }
  .works__card:hover .works__media img,
  .works__card:focus-within .works__media img { transform: none; }
}

@media (max-height: 780px) {
  .works__pin {
    gap: 0.5rem;
    padding-top: calc(var(--nav) + 0.5rem);
    padding-bottom: 0.55rem;
  }
  .works__card {
    --works-media-h: min(56vh, 100cqh);
  }
  .works__media {
    max-width: min(340px, 44vw);
  }
  .works__cta { padding: 0.7rem 1.15rem; font-size: 0.8rem; }
  .works__name { font-size: clamp(1.05rem, 2vh, 1.3rem); }
}

@media (max-width: 767px) {
  .works__pin {
    height: 100svh;
    height: 100dvh;
    min-height: 0;
  }
  .works__card {
    --works-media-h: min(56vh, 100cqh);
  }
  .works__media {
    max-width: min(300px, 74vw);
  }
  .works__head { align-items: flex-start; }
}

/* —— Value tabs —— */
.value {
  background: transparent;
}
.value__switch {
  display: flex; gap: 0.4rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.5rem;
}
.value__btn {
  padding: 0.85rem 1.35rem; border-radius: 999px;
  font-size: 0.9rem; font-weight: 800; letter-spacing: -0.02em;
  color: var(--faint); transition: color .3s, background .3s;
}
.value__btn.is-on {
  color: var(--ink); background: var(--bg-elev);
  box-shadow: 0 8px 24px rgba(145,132,250,0.12);
}
.value__panels { position: relative; min-height: 280px; }
.value__panel {
  display: none; grid-template-columns: 1.1fr 0.9fr; gap: 2.5rem; align-items: center;
}
.value__panel.is-on { display: grid; }
.value__panel h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 0.85rem; }
.value__panel p { color: var(--muted); line-height: 1.75; max-width: 32rem; }
.value__visual {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  aspect-ratio: 4 / 3; background: var(--bg-elev); box-shadow: var(--shadow);
}
.value__visual img { width: 100%; height: 100%; object-fit: cover; }

/* —— Innovate — sticky spotlight cards + Lottie lines —— */
.innovate {
  position: relative;
  z-index: 2;
  padding: clamp(4rem, 10vh, 7.5rem) 0 8rem;
  pointer-events: none;
}
.innovate__head {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 62rem;
  margin-inline: auto;
  pointer-events: auto;
}
.innovate__title {
  margin-top: 0.75rem;
  text-wrap: balance;
}
.innovate__lede {
  margin: 1rem auto 0;
  max-width: 36rem;
}
.innovate__pin-wrap {
  position: relative;
  z-index: 3;
  height: 240vh;
  margin-top: 2rem;
  margin-bottom: -20vh;
}
.innovate__pin {
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  /* padding: calc(var(--nav) + 0.75rem) var(--pad) 1.5rem; */
  padding: 0 var(--pad);
  overflow: hidden;
  isolation: isolate;
}
.innovate__grid {
  --innovate-gap: 1.25rem;
  position: relative;
  z-index: 2;
  width: min(34rem, 100%);
  display: flex;
  flex-direction: column;
  gap: var(--innovate-gap);
  margin: 0;
  pointer-events: auto;
}
.innovate__card {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 1rem;
  row-gap: 0;
  width: 100%;
  /* padding: 1.35rem 1.5rem; */
  padding: 3.35rem 1.5rem;
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  box-shadow: none;
  overflow: hidden;
  transform-origin: center center;
  transition: border-color 0.35s var(--ease), background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.innovate__card.is-active {
  background: #fff;
  border-color: var(--line-v);
  box-shadow: var(--shadow);
}
.innovate__icon {
  grid-row: 1;
  grid-column: 1;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-top: 0.1rem;
  color: var(--violet);
  opacity: 0.45;
  transition: opacity 0.35s var(--ease), color 0.35s var(--ease);
}
.innovate__card.is-active .innovate__icon {
  opacity: 1;
  color: var(--magenta);
}
.innovate__icon svg {
  width: 2.25rem;
  height: 2.25rem;
}
.innovate__card-title {
  grid-row: 1;
  grid-column: 2;
  align-self: center;
  margin: 0;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: var(--ink);
}
.innovate__body {
  grid-column: 1 / -1;
  overflow: hidden;
  height: 0;
  opacity: 0;
}
.innovate__body p {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}
.innovate__lines {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  overflow: hidden;
}
.innovate.is-lines-on .innovate__lines {
  opacity: 0.3;
  visibility: visible;
}
.innovate__lottie {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.innovate__lottie svg {
  display: block;
  width: 100% !important;
  height: 100% !important;
}
.innovate__lottie--desk { display: block; }
.innovate__lottie--mob { display: none; }

@media (max-width: 767px) {
  .innovate {
    padding-top: 3rem;
    padding-bottom: 5rem;
  }
  .innovate__pin-wrap {
    height: 260vh;
    margin-top: 1.5rem;
    margin-bottom: -30vh;
  }
  .innovate__grid {
    --innovate-gap: 1rem;
    width: min(100%, 28rem);
  }
  .innovate__card {
    padding: 1.15rem 1.2rem;
  }
  .innovate__lottie--desk { display: none; }
  .innovate__lottie--mob { display: block; }
}

/* —— How it works (Linearity sticky scrub · dark) —— */
.how {
  position: relative;
  z-index: 2;
  height: 480vh;
  /* background: #12101c; */
}
.how__overlay {
  background: #12101c;
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  opacity: 0.75;
}
.how__sticky {
  /* --ink: #f4f2ff;
  --muted: rgba(244, 242, 255, 0.58);
  --faint: rgba(244, 242, 255, 0.38);
  --line: rgba(255, 255, 255, 0.1); */
  position: sticky;
  top: 0;
  height: 100svh;
  height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  box-sizing: border-box;
  padding: calc(var(--nav) + 0.75rem) 0 1.25rem;
  /* background: #12101c; */
  color: var(--ink);
}
/* .how__sticky .eyebrow { color: var(--violet-soft); }
.how__sticky .display { color: var(--bg-elev); }
.how__sticky .lede { color: var(--muted); } */
.how__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
  gap: clamp(1.25rem, 3vw, 2.75rem);
  align-items: center;
  width: 100%;
  max-height: 100%;
}
.how__visual {
  position: relative;
  border-radius: calc(var(--radius) + 0.15rem);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  aspect-ratio: 96 / 68;
  max-height: min(68vh, 100%);
  overflow: hidden;
}
.how__stage {
  position: relative;
  width: 100%;
  height: 100%;
}
.how__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: scale(0.985);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
  pointer-events: none;
}
.how__slide.is-on {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}
.how__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.how__slide figcaption {
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.85rem;
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0.75rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.55);
  color: #12101c;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  backdrop-filter: blur(3px);
}
.how__slide figcaption span:last-child {
  /* color: rgba(255, 255, 255, 0.65); */
  font-weight: 600;
}
.how__copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(1rem, 2.5vh, 2rem);
  max-width: 28rem;
  max-height: 100%;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}
.how__copy::-webkit-scrollbar { display: none; }
.how__intro .display {
  margin-top: 0.55rem;
  margin-bottom: 0.85rem;
  font-size: clamp(1.65rem, 3.4vw, 2.85rem);
  line-height: 1.02;
}
.how__intro .lede {
  margin-bottom: 1.15rem;
  font-size: clamp(0.95rem, 1.3vw, 1.05rem);
}
.how__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.how__steps {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-height: 0;
}
.how__step {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  text-align: left;
  padding: 0.95rem 1rem;
  border-radius: 1.1rem;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink);
  transition: background 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}
.how__step.is-on {
  border-color: transparent;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.12), inset 0 0 0.7rem rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}
.how__step-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  color: var(--violet-soft);
  z-index: 1;
  opacity: 0;
  transition: opacity 0.25s;
  filter: drop-shadow(0 0 6px rgba(182, 127, 250, 0.28));
}
.how__step.is-on .how__step-ring { opacity: 1; }
.how__step-ring-track { opacity: 0.28; }
.how__step-ring-prog { opacity: 1; }
.how__icon {
  position: relative;
  z-index: 2;
  flex: none;
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 0.75rem;
  overflow: hidden;
  background: #efeaff;
  color: var(--violet-soft);
  display: grid;
  place-items: center;
}
.how__glyph {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
  transition: opacity 0.35s;
}
.how__step.is-on .how__glyph { opacity: 1; }
.how__step-body {
  position: relative;
  z-index: 2;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 2.85rem;
  padding-top: 0.15rem;
}
.how__step-num {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--violet);
  opacity: 0.55;
  margin-bottom: 0.15rem;
  line-height: 1;
  transition: opacity 0.35s;
}
.how__step.is-on .how__step-num { opacity: 1; }
.how__step-title {
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--faint);
  transition: color 0.35s;
}
.how__step.is-on .how__step-title { color: var(--ink); }
.how__step-text {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.45s var(--ease), opacity 0.35s, padding 0.35s;
  padding-top: 0;
}
.how__step-text > span {
  overflow: hidden;
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
  font-weight: 500;
}
.how__step.is-on .how__step-text {
  grid-template-rows: 1fr;
  opacity: 1;
  padding-top: 0.35rem;
}

/* —— Diff —— */
.diff {
  background: var(--ink); color: #fff;
  padding: clamp(4.5rem, 10vh, 7rem) 0;
}
.diff .eyebrow { color: var(--violet-soft); }
.diff .lede { color: rgba(255,255,255,0.55); }
.diff__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 2.5rem;
}
.diff__card {
  padding: 2rem 1.75rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
}
.diff__card--win {
  border-color: rgba(145,132,250,0.45);
  background: rgba(145,132,250,0.12);
}
.diff__card h3 {
  font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 0.75rem;
}
.diff__card p { color: rgba(255,255,255,0.55); line-height: 1.7; }
.diff__tag {
  display: inline-block; margin-bottom: 1rem;
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.diff__card--win .diff__tag { color: var(--violet-soft); }

/* —— Roles —— */
.roles { background: transparent; }
.roles__grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.85rem;
}
.role {
  padding: 1.5rem 1.2rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(12px);
  transition: transform .4s var(--ease), border-color .4s, box-shadow .4s;
  min-height: 11rem;
}
.role:hover {
  transform: translateY(-4px);
  border-color: var(--line-v);
  box-shadow: var(--shadow);
}
.role h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 0.5rem; }
.role p { font-size: 0.88rem; color: var(--muted); line-height: 1.55; }

/* —— Pricing (Linearity cards + sliding toggle) —— */
.pricing { background: transparent; }
.pricing__annual {
  display: flex;
  align-items: stretch;
  width: min(100%, 26rem);
  margin: 0.35rem auto 0;
  overflow: hidden;
  border-radius: 1.1rem;
  background: var(--bg-soft);
  box-shadow: 0 14px 36px rgba(145, 132, 250, 0.14);
}
.pricing__annual-copy {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.15rem;
  padding: 1.15rem 1.35rem;
  text-align: left;
}
.pricing__annual-lead {
  margin: 0;
  color: var(--violet);
  font-size: clamp(1.85rem, 4.2vw, 2.55rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  text-align: right;
}
.pricing__annual-sub {
  margin: 0;
  color: var(--violet);
  font-size: clamp(0.78rem, 1.7vw, 0.95rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  text-align: right;
}
.pricing__annual-deal {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  min-width: 9.5rem;
  padding: 1.1rem 1.35rem;
  color: #fff;
  background: linear-gradient(145deg, #a394ff 0%, var(--violet) 48%, #7a6df0 100%);
  text-align: center;
}
.pricing__annual-pct {
  font-size: clamp(2.4rem, 5.5vw, 3.35rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.9;
}
.pricing__annual-label {
  font-size: clamp(0.72rem, 1.5vw, 0.88rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.15;
  white-space: nowrap;
}
.pricing__guarantee {
  display: flex;
  justify-content: center;
  margin-top: 1.35rem;
  margin-bottom: 0.15rem;
}
.pricing__guarantee-img {
  display: block;
  width: min(100%, 22.5rem);
  height: auto;
  filter: drop-shadow(0 10px 22px rgba(145, 132, 250, 0.22));
}
@media (max-width: 560px) {
  .pricing__annual {
    flex-direction: column;
    width: min(100%, 22rem);
  }
  .pricing__annual-copy {
    padding: 1.1rem 1.2rem 0.85rem;
    text-align: center;
    align-items: center;
  }
  .pricing__annual-deal {
    min-width: 0;
    width: 100%;
    padding: 1rem 1.2rem 1.15rem;
    border-radius: 0 0 1.1rem 1.1rem;
  }
}
.pricing__toggle-wrap { text-align: center; margin-bottom: 2.5rem; }
.pricing__toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.35rem;
  border-radius: 999px;
  overflow: hidden;
  isolation: isolate;
  background: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 2px 2px rgba(18, 16, 28, 0.06),
    inset 0 0 0.7rem rgba(255, 255, 255, 0.4);
}
.pricing__toggle::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.85), rgba(255,255,255,0.2) 40%, rgba(145,132,250,0.35) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
}
.pricing__pill {
  position: absolute;
  top: 0; left: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: inset 0 0 0.7rem rgba(255, 255, 255, 0.55);
  transition: transform 0.4s var(--ease), width 0.4s var(--ease), height 0.4s var(--ease);
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.pricing__pill::after {
  content: "";
  position: absolute;
  bottom: -0.55rem;
  left: 1.1rem;
  width: 4.5rem;
  height: 0.8rem;
  border-radius: 999px;
  filter: blur(1.2rem);
  background: linear-gradient(90deg, var(--violet) 0%, var(--violet-soft) 40%, var(--magenta) 70%, var(--sky) 100%);
}
.pricing__toggle button {
  position: relative;
  z-index: 1;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--faint);
  transition: color 0.4s;
}
.pricing__toggle button em {
  font-style: normal;
  margin-left: 0.3rem;
  color: var(--magenta);
  font-size: 0.72rem;
}
.pricing__toggle button.is-on,
.pricing__toggle button:hover { color: var(--ink); }

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  align-items: stretch;
}
.plans__progress { display: none; }
.plan {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.15rem 1.75rem 1.75rem;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transform: translateZ(0);
}
.plan__glow {
  position: absolute;
  inset: 0.5rem;
  border-radius: 1rem;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
  background: #FFFFFF;
background: linear-gradient(0deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.5) 100%);
}
.plan:hover .plan__glow { opacity: 1; }
.plan__blob {
  position: absolute;
  top: 0; left: 0;
  width: 4.6rem; height: 4.6rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  filter: blur(4.5rem);
  pointer-events: none;
  z-index: 0;
}
.plan__frame {
  position: absolute;
  inset: 0.5rem;
  border-radius: 1rem;
  pointer-events: none;
  z-index: 0;
  padding: 1px;
  overflow: hidden;
  background: conic-gradient(
    from var(--btn-angle),
    rgba(255, 255, 255, 0.1) 0 28%,
    rgba(255, 255, 255, 0.9) 38%,
    rgba(255, 255, 255, 0.1) 50% 78%,
    rgba(145, 132, 250, 0.9) 88%,
    rgba(255, 255, 255, 0.1)
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  animation: btn-spin 4s linear infinite;
}
.plan:hover .plan__frame { animation-play-state: paused; }
.plan__top,
.plan__cost,
.plan__cta,
.plan__list { position: relative; z-index: 1; width: 100%; }
.plan__top { margin-bottom: 0.35rem; position: relative; }
.plan__popular {
  position: absolute;
  left: 0; right: 0;
  bottom: calc(100% + 0.15rem);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--magenta);
}
.plan__name {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}
.plan__desc {
  position: relative;
  z-index: 1;
  width: 100%;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
  text-align: left;
  margin: 0 0 0.85rem;
}
.plan__plus {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0 0 0.65rem;
  color: var(--magenta);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: left;
}
.plan__cost {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 7.2rem;
}
.plan__amount {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  height: 3.1rem;
  width: max-content;
  margin-inline: auto;
}
.plan__was,
.plan__now {
  grid-area: 1 / 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  transition: transform 0.5s ease-out, opacity 0.5s ease-out;
  transform-origin: center;
}
.plan__was {
  opacity: 0;
  transform: scale(0.65);
  pointer-events: none;
  color: var(--violet);
}
.plan__now { opacity: 1; transform: none; }
.pricing.is-annual .plan__was {
  opacity: 1;
  transform: translateY(-2.5rem) scale(0.35);
}
.pricing.is-annual .plan__was span:last-child { text-decoration: line-through; }
.pricing.is-annual .plan__cost { margin-top: 1.5rem; }
.plan__cur {
  font-size: 1rem;
  font-weight: 700;
  margin-top: 0.35rem;
  margin-right: 0.1rem;
}
.plan__now [data-price],
.plan__was span:last-child {
  font-size: clamp(2.1rem, 3.2vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
}
.plan__per {
  margin-top: 0.45rem;
  font-size: 0.86rem;
  color: var(--muted);
  font-weight: 600;
}
.plan__rule {
  display: block;
  width: 2.6rem;
  height: 1px;
  margin: 0.55rem auto;
  background: var(--line);
}
.plan__bill-extra {
  display: none;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--faint);
  line-height: 1.35;
  margin: 0 0 0.2rem;
}
.pricing.is-annual .plan__bill-extra {
  display: block;
}
.plan__bill {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--magenta);
  line-height: 1.35;
  max-width: 18rem;
  margin-inline: auto;
}
.plan__cta {
  width: 100%;
  margin: 1.35rem 0 1.5rem;
}
/* Un CTA visible por periodicidad (anual ↔ mensual) */
.plan__cta[data-cta-period="mensual"] { display: none; }
.pricing:not(.is-annual) .plan__cta[data-cta-period="anual"] { display: none; }
.pricing:not(.is-annual) .plan__cta[data-cta-period="mensual"] { display: inline-flex; }
.plan__list {
  /* display: grid;
  gap: 0.55rem; */
  text-align: left;
  margin: 0;
  flex: 1;
}
.plan__list li {
  font-size: 0.88rem;
  color: var(--ink);
  padding-left: 1.15rem;
  position: relative;
  line-height: 1.5;
}
.plan__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--grad-btn);
}

@media (prefers-reduced-motion: reduce) {
  .plan__frame { animation: none; }
  .plan__was, .plan__now, .pricing__pill { transition: none; }
}

/* —— Plan comparison tables —— */
.cmp {
  position: relative;
  z-index: 2;
  background: transparent;
}
.planServicesList {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.25rem);
}
.cmp__block {
  border-radius: calc(var(--radius) + 0.15rem);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  min-width: 0;
  max-width: 100%;
}
.cmp__scroll {
  border-radius: inherit;
  min-width: 0;
  max-width: 100%;
  width: 100%;
}
.cmp__table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}
.cmp__table thead th {
  position: sticky;
  top: var(--nav);
  z-index: 4;
  padding: 1rem 0.85rem;
  background: linear-gradient(180deg, #efecff 0%, #f4f2fc 100%);
  border-bottom: 1px solid var(--line-v);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  box-shadow: 0 8px 18px rgba(145, 132, 250, 0.08);
}
.cmp__table thead th:first-child {
  width: 42%;
  text-align: left;
  padding-left: 1.25rem;
  z-index: 5;
  border-top-left-radius: calc(var(--radius) + 0.05rem);
}
.cmp__table thead th:last-child {
  border-top-right-radius: calc(var(--radius) + 0.05rem);
}
.cmp__table thead th:not(:first-child) {
  width: 19.333%;
}
.cmp__table tbody th,
.cmp__table tbody td {
  padding: 0.95rem 0.85rem;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.cmp__table tbody tr:last-child th,
.cmp__table tbody tr:last-child td {
  border-bottom: 0;
}
.cmp__table tbody tr:last-child th {
  border-bottom-left-radius: calc(var(--radius) + 0.05rem);
}
.cmp__table tbody tr:last-child td:last-child {
  border-bottom-right-radius: calc(var(--radius) + 0.05rem);
}
.cmp__table tbody th {
  width: 42%;
  padding-left: 1.25rem;
  padding-right: 1rem;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: left;
  background: rgba(255, 255, 255, 0.55);
}
.cmp__table tbody td {
  text-align: center;
  background: rgba(255, 255, 255, 0.28);
}
.cmp__table tbody tr:nth-child(even) th {
  background: rgba(239, 236, 255, 0.35);
}
.cmp__table tbody tr:nth-child(even) td {
  background: rgba(239, 236, 255, 0.22);
}
.cmp__table tbody tr:hover th,
.cmp__table tbody tr:hover td {
  background: rgba(145, 132, 250, 0.08);
}
.cmp__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  background: linear-gradient(145deg, #a394ff 0%, var(--violet) 55%, #7a6df0 100%);
  box-shadow: 0 6px 14px rgba(145, 132, 250, 0.28);
}
.cmp__check::before {
  content: "";
  width: 0.42rem;
  height: 0.72rem;
  border-right: 2.25px solid #fff;
  border-bottom: 2.25px solid #fff;
  transform: translateY(-0.08rem) rotate(40deg);
}
.cmp__empty {
  display: inline-block;
  width: 0.7rem;
  height: 2px;
  border-radius: 999px;
  background: rgba(18, 16, 28, 0.18);
  vertical-align: middle;
}
.cmp__time {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.25rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--violet);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.cmp__note {
  margin: 0;
  padding: 0.95rem 1.25rem 1.15rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
}
@media (max-width: 767px) {
  .cmp .shell {
    padding-inline: clamp(0.65rem, 3vw, 1rem);
  }
  .cmp__scroll {
    overflow: visible;
  }
  .cmp__table {
    min-width: 0;
    width: 100%;
    table-layout: fixed;
  }
  .cmp__table thead th {
    top: var(--nav);
    z-index: 30;
    padding: 0.65rem 0.2rem;
    font-size: 0.58rem;
    letter-spacing: 0.02em;
    line-height: 1.15;
    transition: top 0.35s var(--ease);
  }
  body:has(.nav.is-hidden) .cmp__table thead th {
    top: 0;
  }
  .cmp__table thead th:first-child {
    width: 38%;
    z-index: 31;
    padding-left: 0.7rem;
    padding-right: 0.35rem;
    text-align: left;
    font-size: 0.58rem;
    box-shadow: none;
    border-top-left-radius: calc(var(--radius) - 0.05rem);
  }
  .cmp__table thead th:last-child {
    padding-right: 0.45rem;
    border-top-right-radius: calc(var(--radius) - 0.05rem);
  }
  .cmp__table thead th:not(:first-child) {
    width: 20.666%;
  }
  .cmp__table tbody th {
    position: static;
    left: auto;
    z-index: auto;
    width: auto;
    min-width: 0;
    max-width: none;
    padding: 0.65rem 0.35rem 0.65rem 0.7rem;
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.28;
    box-shadow: none;
    overflow-wrap: break-word;
    word-break: break-word;
  }
  .cmp__table tbody td {
    padding: 0.65rem 0.15rem;
  }
  .cmp__table tbody td:last-child {
    padding-right: 0.45rem;
  }
  .cmp__check {
    width: 1.15rem;
    height: 1.15rem;
    box-shadow: 0 3px 8px rgba(145, 132, 250, 0.22);
  }
  .cmp__check::before {
    width: 0.3rem;
    height: 0.5rem;
    border-right-width: 1.75px;
    border-bottom-width: 1.75px;
  }
  .cmp__empty {
    width: 0.5rem;
  }
  .cmp__time {
    min-width: 0;
    max-width: 100%;
    padding: 0.25rem 0.2rem;
    font-size: 0.58rem;
  }
  .cmp__note {
    padding: 0.85rem 0.75rem 1rem;
    font-size: 0.72rem;
  }
}

/* —— Voices (quote cards + sticky stack) —— */
.voices { background: transparent; }
.voices .section__head {
  margin-bottom: clamp(2rem, 5vh, 3rem);
  max-width: 42rem;
  margin-inline: auto;
}
.voices__stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(6.5rem, 14vh, 9rem);
  padding-top: 3.25rem;
  padding-bottom: 18vh;
}
.voices__card {
  position: sticky;
  top: calc(var(--nav) + 5rem);
  width: min(100%, 40rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.1rem;
  padding: 3.75rem 3rem 2.35rem;
  border-radius: 2.35rem;
  /* background: #fff; */
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(3px);
  isolation: isolate;
  box-shadow:
    0 22px 48px rgba(18, 16, 28, 0.1),
    0 4px 14px rgba(18, 16, 28, 0.04);
  transform-origin: 50% 0%;
  will-change: transform;
  overflow: visible;
}
.voices__card:nth-child(1) { transform: rotate(-1.35deg); }
.voices__card:nth-child(2) { transform: rotate(1.15deg); }
.voices__card:nth-child(3) { transform: rotate(-0.95deg); }
.voices__card:nth-child(4) { transform: rotate(1.25deg); }
.voices__avatar {
  position: absolute;
  top: -2.15rem;
  left: 2.35rem;
  z-index: 2;
  width: 4.75rem;
  height: 4.75rem;
  border-radius: 1.15rem;
  overflow: hidden;
}
.voices__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  box-shadow:
    0 10px 22px rgba(18, 16, 28, 0.14),
    0 0 0 0.45rem rgba(255, 255, 255, 0.95);
}
.voices__mark {
  position: absolute;
  top: 2.35rem;
  right: 2.4rem;
  font-size: clamp(5rem, 9vw, 7rem);
  line-height: 0.7;
  font-weight: 800;
  color: var(--violet);
  pointer-events: none;
  user-select: none;
}
.voices__quote {
  margin: 0;
  max-width: 28rem;
  padding-right: 4.5rem;
  font-size: clamp(1.32rem, 2vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.18;
  color: var(--ink);
}
.voices__stars {
  display: flex;
  gap: 0.22rem;
  margin: 0.15rem 0 0.35rem;
  line-height: 0;
}
.voices__stars span {
  width: 1.15rem;
  height: 1.15rem;
  background: #f4b23a;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2.15l2.86 6.08 6.68.82-4.94 4.58 1.32 6.62L12 17.02 6.08 20.25l1.32-6.62L2.46 9.05l6.68-.82z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2.15l2.86 6.08 6.68.82-4.94 4.58 1.32 6.62L12 17.02 6.08 20.25l1.32-6.62L2.46 9.05l6.68-.82z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.voices__author {
  margin-top: auto;
  padding-top: 0.35rem;
}
.voices__name {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.2;
}
.voices__role {
  margin-top: 0.28rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.4;
}
@media (max-width: 767px) {
  .voices__stack {
    gap: 5.5rem;
    padding-top: 2.75rem;
    padding-bottom: 8vh;
  }
  .voices__card {
    width: min(100%, 24rem);
    top: calc(var(--nav) + 4.25rem);
    padding: 3.25rem 1.45rem 1.75rem;
    border-radius: 1.85rem;
    gap: 0.9rem;
  }
  .voices__avatar {
    left: 1.35rem;
    top: -1.85rem;
    width: 4.1rem;
    height: 4.1rem;
    border-radius: 1rem;
  }
  .voices__mark {
    top: 1.85rem;
    right: 1.35rem;
    font-size: 4.5rem;
  }
  .voices__quote {
    padding-right: 2.75rem;
    font-size: 1.2rem;
  }
  .voices__name { font-size: 0.98rem; }
  .voices__role { font-size: 0.8rem; }
}

/* —— FAQ (Linearity accordion, light) —— */
.faq-sec { background: transparent; color: var(--ink); }
.faq-sec__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.faq-sec__copy {
  position: sticky;
  top: calc(var(--nav) + 1.75rem);
}
.faq-sec__copy .display {
  margin-bottom: 1.1rem;
  max-width: 27rem;
}
.faq-sec__copy .lede {
  max-width: 20rem;
  margin-top: 0;
}
.faq-sec__copy .lede a {
  color: var(--violet);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.faq-sec__copy .lede a:hover { color: var(--magenta); }
.faq { display: flex; flex-direction: column; }
.faq__item {
  position: relative;
  padding: 1.15rem 0 1.05rem;
  cursor: pointer;
}
.faq__item::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--line);
}
.faq__q {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.95rem;
  width: 100%;
  text-align: left;
  padding: 0;
  background: none;
  border: 0;
  color: var(--ink);
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.35;
  cursor: pointer;
}
.faq__icon {
  position: relative;
  flex: none;
  width: 1.875rem;
  height: 1.875rem;
  border-radius: 50%;
  border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), border-color 0.4s, background 0.4s;
}
.faq__icon span {
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--ink);
  border-radius: 99px;
}
.faq__icon span:first-child {
  width: 0.625rem;
  height: 1.5px;
  transform: translate(-50%, -50%);
}
.faq__icon span:last-child {
  width: 1.5px;
  height: 0.625rem;
  transform: translate(-50%, -50%);
}
.faq__item:hover .faq__icon {
  border-color: var(--line-v);
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.45);
}
.faq__item.is-open .faq__icon {
  transform: rotate(45deg);
  border-color: var(--violet);
}
.faq__item.is-open:hover .faq__icon {
  transform: rotate(45deg) scale(1.1);
}
.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease-in-out;
}
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p {
  margin: 0.95rem 0 0;
  max-width: 40rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
  font-weight: 500;
}
.faq__a p strong { color: var(--ink); font-weight: 700; }
.faq__a ul {
  margin: 0.55rem 0 0;
  max-width: 40rem;
  padding-left: 1.15rem;
  list-style: disc;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
  font-weight: 500;
}
.faq__a li { margin: 0.3rem 0; }
.faq__a li::marker { color: var(--violet); }

/* —— Finale —— */
.finale {
  padding: clamp(4rem, 9vh, 6rem) 0;
}
.finale__panel {
  text-align: center;
  padding: clamp(2rem, 4vw, 2.75rem);
  border-radius: 1.5rem; border: 1px solid var(--line-v);
  background: linear-gradient(135deg, #fff 0%, #f3f0ff 100%);
  box-shadow: var(--shadow);
}
.finale__panel .lede {
  margin: 0 auto;
}
.finale__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; margin-top: 2rem; }

/* —— Showreel CTA (La Revoltosa: pin + zoom mark → fullscreen video) —— */
.reel {
  position: relative;
  z-index: 2;
  height: 420vh;
  background: transparent;
}
.reel__pin {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.reel__player {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #0d0b16;
  opacity: 0;
  pointer-events: none;
  will-change: opacity;
  --scroll-amount: 0%;
}
/* Overlay negro tipo Revoltosa — se quita al reproducir */
.reel__player::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.5);
  opacity: 1;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.reel__player.is-playing::after {
  opacity: 0;
}
/* Sobre el mark: si no, el círculo tapa video + controles */
.reel.is-video-ready .reel__player {
  pointer-events: auto;
  z-index: 4;
}
.reel.is-video-ready .reel__mark {
  z-index: 1;
}
.reel__player.is-playing {
  opacity: 1 !important;
  z-index: 5;
}
.reel__player.is-playing ~ .reel__mark {
  opacity: 0 !important;
  visibility: hidden;
}
/* Cover full-bleed (evita bandas laterales del 16:9) — Revoltosa */
.reel__player iframe,
.reel__player video {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  border: 0;
  display: block;
  pointer-events: none;
  background: #0d0b16;
  width: 177.78svh;
  height: 100svh;
  min-width: 100%;
  min-height: 56.25vw;
  transform: translate(-50%, -50%);
  object-fit: cover;
}
/* Center play — Revoltosa: visible when ready, fills with scroll progress */
.reel__play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 4;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.35rem 0.85rem 1.1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.25s ease, color 0.25s ease;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
}
.reel.is-video-ready .reel__play {
  opacity: 1;
  pointer-events: auto;
}
/* Al reproducir: el mismo botón pasa a Pausar (no se oculta) */
.reel__player.is-playing .reel__play {
  opacity: 1;
  pointer-events: auto;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}
.reel__play::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--scroll-amount);
  background: rgba(122, 191, 255, 0.35);
  pointer-events: none;
  z-index: 0;
}
.reel__player.is-playing .reel__play::after {
  width: 0;
}
.reel__play-icon,
.reel__play-label {
  position: relative;
  z-index: 1;
}
.reel__play-icon {
  width: 1.35rem;
  height: 1.35rem;
  display: grid;
  place-items: center;
}
.reel__play-icon svg {
  width: 1.1rem;
  height: 1.1rem;
}
.reel__play-icon--play svg {
  margin-left: 0.1rem;
}
.reel__play-icon--pause,
.reel__play-label--pause {
  display: none;
}
.reel__player.is-playing .reel__play-icon--play,
.reel__player.is-playing .reel__play-label--play {
  display: none;
}
.reel__player.is-playing .reel__play-icon--pause,
.reel__player.is-playing .reel__play-label--pause {
  display: grid;
}
.reel__player.is-playing .reel__play-label--pause {
  display: inline;
}

/* Scroll hint — La Revoltosa .b-scroll / .js-b-scroll */
.reel-scroll {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 6;
  padding: 1.25rem 1.5rem;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.reel-scroll:not(.is-hidden) {
  opacity: 1;
  visibility: visible;
}
/* Oculto al reproducir (aunque el hold diga lo contrario) */
.reel.is-reel-playing .reel-scroll {
  opacity: 0 !important;
  visibility: hidden !important;
}
.reel-scroll__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.reel-scroll__line-wrap {
  width: 1px;
  height: 1.5rem;
  margin: 0 auto;
  overflow: hidden;
}
.reel-scroll__line {
  width: 100%;
  height: 100%;
  background: #fff;
  transform-origin: top center;
  animation: reelScrollAnim 1.5s ease-in-out infinite;
}
.reel-scroll__text {
  padding-top: 0.75rem;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
}
@keyframes reelScrollAnim {
  0% {
    opacity: 1;
    transform: translateY(0) scaleY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(0) scaleY(1);
  }
  100% {
    opacity: 0.5;
    transform: translateY(100%) scaleY(1);
  }
}
.reel__hover {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.reel__player.is-playing .reel__hover {
  pointer-events: auto;
}
.reel__pause-orb {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 5;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.reel__pause-orb svg { width: 1.75rem; height: 1.75rem; }
.reel__pause-orb.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.reel__controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 6;
  padding: 2.75rem 1.25rem 1rem;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.65) 0%, transparent 100%);
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  pointer-events: none;
}
.reel__player.is-playing .reel__controls {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 8;
}
.reel__timeline {
  cursor: pointer;
  padding: 0.85rem 0;
  touch-action: none;
}
.reel__timeline-track {
  position: relative;
  width: 100%;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.35);
  transition: height 0.15s ease;
}
.reel__timeline:hover .reel__timeline-track,
.reel__timeline-track.is-seeking {
  height: 5px;
}
.reel__timeline-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0%;
  border-radius: inherit;
  background: #7abfff;
}
.reel__timeline-handle {
  position: absolute;
  top: 50%;
  left: 0%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, -50%) scale(0.6);
  opacity: 0;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.reel__timeline:hover .reel__timeline-handle,
.reel__timeline-track.is-seeking .reel__timeline-handle {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.reel__toolbar {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.reel__ctrl {
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 999px;
  transition: background 0.2s ease;
}
.reel__ctrl:hover { background: rgba(255, 255, 255, 0.12); }
.reel__ico { width: 1.15rem; height: 1.15rem; }
.reel__player.is-playing .reel__ico--play { display: none; }
.reel__player:not(.is-playing) .reel__ico--pause { display: none; }
.reel__player.is-muted .reel__ico--sound { display: none; }
.reel__player:not(.is-muted) .reel__ico--muted { display: none; }
.reel__time {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  opacity: 0.9;
  margin-left: 0.25rem;
}
.reel__stage {
  position: relative;
  z-index: 3;
  width: min(920px, calc(100% - 2 * var(--pad)));
  height: 100%;
  margin-inline: auto;
  text-align: center;
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: center;
  justify-items: center;
  gap: 1.25rem;
  padding: calc(var(--nav) + 1.25rem) 0 1.75rem;
  pointer-events: none;
}
.reel__stage > .btn {
  pointer-events: auto;
  align-self: end;
}
.reel__copy {
  position: relative;
  z-index: 3;
  display: grid;
  justify-items: center;
  /* align-self: start; */
  padding-top: 0.5rem;
  will-change: opacity, transform;
}
.reel__title {
  margin-top: 0.65rem;
  max-width: 18ch;
  font-size: clamp(1.75rem, 4.2vw, 3.1rem);
  line-height: 1.02;
  color: var(--ink);
  text-transform: none;
}
.reel__lede {
  margin: 0.95rem auto 0;
  max-width: 42rem;
  color: var(--muted);
}
/* Full-bleed mark — covers the entire sticky viewport (not a square box) */
.reel__mark {
  position: absolute;
  inset: 0;
  z-index: 2;
  color: #d1d9fa;
  opacity: 0.5;
  pointer-events: none;
  will-change: opacity, color;
}
.reel__mark svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.reel__stage > .btn {
  position: relative;
  z-index: 3;
  margin-top: 0;
  will-change: opacity, transform;
}
.reel__cta-main {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.reel__cta-sub {
  margin-top: 0.18rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.9;
}

@media (max-width: 767px) {
  .reel { height: 360vh; }
  .reel__stage {
    gap: 1rem;
    padding: calc(var(--nav) + 0.85rem) 0 1.25rem;
  }
}

html.is-reel-locked,
body.is-reel-locked {
  overscroll-behavior: none;
}

@media (prefers-reduced-motion: reduce) {
  .reel { height: auto; }
  .reel__pin {
    position: relative;
    height: auto;
    overflow: visible;
    display: grid;
    gap: 1.5rem;
    padding: 3rem var(--pad);
  }
  .reel__player {
    opacity: 1;
    pointer-events: auto;
    position: relative;
    inset: auto;
    width: min(920px, 100%);
    margin-inline: auto;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius);
    order: 2;
  }
  .reel__mark { display: none; }
  .reel__stage {
    height: auto;
    grid-template-rows: auto;
    padding: 0;
    gap: 1.25rem;
    pointer-events: auto;
  }
  .reel__play {
    opacity: 1;
    pointer-events: auto;
  }
}

/* —— Footer —— */
.foot {
  border-top: 1px solid var(--line); padding: 3rem var(--pad) 2rem;
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(14px);
}
.foot__ascii {
  width: min(var(--max), 100%);
  margin: 0 auto 1.75rem;
  height: clamp(7.5rem, 16vw, 12rem);
  position: relative;
  overflow: hidden;
  -webkit-user-select: none;
  user-select: none;
}
.foot__ascii canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.foot__grid {
  width: min(var(--max), 100%); margin: 0 auto 2rem;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem;
}
.foot__copy .lede a {
  color: var(--violet);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.foot__copy .lede a:hover { color: var(--magenta); }
.foot__grid p { color: var(--muted); font-size: 0.9rem; margin-top: 1rem; max-width: 18rem; line-height: 1.65; }
.foot__grid h4 { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.85rem; }
.foot__grid a { display: block; color: var(--muted); font-size: 0.9rem; margin-bottom: 0.45rem; }
.foot__grid a:hover { color: var(--violet); }
.foot__bar {
  width: min(var(--max), 100%); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 1.5rem; border-top: 1px solid var(--line);
  font-size: 0.78rem; color: var(--faint);
}

/* —— Page hero / forms / blog —— */
.page-hero {
  padding: calc(var(--nav) + 3.5rem) var(--pad) 2.5rem;
  text-align: center; display: grid; gap: 0.85rem; justify-items: center;
}
.page-hero .lede { margin: 0 auto; }
.page-hero--demo { padding-bottom: 1.5rem; }
.page-hero--demo .lede {
  color: var(--violet);
  font-weight: 700;
  max-width: 28rem;
}

.demo {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(1.75rem, 4vw, 3rem);
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 2rem var(--pad) 5rem;
  align-items: center;
}
.demo__copy {
  display: grid;
  gap: 1.15rem;
  padding-top: 0.35rem;
}
.demo__copy {
}
@media (min-width: 901px) {
  .demo__copy {
    position: sticky;
    top: calc(var(--nav) + 1.25rem);
  }
}
.demo__copy .lede { margin-top: 0; }
.demo__intro {
  color: var(--muted);
  max-width: 32rem;
}
.demo__copy .display {
  letter-spacing: -0.03em;
}
.demo__list {
  list-style: none;
  display: grid;
  gap: 0.9rem;
  margin: 0.35rem 0 0;
  padding: 0;
}
.demo__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.45;
}
.demo__check {
  flex: 0 0 auto;
  width: 1.35rem;
  height: 1.35rem;
  margin-top: 0.1rem;
  border-radius: 999px;
  background: linear-gradient(145deg, #a394ff 0%, var(--violet) 55%, #7a6df0 100%);
  box-shadow: 0 6px 14px rgba(145, 132, 250, 0.28);
  position: relative;
}
.demo__check::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 46%;
  width: 0.34rem;
  height: 0.58rem;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translate(-50%, -55%) rotate(40deg);
}
.demo__note {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.88rem;
}
.demo__note a {
  color: var(--violet);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.demo__note a:hover { color: var(--magenta); }

.demo__calendar {
  border-radius: calc(var(--radius) + 0.15rem);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  overflow: hidden;
  min-width: 0;
}
.demo__calendar-head {
  padding: 1.25rem 1.35rem 1rem;
  background: linear-gradient(135deg, rgba(239, 236, 255, 0.95) 0%, rgba(255, 255, 255, 0.7) 100%);
  border-bottom: 1px solid var(--line-v);
  display: grid;
  gap: 0.35rem;
}
.demo__calendar-sub {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
}
.demo__widget {
  position: relative;
  width: 100%;
  padding: 0 1rem;
  min-height: 35rem;
  background: #fff;
}
.demo__widget iframe {
  display: block;
  width: 100%;
  height: 35rem;
  border: 0;
  background: #fff;
}

.form {
  display: grid; gap: 1rem; padding: 1.75rem;
  border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--bg-elev); box-shadow: var(--shadow);
}
.form label { display: grid; gap: 0.4rem; font-size: 0.82rem; font-weight: 700; }
.form input, .form select, .form textarea {
  width: 100%; padding: 0.85rem 1rem; border-radius: 0.75rem;
  border: 1px solid var(--line); background: var(--bg); font: inherit;
  transition: border-color .25s, box-shadow .25s;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(145,132,250,0.2);
}
.form textarea { min-height: 120px; resize: vertical; }

.blog-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
  width: min(var(--max), 100%); margin: 0 auto; padding: 0 var(--pad) 5rem;
}
.b-card {
  border-radius: 1.15rem; overflow: hidden; background: var(--bg-elev);
  border: 1px solid var(--line); transition: transform .45s var(--ease), box-shadow .45s;
}
.b-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.b-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-elev);
}
.b-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  transform: scale(1.22);
  transform-origin: center;
  transition: transform .7s var(--ease);
}
.b-card:hover .b-card__media img { transform: scale(1.28); }
.b-card__body { padding: 1.25rem; }
.b-card__cat { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--violet); }
.b-card__title { font-size: 1.05rem; font-weight: 800; margin: 0.5rem 0; letter-spacing: -0.02em; line-height: 1.3; }
.b-card__ex { font-size: 0.88rem; color: var(--muted); line-height: 1.55; }

/* —— Blog index —— */
.page-hero--blog {
  text-align: left;
  justify-items: start;
  width: min(var(--max), 100%);
  margin-inline: auto;
  padding-bottom: 1.5rem;
}
.blog-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: center;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.blog-feature__media {
  display: block;
  position: relative;
  border-radius: calc(var(--radius) + 0.1rem);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--bg-elev);
  aspect-ratio: 729 / 585;
}
.blog-feature__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  transform: scale(1.32);
  transform-origin: center;
  transition: transform 0.7s var(--ease);
}
.blog-feature:hover .blog-feature__media img { transform: scale(1.38); }
.blog-feature__body {
  display: grid;
  gap: 0.75rem;
  align-content: center;
}
.blog-feature__title {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.15;
}
.blog-feature__title a {
  color: inherit;
  text-decoration: none;
}
.blog-feature__title a:hover { color: var(--violet); }
.blog-feature__ex {
  margin: 0 0 0.35rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
  max-width: 34rem;
}
.blog-meta__cat {
  margin: 0;
  color: var(--violet);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.blog-meta__date {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  color: var(--faint);
  font-size: 0.78rem;
  font-weight: 600;
}
.blog-meta__ico {
  width: 0.95rem;
  height: 0.95rem;
  color: var(--violet);
  flex: none;
}
.blog-index {
  padding-bottom: 5rem;
}
.blog-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: 2rem;
}
.blog-filters__btn {
  appearance: none;
  border: 1px solid var(--line-v);
  background: rgba(239, 236, 255, 0.55);
  color: var(--violet);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s var(--ease);
}
.blog-filters__btn:hover {
  transform: translateY(-1px);
  background: rgba(145, 132, 250, 0.14);
}
.blog-filters__btn.is-on {
  background: linear-gradient(135deg, #a394ff 0%, var(--violet) 55%, #7a6df0 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 18px rgba(145, 132, 250, 0.28);
}
.blog-index .blog-grid {
  width: 100%;
  margin: 0;
  padding: 0;
  gap: 1.5rem;
}
.blog-index .b-card {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}
.blog-index .b-card__body {
  display: grid;
  gap: 0.45rem;
  flex: 1;
}
.blog-index .b-card__title { margin: 0.15rem 0 0; }
.blog-index .b-card__ex { margin: 0; }

@media (max-width: 900px) {
  .blog-feature {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .blog-feature__media { aspect-ratio: 729 / 585; }
}

.article { max-width: 56rem; margin: 0 auto; padding: 0 var(--pad) 5rem; }
.article__cover {
  max-width: 52rem;
  margin: 0 auto 2rem;
  padding: 0 var(--pad);
  position: relative;
  aspect-ratio: 729 / 425;
  overflow: hidden;
  border-radius: 1.25rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--bg-elev);
}
.article__cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  transform: scale(1.32);
  transform-origin: center;
  border-radius: 0;
  border: 0;
  box-shadow: none;
}
.article-page__head {
  width: min(52rem, 100%);
  margin: 0 auto;
  padding: calc(var(--nav) + 3rem) var(--pad) 1.25rem;
  text-align: left;
}
.article-page__head .display {
  margin: 0;
  text-align: left;
  max-width: none;
  line-height: 1.12;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  width: min(52rem, 100%);
  margin: 0 auto 2rem;
  padding: 0 var(--pad) 1.35rem;
  border-bottom: 1px solid var(--line);
}
.article-meta__info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1.15rem;
}
.article-meta__tag {
  margin: 0;
  color: var(--violet);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.article-meta__tag a {
  color: inherit;
  text-decoration: none;
}
.article-meta__tag a:hover { opacity: 0.85; }
.article-share {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.article-share__label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
}
.article-share__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.article-share__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  border: 1px solid var(--line-v);
  background: rgba(239, 236, 255, 0.55);
  color: var(--violet);
  cursor: pointer;
  transition: background 0.25s, transform 0.25s var(--ease), border-color 0.25s;
}
.article-share__btn:hover {
  transform: translateY(-1px);
  background: rgba(145, 132, 250, 0.16);
  border-color: rgba(145, 132, 250, 0.35);
}
.article-share__btn svg {
  width: 1.05rem;
  height: 1.05rem;
}
.article-share__btn.is-copied {
  background: rgba(145, 132, 250, 0.22);
  border-color: var(--violet);
}
.article h2 { font-size: 1.4rem; font-weight: 800; margin: 2rem 0 0.75rem; letter-spacing: -0.02em; color: var(--text); }
.article h3 { font-size: 1.12rem; font-weight: 800; margin: 1.75rem 0 0.6rem; letter-spacing: -0.02em; color: var(--text); }
.article h4 { font-size: 1rem; font-weight: 700; margin: 1.35rem 0 0.5rem; color: var(--text); }
.article p { color: var(--muted); line-height: 1.8; margin-bottom: 1rem; }
.article p strong { color: var(--text); font-weight: 700; }
.article ul,
.article ol {
  margin: 0 0 1.25rem;
  padding-left: 1.35rem;
  color: var(--muted);
  line-height: 1.75;
}
.article ul { list-style: disc; }
.article ol { list-style: decimal; }
.article li { margin-bottom: 0.45rem; }
.article ul li::marker { color: var(--violet); }
.article a:not(.btn) {
  color: var(--violet);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(145, 132, 250, 0.45);
  text-underline-offset: 0.18em;
}
.article a:not(.btn):hover { text-decoration-color: var(--violet); }
.article__cta { margin-top: 2.25rem; }
.article-related {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 0 var(--pad) 5rem;
  border-top: 1px solid var(--line);
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
}
.article-related__title {
  margin: 0 0 1.75rem;
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-align: center;
}
.article-related .blog-grid {
  width: 100%;
  margin: 0;
  padding: 0;
}

/* —— Legal / FAQ pages —— */
.legal {
  width: min(46rem, 100%);
  margin: 0 auto;
  padding: 0 var(--pad) 5rem;
}
.legal--wide { width: min(52rem, 100%); }
.legal__meta {
  display: grid;
  gap: 0.25rem;
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.5;
}
.legal__meta strong {
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0.02em;
}
.legal h2 {
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 2.25rem 0 0.85rem;
  color: var(--ink);
}
.legal h3 {
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  margin: 1.5rem 0 0.65rem;
  color: var(--ink);
}
.legal h4 {
  font-size: 0.92rem;
  font-weight: 800;
  margin: 1.15rem 0 0.5rem;
  color: var(--ink);
}
.legal p {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.legal a {
  color: var(--violet);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.legal a:hover { color: var(--magenta); }
.legal ul,
.legal ol {
  margin: 0 0 1.15rem;
  padding-left: 1.2rem;
  color: var(--muted);
  line-height: 1.7;
  display: grid;
  gap: 0.45rem;
}
.legal li::marker { color: var(--violet); }
.legal ul ul,
.legal ol ul {
  margin: 0.45rem 0 0.2rem;
}
.legal__faq .faq__item:first-child::before { display: none; }
.legal__faq .faq__a p,
.legal__faq .faq__a li {
  color: var(--muted);
  line-height: 1.7;
}
.legal__faq .faq__a ul {
  margin: 0.65rem 0 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.4rem;
}
.legal__faq .faq__a strong { color: var(--ink); }

/* —— Reveal helpers —— */
[data-reveal] {
  opacity: 0; transform: translateY(28px);
}

/* —— Heading split (Logisticarama / Tekmino clip-path wipe) —— */
.heading-split {
  overflow: visible;
}
.heading-split.display {
  /* Tight 1.1 + per-char boxes was clipping descenders (g, y, p, j) */
  line-height: 1.18;
}
.heading-split .word {
  display: inline-block;
  white-space: nowrap;
  overflow: visible;
  /* Extra ink box so ascenders / descenders aren't clipped */
  padding: 0.12em 0.04em 0.22em;
  margin: -0.12em -0.04em -0.22em;
}
.heading-split .char {
  display: inline-block;
  transform-origin: left center;
  /* Negative insets = room for glyph overhang + tight letter-spacing */
  clip-path: inset(-0.28em 110% -0.4em -0.15em);
  will-change: clip-path;
}
.heading-split.is-in .char {
  clip-path: inset(-0.28em -0.15em -0.4em -0.15em);
  transition: clip-path 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}
.heading-split.is-done .char {
  clip-path: none;
  will-change: auto;
}
.heading-split .grad .char {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
@media (prefers-reduced-motion: reduce) {
  .heading-split .char {
    clip-path: none;
    transition: none;
  }
}

/* —— Responsive —— */
@media (max-height: 820px) and (min-width: 1025px) {
  .how__sticky { padding-top: calc(var(--nav) + 0.35rem); padding-bottom: 0.65rem; }
  .how__intro .lede { display: none; }
  .how__intro .display { margin-bottom: 0.55rem; font-size: clamp(1.45rem, 3vw, 2.2rem); }
  .how__actions { margin-bottom: 0.25rem; }
  .how__actions .btn { padding: 0.7rem 1.15rem; font-size: 0.8rem; }
  .how__step { padding: 0.65rem 0.8rem; gap: 0.75rem; }
  .how__icon { width: 2.4rem; height: 2.4rem; }
  .how__step-title { font-size: 0.9rem; }
  .how__step-text > span { font-size: 0.8rem; }
  .how__step.is-on .how__step-text { padding-top: 0.25rem; }
}

@media (max-width: 1024px) {
  .value__panel, .value__panel.is-on { grid-template-columns: 1fr; }
  .how { height: 420vh; }
  .how__sticky {
    padding: calc(var(--nav) + 0.45rem) 0 0.85rem;
    align-items: stretch;
  }
  .how__layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 0.95fr) minmax(0, 1.15fr);
    gap: 0.85rem;
    height: 100%;
    max-height: 100%;
    align-items: stretch;
  }
  .how__copy {
    display: contents;
  }
  .how__intro {
    order: 1;
    min-width: 0;
  }
  .how__visual {
    order: 2;
    aspect-ratio: auto;
    height: 100%;
    max-height: none;
    min-height: 0;
  }
  .how__steps {
    order: 3;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: none;
  }
  .how__steps::-webkit-scrollbar { display: none; }
  .how__intro .lede { display: none; }
  .how__intro .display {
    margin-top: 0.35rem;
    margin-bottom: 0;
    font-size: clamp(1.45rem, 6vw, 2.1rem);
  }
  .how__step { padding: 0.7rem 0.75rem; gap: 0.75rem; }
  .how__icon { width: 2.45rem; height: 2.45rem; }
  .how__step-title { font-size: 0.9rem; }
  .how__step-text > span { font-size: 0.8rem; line-height: 1.45; }
  .how__slide figcaption { font-size: 0.62rem; padding: 0.4rem 0.6rem; }
  .diff__grid { grid-template-columns: 1fr; }
  .roles__grid { grid-template-columns: 1fr 1fr; }
  .pricing.section {
    padding-top: clamp(2.25rem, 5vh, 3.5rem);
    padding-bottom: clamp(1.75rem, 4vh, 2.75rem);
  }
  .pricing__stage {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.15rem;
    box-sizing: border-box;
    min-height: calc(100svh - var(--nav) - 0.5rem);
    min-height: calc(100dvh - var(--nav) - 0.5rem);
  }
  .pricing__toggle-wrap {
    margin-bottom: 0;
    flex: 0 0 auto;
  }
  .plans__track {
    flex: 0 0 auto;
  }
  .plans__viewport {
    overflow: hidden;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-left: var(--pad);
  }
  .plans {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0.85rem;
    width: max-content;
    max-width: none;
    margin: 0;
    padding-right: var(--pad);
    will-change: transform;
  }
  .plans .plan {
    flex: 0 0 auto;
    width: min(82vw, 20.5rem);
  }
  .plans__progress {
    display: block;
    width: 100%;
    margin-top: 1.15rem;
    height: 2px;
    background: var(--line);
    border-radius: 999px;
    overflow: hidden;
    will-change: opacity;
  }
  .plans__progress-bar {
    display: block;
    height: 100%;
    width: 0%;
    background: var(--grad);
    transform-origin: left center;
  }
  .faq-sec__grid { grid-template-columns: 1fr; }
  .faq-sec__copy { position: relative; top: auto; }
  .finale__panel { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .demo { grid-template-columns: 1fr; }
  .demo__calendar { order: -1; }
  .demo__widget,
  .demo__widget iframe { height: 36rem; min-height: 36rem; }
}
@media (max-width: 768px) {
  .how { height: 380vh; margin-top: 4rem; }
  .how__layout {
    grid-template-rows: auto minmax(9.5rem, 34vh) minmax(0, 1fr);
    gap: 0.7rem;
  }
  .how__step-text > span {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
  }
  .nav__links { display: none; }
  .nav__acts { gap: 0.35rem; }
  .nav__end { gap: 0.2rem; }
  .nav__acts .btn {
    width: 44px;
    height: 44px;
    padding: 0;
    gap: 0;
  }
  .nav__acts .btn__label { display: none; }
  .nav__acts .btn__ico { display: block; }
  .nav__burger { display: flex; }
  .roles__grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr; }
  .foot__bar { flex-direction: column; gap: 0.75rem; }
  .foot__ascii { height: clamp(7.5rem, 28vw, 11rem); }
}
@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
  .pricing__stage {
    min-height: 0;
    gap: 1.5rem;
  }
  .plans__viewport {
    width: auto;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    overflow: visible;
  }
  .plans {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 24rem;
    margin-inline: auto;
    padding-right: 0;
    will-change: auto;
  }
  .plans .plan { width: 100%; }
  .plans__progress { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .trust__track { animation: none; }
  [data-reveal] { opacity: 1; transform: none; }
}
