:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #33322f;
  background: #f9f7f2;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  --muted: #6d6b64;
  --line: #e5e1d8;
  --coral: #a65343;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
a { color: inherit; }
button, a { touch-action: manipulation; }
a:focus-visible, button:focus-visible, main:focus-visible { outline: 2px solid var(--coral); outline-offset: 5px; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 10; background: #242424; color: #fff; padding: 15px; }
.skip-link:focus { top: 12px; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { width: min(1240px, calc(100% - 112px)); min-height: 89px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; font-size: 30px; font-weight: 650; letter-spacing: -1.5px; text-decoration: none; }
.brand img { width: 34px; height: 34px; margin-right: 10px; border-radius: 9px; }
.brand > span { color: var(--coral); }
.header-actions { display: flex; align-items: center; gap: 25px; }
.back-link { display: inline-flex; align-items: center; color: var(--muted); font-size: 12px; min-height: 44px; text-decoration: none; }
.language-button { background: none; border: 0; font: inherit; font-size: 12px; color: #242424; cursor: pointer; min-width: 44px; min-height: 44px; padding: 10px; }
.back-link:hover, .language-button:hover { text-decoration: underline; text-underline-offset: 4px; }
main { width: min(800px, calc(100% - 48px)); margin-inline: auto; padding: 72px 0 28px; }
.policy-header { margin-bottom: 28px; }
.document-label { display: flex; align-items: center; gap: 12px; font-size: 10px; font-weight: 500; letter-spacing: .13em; color: var(--coral); margin: 0 0 24px; }
.document-label::before { content: "✳"; font-size: 23px; font-weight: 400; }
h1 { font-size: clamp(40px, 6vw, 62px); font-weight: 550; letter-spacing: -.05em; line-height: 1.2; margin: 0 0 22px; }
h1 > span { color: var(--coral); }
html[lang='en'] h1 { letter-spacing: -.045em; }
.policy-subtitle { font-size: 16px; line-height: 1.9; color: var(--muted); margin: 0 0 24px; }
.policy-meta { border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px 25px; padding: 13px 0; text-align: left; font-size: 12px; line-height: 1.8; color: var(--muted); }
.policy-preamble p, section p { font-size: 15px; line-height: 2; overflow-wrap: anywhere; margin: 0 0 17px; }
.policy-preamble { margin-bottom: 26px; }
.policy-preamble strong { font-weight: 550; }
.policy-preamble > p:last-child { background: #efeee4; border: 1px solid #e2e2d5; border-left: 3px solid #889475; border-radius: 0 7px 7px 0; padding: 22px 26px; color: #526046; font-size: 14px; line-height: 1.95; margin-top: 24px; }
.policy-contents { border: 1px solid var(--line); padding: 22px 26px 23px; margin: 30px 0 40px; background: #f3f0e9; border-radius: 8px; }
.policy-contents h2 { font-size: 14px; font-weight: 600; margin: 0 0 15px; letter-spacing: .03em; }
.policy-contents ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 36px; margin: 0; padding-left: 20px; font-size: 13px; line-height: 1.8; }
.policy-contents li { padding-left: 3px; }
.policy-contents li::marker { color: var(--coral); font-variant-numeric: tabular-nums; }
.policy-contents a { text-decoration: none; }
.policy-contents a:hover { text-decoration: underline; text-underline-offset: 4px; }
section { margin-top: 35px; }
section h2 { font-size: 21px; font-weight: 550; line-height: 1.65; margin: 0 0 20px; padding: 0 0 11px; border-bottom: 1px solid var(--line); scroll-margin-top: 28px; }
section strong { font-weight: 600; }
.clause { font-variant-numeric: tabular-nums; font-size: 12px; font-weight: 500; color: var(--coral); margin-right: 7px; }
section a { color: var(--coral); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
section a:hover { color: #575757; }
.policy-footer { border-top: 1px solid var(--line); margin-top: 50px; padding-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 11px; color: var(--muted); }
.policy-footer a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.policy-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 680px) {
  .header-inner { width: calc(100% - 40px); min-height: 69px; gap: 16px; }
  .brand { font-size: 26px; }
  .brand img { width: 30px; height: 30px; margin-right: 8px; }
  .header-actions { gap: 15px; }
  .back-link, .language-button { font-size: 11px; }
  main { width: calc(100% - 40px); padding-top: 44px; }
  .document-label { font-size: 9px; margin-bottom: 17px; }
  h1 { font-size: 40px; }
  html[lang='en'] h1 { font-size: 40px; }
  .policy-subtitle { font-size: 14px; margin-bottom: 24px; }
  .policy-meta { flex-wrap: wrap; padding: 11px 0; gap: 4px 15px; font-size: 11px; }
  .policy-header { margin-bottom: 24px; }
  .policy-preamble p, section p { font-size: 14px; }
  .policy-preamble > p:last-child { padding: 20px; }
  .policy-contents { padding: 18px 20px; margin: 25px 0 31px; }
  .policy-contents ol { grid-template-columns: 1fr; gap: 8px; font-size: 13px; }
  section { margin-top: 30px; }
  section h2 { font-size: 18px; }
  .clause { font-size: 13px; }
}

@media print {
  @page { margin: 20mm; }
  :root { background: white; color: black; }
  .document-label::before { display: none; }
  .policy-preamble > p:last-child { background: none; border-color: #ddd; color: black; }
  .site-header, .skip-link, .policy-contents, .policy-footer { display: none; }
  main { width: 100%; padding: 0; }
  h1, html[lang='en'] h1 { font-size: 24pt; }
  .policy-preamble p, section p { font-size: 10.5pt; line-height: 1.8; orphans: 3; widows: 3; }
  section h2 { break-after: avoid; font-size: 13pt; }
  section a { color: #242424; }
}
