:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #173c59;
  background: #eef5f7;
}

* { box-sizing: border-box; }

body {
  min-height: 100vh;
  margin: 0;
  padding: 32px 18px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 20% 0%, rgba(122, 221, 236, 0.42), transparent 35%),
    linear-gradient(160deg, #f8fbfc 0%, #e4f0f3 100%);
}

.download-card {
  width: min(100%, 500px);
  min-width: 0;
  padding: 36px 30px 28px;
  text-align: center;
  background: #fff;
  border: 1px solid rgba(23, 60, 89, 0.1);
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(23, 60, 89, 0.14);
}

.app-icon {
  width: 96px;
  height: 96px;
  border-radius: 23px;
  box-shadow: 0 12px 30px rgba(23, 60, 89, 0.2);
}

.eyebrow {
  margin: 22px 0 5px;
  color: #137487;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(1.8rem, 7vw, 2.5rem);
  letter-spacing: -0.04em;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.intro {
  margin: 14px auto 22px;
  max-width: 350px;
  color: #526b7c;
  font-size: 1.05rem;
  line-height: 1.55;
}

.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 0 0 26px;
  padding: 0 12px;
  list-style: none;
  text-align: left;
}

.features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.96rem;
  line-height: 1.4;
}

.features svg {
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
  color: #137487;
}

.download-button,
.browser-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 54px;
  padding: 14px 17px;
  border-radius: 15px;
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
  line-height: 1.4;
}

.download-button {
  min-height: 58px;
  color: #fff;
  background: #173c59;
  box-shadow: 0 10px 24px rgba(23, 60, 89, 0.22);
}

.download-button svg {
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
}

.download-button:hover { background: #205472; }

a:focus-visible {
  outline: 3px solid #137487;
  outline-offset: 4px;
}

.version {
  margin: 12px 0 25px;
  color: #586e7d;
  font-size: 0.84rem;
  line-height: 1.5;
}

.instructions {
  padding: 20px 22px;
  text-align: left;
  background: #f5f9fa;
  border-radius: 17px;
}

h2 {
  margin: 0 0 11px;
  font-size: 1rem;
  line-height: 1.4;
}

.instructions ol {
  margin: 0;
  padding-left: 21px;
  color: #526b7c;
  font-size: 0.93rem;
  line-height: 1.65;
}

.instructions li + li { margin-top: 7px; }
.instructions strong { color: #173c59; }

.connection-note {
  margin: 14px 7px 24px;
  color: #586e7d;
  font-size: 0.84rem;
  line-height: 1.55;
}

.browser-option {
  padding-top: 24px;
  border-top: 1px solid #dce8ed;
}

.browser-option p {
  margin: 0 0 15px;
  color: #526b7c;
  font-size: 0.93rem;
  line-height: 1.55;
}

.browser-button {
  color: #173c59;
  background: #f5f9fa;
  border: 1px solid #c2d4dc;
  font-size: 0.93rem;
}

.browser-button:hover { background: #eaf2f5; }

.help {
  margin: 22px 0 0;
  color: #586e7d;
  font-size: 0.85rem;
  line-height: 1.65;
}

.help a { color: #173c59; text-underline-offset: 3px; }

@media (max-width: 420px) {
  body { padding: 18px 12px; }
  .download-card { padding: 28px 20px 24px; border-radius: 22px; }
  .instructions { padding: 18px; }
  .features { padding: 0 5px; }
}

@media (prefers-reduced-motion: no-preference) {
  .download-button,
  .browser-button { transition: background-color 160ms ease; }
}
