/* Altpass — site styles. Plain CSS, no framework. Contrast targets WCAG AAA (7:1) for body text and controls. */
@font-face { font-family: "Atkinson Hyperlegible Next"; font-style: normal; font-weight: 200 800; font-display: swap; src: url(/assets/fonts/atkinson-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Atkinson Hyperlegible Next"; font-style: normal; font-weight: 200 800; font-display: swap; src: url(/assets/fonts/atkinson-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Atkinson Hyperlegible Next"; font-style: italic; font-weight: 400; font-display: swap; src: url(/assets/fonts/atkinson-italic-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 600 800; font-display: swap; src: url(/assets/fonts/fraunces-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 600 800; font-display: swap; src: url(/assets/fonts/fraunces-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --paper: #fffdf7;
  --paper-2: #f6f1e6;
  --ink: #141210;
  --ink-2: #3a352f;      /* 11.3:1 on paper */
  --rule: #d9d1c3;
  --accent: #0a5c45;     /* 7.6:1 on paper */
  --accent-ink: #ffffff;
  --mark: #ffd23f;       /* highlighter yellow, used behind ink text only */
  --danger: #a3151a;     /* 7.3:1 */
  --warn: #7a4600;       /* 7.4:1 */
  --info: #1d4a85;       /* 8.6:1 */
  --focus: #141210;
  --radius: 10px;
  --wrap: 74rem;
  --font: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.125rem/1.65 var(--font); }
img, svg { max-width: 100%; height: auto; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 800; line-height: 1.12; letter-spacing: -0.01em; margin: 0 0 .5em; font-variation-settings: "opsz" 96; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4.1rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.4rem; font-variation-settings: "opsz" 36; }
h4 { font-size: 1.15rem; font-family: var(--font); font-weight: 700; letter-spacing: 0; }
p, ul, ol, dl, table, pre, figure, blockquote { margin: 0 0 1.1em; }
a { color: var(--ink); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 4px; text-decoration-color: var(--accent); }
strong { font-weight: 700; }
code, kbd, samp { font-family: var(--mono); font-size: .92em; }
:not(pre) > code { background: var(--paper-2); border: 1px solid var(--rule); border-radius: 5px; padding: .05em .35em; overflow-wrap: anywhere; }
pre { background: var(--ink); color: #f8f4ea; padding: 1rem 1.2rem; border-radius: var(--radius); overflow-x: auto; font-size: .95rem; line-height: 1.55; }
pre code { background: none; border: 0; padding: 0; color: inherit; }
hr { border: 0; border-top: 2px solid var(--ink); margin: 3rem 0; }
mark, .mark { background: var(--mark); color: var(--ink); padding: 0 .15em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
::selection { background: var(--mark); color: var(--ink); }

/* Focus: thick ink outline + yellow halo — visible on paper, ink and yellow backgrounds */
:focus { outline: none; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; box-shadow: 0 0 0 7px var(--mark); border-radius: 4px; }
.on-ink :focus-visible { outline-color: var(--mark); box-shadow: 0 0 0 7px var(--ink); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(1.1rem, 4vw, 2.5rem); }
.narrow { max-width: 46rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Skip link */
.skip { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--mark); color: var(--ink); font-weight: 700; padding: .75rem 1.1rem; border: 3px solid var(--ink); border-radius: 8px; text-decoration: none; }
.skip:focus { top: 1rem; }

/* Header */
.site-header { border-bottom: 2px solid var(--ink); background: var(--paper); }
.site-header .wrap { display: flex; align-items: center; gap: 1rem 1.5rem; flex-wrap: wrap; min-height: 4.5rem; padding-top: .6rem; padding-bottom: .6rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--display); font-weight: 800; font-size: 1.55rem; text-decoration: none; color: var(--ink); letter-spacing: -0.02em; }
.brand svg { width: 2.1rem; height: 2.1rem; flex: none; }
.nav { margin-left: auto; }
.nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem .4rem; margin: 0; padding: 0; }
.nav a { display: inline-block; padding: .45rem .7rem; border-radius: 8px; text-decoration: none; font-weight: 700; }
.nav a:hover { background: var(--paper-2); text-decoration: underline; }
.nav a[aria-current="page"] { background: var(--ink); color: var(--paper); }
.credits-pill { display: inline-flex; align-items: center; gap: .4rem; border: 2px solid var(--ink); border-radius: 999px; padding: .25rem .8rem; font-size: .95rem; font-weight: 700; background: var(--paper); text-decoration: none; white-space: nowrap; }
.credits-pill .dot { width: .6rem; height: .6rem; border-radius: 50%; background: var(--accent); flex: none; }

/* Buttons */
.btn { --b: var(--ink); display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 3rem; padding: .7rem 1.35rem; border: 3px solid var(--b); border-radius: 10px; background: var(--ink); color: var(--paper); font: 700 1.05rem/1.2 var(--font); text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); text-decoration: none; }
.btn.secondary { background: var(--paper); color: var(--ink); }
.btn.secondary:hover { background: var(--paper-2); color: var(--ink); border-color: var(--ink); }
.btn.small { min-height: 2.5rem; padding: .4rem .9rem; font-size: .98rem; border-width: 2px; }
.btn.mark { background: var(--mark); color: var(--ink); }
.btn.mark:hover { background: #ffe27a; border-color: var(--ink); color: var(--ink); }
.btn[disabled], .btn[aria-disabled="true"] { background: #e9e4da; color: #4a443d; border-color: #8a8378; cursor: not-allowed; }
.btn.danger { background: var(--paper); color: var(--danger); border-color: var(--danger); }
.btn.danger:hover { background: #fde8e8; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; cursor: pointer; }

/* Forms */
label { font-weight: 700; display: block; margin-bottom: .35rem; }
.hint { color: var(--ink-2); font-size: 1rem; margin: .3rem 0 0; }
input[type="text"], input[type="url"], input[type="number"], input[type="search"], select, textarea {
  font: inherit; color: var(--ink); background: #fff; border: 3px solid var(--ink); border-radius: 10px; padding: .65rem .85rem; min-height: 3.1rem; width: 100%; }
textarea { min-height: 5rem; resize: vertical; }
input[aria-invalid="true"] { border-color: var(--danger); }
input[type="checkbox"], input[type="radio"] { width: 1.35rem; height: 1.35rem; accent-color: var(--ink); vertical-align: middle; }
.field { margin-bottom: 1.1rem; }
.field-row { display: flex; gap: .75rem; align-items: flex-end; flex-wrap: wrap; }
.field-row > .grow { flex: 1 1 18rem; }
.error-text { color: var(--danger); font-weight: 700; margin: .4rem 0 0; }
.check { display: flex; gap: .55rem; align-items: center; font-weight: 400; margin: 0; }
fieldset { border: 2px solid var(--rule); border-radius: var(--radius); padding: 1rem 1.2rem; margin: 0 0 1rem; }
legend { font-weight: 700; padding: 0 .4rem; }

/* Sections */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section + .section { border-top: 2px solid var(--ink); }
.section.tint { background: var(--paper-2); }
.ink { background: var(--ink); color: var(--paper); }
.ink a { color: var(--paper); }
.eyebrow { font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .9rem; margin: 0 0 .8rem; }
.lead { font-size: clamp(1.2rem, 2vw, 1.4rem); line-height: 1.55; max-width: 44rem; color: var(--ink-2); }
.grid { display: grid; gap: 1.4rem; }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr)); }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.card { border: 2px solid var(--ink); border-radius: var(--radius); background: var(--paper); padding: 1.4rem 1.5rem; }
.card h3 { margin-top: 0; }
.card > :last-child { margin-bottom: 0; }

/* Hero / checker */
.hero { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2.5rem, 5vw, 3.5rem); }
.hero h1 { max-width: 18ch; }
.checker { margin-top: 2rem; max-width: 52rem; }
.checker form { background: var(--paper); border: 3px solid var(--ink); border-radius: 14px; padding: 1.2rem; box-shadow: 8px 8px 0 var(--ink); }
.checker .field-row .btn { min-height: 3.1rem; }
.trust { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; list-style: none; padding: 0; margin: 1.3rem 0 0; color: var(--ink-2); font-size: 1rem; }
.trust li::before { content: "✓ "; font-weight: 700; color: var(--accent); }

/* Status line */
.status { min-height: 1.6em; margin: 1rem 0 0; font-weight: 700; }
.status.error { color: var(--danger); }
.notice { border: 2px solid var(--ink); border-left-width: 10px; border-radius: 8px; padding: .9rem 1.1rem; background: var(--paper); margin: 1rem 0; }
.notice.warn { border-color: var(--warn); }
.notice.error { border-color: var(--danger); }
.notice.ok { border-color: var(--accent); }
.notice > :last-child { margin-bottom: 0; }

/* Results */
.results { margin-top: 2.5rem; }
.results-head { display: grid; grid-template-columns: auto 1fr; gap: 1.5rem 2rem; align-items: center; margin-bottom: 1.5rem; }
@media (max-width: 40rem) { .results-head { grid-template-columns: 1fr; } }
.score { width: 9.5rem; height: 9.5rem; border-radius: 50%; border: 4px solid var(--ink); outline: 3px solid var(--ink); outline-offset: 5px; display: grid; place-content: center; text-align: center; background: var(--paper); margin: 8px; }
.score .num { font-family: var(--display); font-weight: 800; font-size: 3.2rem; line-height: 1; }
.score .of { font-size: .9rem; font-weight: 700; }
.score.good { background: #dff3e9; } .score.mid { background: #fff1b8; } .score.bad { background: #ffe0dc; }
.counts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { display: inline-flex; align-items: center; gap: .35rem; border: 2px solid var(--ink); border-radius: 999px; padding: .15rem .7rem; font-weight: 700; font-size: .95rem; background: var(--paper); white-space: nowrap; color: var(--ink); }
.chip .g { font-family: var(--mono); font-weight: 700; }
.chip.critical { background: #ffd9d6; border-color: var(--danger); }
.chip.missing { background: #ffe4c4; border-color: var(--warn); }
.chip.empty { background: #fff1b8; border-color: #6b5200; }
.chip.weak { background: #e3ecf8; border-color: var(--info); }
.chip.ok { background: #dcf1e6; border-color: var(--accent); }
.chip.decorative { background: #ece9e3; border-color: #5a544d; }
.toolbar { display: flex; flex-wrap: wrap; gap: .8rem 1.2rem; align-items: flex-end; margin: 1.2rem 0; }
.toolbar .field { margin: 0; }
.toolbar select { width: auto; min-width: 12rem; }

.table-wrap { overflow-x: auto; border: 2px solid var(--ink); border-radius: var(--radius); background: #fff; }
table.data { width: 100%; border-collapse: collapse; font-size: 1rem; }
table.data caption { text-align: left; padding: .8rem 1rem; font-weight: 700; caption-side: top; }
table.data th, table.data td { text-align: left; vertical-align: top; padding: .75rem .9rem; border-bottom: 1px solid var(--rule); }
table.data thead th { background: var(--paper-2); border-bottom: 2px solid var(--ink); white-space: nowrap; }
table.data tbody tr:last-child td, table.data tbody tr:last-child th { border-bottom: 0; }
table.data th[aria-sort] button { all: unset; cursor: pointer; font-weight: 700; display: inline-flex; gap: .3rem; align-items: center; }
table.data th[aria-sort] button:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; box-shadow: 0 0 0 6px var(--mark); }
.thumb { width: 84px; height: 64px; object-fit: contain; background: repeating-conic-gradient(#eee 0 25%, #fff 0 50%) 50% / 12px 12px; border: 1px solid var(--rule); border-radius: 6px; display: block; }
.thumb-none { width: 84px; height: 64px; display: grid; place-items: center; border: 1px dashed #8a8378; border-radius: 6px; font-size: .8rem; color: var(--ink-2); text-align: center; }
.src { font-family: var(--mono); font-size: .88rem; overflow-wrap: anywhere; max-width: 22rem; display: block; }
.alt-val { font-family: var(--mono); font-size: .92rem; overflow-wrap: anywhere; }
.alt-none { font-style: italic; color: var(--ink-2); }
.reasons { margin: .4rem 0 0; padding-left: 1.1rem; font-size: .95rem; color: var(--ink-2); }
.gen { margin-top: .6rem; }
.suggestion { border: 2px solid var(--accent); background: #eef8f2; border-radius: 8px; padding: .7rem .8rem; margin-top: .6rem; }
.suggestion .alt-out { font-weight: 700; font-size: 1.02rem; }
.suggestion pre { margin: .5rem 0 0; font-size: .85rem; padding: .6rem .7rem; white-space: pre-wrap; overflow-wrap: anywhere; }
.suggestion ul { margin: .4rem 0 0; padding-left: 1.1rem; font-size: .95rem; }
.row-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .5rem; }

@media (max-width: 52rem) {
  table.data.stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  table.data.stack, table.data.stack tbody, table.data.stack tr, table.data.stack td, table.data.stack th { display: block; width: 100%; }
  table.data.stack tr { border-bottom: 2px solid var(--ink); padding: .5rem 0; }
  table.data.stack td, table.data.stack th { border: 0; padding: .35rem .9rem; }
  table.data.stack td[data-label]::before { content: attr(data-label); display: block; font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-2); }
}

/* Before/after */
.ba { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); gap: 1.4rem; align-items: start; }
.ba figure { margin: 0; }
.ba img.example { border: 2px solid var(--ink); border-radius: var(--radius); background: #fff; width: 100%; }
.ba figcaption { font-size: .95rem; color: var(--ink-2); margin-top: .5rem; }
.speech { border: 2px solid var(--ink); border-radius: 12px; padding: .9rem 1.1rem; background: var(--paper); position: relative; }
.speech.before { background: #ffe9e6; border-color: var(--danger); }
.speech.after { background: #e6f5ec; border-color: var(--accent); }
.speech .label { display: block; font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .3rem; }

/* Steps */
.steps { counter-reset: step; list-style: none; padding: 0; display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.steps li { counter-increment: step; border-top: 4px solid var(--ink); padding-top: 1rem; }
.steps li::before { content: counter(step); font-family: var(--display); font-weight: 800; font-size: 2.6rem; line-height: 1; display: block; margin-bottom: .4rem; }

/* Finds list */
.finds { list-style: none; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 21rem), 1fr)); }
.finds li { border: 2px solid var(--ink); border-radius: var(--radius); padding: 1.1rem 1.2rem; background: var(--paper); }
.finds li .chip { margin-bottom: .6rem; }
.finds li p { margin: 0; }

/* Pricing */
.plans { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15.5rem), 1fr)); align-items: stretch; }
.plan { border: 3px solid var(--ink); border-radius: 14px; padding: 1.4rem 1.3rem; display: flex; flex-direction: column; background: var(--paper); }
.plan.featured { box-shadow: 8px 8px 0 var(--ink); background: #fffbe6; }
.plan h3 { margin: 0 0 .3rem; }
.plan .price { font-family: var(--display); font-weight: 800; font-size: 2.6rem; line-height: 1.1; margin: .3rem 0 .2rem; }
.plan .price small { font-family: var(--font); font-size: 1rem; font-weight: 700; }
.plan ul { padding-left: 1.2rem; margin: .8rem 0 1.2rem; flex: 1; }
.plan li { margin-bottom: .35rem; }
.plan .tag { align-self: flex-start; background: var(--mark); border: 2px solid var(--ink); border-radius: 999px; font-weight: 700; font-size: .85rem; padding: .05rem .6rem; margin-bottom: .5rem; }

/* FAQ */
.faq details { border-top: 2px solid var(--ink); padding: .2rem 0; }
.faq details:last-of-type { border-bottom: 2px solid var(--ink); }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.2rem; padding: 1rem 2.4rem 1rem 0; position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .3rem; top: .75rem; font-family: var(--mono); font-size: 1.5rem; font-weight: 700; }
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding: 0 0 1rem; max-width: 50rem; }

/* Prose (docs, guides, legal) */
.prose { max-width: 46rem; }
.prose h2 { margin-top: 2.2em; font-size: clamp(1.6rem, 3vw, 2.1rem); }
.prose h3 { margin-top: 1.8em; }
.prose li { margin-bottom: .35em; }
.prose table { border-collapse: collapse; width: 100%; font-size: 1rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--rule); padding: .55rem .7rem; text-align: left; vertical-align: top; }
.prose th { background: var(--paper-2); }
.prose blockquote { border-left: 6px solid var(--mark); margin-left: 0; padding: .2rem 0 .2rem 1.1rem; color: var(--ink-2); }
.prose img { border: 1px solid var(--rule); border-radius: 8px; }
.toc { border: 2px solid var(--ink); border-radius: var(--radius); padding: 1rem 1.3rem; margin: 0 0 2rem; background: var(--paper-2); }
.toc ul { margin: .3rem 0 0; padding-left: 1.2rem; }
.meta { color: var(--ink-2); font-size: 1rem; }
.page-head { padding: clamp(2.5rem, 6vw, 4rem) 0 1.5rem; }
.with-side { display: grid; grid-template-columns: minmax(0, 1fr) 17rem; gap: 3rem; align-items: start; }
.with-side aside { position: sticky; top: 1rem; }
@media (max-width: 60rem) { .with-side { grid-template-columns: 1fr; } .with-side aside { position: static; } }
.guide-list { list-style: none; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.guide-list li { border: 2px solid var(--ink); border-radius: var(--radius); padding: 1.1rem 1.2rem; background: var(--paper); }
.guide-list a { font-family: var(--display); font-weight: 800; font-size: 1.3rem; line-height: 1.2; }
.guide-list p { margin: .5rem 0 0; color: var(--ink-2); font-size: 1rem; }
.cta-band { border: 3px solid var(--ink); border-radius: 14px; padding: 1.5rem; background: var(--mark); margin: 2.5rem 0; }
.cta-band > :last-child { margin-bottom: 0; }

/* Dashboard */
.panel { border: 2px solid var(--ink); border-radius: var(--radius); padding: 1.3rem 1.4rem; background: var(--paper); margin-bottom: 1.5rem; }
.panel > :last-child { margin-bottom: 0; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: .3rem 1.2rem; margin: 0; }
.kv dt { font-weight: 700; } .kv dd { margin: 0; }
progress { width: 100%; height: 1.4rem; accent-color: var(--accent); border: 2px solid var(--ink); border-radius: 999px; background: #fff; overflow: hidden; }
progress::-webkit-progress-bar { background: #fff; }
progress::-webkit-progress-value { background: var(--accent); }
progress::-moz-progress-bar { background: var(--accent); }
[role="tablist"] { display: flex; gap: .4rem; border-bottom: 2px solid var(--ink); margin: 1.5rem 0 1rem; flex-wrap: wrap; }
[role="tab"] { font: 700 1.02rem var(--font); background: var(--paper); color: var(--ink); border: 2px solid var(--ink); border-bottom: 0; border-radius: 10px 10px 0 0; padding: .6rem 1rem; cursor: pointer; margin-bottom: -2px; }
[role="tab"][aria-selected="true"] { background: var(--ink); color: var(--paper); }
.snippet { display: flex; gap: .5rem; align-items: stretch; flex-wrap: wrap; }
.snippet code { flex: 1 1 20rem; display: block; padding: .7rem .8rem; background: var(--ink); color: #f8f4ea; border-radius: 8px; font-size: .88rem; overflow-wrap: anywhere; }
.alt-input { min-height: 2.6rem !important; padding: .4rem .6rem !important; border-width: 2px !important; font-size: 1rem !important; }

/* Footer */
.site-footer { border-top: 2px solid var(--ink); padding: 2.5rem 0 3rem; margin-top: 0; background: var(--paper-2); font-size: 1rem; }
.site-footer .cols { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .35rem; }
.site-footer .fine { color: var(--ink-2); margin-top: 1.5rem; }

/* Motion: none by default; only subtle transitions for users who haven't asked to reduce motion */
@media (prefers-reduced-motion: no-preference) {
  .btn, .nav a, .chip, a { transition: background-color .15s ease, color .15s ease, border-color .15s ease, text-decoration-thickness .15s ease; }
  html { scroll-behavior: smooth; }
  .spin { display: inline-block; width: 1em; height: 1em; border: 3px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; vertical-align: -0.15em; }
  @keyframes spin { to { transform: rotate(360deg); } }
}
@media (prefers-reduced-motion: reduce) { .spin::after { content: "…"; } }

/* Windows High Contrast / forced colors */
@media (forced-colors: active) {
  .btn, .chip, .card, .plan, input, select, textarea, .score { border: 2px solid CanvasText; }
  :focus-visible { outline: 3px solid Highlight; box-shadow: none; }
  mark, .mark { forced-color-adjust: none; background: Mark; color: MarkText; }
}

@media print {
  .site-header nav, .skip, .checker form, .btn, .site-footer { display: none !important; }
  body { font-size: 11pt; }
}
