:root {
  color-scheme: light;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #3e3732;
  background: #fbf7f1;
}
body {
  margin: 0;
  padding: 48px 20px 80px;
}
main {
  max-width: 760px;
  margin: 0 auto;
  padding: 36px;
  background: #fffdf9;
  border: 1px solid #e6dcd2;
  border-radius: 24px;
  box-shadow: 0 18px 48px rgba(62, 55, 50, 0.08);
}
.page-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
}
.eyebrow {
  color: #8a5a46;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}
.language-switcher {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 3px;
  padding: 4px;
  border: 1px solid #dfd2c6;
  border-radius: 999px;
  background: #f4ede4;
}
.language-switcher button {
  min-width: 76px;
  padding: 9px 13px;
  border: 0;
  border-radius: 999px;
  color: #796a60;
  background: transparent;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}
.language-switcher button[aria-pressed="true"] {
  color: #fffaf4;
  background: #704636;
  box-shadow: 0 3px 10px rgba(76, 48, 37, 0.18);
}
.language-switcher button:focus-visible {
  outline: 3px solid rgba(198, 101, 72, 0.35);
  outline-offset: 2px;
}
h1, h2 {
  color: #4c3025;
}
h1 {
  margin-top: 0;
  font-family: ui-serif, "Iowan Old Style", "Palatino Linotype", "Noto Serif KR", serif;
  font-size: clamp(2rem, 6vw, 3rem);
  letter-spacing: -0.035em;
}
h2 {
  margin-top: 2rem;
  font-size: 1.25rem;
}
p, li {
  line-height: 1.75;
}
.meta {
  color: #756a61;
}
a {
  color: #9f4f37;
  text-underline-offset: 0.2em;
}
.legal-navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}
.legal-document {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e6dcd2;
}
.legal-document h2 {
  margin-top: 0;
  font-size: clamp(1.35rem, 4vw, 1.75rem);
}
.legal-document h3 {
  margin-top: 2rem;
  color: #4c3025;
  font-size: 1.15rem;
}
[data-policy-language] {
  animation: policy-reveal 220ms ease-out;
}
[hidden] {
  display: none !important;
}
@keyframes policy-reveal {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 560px) {
  body {
    padding: 20px 12px 48px;
  }
  main {
    padding: 24px 20px 30px;
    border-radius: 20px;
  }
  .page-toolbar {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 28px;
  }
  .language-switcher {
    align-self: stretch;
  }
  .language-switcher button {
    flex: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  [data-policy-language],
  .language-switcher button {
    animation: none;
    transition: none;
  }
}
