:root {
  --paper: #f4f0e7;
  --surface: #fbf8f1;
  --ink: #18201d;
  --muted: #686e69;
  --line: #d9d1c4;
  --accent: #b94a32;
  --green: #365d4d;
  --radius: 24px;
  --shadow: 0 24px 80px rgba(43, 45, 40, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 87% 3%, rgba(185, 74, 50, .08), transparent 25rem),
    var(--paper);
  font-family: "Songti SC", "Noto Serif CJK SC", Georgia, serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
.skip-link {
  position: fixed;
  z-index: 10;
  top: 12px;
  left: 12px;
  transform: translateY(-150%);
  padding: 9px 13px;
  color: #fff;
  background: var(--ink);
  border-radius: 6px;
}
.skip-link:focus { transform: translateY(0); }

.topbar,
main,
footer {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

.topbar {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(24, 32, 29, .18);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--surface);
  background: var(--ink);
  border-radius: 50%;
}
.brand-copy { display: grid; gap: 2px; }
.brand-copy strong { font-size: 18px; letter-spacing: .1em; }
.brand-copy small,
.status,
.intro,
.note-card,
.section-heading > p,
.empty-state p,
.topics,
footer {
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}
.brand-copy small { color: var(--muted); font-size: 11px; letter-spacing: .14em; }
.status {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  color: var(--green);
  border: 1px solid rgba(54, 93, 77, .25);
  border-radius: 999px;
  font-size: 12px;
}
.status i {
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(54, 93, 77, .12);
}

.hero {
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, .7fr);
  align-items: center;
  gap: 64px;
  padding: 70px 0;
}
.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font: 650 11px/1.3 "PingFang SC", sans-serif;
  letter-spacing: .22em;
}
h1, h2, h3, p { text-wrap: pretty; }
h1 {
  margin: 0;
  font-size: clamp(48px, 6.5vw, 82px);
  line-height: 1.08;
  letter-spacing: -.055em;
  font-weight: 600;
}
h1 em { color: var(--accent); font-style: normal; }
.intro {
  max-width: 590px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.9;
}

.note-card {
  padding: 28px;
  color: var(--surface);
  background: var(--ink);
  border-radius: var(--radius) var(--radius) 4px var(--radius);
  box-shadow: var(--shadow);
}
.card-label { margin: 0 0 52px; color: rgba(255,255,255,.5); font-size: 10px; letter-spacing: .18em; }
.note-card h2 { margin: 0 0 12px; font-family: "Songti SC", serif; font-size: 30px; }
.note-card > p:not(.card-label) { margin: 0 0 26px; color: rgba(255,255,255,.64); font-size: 13px; line-height: 1.75; }
.note-card dl { margin: 0; border-top: 1px solid rgba(255,255,255,.14); }
.note-card dl div { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.note-card dt { color: rgba(255,255,255,.46); }
.note-card dd { margin: 0; }

.content {
  padding: clamp(26px, 5vw, 54px);
  background: var(--surface);
  border-radius: var(--radius);
}
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.section-heading h2 { margin: 0; font-size: clamp(34px, 5vw, 48px); letter-spacing: -.035em; }
.section-heading > p { margin: 0; color: var(--muted); font-size: 13px; }
.empty-state {
  min-height: 250px;
  display: grid;
  grid-template-columns: auto minmax(0, 560px);
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin: 30px 0 38px;
  padding: 40px 24px;
  background: rgba(244,240,231,.42);
  border: 1px dashed #cfc5b7;
  border-radius: 16px;
}
.empty-state > span { color: var(--accent); font-size: 50px; line-height: 1; }
.empty-state h3 { margin: 0 0 10px; font-size: 25px; }
.empty-state p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.topics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.topics article { padding: 24px 22px 26px; border-top: 2px solid var(--ink); background: rgba(244,240,231,.5); }
.topics small { display: block; margin-bottom: 34px; color: var(--accent); }
.topics h3 { margin: 0 0 8px; font-family: "Songti SC", serif; font-size: 21px; }
.topics p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }

footer {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  border-top: 1px solid rgba(24, 32, 29, .18);
  font-size: 12px;
}
footer a { text-underline-offset: 4px; }
footer a:hover { color: var(--accent); }

@media (max-width: 820px) {
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 38px; }
  .note-card { max-width: 520px; }
  .topics { grid-template-columns: 1fr; }
  .topics small { margin-bottom: 16px; }
}
@media (max-width: 600px) {
  .topbar, main, footer { width: min(100% - 28px, 1120px); }
  .topbar { min-height: 82px; }
  .brand-copy small { display: none; }
  .hero { padding: 54px 0; }
  h1 { font-size: clamp(42px, 13vw, 58px); }
  .note-card { padding: 23px; }
  .content { padding: 24px 18px 28px; }
  .section-heading { align-items: start; flex-direction: column; }
  .empty-state { grid-template-columns: 1fr; gap: 16px; padding: 34px 20px; }
  footer { align-items: flex-start; flex-direction: column; justify-content: center; padding: 24px 0; }
  footer p { margin: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}
