/* check.nodia.es — те же токены, что у nodia (global.css), без JS */
@font-face { font-family: Geist; font-weight: 400; font-display: swap; src: url(/geist-400.woff2) format('woff2'); }
@font-face { font-family: Geist; font-weight: 600; font-display: swap; src: url(/geist-600.woff2) format('woff2'); }
@font-face { font-family: 'Geist Mono'; font-weight: 500; font-display: swap; src: url(/mono-500.woff2) format('woff2'); }
:root { --bg: #fff; --surface: #fff; --text: #16181b; --muted: #545b64; --line: #d5d8dc; --accent: #c2361f; --accent-ink: #fff; color-scheme: light dark; }
@media (prefers-color-scheme: dark) { :root { --bg: #121416; --surface: #181b1e; --text: #ecedee; --muted: #a2a8b0; --line: #2c3035; --accent: #f06a4e; --accent-ink: #121416; } }
* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--bg); color: var(--text); font: 400 1rem/1.6 Geist, system-ui, sans-serif; min-height: 100vh; display: flex; flex-direction: column; }
a { color: inherit; }
header, main, footer { width: 100%; max-width: 640px; margin-inline: auto; padding-inline: 16px; }
header { display: flex; justify-content: space-between; align-items: center; padding-block: 18px; border-bottom: 1px solid var(--line); max-width: none; }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 1.25rem; text-decoration: none; }
.logo svg { width: 26px; height: 15px; }
nav { display: flex; gap: 14px; font-size: .8125rem; font-weight: 600; letter-spacing: .04em; }
nav a { color: var(--muted); text-decoration: none; }
main { flex: 1; padding-block: 48px 40px; }
h1 { font-size: clamp(1.75rem, 6vw, 2.5rem); line-height: 1.1; letter-spacing: -.02em; font-weight: 600; }
.lead { margin-top: 14px; color: var(--muted); font-size: 1.0625rem; }
form { display: flex; gap: 10px; margin: 28px 0 32px; flex-wrap: wrap; }
input[type=text] { flex: 1 1 220px; min-width: 0; font: 500 1rem 'Geist Mono', ui-monospace, monospace; padding: 13px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--text); }
input[type=text]:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
button, .btn { font: 600 1rem Geist, system-ui, sans-serif; padding: 13px 22px; border: 0; border-radius: 8px; background: var(--text); color: var(--bg); cursor: pointer; text-decoration: none; display: inline-block; }
.ghost { font-weight: 600; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 5px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.pin { display: inline-block; width: 9px; height: 9px; margin-right: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 20%, transparent); }
.wait .pin { animation: p 1.2s ease-in-out infinite; }
@keyframes p { 50% { box-shadow: 0 0 0 9px color-mix(in srgb, var(--accent) 0%, transparent); } }
@media (prefers-reduced-motion: reduce) { .wait .pin { animation: none; } }
.wait { font-family: 'Geist Mono', ui-monospace, monospace; font-size: .9375rem; }
.err { padding: 14px 16px; border-left: 3px solid var(--accent); background: color-mix(in srgb, var(--accent) 8%, transparent); }
.report { padding: 22px 20px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 18px 40px -24px color-mix(in srgb, var(--text) 35%, transparent); }
.report-head { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 2px solid var(--text); font-weight: 600; overflow-wrap: anywhere; }
.tag { font: 500 .8125rem 'Geist Mono', ui-monospace, monospace; color: var(--muted); white-space: nowrap; }
.report ul { list-style: none; }
.report li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.report li b { font: 500 .875rem 'Geist Mono', ui-monospace, monospace; text-align: right; }
.report li.bad b { color: var(--accent); }
.report-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 14px; }
.report-foot p { font: 500 .9375rem 'Geist Mono', ui-monospace, monospace; }
.stamp { flex: none; display: grid; place-items: center; width: 84px; height: 84px; border: 1.5px solid var(--accent); border-radius: 50%; color: var(--accent); font: 500 1.125rem 'Geist Mono', ui-monospace, monospace; line-height: 1; transform: rotate(-8deg); text-align: center; padding-top: 6px; }
.stamp small { display: block; font-size: .5625rem; letter-spacing: .08em; margin-bottom: -10px; }
.next { margin-top: 24px; color: var(--muted); }
.btns { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; margin-top: 18px; }
footer { padding-block: 24px 32px; border-top: 1px solid var(--line); font-size: .875rem; color: var(--muted); display: grid; gap: 6px; max-width: none; text-align: center; }
