:root {
  --bg: #0b1220;
  --fg: #f4f7fb;
  --muted: #c5d0e0;
  --accent: #ffd166;
  --accent-text: #1a1200;
  --border: #3a4a66;
  --focus: #7dd3fc;
  --btn: #f4f7fb;
  --btn-bg: #1d4ed8;
  --btn2-bg: #334155;
}
* { box-sizing: border-box; }
html { font-size: 120%; }
body {
  margin: 0;
  font-family: "Noto Sans KR", "Malgun Gothic", sans-serif;
  line-height: 1.7;
  background: var(--bg);
  color: var(--fg);
  padding: 1.25rem;
  max-width: 42rem;
  margin-inline: auto;
}
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--accent-text);
  padding: .75rem 1rem;
  z-index: 10;
}
.skip:focus { left: 1rem; top: 1rem; }
a { color: var(--accent); }
a:focus, button:focus, .btn:focus {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
header { margin-bottom: 2rem; border-bottom: 2px solid var(--border); padding-bottom: 1rem; }
.site-label { color: var(--muted); margin: 0 0 .5rem; }
h1, h2 { line-height: 1.3; }
h1 { font-size: 1.8rem; margin: 0 0 .75rem; }
h2 { font-size: 1.35rem; margin-top: 2rem; }
.lead { font-size: 1.05rem; color: var(--muted); }
.btn {
  display: inline-block;
  min-height: 3.25rem;
  padding: .9rem 1.25rem;
  background: var(--btn-bg);
  color: var(--btn) !important;
  text-decoration: none;
  font-weight: 700;
  border-radius: .5rem;
  border: 2px solid transparent;
  margin: .4rem .4rem .4rem 0;
}
.btn.secondary { background: var(--btn2-bg); }
.btn:hover { filter: brightness(1.08); }
.note, .muted { color: var(--muted); }
code { word-break: break-all; background: #111827; padding: .1rem .3rem; border-radius: .25rem; }
ul, ol { padding-left: 1.4rem; }
li { margin: .4rem 0; }
footer { margin-top: 3rem; border-top: 1px solid var(--border); padding-top: 1rem; color: var(--muted); }
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
