* { box-sizing: border-box; }
body {
    margin: 0;
    min-height: 100vh;
    background: #212529;
    color: #f5f5f5;
    font-family: system-ui, -apple-system, "Segoe UI", "Malgun Gothic", sans-serif;
    line-height: 1.8;
    word-break: keep-all;
    overflow-wrap: anywhere;
}
a { color: inherit; text-underline-offset: 4px; }
a:hover { text-decoration: underline; }
a:focus-visible, [tabindex="0"]:focus-visible { outline: 3px solid #f06e74; outline-offset: 5px; }
img { max-width: 100%; height: auto; }
cite { font-style: normal; }
.skip-link { position: absolute; top: -100px; left: 12px; padding: 8px 12px; background: #212529; color: #fff; z-index: 1; }
.skip-link:focus { top: 8px; }
.site-brand { display: block; margin: 0 0 24px; }
.site-logo { display: block; width: 160px; height: auto; margin: 0 auto; border-radius: 4px; }
.intro { padding: 40px 20px; background: #212529; text-align: center; }
.intro-inner { max-width: 640px; margin: 0 auto; }
.intro-title { margin: 0; font-size: clamp(23px, 4vw, 30px); line-height: 1.5; }
.action-button {
    display: block;
    width: 100%;
    max-width: 520px;
    margin: 24px auto 0;
    padding: 18px 12px;
    border-radius: 6px;
    background: #495057;
    color: #fff;
    font-size: clamp(22px, 5vw, 32px);
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
}
.action-button:hover { background: #5c636a; text-decoration: none; }
.eyebrow { margin: 0 0 14px; font-size: 13px; font-weight: 650; letter-spacing: .05em; }
.prose p { margin: 0 0 20px; }
.prose h2 { margin: 42px 0 16px; font-size: clamp(23px, 3vw, 28px); line-height: 1.5; }
.prose h3 { margin: 26px 0 10px; font-size: 20px; line-height: 1.6; }
.prose ul, .prose ol { padding-left: 24px; }
.prose li { margin: 8px 0; }
.source-note { font-size: 14px; }
/* Wide comparisons scroll inside their own region on small screens. */
.table-wrap { margin: 24px 0; overflow-x: auto; border: 1px solid #697078; border-radius: 6px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
caption { padding: 14px 16px; text-align: left; font-weight: 650; }
th, td { padding: 14px 16px; text-align: left; vertical-align: top; border-top: 1px solid #697078; }
thead { background: #ffffff08; }
th { font-weight: 650; }
.site-footer { padding: 26px 18px; border-top: 1px solid #ffffff29; color: #c8cdd2; background: #212529; text-align: center; font-size: 14px; }
.site-footer p { margin: 0; }
/* The error page shares the brand and primary action styles. */
.error-code { margin: 32px 0 16px; font-size: clamp(64px, 18vw, 96px); font-weight: 800; line-height: 1; }
.error-description { margin: 18px 0 0; color: #c8cdd2; }
.home-button { max-width: 320px; font-size: 18px; }
.error-link { margin-top: 20px; color: #ff9a9b; }
@media (max-width: 480px) {
    .site-logo { width: 140px; }
    .intro { padding: 28px 20px 32px; }
    .action-button { padding: 16px 12px; }
    .prose h2 { margin-top: 34px; }
    th, td { padding: 12px; }
}
