/* tokens.css — 소담 앱 디자인 토큰
   원본: 피그마 변수 (파일 YMkYZlTEFz8K2gLcDaFqTM, 2026-11-16 읽음)
   이름 규칙: 피그마 변수 이름을 소문자로, '/'와 공백은 '-'로. 예) Text/Title-Neutral-900 → --text-title-neutral-900
   HTML 단계에서 값을 바꾸면 FIGMA-SYNC.md '정리 대기'에 한 줄 적는다. */

:root {
  /* 02-Color · 기본 단계 */
  --base-white: #ffffff;
  --base-black: #000000;
  --primary-50: #fff3eb;
  --primary-100: #ffe2cf;
  --primary-200: #ffc5a1;
  --primary-300: #fca572;
  --primary-400: #fc8544;
  --primary-500: #fc6418;
  --primary-600: #db541a;
  --primary-700: #b84116;
  --primary-800: #943212;
  --primary-900: #6e250e;
  --primary-950: #471609;
  --primary-base: var(--primary-500);
  --neutral-50: #faf7f4;
  --neutral-100: #f3eee9;
  --neutral-200: #e7e0d9;
  --neutral-300: #d6ccc3;
  --neutral-400: #b8ada2;
  --neutral-500: #978b7f;
  --neutral-600: #756a5f;
  --neutral-700: #574e45;
  --neutral-800: #3a342e;
  --neutral-900: #221e1a;
  --neutral-950: #14110e;
  --neutral-base: var(--neutral-500);
  --secondary-50: #edfaf8;
  --secondary-100: #d8f0ec;
  --secondary-200: #b6ded8;
  --secondary-300: #87c4bc;
  --secondary-400: #6fa69f;
  --secondary-500: #5c8a84;
  --secondary-600: #4c7571;
  --secondary-700: #3d615e;
  --secondary-800: #304c4b;
  --secondary-900: #243837;
  --secondary-950: #162423;
  --secondary-base: var(--secondary-500);
  --positive-50: #e3fcf1;
  --positive-100: #c8fae3;
  --positive-200: #9ef0ca;
  --positive-300: #76dbac;
  --positive-400: #5bbd8f;
  --positive-500: #4f9e79;
  --positive-600: #408564;
  --positive-700: #316b50;
  --positive-800: #27523e;
  --positive-900: #1c382b;
  --positive-950: #11241b;
  --positive-base: var(--positive-500);
  --negative-50: #fcebe8;
  --negative-100: #fad7d2;
  --negative-200: #f5b5ab;
  --negative-300: #e68e81;
  --negative-400: #d16858;
  --negative-500: #c25646;
  --negative-600: #a84839;
  --negative-700: #8c3c30;
  --negative-800: #6e3127;
  --negative-900: #4c231d;
  --negative-950: #2e1612;
  --negative-base: var(--negative-500);
  --warning-95: #fff5e0;
  --warning-100: #ffecc7;
  --warning-200: #fcd992;
  --warning-300: #f5c462;
  --warning-400: #e6aa32;
  --warning-500: #d19419;
  --warning-600: #ad7911;
  --warning-700: #8c610b;
  --warning-800: #6b4c0d;
  --warning-900: #4a350c;
  --warning-950: #2e2108;
  --warning-base: var(--warning-500);
  --info-50: #e3effc;
  --info-100: #c8dffa;
  --info-200: #aacbf2;
  --info-300: #8ab1de;
  --info-400: #6d94c2;
  --info-500: #5579a3;
  --info-600: #45658a;
  --info-700: #385270;
  --info-800: #2d4157;
  --info-900: #212e3d;
  --info-950: #151d26;
  --info-base: var(--info-500);

  /* 02-Color · 쓰임새 이름 (화면에는 이것을 쓴다) */
  --text-title-neutral-900: var(--neutral-900);
  --text-body-neutral-700: var(--neutral-700);
  --text-body-neutral-600: var(--neutral-600);
  --text-caption-neutral-400: var(--neutral-400);
  --background-neutral-50: var(--neutral-50);
  --background-neutral-100: var(--neutral-100);
  --background-primary-50: var(--primary-50);
  --background-primary-100: var(--primary-100);
  --stroke-neutral-100: var(--neutral-100);
  --stroke-neutral-200: var(--neutral-200);
  --stroke-neutral-400: var(--neutral-400);
  --stroke-neutral-600: var(--neutral-600);
  --stroke-primary-200: var(--primary-200);
  --stroke-negative-200: var(--negative-200);
  --background-dimed-5: rgba(13, 13, 12, 0.2); /* 피그마 #0d0d0c33 */

  /* 01-UI · MO 모드 값 (앱) */
  --space-s-3xl: 48px;
  --space-s-2xl: 32px;
  --space-s-xl: 24px;
  --space-s-l: 20px;
  --space-s-m: 18px;
  --space-s-s: 16px;
  --space-s-xs: 12px;
  --space-s-2xs: 8px;
  --space-s-3xs: 4px;
  --radius-r-xl: 32px;
  --radius-r-l: 24px;
  --radius-r-m: 16px;
  --radius-r-s: 8px;
  --ui-size-gutter: 12px;
  --ui-size-margin: 20px;
  --ui-size-screen-size: 393px;
  --ui-size-contents-size: 360px;

  /* 03-Typography · MO 모드 값 */
  --font-font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
  --font-system: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', sans-serif; /* iOS 상태 표시줄 */
  --display-ds-1: 40px;
  --display-ds-2: 36px;
  --heading-hd-1: 32px;
  --heading-hd-2: 28px;
  --title-tt-1: 24px;
  --title-tt-2: 20px;
  --title-tt-3: 18px;
  --subtitle-st-1: 20px;
  --subtitle-st-2: 18px;
  --subtitle-st-3: 16px;
  --body-bd-1: 18px;
  --body-bd-2: 16px;
  --body-bd-3: 14px;
  --label-lb-1: 20px;
  --label-lb-2: 18px;
  --label-lb-3: 16px;
  --label-lb-4: 14px;
  --label-lb-5: 12px;
  --weight-extrabold: 800;
  --weight-bold: 700;
  --weight-semibold: 600;
  --weight-medium: 500;
  --weight-regular: 400;

  /* 그림자 (피그마 효과 값, 변수 아님) */
  --shadow-float: 0 4px 20px -8px rgba(184, 173, 162, 0.2);

  /* 움직임 (HTML에서 정함 — 피그마에는 주석으로 옮긴다) */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);   /* 들어올 때 */
  --ease-in: cubic-bezier(0.55, 0, 1, 0.45);    /* 나갈 때 */
  --ease-move: cubic-bezier(0.65, 0, 0.35, 1);  /* 보이는 채로 바뀔 때 */
  --dur-fast: 160ms;
  --dur-base: 240ms;
  --dur-sheet: 420ms;
}

