:root {
  color-scheme: light;
  font-family: "Microsoft YaHei UI", "PingFang SC", "Noto Sans CJK SC", system-ui, sans-serif;
  color: #142d25;
  background: #f7f8f3;
  font-synthesis: none;
  --muted: #4c645a;
  --line: #d6e0d7;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 3px solid #aa4a27; outline-offset: 5px; }
.shell { width: min(1120px, calc(100% - 80px)); margin-inline: auto; }
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 88px;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 17px; font-weight: 750; text-decoration: none; }
.brand img { display: block; border-radius: 12px; border: 1px solid var(--line); }
.brand small { display: block; color: var(--muted); font-size: 11px; font-weight: 500; margin-top: 2px; }
.top-link { color: var(--muted); font-size: 14px; text-decoration: none; white-space: nowrap; }
.top-link:hover { color: #142d25; text-decoration: underline; }
.top-link span { margin-left: 4px; }
.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: clamp(30px, 6vw, 92px);
  padding-block: 76px 72px;
}
.platform { color: #28614b; margin: 0 0 16px; font-size: 15px; font-weight: 700; }
.platform span { margin-right: 5px; font-size: 20px; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 21px; font-size: clamp(35px, 5.25vw, 68px); line-height: 1.16; letter-spacing: -.055em; }
.lead { max-width: 27em; color: var(--muted); line-height: 1.85; font-size: 17px; margin-bottom: 28px; }
.download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 58px;
  padding: 12px 24px;
  border: 1px solid #15533d;
  border-radius: 12px;
  background: #15533d;
  color: #fff;
  text-decoration: none;
  font-weight: 750;
  box-shadow: 0 6px 14px #15533d25;
}
.download:hover { background: #103e2e; }
.download span { font-size: 23px; line-height: 1; }
.file-info { margin: 12px 0 0; color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.file-info span { margin-inline: 5px; }
.subjects {
  overflow: hidden;
  border: 1px solid #174c3b;
  border-radius: 22px;
  background: #174c3b;
  color: #f2fff6;
  box-shadow: 0 18px 44px #16473623;
}
.subjects-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 25px 27px 20px;
  background: radial-gradient(ellipse at right top, #37775a, transparent 75%);
}
.subjects-header img { display: block; border-radius: 16px; }
.subjects h2 { margin-bottom: 5px; font-size: 22px; }
.subjects-header p { margin: 0; color: #d8ebdf; font-size: 13px; }
.subject-list { background: #f0f5ec; color: #142d25; padding: 10px 22px 13px; }
.subject-group { display: grid; grid-template-columns: 40px 1fr; align-items: baseline; gap: 12px; padding-block: 12px; }
.subject-group + .subject-group { border-top: 1px solid #d7e2d8; }
.subject-group h3 { margin: 0; font-size: 14px; color: #28614b; }
.subject-group ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.subject-group li { padding: 5px 9px; background: #fff; border: 1px solid #d6e0d7; border-radius: 6px; font-size: 13px; }
.guide { border-top: 1px solid var(--line); padding: 32px 0 38px; scroll-margin-top: 16px; }
.guide h2 { margin-bottom: 20px; font-size: 23px; }
.guide ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 30px; margin: 0; padding-left: 22px; }
.guide li::marker { color: #28614b; font-weight: 750; }
.guide p { color: var(--muted); margin: 7px 0 0; font-size: 14px; line-height: 1.7; }
.footer { border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; align-items: baseline; padding: 20px 0 25px; color: var(--muted); font-size: 13px; }
.footer p { margin: 0; }
.footer summary { cursor: pointer; }
.footer code { display: block; margin-top: 8px; max-width: 100%; overflow-wrap: anywhere; }
.footer details { min-width: 0; }

@media (max-width: 760px) {
  .shell { width: calc(100% - 40px); }
  .top { min-height: 72px; }
  .hero { grid-template-columns: 1fr; gap: 34px; padding-block: 46px 39px; }
  .lead { margin-bottom: 21px; }
  .guide ol { grid-template-columns: 1fr; gap: 16px; }
  .guide p { margin-top: 4px; }
}

@media (max-width: 360px) {
  .shell { width: calc(100% - 28px); }
  .subject-list { padding-inline: 13px; }
  .subject-group { gap: 6px; }
}
