:root {
  color-scheme: light;
  --orange: #ff5a00;
  --orange-dark: #e94300;
  --red: #eb171f;
  --ink: #211f20;
  --muted: #67616a;
  --line: #ece8e5;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 10%, rgba(255, 90, 0, .12), transparent 24rem),
    radial-gradient(circle at 92% 88%, rgba(235, 23, 31, .09), transparent 22rem),
    #fff;
}

a { color: inherit; }

.download-page {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
}

.download-card {
  width: min(100%, 31rem);
  text-align: center;
  padding: clamp(1.25rem, 5vw, 2.5rem);
  border: 1px solid rgba(255, 90, 0, .12);
  border-radius: 2rem;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 1.5rem 4rem rgba(74, 31, 5, .12);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-block;
  width: min(19rem, 86%);
  border-radius: 1rem;
  outline-offset: .4rem;
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

.welcome { margin: .4rem 0 1.6rem; }

.eyebrow {
  display: block;
  margin-bottom: .35rem;
  font-size: 1.15rem;
  font-weight: 650;
}

h1 {
  margin: 0;
  color: var(--red);
  font-size: clamp(1.65rem, 6vw, 2.15rem);
  line-height: 1.12;
  letter-spacing: -.035em;
}

h1 strong { color: var(--orange-dark); }

.welcome p {
  margin: .65rem auto 0;
  max-width: 22rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.5;
}

.store-list {
  display: grid;
  gap: .75rem;
  width: min(100%, 22rem);
  margin: 0 auto;
}

.store-button {
  min-height: 5rem;
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: .65rem 1.15rem;
  overflow: hidden;
  color: #fff;
  text-align: left;
  text-decoration: none;
  border: 2px solid #3d3d3d;
  border-radius: .85rem;
  background: #050505;
  box-shadow: 0 .35rem .8rem rgba(0, 0, 0, .14);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

a.store-button:hover {
  transform: translateY(-2px);
  border-color: var(--orange);
  box-shadow: 0 .65rem 1.2rem rgba(0, 0, 0, .18);
}

.store-button:focus-visible,
.order-link:focus-visible,
.social-links a:focus-visible,
.brand:focus-visible {
  outline: 3px solid rgba(255, 90, 0, .35);
}

.store-button svg {
  flex: 0 0 auto;
  width: 2.7rem;
  height: 3rem;
}

.store-button span { display: grid; }

.store-button small {
  font-size: .86rem;
  line-height: 1;
  letter-spacing: .01em;
  text-transform: uppercase;
}

.store-button b {
  margin-top: .2rem;
  font-size: 1.85rem;
  line-height: 1;
  letter-spacing: -.04em;
}

.order-link {
  display: inline-block;
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: .95rem;
  text-underline-offset: .2rem;
}

.order-link strong { color: var(--orange-dark); }

.social-links {
  display: flex;
  justify-content: center;
  gap: .75rem;
  margin-top: 1.6rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
}

.social-links a {
  width: 2.8rem;
  height: 2.8rem;
  display: grid;
  place-items: center;
  color: var(--red);
  border: 1px solid rgba(235, 23, 31, .18);
  border-radius: 50%;
  background: #fff7f4;
  transition: color .18s ease, background .18s ease, transform .18s ease;
}

.social-links a:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--red));
  transform: translateY(-2px);
}

.social-links svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-links .fill {
  fill: currentColor;
  stroke: none;
}

@media (max-width: 36rem) {
  .download-page { padding: 0; }

  .download-card {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .brand { width: min(17rem, 82%); }

  .store-button { min-height: 4.75rem; }

  .store-button b { font-size: 1.65rem; }
}

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