@import "./fonts/misans/fonts.css";

:root {
  --page-width: 1920px;
  --content-width: 1280px;
  --page-height: 4512px;
  --footer-height: 78px;
  --footer-bg: rgb(10, 12, 10);
  --load-reveal-duration: 1400ms;
  --hero-title-reveal-delay: 120ms;
  --first-card-reveal-delay: 720ms;
  --page-image-reveal-delay: 400ms;
  --blue: #236bf7;
  --copy: rgba(38, 42, 47, 0.8);
  --background-start: #f6f8fe;
  --background-end: #f6f8fe;
  --top-asset-scale: 1;
  --top-asset-x: 0px;
  --top-asset-y: 0px;
  --bottom-asset-scale: 1;
}

@property --reveal-y {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}

@property --hover-scale {
  syntax: "<number>";
  inherits: false;
  initial-value: 1;
}

@property --hero-bg-load-opacity {
  syntax: "<number>";
  inherits: false;
  initial-value: 0;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--background-start);
}

html[data-scroll-edge="top"] {
  background: var(--background-start);
}

html[data-scroll-edge="bottom"] {
  background: var(--footer-bg);
}

body {
  min-height: 100%;
  margin: 0;
  font-family: "MiSans", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-weight: 380;
  color: #000;
}

a {
  color: inherit;
  text-decoration: none;
}

.landing-page {
  --bottom-gradient-opacity: 0;
  position: relative;
  width: 100%;
  min-height: var(--page-height);
  overflow-x: hidden;
  overflow-y: hidden;
  background: linear-gradient(180deg, var(--background-start) 0%, var(--background-start) 70%, var(--background-end) 80%);
}

.landing-page::after {
  position: fixed;
  z-index: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 980px;
  pointer-events: none;
  content: "";
  opacity: var(--bottom-gradient-opacity);
  background: linear-gradient(180deg, rgba(246, 248, 254, 0) 0%, rgba(246, 248, 254, 0.72) 32%, var(--background-end) 100%);
}

.hero-bg {
  --hero-bg-load-opacity: 0;
  --hero-bg-scroll-opacity: 1;
  --hero-bg-y: 0px;
  position: fixed;
  z-index: 0;
  display: block;
  max-width: none;
  pointer-events: none;
  user-select: none;
  top: 0;
  left: 50%;
  width: max(1920px, 100vw);
  height: auto;
  opacity: calc(var(--hero-bg-load-opacity) * var(--hero-bg-scroll-opacity));
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 72%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 72%, rgba(0, 0, 0, 0) 100%);
  transform: translate3d(calc(-50% + var(--top-asset-x)), calc(var(--hero-bg-y) + var(--top-asset-y)), 0)
    scale(var(--top-asset-scale));
  transform-origin: top center;
  contain: paint;
  backface-visibility: hidden;
  animation: page-image-fade-in 2500ms cubic-bezier(0.16, 1, 0.3, 1) var(--page-image-reveal-delay) forwards;
  will-change: opacity, transform;
}

.bottom-bg {
  --bottom-bg-opacity: 0;
  --bottom-bg-y: 400px;
  position: fixed;
  z-index: 1;
  bottom: 0;
  left: 50%;
  display: block;
  width: max(1920px, 100vw);
  height: auto;
  max-width: none;
  pointer-events: none;
  user-select: none;
  opacity: var(--bottom-bg-opacity);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000 5%, #000 100%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000 5%, #000 100%);
  transform: translate3d(-50%, var(--bottom-bg-y), 0) scale(var(--bottom-asset-scale));
  transform-origin: bottom center;
  contain: paint;
  backface-visibility: hidden;
  will-change: opacity, transform;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  height: 56px;
  align-items: center;
  justify-content: space-between;
  padding: 16px max(24px, calc((100vw - var(--content-width)) / 2));
  border-bottom: 1px solid rgba(255, 255, 255, 0);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(50px);
}

.brand {
  display: flex;
  width: 111.65px;
  height: 24px;
  align-items: center;
}

.brand-logo {
  display: block;
  width: auto;
  height: 24px;
}

.download-button-wrap {
  position: relative;
  z-index: 20;
  display: inline-flex;
  width: max-content;
  flex: 0 0 auto;
  overflow: visible;
}

.download-button-wrap:hover,
.download-button-wrap:focus-within {
  z-index: 1001;
}

.download-button-wrap::after {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 10px;
  content: "";
}

