:root {
  font-family: "PingFang SC", "Noto Sans SC", "Hiragino Sans GB", sans-serif;
  color: #292820;
  background: #fbf7eb;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --ink: #292820;
  --muted: #6f695d;
  --cream: #fbf7eb;
  --paper: #fffdf7;
  --butter: #f7d66f;
  --coral: #d75f89;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: var(--cream); }
a { color: inherit; }
a:focus-visible { outline: 3px solid #2382df; outline-offset: 4px; }

.policy-header {
  width: min(1180px, calc(100% - 48px));
  min-height: 92px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 21px; font-weight: 800; text-decoration: none; }
.brand img { width: 58px; height: 44px; object-fit: contain; }
.back-link {
  padding: 11px 16px;
  border: 1px solid rgba(41, 40, 32, 0.14);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}
.back-link:hover { background: rgba(41, 40, 32, 0.06); }

.policy-hero {
  padding: 86px max(7vw, 32px) 78px;
  background: #f8e9a8;
  border-top: 1px solid rgba(79, 57, 30, 0.1);
  border-bottom: 1px solid rgba(79, 57, 30, 0.12);
}
.policy-hero > * { width: min(900px, 100%); margin-right: auto; margin-left: auto; }
.eyebrow { margin-top: 0; color: #8a6f22; font-size: 13px; font-weight: 800; letter-spacing: 0.2em; }
h1 { margin: 18px auto 24px; font-size: clamp(46px, 6vw, 74px); line-height: 1.1; letter-spacing: -0.055em; }
.policy-dates { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-bottom: 34px; color: #716849; font-size: 14px; }
.policy-intro { margin-top: 0; margin-bottom: 14px; color: #534e42; font-size: 17px; line-height: 1.9; }

.policy-layout {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 76px 0 110px;
  display: grid;
  grid-template-columns: 240px minmax(0, 780px);
  justify-content: center;
  align-items: start;
  gap: 74px;
}
.table-of-contents {
  position: sticky;
  top: 28px;
  padding: 22px 22px 20px;
  border: 1px solid rgba(41, 40, 32, 0.1);
  border-radius: 20px;
  background: rgba(255, 253, 247, 0.82);
}
.table-of-contents > p { margin: 0 0 13px; font-size: 13px; font-weight: 800; letter-spacing: 0.14em; }
.table-of-contents ol { margin: 0; padding-left: 22px; color: #6f695d; font-size: 13px; line-height: 1.55; }
.table-of-contents li + li { margin-top: 7px; }
.table-of-contents a { text-decoration-color: transparent; text-underline-offset: 3px; }
.table-of-contents a:hover { color: var(--ink); text-decoration-color: currentColor; }

.policy-content { min-width: 0; }
.policy-content section { scroll-margin-top: 28px; }
.policy-content section + section { margin-top: 64px; padding-top: 64px; border-top: 1px dashed rgba(41, 40, 32, 0.17); }
.policy-content h2 { margin: 0 0 22px; font-size: clamp(27px, 3vw, 36px); line-height: 1.3; letter-spacing: -0.035em; }
.policy-content p, .policy-content li { color: #5f594e; font-size: 16px; line-height: 1.95; }
.policy-content p { margin: 0 0 16px; }
.policy-content p:last-child { margin-bottom: 0; }
.policy-content ul { margin: 18px 0 22px; padding: 19px 22px 19px 46px; border-radius: 18px; background: #f7eed8; }
.policy-content li + li { margin-top: 5px; }
.policy-content strong { color: var(--ink); }

.policy-footer {
  min-height: 190px;
  padding: 48px max(6vw, 28px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 36px;
  background: #2c2a22;
  color: white;
}
.policy-footer p { margin: 0; color: rgba(255, 255, 255, 0.72); }
.policy-footer a { font-weight: 700; text-underline-offset: 4px; }

@media (max-width: 860px) {
  .policy-layout { grid-template-columns: 1fr; gap: 48px; }
  .table-of-contents { position: static; }
  .table-of-contents ol { columns: 2; column-gap: 36px; }
  .table-of-contents li { break-inside: avoid; }
}

@media (max-width: 600px) {
  .policy-header { width: calc(100% - 28px); min-height: 78px; }
  .brand { gap: 7px; font-size: 17px; }
  .brand img { width: 44px; height: 34px; }
  .back-link { padding: 9px 12px; font-size: 12px; }
  .policy-hero { padding: 68px 22px 60px; }
  h1 { font-size: 43px; }
  .policy-dates { display: grid; gap: 6px; }
  .policy-intro { font-size: 15px; line-height: 1.85; }
  .policy-layout { width: calc(100% - 40px); padding: 56px 0 84px; }
  .table-of-contents ol { columns: 1; }
  .policy-content section + section { margin-top: 48px; padding-top: 48px; }
  .policy-content h2 { font-size: 27px; }
  .policy-content p, .policy-content li { font-size: 15px; line-height: 1.9; }
  .policy-content ul { padding-left: 40px; }
  .policy-footer { min-height: 170px; text-align: center; }
}

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