:root {
  color-scheme: light;
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #0a161c;
  background: #fff;
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
button { font: inherit; }
img { display: block; max-width: 100%; }

:is(a, button):focus-visible {
  outline: 3px solid #0871ac;
  outline-offset: 5px;
}

.landing { display: flex; flex-direction: column; min-height: 100svh; }
.brand, .content, .footer { width: min(100% - 64px, 960px); margin-inline: auto; }

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-block: 36px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -.04em;
}

.brand img { width: 34px; height: auto; }
.content { flex: 1; padding-block: 46px 80px; }
.intro { margin-bottom: 50px; }
.eyebrow { margin: 0 0 16px; color: #0871ac; font-size: 14px; font-weight: 600; }

h1 {
  margin: 0;
  font-size: clamp(32px, 4.2vw, 48px);
  font-weight: 700;
  letter-spacing: -.055em;
  line-height: 1.35;
  word-break: keep-all;
}

.intro > p:last-child {
  margin: 20px 0 0;
  color: #53626c;
  font-size: 17px;
  line-height: 1.7;
  word-break: keep-all;
}

.downloads { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.download {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: 28px;
  border: 1px solid #e2e9ed;
  border-radius: 16px;
  background: #fbfcfd;
}

.download h2 { margin: 0; font-size: 23px; line-height: 1.4; letter-spacing: -.035em; }
.store-name { margin: 5px 0 0; color: #53626c; font-size: 14px; line-height: 1.5; }
.download-body { flex: 1; width: 100%; padding-block: 28px; }
.qr { width: 160px; height: 160px; background: #fff; image-rendering: pixelated; }
.qr-caption { margin: 12px 0 0; color: #53626c; font-size: 13px; line-height: 1.6; }
.pending { margin: 0; color: #53626c; font-size: 15px; line-height: 1.7; word-break: keep-all; }

.install {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border: 1px solid #0871ac;
  border-radius: 8px;
  background: #0871ac;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  word-break: keep-all;
}

.install[href]:hover { background: #075c8d; border-color: #075c8d; }
.install:disabled { border-color: #e2e9ed; background: #edf1f3; color: #58656e; cursor: default; }

.footer {
  padding-block: 28px max(32px, env(safe-area-inset-bottom));
  border-top: 1px solid #e2e9ed;
  color: #53626c;
  font-size: 13px;
  line-height: 1.8;
}

.footer nav { display: flex; flex-wrap: wrap; align-items: center; column-gap: 12px; }
.footer nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.footer-unavailable { display: inline-flex; flex-wrap: wrap; align-items: center; column-gap: 5px; min-height: 44px; }
.footer-unavailable small { font-size: 11px; }
.footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer .divider { color: #87949c; }
.company { display: flex; flex-wrap: wrap; column-gap: 16px; margin: 8px 0 0; }
.company a { text-underline-offset: 3px; overflow-wrap: anywhere; }

@media (max-width: 600px) {
  .brand, .content, .footer { width: calc(100% - 40px); }
  .brand { padding-block: 24px; }
  .content { padding-block: 34px 48px; }
  .intro { margin-bottom: 32px; }
  .intro > p:last-child { margin-top: 16px; font-size: 16px; }
  .downloads { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .download { padding: 24px; }
  .download-body { padding-block: 24px; }
  .footer { padding-top: 20px; }
  .footer nav { column-gap: 10px; }
}

@media (forced-colors: active) {
  .install { border-color: ButtonText; }
  .install:disabled { border-color: GrayText; color: GrayText; }
}
