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

:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-soft: #fafafa;
  --text: #1a1a1a;
  --text-muted: #5c5c5c;
  --red: #c41e3a;
  --red-hover: #a31830;
  --red-soft: #fde8ec;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
    sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
}

.lang-switch {
  position: fixed;
  top: clamp(0.75rem, 3vw, 1rem);
  right: clamp(0.75rem, 3vw, 1rem);
  z-index: 10;
  display: flex;
  gap: 0.35rem;
  padding: 0.3rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-radius: 10px;
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.06);
}

.lang-switch__btn {
  margin: 0;
  padding: 0.4rem 0.55rem;
  min-width: 2.35rem;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  background: transparent;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: color 0.15s ease, background 0.15s ease;
}

a.lang-switch__btn:visited {
  color: var(--text-muted);
}

a.lang-switch__btn.is-active:visited {
  color: #fff;
}

.lang-switch__btn:hover:not(.is-active) {
  color: var(--text);
  background: var(--bg-soft);
}

.lang-switch__btn.is-active:hover {
  color: #fff;
  background: var(--red-hover);
}

.lang-switch__btn:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.lang-switch__btn.is-active {
  color: #fff;
  background: var(--red);
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: clamp(1.5rem, 5vw, 3rem) 1.25rem;
  background: radial-gradient(
      ellipse 120% 80% at 50% -20%,
      var(--red-soft),
      var(--bg) 55%
    ),
    var(--bg);
}

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 28rem;
  width: 100%;
}

.app-icon {
  width: clamp(88px, 22vw, 120px);
  height: auto;
  aspect-ratio: 1;
  border-radius: 22%;
  margin-bottom: 1.25rem;
}

.eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
}

.title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.subtitle {
  margin: 0 0 2rem;
  font-size: clamp(1rem, 2.8vw, 1.125rem);
  color: var(--text-muted);
  max-width: 22em;
}

.download-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  padding: 0.95rem 1.75rem;
  min-width: min(100%, 280px);
  background: var(--red);
  color: #fff;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(196, 30, 58, 0.35);
  transition: background 0.15s ease, transform 0.15s ease,
    box-shadow 0.15s ease;
}

.download-btn:hover {
  background: var(--red-hover);
  box-shadow: 0 6px 20px rgba(196, 30, 58, 0.4);
}

.download-btn:active {
  transform: scale(0.98);
}

.download-btn:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.download-btn__label {
  font-size: 1.05rem;
}

.download-btn__meta {
  font-size: 0.8rem;
  font-weight: 500;
  opacity: 0.92;
}

.footer {
  padding-top: 2rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8125rem;
}

@media (min-width: 480px) {
  .download-btn {
    min-width: 260px;
  }
}
