:root {
    color-scheme: light;
    --bg: #fbfaf7;
    --text: #111827;
    --muted: #5f6b7a;
    --line: #ded8cf;
    --accent: #0b2d57;
}

* {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.72;
}

.page {
    width: min(860px, calc(100% - 40px));
    margin: 0 auto;
    padding: 52px 0 72px;
}

.document {
    padding: 0;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

h1 {
    margin: 0 0 8px;
    color: var(--text);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(36px, 8vw, 62px);
    line-height: 1.05;
}

h2 {
    margin: 42px 0 12px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    color: var(--text);
    font-size: 22px;
    line-height: 1.35;
}

p,
ul,
ol {
    margin: 0 0 16px;
    color: var(--muted);
}

ul,
ol {
    padding-left: 24px;
}

li {
    margin: 7px 0;
}

a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 4px;
}

strong {
    color: var(--text);
}

.lead {
    margin-top: 22px;
    color: #334155;
    font-size: 18px;
    line-height: 1.75;
}

.meta {
    color: var(--muted);
    font-size: 14px;
}

.toc {
    margin: 34px 0 36px;
    padding: 24px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.toc p {
    margin-bottom: 10px;
    color: var(--text);
    font-weight: 800;
}

.toc ol {
    margin-bottom: 0;
    columns: 2;
}

table {
    width: 100%;
    margin: 20px 0 28px;
    border-collapse: collapse;
    color: var(--muted);
    font-size: 14px;
}

th,
td {
    padding: 13px 12px;
    border-top: 1px solid var(--line);
    vertical-align: top;
    text-align: left;
}

th {
    color: var(--text);
    font-weight: 800;
}

tr:last-child td {
    border-bottom: 1px solid var(--line);
}

.notice {
    margin-top: 22px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    color: var(--muted);
}

[dir="rtl"] th,
[dir="rtl"] td {
    text-align: right;
}

@media (max-width: 700px) {
    .page {
        width: min(100% - 28px, 860px);
        padding: 32px 0 52px;
    }

    .toc ol {
        columns: 1;
    }

    table,
    thead,
    tbody,
    tr,
    th,
    td {
        display: block;
    }

    thead {
        display: none;
    }

    tr {
        border-top: 1px solid var(--line);
    }

    tr:last-child {
        border-bottom: 1px solid var(--line);
    }

    td {
        border-top: 0;
        padding: 9px 0;
    }

    tr:last-child td {
        border-bottom: 0;
    }

    td::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 2px;
        color: var(--text);
        font-size: 12px;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.04em;
    }
}
