:root {
  --sp-ceramic: #f6f5ee;
  --sp-paper: #fdfdf8;
  --sp-ink: #112823;
  --sp-forest: #10352c;
  --sp-lime: #d3ec83;
  --sp-line: #d8ded0;
  --sp-muted: #53655c;
  --sp-cool: #d2dfd3;
  --sp-tint: #edf0e4;
  --sp-display: Georgia, "Noto Serif CJK SC", "Songti SC", STSong, serif;
  --sp-body: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--sp-ink);
  background: var(--sp-ceramic);
  font: 400 16px/1.65 var(--sp-body);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
summary { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid #49714c; outline-offset: 4px; }
::selection { color: var(--sp-ink); background: var(--sp-lime); }

.sp-wrap { width: min(100% - clamp(36px, 8vw, 112px), 1240px); margin-inline: auto; }
.sp-skip {
  position: fixed;
  z-index: 5;
  top: 12px;
  left: 16px;
  transform: translateY(calc(-100% - 16px));
  padding: 12px 18px;
  border: 1px solid var(--sp-forest);
  background: var(--sp-paper);
  color: var(--sp-ink);
  text-decoration: none;
}
.sp-skip:focus { transform: none; }

.sp-header { background: var(--sp-ceramic); border-bottom: 1px solid var(--sp-line); }
.sp-header-inner { min-height: 78px; display: flex; align-items: center; gap: clamp(12px, 3vw, 42px); }
.sp-brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  min-height: 44px;
  gap: 9px;
  line-height: 1;
  text-decoration: none;
}
.sp-brand-mark { position: relative; width: 25px; height: 30px; overflow: hidden; }
.sp-brand-mark img { position: absolute; top: 0; left: 50%; width: 32px; height: auto; max-width: none; transform: translateX(-50%); }
.sp-brand-text { display: grid; gap: 4px; }
.sp-brand strong { font-size: 23px; font-weight: 750; letter-spacing: -.055em; }
.sp-brand small { font-size: 7px; font-weight: 760; letter-spacing: .18em; }

.sp-primary { display: flex; align-items: center; gap: clamp(12px, 2vw, 28px); margin-inline: auto; }
.sp-primary a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--sp-muted);
  font-size: .82rem;
  font-weight: 650;
  text-decoration: none;
}
.sp-primary a:hover,
.sp-primary a[aria-current="page"] { color: var(--sp-ink); text-decoration: underline; text-underline-offset: 6px; }
.sp-languages { display: flex; align-items: center; margin-left: auto; }
.sp-languages a {
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  color: var(--sp-muted);
  font-size: .72rem;
  font-weight: 750;
  text-decoration: none;
}
.sp-languages a:hover { color: var(--sp-ink); background: var(--sp-tint); }
.sp-languages a[aria-current="page"] { color: var(--sp-ink); background: var(--sp-lime); }
.sp-mobile-menu { display: none; }

