:root {
  color-scheme: dark;
  --navy: #06133f;
  --blue: #0c3bb8;
  --gold: #ffc928;
  --cyan: #26d9f3;
  --muted: #b7c3df;
  --line: rgba(255, 255, 255, 0.14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--navy); }
body { min-height: 100vh; margin: 0; color: #fff; background: #06133f; }
a { color: inherit; }

.hero {
  position: relative;
  min-height: calc(100vh - 68px);
  display: grid;
  place-items: stretch center;
  overflow: hidden;
  padding: clamp(32px, 6vh, 64px) 20px 28px;
  text-align: center;
  background: linear-gradient(155deg, #081a4d 0%, #0b2d76 48%, #06133f 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('/hero-bg.png') center / cover no-repeat;
  opacity: 0.18;
}

.hero__glow {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(38, 217, 243, 0.1);
  filter: blur(90px);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
}
.hero__heading { text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35); }
.hero__actions { padding-top: 18px; }
.eyebrow { margin: 24px 0 8px; color: #76f5ff; font-size: 0.78rem; font-weight: 900; letter-spacing: 0.18em; }
h1 { margin: 0; font-size: clamp(2.35rem, 8vw, 4.2rem); line-height: 1; letter-spacing: -0.05em; }
.lead { margin: 12px auto 28px; color: #c8d6f3; font-size: 1rem; line-height: 1.5; }

.store-list { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.store-button {
  min-width: 210px;
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: rgba(3, 9, 29, 0.78);
  color: #fff;
  text-align: left;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.store-button--active:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35); }
.store-button small, .store-button strong { display: block; }
.store-button small { margin-bottom: 2px; color: #cbd5e1; font-size: 0.72rem; }
.store-button strong { font-size: 1.18rem; }
.store-button__icon { width: 38px; height: 38px; display: grid; place-items: center; color: #64e572; font-size: 1.55rem; }
.store-button__icon--apple { color: #fff; font-size: 2rem; }
.store-button--disabled { position: relative; cursor: not-allowed; opacity: 0.43; filter: grayscale(1); }
.soon { position: absolute; top: -9px; right: 10px; padding: 4px 8px; border-radius: 999px; background: #64748b; font-size: 0.64rem; font-weight: 900; text-transform: uppercase; }
.privacy-link { display: inline-block; margin-top: 24px; color: #d7e7ff; font-size: .9rem; font-weight: 700; text-underline-offset: 5px; }
.privacy-link:hover { color: var(--gold); }
.legal-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 22px; }

footer { padding: 24px 20px; color: #8493b2; background: #030923; text-align: center; font-size: 0.72rem; line-height: 1.4; }
footer p { margin: 2px 0; }
footer a { color: #b9c9e8; text-underline-offset: 3px; }
footer a:hover { color: var(--gold); }
.copyright { margin-top: 12px; color: #dae4f7; }

.policy-page { background: radial-gradient(circle at top, #103ea4 0, #071744 30%, #030923 72%); }
.policy-header { position: sticky; top: 0; z-index: 4; display: flex; align-items: center; justify-content: space-between; padding: 12px max(20px, calc((100vw - 960px) / 2)); border-bottom: 1px solid var(--line); background: rgba(3, 9, 35, 0.86); backdrop-filter: blur(18px); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; text-decoration: none; }
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.back-link { padding: 9px 14px; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; }
.policy-shell { width: min(100%, 960px); margin: 0 auto; padding: 36px 16px 70px; }
.policy-card { padding: clamp(24px, 5vw, 56px); border: 1px solid var(--line); border-radius: 28px; background: rgba(7, 18, 56, 0.88); box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32); }
.policy-card h1 { font-size: clamp(2.25rem, 7vw, 4.2rem); }
.updated { margin: 14px 0 40px; color: var(--muted); }
.policy-card section { padding: 24px 0; border-top: 1px solid var(--line); }
.policy-card h2 { margin: 0 0 12px; color: #fff; font-size: clamp(1.12rem, 3vw, 1.38rem); }
.policy-card p { margin: 9px 0; color: #c6d1e9; line-height: 1.75; }
.policy-card a { color: #62eaff; font-weight: 800; }

@media (max-width: 520px) {
  .hero { min-height: calc(100svh - 64px); padding: 28px 20px 22px; }
  .hero__content { gap: 24px; }
  .hero__actions {
    padding: 0;
  }
  .store-list { flex-direction: column; }
  .store-button { width: 100%; }
  .privacy-link { margin-top: 18px; }
  .policy-header { padding-inline: 14px; }
  .brand span { font-size: 0.9rem; }
  .policy-shell { padding: 20px 10px 48px; }
  .policy-card { border-radius: 20px; }
}

@media (max-height: 700px) and (max-width: 520px) {
  .hero { padding-top: 20px; }
  h1 { font-size: 2.15rem; }
  .lead { margin: 8px auto 16px; }
  .hero__actions { padding: 12px; }
  .store-list { gap: 8px; }
  .store-button { min-height: 58px; padding-block: 8px; }
  .privacy-link { margin-top: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .store-button { transition: none; }
}
