:root {
  --brand: #1959A6;
  --hero-brand: #267A98;
  --bg-screen: #F9FAFB;
  --text: #1E293B;
  --text-muted: #6B7280;
  --border: #E2E8F0;
  --surface: #FFFFFF;
  --radius-lg: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #e8f4f8 0%, var(--bg-screen) 42%);
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.app-download {
  max-width: 420px;
  margin: 0 auto;
  padding: 3rem 1.25rem 2.5rem;
  text-align: center;
}

.app-download__logo {
  margin: 0 auto 1rem;
}

.app-download__brand {
  color: var(--hero-brand);
  font-weight: 700;
  font-size: 0.9375rem;
  margin-bottom: 0.75rem;
}

.app-download__title {
  font-size: 1.75rem;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.app-download__intro {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.875rem;
}

.store-badges--page {
  margin-bottom: 2rem;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  min-width: 10.5rem;
  min-height: 3rem;
  padding: 0.5rem 0.875rem 0.5rem 0.625rem;
  background: #000;
  border-radius: 10px;
  color: #fff;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.store-badge--apple:hover,
.store-badge--apple:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  outline: none;
}

.store-badge--soon {
  opacity: 0.55;
  cursor: default;
}

.store-badge__icon {
  width: 1.75rem;
  height: 1.75rem;
  flex-shrink: 0;
}

.store-badge__icon--play {
  filter: grayscale(0.35);
}

.store-badge__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
  text-align: left;
}

.store-badge__label {
  font-size: 0.5625rem;
  letter-spacing: 0.03em;
  opacity: 0.88;
}

.store-badge__name {
  font-size: 1.0625rem;
  font-weight: 600;
}

.store-badge__soon {
  font-size: 0.875rem;
  font-weight: 700;
  color: #d97706;
}

.app-download__footer {
  margin-top: 2rem;
  font-size: 0.875rem;
}

.app-download__footer a {
  color: var(--brand);
  text-decoration: none;
}

.app-download__footer a:hover {
  text-decoration: underline;
}

/* Booth QR landing — email gate before store / waitlist */
.app-download--booth {
  padding-top: 2.5rem;
}

.booth-app__form {
  text-align: left;
  margin-bottom: 1.5rem;
}

.booth-app__label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.booth-app__input {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 1rem;
  color: var(--text);
  background: var(--surface);
  outline: none;
  margin-bottom: 0.875rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.booth-app__input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(25, 89, 166, 0.15);
}

.booth-app__submit {
  width: 100%;
  padding: 0.9375rem 1rem;
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.booth-app__submit:hover {
  background: #144a8a;
  transform: translateY(-1px);
}

.booth-app__submit:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}

.booth-app__honeypot {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.booth-app__status {
  margin: 0.75rem 0 0;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-size: 0.9375rem;
  font-weight: 600;
  text-align: center;
}

.booth-app__status--success {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.booth-app__status--error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.booth-app__next {
  margin-bottom: 1.5rem;
}

.booth-app__next-lead {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.booth-app__next-copy {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  font-size: 0.9375rem;
}

.booth-app__store-link {
  margin: 0 auto;
}

.booth-app__android-icon {
  margin: 0 auto 1rem;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.booth-app__privacy {
  margin-top: 1.5rem;
  font-size: 0.8125rem;
}
