:root {
  color-scheme: light dark;
  --bg: #ece7dd;
  --bg-warm: #e8e1d4;
  --card: #fdfcf9;
  --ink: #1a1815;
  --ink-soft: rgba(26, 24, 21, 0.62);
  --ink-faint: rgba(26, 24, 21, 0.4);
  --line: rgba(26, 24, 21, 0.1);
  --rust: #c95e2c;
  --rust-dark: #7c3519;
  --moss: #3f5b3a;
  --peach: #f9dfcf;
  --sage: #e2ebd8;
  --lavender: #e9e2ee;
  --rose: #f2dce0;
  --shadow: 0 22px 70px rgba(72, 51, 31, 0.12);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 4%, rgba(249, 223, 207, 0.95), transparent 30rem),
    radial-gradient(circle at 94% 16%, rgba(226, 235, 216, 0.8), transparent 26rem),
    linear-gradient(145deg, var(--bg) 0%, #f1ece4 52%, var(--bg-warm) 100%);
  font-family: "Avenir Next", Avenir, "PingFang SC", "Hiragino Sans GB", sans-serif;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.28;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.1'/%3E%3C/svg%3E");
  content: "";
  pointer-events: none;
}

a {
  color: var(--rust-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--rust);
}

.page-shell {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 42px 0 54px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  margin-bottom: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  box-shadow: 0 9px 24px rgba(201, 94, 44, 0.22);
}

.brand-copy {
  display: grid;
  line-height: 1.15;
}

.brand-name {
  font-size: 17px;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.brand-note {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 12px;
}

.layout {
  width: min(100%, 880px);
  margin: 0 auto;
}

h1 {
  margin: 0;
  font-family: "Songti SC", STSong, "Noto Serif CJK SC", serif;
  font-size: clamp(36px, 6vw, 52px);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.08;
}

.document-head {
  margin-bottom: 20px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.content-card {
  padding: clamp(26px, 5vw, 54px);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-xl);
  background: rgba(253, 252, 249, 0.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-bottom: 20px;
  color: var(--ink-faint);
  font-size: 12px;
  font-weight: 650;
}

.summary {
  margin: 0 0 20px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink-soft);
  font-size: 15px;
}

.policy-section {
  position: relative;
  padding: 30px 0 31px;
  border-top: 1px solid var(--line);
}

.policy-section:first-of-type {
  border-top: 0;
  padding-top: 22px;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.section-number {
  display: inline-grid;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 11px;
  color: var(--rust-dark);
  background: var(--peach);
  font-size: 12px;
  font-weight: 850;
}

.policy-section:nth-of-type(4n + 2) .section-number {
  color: var(--moss);
  background: var(--sage);
}

.policy-section:nth-of-type(4n + 3) .section-number {
  color: #57456b;
  background: var(--lavender);
}

.policy-section:nth-of-type(4n + 4) .section-number {
  color: #6c3841;
  background: var(--rose);
}

h2 {
  margin: 0;
  font-size: 20px;
  letter-spacing: -0.025em;
  line-height: 1.35;
}

h3 {
  margin: 18px 0 7px;
  font-size: 15px;
}

p {
  margin: 0 0 11px;
  color: var(--ink-soft);
  font-size: 14.5px;
}

p:last-child {
  margin-bottom: 0;
}

ul {
  display: grid;
  gap: 9px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

li {
  position: relative;
  padding-left: 19px;
  color: var(--ink-soft);
  font-size: 14.5px;
}

li::before {
  position: absolute;
  top: 0.76em;
  left: 1px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rust);
  content: "";
}

strong {
  color: var(--ink);
  font-weight: 750;
}

.note {
  margin-top: 15px;
  padding: 14px 16px;
  border: 1px solid rgba(63, 91, 58, 0.1);
  border-radius: 14px;
  color: rgba(39, 58, 36, 0.75);
  background: var(--sage);
  font-size: 13px;
}

.contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 12px;
  padding: 18px;
  border-radius: var(--radius-md);
  background: var(--ink);
}

.contact-card p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
}

.contact-card strong {
  color: #fff8f2;
}

.contact-card a {
  color: #fff3eb;
  font-size: 14px;
  font-weight: 750;
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding: 24px 8px 0;
  color: var(--ink-faint);
  font-size: 12px;
}

footer a {
  color: var(--ink-soft);
}

@media (max-width: 820px) {
  .page-shell {
    width: min(100% - 24px, 720px);
    padding-top: 18px;
  }

  .topbar {
    margin-bottom: 18px;
  }

  .brand-note {
    display: none;
  }

}

@media (max-width: 520px) {
  .topbar {
    align-items: flex-start;
  }

  .brand-name {
    font-size: 15px;
  }

  h1 {
    font-size: 39px;
  }

  .content-card {
    padding: 26px 22px;
    border-radius: 28px;
  }

  .summary {
    padding: 17px;
  }

  .contact-card {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #2a2622;
    --bg-warm: #1a1815;
    --card: #161411;
    --ink: #f6f3ed;
    --ink-soft: rgba(246, 243, 237, 0.73);
    --ink-faint: rgba(246, 243, 237, 0.48);
    --line: rgba(246, 243, 237, 0.12);
    --rust: #df7946;
    --rust-dark: #f1a279;
    --moss: #8fae78;
    --peach: #2a1c15;
    --sage: #1c2418;
    --lavender: #201c29;
    --rose: #271a1e;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.26);
  }

  body {
    background:
      radial-gradient(circle at 8% 4%, rgba(99, 55, 35, 0.34), transparent 30rem),
      radial-gradient(circle at 94% 16%, rgba(55, 76, 45, 0.27), transparent 26rem),
      linear-gradient(145deg, var(--bg) 0%, #221f1b 52%, var(--bg-warm) 100%);
  }

  .content-card {
    border-color: rgba(255, 255, 255, 0.07);
    background: rgba(22, 20, 17, 0.86);
  }

  .contact-card {
    background: #080706;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

@media print {
  body {
    background: #fff;
  }

  body::before {
    display: none;
  }

  .page-shell {
    width: 100%;
    padding: 0;
  }

  .topbar,
  footer {
    display: none;
  }

  .layout {
    display: block;
  }

  .content-card {
    padding: 0;
    border: 0;
    box-shadow: none;
  }
}
