:root {
  color-scheme: light;
  --paper: #f5f2e9;
  --white: #fcfaf5;
  --ink: #123531;
  --muted: #4d5d55;
  --teal: #125a51;
  --line: #d5ddce;
  --sage: #e5ede3;
  --serif: "Songti SC", "Noto Serif CJK SC", SimSun, serif;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 1.5rem; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.75 -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}
a { color: var(--teal); text-underline-offset: .18em; }
a:focus-visible, summary:focus-visible { outline: 3px solid #a75018; outline-offset: 4px; }
p, ol, ul { margin: 0 0 1rem; }
p:last-child, ol:last-child, ul:last-child { margin-bottom: 0; }
h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1.25; }
h1, h2 { font-family: var(--serif); }
h1 { font-size: clamp(3rem, 7.8vw, 7rem); letter-spacing: -.065em; }
h2 { font-size: clamp(1.65rem, 3vw, 2.65rem); letter-spacing: -.04em; }
h3 { font-size: 1.15rem; }
.shell { width: min(100% - clamp(2rem, 8vw, 8rem), 73rem); margin-inline: auto; }
.skip { position: fixed; z-index: 2; top: -5rem; left: .75rem; background: var(--white); padding: .5rem 1rem; }
.skip:focus { top: .5rem; }
.site-header, .site-footer { border-block-end: 1px solid var(--line); }
.header-inner, .footer-inner { display: flex; gap: 1rem; align-items: center; justify-content: space-between; min-height: 4.6rem; }
.brand { display: inline-flex; gap: .65rem; align-items: center; color: var(--ink); font-weight: 750; white-space: nowrap; text-decoration: none; }
.brand img { display: block; border-radius: 23%; }
.header-inner nav { display: flex; gap: clamp(.8rem, 3vw, 2rem); }
.header-inner nav a { display: block; color: var(--muted); font-size: .9rem; font-weight: 650; padding: .55rem 0; text-decoration: none; white-space: nowrap; }
.header-inner nav a:is(:hover, [aria-current]) { color: var(--teal); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .5rem; }
.hero { min-height: 36rem; display: grid; grid-template-columns: 1.15fr .9fr; align-items: center; gap: clamp(2rem, 6vw, 6rem); padding-block: clamp(2.75rem, 7vw, 6.5rem); }
.kicker { color: var(--teal); font-size: .89rem; font-weight: 750; letter-spacing: .12em; margin-bottom: 1.2rem; }
.lead { max-width: 32rem; margin-top: 1.5rem; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.24rem); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 1.3rem; margin-top: 2rem; }
.button { display: inline-block; padding: .8rem 1.28rem; background: var(--teal); color: #fff; text-decoration: none; font-weight: 700; border-radius: .55rem; }
.button:hover { background: #10463f; }
.text-link { font-weight: 680; }
.cover { position: relative; margin: .4rem .5rem .75rem 0; }
.cover::before { content: ""; position: absolute; inset: 5% -4% -4% 5%; border-radius: 12%; background: #d7d9be; transform: rotate(5deg); }
.cover img { display: block; position: relative; transform: rotate(-3deg); border-radius: 12%; width: 100%; height: auto; box-shadow: 0 1rem 2.5rem #183c3235; }
.feature-band { background: var(--sage); border-block: 1px solid var(--line); padding-block: clamp(2.5rem, 6vw, 5rem); }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.3rem, 4vw, 3.5rem); margin-top: 2rem; }
.features article { border-top: 2px solid #7a9a8d; padding-top: 1rem; }
.features p { margin-top: .55rem; color: var(--muted); }
.support-strip { display: flex; gap: 1.5rem; align-items: center; justify-content: space-between; padding-block: clamp(2.5rem, 6vw, 5rem); }
.support-strip h2 { margin-bottom: .35rem; }
.support-strip p { color: var(--muted); }
.support-links { display: flex; flex-wrap: wrap; gap: .75rem 1.1rem; }
.support-links a { font-weight: 700; }
.site-footer { border-block-start: 1px solid var(--line); border-block-end: 0; }
.footer-inner { display: grid; grid-template-columns: 1fr auto 1fr; font-size: .85rem; padding-block: .8rem; }
.footer-inner > :last-child { justify-self: end; }
.guide { margin-block: clamp(2.5rem, 6vw, 5rem); }
.page-title { padding-bottom: clamp(1.5rem, 4vw, 3rem); border-bottom: 1px solid var(--line); }
.page-title h1 { font-size: clamp(2.8rem, 6vw, 5.25rem); }
.guide-layout { display: grid; grid-template-columns: minmax(10rem, .28fr) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 4rem); margin-top: 2rem; }
.toc { position: sticky; top: 1.5rem; align-self: start; display: grid; gap: .25rem; }
.toc a { padding: .5rem .65rem; border-radius: .3rem; text-decoration: none; font-size: .95rem; font-weight: 650; }
.toc a:hover { background: var(--sage); text-decoration: underline; }
.guide-content section { max-width: 48rem; padding: 0 0 1.7rem; margin: 0 0 1.7rem; border-bottom: 1px solid var(--line); }
.guide-content section:last-child { padding-bottom: 0; margin-bottom: 0; border: 0; }
.guide-content h2 { margin-bottom: .9rem; font-size: clamp(1.45rem, 3vw, 2rem); }
.guide-content ol, .guide-content ul { padding-inline-start: 1.5rem; }
.guide-content li + li { margin-top: .42rem; }
.guide-content details { background: var(--white); border: 1px solid var(--line); border-radius: .55rem; margin-bottom: .6rem; }
details summary { cursor: pointer; padding: .8rem 1rem; font-weight: 700; }
details p { padding: 0 1rem .85rem; }
@media (max-width: 700px) {
  .hero { grid-template-columns: 1fr; gap: 1.8rem; min-height: auto; }
  .cover { width: min(80%, 24rem); margin-inline: auto; }
  .features { grid-template-columns: 1fr; gap: 1.25rem; }
  .support-strip { align-items: flex-start; flex-direction: column; }
  .guide-layout { grid-template-columns: 1fr; }
  .toc { position: static; display: flex; flex-wrap: wrap; padding: .55rem; background: var(--sage); border-radius: .55rem; }
}
@media (max-width: 380px) {
  .brand { gap: .35rem; }
  .header-inner { gap: .45rem; }
  .header-inner nav { gap: .65rem; }
  .header-inner nav a { font-size: .82rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-inner .icp { grid-row: 2; grid-column: 1 / -1; justify-self: center; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
