/*  The download page.
 *
 *  Reached on a phone, usually outdoors, often by somebody who was sent the
 *  link and has never seen the app. Big tap targets, short lines, and the
 *  section for their own phone first.
 */

:root {
  --bg: #f5f7f9;
  --card: #ffffff;
  --line: #e3eaef;
  --text: #333f48;
  --dim: #5c6b75;
  --faint: #8a97a1;
  --accent: #0e5d74;
  --accent-strong: #083d4d;
  --accent-soft: #e6f6f4;
  --amber: #f39c12;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background:
    radial-gradient(900px 420px at 50% -8%, #e3f2f7 0%, rgba(227, 242, 247, 0) 62%),
    var(--bg);
  color: var(--text);
  font: 15px/1.6 "Segoe UI", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

.wrap { max-width: 560px; margin: 0 auto; padding: 34px 18px 60px; }

/* ------------------------------------------------------------------ head -- */

.head { text-align: center; margin-bottom: 22px; }
.logo { width: 74px; height: 74px; border-radius: 19px; box-shadow: 0 10px 28px rgba(8, 61, 77, .18); }
.head h1 { font-size: 23px; margin: 14px 0 0; letter-spacing: -.02em; }
.head .sub { color: var(--dim); font-size: 14.5px; margin: 8px auto 0; max-width: 400px; }

.detected {
  text-align: center;
  font-size: 12.5px;
  color: var(--faint);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 700;
  margin: 0 0 18px;
}
.detected.done {
  text-transform: none; letter-spacing: 0; font-size: 15px;
  color: var(--text); font-weight: 500;
}
.detected a { color: var(--accent); }

/* ----------------------------------------------------------------- cards -- */

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 20px 22px;
  margin-bottom: 14px;
  box-shadow: 0 1px 2px rgba(8, 61, 77, .05), 0 8px 24px rgba(8, 61, 77, .05);
}

/* The platform this person is not holding. Still reachable, just quieter. */
.card.secondary { opacity: .72; }

.card h2 { margin: 0 0 14px; font-size: 15px; }

.badge {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 5px 12px;
  border-radius: 999px;
}
.badge.plain { background: #eef3f6; color: var(--dim); }

.lead { margin: 0 0 14px; color: var(--dim); font-size: 14.5px; }

/* ---------------------------------------------------------------- button -- */

.btn {
  display: inline-block;
  background: #eef3f6;
  border: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 20px;
  border-radius: 11px;
  text-align: center;
}
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.primary:active { background: var(--accent-strong); }

/* The main action on a phone, so it is thumb-sized and full width. */
.btn.big { display: block; width: 100%; padding: 16px 20px; font-size: 16.5px; }

.btn.disabled {
  background: #eef3f6; border-color: var(--line);
  color: var(--faint); cursor: default;
}

.hint { font-size: 12.5px; color: var(--faint); text-align: center; margin: 9px 0 0; }

/* ----------------------------------------------------------------- steps -- */

.steps { margin: 16px 0 0; padding-left: 22px; }
.steps li { margin-bottom: 10px; color: var(--dim); font-size: 14.5px; }
.steps li strong { color: var(--text); }
.steps li:last-child { margin-bottom: 0; }

.glyph { font-size: 17px; color: var(--accent); }

.aside {
  margin: 16px 0 0;
  padding: 11px 13px;
  background: #f5f8fa;
  border-radius: 10px;
  font-size: 13.5px;
  color: var(--dim);
}
.aside.warn { background: #fff6e8; color: #7a5410; }

/* ------------------------------------------------------------------ foot -- */

.foot {
  text-align: center;
  color: var(--faint);
  font-size: 12.5px;
  margin: 26px 0 0;
  line-height: 1.9;
}
.foot a { color: var(--accent); }

@media (max-width: 420px) {
  .wrap { padding: 26px 14px 48px; }
  .card { padding: 17px 16px 19px; }
}
