/* 공통 토큰·글꼴·시연대 바탕. 색의 뜻은 DESIGN.md — 파랑 = 적용된 상태, 주황 = AI에게 하는 말 */
:root {
  --ink: #191f28;
  --sub: #6b7684;      /* 본문 크기 보조 글자 */
  --sub-s: #8b95a1;    /* 작은 글자만 */
  --line: #e5e5e5;
  --line-s: #f0f0f0;
  --blue: #3182f6;
  --blue-d: #1b64da;
  --blue-l: #e8f3ff;
  --orange: #f76707;
  --orange-d: #c2410c;
  --orange-l: #fff4e6;
  --dark: #07090d;
  --d-text: #ffffff;
  --d-mute: #a39e9b;
  --d-meta: #8a8a8a;
  --d-line: rgba(255, 255, 255, .12);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --serif: "Bodoni Moda", "Didot", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.6; word-break: keep-all; overflow-wrap: break-word; }
h1, h2, h3, p, dl, dd, ul { margin: 0; }
p, dd, li, h1, h2 { text-wrap: pretty; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
.en { font-family: var(--serif); font-style: italic; font-weight: 400; }

.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; padding: 8px 14px; background: #fff; color: var(--ink); border-radius: 6px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

/* 시연대: 용어 CSS는 .stage.t-<id>[data-s] 아래에서만 움직인다. cqi 단위는 이 상자 폭 기준 */
.stage { position: relative; overflow: hidden; background: #fff; color: var(--ink); container-type: inline-size; font-family: var(--sans); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; animation-iteration-count: 1 !important; }
}
