:root {
  --paper: #f7f8f5;
  --white: #fff;
  --ink: #17211a;
  --green: #226b3a;
  --muted: #5e675f;
  --quiet: #899087;
  --line: #dce4da;
  --display: "Songti SC", "Noto Serif CJK SC", "STSong", serif;
  --body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid rgba(232, 179, 57, 0.85); outline-offset: 5px; }

.legal-header {
  display: flex; min-height: 78px; align-items: center; justify-content: space-between;
  padding: 0 max(24px, calc((100vw - 1080px) / 2)); border-bottom: 1px solid var(--line); background: rgba(247, 248, 245, 0.96);
}
.legal-wordmark { display: inline-flex; align-items: baseline; gap: 10px; }
.legal-wordmark strong { font-family: var(--display); font-size: 27px; letter-spacing: 0.13em; }
.legal-wordmark span { color: var(--muted); font-size: 11px; font-weight: 700; }
.back-home { color: var(--green); font-size: 14px; font-weight: 700; }

.legal-layout { display: grid; width: min(1080px, calc(100vw - 40px)); grid-template-columns: 230px minmax(0, 1fr); gap: 72px; margin: 0 auto; padding: 82px 0 110px; }
.legal-aside { position: sticky; top: 34px; align-self: start; }
.legal-aside p { margin: 0 0 20px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.legal-aside nav { display: grid; border-top: 1px solid var(--line); }
.legal-aside a { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.legal-aside a[aria-current="page"] { color: var(--green); font-weight: 700; }

.legal-document { padding: 54px 64px 70px; background: var(--white); box-shadow: 0 18px 50px rgba(28, 52, 38, 0.06); }
.legal-document h1 { margin: 0 0 18px; font-family: var(--display); font-size: clamp(42px, 5vw, 66px); letter-spacing: -0.045em; line-height: 1.1; }
.legal-document .document-meta { margin: 0 0 44px; color: var(--quiet); font-size: 13px; line-height: 1.85; }
.legal-document h2 { margin: 50px 0 18px; padding-top: 26px; border-top: 1px solid var(--line); font-family: var(--display); font-size: 29px; line-height: 1.4; }
.legal-document h2:first-of-type { margin-top: 32px; }
.legal-document h3 { margin: 30px 0 12px; color: var(--green); font-size: 17px; }
.legal-document p { margin: 0 0 14px; color: #344038; font-size: 15px; line-height: 1.95; }

.contact-page { width: min(1080px, calc(100vw - 40px)); margin: 0 auto; padding: 80px 0 110px; }
.contact-hero { display: grid; min-height: 480px; grid-template-columns: 1fr 0.85fr; overflow: hidden; background: #e7f0e1; }
.contact-copy { padding: 66px; }
.contact-copy > p:first-child { margin: 0 0 16px; color: var(--green); font-weight: 700; }
.contact-copy h1 { margin: 0; font-family: var(--display); font-size: clamp(52px, 6.6vw, 86px); letter-spacing: -0.05em; line-height: 1.04; }
.contact-copy .lead { max-width: 540px; margin: 24px 0 0; color: var(--muted); line-height: 1.9; }
.contact-hero img { align-self: end; justify-self: center; width: min(440px, 100%); max-height: 460px; object-fit: contain; object-position: bottom; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; margin-top: 36px; border-block: 1px solid var(--line); }
.contact-grid-email { grid-template-columns: 1fr; }
.contact-item { padding: 34px 34px 34px 0; }
.contact-item + .contact-item { padding-left: 34px; border-left: 1px solid var(--line); }
.contact-item small { display: block; margin-bottom: 9px; color: var(--quiet); }
.contact-item strong, .contact-item a { display: block; color: var(--green); font-size: 18px; line-height: 1.65; }
.contact-note { max-width: 760px; margin: 36px 0 0; color: var(--muted); font-size: 14px; line-height: 1.9; }
.contact-links { display: flex; gap: 24px; margin-top: 28px; color: var(--green); font-size: 14px; font-weight: 700; }

.legal-footer { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; padding: 34px max(24px, calc((100vw - 1080px) / 2)); border-top: 1px solid var(--line); color: var(--quiet); font-size: 12px; }
.legal-footer-links { display: flex; justify-content: center; gap: 20px; }
.legal-filings { display: flex; align-items: center; justify-content: flex-end; gap: 18px; }
.legal-filings a:hover { color: var(--green); }
.filing-pending { color: #a1a79f; }

@media (max-width: 780px) {
  .legal-header { min-height: 66px; padding: 0 18px; }
  .legal-wordmark span { display: none; }
  .legal-layout { grid-template-columns: 1fr; gap: 28px; padding: 36px 0 70px; }
  .legal-aside { position: static; }
  .legal-aside p { display: none; }
  .legal-aside nav { grid-template-columns: repeat(3, 1fr); border-top: 0; }
  .legal-aside a { text-align: center; }
  .legal-document { padding: 34px 22px 50px; }
  .legal-document h1 { font-size: 43px; }
  .legal-document h2 { font-size: 25px; }
  .contact-page { padding: 32px 0 70px; }
  .contact-hero { grid-template-columns: 1fr; }
  .contact-copy { padding: 38px 24px 0; }
  .contact-copy h1 { font-size: 50px; }
  .contact-hero img { width: min(360px, 88vw); }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-item, .contact-item + .contact-item { padding: 26px 0; border-left: 0; }
  .contact-item + .contact-item { border-top: 1px solid var(--line); }
  .contact-links { align-items: flex-start; flex-direction: column; gap: 14px; }
  .legal-footer { grid-template-columns: 1fr; align-items: flex-start; gap: 18px; }
  .legal-footer-links, .legal-filings { align-items: flex-start; justify-content: flex-start; flex-direction: column; gap: 12px; }
}