.download-qr-popover {
  position: absolute;
  z-index: 1002;
  top: calc(100% + 10px);
  left: 0;
  display: flex;
  width: 100%;
  aspect-ratio: 1;
  align-items: center;
  justify-content: center;
  padding: max(6px, 8%);
  pointer-events: none;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  box-shadow: 0 14px 34px rgba(35, 107, 247, 0.16), 0 4px 12px rgba(16, 24, 40, 0.08);
  opacity: 0;
  transform: scaleY(0);
  transform-origin: top;
  transition:
    transform 360ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 240ms cubic-bezier(0.16, 1, 0.3, 1);
}

.download-qr-popover img {
  display: block;
  flex: 0 0 auto;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.download-button-wrap:hover .download-qr-popover,
.download-button-wrap:focus-within .download-qr-popover {
  pointer-events: auto;
  opacity: 1;
  transform: scaleY(1);
  transition-delay: 0ms;
}

.download-toast {
  position: fixed;
  z-index: 2000;
  left: 50%;
  bottom: max(28px, calc(env(safe-area-inset-bottom) + 20px));
  display: flex;
  width: max-content;
  max-width: calc(100vw - 40px);
  min-height: 44px;
  align-items: center;
  padding: 11px 18px;
  pointer-events: none;
  color: #fff;
  background: rgba(17, 24, 39, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  box-shadow: 0 16px 36px rgba(16, 24, 40, 0.22);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  font-size: 14px;
  font-weight: 500;
  line-height: 22px;
  text-align: center;
  visibility: hidden;
  opacity: 0;
  transform: translate3d(-50%, 16px, 0) scale(0.98);
  transition:
    visibility 0s linear 280ms,
    opacity 220ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 280ms cubic-bezier(0.16, 1, 0.3, 1);
}

.download-toast.is-visible {
  visibility: visible;
  opacity: 1;
  transform: translate3d(-50%, 0, 0) scale(1);
  transition-delay: 0ms;
}

.page-toc {
  position: fixed;
  z-index: 90;
  top: 50%;
  right: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
  opacity: 0;
  transform: translate3d(18px, -50%, 0);
  animation: toc-panel-enter 780ms cubic-bezier(0.16, 1, 0.3, 1) 2000ms forwards;
  pointer-events: none;
}

.page-toc.is-ready {
  pointer-events: auto;
}

.toc-item {
  display: flex;
  appearance: none;
  width: 100px;
  min-width: 100px;
  height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: none;
  color: rgba(15, 23, 42, 0.58);
  font-size: 13px;
  font-weight: 450;
  line-height: 1;
  white-space: nowrap;
  text-shadow: none;
  cursor: pointer;
  backdrop-filter: blur(44px) saturate(220%);
  -webkit-backdrop-filter: blur(44px) saturate(220%);
  transition:
    background-color 180ms cubic-bezier(0.22, 1, 0.36, 1),
    color 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.toc-item:not(.is-active):hover {
  background: #fff;
}

.toc-item.is-active {
  color: #000;
  background: rgba(255,255,255,1);
  box-shadow: none;
  text-shadow: none;
}

.download-button {
  --hover-scale: 1;
  --reveal-y: 0px;
  position: relative;
  display: inline-flex;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  border: 0;
  background: #fff;
  color: var(--blue);
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  isolation: isolate;
  transform-origin: center;
  transform: translate3d(0, var(--reveal-y), 0) scale(var(--hover-scale));
  transition:
    --hover-scale 180ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.download-button.is-desktop-disabled {
  pointer-events: none;
}

.download-button-label {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.download-button-small {
  min-width: 62px;
  height: 30px;
  padding: 0 8px;
  border-radius: 7px;
  font-size: 14px;
  line-height: 30px;
}

.site-header .download-button-small::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background: #236bf7;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 680ms cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header .download-button-small .download-button-label::after {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 30px;
  color: #fff;
  content: attr(data-text);
  clip-path: inset(100% 0 0 0);
  transition: clip-path 680ms cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header.is-title-hidden .download-button-small {
  box-shadow: 0 8px 18px rgba(35, 107, 247, 0.18);
}

.site-header.is-title-hidden .download-button-small::before {
  transform: scaleY(1);
}

.site-header.is-title-hidden .download-button-small .download-button-label::after {
  clip-path: inset(0 0 0 0);
}

.download-button-large {
  width: 152px;
  min-width: 152px;
  height: 56px;
  padding: 0;
  border-radius: 11.67px;
  font-size: 18px;
  line-height: 56px;
}

.ripple-download-button {
  --ripple-x: 50%;
  --ripple-y: 50%;
}

.ripple-download-button::before {
  position: absolute;
  z-index: 0;
  left: var(--ripple-x);
  top: var(--ripple-y);
  width: 260%;
  aspect-ratio: 1;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle, rgba(35, 107, 247, 1) 0 46%, rgba(35, 107, 247, 0.92) 58%, rgba(35, 107, 247, 0.36) 72%, rgba(35, 107, 247, 0) 86%);
  border-radius: 999px;
  filter: blur(0.2px);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 760ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.ripple-download-button::after {
  position: absolute;
  z-index: 0;
  left: var(--ripple-x);
  top: var(--ripple-y);
  width: 180%;
  aspect-ratio: 1;
  pointer-events: none;
  content: "";
  background: radial-gradient(circle, rgba(255, 255, 255, 0.38) 0 8%, rgba(122, 170, 255, 0.26) 22%, rgba(35, 107, 247, 0) 62%);
  border-radius: 999px;
  opacity: 0;
  mix-blend-mode: screen;
  transform: translate(-50%, -50%) scale(0.18);
  transition:
    opacity 420ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 780ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.ripple-download-button .download-button-label {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  line-height: 56px;
}

.ripple-download-button .download-button-label::after {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 56px;
  white-space: nowrap;
  color: #fff;
  content: attr(data-text);
  clip-path: circle(0 at var(--ripple-x) var(--ripple-y));
  transition: clip-path 720ms cubic-bezier(0.16, 1, 0.3, 1);
}

.ripple-download-button.is-hovered {
  --hover-scale: 1.05;
  box-shadow: 0 12px 24px rgba(35, 107, 247, 0.18);
}

.ripple-download-button.is-hovered::before {
  transform: translate(-50%, -50%) scale(1);
}

.ripple-download-button.is-hovered::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.ripple-download-button.is-hovered .download-button-label::after {
  clip-path: circle(150% at var(--ripple-x) var(--ripple-y));
}

@media (hover: hover) and (pointer: fine) {
  .ripple-download-button:hover,
  .download-button-wrap:hover .ripple-download-button.is-desktop-disabled {
    --hover-scale: 1.05;
    box-shadow: 0 12px 24px rgba(35, 107, 247, 0.18);
  }

  .ripple-download-button:hover::before,
  .download-button-wrap:hover .ripple-download-button.is-desktop-disabled::before {
    transform: translate(-50%, -50%) scale(1);
  }

  .ripple-download-button:hover::after,
  .download-button-wrap:hover .ripple-download-button.is-desktop-disabled::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }

  .ripple-download-button:hover .download-button-label::after,
  .download-button-wrap:hover
    .ripple-download-button.is-desktop-disabled
    .download-button-label::after {
    clip-path: circle(150% at var(--ripple-x) var(--ripple-y));
  }
}

.hero-section {
  position: absolute;
  z-index: 2;
  top: 260px;
  left: 50%;
  display: flex;
  width: 280px;
  flex-direction: column;
  align-items: center;
  gap: 90px;
  transform: translateX(-50%);
}

.hero-section:has(.download-button-wrap:hover),
.hero-section:has(.download-button-wrap:focus-within) {
  z-index: 50;
}

.final-cta:has(.download-button-wrap:hover),
.final-cta:has(.download-button-wrap:focus-within) {
  z-index: 1000;
}

.hero-copy {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.hero-copy h1,
.final-cta h2 {
  margin: 0;
  background: linear-gradient(234deg, #0e49b5 5.79%, #0f4fc3 9.48%, #000 38.62%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: "MiSans", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 52px;
  line-height: normal;
  white-space: nowrap;
  -webkit-text-fill-color: transparent;
}

.hero-copy h1 {
  font-size: 54px;
  font-weight: 450;
}

.hero-copy p {
  position: relative;
  width: min(100vw - 48px, 1120px);
  min-width: 100%;
  height: 1.2em;
  margin: 0;
  color: rgba(0, 0, 0, 0.45);
  font-size: 28px;
  font-weight: 250;
  line-height: 1.2;
  white-space: nowrap;
}

.hero-subtitle-layer {
  position: absolute;
  top: 0;
  left: 50%;
  display: block;
  text-align: center;
  white-space: nowrap;
  opacity: 0;
  filter: blur(12px);
  transform: translateX(-50%) scale(0.96);
  will-change: transform, opacity, filter;
}

.hero-subtitle-layer.is-current {
  opacity: 1;
  filter: blur(0);
  transform: translateX(-50%) scale(1);
}

.hero-subtitle-layer.is-entering {
  animation: subtitle-fade-in 720ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-subtitle-layer.is-leaving {
  animation: subtitle-blur-out 720ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.feature-grid {
  position: absolute;
  z-index: 2;
  top: 651px;
  left: 50%;
  display: flex;
  width: min(var(--content-width), calc(100vw - 48px));
  flex-direction: column;
  align-items: stretch;
  gap: 80px;
  transform: translateX(-50%);
}

.feature-row {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 40px;
}

.feature-card {
  position: relative;
  --hover-scale: 1;
  overflow: hidden;
  min-width: 0;
  height: 600px;
  flex: 1 1 0;
  border-radius: 36px;
  background: radial-gradient(ellipse 65% 36% at 50% 0%, rgba(255, 255, 255, 0.2) 0%, #fff 100%);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.02);
}

@media (hover: hover) and (pointer: fine) {
  .feature-card:hover {
    --hover-scale: 1.015;
  }
}

.feature-card::before {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  pointer-events: none;
  content: "";
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, #fff 50%, rgba(255, 255, 255, 0) 100%);
}

.feature-card-copy {
  position: absolute;
  z-index: 2;
  top: 47px;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: calc(100% - 96px);
  text-align: center;
  white-space: nowrap;
  transform: translateX(-50%);
}

.feature-card-copy h3 {
  margin: 0;
  background: linear-gradient(244deg, #0e49b5 6.25%, #0f4fc3 8.67%, #000 27.76%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 40px;
  font-weight: 450;
  line-height: normal;
  letter-spacing: 0;
  -webkit-text-fill-color: transparent;
}

.feature-card-copy p {
  margin: 0;
  color: rgba(0, 0, 0, 0.45);
  font-size: 20px;
  font-weight: 250;
  line-height: normal;
  letter-spacing: 1.2938px;
}

.feature-card-wide {
  width: 100%;
  flex: none;
}

.feature-card-visual {
  --visual-y: 80px;
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 50%;
  display: block;
  width: 400px;
  height: 400px;
  max-width: calc(100% - 48px);
  object-fit: contain;
  pointer-events: none;
  transform: translate3d(-50%, var(--visual-y), 0);
  transition: transform 980ms cubic-bezier(0.19, 1, 0.22, 1);
  will-change: transform;
}

.scroll-reveal.is-visible .feature-card-visual,
.scroll-reveal.is-visible .feature-card-video {
  --visual-y: 0px;
}

.reveal-on-load .feature-card-video {
  --visual-y: 0px;
}

.feature-card-video {
  --visual-y: 80px;
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 50%;
  display: block;
  width: 700px;
  height: 410px;
  max-width: calc(100% - 80px);
  object-fit: cover;
  pointer-events: none;
  transform: translate3d(-50%, var(--visual-y), 0);
  transition: transform 980ms cubic-bezier(0.19, 1, 0.22, 1);
  will-change: transform;
}

.feature-card-image {
  display: none;
}

.is-mobile-device .lazy-video {
  display: none;
}

.is-mobile-device .feature-card-image {
  display: block;
}

.feature-card-soft,
.feature-card-backup,
.feature-card-player {
  background: radial-gradient(ellipse 65% 34% at 50% 0%, rgba(255, 255, 255, 0.2) 0%, #fff 100%);
}

.final-cta {
  position: absolute;
  z-index: 3;
  top: 4115px;
  left: 50%;
  display: flex;
  width: 280px;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  text-align: center;
  transform: translateX(-50%);
}

.final-cta h2 {
  background-image: linear-gradient(228deg, #0e49b5 5.79%, #0f4fc3 9.48%, #000 38.62%);
  font-weight: 450;
}

.site-footer {
  position: absolute;
  z-index: 5;
  bottom: 0;
  left: 0;
  display: flex;
  width: 100%;
  min-height: var(--footer-height);
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 20px max(24px, calc((100vw - var(--content-width)) / 2));
  color: rgba(255, 255, 255, 0.56);
  background: var(--footer-bg);
}

.footer-brand {
  display: flex;
  width: 111.65px;
  min-width: 111.65px;
  height: 24px;
  align-items: center;
}

.footer-brand img {
  display: block;
  width: 100%;
  height: auto;
}

.footer-links {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: 36px;
  font-size: 15px;
  font-weight: 380;
  line-height: 1.4;
  white-space: nowrap;
}

.footer-links a {
  color: inherit;
  transition: color 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: rgba(255, 255, 255, 0.88);
}

.reveal-on-load,
.scroll-reveal {
  --reveal-y: 88px;
  opacity: 0;
  transform: translate3d(0, var(--reveal-y), 0) scale(var(--hover-scale, 1));
  will-change: transform, opacity;
}

.feature-card.scroll-reveal {
  opacity: 0.2;
}

.reveal-on-load {
  animation: reveal-in var(--load-reveal-duration) cubic-bezier(0.19, 1, 0.22, 1) forwards;
  animation-delay: var(--reveal-delay, var(--hero-title-reveal-delay));
}

.hero-download-wrap.reveal-on-load {
  --reveal-delay: 300ms;
}

.feature-card-soft.reveal-on-load {
  --reveal-delay: var(--first-card-reveal-delay);
}

.feature-card.reveal-on-load {
  transition:
    --hover-scale 420ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.scroll-reveal {
  transition:
    opacity 1180ms cubic-bezier(0.19, 1, 0.22, 1) var(--reveal-delay, 0ms),
    --reveal-y 1180ms cubic-bezier(0.19, 1, 0.22, 1) var(--reveal-delay, 0ms),
    --hover-scale 420ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.scroll-reveal.is-visible {
  --reveal-y: 0px;
  opacity: 1;
}

html.is-reverse-scrolling .scroll-reveal {
  --reveal-y: 0px;
  transition:
    opacity 860ms cubic-bezier(0.19, 1, 0.22, 1) var(--reveal-delay, 0ms),
    --hover-scale 420ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes reveal-in {
  to {
    --reveal-y: 0px;
    opacity: 1;
  }
}

@keyframes subtitle-fade-in {
  from {
    opacity: 0;
    filter: blur(10px);
    transform: translateX(-50%) scale(0.98);
  }

  to {
    opacity: 1;
    filter: blur(0);
    transform: translateX(-50%) scale(1);
  }
}

@keyframes subtitle-blur-out {
  from {
    opacity: 1;
    filter: blur(0);
    transform: translateX(-50%) scale(1);
  }

  to {
    opacity: 0;
    filter: blur(14px);
    transform: translateX(-50%) scale(1.08);
  }
}


@keyframes page-image-fade-in {
  to {
    --hero-bg-load-opacity: 1;
  }
}

@keyframes toc-panel-enter {
  to {
    opacity: 1;
    transform: translate3d(0, -50%, 0);
  }
}

@media (max-width: 1100px) {
  .page-toc {
    display: none;
  }
}

.is-mobile-device .download-button-wrap::after,
.is-mobile-device .download-qr-popover {
  display: none;
}

@media (max-width: 900px) {
  :root {
    --mobile-feature-grid-top: 405px;
    --mobile-card-gap: 60px;
    --mobile-card-height: clamp(500px, 78vw, 660px);
    --final-card-gap: 144px;
    --final-cta-height: 126px;
    --footer-height: 156px;
    --final-footer-gap: 144px;
    --page-height: calc(
      var(--mobile-feature-grid-top) +
      var(--mobile-card-height) +
      var(--mobile-card-height) +
      var(--mobile-card-height) +
      var(--mobile-card-height) +
      var(--mobile-card-height) +
      var(--mobile-card-height) +
      var(--mobile-card-height) +
      var(--mobile-card-gap) +
      var(--mobile-card-gap) +
      var(--mobile-card-gap) +
      var(--mobile-card-gap) +
      var(--mobile-card-gap) +
      var(--mobile-card-gap) +
      var(--final-card-gap) +
      var(--final-cta-height) +
      var(--final-footer-gap) +
      var(--footer-height)
    );
  }

  .landing-page {
    min-height: var(--page-height);
  }

  .site-header {
    min-height: 56px;
    padding: 13px 20px;
  }

  .hero-bg {
    width: 1920px;
    height: auto;
  }

  .bottom-bg {
    width: 1920px;
  }

  .hero-section {
    top: 138px;
    gap: 68px;
    width: calc(100vw - 60px);
  }

  .hero-copy h1,
  .final-cta h2 {
    font-size: 38px;
  }

  .hero-copy h1 {
    font-size: 40px;
  }

  .hero-copy p {
    font-size: 20px;
  }

  .hero-subtitle-carousel {
    width: calc(100vw - 60px);
    min-width: 0;
    font-size: 15px;
  }

  .hero-subtitle-layer {
    max-width: 100%;
  }

  .download-button-large {
    height: 48px;
    width: 136px;
    min-width: 136px;
    border-radius: 10px;
    font-size: 16px;
    line-height: 48px;
  }

  .ripple-download-button .download-button-label,
  .ripple-download-button .download-button-label::after {
    line-height: 48px;
  }

  .download-toast {
    width: calc(100vw - 40px);
    justify-content: center;
  }

  .feature-grid {
    top: var(--mobile-feature-grid-top);
    width: calc(100vw - 32px);
    gap: var(--mobile-card-gap);
  }

  .feature-row {
    flex-direction: column;
    gap: var(--mobile-card-gap);
  }

  .feature-card {
    --feature-card-height: var(--mobile-card-height);
    --feature-copy-top: 40px;
    --feature-copy-content-height: 66px;
    --feature-media-height: calc(var(--feature-card-height) - var(--feature-copy-top) - var(--feature-copy-content-height) - var(--feature-copy-top));
    --feature-square-size: min(var(--feature-media-height), calc(100% - 48px));
    width: 100%;
    height: var(--feature-card-height);
    border-radius: 24px;
    flex: none;
  }

  .feature-card-copy {
    top: var(--feature-copy-top);
    gap: 8px;
    width: calc(100% - 60px);
    max-width: calc(100% - 60px);
    align-items: center;
    text-align: center;
    white-space: normal;
  }

  .feature-card-copy h3 {
    font-size: 31px;
    line-height: 1.08;
  }

  .feature-card-copy p {
    max-width: 100%;
    width: 100%;
    font-size: 15px;
    line-height: 1.45;
    letter-spacing: 0.2px;
    text-align: center;
    white-space: nowrap;
  }

  .feature-card-video {
    width: calc(var(--feature-media-height) * 700 / 410);
    height: var(--feature-media-height);
    max-width: none;
    object-fit: cover;
    object-position: center bottom;
  }

  .feature-card-soft .feature-card-video {
    width: calc(var(--feature-media-height) * 700 / 410);
  }

  .feature-card-visual {
    bottom: 0;
    width: var(--feature-square-size);
    height: var(--feature-square-size);
    max-width: none;
    object-fit: contain;
    object-position: center bottom;
  }

  .final-cta {
    top: calc(
      var(--mobile-feature-grid-top) +
      var(--mobile-card-height) +
      var(--mobile-card-height) +
      var(--mobile-card-height) +
      var(--mobile-card-height) +
      var(--mobile-card-height) +
      var(--mobile-card-height) +
      var(--mobile-card-height) +
      var(--mobile-card-gap) +
      var(--mobile-card-gap) +
      var(--mobile-card-gap) +
      var(--mobile-card-gap) +
      var(--mobile-card-gap) +
      var(--mobile-card-gap) +
      var(--final-card-gap)
    );
    bottom: auto;
    height: var(--final-cta-height);
    gap: 28px;
  }

  .site-footer {
    min-height: var(--footer-height);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 14px;
    padding: 22px 24px;
  }

  .footer-brand {
    width: 111.65px;
    min-width: 111.65px;
    height: 24px;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px 18px;
    font-size: 12px;
    text-align: left;
    white-space: normal;
  }

  .footer-links a {
    max-width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .download-toast {
    transform: translate3d(-50%, 0, 0);
    transition:
      visibility 0s linear 120ms,
      opacity 120ms ease;
  }

  .download-toast.is-visible {
    transition-delay: 0ms;
  }
}

@media (max-width: 480px) {
  :root {
    --mobile-card-height: 500px;
  }

  .feature-card {
    --feature-copy-top: 36px;
    --feature-copy-content-height: 72px;
    --feature-square-size: var(--feature-media-height);
  }

  .feature-card-copy {
    width: calc(100% - 44px);
    max-width: calc(100% - 44px);
  }

  .feature-card-copy h3 {
    font-size: 30px;
  }

}

@media (max-width: 450px) {
  :root {
    --top-asset-x: -50px;
    --top-asset-y: 29px;
  }
}

.is-mobile-device .hero-bg {
  animation-duration: 480ms;
  animation-delay: 0ms;
}

.is-mobile-device .feature-card-soft.reveal-on-load {
  --load-reveal-duration: 420ms;
  --reveal-delay: 0ms;
}

.is-mobile-device .scroll-reveal {
  transition:
    opacity 420ms cubic-bezier(0.19, 1, 0.22, 1),
    --reveal-y 420ms cubic-bezier(0.19, 1, 0.22, 1),
    --hover-scale 420ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 220ms cubic-bezier(0.22, 1, 0.36, 1);
}
