/* =====================================================================
   base.css · 리셋 + 문서 기본
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans); font-size: var(--fs-md); line-height: var(--lh-base);
  color: var(--color-text); background: var(--color-bg);
  -webkit-font-smoothing: antialiased; word-break: keep-all; overflow-wrap: anywhere;
}
img, svg, video { display: block; max-width: 100%; }
a { color: var(--color-link); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { line-height: var(--lh-tight); font-weight: var(--fw-bold); color: var(--navy-800); }
h1 { font-size: var(--fs-3xl); } h2 { font-size: var(--fs-xl); } h3 { font-size: var(--fs-lg); }
ul, ol { padding-left: 1.2em; }
table { border-collapse: collapse; }

:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 2px; border-radius: 3px; }
:focus:not(:focus-visible) { outline: none; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -999px; top: 0; z-index: var(--z-toast); background: var(--navy-900); color: #fff; padding: var(--sp-2) var(--sp-4); }
.skip-link:focus { left: 0; }

.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 2rem, var(--container-narrow)); margin-inline: auto; }
.section { padding-block: var(--sp-8); }
.stack > * + * { margin-top: var(--sp-4); }
.stack-sm > * + * { margin-top: var(--sp-2); }
.row { display: flex; gap: var(--sp-3); align-items: center; flex-wrap: wrap; }
.row--between { justify-content: space-between; }
.text-mute { color: var(--color-text-mute); }
.text-sm { font-size: var(--fs-sm); } .text-xs { font-size: var(--fs-xs); }
.text-center { text-align: center; } .text-right { text-align: right; }
.nowrap { white-space: nowrap; }
.hidden { display: none !important; }
.mt-0 { margin-top: 0 !important; } .mt-4 { margin-top: var(--sp-4); } .mt-6 { margin-top: var(--sp-6); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
