:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #241b3b;
  background: #f7f3ff;
}

* { box-sizing: border-box; }

body { margin: 0; min-width: 320px; background: radial-gradient(circle at 50% 0, #eee6ff 0, #f7f3ff 44%, #fffaf1 100%); }

.shell { min-height: calc(100dvh - 44px); display: grid; place-items: center; padding: 24px 16px; }

.download-card {
  width: min(100%, 560px);
  padding: clamp(22px, 5vw, 38px);
  border: 2px solid #241b3b;
  border-radius: 28px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 10px 12px 0 #d8c7ff;
}

.app-mark { width: 72px; height: 72px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 20px; color: white; background: #6d4aff; font-size: 42px; font-weight: 900; }
.eyebrow { color: #6d4aff; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
h1 { margin: 8px 0 10px; font-size: clamp(32px, 7vw, 48px); line-height: 1.02; letter-spacing: -.04em; }
.lead { margin: 0 0 22px; color: #625875; font-size: 17px; line-height: 1.48; }

.download-button { display: flex; min-height: 54px; align-items: center; justify-content: center; padding: 13px 20px; border: 2px solid #241b3b; border-radius: 16px; color: white; background: #6d4aff; box-shadow: 4px 5px 0 #241b3b; font-size: 18px; font-weight: 850; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.download-button:hover { transform: translate(2px, 2px); box-shadow: 2px 3px 0 #241b3b; }
.download-button:focus-visible { outline: 4px solid #ffc84a; outline-offset: 3px; }

.release-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 22px 0; }
.release-facts div { padding: 12px; border-radius: 14px; background: #f3eeff; }
dt { margin-bottom: 4px; color: #75698b; font-size: 12px; font-weight: 700; text-transform: uppercase; }
dd { margin: 0; font-weight: 800; overflow-wrap: anywhere; }

details { padding: 14px 16px; border-radius: 14px; background: #fff3c9; }
summary { cursor: pointer; font-weight: 850; }
ol { margin: 12px 0 0; padding-left: 22px; line-height: 1.55; }
.fingerprint { display: flex; justify-content: space-between; gap: 12px; margin-top: 16px; color: #75698b; font-size: 13px; }
code { color: #241b3b; font-weight: 700; }

footer { min-height: 44px; display: grid; place-items: center; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); }
footer a { color: #625875; font-size: 13px; font-weight: 700; }

@media (max-width: 430px) {
  .shell { align-items: start; padding-top: 14px; }
  .download-card { border-radius: 22px; box-shadow: 6px 7px 0 #d8c7ff; }
  .release-facts { grid-template-columns: 1fr; }
}

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