:root {
    color-scheme: light;
    --ink: #20231e;
    --soft: #535a4f;
    --paper: #fffef8;
    --gold: #ffbb3b;
    --line: #d5d7ca;
    --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
    --serif: Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.55 var(--sans); }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 3px solid #215c9a; outline-offset: 4px; }
.wrap { width: min(83rem, 90%); margin-inline: auto; }
.site-header, footer, .comparison-bar, nav, .brand, .download { display: flex; align-items: center; }
.site-header { justify-content: space-between; min-height: 5.4rem; border-bottom: 1px solid var(--line); }
.brand { gap: .5rem; font-size: 1.55rem; letter-spacing: -.065em; font-weight: 750; text-decoration: none; }
.brand img { width: 2.4rem; height: 2.4rem; }
nav { gap: 1.7rem; font-size: .95rem; font-weight: 550; }
nav a { text-decoration: none; }
nav a:hover, footer a:hover { text-decoration: underline; text-underline-offset: .25em; }
.publisher { padding-left: 1.7rem; border-left: 1px solid var(--line); }
.hero { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.22fr); gap: clamp(2rem, 5.4vw, 6rem); align-items: center; padding-block: clamp(3rem, 6.5vw, 6.8rem); }
.eyebrow, .example-label { font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: .78rem; text-transform: uppercase; letter-spacing: .095em; font-weight: 600; }
.eyebrow { display: flex; align-items: center; gap: .65rem; margin: 0 0 1.35rem; }
.rule { width: 1.65rem; height: .24rem; background: var(--gold); }
h1, h2, p, figure, dl, dd { margin: 0; }
h1, h2 { letter-spacing: -.065em; line-height: 1.02; font-weight: 650; }
h1 { font-size: clamp(3.6rem, 6.25vw, 6.6rem); }
h1 em, h2 em { font-family: var(--serif); font-weight: 400; }
h1 em { position: relative; z-index: 0; }
h1 em::after { content: ""; position: absolute; z-index: -1; bottom: .07em; left: 0; right: -.02em; height: .10em; transform: rotate(-3deg); background: var(--gold); border-radius: 50%; }
.lead { max-width: 26rem; margin: 1.55rem 0 1.7rem; font-size: clamp(1.06rem, 1.4vw, 1.3rem); line-height: 1.55; color: var(--soft); }
.download { width: fit-content; min-height: 3.2rem; gap: .7rem; padding: .7rem 1.45rem; border: 2px solid var(--ink); border-radius: .6rem; background: var(--ink); color: white; text-decoration: none; font-weight: 650; }
.download span { color: var(--gold); font: 1.45rem/1 var(--sans); }
.download:hover { background: var(--gold); color: var(--ink); }
.download:hover span { color: var(--ink); }
.requirements { margin-top: .75rem; color: var(--soft); font-size: .86rem; line-height: 1.6; }
.comparison { min-width: 0; position: relative; margin: 0; padding: 0; border: 1px solid #c2c4b5; border-radius: .9rem; overflow: hidden; }
.stage { padding: 8% 7%; background-color: #ffcb55; background-image: radial-gradient(#be923e 1px, transparent 1px); background-size: 10px 10px; }
.capture { position: relative; box-shadow: 0 8px 18px #5b450034; }
.capture img { display: block; width: 100%; height: auto; }
.capture i { position: absolute; width: .7rem; height: .7rem; background: var(--paper); border: 2px solid var(--ink); transform: translate(-50%,-50%); }
.capture i:nth-last-child(4) { top: 0; left: 0; }
.capture i:nth-last-child(3) { top: 0; left: 100%; }
.capture i:nth-last-child(2) { top: 100%; left: 0; }
.capture i:last-child { top: 100%; left: 100%; }
.capture .original, #original:checked ~ .stage .annotated { display: none; }
#original:checked ~ .stage .original { display: block; }
.visually-hidden, .compare-radio { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.comparison-bar { justify-content: space-between; gap: .8rem; padding: .85rem 1.25rem; border-top: 1px solid #bebda6; }
.switch { display: flex; align-items: center; padding: 3px; border-radius: 2rem; background: #eaece1; }
.switch label { padding: .35rem .85rem; border-radius: 2rem; font-size: .87rem; font-weight: 550; cursor: pointer; }
#original:checked ~ .comparison-bar [for="original"], #marked:checked ~ .comparison-bar [for="marked"] { background: var(--ink); color: #fff; }
#original:focus-visible ~ .comparison-bar [for="original"], #marked:focus-visible ~ .comparison-bar [for="marked"] { outline: 3px solid #215c9a; outline-offset: 2px; }
.guide { background: #edf0e5; border-block: 1px solid var(--line); }
.guide-inner, .setup { padding-block: clamp(2.75rem, 5vw, 5rem); }
h2 { font-size: clamp(2.2rem, 3.4vw, 3.8rem); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4%; margin-top: 2.1rem; }
.steps > div { border-top: 1px solid #a8b29d; padding-top: 1.1rem; }
dt { font-size: 1.22rem; font-weight: 650; letter-spacing: -.035em; }
dd, .setup p { color: var(--soft); }
dd { margin-top: .55rem; max-width: 23rem; }
strong { font-weight: 650; }
kbd { font: inherit; white-space: nowrap; }
.setup { display: grid; grid-template-columns: 1fr 1.65fr; gap: 4%; scroll-margin-top: 1rem; }
.setup h2 { margin-bottom: .8rem; }
.setup ol { margin: 0; padding-left: 1.5rem; }
.setup li { padding-left: .35rem; margin-bottom: .65rem; }
.setup li::marker { font-weight: 650; }
details { border-top: 1px solid var(--line); padding-top: .9rem; margin-top: 1.2rem; }
summary { cursor: pointer; font-weight: 650; }
details p { margin: .6rem 0 0 1.1rem; }
footer { justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line); padding-block: 1.3rem; font-size: .88rem; color: var(--soft); }
footer a { text-decoration: none; }
@media (max-width: 56rem) {
    .hero { grid-template-columns: 1fr; gap: 2rem; }
    .intro { max-width: 40rem; }
    h1 { font-size: clamp(3.6rem, 9.4vw, 5.35rem); }
    .lead { max-width: 34rem; }
    .example { max-width: 43rem; width: 100%; }
}
@media (max-width: 40rem) {
    .site-header { min-height: 4.3rem; }
    nav { gap: .9rem; font-size: .87rem; }
    .publisher { padding-left: .9rem; }
    .hero { padding-top: 2.6rem; }
    .comparison-bar { padding: .65rem .75rem; }
    .example-label { font-size: .73rem; }
    .switch label { padding: .35rem .65rem; }
    .steps, .setup { grid-template-columns: 1fr; gap: 1.4rem; }
    dd { max-width: none; }
    footer { align-items: flex-start; flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
