body { margin: 0; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: #0f172a; color: #e2e8f0; }
main { max-width: 920px; margin: 0 auto; padding: 32px 20px; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.05; margin-bottom: 12px; }
h2 { margin-top: 0; }
.lede { font-size: 1.15rem; color: #cbd5e1; max-width: 760px; }
.badge { color: #7dd3fc; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; font-size: .82rem; }
.skip-link { position: absolute; left: 16px; top: -48px; background: #f8fafc; color: #082f49; padding: 10px 14px; border-radius: 10px; font-weight: 800; }
.skip-link:focus { top: 16px; }
.card { background: #111827; border: 1px solid #334155; border-radius: 18px; padding: 22px; margin: 20px 0; box-shadow: 0 12px 40px rgba(0,0,0,.25); }
.field { margin: 16px 0; }
label, legend { display: block; font-weight: 750; margin-bottom: 6px; }
.help, .hint { color: #cbd5e1; font-size: .94rem; margin: 6px 0 0; }
input[type="number"], textarea { display: block; width: 100%; box-sizing: border-box; margin-top: 6px; padding: 11px 12px; border-radius: 10px; border: 1px solid #64748b; background: #020617; color: #f8fafc; font: inherit; }
textarea { resize: vertical; min-height: 160px; }
fieldset { border: 1px solid #475569; border-radius: 14px; padding: 12px 14px; margin: 18px 0; }
.check { display: flex; align-items: flex-start; gap: 10px; font-weight: 600; }
.check input { margin-top: 3px; }
button { background: #38bdf8; border: 0; border-radius: 999px; padding: 12px 20px; font-weight: 850; color: #082f49; cursor: pointer; }
button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid #facc15; outline-offset: 3px; }
.tools-link { color: #7dd3fc; font-weight: 800; }
.result { border-color: #38bdf8; }
.warning { color: #dbeafe; border-color: #f59e0b; }
details { border-top: 1px solid #334155; padding: 12px 0; }
details:first-of-type { border-top: 0; }
summary { cursor: pointer; font-weight: 800; }
@media (max-width: 620px) { main { padding: 22px 14px; } .card { padding: 18px; } }
