:root {
  color-scheme: light;
  --ink: #17221f;
  --muted: #5f6c68;
  --forest: #102d28;
  --forest-light: #1b4a40;
  --gold: #b69043;
  --gold-dark: #7a5a1f;
  --paper: #ffffff;
  --wash: #f4f6f5;
  --line: #d9e0dd;
  --warning: #7d2d29;
  --max-width: 1080px;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--forest-light);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--gold-dark);
}

.shell {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
}

.site-header {
  color: #fff;
  background: var(--forest);
  border-bottom: 3px solid var(--gold);
}

.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: #fff;
  text-decoration: none;
}

.brand:hover {
  color: #fff;
}

.brand img {
  width: 56px;
  height: 56px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
}

.brand span {
  display: grid;
  line-height: 1.25;
}

.brand strong {
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-size: 22px;
  font-weight: 700;
}

.brand small {
  margin-top: 4px;
  color: #cad8d3;
  font-size: 13px;
}

nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

nav a {
  color: #dce7e3;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

nav a:hover,
nav a[aria-current="page"] {
  color: #f0d994;
}

.intro-band {
  color: #fff;
  background: #183c34;
  border-bottom: 1px solid #0c211d;
}

.intro-grid {
  min-height: 430px;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(290px, 0.75fr);
  align-items: center;
  gap: 72px;
  padding-block: 66px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.intro-band .eyebrow,
.legal-summary .eyebrow {
  color: #f0d994;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

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

h1,
h2 {
  font-family: "Songti SC", "STSong", "SimSun", serif;
}

h1 {
  margin-bottom: 16px;
  font-size: clamp(38px, 6vw, 62px);
  line-height: 1.12;
}

h2 {
  margin-bottom: 14px;
  font-size: 30px;
  line-height: 1.28;
}

h3 {
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.4;
}

.lead {
  max-width: 660px;
  margin: 0;
  color: #d7e2de;
  font-size: 18px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
}

.button-primary {
  color: #17221f;
  background: #ebd58f;
  border-color: #ebd58f;
}

.button-primary:hover {
  color: #17221f;
  background: #f4e4ad;
}

.button-secondary {
  color: #fff;
  background: transparent;
  border-color: #92aaa2;
}

.button-secondary:hover {
  color: #f0d994;
  border-color: #f0d994;
}

.contact-panel {
  padding: 26px;
  color: var(--ink);
  background: var(--paper);
  border-top: 4px solid var(--gold);
  border-radius: 6px;
}

.contact-panel h2 {
  margin-bottom: 16px;
  font-family: inherit;
  font-size: 19px;
}

.contact-panel dl {
  margin: 0;
}

.contact-panel dl div {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 10px;
  padding-block: 11px;
  border-top: 1px solid var(--line);
}

.contact-panel dt {
  color: var(--muted);
  font-size: 14px;
}

.contact-panel dd {
  margin: 0;
  font-weight: 600;
}

.content-band {
  padding-block: 72px;
}

.content-band-muted {
  background: var(--wash);
  border-block: 1px solid var(--line);
}

.section-heading {
  max-width: 700px;
  margin-bottom: 34px;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.detail-grid article {
  min-height: 210px;
  padding: 28px;
  background: var(--paper);
}

.detail-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.step {
  display: block;
  margin-bottom: 28px;
  color: var(--gold-dark);
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 13px;
  font-weight: 700;
}

.security-note {
  margin: 20px 0 0;
  padding-left: 14px;
  color: var(--warning);
  border-left: 3px solid var(--warning);
  font-weight: 600;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  padding-block: 20px;
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  cursor: pointer;
  font-size: 17px;
  font-weight: 700;
}

.faq-list p {
  max-width: 820px;
  margin: 14px 0 0;
  color: var(--muted);
}

.policy-band {
  color: #fff;
  background: #27473f;
}

.policy-row {
  min-height: 210px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.policy-row .eyebrow {
  color: #f0d994;
}

.policy-row h2 {
  margin-bottom: 0;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: currentColor;
  font-weight: 700;
  text-decoration-thickness: 2px;
}

.policy-row .text-link {
  flex: 0 0 auto;
  color: #fff;
}

footer {
  color: #cbd7d3;
  background: #0d211d;
}

.footer-inner {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-inner p {
  margin: 0;
  font-size: 14px;
}

.footer-inner div {
  display: flex;
  gap: 20px;
}

.footer-inner a {
  color: #dfe8e5;
  font-size: 14px;
}

.legal-main {
  background: var(--wash);
}

.legal-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  align-items: start;
  gap: 64px;
  padding-block: 64px 88px;
}

.legal-summary {
  position: sticky;
  top: 24px;
  padding: 26px;
  color: #fff;
  background: var(--forest);
  border-radius: 6px;
}

.legal-summary img {
  width: 112px;
  height: 112px;
  margin-bottom: 22px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
}

.legal-summary h1 {
  margin-bottom: 16px;
  font-size: 30px;
}

.legal-summary p {
  margin: 4px 0;
  color: #cad8d3;
  font-size: 14px;
}

.legal-summary .text-link {
  margin-top: 18px;
  color: #f0d994;
}

.legal-document {
  min-width: 0;
  padding: 40px 48px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.legal-intro {
  margin: 0 0 34px;
  padding-bottom: 28px;
  color: #31403c;
  border-bottom: 1px solid var(--line);
  font-size: 18px;
}

.legal-document section + section {
  margin-top: 38px;
}

.legal-document h2 {
  margin-bottom: 16px;
  font-family: inherit;
  font-size: 23px;
}

.legal-document h3 {
  margin: 20px 0 6px;
  font-size: 16px;
}

.legal-document p,
.legal-document li {
  color: #46534f;
}

.legal-document ul {
  margin: 0;
  padding-left: 22px;
}

.not-found {
  min-height: calc(100vh - 199px);
  display: grid;
  place-items: center;
  padding-block: 80px;
}

.not-found-inner {
  max-width: 620px;
  text-align: center;
}

.not-found img {
  width: 120px;
  height: 120px;
  margin: 0 auto 24px;
  border-radius: 8px;
}

.not-found h1 {
  color: var(--forest);
  font-size: 40px;
}

.not-found .actions {
  justify-content: center;
}

.not-found .button-secondary {
  color: var(--forest);
  border-color: var(--forest);
}

@media (max-width: 760px) {
  .shell {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .header-inner {
    min-height: 76px;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding-block: 12px 14px;
  }

  .brand img {
    width: 48px;
    height: 48px;
  }

  .brand strong {
    font-size: 19px;
  }

  nav {
    width: 100%;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  nav a {
    flex: 0 0 auto;
  }

  .intro-grid {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 40px;
    padding-block: 48px;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 26px;
  }

  .lead {
    font-size: 17px;
  }

  .contact-panel {
    padding: 22px;
  }

  .content-band {
    padding-block: 54px;
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }

  .detail-grid article {
    min-height: 0;
    padding: 24px;
  }

  .step {
    margin-bottom: 18px;
  }

  .policy-row,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 34px;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-block: 32px 54px;
  }

  .legal-summary {
    position: static;
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    column-gap: 18px;
    align-items: center;
  }

  .legal-summary img {
    width: 72px;
    height: 72px;
    grid-row: 1 / span 5;
    margin: 0;
  }

  .legal-summary .eyebrow,
  .legal-summary h1,
  .legal-summary p,
  .legal-summary .text-link {
    grid-column: 2;
  }

  .legal-summary h1 {
    margin-bottom: 8px;
    font-size: 26px;
  }

  .legal-summary .text-link {
    margin-top: 10px;
  }

  .legal-document {
    padding: 28px 22px;
  }
}

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