:root {
  --bg-page: #f7f4ec;
  --bg-surface: #efeadd;
  --border-soft: #dfd7c4;
  --text-main: #252b26;
  --text-muted: #525d55;
  --pine: #1f4232;
  --pine-link: #24523c;
  --pine-hover: #173426;
  --apricot: #c96f3b;
  --focus-ring: #b45622;
}

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

html {
  background-color: var(--bg-page);
  color: var(--text-main);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--bg-page);
  color: var(--text-main);
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 10;
  padding: 0.5rem 0.9rem;
  border-radius: 6px;
  background-color: var(--pine);
  color: #ffffff;
  font-size: 0.9375rem;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.page {
  max-width: 42rem;
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 4rem) clamp(1.25rem, 5vw, 2rem) clamp(3rem, 7vw, 5rem);
}

.site-header {
  margin-bottom: 2.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 1.5rem;
}

.brand-icon {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(31, 66, 50, 0.12);
  background-color: var(--bg-surface);
  flex-shrink: 0;
}

.brand-name {
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--pine);
}

.page-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 4.5vw, 2.25rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--pine);
}

.effective-date {
  margin: 0 0 1.75rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.summary {
  padding: 1.125rem 1.25rem;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-soft);
  border-left: 4px solid var(--apricot);
  border-radius: 10px;
}

.summary p {
  margin: 0;
  font-size: 0.96875rem;
  color: var(--text-main);
}

.policy-content section {
  margin-bottom: 2.25rem;
}

.policy-content section:last-child {
  margin-bottom: 0;
}

.policy-content h2 {
  margin: 0 0 0.875rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid var(--border-soft);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--pine);
}

.policy-content p {
  margin: 0 0 1rem;
  font-size: 1rem;
}

.policy-content p:last-child {
  margin-bottom: 0;
}

.policy-content ul {
  margin: 0.5rem 0 1rem;
  padding-left: 1.35rem;
}

.policy-content li {
  margin-bottom: 0.5rem;
}

.policy-content li:last-child {
  margin-bottom: 0;
}

.policy-content li::marker {
  color: var(--apricot);
}

.policy-content strong {
  font-weight: 600;
  color: var(--pine);
}

.site-footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-soft);
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.footer-title {
  margin: 0 0 0.625rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--pine);
}

.site-footer p {
  margin: 0 0 0.625rem;
}

.site-footer p:last-child {
  margin-bottom: 0;
}

.footer-note {
  font-size: 0.875rem;
  color: var(--text-muted);
}

a {
  color: var(--pine-link);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--pine-hover);
  text-decoration-thickness: 2px;
}

a:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 3px;
  border-radius: 3px;
}

@media (max-width: 520px) {
  html {
    font-size: 15.5px;
  }

  .summary {
    padding: 1rem 1.05rem;
  }

  .policy-content h2 {
    font-size: 1.125rem;
  }
}

@media print {
  html,
  body {
    background-color: #ffffff;
    color: #000000;
  }

  .skip-link {
    display: none;
  }

  .page {
    max-width: none;
    padding: 0;
  }

  .summary {
    background-color: transparent;
    border-color: #cccccc;
  }
}
