@font-face {
  font-family: Poppins;
  src: url('/assets/fonts/poppins-400.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Poppins;
  src: url('/assets/fonts/poppins-700.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-width: 280px;
  min-height: 100vh;
  min-height: 100svh;
  background: #fff;
  color: #24272c;
  font-family: Poppins, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.download-page {
  width: min(100%, 544px);
  margin-inline: auto;
  padding: max(64px, env(safe-area-inset-top)) 32px 64px;
  text-align: center;
}

.app-icon {
  display: block;
  width: 112px;
  height: 112px;
  margin-inline: auto;
  border-radius: 26px;
  box-shadow: 0 8px 24px #07533a18;
}

h1 {
  margin: 20px 0 0;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -1px;
}

h1 span { display: block; }

.install-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 68px;
  margin-top: 58px;
  padding: 18px 16px;
  border: 1px solid #ffffff38;
  border-radius: 7px;
  background: linear-gradient(180deg, #159775 0%, #007352 100%);
  box-shadow: 0 5px 12px #08765326, inset 0 1px 0 #ffffff29;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  transition: box-shadow 160ms ease, background 160ms ease;
}

.install-button:hover {
  background: linear-gradient(180deg, #118567 0%, #006246 100%);
  box-shadow: 0 7px 18px #08765335;
}

.install-button:active { box-shadow: inset 0 2px 5px #003b3030; }
.install-button:focus-visible { outline: 3px solid #b97a17; outline-offset: 5px; }

.download-note {
  margin: 12px 0 0;
  color: #73787d;
  font-size: 11px;
  line-height: 1.6;
}

.download-note [aria-hidden] { margin-inline: 5px; }
.benefit { margin-top: 47px; }

h2 {
  margin: 0;
  font-size: 25px;
  line-height: 1.35;
  letter-spacing: -.8px;
}

.app-features {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin: 23px 0 0;
}

.audio-icon { width: 40px; height: 32px; color: #c18a27; flex-shrink: 0; }
.underlined { position: relative; font-size: 15px; font-weight: 700; white-space: nowrap; }
.underline { position: absolute; top: calc(100% + 2px); left: -7px; width: calc(100% + 14px); height: 10px; color: #8bcdb0; }

.language-control {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 56px;
  color: #73787d;
  font-size: 12px;
}

.language-control[hidden] { display: none; }
.language-control select {
  max-width: 100%;
  padding: 10px 12px;
  border: 1px solid #dce5df;
  border-radius: 6px;
  background: #fff;
  color: #24272c;
  font: inherit;
  cursor: pointer;
}
.language-control select:focus-visible { outline: 3px solid #b97a17; outline-offset: 3px; }
:lang(fr) .install-button { font-size: 17px; }

@media (max-width: 399px) {
  :lang(fr) h1 { font-size: 26px; }
  :lang(fr) .install-button { font-size: 14px; }
}

@media (min-width: 600px) {
  .download-page { padding-top: 88px; }
  .app-icon { width: 144px; height: 144px; border-radius: 33px; }
  h1 { font-size: 36px; margin-top: 24px; }
  .install-button { margin-top: 72px; min-height: 80px; font-size: 23px; }
  .benefit { margin-top: 55px; }
  h2 { font-size: 29px; }
  .underlined { font-size: 18px; }
}

@media (max-width: 359px) {
  .download-page { padding-inline: 24px; padding-top: 40px; }
  h1 { font-size: 26px; }
  h2 { font-size: 22px; }
  .install-button { margin-top: 44px; font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .install-button { transition: none; }
}
