/* R런 신규 토큰 시트 v3 — DESIGN.md §14.2 확정판.
   팔레트 = content.html SoT 계승, 타이포 = v3(본문 18px, KPI 32w800), radius = 28/20/14/10/pill.
   레거시 --tm-*·--senior-*·--paper 오염 없음. !important 0.
*/
:root{
  /* Ink */
  --ink:#163438;
  --ink-soft:#5A6B66;
  --ink-faint:#8B958F;

  /* Surface */
  --bg:#F3F0E7;
  --card:#FDFCF8;
  --card-soft:#F7F4EA;

  /* Brand */
  --green:#2F5D45;
  --green-soft:#E4ECE2;
  --accent:#C2672F;
  --accent-soft:#F7E5D4;
  --orange-ink:#9E4808; /* --accent-soft(#F7E5D4) 위 5.06:1 실측. 구값 #b5530a 는 4.07:1 로 "5:1" 주석이 오기였음(2026-07-26 재측정) */

  /* Line */
  --line:#E5E0D0;
  --line-soft:#EFEAD9;

  /* State */
  --danger:#B3402E;
  --danger-soft:#F6E3DF;

  /* Radius v3 */
  --r-xl:28px;
  --r-lg:20px;
  --r-md:14px;
  --r-sm:10px;
  --r-pill:999px;

  /* Shadow — 1종 (남발 금지) */
  --sh:0 1px 2px rgba(22,52,56,.05), 0 8px 22px -12px rgba(22,52,56,.12);
  --sh-dock:0 10px 30px -10px rgba(22,52,56,.28);

  /* Motion */
  --ease:cubic-bezier(.22,.8,.32,1);
  --ease-spring:cubic-bezier(.3,1.26,.32,1);
  --ease-short:cubic-bezier(.22,.61,.36,1);
  --dur-in:280ms;
  --dur-hover:180ms;
  --dur-coach:360ms;

  /* Layout — safe-area 계산 SoT */
  --header-h:76px;
  --dock-h:64px;
  --dock-gap:14px;
  --page-inline:20px;
  --page-max:640px;

  /* Type v3 */
  --fs-display-l:40px; --fw-display-l:800; --lh-display-l:1.12;
  --fs-display-m:30px; --fw-display-m:800; --lh-display-m:1.18;
  --fs-h-l:24px;       --fw-h-l:800;       --lh-h-l:1.28;
  --fs-h-m:20px;       --fw-h-m:700;       --lh-h-m:1.32;
  --fs-body:18px;      --fw-body:500;      --lh-body:1.55;
  --fs-body-console:17px;
  --fs-sub:16px;       --fw-sub:500;       --lh-sub:1.5;
  --fs-label:15px;     --fw-label:600;     --lh-label:1.4;
  --fs-badge:13px;     --fw-badge:700;     --lh-badge:1.2;
  --fs-kpi:32px;       --fw-kpi:800;       --lh-kpi:1.15;
}

/* 실물리 감쇠 스프링 — linear() 지원 브라우저는 스프링 토큰을 실물리 곡선으로 승급(DESIGN.md 이징 어휘 3종 유지, 값만 교체) */
@supports (transition-timing-function: linear(0,1)) {
  :root{--ease-spring:linear(0,.262 6.9%,.687 14.8%,.924 20.8%,1.044 27%,1.077 32.6%,1.062 39.2%,1.026 47.3%,1.004 56.7%,.996 66.7%,.999 79.3%,1)}
}
