/* The pages around the landing page: /download and /updates. Same type, buttons and dithered sky as the landing page. */
.v-sub { background: var(--paper); color: var(--ink); }
.pg-hero { position: relative; isolation: isolate; overflow: hidden; margin: 76px clamp(10px, 1.6vw, 20px) 0; border-radius: 28px;
  min-height: 340px; display: grid; place-items: center; text-align: center; color: var(--ink); background: var(--paper); }
/* The app's own new-page picture, filled and unsmoothed as the app draws it, under a soft veil for the words. */
.pg-art { position: absolute; inset: 0; z-index: -1; background: var(--art-l) center / cover no-repeat; image-rendering: pixelated; }
.pg-art::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 50% 50%, color-mix(in srgb, var(--paper) 62%, transparent), color-mix(in srgb, var(--paper) 18%, transparent)); }
@media (prefers-color-scheme: dark) { .pg-art { background-image: var(--art-d); } }
.pg-hero-in { padding: clamp(44px, 7vw, 84px) 22px; max-width: 760px; }
.pg-hero h1 { font: 800 clamp(38px, 5.4vw, 66px)/1.02 var(--display); letter-spacing: -.015em; margin: 0; text-wrap: balance; }
.pg-hero p { font-size: clamp(17px, 1.6vw, 19px); line-height: 1.55; margin: 16px auto 0; max-width: 56ch; color: var(--ink-2); }
.pg-hero .micro { font-size: 14px; color: var(--ink-2); margin-top: 18px; }
.pg-main { width: min(1120px, 100% - 40px); margin: 0 auto; padding: clamp(56px, 7vw, 96px) 0 clamp(64px, 8vw, 110px); }
.pg-main h2 { font: 800 clamp(28px, 3.2vw, 40px)/1.08 var(--display); letter-spacing: -.01em; margin: 0; text-wrap: balance; }
.btn.ghost { color: var(--ink); background: transparent; box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.ghost:active { top: 0; }

/* /download */
.dl-icon { display: block; margin: 0 auto 14px; width: 112px; height: 112px; filter: drop-shadow(0 14px 26px rgba(5, 15, 40, .35)); }
.dl-again { margin-top: 26px !important; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.dl-quiet { margin-top: 14px !important; font-size: 15px; }
.dl-quiet a { color: var(--ink-2); }
.keys1 { margin-top: clamp(48px, 6vw, 80px); text-align: center; }
.keys1 ul { list-style: none; padding: 0; margin: 22px 0 0; display: flex; justify-content: center; gap: 14px 34px; flex-wrap: wrap; }
.keys1 li { display: flex; align-items: center; gap: 10px; font-size: 16.5px; color: var(--ink-2); }
.keys1 .keys kbd { height: 30px; min-width: 30px; font-size: 14px; }
.steps-title { text-align: center; }
.steps { list-style: none; padding: 0; margin: clamp(32px, 4vw, 48px) 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: s; }
.step { border-radius: 24px; background: var(--card-bg, #fff); box-shadow: inset 0 0 0 1px var(--line), 0 18px 40px -30px rgba(10, 20, 50, .45); overflow: hidden; display: flex; flex-direction: column; }
.step-pic { aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 22px; position: relative; isolation: isolate; overflow: hidden;
  background: linear-gradient(160deg, color-mix(in srgb, var(--ink) 6%, var(--paper)), color-mix(in srgb, var(--ink) 2.5%, var(--paper))); }
.step-txt { padding: 20px 22px 24px; }
.step-n { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; font: 700 15px/1 var(--rounded); color: var(--paper); background: var(--ink); }
.step h3 { font: 750 21px/1.2 var(--display); margin: 12px 0 0; }
.step p { margin: 8px 0 0; color: var(--ink-2); font-size: 16px; line-height: 1.55; }
.dlfile { display: flex; align-items: center; gap: 14px; width: 100%; max-width: 280px; padding: 14px 16px; border-radius: 16px; background: var(--card-bg, #fff);
  box-shadow: inset 0 0 0 1px var(--line), 0 12px 26px -18px rgba(10, 20, 50, .5); }
.dlfile .dl-ic svg { width: 36px; height: 44px; display: block; }
.dlfile div { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.dlfile b { font: 700 15px/1.2 var(--display); }
.dlfile span { font-size: 13px; color: var(--ink-3); }
.dl-bar { display: block; height: 5px; border-radius: 3px; background: var(--line); overflow: hidden; margin-top: 6px; }
.dl-bar i { display: block; height: 100%; width: 100%; background: var(--ink); border-radius: 3px; transform-origin: left; animation: dlfill 2.4s cubic-bezier(.3, .7, .2, 1) both; }
@keyframes dlfill { from { transform: scaleX(.08); } to { transform: scaleX(1); } }
.dmg { width: 100%; max-width: 300px; border-radius: 14px; overflow: hidden; background: var(--card-bg, #fff); box-shadow: inset 0 0 0 1px var(--line), 0 16px 30px -20px rgba(10, 20, 50, .55); }
.dmg-bar { display: flex; align-items: center; gap: 6px; padding: 9px 11px; border-bottom: 1px solid var(--line); font: 600 12px/1 var(--body, system-ui); color: var(--ink-2); }
.dmg-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; } .dmg-bar i:nth-child(2) { background: #febc2e; } .dmg-bar i:nth-child(3) { background: #28c840; }
.dmg-bar span { margin: 0 auto; padding-right: 36px; }
.dmg-body { display: flex; align-items: center; justify-content: space-between; padding: 22px 20px 18px; gap: 6px; }
.dmg figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink-2); }
.dmg figure img { width: 64px; height: 64px; }
.dmg-apps svg { width: 64px; height: 52px; display: block; margin: 6px 0; }
.dmg-arrow { color: var(--ink-3); } .dmg-arrow svg { width: 48px; height: 16px; display: block; }
/* The DMG's own Finder window (scripts/dmg_artwork.py's art, the app icon and the Applications folder at its spots). */
.step-pic picture:has(.dmgwin) { display: contents; }
.dmgwin { display: block; width: 100%; max-width: 340px; height: auto; border-radius: 12px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .1), 0 16px 30px -18px rgba(10, 20, 50, .55); }
.launch { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.launch img { width: 84px; height: 84px; }
.launch b { font: 750 20px/1.2 var(--display); }
.launch span { font-size: 14px; color: var(--ink-3); }
.shot-pic img { width: 100%; height: auto; display: block; border-radius: 0; }
.after { margin-top: clamp(48px, 6vw, 80px); padding: clamp(24px, 3vw, 36px); border-radius: 24px; box-shadow: inset 0 0 0 1px var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.after h2 { font-size: clamp(22px, 2.4vw, 28px); }
.after p { margin: 8px 0 0; color: var(--ink-2); max-width: 60ch; }
.after .btn { flex: none; }

/* /updates */
.chans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.chan { border-radius: 24px; padding: clamp(22px, 3vw, 32px); box-shadow: inset 0 0 0 1px var(--line), 0 18px 40px -30px rgba(10, 20, 50, .45); background: var(--card-bg, #fff); display: flex; flex-direction: column; }
.chan h2 { margin-top: 12px; }
.chan-when { margin: 6px 0 0; color: var(--ink-3); font-size: 15px; }
.chan-line { margin: 10px 0 0; color: var(--ink-2); }
.chan .btn { align-self: flex-start; margin-top: auto; }
.chan .how { margin: auto 0 0; padding-top: 18px; color: var(--ink-2); }
.ch { display: inline-block; font: 700 12.5px/1 var(--rounded); letter-spacing: .02em; padding: 6px 10px; border-radius: 8px; color: #fff; background: #2357e8; }
.ch-nightly { background: #4b3fb8; }
.notes { margin: 18px 0 22px; }
.notes ul, .notes ol { margin: 0; padding-left: 20px; }
.notes li { margin: 0 0 8px; line-height: 1.55; }
.notes p { margin: 0 0 8px; }
.notes code { font: 14px var(--mono, ui-monospace, monospace); padding: 1px 5px; border-radius: 5px; background: var(--line); }
.hist { margin-top: clamp(56px, 7vw, 88px); }
.rels { margin-top: 22px; display: flex; flex-direction: column; gap: 0; }
.rel { padding: 22px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 20px; }
.rel header { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.rel h3 { font: 750 20px/1.2 var(--display); margin: 0; }
.rel time { font-size: 14px; color: var(--ink-3); }
.rel .notes { margin: 0; }
.checked { margin-top: 18px; font-size: 14px; color: var(--ink-3); }

@media (max-width: 900px) {
  .steps, .chans { grid-template-columns: minmax(0, 1fr); }
  .rel { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .after { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .nav .links a:not(.btn) { display: none; }
  .pg-hero { border-radius: 20px; min-height: 300px; }
}
@media (prefers-reduced-motion: reduce) { .dl-bar i { animation: none; } }
/* His feedback (2026-11-26): no lines under the steps, so each step's number sits beside its title. */
.step-txt { display: flex; align-items: center; gap: 12px; }
.step-txt h3 { margin: 0; }
.step-n { flex: none; }
/* His feedback (2026-11-26): the download page's top is the landing page's own sky, drifting slowly, with the hero's
   white words. */
.dl-hero { background: #6d7479; color: #fff; }
.pg-sky { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; opacity: 0; transition: opacity .6s; pointer-events: none; }
.pg-sky.ready { opacity: 1; }
.dl-hero h1 { color: #fff; text-shadow: 0 2px 30px rgba(10, 20, 40, .35); }
.dl-hero p { color: #fff; font-weight: 500; text-shadow: 0 1px 2px rgba(0, 10, 30, .35), 0 1px 18px rgba(0, 10, 30, .5); }
.dl-hero .micro { color: #fff; font-weight: 600; text-shadow: 0 1px 2px rgba(28, 36, 48, .6), 0 1px 10px rgba(10, 20, 40, .6); }
.dl-hero .dl-quiet a { color: #fff; }
.dl-hero .dl-icon { filter: drop-shadow(0 10px 24px rgba(10, 20, 40, .35)); }
.dl-hero .btn { text-shadow: none; }
.steps-note { text-align: center; margin: 28px 0 0; color: var(--ink-2); font-size: 16px; }
