.landing-hero {
  --landing-background: #fbfbfa;
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: clamp(720px, calc(100svh - 60px), 900px);
  overflow: hidden;
  overflow: clip;
  background: var(--landing-background);
  color: #202122;
  text-align: center;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

.landing-hero *,
.landing-hero *::before,
.landing-hero *::after { box-sizing: border-box; }

.landing-content {
  position: relative;
  z-index: 2;
  width: min(100% - 48px, 640px);
  margin: 0 auto;
  padding-top: clamp(145px, 18svh, 190px);
  padding-bottom: 150px;
}

/* The shared mini-program shell has a broad !important content offset.
   Keep the landing's viewport-based composition independent from that rule. */
body[data-page="index"] #mini-root.mini-root .landing-content {
  padding-top: clamp(145px, 18svh, 190px) !important;
}

.landing-brand {
  margin: 0;
  color: #252628;
  font-size: 28px;
  font-weight: 750;
  line-height: 1.25;
  letter-spacing: -.09em;
  text-indent: -.09em;
}

.landing-title {
  margin: 26px 0 0;
  padding: 0;
  font-size: clamp(72px, 6.1vw, 88px);
  font-weight: 760;
  line-height: 1.13;
  letter-spacing: -.064em;
  text-indent: -.064em;
}

