@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

*, *::before, *::after { box-sizing: border-box; transition: none; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: #fdfbf7;
}

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: #1a1a1a;
  background-color: #fdfbf7;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23g)' opacity='0.22'/%3E%3C/svg%3E");
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: #1a1a1a; }
figure { margin: 0; }
:focus-visible { outline: 2px solid #1a1a1a; outline-offset: 2px; }

/* ---------- 左侧竖排导航 ---------- */
.site-head {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 20;
  width: 264px;
  display: flex;
  flex-direction: column;
  padding: 26px 20px 22px;
  border-right: 1px solid #e0e0e0;
  background: #f5f5f5;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: #1a1a1a;
}
.brand::before {
  content: "";
  width: 12px;
  height: 12px;
  flex: none;
  border: 2px solid #1a1a1a;
  border-radius: 2px;
}

.site-head nav { flex: 1; min-height: 0; overflow-y: auto; margin-top: 34px; }

.rail-links { display: flex; flex-direction: column; gap: 1px; margin: 0; }

.rail-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 6px 8px;
  border-radius: 4px;
  border-bottom: 1px solid transparent;
  font-size: 16px;
  color: #5a5a56;
  text-decoration: none;
}
.rail-links a:hover { color: #1a1a1a; background: #fdfbf7; border-bottom-color: #1a1a1a; }
.rail-links a[aria-current="true"] { color: #1a1a1a; font-weight: 600; }

.tick {
  width: 7px;
  height: 7px;
  flex: none;
  border: 1px solid #8a8a84;
  border-radius: 2px;
}
.rail-links a[aria-current="true"] .tick { background: #1a1a1a; border-color: #1a1a1a; }

.head-contact {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid #e0e0e0;
  font-size: 16px;
  line-height: 1.4;
  color: #5a5a56;
  overflow-wrap: anywhere;
}
.head-contact span { display: block; color: #1a1a1a; letter-spacing: 0.12em; }

/* ---------- 主体 ---------- */
main {
  margin-left: 264px;
  padding: 0 clamp(20px, 4vw, 56px) 72px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  min-height: 70vh;
  padding: 64px 0 56px;
  border-bottom: 2px solid #1a1a1a;
}

h1 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4.6vw, 3.5rem);
  line-height: 1.14;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.hero-lead {
  margin: 0;
  max-width: 34ch;
  font-size: 17px;
  line-height: 1.75;
  color: #5a5a56;
}

.hero-plate {
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  background-color: #f5f5f5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M24 0H0v24' fill='none' stroke='%23e0e0e0' stroke-width='1'/%3E%3C/svg%3E");
}
.hero-plate img { width: 100%; height: 100%; object-fit: cover; }

.wrap {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
  padding: 52px 0 0;
}

/* ---------- 侧栏 ---------- */
.side {
  position: sticky;
  top: 32px;
  padding-left: 16px;
  border-left: 2px solid #1a1a1a;
}

.side-title {
  margin: 0 0 6px;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.side .subtitle {
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e0e0e0;
  font-size: 16px;
  line-height: 1.4;
  color: #5a5a56;
}

.side-list { list-style: none; margin: 0; padding: 0; }
.side-list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  border-bottom: 1px solid #e0e0e0;
  font-size: 16px;
  color: #1a1a1a;
  text-decoration: none;
}
.side-list a:hover { background: #f5f5f5; }

/* ---------- 正文 ---------- */
.body-col { min-width: 0; }
article { max-width: 70ch; }

article section {
  margin: 0 0 28px;
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid #e0e0e0;
  border-bottom: 2px solid #1a1a1a;
  border-radius: 4px;
  background: #fdfbf7;
  scroll-margin-top: 32px;
}
article section:last-of-type { margin-bottom: 0; }

article h2 {
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid #1a1a1a;
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  line-height: 1.28;
  font-weight: 700;
  letter-spacing: -0.01em;
}

article h3 {
  margin: 26px 0 10px;
  font-size: 1.15rem;
  line-height: 1.4;
  font-weight: 600;
}

article p {
  margin: 0 0 16px;
  font-family: Georgia, 'Songti SC', 'Times New Roman', serif;
  font-size: 17.5px;
  line-height: 1.85;
}

article ul,
article ol {
  margin: 0 0 18px;
  padding-left: 22px;
  font-family: Georgia, 'Songti SC', 'Times New Roman', serif;
  font-size: 17.5px;
  line-height: 1.85;
}
article li { margin-bottom: 8px; }

article a { text-decoration: underline; text-underline-offset: 3px; }

article strong { font-weight: 700; }

article blockquote {
  margin: 0 0 18px;
  padding: 12px 18px;
  border-left: 3px solid #1a1a1a;
  background: #f5f5f5;
  border-radius: 0 4px 4px 0;
  font-family: Georgia, 'Songti SC', serif;
  font-size: 17px;
}
article blockquote p:last-child { margin-bottom: 0; }

article hr { border: 0; border-top: 1px solid #e0e0e0; margin: 24px 0; }

article table {
  display: block;
  width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  margin: 0 0 18px;
  font-size: 16px;
}
article th,
article td { border: 1px solid #e0e0e0; padding: 8px 10px; text-align: left; }
article th { background: #f5f5f5; font-weight: 600; }

article img { border: 1px solid #e0e0e0; border-radius: 4px; margin: 0 0 18px; }

article code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 15.5px;
  background: #f5f5f5;
  padding: 1px 5px;
  border-radius: 3px;
}

/* ---------- 页脚 ---------- */
.site-foot {
  margin-left: 264px;
  padding: 52px clamp(20px, 4vw, 56px) 28px;
  border-top: 2px solid #1a1a1a;
  background: #f5f5f5;
}

.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr);
  gap: 32px;
  align-items: start;
}

.wordmark {
  margin: 0;
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.foot-dls {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.foot-dls dl { margin: 0; }

.foot-dls dt {
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid #d8d8d8;
  font-size: 16px;
  letter-spacing: 0.12em;
  color: #5a5a56;
}

.foot-dls dd { margin: 0; }

.foot-dls dd a {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 16px;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.foot-dls dd a:hover { border-bottom-color: #1a1a1a; }

.foot-dls .host {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 16px;
  color: #5a5a56;
  overflow-wrap: anywhere;
}

.copy {
  margin: 36px 0 0;
  padding-top: 16px;
  border-top: 1px solid #d8d8d8;
  font-size: 16px;
  color: #5a5a56;
}

/* ---------- 移动端 ---------- */
@media (max-width: 900px) {
  .site-head {
    position: sticky;
    top: 0;
    bottom: auto;
    width: auto;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    border-right: 0;
    border-bottom: 1px solid #e0e0e0;
  }

  .brand { flex: none; font-size: 17px; }
  .brand::before { width: 10px; height: 10px; }

  .site-head nav { margin: 0; flex: 1; min-width: 0; overflow-x: auto; overflow-y: hidden; }
  .rail-links { flex-direction: row; gap: 2px; }
  .rail-links a { white-space: nowrap; padding: 8px 10px; border-bottom: 0; }
  .rail-links a:hover { border-bottom: 0; }
  .tick { display: none; }

  .head-contact { display: none; }

  main { margin-left: 0; padding: 0 16px 48px; }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 20px;
    padding: 28px 0 26px;
  }
  h1 { margin-bottom: 12px; }
  .hero-plate { aspect-ratio: 16 / 10; max-height: 38vh; }

  .wrap { grid-template-columns: 1fr; gap: 22px; padding-top: 26px; }

  .side {
    position: static;
    padding: 14px 0 0;
    border-left: 0;
    border-top: 2px solid #1a1a1a;
  }
  .side-list { display: flex; flex-wrap: wrap; gap: 6px; }
  .side-list li { flex: 0 0 auto; }
  .side-list a { padding: 0 12px; border: 1px solid #e0e0e0; border-radius: 4px; }

  article div { scroll-margin-top: 78px; }

  .site-foot { margin-left: 0; padding: 40px 16px 24px; }
  .foot-grid { grid-template-columns: 1fr; gap: 22px; }
  .foot-dls { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
}

@media (max-width: 520px) {
  .wordmark { font-size: 2.6rem; }
  article p, article ul, article ol { font-size: 17px; }
}

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

button[aria-expanded]{min-width:44px;min-height:44px}
