:root {
    color-scheme: light;
    font-family: "Microsoft YaHei", "PingFang SC", Inter, Arial, sans-serif;
    color: #1b1b1b;
    background: #f7f7f5;
    --ink: #1b1b1b;
    --muted: #5d5d58;
    --line: #d8d8d2;
    --surface: #ffffff;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-width: 320px;
    background: #f7f7f5;
}

a {
    color: inherit;
}

.content-header,
.content-footer {
    padding: 18px max(24px, calc((100vw - 1040px) / 2));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.88);
}

.content-footer {
    border-top: 1px solid var(--line);
    border-bottom: 0;
    color: var(--muted);
    font-size: 14px;
}

.content-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 800;
    text-decoration: none;
}

.content-brand img {
    width: 30px;
    height: 30px;
}

.header-links {
    display: flex;
    align-items: center;
    gap: 18px;
}

.header-links a {
    font-size: 14px;
    font-weight: 650;
}

.article-shell {
    width: min(820px, calc(100% - 40px));
    margin: 0 auto;
    padding: 34px 0 72px;
}

.breadcrumbs {
    margin-bottom: 34px;
    color: var(--muted);
    font-size: 14px;
}

.article-hero {
    padding: clamp(28px, 6vw, 56px);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 24px;
}

.article-hero .eyebrow {
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

h1 {
    margin: 0;
    font-size: clamp(34px, 6vw, 58px);
    line-height: 1.08;
    letter-spacing: -0.045em;
}

.lede {
    margin: 22px 0 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.75;
}

.article-body {
    padding-top: 24px;
}

.article-body section {
    margin-top: 18px;
    padding: clamp(24px, 5vw, 40px);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 20px;
}

h2 {
    margin: 0 0 16px;
    font-size: clamp(24px, 4vw, 34px);
    line-height: 1.2;
}

h3 {
    margin: 26px 0 8px;
    font-size: 20px;
}

p,
li {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.85;
}

ol,
ul {
    margin: 14px 0 0;
    padding-left: 24px;
}

.callout {
    border-left: 4px solid var(--ink);
}

.cta {
    text-align: center;
}

.cta a {
    display: inline-block;
    margin-top: 10px;
    padding: 13px 22px;
    color: #fff;
    background: #111;
    border-radius: 999px;
    font-weight: 750;
    text-decoration: none;
}

.related-links {
    display: grid;
    gap: 10px;
}

.related-links a {
    padding: 14px 16px;
    background: #f1f1ee;
    border-radius: 12px;
    font-weight: 650;
    line-height: 1.45;
    text-decoration: none;
}

@media (max-width: 640px) {
    .content-header,
    .content-footer {
        padding: 14px 18px;
        align-items: flex-start;
    }

    .header-links {
        gap: 12px;
    }

    .header-links a:first-child {
        display: none;
    }

    .article-shell {
        width: min(100% - 24px, 820px);
        padding-top: 22px;
    }
}
