/* Download page only. It has no hero, so the navbar is glass from the first frame. */

.download-page { background: var(--surface-tint); }

.nav__brand--link { color: inherit; text-decoration: none; min-height: 44px; }

.download {
  max-width: 760px;
  margin: 0 auto;
  padding: 120px 24px 64px;
}

.download__card {
  padding: 40px;
  border: 1px solid var(--border-hairline);
  border-radius: 20px;
  background: var(--paper);
  box-shadow: var(--card-shadow);
}

.download__title {
  margin: 0 0 8px;
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.download__lead { margin: 0 0 32px; font-size: 17px; color: var(--ink-muted); }

.steps {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 16px;
}

.step {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-radius: 16px;
  background: var(--surface-tint);
}

.step__label {
  align-self: flex-start;
  margin-bottom: 16px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--brand-tint);
  color: var(--brand-blue);
  font: 600 12px/1.2 var(--font-code);
  text-transform: uppercase;
}

.step__label--go { background: var(--success-tint); color: var(--success); }
.step__title { margin: 0 0 8px; font-size: 18px; font-weight: 700; }
.step__text { margin: 0 0 16px; font-size: 15px; color: var(--ink-muted); flex: 1; }
.step__text strong { color: var(--ink-dark); font-weight: 600; }

.step__hint {
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid var(--border-hairline);
  font-size: 13px;
  color: var(--ink-muted);
}

.step__hint code { font-family: var(--font-code); font-variant-ligatures: none; }
.step__hint b { color: var(--success); }

.why {
  padding: 20px 24px;
  border: 1px solid var(--border-hairline);
  border-radius: 16px;
  font-size: 15px;
  color: var(--ink-muted);
}

.why__title { margin: 0 0 8px; font-size: 16px; font-weight: 600; color: var(--ink-dark); }
.why p { margin: 0 0 8px; }
.why .why__small { margin: 0; font-size: 13px; }
.why strong { color: var(--ink-dark); font-weight: 600; }

.download__card + .download__card { margin-top: 16px; }
.download__subtitle { margin: 0 0 24px; font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }

/* ---------- Get it ---------- */

/* The one action on the page sits on the centre line with its heading. */
.get > .download__title,
.get > .download__lead { text-align: center; }
.get__desktop { display: flex; flex-direction: column; align-items: center; text-align: center; }
.get__button { width: 100%; max-width: 360px; }
.get__started { margin: 16px 0 0; padding: 12px 16px; border-radius: 12px; background: var(--success-tint); color: var(--success); font-size: 15px; }

.get__phone-text {
  display: flex;
  gap: 10px;
  margin: 0 0 16px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--brand-tint);
  font-size: 15px;
}

.get__phone-text [data-icon] { width: 20px; height: 20px; color: var(--brand-blue); }
.get__phone-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.get__anyway { display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; font-size: 13px; color: var(--ink-muted); }

/* ---------- Release facts ---------- */

.facts {
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: start;
  gap: 8px 40px;
  margin: 32px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--border-hairline);
}

.facts dt { font-size: 12px; color: var(--ink-muted); }
.facts dd { margin: 2px 0 0; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }

.checksum { margin-top: 24px; }
.checksum__label { margin: 0 0 8px; font-size: 12px; color: var(--ink-muted); }
.checksum__row { display: flex; align-items: center; gap: 8px; }

.checksum__value {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--surface-tint);
  font: 400 13px/1.4 var(--font-code);
  word-break: break-all;
}

.checksum__copy { flex-shrink: 0; }
.checksum__copy [data-icon] { width: 16px; height: 16px; }
.checksum__help { margin: 12px 0 0; font-size: 13px; color: var(--ink-muted); }
.checksum__help code { font-family: var(--font-code); font-size: 12px; }
.checksum__help a { color: var(--brand-blue); text-underline-offset: 3px; }

@media (max-width: 640px) {
  .download { padding: 96px 16px 48px; }
  .download__card { padding: 24px 20px; }
  .facts { grid-template-columns: repeat(2, auto); gap: 12px 32px; }
}

/* Privacy page reuses the download card; only the long-form text needs rules. */
.policy h2 { margin: 32px 0 8px; font-size: 18px; font-weight: 700; }
.policy ul { margin: 0; padding-left: 20px; color: var(--ink-muted); }
.policy li + li { margin-top: 6px; }
.policy p { color: var(--ink-muted); }
.policy a { color: var(--brand-blue); }

/* Per-tool pages (tools/<slug>.html) reuse the download cards; these are the extras. */
.tool-page__crumbs { margin: 0 0 16px; font-size: 13px; color: var(--ink-muted); }
.tool-page__crumbs a { color: var(--brand-blue); text-underline-offset: 3px; }
.tool-page__icon {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 12px;
  border-radius: 14px;
  background: var(--brand-tint);
  color: var(--brand-blue);
}
.tool-page__icon > svg { width: 24px; height: 24px; }
.tool-page__note { margin: 12px 0 0; font-size: 13px; color: var(--ink-muted); }
.policy .tool-page__related { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.policy .tool-page__related li + li { margin-top: 0; }
.tool-page__related-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--border-hairline);
  border-radius: 999px;
  text-decoration: none;
}
