/* Motto coming-soon page.
   Colors mirror MottoApp/src/modules/design-system/colors.ts:
   brandPrimary #006E7F, brandSecondary #FF9F33, surface #FFFFFF,
   textMain #333333, textMuted #999999, textOnPrimary #FFFFFF. */

:root {
  --brand-primary: #006e7f;
  --brand-secondary: #ff9f33;
  --surface: #ffffff;
  --text-main: #333333;
  --text-muted: #999999;
  --text-on-primary: #ffffff;
  --shadow: rgba(0, 0, 0, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
}

body {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 5vw, 24px);
  /* Fluid padding + respect notches/safe areas on phones. */
  padding: max(clamp(16px, 5vw, 24px), env(safe-area-inset-top))
    max(clamp(16px, 5vw, 24px), env(safe-area-inset-right))
    max(clamp(16px, 5vw, 24px), env(safe-area-inset-bottom))
    max(clamp(16px, 5vw, 24px), env(safe-area-inset-left));
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    Arial, sans-serif;
  color: var(--text-main);
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
}

.card {
  width: 100%;
  max-width: 560px;
  background: var(--surface);
  border-radius: clamp(20px, 5vw, 28px);
  padding: clamp(28px, 6vw, 48px) clamp(22px, 5vw, 40px);
  text-align: center;
  box-shadow: 0 24px 60px var(--shadow);
  animation: rise 600ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: clamp(20px, 4vw, 28px);
}

.logo__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(40px, 11vw, 48px);
  height: clamp(40px, 11vw, 48px);
  border-radius: 14px;
  background: var(--brand-primary);
  color: var(--text-on-primary);
  font-weight: 600;
  font-size: clamp(24px, 6vw, 28px);
  line-height: 1;
}

.logo__word {
  font-weight: 600;
  font-size: clamp(24px, 6vw, 28px);
  letter-spacing: 0.5px;
  color: var(--brand-primary);
}

.title {
  margin: 0 0 12px;
  font-size: clamp(28px, 7vw, 40px);
  font-weight: 600;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tagline {
  margin: 0 auto clamp(24px, 5vw, 32px);
  max-width: 420px;
  font-size: clamp(15px, 4vw, 16px);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-muted);
}

.stores__caption {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.stores {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 168px;
  padding: 10px 18px;
  border-radius: 12px;
  background: #000000;
  color: #ffffff;
  text-decoration: none;
  cursor: default;
  pointer-events: none;
  opacity: 0.92;
}

.store-badge__logo {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

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

.store-badge__eyebrow {
  font-size: 11px;
  font-weight: 400;
  color: #ffffff;
}

.store-badge__name {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  color: #ffffff;
}

.footer {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-on-primary);
  opacity: 0.85;
  text-align: center;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .card {
    animation: none;
  }
}

/* Phones: stack the store badges full-width so they never overflow or look
   cramped beside each other. */
@media (max-width: 440px) {
  .stores {
    width: 100%;
    flex-direction: column;
    gap: 12px;
  }
  .store-badge {
    width: 100%;
    min-width: 0;
  }
}

/* Short / landscape viewports: tighten vertical rhythm so everything fits
   without the top of the card being clipped. */
@media (max-height: 520px) and (orientation: landscape) {
  body {
    justify-content: flex-start;
  }
  .logo {
    margin-bottom: 16px;
  }
  .tagline {
    margin-bottom: 20px;
  }
}
