:root {
  --ink: #111113;
  --paper: #f5f5f7;
  --muted: #6e6e73;
  --line: rgba(17, 17, 19, 0.14);
  --radius: 8px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  text-rendering: geometricPrecision;
}

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

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
p {
  margin-top: 0;
}

button {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 64px);
  color: rgba(17, 17, 19, 0.74);
  background: rgba(245, 245, 247, 0.76);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(22px) saturate(160%);
  transition: background 220ms ease, border-color 220ms ease;
}

.site-header.is-scrolled,
.site-header.nav-open {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: rgba(17, 17, 19, 0.1);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-size: 15px;
  font-weight: 800;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 32px);
  font-size: 14px;
}

.nav a {
  transition: color 180ms ease;
}

.nav a:hover {
  color: #000;
}

.menu-button {
  position: relative;
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(17, 17, 19, 0.12);
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.64);
}

.menu-button span {
  position: absolute;
  width: 17px;
  height: 1.5px;
  background: currentColor;
  transition: transform 180ms ease;
}

.menu-button span:first-child {
  transform: translateY(-4px);
}

.menu-button span:last-child {
  transform: translateY(4px);
}

.site-header.nav-open .menu-button span:first-child {
  transform: rotate(45deg);
}

.site-header.nav-open .menu-button span:last-child {
  transform: rotate(-45deg);
}

.door-scene {
  position: relative;
  min-height: 190svh;
  --door-progress: 0;
}

.scene-pin {
  position: sticky;
  top: 0;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 88px clamp(14px, 3vw, 56px) 0;
}

.reveal-stage {
  position: relative;
  width: min(1760px, 100%);
  min-height: calc(100svh - 88px);
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}

.stage-content {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  width: min(1200px, calc(100vw - 32px));
  text-align: center;
  opacity: clamp(0, calc((var(--door-progress) - 0.16) * 1.5), 1);
  transform: translateY(calc((1 - var(--door-progress)) * 34px)) scale(calc(0.985 + (var(--door-progress) * 0.015)));
  transition: opacity 120ms linear;
}

.product-copy {
  align-content: center;
  padding-bottom: clamp(46px, 8vh, 92px);
}

.eyebrow {
  margin-bottom: clamp(12px, 1.6vw, 18px);
  color: #111;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(13px, 1.1vw, 18px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.product-copy h1 {
  margin-bottom: clamp(20px, 2.4vw, 30px);
  font-size: clamp(76px, 8.3vw, 146px);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: 0;
}

.lead {
  width: min(1180px, 100%);
  margin-bottom: clamp(36px, 4vw, 54px);
  font-size: clamp(26px, 2.75vw, 44px);
  font-weight: 500;
  line-height: 1.36;
  letter-spacing: 0;
}

.store-badge {
  display: inline-flex;
  width: clamp(178px, 18vw, 272px);
  border-radius: 13px;
  transition: transform 180ms ease, filter 180ms ease;
}

.store-badge:hover {
  filter: drop-shadow(0 14px 28px rgba(17, 17, 19, 0.16));
  transform: translateY(-2px);
}

.store-badge img {
  width: 100%;
  filter: invert(1);
}

