/* A short, native-scroll scene with independent 3D layers. */
.hero {
  height: calc(100svh + 460px);
  min-height: 1180px;
  display: block;
  padding: 0;
  overflow: visible;
  background: #f2f7ff;
}
.hero-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 720px;
  padding-top: 106px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse at 82% 42%, #dceafe 0%, transparent 48%),
    linear-gradient(130deg, #fcfdff, #f7faff 50%, #edf4ff);
}
.hero-stage::before {
  content: "";
  position: absolute;
  width: 700px;
  height: 700px;
  border: 1px solid #b0c7e530;
  border-radius: 50%;
  right: -260px;
  top: -360px;
  box-shadow:
    0 0 0 80px #b0c7e508,
    0 0 0 160px #b0c7e507;
  pointer-events: none;
}
.hero-glow {
  inset: 5% -10% 0 40%;
  background: radial-gradient(ellipse at 52% 43%, #a5c5f24d, transparent 64%);
  transform: translate3d(var(--glow-x, 0px), var(--glow-y, 0px), 0);
}
.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.43fr) minmax(0, 0.57fr);
  align-items: center;
  flex: 1;
  min-height: 0;
  width: min(1280px, calc(100% - 96px));
}
.hero-copy {
  z-index: 5;
  padding: 0 0 18px;
  will-change: transform;
}
.hero-copy h1 {
  font-size: clamp(44px, 4.6vw, 68px);
  line-height: 1.07;
  letter-spacing: -0.054em;
}
.hero-description {
  max-width: 385px;
  font-size: 16px;
  line-height: 1.75;
  margin-top: 28px;
}
.hero-actions {
  margin-top: 28px;
  gap: 10px;
}
.hero-actions .button {
  padding-inline: 23px;
}
.hero-trust {
  margin-top: 25px;
  font-size: 12px;
}
.hero-copy > .eyebrow {
  margin-bottom: 26px;
}
.hero-scene {
  position: relative;
  width: 620px;
  height: 560px;
  max-width: none;
  margin: 0 0 0 -12px;
  scale: var(--scene-scale, 1);
  perspective: 1100px;
  perspective-origin: 50% 42%;
  transform-origin: center left;
  touch-action: pan-y;
  z-index: 2;
}
.hero-scene canvas {
  width: 124%;
  height: 124%;
  left: -12%;
  top: -12%;
  opacity: 0.95;
}
.scene-orbit {
  display: none;
}
.scene-tilt {
  transform-style: preserve-3d;
  transform: rotateX(-3deg) rotateY(-7deg);
  transition: none;
}
.hero-scene .float-card,
.hero-scene .glass-tile {
  animation: none;
  will-change: transform;
}
.hero-scene .hero-home {
  background: #d5e1f0;
  border: 5px solid #fff;
  border-radius: 29px;
  box-shadow:
    3px 4px 0 #c8d6e8,
    5px 8px 0 #bdcee32e,
    12px 35px 65px -24px #29486970,
    inset 0 0 0 1px #fff;
  overflow: hidden;
}
.hero-home::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  box-shadow: inset 1px 1px 1px #ffffff70;
  background: linear-gradient(128deg, #ffffff20, transparent 35%, #10233808);
  pointer-events: none;
}
.hero-scene .primary-home {
  width: 345px;
  height: 370px;
  left: 124px;
  top: 108px;
  z-index: 3;
  transform: translateZ(35px) rotateY(-8deg) rotateZ(-8deg);
}
.hero-scene .secondary-home {
  width: 218px;
  height: 284px;
  right: -2px;
  top: 20px;
  border-radius: 25px;
  z-index: 2;
  transform: translateZ(-65px) rotateY(-12deg) rotateZ(12deg);
}
.hero-home img {
  transition: transform 450ms var(--ease);
}
.hero-home:hover img {
  transform: scale(1.045);
}
.hero-scene .care-widget {
  top: 47px;
  left: 38px;
  z-index: 6;
  padding: 15px 18px;
  transform: translateZ(96px) rotateZ(-5deg);
}
.hero-scene .rating-widget {
  top: 382px;
  left: 20px;
  z-index: 7;
  padding: 17px 20px;
  transform: translateZ(120px) rotateZ(-3deg);
}
.hero-scene .space-widget {
  top: 329px;
  right: -5px;
  width: 197px;
  z-index: 5;
  transform: translateZ(80px) rotateZ(8deg);
}
.hero-scene .float-card:not(.hero-home) {
  border: 1px solid #fff;
  background: linear-gradient(135deg, #fffffff5, #edf4fff0);
  border-radius: 23px;
  box-shadow:
    2px 3px 0 #d1ddeb,
    0 24px 44px -20px #324f7a47,
    inset 0 1px 0 #fff;
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
}
.hero-scene .float-card:focus-visible {
  outline-offset: 7px;
}
.hero-scene .mini-bars i {
  transform-origin: bottom;
  animation: graph-breathe 5s ease-in-out infinite alternate;
}
.hero-scene .mini-bars i:nth-child(2n) {
  animation-delay: -2s;
}
.hero-scene .mini-bars i:nth-child(3n) {
  animation-delay: -3.5s;
}
@keyframes graph-breathe {
  from {
    transform: scaleY(0.76);
  }
  to {
    transform: scaleY(1);
  }
}
.hero-scene .tile-one {
  width: 71px;
  height: 71px;
  left: 8px;
  top: 232px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  color: #4481c8;
  background: linear-gradient(135deg, #ffffffed, #cfe0fac2);
  border: 1px solid #fff;
  box-shadow:
    3px 5px 0 #bfd0e6,
    10px 24px 32px #53729f20;
  transform: translateZ(80px) rotateY(24deg) rotateZ(-14deg);
  opacity: 1;
}
.tile-one .icon {
  width: 29px;
  height: 29px;
  stroke-width: 1.45;
}
.hero-scene .tile-two {
  display: none;
}
.hero-cube {
  position: absolute;
  left: 59px;
  top: 359px;
  width: 65px;
  height: 65px;
  transform-style: preserve-3d;
  transform: translateZ(-40px) rotateX(-24deg) rotateY(35deg) rotateZ(-14deg);
  will-change: transform;
  pointer-events: none;
}
.hero-cube > i {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 1px solid #ffffffbf;
  border-radius: 12px;
  backface-visibility: hidden;
  background: linear-gradient(135deg, #e6f0ffe8, #8ab4ecbd);
  box-shadow: inset 0 0 18px #ffffff65;
}
.hero-cube .cube-front {
  transform: translateZ(32.5px);
  color: #376aa5;
}
.cube-front .icon {
  width: 29px;
  height: 29px;
}
.hero-cube .cube-back {
  transform: rotateY(180deg) translateZ(32.5px);
}
.hero-cube .cube-left {
  transform: rotateY(-90deg) translateZ(32.5px);
}
.hero-cube .cube-right {
  transform: rotateY(90deg) translateZ(32.5px);
  background: linear-gradient(145deg, #a1c4f2c4, #679bdaba);
}
.hero-cube .cube-top {
  transform: rotateX(90deg) translateZ(32.5px);
  background: #f3f8ffd9;
}
.hero-cube .cube-bottom {
  transform: rotateX(-90deg) translateZ(32.5px);
}
.hero-orb {
  position: absolute;
  right: 300px;
  top: 486px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 29% 25%,
    #ffffff 0,
    #c8dcf8 23%,
    #75a3df 59%,
    #3264a5 90%
  );
  box-shadow:
    inset -4px -5px 10px #13458430,
    10px 18px 28px #315c9430;
  transform: translateZ(130px);
  will-change: transform;
  pointer-events: none;
}
.hero-ring {
  position: absolute;
  right: 35px;
  top: 292px;
  width: 81px;
  height: 81px;
  border: 12px solid #a6c2e7;
  border-top-color: #f7fcff;
  border-right-color: #d9eaff;
  border-radius: 50%;
  box-shadow:
    inset 1px 2px 3px #fff,
    3px 5px 0 #7199cb,
    4px 17px 20px #2c548b20;
  transform: translateZ(-20px) rotateX(52deg) rotateY(16deg);
  will-change: transform;
  pointer-events: none;
}
.hero-bottom {
  flex-shrink: 0;
  min-height: 74px;
  margin-top: 0;
  padding: 0 0 24px;
  gap: 20px;
  z-index: 8;
}
.hero-bottom .scroll-cue {
  font-size: 12px;
  color: #516c88;
}
.scroll-cue > [data-icon] .icon {
  width: 16px;
  height: 16px;
  transform: rotate(90deg);
}
.hero-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border: 1px solid #fff;
  border-radius: 999px;
  background: #f7fbffe8;
  box-shadow:
    0 8px 24px #2946630a,
    inset 0 1px 0 #fff;
  backdrop-filter: blur(24px);
}
.hero-switch {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border: 1px solid #d8e4f2;
  border-radius: 50%;
  background: #fdfefe;
  display: grid;
  place-items: center;
  color: #3b5e86;
  transition:
    transform 180ms var(--ease),
    background 180ms ease;
}
.hero-switch:hover {
  background: #e6effb;
  transform: scale(1.05);
}
.hero-switch:active {
  transform: scale(0.95);
}
.hero-switch:disabled {
  opacity: 0.6;
  cursor: progress;
  transform: none;
}
.hero-switch .icon {
  width: 16px;
  height: 16px;
}
#hero-previous .icon {
  rotate: 180deg;
}
.hero-selection {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 44px;
  min-width: 161px;
  padding: 0 9px;
}
.hero-selection > span {
  color: #304e6d;
  font-size: 12px;
  font-weight: 600;
}
.hero-selection small {
  font-size: 10px;
  color: #627a91;
  line-height: 1.5;
}
.hero-slide-count {
  color: #617b94;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  padding-right: 8px;
}
.hero-bottom .motion-toggle {
  min-height: 44px;
  padding: 9px 13px;
  border: 1px solid #dce7f3;
  background: #f7fbffc9;
  border-radius: 999px;
  color: #516c88;
  font-size: 11px;
}
.hero-bottom .motion-toggle .icon {
  width: 15px;
  height: 15px;
}
.featured-card .featured-image img {
  transform: translateY(var(--image-parallax, 0px)) scale(1.1);
  transition: transform 350ms var(--ease);
}
.featured-card:hover .featured-image img {
  transform: translateY(var(--image-parallax, 0px)) scale(1.13);
}
@media (min-width: 1500px) {
  .hero-stage {
    padding-top: 118px;
  }
  .hero-scene {
    scale: 1.1;
    transform-origin: center;
  }
}
@media (max-width: 1150px) and (min-width: 901px) {
  .hero-layout {
    width: calc(100% - 64px);
    grid-template-columns: minmax(0, 0.44fr) minmax(0, 0.56fr);
  }
  .hero-copy h1 {
    font-size: 46px;
  }
  .hero-scene {
    margin-left: -20px;
  }
  .hero-description {
    max-width: 340px;
  }
  .hero-actions .button {
    padding-inline: 18px;
    font-size: 13px;
  }
}
@media (max-width: 900px) {
  .hero {
    height: auto;
    min-height: 0;
  }
  .hero-stage {
    position: relative;
    height: auto;
    min-height: 0;
    padding-top: 134px;
  }
  .hero-layout {
    display: flex;
    flex-direction: column;
    width: calc(100% - 48px);
  }
  .hero-copy {
    text-align: center;
    padding: 0;
    width: 100%;
    transform: none !important;
  }
  .hero-copy > .eyebrow {
    justify-content: center;
    margin-bottom: 24px;
  }
  .hero-copy h1 {
    font-size: clamp(40px, 7vw, 58px);
  }
  .hero-copy h1 > span br {
    display: none;
  }
  .hero-description {
    margin: 25px auto 0;
    max-width: 420px;
  }
  .hero-actions,
  .hero-trust {
    justify-content: center;
  }
  .hero-scene {
    width: 620px;
    height: 560px;
    transform-origin: top center;
    margin: 25px 0 calc((var(--scene-scale, 0.9) - 1) * 560px);
  }
  .hero-bottom {
    flex-wrap: wrap;
    justify-content: space-between;
    padding-top: 22px;
    padding-bottom: 25px;
    row-gap: 18px;
  }
  .hero-switcher {
    order: -1;
    margin-inline: auto;
  }
  .hero-bottom .scroll-cue {
    font-size: 11px;
  }
}
@media (max-width: 540px) {
  .hero-stage {
    padding-top: 125px;
  }
  .hero-layout {
    width: calc(100% - 40px);
  }
  .hero-copy h1 {
    font-size: 39px;
  }
  .hero-copy h1 > span br {
    display: block;
  }
  .hero-description {
    font-size: 15px;
    max-width: 325px;
  }
  .hero-actions .button {
    font-size: 13px;
    padding-inline: 19px;
  }
  .hero-trust {
    font-size: 10px;
    gap: 8px;
  }
  .hero-scene {
    margin-top: 29px;
  }
  .hero-bottom {
    padding-top: 29px;
    column-gap: 8px;
  }
  .hero-switcher {
    flex-basis: 100%;
    max-width: 355px;
    gap: 3px;
  }
  .hero-selection {
    min-width: 0;
    flex: 1;
    padding-inline: 9px;
  }
  .hero-selection > span {
    font-size: 11px;
  }
  .hero-slide-count {
    padding-right: 5px;
    font-size: 9px;
  }
  .hero-bottom .motion-toggle {
    font-size: 10px;
    padding-inline: 10px;
  }
  .hero-bottom .scroll-cue {
    font-size: 10px;
    gap: 8px;
  }
  .hero-bottom .scroll-cue > [data-icon] {
    display: none;
  }
}
.motion-paused .mini-bars i {
  animation: none;
}
.motion-paused .hero-copy {
  transform: none !important;
}
@media (prefers-reduced-motion: reduce) {
  .hero {
    height: auto;
    min-height: 0;
  }
  .hero-stage {
    position: relative;
  }
  .mini-bars i {
    animation: none;
  }
  .featured-card .featured-image img {
    transform: none;
  }
}
