:root {
  color-scheme: light;
  --ink: #202124;
  --muted: #666269;
  --paper: #f8f7f8;
  --pink: #fe668b;
  --orange: #ff9154;
  --content-width: 720px;
  --page-gutter: clamp(24px, 8vw, 152px);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 1024px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-weight: 300;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  padding: clamp(28px, 4vh, 48px) var(--page-gutter);
  pointer-events: none;
}

.brand {
  display: inline-block;
  pointer-events: auto;
  font-size: clamp(24px, 2vw, 34px);
  font-weight: 400;
  letter-spacing: 0.12em;
}

.panel {
  position: relative;
  min-height: 100svh;
  padding: 36vh var(--page-gutter) 12vh;
  isolation: isolate;
  background-color: var(--paper);
  background-image:
    linear-gradient(90deg, rgba(248, 247, 248, 1) 0%, rgba(248, 247, 248, 0.98) 40%, rgba(248, 247, 248, 0.12) 64%, rgba(248, 247, 248, 0) 100%),
    radial-gradient(circle at 78% 50%, var(--glow, #f7d5e2) 0%, transparent 38%),
    var(--screen);
  background-repeat: no-repeat;
  background-position: center, center, right 10vw center;
  background-size: cover, cover, auto min(82vh, 780px);
  background-attachment: fixed;
}

.panel::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  pointer-events: none;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.75);
}

/* 第一屏与第二屏之间不显示分隔白线，保留后续区块的层次感。 */
.panel--hero + .panel::after {
  box-shadow: none;
}

.panel--screen-1 {
  --screen: url("assets/screen-1.png");
  --glow: #f7cfd9;
}

.panel--screen-2 {
  --screen: url("assets/screen-2.png");
  --glow: #ffd9ca;
}

.panel--screen-3 {
  --screen: url("assets/screen-3.png");
  --glow: #d8e4e9;
}

.panel--screen-4 {
  --screen: url("assets/screen-4.png");
  --glow: #e7d9fa;
}

.panel--hero {
  padding-top: 29vh;
}

.panel__content {
  width: min(56vw, var(--content-width));
}

.eyebrow,
.panel__number {
  margin: 0 0 24px;
  color: #9b929b;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.panel__number {
  display: flex;
  align-items: center;
  gap: 14px;
}

.panel__number::after {
  width: 48px;
  height: 1px;
  background: currentColor;
  content: "";
}

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

h1,
h2 {
  margin-bottom: clamp(24px, 4vh, 44px);
  font-weight: 300;
  letter-spacing: 0.05em;
}

h1 {
  max-width: 680px;
  font-size: clamp(40px, 4vw, 68px);
  line-height: 1.35;
}

h2 {
  font-size: clamp(38px, 4vw, 64px);
  line-height: 1.25;
}

.lead {
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(18px, 1.5vw, 24px);
  font-weight: 300;
  letter-spacing: 0.06em;
}

.store-links {
  display: flex;
  gap: clamp(20px, 2vw, 36px);
  margin-top: clamp(60px, 11vh, 116px);
}

.store-link {
  position: relative;
  display: grid;
  min-width: 106px;
  place-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.06em;
  transition: background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.store-link:hover,
.store-link:focus-visible {
  outline: none;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 32px rgba(45, 31, 41, 0.1);
  transform: translateY(-3px);
}

.store-link img {
  width: 36px;
  height: 36px;
}

.store-link--muted,
.footer-button--muted {
  cursor: not-allowed;
  opacity: 0.45;
}

.cta {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  margin-top: clamp(48px, 8vh, 88px);
  padding: 0 30px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(45deg, var(--pink) 30%, var(--orange) 90%);
  box-shadow: 0 8px 18px rgba(255, 105, 135, 0.3);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.cta:hover,
.cta:focus-visible {
  outline: none;
  box-shadow: 0 12px 24px rgba(255, 105, 135, 0.4);
  transform: translateY(-2px);
}

.site-footer {
  position: relative;
  min-height: 100svh;
  padding: 12vh var(--page-gutter) 18vh;
  color: #fff;
  background: linear-gradient(110deg, #be93c5, #7bc6cc);
}

.site-footer__inner {
  width: min(100%, 1180px);
  margin: 0 auto;
}

blockquote {
  max-width: 980px;
  margin: 0 auto clamp(60px, 8vh, 100px);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 300;
  letter-spacing: 0.04em;
  line-height: 2;
}

.site-footer__rule {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.8);
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-top: 36px;
}

.site-footer__bottom > p {
  margin: 0;
  font-size: clamp(24px, 2.2vw, 36px);
  letter-spacing: 0.08em;
}

.footer-download {
  display: flex;
  gap: 16px;
}

.footer-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  gap: 10px;
  padding: 0 20px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-button img {
  width: 24px;
  height: 24px;
}

.copyright {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  min-height: 14vh;
  place-items: center;
  margin: 0;
  padding: 20px;
  background: rgba(20, 20, 30, 0.26);
  font-size: 12px;
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .panel {
    background-attachment: scroll;
  }

  .cta,
  .store-link {
    transition: none;
  }
}
