:root { color-scheme: light dark; font: 1rem/1.6 system-ui, sans-serif; } body { max-inline-size: 42rem; margin: clamp(3rem, 10vw, 7rem) auto 2rem; padding: 0 1.25rem; } h1, h2 { line-height: 1.15; } h1 { margin-block: 0 1rem; font-size: clamp(2rem, 6vw, 3rem); } h2 { margin-block-start: 2rem; font-size: 1.3rem; } footer { border-block-start: 1px solid color-mix(in srgb, currentColor 30%, transparent); margin-block-start: 2.5rem; padding-block-start: 1rem; font-size: .9rem; } nav { display: flex; flex-wrap: wrap; gap: 1rem; } a { color: inherit; text-underline-offset: .2em; } a:focus-visible { outline-offset: .25em; } /* Monochrome presentation includes images, illustrations, embedded demos, and CSS artwork. Filter the document root, not a layout wrapper, so fixed/sticky controls retain their viewport behavior. Original media remain intact. */ html { filter: grayscale(1); }