:root {
  color-scheme: dark;
  --ink: #fffafc;
  --muted: #c9bfd1;
  --panel: rgba(19, 12, 31, .82);
  --line: rgba(255, 255, 255, .16);
}

* { box-sizing: border-box; }
html { min-height: 100%; background: #080512; }
body {
  min-height: 100vh; margin: 0; display: grid; place-items: center; padding: clamp(22px, 4vw, 52px);
  color: var(--ink); font-family: Inter, ui-rounded, "SF Pro Rounded", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 78% 22%, rgba(255, 46, 166, .2), transparent 31rem),
    radial-gradient(circle at 9% 86%, rgba(80, 209, 255, .14), transparent 27rem),
    linear-gradient(145deg, #070410, #12051a 58%, #080512);
}

.skip-link {
  position: fixed; z-index: 10; left: 16px; top: 12px; transform: translateY(-160%); padding: 10px 14px;
  border-radius: 10px; color: #080512; background: #fff; font-weight: 800;
}
.skip-link:focus { transform: translateY(0); }

.download-shell {
  width: min(1080px, 100%); display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(300px, .74fr);
  gap: clamp(28px, 6vw, 76px); align-items: center;
}
.download-copy { min-width: 0; }
.brand-link { display: inline-block; max-width: min(520px, 92%); }
.download-logo { display: block; width: 100%; height: auto; }
.eyebrow { margin: 26px 0 12px; color: #a9efff; font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
h1 { margin: 0 0 22px; font-size: clamp(48px, 7vw, 86px); line-height: .92; letter-spacing: -.058em; }
h1 span { display: block; color: transparent; background: linear-gradient(92deg, #fff4e8, #ff91cf 54%, #8feeff); background-clip: text; -webkit-background-clip: text; }
.lede { max-width: 640px; margin: 0; color: var(--muted); font-size: clamp(17px, 2vw, 21px); line-height: 1.58; }
.store-options { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.store-option {
  min-width: 206px; min-height: 64px; display: grid; grid-template-columns: 34px 1fr; align-items: center; gap: 10px;
  padding: 11px 16px; border: 1px solid var(--line); border-radius: 16px; color: #fff; text-decoration: none;
  background: linear-gradient(155deg, rgba(34, 27, 48, .94), rgba(12, 9, 20, .94));
  box-shadow: 0 12px 34px rgba(0, 0, 0, .25), inset 0 1px rgba(255, 255, 255, .08);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.store-option:hover,.store-option:focus-visible { transform: translateY(-1px); border-color: rgba(255, 145, 207, .58); background: rgba(255, 255, 255, .11); outline: 3px solid rgba(143, 238, 255, .2); outline-offset: 3px; }
.store-mark { width: 30px; height: 30px; display: grid; place-items: center; font-size: 18px; font-weight: 850; }
.store-mark.play { clip-path: polygon(18% 8%, 92% 50%, 18% 92%); background: linear-gradient(145deg, #71e7ff, #ab77ff 54%, #ff6eb4); color: transparent; width: 27px; height: 29px; }
.store-option small,.store-option strong { display: block; }
.store-option small { color: #bcb4c8; font-size: 9px; line-height: 1.2; letter-spacing: .05em; text-transform: uppercase; }
.store-option strong { margin-top: 2px; font-size: 17px; line-height: 1; }
.manual-help { margin: 15px 0 0; color: #91889e; font-size: 12px; line-height: 1.5; }
.home-link { display: inline-block; margin-top: 24px; color: #c7eff8; font-size: 13px; text-underline-offset: 4px; }

.qr-card {
  width: min(430px, 100%); justify-self: end; padding: clamp(18px, 3vw, 28px); border-radius: 28px;
  color: #17091f; background: #fff; box-shadow: 0 28px 90px rgba(0, 0, 0, .42); text-align: center;
}
.qr-card img { display: block; width: 100%; height: auto; }
.qr-card strong { display: block; margin-top: 14px; font-size: 17px; line-height: 1.35; }
.qr-card span { display: block; margin-top: 8px; color: #645969; font-size: 12px; overflow-wrap: anywhere; }

@media (max-width: 780px) {
  body { place-items: start center; }
  .download-shell { grid-template-columns: 1fr; gap: 28px; }
  .download-copy { text-align: center; }
  .brand-link { max-width: min(460px, 94%); }
  .lede { margin-inline: auto; }
  .store-options { justify-content: center; }
  .qr-card { justify-self: center; }
}

@media (max-width: 480px) {
  body { padding: 20px 16px 32px; }
  h1 { font-size: clamp(43px, 14vw, 62px); }
  .store-options { display: grid; }
  .store-option { width: min(100%, 330px); }
  .qr-card { border-radius: 22px; padding: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .store-option { transition: none; }
}