.door-panels {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.door-panel {
  position: absolute;
  top: clamp(30px, 7vh, 78px);
  bottom: clamp(24px, 5vh, 54px);
  width: calc(50% - clamp(4px, 0.5vw, 9px));
  display: grid;
  overflow: hidden;
  border-radius: clamp(34px, 4.4vw, 74px);
  will-change: transform;
}

.door-panel-light {
  left: 0;
  background: #fff;
  color: #111;
  border: 3px solid #111;
  transform: translateX(calc(var(--door-progress) * -112%));
}

.door-panel-dark {
  right: 0;
  color: #fff;
  background: #000;
  transform: translateX(calc(var(--door-progress) * 112%));
}

.panel-content {
  min-width: 0;
  height: 100%;
}

.hero-panel-content {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: clamp(26px, 4vh, 48px);
  padding: clamp(34px, 4vw, 68px);
}

.door-brand-cn,
.door-brand-en {
  display: block;
  max-width: 100%;
  overflow-wrap: anywhere;
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: 0;
}

.door-brand-cn {
  justify-self: start;
  font-size: clamp(58px, 6.7vw, 130px);
}

.door-brand-en {
  font-size: clamp(58px, 6vw, 116px);
}

.hero-panel-content p,
.hero-panel-content b {
  margin: 0;
  font-size: clamp(28px, 3.3vw, 58px);
  line-height: 1.1;
  letter-spacing: 0;
}

.hero-panel-content b {
  font-weight: 900;
}

.hero-door-left .door-dot {
  justify-self: end;
  margin-right: 5%;
  margin-top: clamp(-20px, -2vh, -8px);
  margin-bottom: clamp(-12px, -1vh, -4px);
}

.hero-door-right .door-pill {
  justify-self: start;
  width: clamp(24px, 2.1vw, 38px);
  height: clamp(66px, 6.2vw, 96px);
  margin-left: 2%;
}

.list-panel-content {
  display: grid;
  align-content: center;
  gap: clamp(28px, 5vh, 58px);
  padding: clamp(34px, 5vw, 74px);
}

.door-row {
  display: grid;
  align-items: center;
  gap: clamp(24px, 4vw, 54px);
}

.list-door-left .door-row {
  grid-template-columns: minmax(0, 1fr) clamp(46px, 4.2vw, 68px);
}

.list-door-right .door-row {
  grid-template-columns: clamp(46px, 4.2vw, 68px) minmax(0, 1fr);
}

.door-row p {
  margin: 0;
  font-size: clamp(20px, 1.55vw, 30px);
  font-weight: 700;
  line-height: 1.36;
  letter-spacing: 0;
}

.door-dot {
  display: block;
  width: clamp(46px, 4.2vw, 68px);
  height: clamp(46px, 4.2vw, 68px);
  border-radius: 50%;
}

.door-dot-dark {
  background: #000;
}

.door-dot-light,
.door-pill {
  background: #fff;
}

.door-pill {
  display: block;
  border-radius: 999px;
}

.phone-reveal {
  width: min(330px, 25vw);
  min-width: 220px;
  padding-bottom: clamp(14px, 3vh, 38px);
}

.phone-device-showcase {
  position: relative;
  width: 100%;
  aspect-ratio: 1350 / 2760;
  filter: drop-shadow(0 34px 74px rgba(17, 17, 19, 0.2));
}

.phone-frame-only {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.phone-screen-clip {
  position: absolute;
  top: 2.5%;
  right: 5.34%;
  bottom: 2.5%;
  left: 5.34%;
  z-index: 2;
  overflow: hidden;
  border-radius: 12.4% / 5.8%;
  background: #fff;
}

.phone-screen-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  animation: phone-screen-cycle 12s ease-in-out infinite;
}

.phone-screen-slide:nth-child(1) {
  animation-delay: 0s;
}

.phone-screen-slide:nth-child(2) {
  animation-delay: 4s;
}

.phone-screen-slide:nth-child(3) {
  animation-delay: 8s;
}

@keyframes phone-screen-cycle {
  0%,
  30% {
    opacity: 1;
    transform: scale(1);
  }

  38%,
  92% {
    opacity: 0;
    transform: scale(1.018);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.boundary-section {
  width: min(1080px, calc(100% - 40px));
  display: grid;
  justify-items: center;
  margin: 0 auto;
  padding: clamp(76px, 9vw, 124px) 0 92px;
  text-align: center;
}

.boundary-section h2 {
  margin-bottom: 24px;
  color: #101828;
  font-size: clamp(58px, 8vw, 110px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: 0;
}

.boundary-section p:not(.eyebrow) {
  max-width: 860px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 25px);
  font-weight: 600;
}

.site-footer {
  width: min(1080px, calc(100% - 40px));
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  margin: 0 auto;
  padding: 34px 0 46px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer strong {
  color: #111;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: flex-end;
  font-weight: 800;
}

@media (max-width: 1180px) {
  .lead {
    width: min(940px, 100%);
  }

  .phone-reveal {
    width: min(310px, 32vw);
  }
}

@media (max-width: 900px) {
  .menu-button {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: 68px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 10px;
    color: rgba(17, 17, 19, 0.82);
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(17, 17, 19, 0.1);
    border-radius: var(--radius);
  }

  .nav a {
    padding: 12px;
  }

  .site-header.nav-open .nav {
    display: flex;
  }

  .door-scene {
    min-height: 168svh;
  }

  .scene-pin {
    padding: 76px 0 0;
  }

  .reveal-stage {
    width: 100%;
    min-height: calc(100svh - 76px);
  }

  .stage-content {
    width: min(620px, calc(100vw - 32px));
  }

  .product-copy h1 {
    font-size: clamp(58px, 18vw, 94px);
  }

  .lead {
    max-width: 620px;
    font-size: clamp(22px, 6vw, 32px);
    line-height: 1.38;
  }

  .store-badge {
    width: clamp(172px, 50vw, 220px);
  }

  .door-panel {
    top: clamp(28px, 6vh, 64px);
  }

  .hero-panel-content {
    gap: clamp(16px, 3vh, 28px);
    padding: clamp(20px, 5vw, 34px);
  }

  .door-brand-cn {
    font-size: clamp(30px, 8vw, 58px);
  }

  .door-brand-en {
    font-size: clamp(30px, 7.5vw, 58px);
  }

  .hero-panel-content p,
  .hero-panel-content b {
    font-size: clamp(17px, 4.4vw, 28px);
  }

  .hero-door-right .door-pill {
    width: clamp(12px, 3.2vw, 22px);
    height: clamp(38px, 10vw, 64px);
  }

  .list-panel-content {
    gap: clamp(18px, 4vh, 34px);
    padding: clamp(18px, 5vw, 34px);
  }

  .door-row {
    gap: clamp(10px, 3vw, 22px);
  }

  .door-row p {
    font-size: clamp(10px, 2.7vw, 18px);
    line-height: 1.34;
  }

  .door-dot {
    width: clamp(22px, 7vw, 42px);
    height: clamp(22px, 7vw, 42px);
  }

  .list-door-left .door-row {
    grid-template-columns: minmax(0, 1fr) clamp(22px, 7vw, 42px);
  }

  .list-door-right .door-row {
    grid-template-columns: clamp(22px, 7vw, 42px) minmax(0, 1fr);
  }

  .phone-reveal {
    width: min(60vw, 285px);
    min-width: 0;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 13px 18px;
  }

  .brand img {
    width: 30px;
    height: 30px;
  }

  .product-copy {
    padding-bottom: 58px;
  }

  .product-copy h1 {
    margin-bottom: 20px;
  }

  .lead {
    margin-bottom: 34px;
  }

  .door-panel {
    bottom: 24px;
    border-radius: 28px;
  }

  .door-panel-light {
    border-width: 2px;
  }

  .boundary-section {
    width: calc(100% - 32px);
    padding: 76px 0;
  }

  .boundary-section h2 {
    font-size: clamp(58px, 17vw, 82px);
  }

  .site-footer {
    width: calc(100% - 32px);
    flex-direction: column;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
  }

  .door-scene {
    --door-progress: 1;
  }

  .phone-screen-slide {
    animation: none !important;
    opacity: 0;
  }

  .phone-screen-slide:first-child {
    opacity: 1;
  }
}
