:root {
  color-scheme: dark;
  --bg: #07101a;
  --surface: rgba(13, 21, 34, 0.92);
  --surface-border: rgba(138, 178, 255, 0.16);
  --text-primary: #f4f7fb;
  --text-secondary: #b4bfd3;
  --accent: #a6d0ff;
  --shadow-soft: 0 24px 56px rgba(0, 0, 0, 0.34);
}

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

body {
  margin: 0;
  min-width: 320px;
  font-family: "Instrument Sans", sans-serif;
  background:
    radial-gradient(circle at top, rgba(76, 136, 255, 0.18), transparent 28%),
    linear-gradient(180deg, #08111b 0%, #050a11 100%);
  color: var(--text-primary);
}

a {
  color: inherit;
  text-decoration: none;
}

.landing-shell {
  width: min(calc(100% - 24px), 760px);
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  place-items: center;
  padding: 28px 0;
}

.redirect-card {
  width: 100%;
  padding: 40px 28px;
  text-align: center;
  border-radius: 32px;
  border: 1px solid var(--surface-border);
  background: linear-gradient(180deg, rgba(15, 24, 38, 0.96), rgba(10, 16, 26, 0.92));
  box-shadow: var(--shadow-soft);
}

.app-icon {
  width: 84px;
  height: 84px;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.26);
}

h1 {
  margin: 18px 0 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(2rem, 6vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.lead,
.helper-text {
  color: var(--text-secondary);
  line-height: 1.72;
}

.lead {
  margin: 18px auto 28px;
  max-width: 36ch;
}

.badge-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.badge-divider {
  width: 1px;
  height: 34px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.16),
    rgba(255, 255, 255, 0)
  );
}

.badge-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity 160ms ease;
}

.badge-link:hover,
.badge-link:focus-visible {
  opacity: 0.96;
}

.badge-link img {
  display: block;
  height: 54px;
  width: auto;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.24));
}

.helper-text {
  margin: 24px 0 0;
}

.helper-text a {
  color: var(--accent);
}

@media (max-width: 520px) {
  .redirect-card {
    padding: 32px 20px;
    border-radius: 24px;
  }

  .app-icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
  }

  h1 {
    font-size: clamp(1.7rem, 9vw, 2.35rem);
    line-height: 1.08;
  }

  .lead,
  .helper-text {
    font-size: 0.97rem;
    line-height: 1.68;
  }

  .lead {
    margin: 16px auto 24px;
    max-width: 28ch;
  }

  .badge-link img {
    height: 50px;
  }

  .badge-group {
    flex-direction: column;
    gap: 14px;
  }

  .badge-divider {
    width: 54px;
    height: 1px;
  }
}
