:root {
  --text-primary: #111111;
  --text-secondary: #454545;
  --surface: #ffffff;
  --bg: #f4f5f7;
  --badge-bg: #000000;
  --badge-text: #ffffff;
  --footer-border: #d9dbe1;
  --container: 1120px;
}

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

body {
  margin: 0;
  font-family: "Roboto", Arial, sans-serif;
  background: var(--bg);
  color: var(--text-primary);
}

.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

.site-header,
.hero,
.site-footer {
  width: min(100% - 3rem, var(--container));
  margin-inline: auto;
}

.site-header {
  padding: 1.5rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
}

.brand-logo {
  width: 44px;
  height: 44px;
}

.brand-text {
  font-size: 1.1rem;
  font-weight: 700;
}

.hero {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 460px);
  gap: 2.2rem;
  align-items: center;
  padding: 2rem 0 3.2rem;
}

.hero-copy h1 {
  margin: 0 0 0.8rem;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.08;
}

.hero-subtitle {
  margin: 0;
  color: var(--text-secondary);
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
  font-weight: 500;
}

.store-badges {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  background: var(--badge-bg);
  color: var(--badge-text);
  border-radius: 999px;
  padding: 0.9rem 1.35rem;
  min-width: 255px;
  user-select: none;
}

.badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.badge-icon-image {
  width: 34px;
  height: 34px;
  object-fit: contain;
  flex: 0 0 34px;
}

.badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.badge-overline {
  font-size: 0.78rem;
  font-weight: 400;
}

.badge-title {
  margin-top: 0.1rem;
  font-size: 2rem;
  font-weight: 500;
}

.hero-media {
  width: 100%;
}

.hero-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 2.2rem;
  display: block;
}

.support-hero {
  padding: 2rem 0 3.2rem;
}

.support-hero-inner {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.support-title {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.1;
}

.support-description {
  margin: 1.5rem auto 0;
  max-width: 860px;
  color: var(--text-primary);
  font-size: clamp(1.2rem, 2.5vw, 2rem);
  line-height: 1.35;
}

.support-email-card {
  margin: 2rem auto 0;
  width: 100%;
  border: 1px solid #d8d8d8;
  border-radius: 18px;
  background: #f9f9f9;
  padding: 2rem 1rem;
}

.support-email-link {
  color: #1f5fa7;
  text-decoration: none;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  font-weight: 500;
}

.support-email-link:hover,
.support-email-link:focus-visible {
  text-decoration: underline;
  outline: none;
}

.site-footer {
  border-top: 1px solid var(--footer-border);
  padding: 1.4rem 0 2rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.4rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
}

.footer-links a:hover,
.footer-links a:focus-visible,
.brand:focus-visible {
  text-decoration: underline;
  outline: none;
}

.copyright {
  margin: 0.85rem 0 0;
  color: var(--text-secondary);
  font-size: 0.94rem;
}

@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-media {
    max-width: 560px;
  }

  .badge-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 600px) {
  .site-header,
  .hero,
  .site-footer {
    width: min(100% - 1.4rem, var(--container));
  }

  .brand-text {
    font-size: 0.98rem;
  }

  .store-badge {
    min-width: 100%;
    padding-inline: 1.2rem;
  }

  .badge-title {
    font-size: 1.65rem;
  }

  .support-description {
    margin-top: 1rem;
  }

  .support-email-card {
    margin-top: 1.4rem;
    padding: 1.4rem 0.8rem;
    border-radius: 14px;
  }
}
