:root {
  color-scheme: light;
  --tp-color-canvas: #f5f3eb;
  --tp-color-surface: #fffef9;
  --tp-color-subtle: #e7ebdf;
  --tp-color-text: #263e34;
  --tp-color-text-muted: #5f6b60;
  --tp-color-border: #d7dccf;
  --tp-color-action: #345541;
  --tp-color-on-action: #fffef9;
  --tp-color-focus: #98602e;
  font: 100%/1.7 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--tp-color-text); background: var(--tp-color-canvas); }
a { color: var(--tp-color-action); text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, summary:focus-visible {
  outline: 2px solid var(--tp-color-focus);
  outline-offset: 4px;
}
a, li { overflow-wrap: anywhere; }
h1, h2, p { margin: 0; }
h1, h2 { line-height: 1.2; }
p + p { margin-top: .85rem; }
ol { padding-inline-start: 1.4rem; }
ol > li + li { margin-top: .5rem; }

.wrap { width: min(calc(100% - 3rem), 70rem); margin-inline: auto; }
.skip-link {
  position: absolute;
  z-index: 1;
  inset: .5rem auto auto .5rem;
  padding: .55rem .9rem;
  background: var(--tp-color-surface);
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }
.site-header { border-bottom: 1px solid var(--tp-color-border); }
.header-inner, .footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .4rem 1.5rem;
  padding-block: .8rem;
}
.brand {
  display: inline-flex;
  gap: .65rem;
  align-items: center;
  min-height: 44px;
  color: var(--tp-color-text);
  font-weight: 700;
  text-decoration: none;
}
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: .15rem 1.35rem; }
.site-nav a, .footer-inner a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: .9375rem;
}
.site-nav a:not(:hover, [aria-current]) { text-decoration: none; }
.site-nav [aria-current] { font-weight: 650; text-decoration-thickness: 2px; }
.language { padding-inline-start: 1.05rem; border-inline-start: 1px solid var(--tp-color-border); }

.hero { padding-block: clamp(2.5rem, 7vw, 5.25rem) clamp(2rem, 6vw, 4rem); }
.hero h1 {
  max-width: 18ch;
  font-family: Georgia, "Songti SC", "Noto Serif CJK SC", serif;
  font-size: clamp(2.5rem, 6vw, 4.375rem);
  font-weight: 400;
  letter-spacing: -.035em;
}
:lang(zh-CN) .hero h1 { letter-spacing: 0; }
.hero p { max-width: 59ch; margin-top: 1rem; color: var(--tp-color-text-muted); font-size: 1.125rem; }
.hero .effective { font-size: .9375rem; }

.reading-area { background: var(--tp-color-surface); border-block: 1px solid var(--tp-color-border); }
.reading-layout {
  display: grid;
  grid-template-columns: minmax(10rem, 13rem) minmax(0, 44rem);
  align-items: start;
  gap: clamp(1.75rem, 6vw, 5rem);
  padding-block: clamp(1.75rem, 4vw, 3rem) clamp(3rem, 6vw, 5rem);
}
.contents { border-inline-start: 1px solid var(--tp-color-border); padding-inline-start: .9rem; }
.contents p { font-weight: 650; }
.contents ul { list-style: none; margin: .4rem 0 0; padding: 0; }
.contents a { display: inline-flex; min-height: 44px; align-items: center; font-size: .9375rem; }
article > section, .support-content > section { scroll-margin-top: 1.75rem; }
article > section + section, .support-content > section + section {
  margin-top: 1.85rem;
  padding-top: 1.85rem;
  border-top: 1px solid var(--tp-color-border);
}
h2 { font-size: clamp(1.25rem, 2.7vw, 1.55rem); margin-bottom: .7rem; }
.note { padding: 1rem 1.15rem; background: var(--tp-color-subtle); border-radius: 8px; }
.answers details { border-bottom: 1px solid var(--tp-color-border); }
.answers summary { padding: .85rem 0; cursor: pointer; font-weight: 650; }
.answers details > p { margin: 0 0 1rem; }
.contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  max-width: 100%;
  padding: .65rem 1rem;
  border-radius: 4px;
  background: var(--tp-color-action);
  color: var(--tp-color-on-action);
  font-weight: 650;
}
.contact-link:not(:hover) { text-decoration: none; }
.footer-inner { color: var(--tp-color-text-muted); font-size: .9375rem; padding-block: 1rem; }

@media (min-width: 49rem) {
  .contents { position: sticky; top: 1.75rem; }
}
@media (max-width: 48.99rem) {
  .reading-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 30rem) {
  .wrap { width: calc(100% - 2.5rem); }
  .header-inner { flex-direction: column; align-items: flex-start; }
  .site-nav { column-gap: 1rem; }
}
