/* First paint for the marketing homepage — sketch white canvas (hx-*), not legacy dark home-hero. */
html.bizuply-home,
html.bizuply-home body,
html.hx-preview,
html.hx-preview body {
  margin: 0;
  background: #ffffff;
  color: #14082a;
}
html.bizuply-home #root,
html.hx-preview #root,
html.bizuply-home #initial-bg,
html.hx-preview #initial-bg {
  background: #ffffff !important;
}
html.bizuply-home body,
html.hx-preview body {
  font-family: "Assistant", "Inter", "Segoe UI", system-ui, sans-serif;
}
/* Must survive hydration: React replaces .home-shell with .app-layout/.hx-page
   before deferred Vite CSS is promoted, so box-sizing cannot depend on .home-shell. */
html.bizuply-home *,
html.bizuply-home *::before,
html.bizuply-home *::after,
html.hx-preview *,
html.hx-preview *::before,
html.hx-preview *::after {
  box-sizing: border-box;
}
html.bizuply-home img,
html.hx-preview img {
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  width: 100%;
  font-family: "Assistant", "Heebo", system-ui, sans-serif;
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
  color: #0f172a;
}
.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  max-width: 1280px;
  height: 5rem;
  min-height: 5rem;
  margin-inline: auto;
  padding-inline: clamp(0.85rem, 2.5vw, 1.5rem);
  box-sizing: border-box;
}
.site-header__logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.site-header__logo img {
  display: block;
  height: 2.85rem;
  width: auto;
  max-width: min(11.5rem, 40vw);
  object-fit: contain;
}
.site-header__nav {
  display: none;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  min-width: 0;
  gap: 0.05rem;
}
.site-header__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.25rem;
  padding: 0 0.45rem;
  border-radius: 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: #21172F;
  text-decoration: none;
  white-space: nowrap;
}
.site-header__end {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
  gap: 0.5rem;
  min-width: 0;
}
.site-header__actions {
  display: none;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
  gap: 0.45rem;
}
.site-header__mobile {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.site-header__signin {
  display: none;
  align-items: center;
  height: 2.5rem;
  padding-inline: 0.7rem;
  border-radius: 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: #21172F;
  text-decoration: none;
}
.site-header__cta {
  display: inline-flex;
  align-items: center;
  height: 2.5rem;
  padding-inline: 1.05rem;
  border-radius: 0;
  background: #5b21b6;
  font-size: 0.88rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  box-shadow: none;
}
.site-header__icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-width: 2.5rem;
  height: 2.5rem;
  padding-inline: 0.55rem;
  border: 1px solid #e2e8f0;
  border-radius: 0;
  background: #fff;
  color: #0f172a;
  font-size: 0.72rem;
  font-weight: 800;
  text-decoration: none;
}
.site-header__icon-btn:has(.site-header__lang-code) {
  min-width: 4.7rem;
  padding-inline: 0.7rem;
}
.site-header__lang-code {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
}
.site-header__burger {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid #e2e8f0;
  border-radius: 0;
  background: #fff;
}
.site-header__burger span {
  display: block;
  width: 1rem;
  height: 1.5px;
  border-radius: 0;
  background: #334155;
}
@media (min-width: 1100px) {
  .site-header__bar {
    height: 5rem;
    min-height: 5rem;
  }
  .site-header__logo img {
    height: 3.25rem;
    max-width: 13rem;
  }
  .site-header__nav,
  .site-header__actions,
  .site-header__signin {
    display: flex;
  }
  .site-header__mobile {
    display: none;
  }
}