.sp-hero { color: var(--sp-paper); background: var(--sp-forest); }
.sp-hero :focus-visible,
.sp-next :focus-visible,
.sp-footer :focus-visible { outline-color: var(--sp-lime); }
.sp-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: center;
  gap: clamp(36px, 6vw, 90px);
  padding-block: clamp(44px, 6.5vw, 100px);
}
.sp-hero-copy { min-width: 0; }
.sp-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 11px;
  margin-bottom: clamp(24px, 4vw, 55px);
  color: var(--sp-cool);
  font-size: .8rem;
}
.sp-breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: 4px; }
.sp-breadcrumb a:hover { color: var(--sp-paper); }
.sp-breadcrumb span[aria-hidden="true"] { color: var(--sp-lime); }
.sp-eyebrow,
.sp-summary-label,
.sp-side-label,
.sp-section-label {
  margin: 0;
  color: var(--sp-muted);
  font-size: .75rem;
  font-weight: 750;
  letter-spacing: .105em;
  text-transform: uppercase;
}
.sp-eyebrow { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; color: var(--sp-lime); }
.sp-eyebrow::before { flex: 0 0 22px; height: 1px; background: currentColor; content: ""; }
.sp-hero h1,
.sp-section h2,
.sp-next h2,
.sp-related h2,
.sp-error h1 {
  margin: 0;
  font-family: var(--sp-display);
  font-weight: 400;
  letter-spacing: -.038em;
  text-wrap: balance;
}
.sp-hero h1 { max-width: 14ch; font-size: clamp(2.85rem, 5.35vw, 5.2rem); line-height: 1; }
:lang(zh) .sp-hero h1 { max-width: 14em; font-size: clamp(2.45rem, 4.6vw, 4.45rem); line-height: 1.2; letter-spacing: -.018em; }
.sp-lede { max-width: 52ch; margin: 25px 0 0; color: var(--sp-cool); font-size: clamp(1rem, 1.4vw, 1.12rem); }
.sp-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 21px; margin-top: 29px; }
.sp-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 17px;
  min-height: 50px;
  padding: 11px 18px;
  border: 1px solid var(--sp-lime);
  border-radius: 6px;
  color: var(--sp-ink);
  background: var(--sp-lime);
  font-size: .88rem;
  font-weight: 750;
  line-height: 1.4;
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease;
}
.sp-button:hover { background: #e3f5aa; border-color: #e3f5aa; }
.sp-button:active { background: #bdd968; border-color: #bdd968; }
.sp-button span { flex: 0 0 auto; font-size: 1.05rem; }
.sp-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--sp-paper);
  font-size: .86rem;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.sp-hero-secondary:hover { color: var(--sp-lime); }
.sp-hero-secondary span { text-decoration: none; }

.sp-hero-visual { min-width: 0; margin: 0; padding: 10px; border: 1px solid #628075; }
.sp-visual-image { position: relative; overflow: hidden; background: #2b5247; }
.sp-visual-image::before,
.sp-visual-image::after {
  position: absolute;
  z-index: 1;
  width: 28px;
  height: 28px;
  border: 1px solid var(--sp-lime);
  pointer-events: none;
  content: "";
}
.sp-visual-image::before { inset: 13px auto auto 13px; border-width: 1px 0 0 1px; }
.sp-visual-image::after { inset: auto 13px 13px auto; border-width: 0 1px 1px 0; }
.sp-visual-image img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.sp-hero-visual figcaption { padding: 12px 5px 2px; color: var(--sp-cool); font-size: .78rem; }

.sp-summary { border-bottom: 1px solid var(--sp-line); background: var(--sp-tint); }
.sp-summary-inner {
  display: grid;
  grid-template-columns: minmax(125px, .28fr) minmax(0, 1fr);
  align-items: center;
  gap: 16px 29px;
  padding-block: 25px;
}
.sp-summary-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.sp-summary-list li { padding-left: 13px; border-left: 2px solid #82946c; color: var(--sp-ink); font-size: .88rem; font-weight: 650; line-height: 1.5; }

.sp-main { background: var(--sp-paper); }
.sp-page-grid {
  display: grid;
  grid-template-columns: minmax(153px, .26fr) minmax(0, 1fr);
  gap: clamp(34px, 8vw, 132px);
  padding-block: clamp(56px, 8vw, 112px);
}
.sp-side { align-self: start; position: sticky; top: 24px; }
.sp-side-label { margin-bottom: 14px; }
.sp-side nav { display: grid; border-top: 1px solid var(--sp-line); }
.sp-side a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  min-height: 44px;
  padding: 9px 0;
  border-bottom: 1px solid var(--sp-line);
  color: var(--sp-muted);
  font-size: .86rem;
  font-weight: 620;
  text-decoration: none;
}
.sp-side a:hover { color: var(--sp-forest); text-decoration: underline; text-underline-offset: 4px; }
.sp-side a span { flex-shrink: 0; font-size: .9rem; }
.sp-article { min-width: 0; }
.sp-section { scroll-margin-top: 24px; }
.sp-section + .sp-section { margin-top: clamp(30px, 5vw, 64px); padding-top: clamp(28px, 5vw, 54px); border-top: 1px solid var(--sp-line); }
.sp-section-label { margin-bottom: 11px; }
.sp-section h2 { max-width: 24ch; font-size: clamp(2.05rem, 4vw, 3.35rem); line-height: 1.06; }
.sp-section-intro { max-width: 68ch; margin: 17px 0 0; color: var(--sp-muted); }
.sp-detail-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 26px 0 0; padding: 0; border-block: 1px solid var(--sp-line); list-style: none; }
.sp-detail-list li { padding: 17px 15px; font-size: .94rem; line-height: 1.6; }
.sp-detail-list li:first-child { padding-left: 0; }
.sp-detail-list li + li { border-left: 1px solid var(--sp-line); }

#brief.sp-section {
  padding: clamp(24px, 4vw, 46px);
  border: 1px solid var(--sp-line);
  background: var(--sp-tint);
}
#brief .sp-detail-list { grid-template-columns: 1fr; border-bottom: 0; }
#brief .sp-detail-list li {
  display: flex;
  align-items: baseline;
  gap: 11px;
  padding: 11px 0;
  border-left: 0;
}
#brief .sp-detail-list li + li { border-top: 1px solid var(--sp-line); }
#brief .sp-detail-list li::before { flex: 0 0 5px; height: 5px; border-radius: 50%; background: #49714c; content: ""; }
.sp-disclaimer {
  max-width: 75ch;
  margin: 29px 0 0;
  padding: 1px 0 1px 14px;
  border-left: 2px solid #82946c;
  color: var(--sp-muted);
  font-size: .83rem;
}