.landing-title-line { display: block; white-space: nowrap; }
.landing-title-accent {
  margin-top: 4px;
  color: #bb939b;
  background-image: linear-gradient(104deg, #bb939b 5%, #c1a293 48%, #c4ae8b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.landing-description {
  margin: 26px auto 0;
  color: #737476;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: .005em;
}
.landing-description-line { display: block; }

.landing-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
}
.landing-create,
.landing-explore {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  white-space: nowrap;
  font-size: 15px;
  font-weight: 550;
  line-height: 1;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 180ms ease, transform 180ms ease, color 180ms ease;
}
.landing-create {
  min-width: 139px;
  padding: 0 28px;
  border: 1px solid #242526;
  border-radius: 999px;
  background: #242526;
  box-shadow: 0 2px 3px rgb(30 32 34 / 6%);
  color: #fff;
}
.landing-create:hover { transform: translateY(-2px); border-color: #414345; background: #414345; color: #fff; }
.landing-create:active { transform: translateY(0); }
.landing-explore { min-height: 32px; gap: 7px; color: #656668; font-size: 14px; }
.landing-explore:hover { color: #202122; }
.landing-explore-arrow { display: inline-block; font-size: 18px; transition: transform 180ms ease; }
.landing-explore:hover .landing-explore-arrow { transform: translateX(3px); }
.landing-create:focus-visible,
.landing-explore:focus-visible { outline: 3px solid #a86f79; outline-offset: 5px; }

.landing-collage {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  pointer-events: none;
  user-select: none;
}
.landing-hero::after {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 220px;
  background: linear-gradient(0deg, var(--landing-background) 8%, rgb(251 251 250 / 85%) 28%, rgb(251 251 250 / 0%) 100%);
  content: "";
  pointer-events: none;
}
.landing-poster {
  position: absolute;
  width: var(--landing-width, 180px);
  aspect-ratio: 1;
  padding: 5px;
  border: 1px solid rgb(176 180 184 / 46%);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 3px 4px rgb(62 66 71 / 5%), 0 14px 27px -12px rgb(62 66 71 / 24%);
  transform: rotate(var(--landing-angle, 0deg));
  animation: landing-poster-drift var(--landing-duration, 15s) ease-in-out infinite;
  animation-delay: var(--landing-delay, 0s);
  transform-origin: 50% 50%;
}
.landing-poster[hidden] { display: none; }
.landing-poster-image { display: block; width: 100%; height: 100%; aspect-ratio: 1; border-radius: 3px; object-fit: cover; }

.landing-poster-1 { --landing-width: clamp(160px, 15.1vw, 232px); --landing-angle: -8deg; --landing-delay: -2s; top: 5%; left: -4.7%; }
.landing-poster-2 { --landing-width: clamp(112px, 10.6vw, 163px); --landing-angle: 6deg; --landing-delay: -8s; top: -9%; left: 13%; }
.landing-poster-3 { --landing-width: clamp(106px, 10.2vw, 156px); --landing-angle: -6deg; --landing-delay: -5s; top: -14%; left: 28%; }
.landing-poster-4 { --landing-width: clamp(164px, 15.8vw, 244px); --landing-angle: 8deg; --landing-duration: 17s; --landing-delay: -4s; top: 4%; right: -5.1%; }
.landing-poster-5 { --landing-width: clamp(112px, 10.5vw, 162px); --landing-angle: -7deg; --landing-delay: -9s; top: -8%; right: 13.5%; }
.landing-poster-6 { --landing-width: clamp(106px, 9.7vw, 148px); --landing-angle: 7deg; --landing-duration: 17s; --landing-delay: -7s; top: -13%; right: 28%; }
.landing-poster-7 { --landing-width: clamp(154px, 14.3vw, 220px); --landing-angle: 7deg; --landing-duration: 18s; --landing-delay: -5s; top: 42%; left: 2.8%; }
.landing-poster-8 { --landing-width: clamp(154px, 14vw, 218px); --landing-angle: -6deg; --landing-delay: -10s; top: 42%; right: 3%; }
.landing-poster-9 { --landing-width: clamp(157px, 14.4vw, 220px); --landing-angle: -8deg; --landing-delay: -4s; top: 77%; left: 16%; }
.landing-poster-10 { --landing-width: clamp(157px, 14.4vw, 220px); --landing-angle: 8deg; --landing-duration: 17s; --landing-delay: -8s; top: 76%; right: 15.5%; }
.landing-poster-11 { --landing-width: clamp(140px, 12vw, 184px); --landing-angle: 6deg; --landing-delay: -3s; top: 91%; left: 35%; }
.landing-poster-12 { --landing-width: clamp(140px, 12vw, 184px); --landing-angle: -7deg; --landing-duration: 18s; --landing-delay: -7s; top: 92%; right: 35%; }

@keyframes landing-poster-drift {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(var(--landing-angle, 0deg)); }
  50% { transform: translate3d(0, -7px, 0) rotate(var(--landing-angle, 0deg)); }
}

@media (min-width: 1600px) {
  .landing-poster-1 { left: -1%; }
  .landing-poster-4 { right: -1%; }
  .landing-poster-7 { left: 8%; }
  .landing-poster-8 { right: 8%; }
  .landing-poster-9 { left: 23%; }
  .landing-poster-10 { right: 23%; }
}

@media (max-width: 1023px) {
  .landing-hero { min-height: clamp(720px, calc(100svh - 60px), 850px); }
  .landing-content { padding-top: 125px; width: min(100% - 40px, 520px); }
  body[data-page="index"] #mini-root.mini-root .landing-content { padding-top: clamp(125px, 16svh, 155px) !important; }
  .landing-title { font-size: clamp(66px, 9vw, 84px); }
  .landing-description { font-size: 16px; }
  .landing-poster-1 { --landing-width: 155px; left: -50px; top: 5%; }
  .landing-poster-4 { --landing-width: 155px; right: -50px; top: 6%; }
  .landing-poster-2 { --landing-width: 120px; left: 20%; top: -8%; }
  .landing-poster-5 { --landing-width: 120px; right: 20%; top: -8%; }
  .landing-poster-3,
  .landing-poster-6 { display: none; }
  .landing-poster-7 { --landing-width: 124px; left: -37px; top: 44%; }
  .landing-poster-8 { --landing-width: 124px; right: -37px; top: 44%; }
  .landing-poster-9 { --landing-width: 170px; left: 9%; top: 80%; }
  .landing-poster-10 { --landing-width: 170px; right: 9%; top: 80%; }
  .landing-poster-11 { --landing-width: 145px; left: 34%; top: 93%; }
  .landing-poster-12 { --landing-width: 145px; right: 34%; top: 94%; }
}

@media (max-width: 639px) {
  .landing-hero { min-height: clamp(700px, calc(100svh - 60px), 760px); }
  .landing-content { width: calc(100% - 32px); padding-top: 120px; padding-bottom: 160px; }
  body[data-page="index"] #mini-root.mini-root .landing-content { padding-top: clamp(115px, 15svh, 130px) !important; }
  .landing-brand { font-size: 25px; }
  .landing-title { margin-top: 25px; font-size: clamp(56px, 13.5vw, 72px); line-height: 1.16; letter-spacing: -.06em; }
  .landing-title-accent { margin-top: 3px; }
  .landing-description { margin-top: 24px; font-size: 15px; line-height: 1.8; }
  .landing-actions { gap: 8px; margin-top: 28px; }
  .landing-create { min-width: 134px; min-height: 44px; padding: 0 23px; }
  .landing-explore { font-size: 14px; }
  .landing-poster { padding: 4px; border-radius: 7px; }
  .landing-poster-1 { --landing-width: 105px; left: -55px; top: 5%; }
  .landing-poster-4 { --landing-width: 105px; right: -54px; top: 5%; }
  .landing-poster-2 { --landing-width: 92px; left: 19%; top: -8%; }
  .landing-poster-5 { --landing-width: 92px; right: 18%; top: -9%; }
  .landing-poster-7 { --landing-width: 134px; --landing-angle: -8deg; left: -30px; top: 76%; }
  .landing-poster-8 { --landing-width: 132px; --landing-angle: 8deg; right: -29px; top: 77%; }
  .landing-poster-9 { --landing-width: 118px; --landing-angle: 8deg; left: 29%; top: 83%; }
  .landing-poster-10 { --landing-width: 116px; --landing-angle: -8deg; right: 27%; top: 96%; }
  .landing-poster-11,
  .landing-poster-12 { display: none; }
  .landing-hero::after { height: 165px; }
}

@media (max-width: 359px) {
  .landing-content { padding-top: 115px; }
  body[data-page="index"] #mini-root.mini-root .landing-content { padding-top: 115px !important; }
  .landing-title { font-size: 56px; }
  .landing-description { font-size: 14px; }
  .landing-actions { gap: 8px; }
  .landing-create { min-width: 127px; }
}

@media (prefers-reduced-motion: reduce) {
  .landing-poster { animation: none; }
  .landing-create,
  .landing-explore,
  .landing-explore-arrow { transition: none; }
  .landing-create:hover,
  .landing-explore:hover .landing-explore-arrow { transform: none; }
}

@media (forced-colors: active) {
  .landing-title-accent { color: CanvasText; background: none; -webkit-text-fill-color: currentColor; }
  .landing-create { border: 1px solid ButtonText; background: ButtonFace; color: ButtonText; }
}
