/* ═══════════════════════════════════════════════
   치트키 디자인 토큰 — Single Source of Truth
   정본: 피그마 Variables (Primitive/Semantic)
   규칙: 값 수정은 피그마 먼저 → 같은 날 이 파일 동기화
        → ds/index.html 변경 이력 기재
   생성: 2026-08-21 (ds/index.html :root에서 추출)
   ═══════════════════════════════════════════════ */
:root {
  --bg:#0E0E0E;
  --surface-1:#141414;
  --surface-2:#1A1A1A;
  --surface-3:#2F2F2F;
  --border-lo:#2F2F2F;
  --border:#444444;
  --border-hi:#9E9E9E;
  --text:#F5F7FA;
  --text-mid:#BDBDBD;
  --text-lo:#6E6E6E;
  --brand-black:#1A1A1A;
  --disabled:#444444;
  --neon-green:#55D909;
  --neon-green-hover:#66EA18;
  --neon-green-dim:#2D6B05;
  --neon-purple:#D64FFF;
  --neon-purple-dim:#8C1EB3;
  --text-on-accent:#0E0E0E;
  --color-critical:#FF1744;
  --color-warning:#FFD600;
  --color-positive:#00C853;
  --color-info:#00B0FF;
  --f-body:'Pretendard Variable',-apple-system,sans-serif;
  --f-display:'Paperlogy','Pretendard Variable',sans-serif;
  --sp-1:4px;
  --sp-2:8px;
  --sp-3:16px;
  --sp-4:24px;
  --sp-5:32px;
  --sp-6:40px;
  --sp-7:48px;
  --sp-8:64px;
  --sp-9:80px;
  --sp-10:96px;
  --sp-11:120px;
  --sp-12:160px;
  --topnav-h:72px;
  --frame:420px;
  --pad:20px;
  --chart-blue:#4A9EFF;
  --chart-orange:#FFB347;
  --r-xs:4px;
  --r-sm:8px;
  --r-card:12px;
  --r-md:16px;
  --r-lg:22px;
  --r-xl:28px;
  --r-2xl:32px;
  --r-3xl:40px;
  --r-full:9999px;
  --z-base:0;
  --z-raised:10;
  --z-overlay:50;
  --z-nav:100;
  --z-loader:9000;
  --z-cursor:9999;
  --dur-fast:0.2s;
  --dur-base:0.4s;
  --dur-reveal:0.85s;
  --dur-slow:1.1s;
  --easing:cubic-bezier(.2,.7,.2,1);
  --ease-spring:cubic-bezier(.16,1,.3,1);
  --ease-expo:cubic-bezier(0.87,0,0.13,1);
  --focus-ring:2px solid var(--neon-green);
  --focus-ring-offset:3px;
  --shadow-sm:0 2px 8px rgba(0,0,0,.35);
  --shadow-md:0 4px 16px rgba(0,0,0,.45);
}

/* ── 전역 인터랙션 규칙 (ds 원칙: 포커스 링 전역 적용) ── */
:focus-visible {
  outline: 2px solid var(--neon-green);
  outline-offset: 3px;
  border-radius: 2px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
