/*
Theme Name: Digital Accessible
Theme URI: https://digitalaccessible.com/
Description: Audit-report theme for digitalaccessible.com: WCAG, success criteria, color contrast, alt text and screen reader guides with built-in checkers.
Version: 1.0.0
Text Domain: digitalaccessible
*/

@font-face { font-family: "Atkinson Hyperlegible Next"; font-weight: 400; font-display: swap; src: url(assets/fonts/atkinson-hyperlegible-next-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible Next"; font-weight: 600; font-display: swap; src: url(assets/fonts/atkinson-hyperlegible-next-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible Next"; font-weight: 700; font-display: swap; src: url(assets/fonts/atkinson-hyperlegible-next-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible Next"; font-weight: 800; font-display: swap; src: url(assets/fonts/atkinson-hyperlegible-next-latin-800-normal.woff2) format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible Mono"; font-weight: 400; font-display: swap; src: url(assets/fonts/atkinson-hyperlegible-mono-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible Mono"; font-weight: 600; font-display: swap; src: url(assets/fonts/atkinson-hyperlegible-mono-latin-600-normal.woff2) format("woff2"); }

:root {
	--ink: #12161f; --ink-2: #232a37; --muted: #464d5c; --line: #cfcabd; --line-2: #8c8676;
	--paper: #f8f6f1; --card: #fff; --wash: #efece3; --signal: #ffd23f; --signal-soft: #fff4c7;
	--link: #1f3fbf; --pass: #0b6e4f; --pass-soft: #e3f3ec; --fail: #b3261e; --fail-soft: #fbe9e7; --warn-soft: #fff6d6;
	--st: #2443c4; --r: 10px; --r-s: 6px; --hard: 5px 5px 0 var(--ink);
	--sans: "Atkinson Hyperlegible Next", "Segoe UI", system-ui, sans-serif; --mono: "Atkinson Hyperlegible Mono", ui-monospace, Consolas, monospace;
	--fs: 18px;
}
html[data-ax-size="1"] { --fs: 20px; }
html[data-ax-size="2"] { --fs: 23px; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--fs)/1.65 var(--sans); }
img { max-width: 100%; height: auto; }
a { color: var(--link); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { text-decoration-thickness: 3px; }
h1, h2, h3 { line-height: 1.18; letter-spacing: -.012em; margin: 0 0 .5em; color: var(--ink); font-weight: 800; }
h3 { font-weight: 700; }
p { margin: 0 0 1em; }
:focus { outline: none; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; box-shadow: 0 0 0 7px var(--signal); border-radius: 3px; }
.ax-foot :focus-visible, .ax-util :focus-visible { outline-color: var(--signal); box-shadow: 0 0 0 7px var(--ink); }
.ax-wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.ax-sr, .ax-offscreen { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ax-skip { position: absolute; left: 12px; top: -80px; z-index: 50; background: var(--signal); color: var(--ink); font-weight: 700; padding: 10px 16px; border: 3px solid var(--ink); border-radius: var(--r-s); }
.ax-skip:focus { top: 12px; }

/* utility bar with reading options */
.ax-util { background: var(--ink); color: #f8f6f1; font-size: .78rem; }
.ax-util-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; flex-wrap: wrap; padding-block: 4px; }
.ax-util-note { margin: 0; color: #d9dde6; }
.ax-reading { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.ax-reading-h { font-family: var(--mono); text-transform: uppercase; letter-spacing: .08em; color: #d9dde6; margin-right: 2px; }
.ax-rb { font: 700 .82rem/1 var(--sans); color: #f8f6f1; background: transparent; border: 2px solid #6b7385; border-radius: 6px; min-width: 32px; min-height: 32px; padding: 0 8px; cursor: pointer; }
.ax-rb--md { font-size: .98rem; } .ax-rb--lg { font-size: 1.16rem; } .ax-rb--wide { font-weight: 600; }
@media (max-width: 639px) { .ax-capm { text-transform: capitalize; } .ax-util-note { display: none; } .ax-util-row { justify-content: center; } .ax-wide { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }
.ax-rb[aria-pressed="true"] { background: var(--signal); color: var(--ink); border-color: var(--signal); }

/* header */
.ax-top { background: var(--paper); border-bottom: 3px solid var(--ink); position: relative; z-index: 20; }
.ax-top-row { display: flex; align-items: center; gap: 18px; min-height: 76px; }
.ax-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin: 0; }
.ax-logo img { width: 40px; height: 40px; }
.ax-logo-word { font-weight: 800; font-size: 1.32rem; letter-spacing: -.03em; line-height: 1; }
.ax-logo-word b { font-weight: 400; margin-left: 2px; }
.ax-nav { display: none; gap: 4px; margin-left: auto; }
.ax-nav a { display: inline-flex; align-items: baseline; gap: 6px; padding: 10px 10px; white-space: nowrap; border-radius: var(--r-s); color: var(--ink); font-weight: 700; font-size: .92rem; text-decoration: none; border: 2px solid transparent; }
.ax-nav a:hover { border-color: var(--ink); background: var(--card); }
.ax-nav-n { font: 600 .7rem var(--mono); color: var(--st); }
.ax-cta { display: none; align-items: center; gap: 8px; padding: 10px 16px; white-space: nowrap; background: var(--signal); color: var(--ink); font-weight: 800; font-size: .92rem; text-decoration: none; border: 2px solid var(--ink); border-radius: var(--r-s); box-shadow: 3px 3px 0 var(--ink); }
.ax-cta:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.ax-cta-dots { display: inline-flex; } .ax-cta-dots i { width: 12px; height: 12px; border: 2px solid var(--ink); border-radius: 50%; background: var(--ink); } .ax-cta-dots i + i { background: #fff; margin-left: -4px; }
.ax-menubtn { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; font: 700 .95rem var(--sans); color: var(--ink); background: var(--card); border: 2px solid var(--ink); border-radius: var(--r-s); cursor: pointer; }
.ax-menubtn-bars { width: 18px; height: 12px; border-top: 2px solid; border-bottom: 2px solid; position: relative; }
.ax-menubtn-bars::after { content: ""; position: absolute; left: 0; right: 0; top: 3px; border-top: 2px solid; }
.ax-drawer { border-top: 2px solid var(--ink); background: var(--card); }
.ax-drawer-sections { list-style: none; margin: 0; padding: 16px 0 22px; display: grid; gap: 10px; }
.ax-drawer-sections a { display: block; padding: 12px 14px; border: 2px solid var(--ink); border-left: 8px solid var(--st, var(--ink)); border-radius: var(--r-s); text-decoration: none; color: var(--ink); }
.ax-drawer-sections b { display: block; } .ax-drawer-sections span { display: block; line-height: 1.4; color: var(--muted); font-size: .88rem; }
@media (min-width: 1240px) { .ax-nav, .ax-cta { display: inline-flex; } .ax-menubtn { margin-left: 0; } .ax-drawer-sections { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 640px) and (max-width: 1239px) { .ax-cta { display: inline-flex; margin-left: auto; } .ax-menubtn { margin-left: 0; } .ax-drawer-sections { grid-template-columns: 1fr 1fr; } }

/* home hero */
.ax-hero { border-bottom: 3px solid var(--ink); background: linear-gradient(90deg, rgba(18, 22, 31, .06) 1px, transparent 1px) 0 0 / 32px 32px, linear-gradient(rgba(18, 22, 31, .06) 1px, transparent 1px) 0 0 / 32px 32px, var(--paper); }
.ax-hero-grid { display: grid; gap: 28px; padding: 40px 0 44px; }
.ax-eyebrow { font: 600 .78rem var(--mono); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 12px; display: inline-block; background: var(--signal); padding: 3px 8px; border: 2px solid var(--ink); }
.ax-hero h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); letter-spacing: -.035em; margin-bottom: .35em; }
.ax-hero-lede { font-size: 1.12rem; color: var(--ink-2); max-width: 36em; }
.ax-go { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ax-go a { display: block; height: 100%; padding: 12px 14px; background: var(--card); color: var(--ink); text-decoration: none; border: 2px solid var(--ink); border-radius: var(--r-s); box-shadow: 3px 3px 0 var(--ink); }
.ax-go a:hover { box-shadow: 5px 5px 0 var(--ink); transform: translate(-1px, -1px); }
.ax-go b { display: block; font-size: 1.02rem; } .ax-go span { display: block; font-size: .85rem; line-height: 1.4; color: var(--muted); margin-top: 2px; }
.ax-hero-side { background: var(--card); border: 3px solid var(--ink); border-radius: var(--r); box-shadow: 8px 8px 0 var(--ink); padding: 18px; align-self: start; }
.ax-hero-side-h { font: 600 .8rem var(--mono); text-transform: uppercase; letter-spacing: .08em; margin: 0 0 10px; }
@media (min-width: 960px) { .ax-hero-grid { grid-template-columns: 1.1fr .9fr; align-items: center; padding: 64px 0; gap: 56px; } .ax-go { grid-template-columns: repeat(4, 1fr); } }

/* page head ticket */
.ax-pagehead { padding: 22px 0 30px; border-bottom: 3px solid var(--ink); background: var(--wash); }
.ax-trail { font-size: .85rem; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 16px; }
.ax-trail a { color: var(--ink-2); }
.ax-trail [aria-current] { color: var(--muted); }
.ax-ticket { position: relative; max-width: 900px; }
.ax-pagehead--ticket .ax-ticket { background: var(--card); border: 3px solid var(--ink); border-radius: var(--r); box-shadow: var(--hard); padding: 30px 22px 20px; margin-top: 18px; }
.ax-ticket-tab { position: absolute; top: -17px; left: 18px; margin: 0; display: flex; gap: 6px; }
.ax-ticket-tab span { font: 600 .74rem var(--mono); text-transform: uppercase; letter-spacing: .08em; background: var(--st); color: #fff; padding: 5px 10px; border: 2px solid var(--ink); border-radius: 4px; }
.ax-ticket-tab .ax-ticket-kind { background: var(--signal); color: var(--ink); }
.ax-ticket h1 { font-size: clamp(1.9rem, 5vw, 2.9rem); letter-spacing: -.03em; margin-bottom: .3em; }
.ax-pagehead-lede { font-size: 1.08rem; color: var(--ink-2); margin-bottom: 14px; }
.ax-ticket-chips { list-style: none; margin: 0; padding: 14px 0 0; border-top: 2px dashed var(--line); display: flex; flex-wrap: wrap; gap: 8px; }
.ax-ticket-chips li { font: 600 .8rem var(--mono); padding: 4px 10px; border: 2px solid var(--ink); border-radius: 99px; background: var(--paper); }
.ax-ticket-chips .ax-ticket-date { border-style: dashed; color: var(--muted); border-color: var(--line-2); }

/* reading column */
.ax-read { padding: 34px 0 56px; display: grid; gap: 34px; }
.ax-read--narrow > *, .ax-read > .ax-article { max-width: 820px; }
.ax-guides-h { font-weight: 800; margin-bottom: 12px; }
.ax-read--home { padding-top: 40px; }
.ax-article { counter-reset: part; min-width: 0; }
.ax-article h2 { font-size: clamp(1.45rem, 3.4vw, 1.9rem); margin-top: 0; }
.ax-article h3 { font-size: 1.18rem; margin-top: 1.4em; }
.ax-article ul, .ax-article ol { padding-left: 1.3em; } .ax-article li { margin-bottom: .4em; }
.ax-intro { font-size: 1.1rem; }
.ax-intro p:first-child::first-line { font-weight: 700; }
.ax-part { padding-top: 34px; margin-top: 34px; border-top: 2px solid var(--ink); }
.ax-part > h2::before { counter-increment: part; content: counter(part, decimal-leading-zero); display: block; font: 600 .8rem var(--mono); color: var(--st); letter-spacing: .1em; margin-bottom: 8px; }

/* quick facts */
.ax-key { margin: 26px 0; border: 3px solid var(--ink); border-radius: var(--r); background: var(--card); overflow: hidden; }
.ax-key-h { margin: 0; padding: 10px 16px; background: var(--ink); color: var(--paper); font: 600 .8rem var(--mono); text-transform: uppercase; letter-spacing: .1em; }
.ax-key ul { list-style: none; margin: 0; padding: 0; display: grid; }
.ax-key li { padding: 12px 16px; border-top: 1px solid var(--line); display: grid; gap: 2px; margin: 0; }
.ax-key li:first-child { border-top: 0; }
.ax-key-name { margin: 0; font: 600 .78rem var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.ax-key-val { font-weight: 700; } .ax-key-val p { margin: 0; }
@media (min-width: 700px) { .ax-key ul { grid-template-columns: 1fr 1fr; } .ax-key li { border-left: 1px solid var(--line); } .ax-key li:nth-child(2) { border-top: 0; } .ax-key li:nth-child(odd) { border-left: 0; } }

/* table of contents */
.ax-toc { margin: 26px 0 8px; padding: 16px 18px; border: 2px dashed var(--line-2); border-radius: var(--r); background: var(--paper); }
.ax-toc p { margin: 0 0 8px; font: 600 .8rem var(--mono); text-transform: uppercase; letter-spacing: .1em; }
.ax-toc ol { margin: 0; padding-left: 1.6em; columns: 1; } .ax-toc li { margin: 0 0 4px; break-inside: avoid; }
.ax-toc a { color: var(--ink); } .ax-toc a[aria-current] { background: var(--signal); }
@media (min-width: 760px) { .ax-toc ol { columns: 2; column-gap: 32px; } }

/* tables, callouts, code */
.ax-table { overflow-x: auto; margin: 18px 0; border: 2px solid var(--ink); border-radius: var(--r-s); background: var(--card); }
.ax-table table { border-collapse: collapse; width: 100%; font-size: .93rem; min-width: 520px; }
.ax-table caption { text-align: left; padding: 10px 12px; font-weight: 700; border-bottom: 2px solid var(--ink); }
.ax-table th, .ax-table td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.ax-table thead th { background: var(--wash); font: 600 .8rem var(--mono); text-transform: uppercase; letter-spacing: .05em; border-bottom: 2px solid var(--ink); }
.ax-table tbody tr:last-child > * { border-bottom: 0; }
.tip, .warn, .note, .pass, .fail { margin: 20px 0; padding: 14px 16px 14px 18px; border: 2px solid var(--ink); border-left-width: 8px; border-radius: var(--r-s); background: var(--card); }
.tip { border-left-color: var(--pass); } .warn { border-left-color: var(--fail); background: var(--warn-soft); } .note { border-left-color: var(--link); }
.tip::before, .warn::before, .note::before, .pass::before, .fail::before { display: block; font: 600 .74rem var(--mono); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 4px; }
.tip::before { content: "Tip"; color: var(--pass); } .warn::before { content: "Watch out"; color: var(--fail); } .note::before { content: "Note"; color: var(--link); }
.pass { border-left-color: var(--pass); background: var(--pass-soft); } .pass::before { content: "Passes"; color: var(--pass); }
.fail { border-left-color: var(--fail); background: var(--fail-soft); } .fail::before { content: "Fails"; color: var(--fail); }
.tip > :last-child, .warn > :last-child, .note > :last-child, .pass > :last-child, .fail > :last-child { margin-bottom: 0; }
code, kbd { font-family: var(--mono); font-size: .88em; }
:not(pre) > code { background: var(--wash); border: 1px solid var(--line); border-radius: 4px; padding: .05em .35em; overflow-wrap: anywhere; }
pre { margin: 14px 0; padding: 14px 16px; background: var(--ink); color: #f1efe8; border-radius: var(--r-s); overflow-x: auto; font-size: .9rem; line-height: 1.55; border-left: 6px solid var(--signal); }
pre code { font-size: 1em; }
kbd { display: inline-block; padding: .05em .45em; border: 2px solid var(--ink); border-bottom-width: 4px; border-radius: 5px; background: var(--card); font-weight: 600; line-height: 1.3; }
.path { font-weight: 700; background: var(--signal-soft); padding: 0 .3em; border-radius: 3px; }
.swatch { display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px; border: 2px solid var(--ink); border-radius: 5px; font-weight: 700; }
.swatch small { font: 600 .74rem var(--mono); background: var(--card); color: var(--ink); padding: 1px 6px; border-radius: 3px; border: 1px solid var(--ink); }
.steps { counter-reset: st; list-style: none; padding-left: 0 !important; }
.steps > li { counter-increment: st; position: relative; padding-left: 46px; margin-bottom: 12px; min-height: 32px; }
.steps > li::before { content: counter(st); position: absolute; left: 0; top: 0; width: 32px; height: 32px; display: grid; place-items: center; font: 700 .9rem var(--mono); background: var(--signal); border: 2px solid var(--ink); border-radius: 50%; }

/* FAQ */
.ax-faq { margin-top: 40px; padding-top: 30px; border-top: 3px solid var(--ink); }
.ax-faq details { border: 2px solid var(--ink); border-radius: var(--r-s); background: var(--card); margin-bottom: 10px; }
.ax-faq summary { cursor: pointer; padding: 14px 48px 14px 16px; font-weight: 700; list-style: none; position: relative; }
.ax-faq summary::-webkit-details-marker { display: none; }
.ax-faq summary::after { content: "+"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; display: grid; place-items: center; border: 2px solid var(--ink); border-radius: 50%; font: 700 1rem var(--mono); }
.ax-faq details[open] summary::after { content: "\2212"; background: var(--signal); }
.ax-faq-a { padding: 0 16px 14px; } .ax-faq-a p:last-child { margin-bottom: 0; }

/* related, indexes, tiles */
.ax-related h2, .ax-guides-h { font-size: 1.2rem; }
.ax-related ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ax-related a { display: block; padding: 12px 14px; background: var(--card); border: 2px solid var(--ink); border-left: 8px solid var(--st); border-radius: var(--r-s); color: var(--ink); text-decoration: none; }
.ax-related a:hover { box-shadow: 4px 4px 0 var(--ink); }
.ax-related b { display: block; } .ax-related span { display: block; line-height: 1.4; font-size: .84rem; color: var(--muted); }
@media (min-width: 760px) { .ax-related ul { grid-template-columns: repeat(3, 1fr); } }
.ax-indexes { padding: 10px 0 56px; }
.ax-indexes-h { font-size: clamp(1.6rem, 4vw, 2.2rem); margin-top: 20px; }
.ax-index { margin-top: 26px; padding: 18px; border: 3px solid var(--ink); border-radius: var(--r); background: var(--card); border-top: 10px solid var(--st); }
.ax-index-head { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.ax-index h2 { font-size: 1.3rem; margin: 0; } .ax-index h2 small { font: 600 .8rem var(--mono); color: var(--st); margin-left: 6px; }
.ax-filter { display: flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 700; }
.ax-filter input { font: inherit; font-weight: 400; min-height: 40px; padding: 6px 10px; border: 2px solid var(--ink); border-radius: var(--r-s); width: 14rem; max-width: 60vw; background: var(--paper); }
.ax-chips { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ax-chips a { display: block; height: 100%; padding: 10px 12px; border: 2px solid var(--line-2); border-radius: var(--r-s); text-decoration: none; color: var(--ink); background: var(--paper); }
.ax-chips a:hover { border-color: var(--ink); background: var(--signal-soft); }
.ax-chips b { display: block; font-size: .96rem; } .ax-chips span { display: block; font-size: .82rem; color: var(--muted); line-height: 1.4; }
@media (min-width: 640px) { .ax-chips { grid-template-columns: 1fr 1fr; } } @media (min-width: 1000px) { .ax-chips { grid-template-columns: repeat(3, 1fr); } }
.ax-tiles { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 10px; }
.ax-tile a { display: block; padding: 12px 14px; border: 2px solid var(--ink); border-left: 8px solid var(--st); border-radius: var(--r-s); background: var(--card); color: var(--ink); text-decoration: none; }
.ax-tile-img { display: none; } .ax-tile-name { display: block; font-weight: 700; } .ax-tile-meta { font-size: .84rem; color: var(--muted); }
.ax-latest { padding-bottom: 56px; } .ax-latest ul { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 8px; }
.ax-latest a { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 2px solid var(--ink); border-radius: var(--r-s); background: var(--card); color: var(--ink); text-decoration: none; }
.ax-latest small { font-family: var(--mono); color: var(--muted); white-space: nowrap; }
@media (min-width: 760px) { .ax-latest ul { grid-template-columns: 1fr 1fr; } }
.ax-list-title { padding: 30px 0 10px; } .ax-postlist { display: grid; gap: 14px; padding-bottom: 30px; }
.ax-postrow { padding: 16px 18px; border: 2px solid var(--ink); border-radius: var(--r-s); background: var(--card); }
.ax-postrow h2 { font-size: 1.2rem; margin-bottom: .2em; } .ax-postrow h2 a { color: var(--ink); }
.ax-date { font: 600 .8rem var(--mono); color: var(--muted); margin-bottom: .4em; }
.ax-pager { display: flex; gap: 8px; flex-wrap: wrap; padding-bottom: 50px; }
.ax-pager a, .ax-pager span { min-width: 40px; min-height: 40px; display: inline-grid; place-items: center; padding: 0 10px; border: 2px solid var(--ink); border-radius: var(--r-s); background: var(--card); }
.ax-pager .current { background: var(--signal); }
.ax-article--post img { border-radius: var(--r-s); }
.ax-ad { margin: 26px 0; }

/* footer */
.ax-foot { background: var(--ink); color: #e8e6df; font-size: .92rem; border-top: 8px solid var(--signal); }
.ax-foot a { color: #f8f6f1; }
.ax-foot-grid { display: grid; gap: 26px; padding: 40px 0 26px; }
.ax-logo--foot { color: #f8f6f1; margin-bottom: 12px; }
.ax-foot-h { font: 600 .78rem var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--signal); margin-bottom: 8px; }
.ax-foot-btn { display: inline-block; margin-top: 4px; padding: 10px 14px; background: var(--signal); color: var(--ink) !important; font-weight: 800; text-decoration: none; border-radius: var(--r-s); }
.ax-foot-pages { display: grid; gap: 22px; padding: 24px 0; border-top: 1px solid #3a4252; border-bottom: 1px solid #3a4252; }
.ax-foot-pages p { margin: 0 0 6px; font-weight: 800; color: #fff; border-bottom: 3px solid var(--signal); display: inline-block; }
.ax-foot-pages ul { list-style: none; margin: 0; padding: 0; } .ax-foot-pages li { margin: 6px 0; }
.ax-foot-legal { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 20px 0 34px; color: #c9cdd6; }
@media (min-width: 760px) { .ax-foot-grid { grid-template-columns: 1.4fr 1fr; } .ax-foot-pages { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .ax-foot-pages { grid-template-columns: repeat(6, 1fr); } }
.ax-toast { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 60; margin: 0; padding: 10px 18px; background: var(--ink); color: #fff; border: 2px solid var(--signal); border-radius: var(--r-s); font-weight: 700; }

/* tools */
.ax-tool { margin: 26px 0; }
.ax-article .ax-tool { padding: 18px; border: 3px solid var(--ink); border-radius: var(--r); background: var(--card); box-shadow: var(--hard); }
.ax-tool-help { font-size: .84rem; color: var(--muted); margin: 6px 0 10px; }
.ax-tool label, .ax-tool legend { font-weight: 700; font-size: .92rem; }
.ax-tool input[type=text], .ax-tool textarea, .ax-tool select { font: 400 1rem var(--sans); color: var(--ink); background: var(--paper); border: 2px solid var(--ink); border-radius: var(--r-s); padding: 8px 10px; min-height: 44px; width: 100%; }
.ax-tool textarea { font-family: var(--mono); font-size: .88rem; resize: vertical; }
.ax-tool [aria-invalid="true"] { border-color: var(--fail); background: var(--fail-soft); }
.ax-btn { font: 800 .92rem var(--sans); min-height: 44px; padding: 0 16px; color: var(--ink); background: var(--signal); border: 2px solid var(--ink); border-radius: var(--r-s); box-shadow: 3px 3px 0 var(--ink); cursor: pointer; }
.ax-btn:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.ax-btn--ghost { background: var(--card); }
.ax-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0; }
.ax-cc-pair { display: grid; gap: 12px; align-items: end; }
.ax-cc-inputs { display: flex; gap: 8px; margin-top: 4px; }
.ax-cc-inputs input[type=color] { width: 52px; min-width: 52px; height: 44px; padding: 2px; border: 2px solid var(--ink); border-radius: var(--r-s); background: var(--card); cursor: pointer; }
.ax-cc-inputs input[type=text] { font-family: var(--mono); }
.ax-cc-sample { border: 2px solid var(--ink); border-radius: var(--r-s); padding: 16px; display: grid; gap: 6px; }
.ax-cc-sample p { margin: 0; } .ax-cc-normal { font-size: 16px; } .ax-cc-large { font-size: 24px; font-weight: 400; line-height: 1.2; }
.ax-cc-ui { justify-self: start; border: 2px solid currentColor; border-radius: 6px; padding: 4px 12px; font-weight: 700; font-size: 15px; }
.ax-cc-ratio { margin: 14px 0 8px; font-size: 1rem; } .ax-cc-ratio b { font: 600 2.1rem/1 var(--mono); margin-right: 6px; }
.ax-article .ax-tool ul { padding-left: 0; }
.ax-cc-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ax-cc-rows li { display: grid; grid-template-columns: 58px 1fr auto; gap: 10px; align-items: center; padding: 6px 10px; border: 2px solid var(--ink); border-radius: var(--r-s); font-size: .9rem; }
.ax-cc-rows .is-pass { background: var(--pass-soft); } .ax-cc-rows .is-fail { background: var(--fail-soft); }
.ax-cc-verdict { font: 600 .78rem var(--mono); text-transform: uppercase; text-align: center; padding: 2px 0; border-radius: 4px; color: #fff; }
.is-pass .ax-cc-verdict { background: var(--pass); } .is-fail .ax-cc-verdict { background: var(--fail); }
.ax-cc-need { font: 400 .8rem var(--mono); color: var(--muted); }
.ax-cc-fix p { margin: 12px 0 0; font-size: .92rem; } .ax-cc-fix .ax-btn { margin-left: 6px; min-height: 36px; }
@media (min-width: 640px) { .ax-cc-pair { grid-template-columns: 1fr 1fr auto; } }
.ax-cc--hero .ax-cc-sample { padding: 12px; }
.ax-cl-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; }
.ax-cl-f { display: grid; gap: 4px; min-width: 180px; }
.ax-cl-count { margin: 0 auto 0 0; font: 600 1rem var(--mono); background: var(--signal); padding: 8px 12px; border: 2px solid var(--ink); border-radius: var(--r-s); }
.ax-cl-table td:first-child { width: 56px; } .ax-cl-table input[type=checkbox] { width: 24px; height: 24px; accent-color: var(--ink); }
.ax-cl-num { font-family: var(--mono); margin-right: 6px; }
.ax-cl-group th { background: var(--ink); color: var(--paper); font: 600 .8rem var(--mono) !important; text-transform: uppercase; letter-spacing: .08em; }
.ax-ac-sum { list-style: none; margin: 14px 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ax-ac-sum li { font: 600 .85rem var(--mono); padding: 6px 10px; border: 2px solid var(--ink); border-radius: 99px; }
.ax-ac-sum .is-fail, .ax-ac tr.is-fail { background: var(--fail-soft); } .ax-ac-sum .is-warn, .ax-ac tr.is-warn { background: var(--warn-soft); }
.ax-ac-sum .is-pass, .ax-ac tr.is-pass { background: var(--pass-soft); }
.ax-ac-src { font-family: var(--mono); font-size: .8rem; overflow-wrap: anywhere; } .ax-ac-tag { font-weight: 700; }
.ax-ag-kinds { border: 2px solid var(--ink); border-radius: var(--r-s); padding: 10px 14px 6px; margin: 0 0 14px; display: grid; gap: 4px; }
.ax-ag-k { display: flex; align-items: center; gap: 10px; min-height: 36px; } .ax-ag-k input { width: 22px; height: 22px; accent-color: var(--ink); } .ax-ag-k label { font-weight: 400; }
.ax-ag-fields { display: grid; gap: 12px; } .ax-ag-f .ax-tool-help { margin: 0 0 6px; }
.ax-ag-out { margin-top: 14px; padding: 14px; border: 2px dashed var(--ink); border-radius: var(--r-s); background: var(--paper); }
.ax-ag-h { font: 600 .78rem var(--mono); text-transform: uppercase; letter-spacing: .08em; margin: 0 0 4px; }
.ax-ag-alt { font-size: 1.15rem; font-weight: 700; margin: 0 0 8px; }
.ax-ag-notes { font-size: .9rem; margin: 10px 0 0; padding-left: 1.2em; }

/* reading options */
html[data-ax-links] a { text-decoration: underline !important; text-decoration-thickness: 2px !important; }
html[data-ax-contrast] { --paper: #fff; --wash: #fff; --card: #fff; --muted: #12161f; --ink-2: #000; --line: #12161f; --line-2: #12161f; --link: #0b1f8a; }
html[data-ax-contrast] body { color: #000; }
html[data-ax-contrast] .ax-hero { background: #fff; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } .ax-btn:hover, .ax-go a:hover, .ax-cta:hover { transform: none; } }
@media (forced-colors: active) { .ax-cc-verdict, .ax-btn, .ax-cta { border: 2px solid ButtonText; } .tip, .warn, .note, .pass, .fail { border-left-width: 8px; } }
@media print { .ax-util, .ax-top, .ax-foot, .ax-toc, .ax-tool, .ax-related { display: none; } body { background: #fff; } }
