:root {
  color-scheme: dark;
  --bg: #050505;
  --panel: #111111;
  --panel-2: #181818;
  --text: #ffffff;
  --muted: #c7c7c7;
  --primary: #ff7417;
  --primary-dark: #d85d0f;
  --border: rgba(255, 255, 255, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: max(24px, env(safe-area-inset-top)) 18px max(24px, env(safe-area-inset-bottom));
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 116, 23, 0.2), transparent 34%),
    linear-gradient(180deg, #080808 0%, #020202 100%);
}

.download-panel {
  width: min(100%, 420px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
}

.logo {
  width: 144px;
  height: 144px;
  border-radius: 32px;
  object-fit: contain;
  background: #000;
  border: 1px solid var(--border);
  box-shadow: 0 22px 70px rgba(255, 116, 23, 0.24), 0 12px 28px rgba(0, 0, 0, 0.45);
}

.copy {
  display: grid;
  gap: 10px;
}

h1 {
  margin: 0;
  font-size: clamp(30px, 8vw, 46px);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: 0;
}

p {
  margin: 0;
}

.copy p {
  color: var(--muted);
  font-size: clamp(17px, 4.4vw, 20px);
  line-height: 1.35;
  font-weight: 650;
}

.actions {
  width: 100%;
  display: grid;
  gap: 12px;
  margin-top: 4px;
}

.store-button {
  min-height: 66px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2px;
  padding: 12px 18px;
  border-radius: 14px;
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  background: var(--panel);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}

.store-button:active {
  transform: translateY(1px);
}

.store-button.google {
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #140802;
  border-color: rgba(255, 255, 255, 0.18);
}

.store-button.apple {
  background: var(--panel-2);
}

.store-button.is-disabled {
  opacity: 0.48;
  pointer-events: none;
}

.store-kicker {
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
  color: currentColor;
  opacity: 0.76;
}

.store-button strong {
  font-size: 22px;
  line-height: 1.05;
}

.fallback-note {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

@media (min-width: 700px) {
  .actions {
    grid-template-columns: 1fr 1fr;
  }
}