.hx-paint,
.hx-page {
  --hx-header: 5rem;
  position: relative;
  color: #14082a;
  background: #ffffff;
  font-family: Assistant, Heebo, system-ui, sans-serif;
}
/* Skip link: visually hidden until keyboard focus so it never covers the logo on first paint. */
.hx-skip {
  position: absolute;
  inset-inline-start: 1rem;
  top: 0;
  z-index: 100;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  background: #fff;
  color: #1a0b33;
  font-weight: 750;
}
.hx-skip:focus {
  outline: none;
}
.hx-skip:focus-visible {
  top: 0.65rem;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0.6rem 0.9rem;
  overflow: visible;
  clip: auto;
  white-space: normal;
  outline: 2px solid #5b21b6;
  outline-offset: 2px;
}
/* Shell flex/overflow helpers are home-only — this file is also linked on app shells. */
html.bizuply-home .app-layout,
html.hx-preview .app-layout {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
html.bizuply-home .app-main,
html.hx-preview .app-main,
html.bizuply-home .app-scroll-area,
html.hx-preview .app-scroll-area,
html.bizuply-home .app-scroll-area.home-preview-scroll,
html.hx-preview .app-scroll-area.home-preview-scroll {
  flex: 1 0 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
/* Both axes must be visible: overflow-x:hidden forces overflow-y to auto and
   creates a sticky scrollport that double-offsets .hx-hero-pin by --hx-header. */
html.bizuply-home .app-scroll-area,
html.hx-preview .app-scroll-area,
html.bizuply-home .app-scroll-area.home-preview-scroll,
html.hx-preview .app-scroll-area.home-preview-scroll {
  overflow: visible;
}
/* hero:start — mirrored into public/home-critical.css; keep both in sync. */
.hx-hero {
  --hp: 0;
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
  color: #14082a;
  background:
    radial-gradient(ellipse 46% 40% at 8% 6%, rgba(147, 197, 253, 0.32), transparent 62%),
    radial-gradient(ellipse 40% 44% at 94% 2%, rgba(196, 181, 253, 0.5), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #faf7ff 46%, #f4efff 72%, #ffffff 100%);
}
.hx-geo {
  position: absolute;
  z-index: -1;
  pointer-events: none;
}
.hx-geo-a {
  width: min(52vw, 760px);
  height: min(52vw, 760px);
  inset-inline-end: -14vw;
  top: -18vw;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.32), transparent 66%);
}
.hx-geo-b {
  width: min(44vw, 620px);
  height: min(30vw, 420px);
  inset-inline-start: -10vw;
  top: 26%;
  background: radial-gradient(ellipse, rgba(96, 165, 250, 0.22), transparent 68%);
}
.hx-geo-c {
  width: min(30vw, 420px);
  height: min(30vw, 420px);
  inset-inline-start: 30%;
  top: -12vw;
  background: radial-gradient(circle, rgba(129, 140, 248, 0.18), transparent 68%);
}
.ht-waves {
  position: absolute;
  inset-inline: 0;
  z-index: -1;
  display: block;
  width: 100%;
  pointer-events: none;
}
.ht-hero-waves {
  top: clamp(19rem, 30vw, 26rem);
  height: clamp(12rem, 24vw, 22rem);
}
.ht-wave-line {
  stroke: rgba(124, 58, 237, 0.4);
  stroke-width: 1.4;
}
.hx-hero-pin {
  position: relative;
  width: min(1320px, calc(100% - 3rem));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(16rem, 0.65fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
  padding: clamp(2rem, 4.4vw, 4rem) 0 clamp(1.75rem, 3vw, 2.6rem);
}
.hx-hero-copy {
  min-width: 0;
}
.hx-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1.25rem;
  color: #5b21b6;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hx-hero-kicker::before {
  content: "";
  width: 2.25rem;
  height: 2px;
  background: linear-gradient(90deg, #7c3aed, #3b82f6);
}
.hx-display {
  margin: 0;
  font-family: Assistant, Inter, system-ui, sans-serif;
  font-size: clamp(2.7rem, 6vw, 5.8rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.05em;
  color: #1a0b33;
}
[dir="rtl"] .hx-display {
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.hx-line {
  display: block;
}
.hx-word {
  display: inline-block;
  overflow: visible;
  vertical-align: baseline;
}
.hx-word > span {
  display: inline-block;
}
.hx-word.is-hot > span {
  color: transparent;
  background: linear-gradient(100deg, #6d28d9 10%, #4f46e5 55%, #2563eb 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
.hx-lead {
  max-width: 36rem;
  margin: 1.5rem 0 0;
  color: #3f3a52;
  font-size: clamp(1.05rem, 1.35vw, 1.24rem);
  line-height: 1.6;
}
.hx-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}
.hx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  min-height: 3.4rem;
  padding: 0.85rem 1.6rem;
  border: 1.5px solid #5b21b6;
  border-radius: 0;
  background: #5b21b6;
  color: #fff;
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
}
.hx-btn i {
  flex: 0 0 auto;
  width: 0.55rem;
  height: 0.55rem;
  border-top: 2px solid currentColor;
  border-inline-end: 2px solid currentColor;
  transform: rotate(45deg);
}
[dir="rtl"] .hx-btn i {
  transform: rotate(-45deg);
}
.hx-btn-line {
  background: #fff;
  color: #5b21b6;
}
.hx-btn-light {
  border-color: #fff;
  background: #fff;
  color: #4c1d95;
}
.hx-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
  color: #4b4560;
  font-size: 0.94rem;
  font-weight: 700;
}
.hx-hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.hx-hero-trust li::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  background: linear-gradient(135deg, #7c3aed, #3b82f6);
}
.ht-hero-side {
  min-width: 0;
  padding-inline-start: clamp(1.25rem, 2vw, 2rem);
  border-inline-start: 1px solid rgba(91, 33, 182, 0.2);
}
.ht-eyebrow {
  margin: 0 0 0.9rem;
  color: #6d28d9;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
[dir="rtl"] .hx-hero-kicker,
[dir="rtl"] .ht-eyebrow,
[dir="rtl"] .ht-caption-step {
  letter-spacing: 0.02em;
}
.ht-hero-side-lead {
  margin: 0;
  color: #3f3a52;
  font-size: 1rem;
  line-height: 1.6;
}
.ht-hero-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(91, 33, 182, 0.14);
}
.ht-hero-steps li {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(91, 33, 182, 0.14);
  color: #1a0b33;
  font-size: 0.95rem;
  font-weight: 700;
}
.ht-hero-steps span {
  color: #7c3aed;
  font-size: 0.76rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.hx-hero-stage {
  position: relative;
  width: min(1320px, calc(100% - 3rem));
  margin-inline: auto;
}
.hx-hero-stage-inner {
  position: relative;
  width: 100%;
}
.ht-theater {
  position: relative;
  border: 1px solid rgba(91, 33, 182, 0.18);
  background: #fff;
  box-shadow:
    0 2px 0 rgba(91, 33, 182, 0.06),
    0 50px 110px -40px rgba(67, 56, 202, 0.42);
}
.ht-bar {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid rgba(91, 33, 182, 0.14);
  background: #fbf9ff;
}
.ht-tabs {
  display: grid;
  flex: 1 1 auto;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  min-width: 0;
}
.ht-tab {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 3.6rem;
  margin: 0;
  padding: 0.8rem 1rem;
  border: 0;
  border-inline-end: 1px solid rgba(91, 33, 182, 0.12);
  border-radius: 0;
  background: transparent;
  color: #4b4560;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 750;
  line-height: 1.2;
  text-align: start;
  white-space: nowrap;
  cursor: pointer;
}
.ht-tab-num {
  color: #8b5cf6;
  font-size: 0.74rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.ht-tab-label {
  overflow: hidden;
  text-overflow: ellipsis;
}
.ht-tab-fill {
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 3px;
  background: linear-gradient(90deg, #6d28d9, #4f46e5);
  transform: scaleX(var(--fill, 0));
  transform-origin: left center;
}
[dir="rtl"] .ht-tab-fill {
  background: linear-gradient(270deg, #6d28d9, #4f46e5);
  transform-origin: right center;
}
.ht-tab.is-done .ht-tab-fill {
  transform: scaleX(1);
  opacity: 0.35;
}
.ht-tab.is-active {
  background: #fff;
  color: #1a0b33;
}
.ht-controls {
  display: flex;
  flex: 0 0 auto;
}
.ht-ctl {
  display: grid;
  place-items: center;
  width: 3.4rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-inline-start: 1px solid rgba(91, 33, 182, 0.12);
  border-radius: 0;
  background: #fff;
  color: #5b21b6;
  cursor: pointer;
}
.ht-ctl svg,
.ht-big-play svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: square;
}
.ht-ctl .ht-fill,
.ht-big-play .ht-fill {
  fill: currentColor;
  stroke: none;
}
[dir="rtl"] .ht-ctl:not(.ht-ctl-main) svg {
  transform: scaleX(-1);
}
.ht-ctl-main {
  background: #5b21b6;
  color: #fff;
}
.ht-stage {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #f5f6fa;
}
.ht-stage picture {
  display: contents;
}
.ht-poster,
.ht-video,
.ht-freeze {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.ht-video {
  opacity: 0;
}
.ht-stage.is-ready .ht-video {
  opacity: 1;
}
.ht-freeze {
  z-index: 2;
  opacity: 0;
  pointer-events: none;
}
.ht-caption {
  display: grid;
  grid-template-columns: minmax(9rem, auto) minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 2rem;
  padding: 1.2rem 1.6rem 1.35rem;
  border-top: 1px solid rgba(91, 33, 182, 0.14);
}
.ht-caption-step {
  grid-row: span 2;
  margin: 0;
  color: #6d28d9;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.ht-caption h3 {
  margin: 0;
  color: #1a0b33;
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.ht-caption p:last-child {
  margin: 0.35rem 0 0;
  color: #4b4560;
  font-size: 0.98rem;
  line-height: 1.55;
}
@media (max-width: 1100px) {
  .hx-hero-pin {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .ht-hero-side {
    max-width: 40rem;
  }
  .ht-hero-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .ht-tab {
    padding-inline: 0.7rem;
    font-size: 0.88rem;
  }
}
@media (max-width: 760px) {
  .hx-hero {
    padding-bottom: 3rem;
  }
  .hx-hero-pin,
  .hx-hero-stage {
    width: calc(100% - 2rem);
  }
  .hx-hero-pin {
    gap: 1.75rem;
    padding: 2rem 0 1.75rem;
  }
  .hx-display {
    font-size: clamp(2.5rem, 11.5vw, 3.4rem);
  }
  .hx-lead {
    margin-top: 1.1rem;
    font-size: 1.04rem;
  }
  .hx-actions {
    margin-top: 1.5rem;
  }
  .hx-actions .hx-btn {
    flex: 1 1 100%;
  }
  .hx-hero-trust {
    font-size: 0.88rem;
  }
  .ht-hero-side {
    padding: 1.25rem 0 0;
    border-inline-start: 0;
    border-top: 1px solid rgba(91, 33, 182, 0.2);
  }
  .ht-hero-steps {
    grid-template-columns: 1fr 1fr;
  }
  .ht-hero-waves {
    top: 22rem;
    height: 14rem;
  }
  .ht-theater {
    box-shadow: 0 30px 70px -34px rgba(67, 56, 202, 0.45);
  }
  .ht-bar {
    flex-direction: column;
  }
  .ht-tabs {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }
  .ht-tabs::-webkit-scrollbar {
    display: none;
  }
  .ht-tab {
    flex: 0 0 auto;
    min-height: 3.2rem;
    padding-inline: 0.95rem;
    scroll-snap-align: start;
  }
  .ht-tab-label {
    overflow: visible;
  }
  .ht-controls {
    border-top: 1px solid rgba(91, 33, 182, 0.12);
  }
  .ht-ctl {
    flex: 1 1 0;
    height: 3rem;
  }
  .ht-ctl:first-child {
    border-inline-start: 0;
  }
  .ht-stage {
    aspect-ratio: 1170 / 2532;
  }
  .ht-caption {
    grid-template-columns: 1fr;
    padding: 1rem 1.1rem 1.15rem;
  }
  .ht-caption-step {
    grid-row: auto;
    margin-bottom: 0.4rem;
  }
}
/* hero:end */
.hx-hero-brand {
  margin: 0 0 1.25rem;
  color: #5b21b6;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}
.home-crawl {
  background: #fff;
  color: #0f172a;
  padding: 3rem 1.25rem 4rem;
}
.home-crawl h2,
.home-crawl h3,
.home-crawl p {
  max-width: 48rem;
  margin-inline: auto;
}
.home-crawl h2 {
  font-size: 1.6rem;
}
