:root {
  --canvas: #fcfaf5;
  --midnight: #1a2830;
  --text-mid: #506878;
  --sunset: #c89858;
  --gold: #ad8950;
  --border: #e0d9cc;
  --midday: #2e6da4;
}
* {
  box-sizing: border-box;
}
html {
  min-height: 100%;
}
body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  background: var(--canvas);
  color: var(--midnight);
  font-family: 'Raleway', sans-serif;
}
main {
  flex: 1;
  display: flex;
  align-items: center;
}
a {
  color: var(--midday);
  text-underline-offset: 4px;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--midday);
  outline-offset: 4px;
}
.skip-link {
  position: absolute;
  left: 20px;
  top: -100px;
  padding: 14px;
  background: white;
  z-index: 2;
}
.skip-link:focus {
  top: 12px;
}
.download {
  width: min(100%, 1560px);
  margin: auto;
  padding: 72px 64px 104px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(48px, 9vw, 190px);
  align-items: center;
}
.intro {
  min-width: 0;
}
.brand {
  display: inline-block;
  width: min(100%, 360px);
  margin-bottom: 38px;
}
.brand img {
  display: block;
  width: 100%;
  height: auto;
}
.free-pill {
  display: table;
  margin: 0 0 28px;
  padding: 11px 24px;
  border: 1px solid #ecd6aa;
  border-radius: 100px;
  background: #fff2d9;
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
}
h1 {
  margin: 0 0 22px;
  font-size: clamp(48px, 4vw, 72px);
  font-weight: 300;
  letter-spacing: -1.5px;
  line-height: 1.12;
}
h1 em {
  color: var(--sunset);
  font-weight: 300;
}
.lead {
  max-width: 530px;
  margin: 0 0 48px;
  color: var(--text-mid);
  font-size: clamp(18px, 1.45vw, 24px);
  line-height: 1.55;
}
.choice-heading {
  margin: 0 0 18px;
  font-size: clamp(22px, 1.7vw, 28px);
  font-weight: 500;
}
.phone-choices {
  display: grid;
  gap: 14px;
  max-width: 500px;
}
.phone-choice {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: 96px;
  padding: 18px 32px;
  border: 0;
  border-radius: 16px;
  background: #c4c7c8;
  color: var(--midnight);
  text-align: left;
  font: inherit;
  cursor: pointer;
  transition: background 0.15s ease;
}
.phone-choice:hover {
  background: #acb1b3;
}
.phone-choice[aria-pressed='true'] {
  background: var(--gold);
}
.phone-choice[aria-pressed='true']:hover {
  background: #bb995f;
}
.phone-choice-small {
  font-size: 16px;
  line-height: 1.2;
}
.phone-choice-name {
  font-size: 23px;
  font-weight: 600;
  line-height: 1.3;
}
.web-link {
  margin: 22px 0 0;
  color: var(--text-mid);
  font-size: 15px;
  line-height: 1.5;
}
.scan-card {
  min-width: 0;
  padding: 70px 52px 42px;
  border: 1px solid var(--border);
  border-radius: 26px;
  background: white;
  box-shadow: 0 16px 42px #1a28300b;
  text-align: center;
}
.qr-panel[hidden] {
  display: none;
}
.qr-code {
  display: block;
  width: min(100%, 310px);
  height: auto;
  margin: 0 auto 42px;
  image-rendering: pixelated;
}
.qr-panel h2 {
  margin: 0 0 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(18px, 1.35vw, 22px);
  line-height: 1.3;
}
.qr-panel p {
  max-width: 440px;
  margin: 0 auto;
  color: var(--text-mid);
  font-size: 17px;
  line-height: 1.55;
}
.native-install {
  min-height: 48px;
  margin: 24px auto 0;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  background: var(--midnight);
  color: var(--canvas);
  font:
    600 16px/1.3 'DM Sans',
    sans-serif;
  cursor: pointer;
}
.native-install:hover {
  background: var(--text-mid);
}
.native-install[hidden] {
  display: none;
}
.store-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid #eee8de;
}
.store-badges a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
}
.store-badges img {
  display: block;
  max-width: 100%;
  height: auto;
}
.store-badges a:nth-child(2) {
  width: 168px;
  margin: 0 -9px;
}
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 30px;
  padding: 18px max(24px, calc((100vw - 1432px) / 2));
  background: var(--midnight);
  color: #93a0a9;
}
.wordmark {
  color: #dce3e6;
  font-size: 20px;
  font-weight: 300;
  text-decoration: none;
  white-space: nowrap;
}
.wordmark span {
  color: #e8cc70;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
footer nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #aab5bd;
  font-size: 14px;
  text-decoration: none;
}
footer nav a:hover {
  color: white;
  text-decoration: underline;
}
footer p {
  margin: 0;
  font-size: 13px;
}
@media (max-width: 960px) {
  .download {
    gap: 38px;
    padding: 48px 28px 72px;
  }
  .scan-card {
    padding: 48px 24px 32px;
  }
  .qr-code {
    margin-bottom: 28px;
  }
}
@media (max-width: 700px) {
  main {
    display: block;
  }
  .download {
    grid-template-columns: minmax(0, 1fr);
    gap: 38px;
    padding: 36px 24px 60px;
  }
  .brand {
    width: min(100%, 280px);
    margin-bottom: 24px;
  }
  h1 {
    font-size: clamp(44px, 11vw, 64px);
  }
  .lead {
    margin-bottom: 32px;
  }
  .phone-choices {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .phone-choice {
    min-height: 90px;
    padding: 14px 18px;
  }
  .phone-choice-name {
    font-size: 17px;
  }
  .phone-choice-small {
    font-size: 13px;
  }
  .scan-card {
    padding: 30px 16px;
  }
  .qr-code {
    width: min(100%, 280px);
  }
  .qr-panel p {
    font-size: 15px;
  }
  footer {
    padding: 24px;
  }
}
@media (max-width: 370px) {
  .phone-choices {
    grid-template-columns: minmax(0, 1fr);
  }
  .phone-choice {
    min-height: 72px;
  }
}
