* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: #202122;
    background: #f6f6f6;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.7;
}

a {
    color: #3366cc;
}

a:hover {
    text-decoration: none;
}

.page-header {
    min-height: 420px;
    color: #ffffff;
    background:
        linear-gradient(rgba(10, 18, 22, 0.58), rgba(10, 18, 22, 0.78)),
        url("tlo.jpg") center center / cover no-repeat;
    border-bottom: 1px solid #a2a9b1;
}

.top-nav {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
    padding: 22px 0;
    font-size: 0.95rem;
}

.top-nav a {
    color: #ffffff;
    text-decoration: none;
}

.top-nav a:hover {
    text-decoration: underline;
}

.top-nav span {
    color: #eaecf0;
}

.header-content {
    width: min(900px, calc(100% - 40px));
    margin: 0 auto;
    padding: 70px 0 90px;
}

.eyebrow {
    margin: 0 0 10px;
    color: #d9dde2;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

h1 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.7rem, 7vw, 5rem);
    font-weight: 500;
    line-height: 1.05;
}

.lead {
    max-width: 780px;
    margin: 26px 0 0;
    font-size: 1.08rem;
    line-height: 1.8;
}

.article-layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 820px);
    gap: 50px;
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
    padding: 55px 0 80px;
    align-items: start;
}

.table-of-contents {
    position: sticky;
    top: 24px;
    padding: 20px 22px;
    background: #ffffff;
    border: 1px solid #a2a9b1;
}

.table-of-contents h2 {
    margin: 0 0 14px;
    padding: 0 0 10px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem;
    border-bottom: 1px solid #c8ccd1;
}

.table-of-contents ol {
    margin: 0;
    padding-left: 22px;
}

.table-of-contents li + li {
    margin-top: 8px;
}

.table-of-contents a {
    font-size: 0.94rem;
    text-decoration: none;
}

.table-of-contents a:hover {
    text-decoration: underline;
}

.article {
    padding: 34px 42px;
    background: #ffffff;
    border: 1px solid #a2a9b1;
}

.article section + section {
    margin-top: 48px;
}

.article h2 {
    margin: 0 0 20px;
    padding-bottom: 8px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.75rem;
    font-weight: 500;
    line-height: 1.3;
    border-bottom: 1px solid #a2a9b1;
}

.article p {
    margin: 0 0 18px;
}

blockquote {
    margin: 28px 0;
    padding: 8px 0 8px 22px;
    color: #54595d;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.12rem;
    font-style: italic;
    border-left: 4px solid #72777d;
}

.article-footer {
    margin-top: 58px;
    padding-top: 30px;
    border-top: 1px solid #c8ccd1;
}

.article-footer p {
    margin: -12px 0 0 26px;
    color: #72777d;
    font-size: 0.92rem;
}

.page-footer {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
    padding: 28px 0 34px;
    color: #54595d;
    font-size: 0.9rem;
    border-top: 1px solid #c8ccd1;
}

.page-footer p {
    margin: 0;
}

.page-footer span {
    margin: 0 6px;
}

@media (max-width: 860px) {
    .article-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .table-of-contents {
        position: static;
    }
}

@media (max-width: 600px) {
    .top-nav,
    .page-footer {
        flex-direction: column;
    }

    .header-content {
        padding: 48px 0 65px;
    }

    .article-layout {
        width: min(100% - 24px, 1160px);
        padding-top: 24px;
    }

    .article {
        padding: 26px 20px;
    }

    .article h2 {
        font-size: 1.45rem;
    }

    .lead {
        font-size: 1rem;
    }
}