/* 글자 스타일 — 피그마 글자 스타일 이름 그대로. 큰 단계는 앱 크기(괄호 안)를 이름에 쓴다.
   예) TT-2/40(20)-SB → .tt-2-20-sb   ·  BD-3/14-RG → .bd-3-14-rg */
.ds-1-40-bd { font-family: var(--font-font-family); font-size: var(--display-ds-1); font-weight: var(--weight-bold); line-height: 1.4; letter-spacing: -0.03em; }
.ds-2-36-bd { font-family: var(--font-font-family); font-size: var(--display-ds-2); font-weight: var(--weight-bold); line-height: 1.4; letter-spacing: -0.03em; }
.hd-1-32-bd { font-family: var(--font-font-family); font-size: var(--heading-hd-1); font-weight: var(--weight-bold); line-height: 1.4; letter-spacing: -0.03em; }
.hd-2-28-bd { font-family: var(--font-font-family); font-size: var(--heading-hd-2); font-weight: var(--weight-bold); line-height: 1.5; letter-spacing: -0.03em; }
.tt-1-24-bd { font-family: var(--font-font-family); font-size: var(--title-tt-1); font-weight: var(--weight-bold); line-height: 1.5; letter-spacing: -0.025em; }
.tt-2-20-bd { font-family: var(--font-font-family); font-size: var(--title-tt-2); font-weight: var(--weight-bold); line-height: 1.5; letter-spacing: -0.025em; }
.tt-2-20-sb { font-family: var(--font-font-family); font-size: var(--title-tt-2); font-weight: var(--weight-semibold); line-height: 1.5; letter-spacing: -0.025em; }
.tt-3-18-bd { font-family: var(--font-font-family); font-size: var(--title-tt-3); font-weight: var(--weight-bold); line-height: 1.5; letter-spacing: -0.025em; }
.tt-3-18-sb { font-family: var(--font-font-family); font-size: var(--title-tt-3); font-weight: var(--weight-semibold); line-height: 1.5; letter-spacing: -0.025em; }
.st-1-20-sb { font-family: var(--font-font-family); font-size: var(--subtitle-st-1); font-weight: var(--weight-semibold); line-height: 1.5; letter-spacing: -0.02em; }
.st-2-18-sb { font-family: var(--font-font-family); font-size: var(--subtitle-st-2); font-weight: var(--weight-semibold); line-height: 1.5; letter-spacing: -0.02em; }
.st-3-16-sb { font-family: var(--font-font-family); font-size: var(--subtitle-st-3); font-weight: var(--weight-semibold); line-height: 1.5; letter-spacing: -0.02em; }
.lb-1-20-bd { font-family: var(--font-font-family); font-size: var(--label-lb-1); font-weight: var(--weight-bold); line-height: 20px; letter-spacing: 0; }
.lb-1-20-sb { font-family: var(--font-font-family); font-size: var(--label-lb-1); font-weight: var(--weight-semibold); line-height: 20px; letter-spacing: 0; }
.lb-2-18-bd { font-family: var(--font-font-family); font-size: var(--label-lb-2); font-weight: var(--weight-bold); line-height: 20px; letter-spacing: 0; }
.lb-2-18-sb { font-family: var(--font-font-family); font-size: var(--label-lb-2); font-weight: var(--weight-semibold); line-height: 20px; letter-spacing: 0; }
.lb-3-16-bd { font-family: var(--font-font-family); font-size: var(--label-lb-3); font-weight: var(--weight-bold); line-height: 20px; letter-spacing: 0; }
.lb-3-16-sb { font-family: var(--font-font-family); font-size: var(--label-lb-3); font-weight: var(--weight-semibold); line-height: 20px; letter-spacing: 0; }
.lb-3-16-rg { font-family: var(--font-font-family); font-size: var(--label-lb-3); font-weight: var(--weight-regular); line-height: 20px; letter-spacing: 0; }
.lb-4-14-bd { font-family: var(--font-font-family); font-size: var(--label-lb-4); font-weight: var(--weight-bold); line-height: 18px; letter-spacing: 0; }
.lb-4-14-sb { font-family: var(--font-font-family); font-size: var(--label-lb-4); font-weight: var(--weight-semibold); line-height: 18px; letter-spacing: 0; }
.lb-4-14-rg { font-family: var(--font-font-family); font-size: var(--label-lb-4); font-weight: var(--weight-regular); line-height: 18px; letter-spacing: 0; }
.lb-5-12-bd { font-family: var(--font-font-family); font-size: var(--label-lb-5); font-weight: var(--weight-bold); line-height: 18px; letter-spacing: 0; }
.lb-5-12-md { font-family: var(--font-font-family); font-size: var(--label-lb-5); font-weight: var(--weight-medium); line-height: 18px; letter-spacing: 0; }
.lb-5-12-rg { font-family: var(--font-font-family); font-size: var(--label-lb-5); font-weight: var(--weight-regular); line-height: 18px; letter-spacing: 0; }
.bd-1-18-bd { font-family: var(--font-font-family); font-size: var(--body-bd-1); font-weight: var(--weight-bold); line-height: 1.5; letter-spacing: 0.005em; }
.bd-1-18-sb { font-family: var(--font-font-family); font-size: var(--body-bd-1); font-weight: var(--weight-semibold); line-height: 1.5; letter-spacing: 0.005em; }
.bd-1-18-md { font-family: var(--font-font-family); font-size: var(--body-bd-1); font-weight: var(--weight-medium); line-height: 1.5; letter-spacing: 0.005em; }
.bd-1-18-rg { font-family: var(--font-font-family); font-size: var(--body-bd-1); font-weight: var(--weight-regular); line-height: 1.5; letter-spacing: 0.005em; }
.bd-2-16-bd { font-family: var(--font-font-family); font-size: var(--body-bd-2); font-weight: var(--weight-bold); line-height: 1.5; letter-spacing: 0.005em; }
.bd-2-16-sb { font-family: var(--font-font-family); font-size: var(--body-bd-2); font-weight: var(--weight-semibold); line-height: 1.5; letter-spacing: 0.005em; }
.bd-2-16-md { font-family: var(--font-font-family); font-size: var(--body-bd-2); font-weight: var(--weight-medium); line-height: 1.5; letter-spacing: 0.005em; }
.bd-2-16-rg { font-family: var(--font-font-family); font-size: var(--body-bd-2); font-weight: var(--weight-regular); line-height: 1.5; letter-spacing: 0.005em; }
.bd-3-14-bd { font-family: var(--font-font-family); font-size: var(--body-bd-3); font-weight: var(--weight-bold); line-height: 1.5; letter-spacing: 0.005em; }
.bd-3-14-sb { font-family: var(--font-font-family); font-size: var(--body-bd-3); font-weight: var(--weight-semibold); line-height: 1.5; letter-spacing: 0.005em; }
.bd-3-14-md { font-family: var(--font-font-family); font-size: var(--body-bd-3); font-weight: var(--weight-medium); line-height: 1.5; letter-spacing: 0.005em; }
.bd-3-14-rg { font-family: var(--font-font-family); font-size: var(--body-bd-3); font-weight: var(--weight-regular); line-height: 1.5; letter-spacing: 0.005em; }
