:root {
  color-scheme: light;
  --paper: #faf9f4;
  --ink: #1b211d;
  --dim: #4c574f;
  --line: #d8ddd3;
  --green: #145437;
  --soft: #eaf0e7;
  color: var(--ink);
  background: var(--paper);
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: 4px; }
button { font: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #9c4324; outline-offset: 4px; }
.wrap { width: min(1280px, calc(100% - 88px)); margin-inline: auto; }
.top, .foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.top { min-height: 82px; border-bottom: 1px solid var(--line); }
.top nav, .foot nav { display: flex; align-items: center; gap: 24px; }
.top a, .foot a, .actions a { text-decoration: none; }
.top a:hover, .foot a:hover, .actions > a:not(.button):hover { text-decoration: underline; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 26px; font-weight: 780; letter-spacing: -.06em; }
.mark { position: relative; width: 24px; height: 18px; }
.mark::before, .mark::after { position: absolute; top: 3px; content: ""; width: 10px; height: 10px; border: solid var(--green); border-width: 3px 3px 0 0; transform: rotate(45deg); }
.mark::before { left: 0; }
.mark::after { left: 8px; }
.nav-app { border: 1px solid var(--green); border-radius: 6px; padding: 9px 13px; color: var(--green); font-weight: 660; }
.hero { display: grid; grid-template-columns: minmax(0, .83fr) minmax(0, 1.17fr); gap: clamp(30px, 4vw, 64px); align-items: center; padding-block: clamp(56px, 7vw, 102px); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 24px; font: 600 clamp(54px, 6.5vw, 103px)/.97 Georgia, "Songti SC", serif; letter-spacing: -.075em; }
html[lang=zh-CN] h1 { font: 700 clamp(38px, 4.65vw, 69px)/1.15 "Songti SC", "Noto Serif CJK SC", serif; letter-spacing: -.05em; }
h1 span { color: var(--green); }
.intro { font-size: clamp(16px, 1.6vw, 19px); color: var(--dim); line-height: 1.65; max-width: 32ch; }
.actions { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; margin-top: 30px; }
.button { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; padding: 13px 18px; border-radius: 6px; background: var(--green); color: white; font-weight: 700; }
.button:hover { background: #0d412a; }
.demo { overflow: hidden; background: #fff; border: 1px solid #cbd2c7; border-radius: 12px; }
.demo-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 19px; border-bottom: 1px solid var(--line); background: #f6f7f2; }
.demo-head h2 { margin: 0; font-size: 15px; }
.demo-head > span, .demo-note { color: var(--dim); font-size: 13px; }
.demo-body { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); }
.feed { list-style: none; padding: 0 16px; margin: 0; }
.feed li { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 9px 11px; align-items: center; min-height: 90px; padding-block: 12px; border-bottom: 1px solid var(--line); }
.feed li:last-child { border-bottom: 0; }
.feed-thumb { grid-row: span 2; align-self: stretch; min-height: 66px; border-radius: 4px; background: #e2e9df url("/media/feed-previews.webp") no-repeat; background-size: 300% 100%; }
[data-entry=more] .feed-thumb { background-position: left center; }
[data-entry=keep] .feed-thumb { background-position: center; }
[data-entry=avoid] .feed-thumb { background-position: right center; }
.feed li[data-collapsed=true] { grid-template-columns: 1fr; gap: 3px; background: #f8f9f5; min-height: 58px; padding-inline: 9px; margin-block: 8px; border-radius: 5px; }
.feed [data-collapsed=true] .feed-thumb, .feed [data-collapsed=true] strong { display: none; }
.feed small, .feed strong { display: block; }
.feed small, .result { font-size: 11px; color: var(--dim); }
.feed strong { margin-top: 2px; font-size: 14px; line-height: 1.25; }
.result { color: var(--green); font-weight: 680; align-self: start; }
.demo-controls { padding: 16px 12px; border-left: 1px solid var(--line); background: #fbfcf9; }
.demo-controls h3 { padding: 0 5px 11px; margin: 0; font-size: 14px; }
.topics { display: grid; }
.topics button { display: flex; justify-content: space-between; align-items: center; gap: 7px; min-height: 45px; text-align: left; padding: 6px 5px; color: var(--ink); background: transparent; border: 0; border-top: 1px solid var(--line); font-size: 12px; font-weight: 620; cursor: pointer; }
.topics button::after { flex: 0 0 29px; height: 17px; content: ""; border-radius: 20px; background: radial-gradient(circle at 8px center, white 5px, transparent 5.5px), #6a756d; }
.topics button[aria-pressed=true]::after { background: radial-gradient(circle at 21px center, white 5px, transparent 5.5px), var(--green); }
.topics button:hover { background: var(--soft); }
.demo-note { margin: 0; padding: 11px 17px; border-top: 1px solid var(--line); background: #f6f7f2; }
.details { border-block: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding-block: 24px; }
.details article { padding: 0 24px; }
.details article:first-child { padding-left: 0; }
.details article + article { border-left: 1px solid var(--line); }
.details h2 { margin-bottom: 8px; font-size: 21px; letter-spacing: -.03em; }
.details p, .faq p { margin-bottom: 0; color: var(--dim); line-height: 1.65; }
.faq { display: grid; grid-template-columns: minmax(170px, .65fr) minmax(0, 1.35fr); gap: 28px; border-bottom: 1px solid var(--line); padding-block: 62px; }
.faq h2 { font-size: 32px; letter-spacing: -.045em; }
.faq details { border-bottom: 1px solid var(--line); padding: 13px 2px; }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 680; }
.faq p { padding: 8px 0 3px; max-width: 62ch; }
.foot { padding-block: 26px 35px; color: var(--dim); font-size: 14px; }
.foot .brand { color: var(--ink); font-size: 18px; }
.foot nav { justify-content: flex-end; flex-wrap: wrap; gap: 9px 21px; }
.guide { display: grid; grid-template-columns: 180px minmax(0, 720px); gap: 48px; padding-block: 60px 70px; border-bottom: 1px solid var(--line); }
.guide aside nav { display: grid; gap: 14px; }
.guide aside a { color: var(--green); }
.guide h1, html[lang=zh-CN] .guide h1 { font-size: clamp(34px, 5vw, 62px); letter-spacing: -.045em; }
.guide h2 { margin: 34px 0 10px; }
.guide p, .guide li, .guide dd { line-height: 1.75; }
.guide dt { font-weight: 700; margin-top: 9px; }
.guide dd { margin-left: 0; }
.guide .button { margin-top: 12px; }
@media (max-width: 920px) {
  .wrap { width: calc(100% - 48px); }
  .hero, .guide { grid-template-columns: 1fr; gap: 30px; }
  .hero { padding-block: 46px; }
  .guide aside nav { display: flex; flex-wrap: wrap; }
}
@media (max-width: 540px) {
  .wrap { width: calc(100% - 32px); }
  .top { min-height: 65px; gap: 10px; }
  .brand { font-size: 21px; }
  .top nav { gap: 9px; font-size: 12px; }
  .nav-app { padding: 7px; }
  h1 { font-size: clamp(48px, 12vw, 70px); }
  .demo-body { grid-template-columns: 1fr; }
  .demo-controls { grid-row: 1; border-left: 0; border-bottom: 1px solid var(--line); }
  .topics { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .topics button { align-items: flex-start; flex-direction: column; gap: 6px; font-size: 11px; }
  .topics button::after { flex: 0 0 17px; width: 29px; }
  .details, .faq { grid-template-columns: 1fr; gap: 12px; }
  .details article, .details article + article { padding: 10px 0; border-left: 0; }
  .faq { padding-block: 35px; }
  .faq h2 { margin-bottom: 0; }
}
