:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  color: #242a2a;
  background: #fff;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --accent: #296356;
  --muted: #626b68;
  --line: #dce4df;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 2rem; }
body { margin: 0; font-size: 1rem; line-height: 1.85; word-break: keep-all; overflow-wrap: anywhere; }
a { color: var(--accent); text-underline-offset: .2em; }
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: .75rem; left: 1rem; padding: .4rem .8rem; background: #fff; transform: translateY(-180%); z-index: 2; }
.skip-link:focus { transform: translateY(0); }
.site-header { max-width: 1120px; margin: 0 auto; padding: 1.5rem 2rem; border-bottom: 1px solid var(--line); }
.brand { display: inline-block; color: var(--accent); font-size: 1.25rem; font-weight: 750; letter-spacing: -.04em; text-decoration: none; }
.document { max-width: 1120px; margin: 0 auto; padding: 3.5rem 2rem 5rem; }
.document-heading { max-width: 760px; margin-bottom: 2.5rem; }
.eyebrow { color: var(--accent); font-size: .875rem; font-weight: 650; letter-spacing: .08em; margin: 0 0 .5rem; }
h1 { margin: 0 0 1rem; font-size: clamp(2rem, 5vw, 2.75rem); font-weight: 700; letter-spacing: -.055em; line-height: 1.3; }
.metadata { display: flex; flex-wrap: wrap; gap: .3rem 1.25rem; color: var(--muted); font-size: .9375rem; margin: 0; }
.document-layout { display: grid; grid-template-columns: 215px minmax(0, 1fr); gap: 3.5rem; align-items: start; }
.toc { font-size: .9375rem; border-top: 2px solid var(--accent); padding-top: 1rem; }
.toc h2 { margin: 0 0 .75rem; font-size: 1rem; }
.toc ol { list-style: none; padding: 0; margin: 0; }
.toc li { margin: 0 0 .55rem; }
.toc a { color: var(--muted); text-decoration: none; display: block; }
.toc a:hover { color: var(--accent); text-decoration: underline; }
.terms { min-width: 0; }
.terms > p:first-child { margin-top: 0; }
.terms section { padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.terms section:first-of-type { padding-top: .25rem; }
.terms h2 { font-size: 1.1875rem; line-height: 1.6; letter-spacing: -.025em; margin: 0 0 .85rem; }
.terms p { margin: .65rem 0; }
.terms ol, .terms ul { padding-left: 1.5rem; margin: .65rem 0; }
.terms li { padding-left: .2rem; margin: .55rem 0; }
.terms li > ol { list-style-type: lower-alpha; }
.contact { margin-top: 2rem; padding: 1.25rem 1.5rem; background: #f4f7f5; border-left: 3px solid var(--accent); }
.contact p { margin: .25rem 0; }
.site-footer { max-width: 1120px; margin: 0 auto; padding: 1.5rem 2rem 2.5rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .875rem; }
.site-footer p { margin: 0; }
.landing { max-width: 760px; min-height: 60vh; margin: 0 auto; padding: 4rem 2rem; }
@media (max-width: 760px) {
  .site-header { padding: 1.1rem 1.25rem; }
  .document { padding: 2.25rem 1.25rem 3rem; }
  .document-layout { grid-template-columns: 1fr; gap: 2.25rem; }
  .document-heading { margin-bottom: 1.75rem; }
  .toc ol { columns: 2; column-gap: 1.25rem; }
  .toc li { break-inside: avoid; }
  .site-footer { padding-inline: 1.25rem; }
}
@media (max-width: 380px) { .toc ol { columns: 1; } }
@media print {
  @page { size: A4; margin: 18mm; }
  body { color: #000; background: #fff; font-size: 10.5pt; line-height: 1.7; }
  .site-header, .toc, .skip-link, .site-footer { display: none; }
  .document { padding: 0; max-width: none; }
  .document-heading { margin-bottom: 1.5rem; }
  .document-layout { display: block; }
  h1 { font-size: 22pt; }
  .terms h2 { font-size: 12pt; break-after: avoid; }
  .terms section { padding: .65rem 0; border-color: #aaa; }
  p, li { orphans: 3; widows: 3; }
  a { color: #000; text-decoration: none; }
  .contact { background: transparent; break-inside: avoid; border-color: #555; }
}
