/* Case pages only; tokens and masthead come from site.css. */
main.wrap { padding-bottom: var(--space-sm); }
.lead { max-width: 1000px; }
h1 { font: 800 clamp(32px, 4.4vw, 48px)/1.08 var(--font-display); letter-spacing: -.015em; margin: var(--space-lg) 0 var(--space-sm); max-width: 20em; }
.lede { font-size: 19px; line-height: 1.55; margin: 0 0 var(--space-2xs); max-width: 38em; }
.note { margin: 0 0 var(--space-lg); font-size: 15px; color: var(--color-ink-2); }
h2 { font: 700 24px/1.2 var(--font-display); margin: var(--space-xl) 0 var(--space-xs); }
h2.try { font-size: 18px; margin: var(--space-md) 0 var(--space-xs); }
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }
p, li { max-width: 40em; }
ul { padding-left: 20px; }
li { margin: 6px 0; }
figure { margin: 0; }
.lead img, .media img, .media video { display: block; width: 100%; height: auto; max-height: 640px; object-fit: contain; background: var(--color-surface); }
.lead { border: 1px solid var(--color-rule); border-radius: var(--radius-sm); overflow: hidden; background: var(--color-surface); }
.lead figcaption, .media figcaption { padding: var(--space-2xs) var(--space-sm); font-size: 15px; color: var(--color-ink-2); border-top: 1px solid var(--color-rule); }
/* Tall lead screenshots: 16:10 crop at full column width, link to the full page */
.lead-crop { max-width: none; }
.lead-crop img { max-height: none; }
.lead-crop figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; column-gap: var(--space-sm); }
.full-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.media { display: grid; gap: var(--space-md); margin: var(--space-2xs) 0; }
.media figure { background: var(--color-surface); border: 1px solid var(--color-rule); border-radius: var(--radius-sm); overflow: hidden; }
.media video:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }
.media figure:focus-within { overflow: visible; }
/* Test list: plain body type with a green check, no terminal box */
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { position: relative; padding: 0 0 0 calc(var(--space-md) + 6px); margin: 0 0 var(--space-2xs); }
.checks li::before { content: "\2713"; position: absolute; left: var(--space-xs); color: var(--color-accent); font-weight: 700; }
.dl { list-style: none; padding: 0; margin: 0; }
.dl li { margin: 0; }
.dl a { font-weight: 700; display: inline-flex; align-items: center; flex-wrap: wrap; column-gap: .35em; line-height: 1.4; min-height: 44px; padding-block: 2px; }
.dl-m { font: 500 13px/1.4 var(--font-mono); color: var(--color-ink-2); }
.stack { color: var(--color-ink-2); margin-top: var(--space-xl); }
.cta { margin: var(--space-xl) 0 var(--space-2xl); padding: var(--space-md) 0 0; border-top: 2px solid var(--color-ink); display: flex; flex-wrap: wrap; gap: var(--space-sm) var(--space-md); align-items: center; justify-content: space-between; }
.cta > span { font: 700 20px/1.3 var(--font-display); max-width: 30em; }
@media (max-width: 380px) { .mast-links { gap: var(--space-xs); } }
.mast-links a { min-width: 44px; justify-content: center; }
.mast-id .name { align-self: flex-start; }
/* separator lines: items with a CSS dot that hangs outside the line box (clipped when it would start a line), so no dot can dangle at a line end */
.sl { display: block; overflow: clip; }
.si { position: relative; margin-right: .85em; }
.si ~ .si::before { content: '\00b7'; position: absolute; left: -.74em; }
.mast-line .si { white-space: nowrap; }
.mast-line .si ~ .si::before { left: -1.03em; }
