:root {
    --bg: #f5efe4;
    --paper: rgba(255, 250, 242, 0.82);
    --ink: #12222d;
    --muted: #5c6d75;
    --line: rgba(18, 34, 45, 0.12);
    --teal: #0c7c78;
    --sand: #f2b978;
    --rose: #df7b71;
    --blue: #6a8ee8;
    --shadow: 0 24px 60px rgba(18, 34, 45, 0.12);
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --max-width: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(242, 185, 120, 0.52), transparent 28%),
        radial-gradient(circle at top right, rgba(106, 142, 232, 0.28), transparent 22%),
        linear-gradient(160deg, #fdf7ec 0%, #f4efe7 42%, #e8f1ef 100%);
    min-height: 100vh;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(18, 34, 45, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(18, 34, 45, 0.02) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
    z-index: -1;
}

a {
    color: inherit;
    text-decoration: none;
}

.page-shell {
    width: min(calc(100% - 32px), var(--max-width));
    margin: 0 auto;
    padding: 24px 0 56px;
}

.site-header,
.site-footer,
.hero-panel,
.article-card,
.toolkit-card,
.section-surface,
.article-layout,
.support-panel {
    backdrop-filter: blur(16px);
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 20px;
    border-radius: 999px;
    position: sticky;
    top: 12px;
    z-index: 10;
}

.brand,
.section-heading h2,
.hero-copy h1,
.article-layout h1,
.support-panel h1,
.article-card h3,
.toolkit-card h3 {
    font-family: "Manrope", "Noto Sans SC", sans-serif;
}

.brand {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.site-nav a,
.inline-link {
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(18, 34, 45, 0.08);
    transition: transform 180ms ease, background-color 180ms ease;
}

.site-nav a:hover,
.button:hover,
.inline-link:hover,
.article-card a:hover {
    transform: translateY(-1px);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(290px, 0.8fr);
    gap: 24px;
    align-items: stretch;
    padding: 54px 0 36px;
}

.hero-copy {
    padding: 24px 6px 18px;
}

.eyebrow {
    margin: 0 0 14px;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--teal);
    font-weight: 700;
}

.hero-copy h1,
.article-layout h1,
.support-panel h1 {
    margin: 0;
    font-size: clamp(2.5rem, 6vw, 5.2rem);
    line-height: 0.98;
}

.hero-text,
.section-heading p,
.article-card p,
.toolkit-card p,
.support-grid p,
.article-layout p,
.article-layout li,
.support-panel p,
.support-panel li {
    color: var(--muted);
    line-height: 1.8;
    font-size: 1rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 18px;
    border-radius: 999px;
    font-weight: 700;
    transition: transform 180ms ease, background-color 180ms ease;
}

.button-primary {
    background: var(--ink);
    color: #fff7ef;
}

.button-secondary {
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid rgba(18, 34, 45, 0.1);
}

.hero-panel,
.support-panel {
    padding: 26px;
    border-radius: var(--radius-xl);
}

.panel-title {
    margin: 0 0 14px;
    font-weight: 800;
    font-size: 1.08rem;
}

.check-list,
.article-layout ul,
.support-panel ul {
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
    line-height: 1.9;
}

.section-block {
    padding: 30px 0;
}

.section-heading {
    max-width: 740px;
    margin-bottom: 20px;
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(1.8rem, 3vw, 3rem);
}

.section-heading.compact {
    margin-bottom: 14px;
}

.article-grid,
.toolkit-grid,
.support-grid {
    display: grid;
    gap: 18px;
}

.article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.toolkit-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.support-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(240px, 0.7fr);
    align-items: start;
}

.article-card,
.toolkit-card,
.section-surface,
.article-layout {
    border-radius: var(--radius-xl);
}

.article-card,
.toolkit-card,
.section-surface {
    padding: 24px;
}

.article-card {
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.article-card::after {
    content: "";
    position: absolute;
    inset: auto -40px -40px auto;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    opacity: 0.22;
}

.accent-sand::after {
    background: var(--sand);
}

.accent-teal::after {
    background: var(--teal);
}

.accent-rose::after {
    background: var(--rose);
}

.accent-blue::after {
    background: var(--blue);
}

.article-tag {
    margin: 0;
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--teal);
    font-weight: 700;
}

.article-card h3,
.toolkit-card h3 {
    margin: 10px 0 12px;
    font-size: 1.45rem;
    line-height: 1.2;
}

.article-card a {
    margin-top: 12px;
    font-weight: 700;
}

.toolkit-card {
    min-height: 170px;
}

.section-surface {
    background: rgba(255, 251, 247, 0.9);
}

.support-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.site-footer {
    margin-top: 26px;
    padding: 24px 8px 12px;
    text-align: center;
    color: var(--muted);
}

.site-footer p {
    margin: 6px 0;
}

.article-layout,
.support-panel {
    max-width: 920px;
    margin: 42px auto 0;
    padding: 34px;
}

.article-layout .lead,
.support-panel .lead {
    font-size: 1.08rem;
    color: var(--ink);
}

.article-layout h2,
.support-panel h2 {
    margin-top: 28px;
    font-size: 1.5rem;
}

.article-layout pre {
    margin: 18px 0;
    padding: 18px;
    overflow-x: auto;
    border-radius: var(--radius-md);
    background: #10212e;
    color: #edf5ff;
    font-size: 0.92rem;
    line-height: 1.6;
}

.back-link {
    display: inline-flex;
    margin-bottom: 18px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(18, 34, 45, 0.08);
}

@media (max-width: 980px) {
    .hero-grid,
    .support-grid,
    .article-grid,
    .toolkit-grid {
        grid-template-columns: 1fr;
    }

    .site-header {
        border-radius: 28px;
        padding: 16px;
    }
}

@media (max-width: 720px) {
    .page-shell {
        width: min(calc(100% - 18px), var(--max-width));
        padding-top: 12px;
    }

    .site-header {
        position: static;
        align-items: flex-start;
        flex-direction: column;
    }

    .site-nav {
        width: 100%;
    }

    .site-nav a,
    .inline-link {
        width: 100%;
        text-align: center;
    }

    .hero-copy h1,
    .article-layout h1,
    .support-panel h1 {
        font-size: clamp(2.1rem, 10vw, 3.4rem);
    }

    .hero-panel,
    .article-card,
    .toolkit-card,
    .section-surface,
    .article-layout,
    .support-panel {
        border-radius: 20px;
    }

    .article-layout,
    .support-panel {
        padding: 24px 18px;
    }
}