:root {
    color-scheme: light;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    color: #18223a;
    background: #f4f7fb;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    line-height: 1.65;
}

main {
    width: min(960px, calc(100% - 2rem));
    margin: 2.5rem auto;
}

header,
section {
    padding: clamp(1.25rem, 5vw, 2.5rem);
    border: 1px solid #dfe5ef;
    background: #fff;
}

header {
    border-radius: 1rem 1rem 0 0;
    color: #fff;
    background: linear-gradient(135deg, #21175f, #5b3df5);
}

section + section {
    border-top: 0;
}

section:last-child {
    border-radius: 0 0 1rem 1rem;
}

h1,
h2 {
    margin-top: 0;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2rem, 7vw, 3.6rem);
    letter-spacing: -.04em;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: .92rem;
}

th,
td {
    padding: .62rem;
    border: 1px solid #dfe5ef;
    text-align: left;
    vertical-align: top;
}

th {
    background: #f4f7fb;
}

code {
    padding: .08rem .3rem;
    border-radius: .25rem;
    background: #eef1f7;
}

a {
    color: #4530c8;
    text-underline-offset: 3px;
}

.note {
    padding: .8rem 1rem;
    border-left: 4px solid #5b3df5;
    border-radius: .55rem;
    background: #efecff;
}

@media (max-width: 680px) {
    .table-wrap {
        overflow-x: auto;
    }
}
