/* Post-download install pages — install-macos, install-windows, install-linux.
   Generated; edit scripts/build-install-pages.mjs and rerun npm run build:install.
   Colours come from the tokens in aevum.css so both themes follow the toggle. */

.ins-head h1{ margin-bottom:0; }

/* ── download ───────────────────────────────────────────────────────────── */
.ins-dl{ padding:56px 0 8px; }
.dl-row{ margin-bottom:34px; text-align:center; }
.dl-row .btn{ min-width:min(360px, 100%); justify-content:center; }

.dl-meta{
  font-family:'JetBrains Mono', monospace;
  font-size:11px; letter-spacing:.08em; color:var(--fg-faint);
  margin-top:14px; display:flex; flex-wrap:wrap; gap:8px; justify-content:center;
}
.dl-file{ color:var(--fg-soft); }
.dl-sep{ opacity:.5; }

.dl-verify{ margin-top:14px; text-align:left; max-width:640px; margin-inline:auto; }
.dl-verify summary{
  font-family:'JetBrains Mono', monospace; font-size:11px; letter-spacing:.12em;
  text-transform:uppercase; color:var(--accent); cursor:pointer; text-align:center;
}
.dl-verify summary:focus-visible{ outline:2px solid var(--accent); outline-offset:3px; }
.dl-verify p{
  font-family:'EB Garamond', Georgia, serif; font-size:16px; line-height:1.6;
  color:var(--fg-soft); margin:14px 0 10px;
}
.dl-sha{
  display:block; font-family:'JetBrains Mono', monospace; font-size:11px;
  color:var(--fg-faint); word-break:break-all; margin-bottom:10px;
}

/* Not-yet-built state: says so plainly instead of linking at a 404. */
.dl-row-pending{ text-align:left; }
.dl-pending{
  border:1px solid var(--hairline); border-radius:6px;
  padding:26px 28px; background:var(--surf-2); text-align:center;
}
.dl-pending-title{
  font-family:'JetBrains Mono', monospace; font-size:11px; letter-spacing:.14em;
  text-transform:uppercase; color:var(--fg-faint);
}
.dl-pending p{
  font-family:'EB Garamond', Georgia, serif; font-size:17px; line-height:1.6;
  color:var(--fg); margin:12px 0 18px;
}

.ins-fine{
  font-family:'EB Garamond', Georgia, serif; font-style:italic; font-size:15px;
  color:var(--fg-faint); text-align:center; margin-top:8px;
}

/* ── the unsigned-build note ────────────────────────────────────────────── */
.ins-warn{ padding:48px 0 8px; }
.warn-card{
  border:1px solid var(--hairline); border-left:2px solid var(--accent);
  border-radius:0 6px 6px 0; background:var(--surf-2);
  padding:34px 38px;
}
.warn-card h2{
  font-family:'Cormorant Garamond', Georgia, serif; font-style:italic; font-weight:500;
  font-size:32px; line-height:1.15; color:var(--fg); margin:10px 0 18px;
}
.warn-card p{
  font-family:'EB Garamond', Georgia, serif; font-size:17px; line-height:1.68;
  color:var(--fg); margin:0 0 14px;
}
.warn-card p:last-child{ margin-bottom:0; }

/* ── steps ──────────────────────────────────────────────────────────────── */
.ins-steps{ padding:64px 0 72px; }
.ins-steps h2, .ins-first h2{
  font-family:'Cormorant Garamond', Georgia, serif; font-style:italic; font-weight:500;
  font-size:34px; line-height:1.15; color:var(--fg); margin:10px 0 30px;
}
.steps{ list-style:none; margin:0; padding:0; }
.steps li{ display:flex; gap:20px; padding:24px 0; border-top:1px solid var(--hairline); }
.steps li:first-child{ border-top:0; padding-top:6px; }
/* A flex item is min-width:auto by default, so a wide <pre> would push the row
   past the viewport instead of scrolling inside its own box. */
.steps li > div{ min-width:0; flex:1; }
.step-n{
  flex:0 0 auto; width:30px; height:30px; border-radius:50%;
  border:1px solid var(--accent); color:var(--accent);
  font-family:'JetBrains Mono', monospace; font-size:12px;
  display:flex; align-items:center; justify-content:center;
}
.steps h3{
  font-family:'Cormorant Garamond', Georgia, serif; font-style:italic; font-weight:500;
  font-size:22px; color:var(--fg); margin:2px 0 10px;
}
.steps p{
  font-family:'EB Garamond', Georgia, serif; font-size:17px; line-height:1.65;
  color:var(--fg); margin:0 0 10px;
}
.steps p:last-child{ margin-bottom:0; }
.step-note{ color:var(--fg-soft); font-style:italic; font-size:16px; }

.ins-steps code, .ins-first code, .dl-verify code{
  font-family:'JetBrains Mono', monospace; font-size:13px;
  background:var(--surf-2); border:1px solid var(--hairline);
  border-radius:3px; padding:1px 6px; color:var(--fg);
}
.ins-steps pre, .dl-verify pre{
  background:var(--surf-2); border:1px solid var(--hairline); border-radius:4px;
  padding:14px 16px; margin:0 0 12px; overflow-x:auto;
}
.ins-steps pre code, .dl-verify pre code{ background:none; border:0; padding:0; }

/* ── first run ──────────────────────────────────────────────────────────── */
.ins-first{ padding:64px 0 72px; }
.ins-first p{
  font-family:'EB Garamond', Georgia, serif; font-size:17px; line-height:1.68;
  color:var(--fg); margin:0 0 14px;
}
.ins-first .ins-fine{ text-align:left; }
.ins-first a{ color:var(--accent); }

.ins-dl a:focus-visible, .ins-steps a:focus-visible,
.ins-warn a:focus-visible, .ins-first a:focus-visible{
  outline:2px solid var(--accent); outline-offset:3px; border-radius:1px;
}

@media (max-width:720px){
  .ins-dl{ padding-top:36px; }
  .warn-card{ padding:26px 22px; }
  .warn-card h2{ font-size:27px; }
  .ins-steps h2, .ins-first h2{ font-size:28px; }
  .steps li{ gap:14px; }
  .ins-steps pre, .dl-verify pre{ font-size:12px; }
}
