/* Shared by install/windows.html and install/mac.html.
   Same visual language as site/index.html: light only, flat, monochrome ink on
   white, system font, fixed top-left mark, hairline bottom bar. No accent
   colour, no gradients, no glow. See site/DESIGN.md before changing anything here. */

:root {
  --bg: #ffffff;
  --ink: oklch(24% 0.02 50);
  --soft: oklch(44% 0.015 50);
  --muted: oklch(24% 0.02 50 / 0.5);
  --line: oklch(24% 0.02 50 / 0.16);
  --footer-h: 64px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}

/* Top-left mark. No banner, no nav — matches index.html. */
.mark {
  position: fixed; top: 24px; left: 24px; z-index: 10;
  width: 34px; height: 34px; border-radius: 50%; display: block;
}

main {
  flex: 1 0 auto;
  width: min(680px, 100%);
  margin: 0 auto;
  padding: clamp(104px, 17vh, 168px) 24px 96px;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--muted);
}
h1 {
  margin: 0 0 22px;
  font-size: clamp(1.9rem, 5vw, 2.6rem); font-weight: 700; letter-spacing: -0.02em;
  line-height: 1.12;
}
.lede { margin: 0 0 14px; font-size: 17px; line-height: 1.65; }
.lede.why { margin-bottom: 0; font-size: 15px; color: var(--soft); }
a { color: var(--ink); text-underline-offset: 2px; }

/* "Download started" strip. */
.status {
  margin: 32px 0 4px;
  padding: 13px 16px;
  border: 1px solid var(--line); border-radius: 12px;
  font-size: 14px;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 10px;
}
.status b { font-weight: 600; }

/* Numbered steps with a hairline spine. */
ol.steps {
  list-style: none;
  counter-reset: step;
  margin: 56px 0 0;
  padding: 0;
}
ol.steps > li {
  counter-increment: step;
  position: relative;
  padding: 1px 0 44px 56px;
}
ol.steps > li::before {
  content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 32px; height: 32px;
  border: 1.5px solid var(--ink); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
  background: var(--bg);
}
ol.steps > li:not(:last-child)::after {
  content: "";
  position: absolute; left: 15.5px; top: 40px; bottom: -26px;
  border-left: 1px solid var(--line);
}
ol.steps h2 {
  margin: 5px 0 8px;
  font-size: 17px; font-weight: 600; letter-spacing: -0.01em;
}
ol.steps p {
  margin: 0 0 14px;
  font-size: 15px; color: var(--soft);
}
ol.steps p:last-child { margin-bottom: 0; }
ol.steps strong { color: var(--ink); font-weight: 600; }

/* A drawn stand-in for an OS dialog — not a screenshot. */
.mock {
  margin: 12px 0 0;
  max-width: 380px;
  border: 1px solid var(--line); border-radius: 12px;
  padding: 15px 16px 13px;
}
.mock + .mock { margin-top: 10px; }
.mock-head {
  display: flex; align-items: center; gap: 8px;
  margin: 0 -16px 11px; padding: 0 16px 9px;
  border-bottom: 1px solid var(--line);
}
.mock-head svg { width: 15px; height: 15px; flex: none; color: var(--muted); }
.mock-title { font-size: 13.5px; font-weight: 600; }
.mock-body { margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--soft); }
.mock-kv { margin: 8px 0 0; font-size: 12.5px; line-height: 1.6; color: var(--ink); }
.mock-kv span { color: var(--muted); }
.mock-link {
  display: inline-block; margin-top: 8px;
  font-size: 12.5px; font-weight: 600;
  color: var(--ink); text-decoration: underline; text-underline-offset: 2px;
}
.mock-actions {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end;
  margin-top: 13px;
}
.mock-btn {
  font-size: 12.5px; font-weight: 600; white-space: nowrap;
  padding: 6px 12px; border-radius: 7px;
  border: 1.5px solid var(--ink); color: var(--ink); background: transparent;
}
.mock-btn.key { background: var(--ink); color: var(--bg); }

/* Drag-to-Applications stand-in. */
.drag {
  margin: 12px 0 0;
  display: flex; align-items: center; gap: 18px;
  width: fit-content; max-width: 100%;
  border: 1px solid var(--line); border-radius: 12px;
  padding: 18px 24px;
}
.drag-item {
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  font-size: 12px; color: var(--muted); text-align: center;
}
.drag-item img, .drag-item svg { width: 42px; height: 42px; }
.drag-item svg { color: var(--ink); }
.drag-arrow { flex: none; width: 24px; height: 24px; color: var(--muted); }

/* "What worked for me" disclosure. */
.tshoot {
  margin-top: 8px;
  border: 1px solid var(--line); border-radius: 12px;
}
.tshoot > summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; gap: 11px;
  padding: 14px 16px;
  font-size: 15px; font-weight: 600;
}
.tshoot > summary::-webkit-details-marker { display: none; }
.tshoot > summary::marker { content: ""; }
.tshoot-chev {
  flex: none; width: 15px; height: 15px; color: var(--muted);
  transition: transform .15s ease;
}
.tshoot[open] .tshoot-chev { transform: rotate(90deg); }
.tshoot-body {
  padding: 4px 16px 6px;
  border-top: 1px solid var(--line);
}
.tshoot-body p { margin: 12px 0; font-size: 14px; color: var(--soft); }
.tshoot-body ol { margin: 12px 0; padding-left: 22px; }
.tshoot-body li { margin: 0 0 9px; font-size: 14px; color: var(--soft); }
.tshoot-body strong { color: var(--ink); font-weight: 600; }

/* macOS-14-and-earlier footnote, and the "nothing happened" catch. */
.aside {
  margin-top: 22px; padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 14px; color: var(--soft);
}
.aside strong { color: var(--ink); font-weight: 600; }

.back {
  display: inline-block; margin-top: 30px;
  font-size: 14px; color: var(--muted); text-decoration: none;
}
.back:hover { color: var(--ink); }

/* Bottom bar — copied from index.html. */
.footer {
  flex: none;
  min-height: var(--footer-h);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 8px 24px; padding: 20px clamp(20px, 5vw, 48px);
  border-top: 1px solid var(--line);
  font-size: 13px; color: var(--muted);
}
.footer-brand { color: var(--ink); font-weight: 600; letter-spacing: -0.01em; }
.footer-est { color: var(--muted); font-weight: 400; letter-spacing: 0.06em; }

@media (max-width: 480px) {
  :root { --footer-h: 92px; }
  .footer { justify-content: center; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tshoot-chev { transition: none; }
}
