html {
    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

body {
    margin: 0;
    background: #dcebea;
    color: #244a47;
    font-family: "Palatino Linotype", Palatino, Georgia, serif;
    line-height: 1.72;
}

a {
    color: #2f6f69;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

a:hover {
    color: #3d827a;
}

a:active {
    color: #6a9f98;
}

a:focus-visible {
    outline: 3px solid #5f9b94;
    outline-offset: 4px;
}

p {
    margin: 0;
    font-size: 16px;
}

h1 {
    margin: 8px 0 0;
    font-size: 40px;
    line-height: 1.12;
    font-weight: 400;
    color: #285853;
}

h2 {
    margin: 0 0 18px;
    font-size: 28px;
    line-height: 1.24;
    font-weight: 400;
    color: #316760;
}

h3 {
    margin: 28px 0 10px;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 600;
    color: #3b756e;
}

ul,
ol {
    margin: 18px 0 0;
    padding-left: 24px;
    font-size: 16px;
}

li + li {
    margin-top: 8px;
}

.shell {
    min-height: 100vh;
    padding: 28px;
    background: linear-gradient(135deg, #d4e6e3 0, #edf6f4 52%, #c4dcda 100%);
}

.page {
    max-width: 1180px;
    margin: 0 auto;
    background: #f7fbfa;
    border: 1px solid #aaccc7;
    box-shadow: 0 24px 64px rgba(56, 112, 105, 0.14);
    display: grid;
    grid-template-columns: 1fr;
}

.topbar {
    height: 14px;
    background: linear-gradient(90deg, #4a837c 0, #4a837c 20%, #79aaa4 20%, #79aaa4 36%, #c5dfdb 36%, #c5dfdb 100%);
}

.head {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 42px 34px 34px;
    background: #e7f2f0;
    border-bottom: 1px solid #b8d5d1;
}

.logo {
    display: inline-block;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    letter-spacing: 0.22em;
    text-transform: lowercase;
    text-decoration: none;
    color: #4f7f79;
}

.intro {
    max-width: 790px;
    font-size: 16px;
}

.site-nav {
    padding: 14px 24px;
    background: #d3e7e4;
    border-bottom: 1px solid #a9cbc6;
}

.site-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-nav li {
    margin: 0;
}

.site-nav a {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    text-decoration: none;
    letter-spacing: 0.03em;
}

.content {
    display: grid;
    grid-template-columns: 1fr;
}

.band {
    display: grid;
    grid-template-columns: 1fr;
    border-bottom: 1px solid #c2d8d4;
}

.band:last-child {
    border-bottom: 0;
}

.label {
    padding: 22px 30px;
    background: #dbeae7;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: lowercase;
    color: #557b76;
}

.text {
    padding: 34px;
    background: #fbfefd;
}

.text p + p {
    margin-top: 18px;
}

.text a {
    font-weight: 600;
}

.band:nth-child(2n) .text {
    background: #eef7f5;
}

.band:nth-child(3n) .text {
    background: #f5fbfa;
}

.callout {
    margin-top: 24px;
    padding: 20px 22px;
    border-left: 4px solid #6fa29b;
    background: #e3f0ed;
}

.callout p + p {
    margin-top: 10px;
}

.matrix {
    width: 100%;
    margin-top: 20px;
    border-collapse: collapse;
    font-size: 15px;
}

.matrix th,
.matrix td {
    padding: 12px 14px;
    border: 1px solid #b7d1cd;
    text-align: left;
    vertical-align: top;
}

.matrix th {
    background: #dcece9;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    color: #3d6f69;
}

.site-footer {
    padding: 24px 34px;
    border-top: 1px solid #aacbc6;
    background: #cfe4e0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
}

.site-footer a {
    text-decoration: none;
}

.side {
    display: none;
}

@media (min-width: 820px) {
    .page {
        grid-template-columns: 1fr 118px;
    }

    .topbar,
    .head,
    .site-nav,
    .site-footer {
        grid-column: 1 / 3;
    }

    .head {
        grid-template-columns: 0.62fr 1.38fr;
        padding: 54px 60px 44px;
    }

    .content {
        grid-column: 1;
    }

    .band {
        grid-template-columns: 176px 1fr;
    }

    .label {
        padding: 40px 28px;
    }

    .text {
        padding: 40px 56px;
    }

    .side {
        display: block;
        grid-column: 2;
        grid-row: 4;
        background: repeating-linear-gradient(180deg, #bdd8d3 0, #bdd8d3 28px, #e8f3f1 28px, #e8f3f1 64px);
        border-left: 1px solid #a8c8c3;
    }
}

@media (min-width: 1120px) {
    .text {
        padding-right: 88px;
    }
}

@media (max-width: 600px) {
    .shell {
        padding: 0;
    }

    .page {
        border-left: 0;
        border-right: 0;
        box-shadow: none;
    }

    .head {
        padding: 34px 22px 28px;
    }

    h1 {
        overflow-wrap: anywhere;
    }

    .site-nav {
        padding: 12px 18px;
    }

    .label,
    .text {
        padding-left: 22px;
        padding-right: 22px;
    }

    .matrix {
        display: block;
        overflow-x: auto;
        max-width: 100%;
    }
}
