:root {
    color-scheme: light;
    --primary: #c92339;
    --background: #f9fafb;
    --text: #111827;
    --muted: #4b5563;
    --border: #e5e7eb;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 1rem; }
body {
    margin: 0;
    color: var(--text);
    background: var(--background);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.65;
    overflow-wrap: anywhere;
}
a { color: var(--primary); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 0.12em; }
a:focus-visible, [tabindex]:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 4px;
}
header {
    padding: 2rem 1rem;
    text-align: center;
    background: white;
    border-bottom: 1px solid var(--border);
}
h1 { margin: 0; font-size: clamp(1.75rem, 5vw, 2rem); line-height: 1.2; }
h1 a { color: inherit; text-decoration: none; }
.subtitle, .document-date { color: var(--muted); }
.subtitle { margin: 0.75rem 0 1.25rem; }
nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
nav a { display: inline-block; padding: 0.5rem 0; font-weight: 600; }
main { max-width: 64rem; margin: 0 auto; padding: 2rem; }
section {
    padding: 2rem;
    margin-bottom: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.08);
}
h2 { margin-top: 0; color: var(--primary); font-size: 1.75rem; line-height: 1.3; }
h3 { margin-top: 2rem; font-size: 1.25rem; line-height: 1.4; }
h4 { margin-top: 1.5rem; font-size: 1rem; }
p { margin: 0.8rem 0; }
ul { padding-left: 1.5rem; }
li { margin: 0.5rem 0; }
.table-scroll { max-width: 100%; overflow-x: auto; margin: 1.25rem 0; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th, td { border: 1px solid var(--border); padding: 0.8rem; vertical-align: top; }
th:first-child, td:first-child { min-width: 10rem; width: 25%; overflow-wrap: normal; }
th { background: #f3f4f6; }
td p, th p { margin: 0; }
td p + p, th p + p { margin-top: 0.65rem; }
.support-box { padding: 1.25rem; border-radius: 8px; background: #f3f4f6; }
.skip-link { position: absolute; left: 1rem; top: -10rem; background: white; padding: 0.75rem; }
.skip-link:focus { top: 1rem; }
@media (max-width: 600px) {
    main { padding: 1rem; }
    section { padding: 1.25rem; margin-bottom: 1rem; }
    h2 { font-size: 1.5rem; }
    th, td { padding: 0.5rem; }
    table { min-width: 32rem; }
}
@media print {
    body { color: black; background: white; }
    header, .skip-link { display: none; }
    main { max-width: none; padding: 0; }
    section { padding: 0; box-shadow: none; }
    h2, h3, h4 { break-after: avoid; color: black; }
    tr { break-inside: avoid; }
    thead { display: table-header-group; }
    .table-scroll { overflow: visible; }
}
