:root {
  --ink: #22303a;
  --muted: #5c6b76;
  --line: #dde5ea;
  --accent: #17635c;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 17px;
  line-height: 1.85;
  color: var(--ink);
  background: #f7f9fa;
}

main {
  max-width: 40rem;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3.5rem;
  background: #fff;
  min-height: 100vh;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

h1 {
  font-size: 1.45rem;
  line-height: 1.5;
  color: #17242c;
  padding-bottom: 1rem;
  margin-bottom: 1.4rem;
  border-bottom: 3px solid var(--accent);
}

p {
  margin: 0 0 1.2rem;
  overflow-wrap: anywhere;
}

section {
  margin-top: 2.2rem;
  padding-top: 1.4rem;
  border-top: 1px dashed var(--line);
}

h2 {
  font-size: 1.1rem;
  color: var(--accent);
  margin-bottom: 0.7rem;
}

ul {
  list-style: none;
}

li {
  padding: 0.3rem 0 0.3rem 1.1rem;
  position: relative;
}

li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.95rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--line);
}

a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(23, 99, 92, 0.3);
  text-underline-offset: 0.2em;
  overflow-wrap: anywhere;
}

a:hover { text-decoration-color: var(--accent); }

@media (max-width: 640px) {
  body { font-size: 16px; }
  main {
    border-left: none;
    border-right: none;
    padding: 1.8rem 1.1rem 2.8rem;
  }
  h1 { font-size: 1.3rem; }
}
