:root {
    color-scheme: light;
    --ink: #1f2937;
    --muted: #5f6b7a;
    --line: #d8dee8;
    --accent: #cb3837;
    --accent-dark: #a42d2c;
    --soft: #f7f8fa;
    --ok: #0f7b3f;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    color: var(--ink);
    background: #fff;
}

a {
    color: var(--accent-dark);
}

.wrap {
    width: min(1040px, calc(100% - 40px));
    margin: 0 auto;
    padding: 34px 0 56px;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
}

.mark {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: #fff;
    background: var(--accent);
    font-weight: 800;
    border-radius: 6px;
}

nav {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    font-size: 14px;
}

nav a {
    color: var(--muted);
    text-decoration: none;
}

nav a:hover {
    color: var(--accent-dark);
}

main {
    padding-top: 48px;
}

h1 {
    margin: 0;
    max-width: 820px;
    font-size: 44px;
    line-height: 1.12;
    letter-spacing: 0;
}

h2 {
    margin: 0 0 14px;
    font-size: 24px;
    letter-spacing: 0;
}

h3 {
    margin: 0 0 8px;
    font-size: 18px;
    letter-spacing: 0;
}

p {
    line-height: 1.65;
}

.lead {
    max-width: 720px;
    margin: 18px 0 32px;
    color: var(--muted);
    font-size: 18px;
}

.panel {
    padding: 22px;
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 8px;
}

code,
pre {
    color: #111827;
    font: 15px/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

pre {
    overflow-x: auto;
    margin: 0;
    white-space: pre;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 28px;
}

.two {
    grid-template-columns: repeat(2, 1fr);
}

.item {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.item strong {
    display: block;
    margin-bottom: 8px;
}

.item span,
.item p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}

.section {
    margin-top: 42px;
}

.status-ok {
    display: inline-block;
    padding: 8px 12px;
    color: var(--ok);
    background: #eaf7ef;
    border: 1px solid #b9e3c7;
    border-radius: 6px;
    font-weight: 700;
}

.table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.table th,
.table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.table th {
    color: var(--muted);
    background: var(--soft);
    font-weight: 600;
}

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

footer {
    margin-top: 48px;
    color: var(--muted);
    font-size: 13px;
}

@media (max-width: 760px) {
    header {
        align-items: flex-start;
        flex-direction: column;
    }

    h1 {
        font-size: 34px;
    }

    .grid,
    .two {
        grid-template-columns: 1fr;
    }

    .table {
        display: block;
        overflow-x: auto;
    }
}
