:root {
    --accent: #2456d6;
    font:
        17px/1.7 system-ui,
        sans-serif;
    color: #253147;
    background: #fcfcfd;
}
* {
    box-sizing: border-box;
}
body {
    margin: 0;
}
a {
    color: var(--accent);
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
header {
    max-width: 1120px;
    margin: auto;
    padding: 30px 24px;
    border-bottom: 1px solid #e4e8ee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}
.brand {
    font-size: 24px;
    font-weight: 750;
    color: #253147;
}
.muted,
small {
    font-size: 13px;
    color: #7a8597;
}
small {
    display: block;
}
.shell {
    display: grid;
    grid-template-columns: minmax(0, 760px) 200px;
    gap: 60px;
    max-width: 1120px;
    margin: 50px auto;
    padding: 0 24px;
}
h1 {
    font-size: clamp(30px, 4vw, 44px);
    letter-spacing: -1px;
    line-height: 1.2;
    margin: 12px 0 30px;
}
h2 {
    font-size: 24px;
    line-height: 1.3;
}
h2 a {
    color: inherit;
}
.eyebrow {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
    color: #7a8597;
}
.preview {
    padding: 25px 0 32px;
    border-bottom: 1px solid #e4e8ee;
}
.preview:first-of-type {
    padding-top: 0;
}
.preview p {
    color: #566277;
}
.body {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}
.lead {
    font-size: 22px;
    color: #66758b;
}
aside h2 {
    font-size: 16px;
}
aside a {
    display: block;
    padding: 7px 0;
}
footer {
    max-width: 1120px;
    margin: 60px auto 0;
    padding: 25px 24px;
    border-top: 1px solid #e4e8ee;
    color: #7a8597;
    font-size: 13px;
}
.empty {
    padding: 50px 0;
    color: #7a8597;
}
.pagination {
    display: flex;
    gap: 24px;
    margin-top: 30px;
}
.comments {
    margin-top: 55px;
    padding-top: 20px;
    border-top: 1px solid #e4e8ee;
}
.comment {
    padding: 15px 0;
}
.comments form {
    padding: 24px;
    background: #f0f3f8;
    border-radius: 10px;
}
label {
    display: block;
    margin-bottom: 16px;
}
input,
textarea {
    box-sizing: border-box;
    width: 100%;
    display: block;
    padding: 10px;
    font: inherit;
    border: 1px solid #ccd4e0;
    border-radius: 5px;
    margin-top: 6px;
}
button {
    font: inherit;
    padding: 10px 20px;
    border: 0;
    border-radius: 5px;
    background: var(--accent);
    color: white;
    cursor: pointer;
}
.notice {
    background: #e4f4e9;
    padding: 15px;
    border-radius: 5px;
}
@media (max-width: 760px) {
    .shell {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 30px;
    }
    aside {
        border-top: 1px solid #ddd;
        padding-top: 20px;
    }
    header {
        padding: 20px;
    }
    .brand {
        font-size: 20px;
    }
}

.page-content {
    max-width: 880px;
    margin: 60px auto;
    padding: 0 24px;
    min-height: 50vh;
}
.site-menu {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 0;
    margin: 0;
    list-style: none;
}
.site-menu li {
    position: relative;
}
.site-menu .site-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    padding: 15px;
    background: white;
    box-shadow: 0 8px 30px #25314718;
    z-index: 10;
}
.site-menu li:hover > .site-menu,
.site-menu li:focus-within > .site-menu {
    display: grid;
    gap: 10px;
}
.site-menu .site-menu .site-menu {
    left: 100%;
    top: 0;
}
.preview-notice {
    padding: 12px 24px;
    background: #fff1cf;
    text-align: center;
}
@media (max-width: 760px) {
    header {
        align-items: flex-start;
        flex-direction: column;
    }
    .site-menu {
        gap: 12px;
        flex-wrap: wrap;
    }
    .site-menu .site-menu {
        position: static;
        display: grid;
        padding: 8px 12px;
        min-width: 0;
        box-shadow: none;
    }
}
