:root {
  color-scheme: light;
  --navy: #17264a;
  --navy-soft: #263b70;
  --pink: #ee4c98;
  --teal: #20b8ac;
  --ice: #eef8fb;
  --paper: #ffffff;
  --ink: #17203a;
  --muted: #67728a;
  --line: #dce5eb;
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 10%, rgba(32, 184, 172, .16), transparent 34%),
    radial-gradient(circle at 88% 82%, rgba(238, 76, 152, .12), transparent 30%),
    #f4f8fa;
}

.page-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 18px;
}

.download-card {
  width: min(100%, 650px);
  padding: clamp(24px, 6vw, 54px);
  background: rgba(255, 255, 255, .95);
  border: 1px solid rgba(220, 229, 235, .9);
  border-radius: 32px;
  box-shadow: 0 28px 70px rgba(23, 38, 74, .13);
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 15px;
}

.brand-logo {
  width: 68px;
  height: 68px;
  object-fit: contain;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 20px rgba(23, 38, 74, .1);
}

.eyebrow {
  margin: 0 0 3px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.brand-name {
  margin: 0;
  color: var(--navy);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .04em;
}

.hero-copy { margin: 40px 0 30px; }

h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(42px, 9vw, 70px);
  line-height: .98;
  letter-spacing: -.055em;
}

h1 span { color: var(--pink); }

.hero-copy p {
  max-width: 530px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.download-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.store-button {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 76px;
  padding: 14px 16px;
  color: #fff;
  text-decoration: none;
  background: var(--navy);
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(23, 38, 74, .18);
  transition: transform .18s ease, box-shadow .18s ease;
}

.store-button:hover:not([aria-disabled="true"]) {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(23, 38, 74, .24);
}

.store-button.is-recommended { outline: 3px solid rgba(32, 184, 172, .38); }

.store-button[aria-disabled="true"] { cursor: not-allowed; opacity: .48; }

.store-icon { flex: 0 0 34px; width: 34px; height: 34px; }
.store-icon svg { width: 100%; height: 100%; fill: currentColor; }
.store-button span:last-child { display: grid; line-height: 1.05; }
.store-button small { font-size: 10px; font-weight: 500; opacity: .8; }
.store-button strong { margin-top: 4px; font-size: 17px; }

.pending-note {
  margin: 14px 0 26px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.secondary-links {
  display: grid;
  gap: 10px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.secondary-links a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 16px;
  color: var(--ink);
  text-decoration: none;
  background: var(--ice);
  border-radius: 16px;
}

.secondary-links a[aria-disabled="true"] { cursor: not-allowed; opacity: .5; }

.secondary-icon {
  display: grid;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  place-items: center;
  color: #fff;
  background: var(--teal);
  border-radius: 12px;
  font-size: 20px;
  font-weight: 700;
}

.secondary-icon svg { width: 22px; height: 22px; }
.secondary-icon--globe svg { fill: none; stroke: #fff; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.secondary-icon--whatsapp { background: var(--teal); }
.secondary-icon--whatsapp svg path { fill: #fff; stroke: none; }

.secondary-links a > span:last-child { display: grid; gap: 2px; }
.secondary-links strong { font-size: 14px; }
.secondary-links small { color: var(--muted); font-size: 12px; }

.locations-block { margin-top: 10px; }

.section-label {
  margin: 0 0 10px 2px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.location-grid a {
  align-items: flex-start;
  min-height: 112px;
  padding: 14px;
  flex-direction: column;
}

.location-grid a > span:last-child { gap: 8px; }
.location-map { color: var(--teal) !important; font-weight: 700; }

.privacy-note {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}

@media (max-width: 560px) {
  .page-shell { display: block; padding: 0; }
  .download-card { min-height: 100vh; border: 0; border-radius: 0; box-shadow: none; }
  .download-actions { grid-template-columns: 1fr; }
  .store-button { min-height: 72px; }
  .location-grid { grid-template-columns: 1fr; }
  .location-grid a { min-height: 0; flex-direction: row; align-items: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
