/* Download and support pages: the same system, sections as tall as their content. */
.intro { min-height: 0; padding: calc(var(--nav) + var(--s-8)) 0 var(--s-9); }
.intro h1 { font-size: clamp(36px, 3.9vw, 56px); }
.intro__body { display: grid; gap: var(--s-5); justify-items: start; }
.intro__lead { font-size: var(--t-lead); line-height: 1.5; text-wrap: pretty; }
.download-options { display: flex; flex-wrap: wrap; gap: var(--s-5) var(--s-3); width: 100%; margin-top: var(--s-2); }
.download-option { display: grid; gap: var(--s-2); align-content: start; }
.intro__mobile a, .help-link { font-weight: 500; text-decoration: underline; text-underline-offset: .2em; }
.intro__mobile a { display: inline-block; }
.m-down { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.block { display: block; min-height: 0; padding: var(--s-9) 0 0; }
main > .block:last-child { padding-bottom: var(--s-5); }
.update-section { scroll-margin-top: var(--nav); }
.update-version { margin-top: var(--s-3); font-size: var(--t-lead); }
.update-version data { font-weight: 600; font-variant-numeric: tabular-nums; }
.update-status { margin-bottom: var(--s-2); font-size: var(--t-lead); font-weight: 500; }
.update-options { margin-top: var(--s-5); }
.update-option { border-top: 1px solid var(--line); padding-block: var(--s-4); }
.update-option p { max-width: 36em; margin-top: var(--s-3); }
.block .stages li:first-child, .block .rows > div:first-child { padding-top: 0; }
.block .rows > div:first-child { border-top: 0; }
.closing--plain { min-height: 0; padding: var(--s-10) 0 var(--s-7); }

.intro--support { min-height: calc(100svh - 360px); }
.support { row-gap: var(--s-5); }
.support-action { display: contents; }
.support-mobile { display: none; }
.support-action > .btn, .support-action > .t-small, .support-status { grid-column: 1 / span 5; justify-self: start; }
.support-action > .t-small { margin-top: calc(-1 * var(--s-3)); }
.support-status { padding-block: var(--s-4); border-block: 1px solid var(--line); font-weight: 500; }
.support-qr { display: grid; grid-column: 7 / span 4; grid-row: 1 / span 4; gap: var(--s-5); padding: var(--s-6); border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.support-qr img { width: 100%; height: auto; image-rendering: pixelated; }
.support-qr p { font-size: 14px; line-height: 1.6; color: var(--muted); }
.m-out { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* Keep the QR available on a tablet even when the page is in a narrow split view. */
@media (any-pointer: coarse) and (max-device-width: 599px), (any-pointer: coarse) and (max-device-height: 599px) {
  .support-mobile { display: grid; grid-column: 1 / -1; gap: var(--s-3); width: min(100%, 26rem); }
  .support-mobile .btn { min-height: 50px; }
  .support-status, .support-qr, .nav__actions a[href="/support/"][aria-current="page"] { display: none; }
}

@media (max-width: 1023px) {
  .intro { padding-bottom: var(--s-8); }
  .intro .window { margin-top: var(--s-7); }
  .block h2 { margin-bottom: var(--s-6); }
  .update-section h2 { margin-bottom: 0; }
  .update-version { margin-bottom: var(--s-5); }
  .support-action > .btn, .support-action > .t-small, .support-status { grid-column: 1 / -1; }
  .support-qr { grid-column: 1 / span 3; grid-row: auto; margin-top: var(--s-5); }
}
@media (max-width: 639px) {
  .download-options { display: grid; }
  .support-action > .btn { justify-self: stretch; }
  .support-qr { grid-column: 1 / -1; }
}
.stages code { font: 500 14px/1.6 ui-monospace, "Cascadia Mono", Consolas, monospace; letter-spacing: 0; overflow-wrap: anywhere; }
