:root {
    color-scheme: light;
    --ink: #405775;
    --heading: #4e5a91;
    --violet: #7260aa;
    --line: #c3cde2;
    --paper: #ffffff;
    --wash: #f0f4fc;
}

* {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    padding: 26px clamp(18px, 3.8vw, 64px) 32px;
    color: var(--ink);
    font-family: "Segoe UI", Arial, sans-serif;
}

.document {
    max-width: 1280px;
    margin: 0 auto;
    background: var(--paper);
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
    border-bottom: 6px solid var(--violet);
}

.heading {
    position: relative;
    padding: 26px 36px 28px;
    border-top: 6px solid var(--violet);
    border-bottom: 1px solid var(--line);
    background: #e9eefb;
}

.heading::before {
    position: absolute;
    top: -6px;
    left: 0;
    width: 31%;
    height: 6px;
    background: #6c94b3;
    content: "";
}

h1,
h2 {
    color: var(--heading);
    font-weight: 600;
    overflow-wrap: anywhere;
    text-wrap: balance;
}

h1 {
    margin: 0;
    font-size: 40px;
    line-height: 1.2;
    letter-spacing: -1.2px;
}

h2 {
    max-width: 100%;
    margin: 0 0 20px;
    font-size: 28px;
    line-height: 1.25;
    letter-spacing: -0.55px;
    break-after: avoid;
}

.band {
    position: relative;
    padding: 28px 36px;
}

.band + .band {
    border-top: 1px solid var(--line);
}

.band:nth-child(odd) {
    background: var(--wash);
}

.band::before {
    position: absolute;
    top: 30px;
    bottom: 30px;
    left: 12px;
    width: 3px;
    background: #c1b7dd;
    content: "";
}

.band:nth-child(odd)::before {
    background: #adc6db;
}

.flow {
    column-count: 2;
    column-gap: clamp(30px, 4vw, 64px);
    column-rule: 1px solid var(--line);
    column-fill: balance;
}

p {
    margin: 0 0 17px;
    font-size: 16px;
    line-height: 1.68;
    overflow-wrap: anywhere;
    orphans: 3;
    widows: 3;
}

p:last-child {
    margin-bottom: 0;
}

a,
a:link,
a:visited,
a:hover,
a:active {
    color: inherit;
    text-decoration: none;
}

a:hover {
    background: #dfe7f6;
}

a:focus-visible {
    outline: 2px solid #7661aa;
    outline-offset: 3px;
    background: #e8e1f6;
}

a:active {
    background: #cfdaf0;
}

::selection {
    color: #405775;
    background: #dcd4ef;
}

@media (min-width: 1600px) {
    body {
        padding-top: 34px;
    }

    .heading {
        padding-top: 30px;
        padding-bottom: 30px;
    }
}

@media (max-width: 1024px) {
    body {
        padding: 18px 20px 24px;
    }

    .heading {
        padding: 24px 28px;
    }

    .band {
        padding: 24px 28px;
    }

    .band::before {
        left: 9px;
        top: 26px;
        bottom: 26px;
        width: 2px;
    }

    .flow {
        column-gap: 32px;
    }
}

@media (max-width: 820px) {
    .flow {
        column-count: 1;
    }

    p {
        line-height: 1.65;
    }
}

@media (max-width: 520px) {
    body {
        padding: 0;
    }

    .document {
        border-left: 0;
        border-right: 0;
    }

    .heading {
        padding: 22px 20px 24px;
    }

    .band {
        padding: 23px 20px 23px 23px;
    }

    .band::before {
        left: 8px;
        top: 25px;
        bottom: 25px;
    }

    h2 {
        margin-bottom: 17px;
    }
}
