:root {
    color-scheme: light;
    --brand-deep: #5238df;
    --brand-lift: #ce7af2;
    --ink: #211d32;
    --muted: #625c73;
    --line: #e7e3ef;
    --paper: #ffffff;
}

* {
    box-sizing: border-box;
}

html {
    background: var(--paper);
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
    line-height: 1.7;
}

a {
    color: var(--brand-deep);
    font-weight: 650;
    text-decoration: underline;
    text-underline-offset: 3px;
}

a:hover {
    color: #3721bc;
}

.top {
    color: white;
    background: linear-gradient(0deg, var(--brand-deep) 0%, var(--brand-lift) 100%);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    max-width: 980px;
    margin: 0 auto;
    padding: 22px 24px;
}

.brand {
    color: white;
    font-size: 18px;
    font-weight: 760;
    text-decoration: none;
}

.links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 14px 18px;
}

.links a {
    color: rgba(255, 255, 255, 0.92);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.links a:hover {
    color: white;
    text-decoration: underline;
}

.hero,
.doc-header {
    max-width: 980px;
    margin: 0 auto;
    padding: 78px 24px 88px;
}

.doc-header {
    padding-top: 54px;
    padding-bottom: 58px;
}

.eyebrow {
    margin: 0 0 14px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1 {
    margin: 0;
    font-size: clamp(42px, 8vw, 76px);
    line-height: 1;
    letter-spacing: 0;
}

.doc-header h1 {
    font-size: clamp(36px, 7vw, 58px);
}

.hero-copy {
    max-width: 680px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 20px;
}

.updated {
    margin: 14px 0 0;
    color: rgba(255, 255, 255, 0.78);
}

.updated a {
    color: white;
}

.content,
.article {
    max-width: 820px;
    margin: 0 auto;
    padding: 58px 24px 72px;
}

.section-title {
    margin: 0 0 14px;
    font-size: 30px;
    line-height: 1.2;
}

.lead {
    max-width: 720px;
    margin: 0 0 34px;
    color: var(--muted);
    font-size: 18px;
}

.text-section {
    padding: 22px 0;
    border-top: 1px solid var(--line);
}

.text-section:first-of-type {
    border-top: 0;
    padding-top: 0;
}

.text-section h3 {
    margin: 0 0 6px;
    font-size: 18px;
}

.text-section p {
    margin: 0;
    color: var(--muted);
}

.article h2 {
    margin: 34px 0 10px;
    font-size: 24px;
    line-height: 1.25;
}

.article h2:first-child {
    margin-top: 0;
}

.article p,
.article li {
    color: #3d374d;
}

.article ul {
    padding-left: 22px;
}

.footer {
    border-top: 1px solid var(--line);
    background: #fbfaff;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px;
    max-width: 980px;
    margin: 0 auto;
    padding: 28px 24px;
    color: var(--muted);
    font-size: 14px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

@media (max-width: 720px) {
    .nav {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .links {
        justify-content: flex-start;
    }

    .hero {
        padding-top: 58px;
    }
}
