/* Shared support pages */
:root {
  color-scheme: light;
  --paper: #fbfaf5;
  --ink: #182e28;
  --muted: #4d625b;
  --green: #075f50;
  --line: #cfdbd1;
  --soft: #edf3eb;
  --sans: "Segoe UI", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.55 var(--sans); }
h1, h2, h3, p, ol, ul, dl, dd { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
a { color: var(--green); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid #267d66; outline-offset: 4px; }
.shell { width: min(1140px, calc(100% - 80px)); margin-inline: auto; }
.skip { position: fixed; top: -80px; left: 1rem; z-index: 3; padding: .5rem 1rem; background: var(--paper); }
.skip:focus { top: 8px; }
header { border-bottom: 1px solid var(--line); }
.topbar, .foot-row { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.topbar { min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: .5rem; color: var(--ink); text-decoration: none; font-size: 1.28rem; font-weight: 720; letter-spacing: -.055em; line-height: 1; }
nav { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(1rem, 2.8vw, 2.4rem); }
nav a { text-decoration: none; font-size: .92rem; font-weight: 600; color: var(--ink); }
nav a:hover, nav a[aria-current="page"]:not(.nav-cta) { text-decoration: underline; }
.nav-cta, .button { display: inline-flex; align-items: center; justify-content: center; gap: .65rem; background: var(--green); color: #fff; border: 0; border-radius: 6px; padding: .65rem 1.2rem; font: 650 .95rem/1.3 var(--sans); cursor: pointer; text-decoration: none; }
.nav-cta:hover, .button:hover { background: #08483c; text-decoration: none; }
.button { min-height: 50px; padding-inline: 1.55rem; }
.intro { padding: clamp(48px, 7vw, 96px) 0 clamp(36px, 5vw, 66px); max-width: 820px; }
.intro .crumb { display: inline-block; color: var(--green); font-size: .84rem; font-weight: 650; margin-bottom: 1rem; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.045em; line-height: 1.06; }
h1 { font-size: clamp(2.75rem, 6.3vw, 5.35rem); }
h2 { font-size: clamp(1.8rem, 3.25vw, 2.65rem); }
h3 { font-size: 1.09rem; font-weight: 650; line-height: 1.35; }
.lede { font-size: clamp(1.05rem, 1.9vw, 1.25rem); max-width: 52ch; margin-top: 1rem; color: var(--muted); }
.download-intro { display: grid; align-items: center; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(1.5rem, 5vw, 5rem); padding: clamp(38px, 5.5vw, 75px) 0; }
.download-intro .intro { padding: 0; }
.download-intro h1 { font-size: clamp(2.6rem, 5.2vw, 4.65rem); }
.download-art { display: block; width: 100%; height: auto; border-radius: 12px; }
.button-row { display: flex; flex-wrap: wrap; gap: .8rem 1.25rem; align-items: center; margin-top: 1.65rem; }
.meta, .fine { font-size: .9rem; color: var(--muted); }
.meta { margin-top: .8rem; }
.band { display: grid; grid-template-columns: minmax(13rem, .8fr) minmax(0, 1.6fr); gap: clamp(2rem,7vw,7rem); padding: clamp(32px,5vw,66px) 0; border-top: 1px solid var(--line); }
.band > div, .band > ol, .band > dl { max-width: 730px; }
.band p, dd { color: var(--muted); }
.band p + p { margin-top: .85rem; }
.band p + a { display: inline-block; margin-top: .75rem; }
.band a { font-weight: 600; }
.jump { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; margin-bottom: 2rem; }
.jump a { padding: .3rem 0; }
summary { display: flex; align-items: center; gap: 1rem; justify-content: space-between; line-height: 1.4; min-height: 50px; padding: .8rem 0; cursor: pointer; font-weight: 650; list-style: none; }
summary::-webkit-details-marker { display:none; }
summary::after { content: "+"; font: 1.45rem/1 var(--sans); color: var(--green); }
details[open] > summary::after { content: "−"; }
details + details, .entries > div + div, .steps > li + li { border-top: 1px solid var(--line); }
details p { padding-bottom: .95rem; }
.entries { display: grid; }
.entries > div { padding: 1rem 0; }
.entries > div:first-child { padding-top: 0; }
dt { font-weight: 650; }
dd { margin-top: .25rem; }
.steps { padding: 0; list-style-position: inside; }
.steps > li { padding: 1rem 0; }
.steps > li:first-child { padding-top: 0; }
.steps li::marker { color: var(--green); font-weight: 700; }
.steps p { margin-top: .2rem; }
.form-grid { display: grid; gap: 1rem; margin: 1.2rem 0; }
[hidden] { display: none !important; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
label { display: block; font-weight: 600; margin-bottom: .3rem; }
input, textarea, select { display:block; width:100%; font:inherit; color: var(--ink); background: white; border: 1px solid #82978e; border-radius: .4rem; padding: .6rem .75rem; }
textarea { resize: vertical; }
.form-grid .button { justify-self:start; }
code { font-size: .95em; overflow-wrap: anywhere; }
footer { background: var(--soft); margin-top: 2rem; padding: 2.5rem 0; }
footer p { margin-top: 1.6rem; color: var(--muted); font-size: .82rem; }
.foot-row { align-items: flex-start; }
.foot-row nav { gap: .65rem 1.25rem; }
main:has(.lost) { min-height: 55vh; }
@media(max-width: 760px) {
  .shell { width: calc(100% - 44px); }
  .download-intro { grid-template-columns: 1fr; }
  .download-art { max-width: 490px; }
  .band { grid-template-columns: 1fr; gap: 1.35rem; }
  .foot-row { align-items: flex-start; flex-direction: column; gap: 1.2rem; }
}
@media(max-width: 560px) {
  .shell { width: calc(100% - 36px); }
  .topbar { min-height: 64px; gap: .8rem; }
  .topbar nav { gap: .75rem; }
  .topbar nav a[href^="/#"] { display:none; }
  .brand { font-size: 1.15rem; }
  .nav-cta { padding: .6rem .95rem; }
  .fields { grid-template-columns: 1fr; }
  .intro { padding-top: 40px; }
}
@media(prefers-reduced-motion: no-preference) { .button, .nav-cta { transition: background-color .15s ease; } }

@media (forced-colors: active) {
  .button, .nav-cta { border: 1px solid LinkText; }
}
