:root {
  color-scheme: light;
  font-family: "DM Sans", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  background: #fff9f7;
  color: #2d2424;
  --ink-soft: #695756;
  --coral: #ad3a34;
  --divider: #eddbd7;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100svh; display: grid; place-items: center; }
main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr); align-items: stretch; gap: clamp(24px, 7vw, 88px); width: min(100%, 1100px); padding: clamp(22px, 6vw, 64px); }
.intro { align-self: center; }
.icon { display: block; border-radius: 19px; }
h1 { font: 650 clamp(3rem, 8vw, 5.6rem)/1.1 "Songti SC", "Noto Serif CJK SC", serif; margin: 20px 0 13px; letter-spacing: .08em; }
.description { max-width: 24em; margin: 0; color: var(--ink-soft); line-height: 1.8; }
.platforms { display: grid; gap: 15px; margin-top: 32px; max-width: 360px; }
.download, .testflight { display: grid; gap: 4px; padding: 15px 18px; border-radius: 12px; line-height: 1.55; }
.download { color: #fff; background: var(--coral); text-decoration: none; }
.download:hover { background: #91302b; }
.download:focus-visible, .testflight:focus-visible { outline: 3px solid #8e7cc3; outline-offset: 3px; }
.platforms span { font-size: .865rem; }
.testflight { background: #fff0ec; border: 1px solid var(--divider); color: inherit; text-decoration: none; }
.testflight:hover { border-color: var(--coral); }
.testflight span { color: var(--ink-soft); }
figure { margin: 0; min-height: 430px; overflow: hidden; border-radius: 48% 48% 20px 20px / 31% 31% 20px 20px; background: #ffd8ce; }
figure img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 670px) {
  main { grid-template-columns: minmax(0, 1fr); padding-top: 34px; }
  .platforms { max-width: none; margin-top: 22px; }
  figure { height: clamp(150px, 50vw, 270px); min-height: 0; border-radius: 18px; }
}