.sp-next { padding-block: clamp(45px, 7vw, 83px); color: var(--sp-paper); background: var(--sp-forest); }
.sp-next-inner { display: flex; align-items: end; justify-content: space-between; gap: 24px 40px; }
.sp-next h2 { max-width: 26ch; font-size: clamp(2.25rem, 4.5vw, 4rem); line-height: 1.06; }
.sp-next p { max-width: 67ch; margin: 16px 0 0; color: var(--sp-cool); }
.sp-next .sp-button { flex: 0 0 auto; max-width: 100%; }
.sp-related { padding-block: clamp(42px, 7vw, 81px); }
.sp-related h2 { margin-bottom: 20px; font-size: clamp(1.8rem, 3.6vw, 2.75rem); line-height: 1.1; }
.sp-related-links { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 13px; }
.sp-related-links a {
  display: grid;
  grid-template-columns: clamp(64px, 8vw, 105px) minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(10px, 2vw, 23px);
  min-height: 83px;
  padding: 10px 17px 10px 10px;
  border: 1px solid var(--sp-line);
  background: var(--sp-paper);
  font-size: .95rem;
  font-weight: 670;
  text-decoration: none;
  transition: border-color .18s ease, background .18s ease;
}
.sp-related-links a:hover { border-color: #74906e; background: var(--sp-tint); }
.sp-related-links img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.sp-related-arrow { color: var(--sp-forest); font-size: 1.15rem; }
.sp-footer { padding-block: 19px; color: var(--sp-cool); background: var(--sp-ink); }
.sp-footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1px 20px; font-size: .84rem; }
.sp-footer a { display: inline-flex; align-items: center; min-height: 44px; color: var(--sp-paper); text-underline-offset: 4px; }
.sp-footer a:hover { color: var(--sp-lime); }

.sp-error { min-height: 100vh; display: flex; flex-direction: column; }
.sp-error-main { display: grid; flex: 1; align-items: center; padding-block: 64px; }
.sp-error-panel {
  max-width: 760px;
  padding: clamp(28px, 7vw, 84px);
  border: 1px solid var(--sp-line);
  background: var(--sp-paper);
}
.sp-error h1 { max-width: 14ch; font-size: clamp(2.75rem, 8vw, 6rem); line-height: 1; }
.sp-error-panel p { max-width: 45ch; color: var(--sp-muted); }
.sp-error-panel .sp-eyebrow { margin: 0 0 13px; color: var(--sp-forest); }
.sp-error-panel .sp-button { margin-top: 6px; }

@media (max-width: 980px) {
  .sp-header-inner { flex-wrap: wrap; gap: 0 15px; padding-block: 10px; }
  .sp-primary {
    order: 3;
    width: 100%;
    margin: 8px 0 0;
    padding-top: 4px;
    border-top: 1px solid var(--sp-line);
  }
  .sp-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); }
  .sp-next-inner { align-items: start; flex-direction: column; }
}
@media (max-width: 700px) {
  .sp-header-inner { min-height: 0; }
  .sp-primary { display: none; }
  .sp-mobile-menu { display: block; order: 3; width: 100%; margin-top: 7px; border-top: 1px solid var(--sp-line); }
  .sp-mobile-menu summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 44px;
    color: var(--sp-muted);
    font-size: .85rem;
    font-weight: 680;
    list-style: none;
  }
  .sp-mobile-menu summary::-webkit-details-marker { display: none; }
  .sp-mobile-menu summary::after { content: "+"; color: var(--sp-forest); font-size: 1.2rem; font-weight: 480; }
  .sp-mobile-menu[open] summary::after { content: "−"; }
  .sp-mobile-menu nav { display: grid; padding-bottom: 4px; }
  .sp-mobile-menu a { display: flex; align-items: center; min-height: 44px; padding-block: 6px; font-size: .87rem; text-decoration: none; }
  .sp-mobile-menu a[aria-current="page"] { font-weight: 750; text-decoration: underline; text-underline-offset: 4px; }
  .sp-hero-grid { grid-template-columns: 1fr; gap: 28px; padding-block: 24px 32px; }
  .sp-hero h1 { font-size: clamp(2.7rem, 8vw, 4.35rem); }
  .sp-breadcrumb { margin-bottom: 22px; }
  .sp-lede { margin-top: 18px; }
  .sp-hero-actions { margin-top: 19px; }
  .sp-visual-image img { aspect-ratio: 16 / 10; }
  .sp-summary-inner { grid-template-columns: 1fr; padding-block: 21px; }
  .sp-page-grid { grid-template-columns: minmax(0, 1fr); gap: 33px; padding-top: 38px; }
  .sp-side { position: static; }
  .sp-side nav { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 21px; border-top: 0; }
  .sp-side a { min-height: 44px; }
  .sp-side-label { margin-bottom: 7px; }
}
@media (max-width: 510px) {
  .sp-summary-list, .sp-detail-list, .sp-related-links { grid-template-columns: 1fr; }
  .sp-detail-list li { padding: 11px 0; }
  .sp-detail-list li + li { border-top: 1px solid var(--sp-line); border-left: 0; }
  .sp-related-links a { min-height: 70px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
