:root {
  color-scheme: light;
  --paper: #f4f1e8;
  --paper-deep: #e9e4d7;
  --ink: #20231f;
  --muted: #65685f;
  --accent: #45624c;
  --line: rgba(32, 35, 31, 0.16);
  --serif: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  --sans: "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

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

.site-header {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.08em;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 16px;
}

nav {
  display: flex;
  gap: 32px;
}

nav a {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible {
  color: var(--accent);
}

.hero {
  min-height: 610px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 96px 7%;
  position: relative;
}

.hero::after {
  content: "记";
  position: absolute;
  right: 7%;
  top: 50%;
  z-index: -1;
  transform: translateY(-52%);
  color: rgba(69, 98, 76, 0.065);
  font-family: var(--serif);
  font-size: clamp(180px, 27vw, 340px);
  line-height: 1;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 30px;
  font-family: var(--serif);
  font-size: clamp(48px, 7vw, 82px);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: 0.04em;
}

.hero-copy {
  max-width: 580px;
  margin-bottom: 34px;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 2;
}

.text-link {
  width: fit-content;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--accent);
  color: var(--accent);
  font-size: 14px;
  text-decoration: none;
}

.notes {
  padding: 100px 7%;
  background: rgba(255, 255, 255, 0.38);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
}

.section-heading .eyebrow {
  margin-bottom: 10px;
}

.section-heading h2,
.about h2 {
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: 34px;
}

.section-heading > p {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 14px;
}

.note-card {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 28px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
}

.note-card:last-child {
  border-bottom: 1px solid var(--line);
}

.note-number {
  color: var(--accent);
  font-family: var(--serif);
  font-size: 16px;
  font-style: italic;
}

.note-content time {
  color: var(--muted);
  font-size: 12px;
}

.note-content h3 {
  margin: 12px 0 14px;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 600;
}

.note-content p {
  max-width: 690px;
  margin-bottom: 20px;
  color: var(--muted);
  font-family: var(--serif);
  line-height: 1.9;
}

.note-tag {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 11px;
}

.about {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  padding: 120px 7%;
}

.about-label {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.about h2 {
  margin-bottom: 28px;
}

.about-content p {
  max-width: 680px;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 2;
}

footer {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 14px;
  padding: 34px 0 46px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

footer p {
  margin-bottom: 0;
}

.filing {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 24px;
}

.filing a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.filing img {
  display: block;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  max-width: 18px;
  max-height: 18px;
  object-fit: contain;
}

.filing a:hover,
.filing a:focus-visible {
  color: var(--accent);
}

@media (max-width: 680px) {
  .site-header,
  main,
  footer {
    width: min(100% - 32px, 1120px);
  }

  .site-header {
    min-height: 76px;
  }

  nav {
    gap: 16px;
  }

  nav a:first-child {
    display: none;
  }

  .hero {
    min-height: 560px;
    padding: 72px 8px;
  }

  h1 {
    font-size: 46px;
  }

  .hero-copy {
    font-size: 16px;
  }

  .notes {
    padding: 72px 20px;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
    margin-bottom: 30px;
  }

  .note-card {
    grid-template-columns: 38px 1fr;
    gap: 12px;
  }

  .note-content h3 {
    font-size: 20px;
  }

  .about {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 82px 8px;
  }

  footer {
    gap: 14px;
  }

  .filing {
    flex-direction: column;
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
