:root {
  --ink: #17243c;
  --muted: #4a5870;
  --blue: #2e42a3;
  --deep: #152657;
  --pale: #eef2fa;
  --line: #d8e0ee;
  --font: system-ui, "Microsoft YaHei", sans-serif;
  --space: clamp(2.5rem, 6vw, 5rem);
  --radius: .85rem;
  --shadow: 0 12px 28px #15265710;
  --width: 78rem;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font: 1rem/1.7 var(--font); color: var(--ink); overflow-wrap: anywhere; }
h1, h2, h3 { line-height: 1.2; margin: 0; }
h1 { font-size: clamp(2rem, 5vw, 4.3rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.4rem, 3vw, 2.1rem); margin-block-end: 1rem; }
h3 { font-size: 1.15rem; }
p { margin: .75rem 0 0; }
figure { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: .15em; }
a:active { color: var(--deep); }
:focus-visible { outline: 3px solid #175db5; outline-offset: 3px; }
.wrap { width: min(var(--width), calc(100% - clamp(2rem, 7vw, 7rem))); margin-inline: auto; }
.skip { position: absolute; z-index: 3; inset: .75rem auto auto .75rem; transform: translateY(-200%); }
.skip:focus { transform: none; }
.header { border-bottom: 1px solid var(--line); }
.bar { min-height: 74px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1rem; padding-block: .65rem; }
.brand { display: flex; align-items: center; min-height: 44px; }
.brand img { width: 158px; }
.menu { flex-basis: 100%; }
.menu ul, .footer ul, .crumb ol { display: flex; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; gap: .25rem .65rem; }
.menu a, .footer a, .crumb a, .links a, .stack a { display: inline-flex; align-items: center; min-height: 44px; }
.menu a { padding-inline: .55rem; border-radius: .4rem; text-decoration: none; }
.menu a:hover, .menu a[aria-current] { background: var(--pale); }
.menu a[aria-current] { font-weight: 750; text-decoration: underline; }
button, .button { display: inline-flex; align-items: center; min-height: 44px; border: 1px solid var(--blue); border-radius: .4rem; padding: .55rem .9rem; color: #fff; background: var(--blue); font: inherit; font-weight: 650; text-decoration: none; cursor: pointer; }
button:hover, .button:hover, .button:active { background: var(--deep); color: #fff; }
[hidden] { display: none; }
@media (min-width: 61rem) { .menu { flex-basis: auto; } .toggle { display: none; } }
.crumb { color: var(--muted); padding-block: .35rem; font-size: .9rem; }
.crumb li { display: flex; align-items: center; gap: .65rem; }
.crumb li + li::before { content: "›" / ""; }
.hero { background: var(--pale); border-bottom: 1px solid var(--line); }
.hero .wrap { padding-block: var(--space); }
.hero p { max-width: 44rem; color: var(--muted); font-size: clamp(1rem, 2vw, 1.2rem); }
.hero.home { background: var(--deep); color: white; }
.hero.home p, .hero.home a:not(.button) { color: #e6edff; }
.hero.home :focus-visible { outline-color: white; }
.hero.home img { background: white; }
.split { display: grid; gap: clamp(1.2rem, 4vw, 3.5rem); align-items: center; }
@media (min-width: 48rem) { .split { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.split img { border-radius: var(--radius); }
.section { padding-block: var(--space); }
.section + .section { padding-top: 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: 1rem; }
.card { border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.card > a { display: block; height: 100%; border-radius: inherit; color: var(--ink); text-decoration: none; }
.card > a:hover h3 { text-decoration: underline; color: var(--blue); }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: white; border-radius: var(--radius) var(--radius) 0 0; }
.card div { padding: 1rem; }
.card p, .muted { color: var(--muted); }
.links { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin-top: 1rem; }
.stack { padding-inline-start: 1.25rem; }
.prose { max-width: 54rem; }
.prose h3 { margin-top: 1.3rem; }
.prose img { margin-block: 1rem; }
.table-scroll { overflow-x: auto; margin-block: 1rem; }
table { border-collapse: collapse; width: 100%; font-size: .9rem; }
td, th { border: 1px solid var(--line); padding: .4rem; text-align: left; }
th { background: var(--pale); }
dt { font-weight: 740; }
dd { margin: .2rem 0 1rem; }
.footer { border-top: 1px solid var(--line); background: var(--pale); padding-block: 1.4rem; }
.footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 2rem; }
.footer p { margin: 0; font-weight: 730; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto; } }