:root {
  --purple: #6b35ff;
  --purple-dark: #431bc9;
  --yellow: #ffca18;
  --ink: #f8f7ff;
  --muted: #aaa6bb;
  --panel: #171522;
  --field: #100e19;
  --line: #332d47;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 4%, rgba(107, 53, 255, .30), transparent 31rem),
    radial-gradient(circle at 90% 78%, rgba(255, 202, 24, .08), transparent 26rem),
    #0b0a11;
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.5;
}

a { color: inherit; }
img { display: block; max-width: 100%; }

a:focus-visible {
  outline: 3px solid rgba(255, 202, 24, .6);
  outline-offset: 4px;
}

.download-shell { width: min(1180px, calc(100% - 42px)); margin: 0 auto; }
.download-header { min-height: 108px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.download-header img { width: 210px; height: 78px; object-fit: contain; }
.download-header a { text-decoration: none; }
.download-header > span { color: var(--yellow); font-size: 10px; font-weight: 900; letter-spacing: .16em; }

.download-hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr); gap: 52px; align-items: center; padding: 70px 0 82px; }
.eyebrow { margin: 0; color: var(--yellow); font-size: 11px; font-weight: 900; letter-spacing: .16em; }
h1 { max-width: 760px; margin: 14px 0 0; font-size: clamp(46px, 7vw, 82px); line-height: .98; letter-spacing: -.045em; }
h1 em { color: var(--yellow); font-style: normal; }
.hero-lead { max-width: 690px; margin: 24px 0 0; color: var(--muted); font-size: clamp(17px, 2vw, 20px); }
.platform-alert { max-width: 690px; margin-top: 23px; padding: 16px 18px; display: flex; flex-direction: column; color: #eeeaf8; background: rgba(107, 53, 255, .13); border: 1px solid rgba(107, 53, 255, .34); border-radius: 14px; }
.platform-alert strong { color: var(--yellow); font-size: 13px; }
.platform-alert span { margin-top: 3px; color: #bdb8cc; font-size: 12px; }
.version-line { display: flex; align-items: center; gap: 13px; margin-top: 30px; }
.version-line span { color: var(--muted); font-size: 10px; font-weight: 900; letter-spacing: .12em; }
.version-line strong { padding: 5px 10px; color: var(--yellow); background: rgba(255, 202, 24, .08); border: 1px solid rgba(255, 202, 24, .22); border-radius: 999px; font-size: 13px; }

.download-button { width: min(430px, 100%); min-height: 78px; display: flex; flex-direction: column; justify-content: center; margin-top: 18px; padding: 15px 24px; color: #17131d; background: var(--yellow); border: 1px solid var(--yellow); border-radius: 16px; box-shadow: 0 20px 60px rgba(255, 202, 24, .16); text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
.download-button:hover { transform: translateY(-2px); box-shadow: 0 24px 70px rgba(255, 202, 24, .23); }
.download-button span { font-size: 15px; font-weight: 950; letter-spacing: .04em; }
.download-button small { margin-top: 2px; font-size: 11px; opacity: .72; }
.download-note { max-width: 560px; margin: 13px 0 0; color: var(--muted); font-size: 12px; }

.trust-card { padding: 34px; background: linear-gradient(145deg, rgba(28, 24, 45, .97), rgba(18, 16, 29, .97)); border: 1px solid var(--line); border-radius: 28px; box-shadow: 0 30px 100px rgba(0, 0, 0, .35); }
.app-icon { width: 126px; height: 126px; display: grid; place-items: center; margin-bottom: 28px; background: radial-gradient(circle, rgba(107, 53, 255, .22), transparent 67%); }
.app-icon img { width: 118px; height: 118px; object-fit: contain; }
.trust-card h2 { margin: 0; font-size: 27px; }
.trust-card ul { display: grid; gap: 14px; padding: 0; margin: 25px 0 0; list-style: none; }
.trust-card li { display: grid; grid-template-columns: 24px 1fr; gap: 9px; align-items: start; color: #d7d3e3; font-size: 14px; }
.trust-card li span { color: var(--yellow); font-weight: 900; }

.compatibility { margin-bottom: 28px; padding: 46px; display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); align-items: center; gap: 48px; background: rgba(23, 21, 34, .75); border: 1px solid var(--line); border-radius: 28px; }
.compatibility h2 { margin: 7px 0 0; font-size: clamp(30px, 4vw, 44px); line-height: 1.08; }
.compatibility > div:first-child > p:last-child { margin: 16px 0 0; color: var(--muted); font-size: 14px; }
.compatibility-grid { display: grid; gap: 12px; }
.platform-card { min-height: 86px; padding: 18px 20px; display: grid; grid-template-columns: 42px 1fr; align-items: center; gap: 14px; background: var(--field); border: 1px solid var(--line); border-radius: 16px; }
.platform-card > span { width: 38px; height: 38px; display: grid; place-items: center; font-size: 20px; font-weight: 900; border-radius: 12px; }
.platform-card strong, .platform-card small { display: block; }
.platform-card strong { font-size: 14px; }
.platform-card small { margin-top: 3px; color: var(--muted); font-size: 11px; }
.platform-supported { border-color: rgba(255, 202, 24, .28); }
.platform-supported > span { color: #17131d; background: var(--yellow); }
.platform-unavailable > span { color: #c2bdcf; background: #292535; }

.steps { padding: 46px; background: rgba(23, 21, 34, .75); border: 1px solid var(--line); border-radius: 28px; }
.section-heading h2 { margin: 7px 0 0; font-size: clamp(30px, 4vw, 44px); }
.steps ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 0; margin: 30px 0 0; list-style: none; }
.steps li { min-height: 132px; display: grid; grid-template-columns: 42px 1fr; gap: 14px; padding: 22px; background: var(--field); border: 1px solid var(--line); border-radius: 17px; }
.steps li b { width: 34px; height: 34px; display: grid; place-items: center; color: #17131d; background: var(--yellow); border-radius: 10px; }
.steps li strong, .steps li span { display: block; }
.steps li strong { font-size: 16px; }
.steps li span { margin-top: 7px; color: var(--muted); font-size: 13px; }

footer { min-height: 110px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 12px; }
footer nav { display: flex; gap: 20px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--yellow); }

@media (max-width: 850px) {
  .download-hero { grid-template-columns: 1fr; gap: 34px; padding-top: 42px; }
  .compatibility { grid-template-columns: 1fr; gap: 30px; }
  .steps ol { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .download-shell { width: min(100% - 28px, 1180px); }
  .download-header { min-height: 88px; }
  .download-header img { width: 160px; height: 60px; }
  .download-header > span { display: none; }
  .download-hero { padding: 36px 0 54px; }
  h1 { font-size: 45px; }
  .trust-card, .compatibility, .steps { padding: 24px; border-radius: 22px; }
  footer { align-items: flex-start; flex-direction: column; justify-content: center; padding: 28px 0; }
  footer nav { flex-wrap: wrap; gap: 12px 18px; }
}
