* { box-sizing: border-box; }
html {
    scroll-behavior: smooth;
    scrollbar-gutter: stable;
    overflow-x: hidden;
}
body {
    margin: 0;
    font-family: Inter, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--neutral-700);
    background: var(--surface);
    line-height: 1.65;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

@supports (overflow: clip) {
    html,
    body {
        overflow-x: clip;
    }
}

img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
    box-shadow: var(--focus-ring);
}
::selection { background: var(--accent-100); color: var(--brand-900); }

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 2000;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    color: var(--white);
    background: var(--brand-900);
    font-weight: 700;
    transform: translateY(calc(-100% - 20px));
    transition: transform var(--motion-fast) var(--ease);
}
.skip-link:focus {
    transform: translateY(0);
}

h1,
h2,
h3 {
    text-wrap: balance;
}

p,
li {
    text-wrap: pretty;
}

[id] {
    scroll-margin-top: calc(var(--header-height) + 20px);
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}

.container {
    width: min(100% - 32px, var(--container));
    margin-inline: auto;
}

.section {
    padding: var(--section-space) 0;
}
.section-muted {
    background: var(--surface-subtle);
    border-block: 1px solid var(--line);
}
.section-gradient {
    background: var(--brand-900);
    color: var(--white);
}
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: var(--brand-600);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.section-gradient .section-kicker {
    color: var(--accent-500);
}
.section-title {
    margin: 0;
    color: var(--brand-900);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.12;
    letter-spacing: -0.025em;
    max-width: 20ch;
    text-wrap: balance;
}
.section-gradient .section-title {
    color: var(--white);
}
.section-lede {
    max-width: 680px;
    margin: 18px 0 0;
    color: var(--neutral-600);
    font-size: 1.05rem;
    line-height: 1.7;
}
.section-gradient .section-lede {
    color: rgba(255, 255, 255, 0.78);
}
.section-heading.center {
    text-align: center;
}
.section-heading.center .section-title {
    margin-inline: auto;
}
.section-heading.center .section-lede {
    margin-inline: auto;
}

.section-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

@media (max-width: 720px) {
    .container { width: min(100% - 28px, var(--container)); }
    .section { padding: 60px 0; }
    .section-title { font-size: clamp(1.75rem, 8vw, 2.25rem); }
    .section-lede { margin-top: 14px; font-size: 0.98rem; }
}
