@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  color-scheme: dark;
  font-family: 'DM Sans', 'Segoe UI', sans-serif;
  color: #f2f7f3;
  background: #07130d;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* { box-sizing: border-box; }
html { min-width: 320px; min-height: 100%; }
body { min-width: 320px; min-height: 100vh; margin: 0; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 3px solid #a5f3b8; outline-offset: 5px; }
[hidden] { display: none !important; }

.page-shell {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  place-items: center;
  padding: 52px 24px;
  background:
    radial-gradient(ellipse at 50% 5%, #163821 0, #0b1b11 34%, transparent 67%),
    linear-gradient(145deg, #07130d, #09150e 55%, #07110b);
}

.download-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 590px);
  padding: 46px 48px 34px;
  border: 1px solid #d2f4da16;
  border-radius: 30px;
  background: linear-gradient(155deg, #101f16eb, #0a1710f2 68%);
  box-shadow: 0 32px 100px #0008, inset 0 1px #ffffff08;
  text-align: center;
  backdrop-filter: blur(16px);
}

.brand-mark {
  display: grid;
  width: 74px;
  height: 74px;
  margin: 0 auto 23px;
  place-items: center;
  border: 1px solid #a8edbc24;
  border-radius: 23px;
  background: linear-gradient(145deg, #1b3924, #0d1d12);
  box-shadow: 0 12px 32px #0005, inset 0 1px #ffffff10;
}
.brand-mark img { display: block; width: 48px; height: 48px; border-radius: 13px; object-fit: contain; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: #96d9a6;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
}
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #52d577; box-shadow: 0 0 12px #52d57790; }

h1 {
  margin: 0;
  font-family: Manrope, 'Segoe UI', sans-serif;
  font-size: clamp(34px, 6vw, 50px);
  font-weight: 700;
  letter-spacing: -.055em;
  line-height: 1.12;
}
h1 span { color: #9abca1; font-weight: 500; }
.intro { margin: 17px 0 30px; color: #a9b9ad; font-size: 14px; line-height: 1.6; }

.download-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.download-button {
  display: flex;
  min-width: 0;
  min-height: 88px;
  align-items: center;
  gap: 13px;
  padding: 16px 15px;
  border: 1px solid #cef1d81c;
  border-radius: 17px;
  background: linear-gradient(145deg, #17271c, #101e15);
  text-align: left;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.download-button:hover {
  transform: translateY(-3px);
  border-color: #6de28e8a;
  background: linear-gradient(145deg, #1b3422, #12251a);
  box-shadow: 0 12px 28px #0005, 0 0 28px #36b95712;
}
.download-button:active { transform: translateY(-1px); }
.download-button[aria-disabled="true"] { cursor: wait; opacity: .55; }
.platform-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border: 1px solid #7cdf9631;
  border-radius: 13px;
  background: #2c9e4a1b;
  color: #9ae9aa;
}
.platform-icon svg { width: 22px; height: 22px; fill: currentColor; }
.android .platform-icon svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.android .platform-icon svg path:last-child { fill: currentColor; stroke: none; }
.button-copy { display: flex; min-width: 0; flex: 1; flex-direction: column; gap: 3px; }
.button-copy strong { color: #f3f8f3; font-size: 14px; font-weight: 700; letter-spacing: -.01em; }
.button-copy small { overflow: hidden; color: #91a697; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.download-arrow { display: grid; width: 28px; height: 28px; flex: 0 0 28px; place-items: center; border-radius: 50%; background: #ffffff08; color: #a8d6b1; }
.download-arrow svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.download-button:hover .download-arrow { background: #6cda8720; color: #b8f3c4; }
.download-status { margin: 13px 0 0; color: #ffc4a8; font-size: 12px; }
.security-note { display: inline-flex; align-items: center; justify-content: center; gap: 7px; margin: 23px 0 0; color: #789080; font-size: 11px; }
.security-note svg { width: 15px; height: 15px; fill: none; stroke: #76ca8b; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.ambient { position: absolute; z-index: -1; width: 380px; height: 380px; border: 1px solid #85db9c0b; border-radius: 50%; pointer-events: none; }
.ambient::before, .ambient::after { position: absolute; inset: 30px; border: 1px solid #85db9c08; border-radius: inherit; content: ''; }
.ambient::after { inset: 66px; }
.ambient-one { top: -205px; left: calc(50% - 190px); }
.ambient-two { right: -245px; bottom: -275px; width: 490px; height: 490px; }

@media (max-width: 540px) {
  .page-shell { padding: 24px 16px; }
  .download-panel { width: min(100%, 440px); padding: 34px 22px 27px; border-radius: 25px; }
  .brand-mark { width: 66px; height: 66px; margin-bottom: 20px; border-radius: 20px; }
  .brand-mark img { width: 43px; height: 43px; }
  .intro { margin: 14px 0 24px; font-size: 13px; }
  .download-options { grid-template-columns: 1fr; gap: 10px; }
  .download-button { min-height: 78px; padding: 13px 14px; border-radius: 15px; }
  .security-note { margin-top: 20px; font-size: 10px; }
}

@media (max-width: 360px) {
  .page-shell { padding-inline: 12px; }
  .download-panel { padding-inline: 17px; }
  h1 { font-size: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
