:root {
  color-scheme: light;
  --cream: #fffaf2;
  --ink: #2c241d;
  --dark: #28201a;
  --gold: #f4d28e;
  --muted: #66584c;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--cream);
}
* { box-sizing: border-box; }
body, h1, h2, p { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid #b77a36; outline-offset: 4px; }
.hero {
  position: relative;
  isolation: isolate;
  height: 61vw;
  min-height: 610px;
  color: var(--cream);
  background: radial-gradient(ellipse at 76% 40%, #51402d, var(--dark) 54%);
}
.hero::after, .preview::before {
  content: "";
  position: absolute;
  inset: auto 0 -1px;
  height: 7vw;
  background: radial-gradient(ellipse at 50% 100%, var(--cream) 68%, transparent 70%) repeat-x;
  background-size: 13vw 100%;
  pointer-events: none;
}
.brand {
  position: absolute;
  left: 18.75%;
  top: 3.125vw;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: clamp(20px, 1.9vw, 32px);
  font-weight: 720;
}
.brand img { width: clamp(48px, 4.69vw, 82px); height: auto; border-radius: 15%; }
.hero-content { position: absolute; left: 18.75%; top: 14.53vw; z-index: 1; }
.hero h1 {
  color: #ffdfa0;
  font-size: clamp(52px, 5.5vw, 100px);
  line-height: 1.10;
  font-weight: 740;
  letter-spacing: -.055em;
}
.hero-content > p { margin-top: 20px; font-size: clamp(15px, 1.34vw, 24px); line-height: 1.6; color: #f1dfc6; }
.downloads { display: flex; gap: 2.6vw; align-items: center; margin-top: clamp(27px, 3.5vw, 66px); }
.qr {
  width: 11.77vw;
  height: 11.77vw;
  display: grid;
  place-content: center;
  gap: 6px;
  text-align: center;
  border: 1px dashed #c3a574;
  border-radius: 16px;
  background: #fff7e6;
  color: #463626;
  font-size: clamp(15px, 1.4vw, 22px);
  font-weight: 680;
}
.qr small { font-size: 13px; font-weight: 500; color: #6f5b45; }
.platforms { display: grid; gap: 1.5vw; }
.download {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 21.88vw;
  min-height: 52px;
  height: 5.21vw;
  padding: 0 clamp(16px, 2vw, 32px);
  border: 1px solid transparent;
  border-radius: 99px;
  background: var(--gold);
  color: #332315;
  font: inherit;
  font-size: clamp(15px, 1.5vw, 26px);
  font-weight: 720;
  cursor: pointer;
}
.download:hover { filter: brightness(1.06); }
.download.android { background: #fff7e6; border-color: #e5c991; }
.hero-content .download-status { min-height: 21px; margin-top: 10px; color: #e5ceb0; font-size: 13px; }
.hero-art {
  position: absolute;
  inset: 8vw 9% auto auto;
  display: grid;
  place-items: center;
  width: 32vw;
  height: 36vw;
  background: radial-gradient(ellipse, #a578473d 0%, transparent 67%);
}
.hero-art img { width: 77%; height: 92%; object-fit: contain; }
.guide { position: relative; z-index: 1; text-align: center; padding-top: 1.4vw; min-height: 52vw; }
h2 { font-size: clamp(27px, 3vw, 52px); line-height: 1.18; letter-spacing: -.045em; }
.guide > p, .preview > p { margin: 13px 0 0; font-size: clamp(15px, 1.6vw, 25px); line-height: 1.55; }
.guide > p { color: var(--muted); }
.guide-cards { display: flex; justify-content: center; align-items: start; gap: 4.6vw; margin: 4vw auto 0; }
.guide-cards img { width: 17.6vw; border-radius: 1.4vw; border: 1px solid #e5d7c7; box-shadow: 0 9px 24px #3b271414; }
.guide-cards img:nth-child(odd) { transform: translateY(3.7vw); }
.guide-cards img:nth-child(2) { transform: translateY(-3.6vw); }
.preview {
  position: relative;
  margin-top: -19.6vw;
  min-height: 97.55vw;
  padding: 23vw 8% 13vw;
  text-align: center;
  background: radial-gradient(ellipse at 50% 60%, #514030 0%, var(--dark) 68%);
  color: var(--cream);
}
.preview::before { inset: -1px 0 auto; transform: rotate(180deg); }
.preview > h2 { color: #ffdfa0; }
.preview > p { color: #e9d5ba; }
.screens {
  width: min(74vw, 1260px);
  margin: 3.6vw auto 0;
  padding: 3.5vw 3vw;
  border: 1px solid #a1835a;
  border-radius: 1.65vw;
  background: #ffedd217;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3.8vw;
}
.screens img { width: 24%; border-radius: 1.25vw; border: 1px solid #edd6ad; box-shadow: 0 14px 24px #120a0640; }
.screens img:nth-child(2) { width: 29%; }
.peek { position: absolute; bottom: -1px; left: 50%; transform: translateX(-50%); width: 15.7vw; height: 12vw; object-fit: cover; object-position: top; z-index: 1; }
.closing { min-height: 10.83vw; display: grid; place-items: center; padding: 26px 18px; }
.closing a { font-size: clamp(18px, 2vw, 32px); font-weight: 680; text-decoration-color: #ac7d4c; text-underline-offset: 7px; }
footer { padding: 13px 20px; text-align: center; background: #30251d; color: #ecd7b9; font-size: 13px; line-height: 1.55; }
@media (max-width: 760px) {
  .hero { height: auto; min-height: 0; padding: 22px 22px 53px; }
  .hero::after, .preview::before { height: 19px; background-size: 55px 100%; }
  .brand { position: static; font-size: 20px; gap: 10px; }
  .brand img { width: 40px; }
  .hero-content { position: relative; inset: auto; margin-top: 25px; }
  .hero h1 { font-size: clamp(35px, 9vw, 56px); }
  .hero h1 br { display: none; }
  .hero-content > p { margin-top: 11px; }
  .downloads { margin-top: 19px; display: block; }
  .platforms { gap: 9px; }
  .qr { display: none; }
  .download { width: 100%; max-width: 440px; height: 49px; min-height: 49px; }
  .hero-art { position: relative; inset: auto; margin: 9px auto 0; width: 188px; height: 190px; }
  .guide { min-height: 0; padding: 27px 14px 50px; }
  .guide-cards { gap: 8px; margin-top: 30px; }
  .guide-cards img { width: calc((100% - 16px)/3); max-width: 160px; border-radius: 10px; }
  .guide-cards img:nth-child(odd) { transform: none; }
  .guide-cards img:nth-child(2) { transform: translateY(-10px); }
  .preview { margin-top: 0; min-height: 0; padding: 43px 13px 100px; }
  .screens { width: 100%; max-width: 550px; padding: 13px 9px; margin-top: 18px; gap: 8px; border-radius: 11px; }
  .screens img { width: 28%; border-radius: 7px; }
  .screens img:nth-child(2) { width: 33%; }
  .peek { width: 96px; height: 78px; }
  .closing { min-height: 86px; }
}

.download { text-decoration: none; }
.download:disabled { cursor: default; }
.download:focus-visible, .qr:focus-visible, footer a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.qr-live { padding: 6px; grid-template: 1fr / 1fr; place-items: center; }
.qr-live img { width: 100%; height: 100%; object-fit: contain; }
footer a { text-underline-offset: 3px; }
