:root {
  color-scheme: light;
  --ink: #182431;
  --muted: #536273;
  --paper: #ffffff;
  --canvas: #f5f7fa;
  --line: #dbe2e9;
  --accent: #2455a4;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 2rem; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.75;
  overflow-wrap: anywhere;
}
a { color: var(--accent); text-underline-offset: .18em; }
:lang(ko) { word-break: keep-all; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; border-radius: 2px; }
.skip-link { position: absolute; top: -5rem; left: 1rem; background: white; padding: .6rem 1rem; z-index: 2; }
.skip-link:focus { top: 1rem; }
.site-header, .page, .site-footer { width: min(1120px, calc(100% - 3rem)); margin-inline: auto; }
.site-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem; padding-block: 2rem; }
.brand { display: inline-flex; align-items: center; }
.brand img { display: block; width: 125px; height: 51px; object-fit: contain; }
.languages { display: flex; flex-wrap: wrap; gap: .4rem; }
.languages a { padding: .35rem .85rem; border: 1px solid transparent; border-radius: 999px; text-decoration: none; }
.languages a[aria-current="page"] { background: var(--paper); border-color: var(--line); color: var(--ink); font-weight: 650; }
.hero { padding: 2.5rem 0 2rem; max-width: 850px; }
.eyebrow { color: var(--accent); font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 .7rem; }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); line-height: 1.15; letter-spacing: -.035em; margin: 0 0 1.25rem; }
.intro { font-size: 1.15rem; color: var(--muted); margin: 0 0 1rem; }
.updated { font-size: .9rem; color: var(--muted); }
.summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 0 0 2.5rem; }
.summary > div { padding: 1.2rem 1.35rem; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }
.summary strong { display: block; margin-bottom: .3rem; line-height: 1.4; }
.summary p { margin: 0; font-size: .9rem; color: var(--muted); }
.policy-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 2.5rem; align-items: start; }
.contents { position: sticky; top: 1.5rem; font-size: .9rem; }
.contents h2 { font-size: .85rem; margin: 0 0 .8rem; color: var(--muted); }
.contents ol { list-style: none; margin: 0; padding: 0; }
.contents li { margin: 0 0 .35rem; }
.contents a { display: block; padding: .2rem 0; text-decoration: none; color: var(--muted); }
.contents a:hover { color: var(--accent); text-decoration: underline; }
.policy { min-width: 0; padding: 0 0 3rem; }
.policy section { padding: 0 0 2rem; margin: 0 0 2rem; border-bottom: 1px solid var(--line); }
.policy section:last-child { margin-bottom: 0; }
h2 { font-size: 1.5rem; line-height: 1.35; letter-spacing: -.02em; margin: 0 0 1rem; }
h3 { font-size: 1.08rem; margin: 1.5rem 0 .65rem; line-height: 1.5; }
p { margin: 0 0 1rem; }
ul { padding-left: 1.35rem; }
li { margin-bottom: .55rem; }
.notice { padding: 1rem 1.25rem; background: #eaf0f9; border-left: 3px solid var(--accent); border-radius: 0 8px 8px 0; }
.notice p:last-child { margin-bottom: 0; }
.table-wrap { overflow-x: auto; margin: 1.25rem 0; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
table { border-collapse: collapse; width: 100%; font-size: .92rem; }
caption { text-align: left; font-weight: 650; padding: .9rem 1rem; background: #edf1f6; }
th, td { text-align: left; vertical-align: top; padding: .85rem 1rem; border-top: 1px solid var(--line); }
thead th { border-top: 0; background: #edf1f6; line-height: 1.5; }
tbody th { width: 38%; font-weight: 600; }
address { font-style: normal; }
.small { font-size: .9rem; color: var(--muted); }
.site-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding: 2rem 0 2.5rem; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.site-footer nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.anchor-alias { display: block; }
@media (max-width: 800px) {
  .policy-layout { grid-template-columns: 1fr; gap: 2rem; }
  .contents { position: static; padding: 1.2rem; border: 1px solid var(--line); border-radius: 10px; }
  .contents ol { columns: 2; column-gap: 1.5rem; }
  .contents li { break-inside: avoid; }
  .hero { padding-top: 1.25rem; }
}
@media (max-width: 520px) {
  .site-header, .page, .site-footer { width: calc(100% - 2rem); }
  .site-header { padding-block: 1.25rem; gap: 1rem; }
  .languages { gap: .1rem; }
  .languages a { padding: .3rem .65rem; }
  .summary { grid-template-columns: 1fr; gap: .65rem; }
  .summary > div { padding: 1rem 1.15rem; }
  .contents ol { columns: 1; }
  th, td { padding: .7rem; }
  tbody th { width: 42%; }
}
@media print {
  body { background: white; font-size: 10pt; }
  .site-header, .page, .site-footer { width: 100%; }
  .languages, .contents, .skip-link, .site-footer { display: none; }
  .policy-layout { display: block; }
  .hero { padding-top: 0; }
  .summary { margin-bottom: 1.5rem; }
  .policy section { break-inside: auto; }
  h2, h3 { break-after: avoid; }
  tr { break-inside: avoid; }
  a { color: inherit; }
}
