/* ===== Kovalink — /download (Mac install) & /download/mac (direct download) ===== */

/* Three numbered install steps — quiet circles, monochrome (micro-156) */
.install-steps {
  list-style: none;
  padding-left: 0;
  margin: 8px 0 24px;
  display: grid;
  gap: 16px;
  counter-reset: steps;
}
.install-steps li {
  counter-increment: steps;
  position: relative;
  padding-left: 46px;
  margin: 0;
}
.install-steps li::before {
  content: counter(steps);
  position: absolute;
  left: 0;
  top: 1px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  font-size: 13px;
  color: var(--grey);
}

/* System requirement line */
.sys-req {
  margin-top: 0;
  color: var(--grey);
  font-size: 15px;
}

/* Main CTA — one loud element per page, rest stays quiet. Colors live in
   styles.css (.btn.btn-fill / .btn.btn-outline); only sizing lives here. */
.cta-wrap {
  margin: 30px 0 6px;
}
.cta-wrap .btn {
  min-width: 220px;
}
.dl-cta[aria-disabled="true"] {
  opacity: 0.4;
  pointer-events: none;
  cursor: default;
}

.ios-note {
  margin-top: 26px;
}
/* The iOS note is a link only once site.js validates the TestFlight invite;
   until then it renders as plain text — no dead links (micro-168b) */
a.ios-note:not([href]) {
  color: var(--grey);
  text-decoration: none;
}

/* /download/mac — direct download page (micro-168) */
.mac-redirect .available {
  margin-top: 8px;
  font-size: 15px;
}
.mac-redirect #mac-file-meta {
  margin: 10px 0 0;
}
.mac-redirect #mac-start-note {
  margin: 14px 0 0;
}
/* .btn is inline-flex, which outranks the UA [hidden] rule — hide explicitly
   while no DMG URL is published */
.mac-redirect #mac-direct-link[hidden],
.mac-redirect #mac-file-meta[hidden],
.mac-redirect #mac-start-note[hidden] {
  display: none;
}
.mac-redirect .steps-link {
  margin-top: 26px;
}

/* "First time?" entry link to /guide (micro-166) */
.guide-note {
  margin-top: 14px;
}

/* version sits one word-space after the label (flex gap, no text node) */
.cta-wrap .btn { gap: .3em; }
