:root {
  --bg: #edf6f2;
  --card: #ffffff;
  --text: #121827;
  --muted: #667287;
  --line: #dfe8e4;
  --primary: #0f8f66;
  --primary-dark: #0b7454;
  --primary-soft: #d9f1e9;
  --shadow: 0 26px 80px rgba(26, 66, 55, 0.15);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(180deg, #fbf7f1 0, rgba(251, 247, 241, 0) 170px),
    var(--bg);
}

button,
a {
  font: inherit;
}

img,
svg {
  display: block;
}

.page {
  width: min(380px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  padding: 18px 12px 30px;
}

.lang-switch {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.lang-switch button {
  min-height: 32px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  color: #263245;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 8px 22px rgba(31, 42, 59, 0.08);
  cursor: pointer;
}

.lang-switch button.is-active {
  color: #ffffff;
  background: var(--primary);
}

.download-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.top-band {
  min-height: 136px;
  padding: 18px 20px 0;
  background:
    linear-gradient(135deg, rgba(15, 143, 102, 0.12), rgba(255, 255, 255, 0.18)),
    #f7fbf9;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 8px;
  color: #ffffff;
  background: var(--primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.logo {
  width: 76px;
  height: 76px;
  margin-top: 18px;
  border-radius: 8px;
  box-shadow: 0 14px 32px rgba(31, 42, 59, 0.12);
}

.content {
  padding: 20px;
}

h1,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 10px;
  font-size: 40px;
  line-height: 0.98;
  letter-spacing: 0;
}

.summary {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.chips span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
}

.chips i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

.chips b {
  font-size: 12px;
}

.device-box {
  margin-bottom: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(31, 42, 59, 0.06);
}

.device-box span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
}

.device-box strong {
  display: block;
  font-size: 14px;
  line-height: 1.42;
}

.primary-button,
.desktop-actions a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border-radius: 8px;
  color: #ffffff;
  background: var(--primary);
  font-weight: 800;
  text-decoration: none;
}

.primary-button:hover,
.desktop-actions a:hover {
  background: var(--primary-dark);
}

.desktop-actions {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}

.desktop-actions a {
  min-height: 42px;
  padding: 0 10px;
  color: var(--primary-dark);
  background: var(--primary-soft);
  font-size: 12px;
}

.desktop-actions a:hover {
  color: #ffffff;
}

.is-desktop .desktop-actions {
  display: grid;
}

@media (max-width: 360px) {
  .lang-switch {
    overflow-x: auto;
  }

  .lang-switch button {
    flex: 1 0 auto;
  }

  h1 {
    font-size: 36px;
  }
}
