:root {
  --text: #202b29;
  --muted: #52605b;
  --rule: #ccd2ca;
  --paper: #fbfbf7;
  --accent: #97422d;
  --edge: clamp(1.2rem, 5vw, 5rem);
  --sans: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", "맑은 고딕", system-ui, sans-serif;
  --serif: "Nanum Myeongjo", "Noto Serif KR", "KoPub Batang", "함초롬바탕", "Batang", "바탕", serif;
  --latin: "Instrument Sans", "Segoe UI", Arial, sans-serif;
  --mono: "IBM Plex Mono", Consolas, ui-monospace, monospace;
  font-family: var(--sans);
  color: var(--text);
  background: var(--paper);
  font-synthesis: none;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; line-height: 1.65; letter-spacing: -.025em; word-break: keep-all; overflow-wrap: break-word; }
[id] { scroll-margin-top: 1.5rem; }
h1, h2, h3, h4, p, dl, dd, figure { margin: 0; }
h1, h2, h3, h4 { line-height: 1.26; text-wrap: pretty; }
ul, ol { padding-inline-start: 1.25rem; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .24em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
::selection { background: #f2d885; color: #141d20; }
:focus-visible { outline: 3px solid #d87524; outline-offset: 4px; }
[hidden] { display: none !important; }
.wrap { width: min(77rem, calc(100% - var(--edge) * 2)); margin-inline: auto; }
.skip { position: absolute; z-index: 10; top: .5rem; left: .5rem; padding: .55rem 1rem; background: white; color: #1c2925; transform: translateY(-180%); }
.skip:focus { transform: none; }
.top { border-bottom: 1px solid var(--rule); }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 1.4rem; min-height: 4.75rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; flex: none; text-decoration: none; }
.brand img { width: 2rem; height: 2rem; object-fit: contain; }
.brand span, .brand strong, .brand small { display: block; }
.brand strong { font-size: 1.04rem; font-weight: 740; line-height: 1.3; letter-spacing: -.06em; }
.brand small { margin-top: .13rem; font: 600 .73rem/1.28 var(--latin); letter-spacing: .13em; }
.site-nav { display: flex; align-items: center; gap: clamp(1.1rem, 2.3vw, 2.3rem); margin-left: auto; }
.site-nav a { font-weight: 580; font-size: .93rem; text-decoration: none; padding-block: .47rem; }
.site-nav a:hover, .footer a:hover { text-decoration: underline; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: .72rem 1.16rem; min-height: 2.8rem; border: 1px solid transparent; border-radius: .22rem; line-height: 1.4; font-size: .97rem; font-weight: 660; text-decoration: none; text-align: center; transition: background-color .16s ease, color .16s ease, border-color .16s ease; }
.btn.small { min-height: 2.45rem; padding: .53rem .95rem; font-size: .91rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1.1rem; }
.text-link { display: inline-flex; align-items: center; min-height: 2.5rem; font-weight: 620; text-decoration: underline; }
.section-title { font-size: clamp(1.85rem, 3.7vw, 3rem); letter-spacing: -.075em; line-height: 1.2; }
.footer { padding-block: 2.15rem; border-top: 1px solid var(--rule); font-size: .9rem; }
.foot-row { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 1.2rem 2rem; }
.foot-id { display: grid; gap: .22rem; }
.foot-id strong { font-size: 1rem; font-weight: 690; }
.foot-links { display: flex; flex-wrap: wrap; gap: .35rem 1.2rem; align-items: center; }
.foot-links a { padding-block: .22rem; }
.note { font-size: .9rem; color: var(--muted); }
.section-space { padding-block: clamp(3.2rem, 6.5vw, 6.4rem); }
.accordions details { border-top: 1px solid var(--rule); }
.accordions details:last-child { border-bottom: 1px solid var(--rule); }
.accordions summary { position: relative; padding: 1.1rem 2rem 1.1rem 0; list-style: none; cursor: pointer; font-weight: 680; }
.accordions summary::-webkit-details-marker { display: none; }
.accordions summary::after { content: "+"; position: absolute; right: .3rem; top: 1rem; font: 400 1.35rem var(--mono); }
.accordions [open] summary::after { content: "−"; }
.accordions p { margin: -.1rem 1.7rem 1.2rem 0; color: var(--muted); }
.accordions a { display: block; width: fit-content; max-width: 100%; margin-top: .5rem; font-weight: 610; }
@media (max-width: 44rem) {
  .head-row { display: grid; grid-template-columns: 1fr auto; gap: 0 .6rem; padding-top: .83rem; min-height: 0; }
  .head-row > .brand { grid-column: 1; grid-row: 1; }
  .head-row > .btn { grid-column: 2; grid-row: 1; justify-self: end; }
  .head-row > .site-nav { grid-column: 1/-1; grid-row: 2; margin: .52rem 0 0; gap: 1.4rem; min-height: 2.6rem; }
  .brand img { width: 1.8rem; height: 1.8rem; }
  .brand strong { font-size: .97rem; }
  .brand small { font-size: .69rem; }
  .site-nav a { font-size: .88rem; }
  .foot-row { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
