:root {
  color-scheme: dark;
  font-family: "DM Sans", "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --bg: #090d18;
  --surface: #111827;
  --raised: #151e30;
  --border: #263247;
  --text: #f2f5fc;
  --muted: #9aa7bb;
  --blue: #6c91ff;
  --green: #35d4a1;
}

* { box-sizing: border-box; }
body { min-width: 320px; margin: 0; background: radial-gradient(ellipse at 80% 12%, rgb(41 72 155 / 15%), transparent 34%), var(--bg); color: var(--text); }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
button:focus-visible, a:focus-visible { outline: 3px solid #a6bdff; outline-offset: 3px; }
.download-page { width: min(1120px, 100% - 48px); margin: 0 auto; }
.download-header { display: flex; height: 82px; align-items: center; justify-content: space-between; border-bottom: 1px solid rgb(255 255 255 / 7%); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 800; letter-spacing: -.4px; }
.brand-mark { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 12px; background: linear-gradient(145deg, #65a4ff, #4265ef); color: #fff; font-size: 20px; box-shadow: 0 5px 18px rgb(79 124 255 / 22%); }
.back-link { color: #c2ccdd; font-size: 13px; }
.back-link:hover, .download-footer > a:last-child:hover { color: #fff; }
.hero { display: grid; min-height: 590px; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 28px; padding: 56px 0 42px; }
.hero-copy { position: relative; z-index: 1; max-width: 575px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: #93b2ff; font-size: 11px; font-weight: 800; letter-spacing: 1.7px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 13px rgb(53 212 161 / 75%); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: "DM Sans", "Segoe UI", sans-serif; }
h1 { max-width: 580px; margin: 21px 0 17px; font-size: clamp(44px, 6vw, 68px); font-weight: 800; letter-spacing: -3.5px; line-height: 1.03; }
h1 span { color: #8aa9ff; }
.hero-copy > p:not(.eyebrow):not(.install-status) { max-width: 495px; margin-bottom: 27px; color: #aab5c8; font-size: 16px; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; }
.install-button, .open-button { display: inline-flex; min-height: 49px; align-items: center; justify-content: center; gap: 8px; padding: 0 19px; border: 1px solid var(--border); border-radius: 12px; cursor: pointer; font-size: 14px; font-weight: 800; transition: transform .16s, filter .16s, border-color .16s; }
.install-button { border-color: transparent; background: linear-gradient(130deg, #6797ff, #536ff2); color: #fff; box-shadow: 0 9px 27px rgb(77 112 237 / 25%); }
.download-icon { width: 17px; height: 17px; flex: 0 0 auto; }
.install-button:hover, .open-button:hover { transform: translateY(-2px); filter: brightness(1.08); }
.open-button { background: var(--surface); color: var(--text); }
.install-status { min-height: 20px; margin: 13px 0 0; color: #7f8da4; font-size: 12px; line-height: 1.6; }
.phone-scene { position: relative; display: grid; min-height: 500px; place-items: center; }
.glow { position: absolute; width: min(90%, 440px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgb(73 112 255 / 26%), rgb(73 112 255 / 8%) 42%, transparent 70%); filter: blur(5px); }
.phone { position: relative; z-index: 1; width: 260px; height: 480px; padding: 10px; border: 1px solid #455574; border-radius: 35px; background: linear-gradient(145deg, #39455f, #121a2b 30%, #101725); box-shadow: 0 35px 80px rgb(0 0 0 / 54%), 0 0 70px rgb(75 106 242 / 16%); transform: rotate(3deg); }
.phone-camera { position: absolute; z-index: 2; top: 13px; left: 50%; width: 68px; height: 16px; border-radius: 20px; background: #080c14; transform: translateX(-50%); }
.phone-screen { position: relative; height: 100%; overflow: hidden; border-radius: 27px; background: #0d1321; padding: 32px 13px 0; }
.phone-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; font-size: 11px; font-weight: 800; }
.phone-greeting { margin-bottom: 5px; color: #72839f; font-size: 8px; font-weight: 700; letter-spacing: 1.2px; }
.phone-title { margin-bottom: 3px; font-size: 18px; font-weight: 800; letter-spacing: -.5px; }
.phone-subtitle { margin-bottom: 17px; color: #8190a8; font-size: 9px; }
.phone-card { display: grid; gap: 9px; margin-bottom: 10px; padding: 14px 12px; border: 1px solid #29364e; border-radius: 14px; background: linear-gradient(140deg, #151f33, #111827); }
.phone-card > span { color: #9aa8bd; font-size: 9px; }
.phone-card strong { font-size: 18px; letter-spacing: -.4px; }
.phone-card i { color: #49d5a6; font-size: 9px; font-style: normal; }
.phone-progress { height: 4px; border-radius: 5px; background: #283449; }
.phone-progress span { display: block; width: 54%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #648fff, #44d0aa); }
.phone-card.balance { margin-top: 12px; background: linear-gradient(140deg, #1a2c4c, #142037); }
.phone-card.balance small { color: #8292ab; font-size: 8px; }
.phone-nav { position: absolute; inset: auto 0 0; display: flex; height: 53px; align-items: center; justify-content: space-around; border-top: 1px solid #222d41; background: #101827; color: #83a3ff; font-size: 14px; }
.phone-nav span { display: grid; justify-items: center; gap: 3px; }
.phone-nav small { color: #8794aa; font-size: 7px; }
.install-help { padding: 39px 0 48px; border-top: 1px solid rgb(255 255 255 / 7%); }
.section-heading { margin-bottom: 21px; text-align: center; }
.section-heading h2 { margin: 10px 0 6px; font-size: 30px; letter-spacing: -1px; }
.section-heading p { margin: 0; color: var(--muted); font-size: 13px; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.step-card { position: relative; min-height: 192px; padding: 19px; border: 1px solid var(--border); border-radius: 16px; background: linear-gradient(150deg, rgb(21 30 48 / 95%), rgb(15 22 36 / 95%)); }
.step-number { position: absolute; top: 16px; right: 17px; color: #52617a; font-size: 11px; font-weight: 800; letter-spacing: 1px; }
.step-icon { display: grid; width: 37px; height: 37px; place-items: center; margin-bottom: 12px; border: 1px solid #304267; border-radius: 11px; background: #1b2a46; color: #91acff; font-size: 17px; }
.step-card h3 { margin-bottom: 7px; font-size: 15px; }
.step-card p { margin: 0; color: #99a7bc; font-size: 12px; line-height: 1.7; }
.step-card strong { color: #e2e9f5; }
.privacy-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 19px 0 0; color: #a0adbf; font-size: 12px; text-align: center; }
.privacy-note span { color: var(--green); font-weight: 800; }
.download-footer { display: flex; min-height: 74px; align-items: center; justify-content: space-between; gap: 15px; border-top: 1px solid rgb(255 255 255 / 7%); color: #8491a6; font-size: 11px; }
.footer-brand { color: var(--text); font-size: 13px; }
.footer-brand .brand-mark { width: 29px; height: 29px; border-radius: 9px; font-size: 16px; }
.download-footer > a:last-child { color: #a9bfff; font-weight: 700; }

@media (max-width: 780px) {
  .download-page { width: min(100% - 34px, 560px); }
  .download-header { height: 68px; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 0; padding: 53px 0 18px; }
  .hero-copy { text-align: center; }
  .hero-copy .eyebrow { justify-content: center; }
  h1 { margin-right: auto; margin-left: auto; font-size: clamp(43px, 11vw, 60px); letter-spacing: -2.8px; }
  .hero-copy > p:not(.eyebrow):not(.install-status) { margin-right: auto; margin-left: auto; font-size: 14px; }
  .hero-actions { justify-content: center; }
  .install-status { max-width: 340px; margin-right: auto; margin-left: auto; }
  .phone-scene { min-height: 460px; }
  .phone { transform: scale(.9) rotate(3deg); }
  .steps-grid { grid-template-columns: 1fr; }
  .step-card { min-height: auto; }
  .download-footer { flex-wrap: wrap; justify-content: center; padding: 16px 0; text-align: center; }
  .download-footer > span { flex-basis: 100%; order: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
