/* 디자인 토큰 (taupe brand) — terms/privacy/consent 공용.
   index.html 은 동일 토큰을 자체 인라인(above-the-fold 렌더블로킹 회피). 변경 시 양쪽 동기화. */
:root{
  /* Brand taupe scale */
  --taupe-700:#534639; --taupe-600:#6B5C4D; --taupe-500:#8A7B67;
  --taupe-400:#A89684; --taupe-300:#C8BAA9; --taupe-200:#E4DBCF;
  --taupe-100:#F1EBE2; --taupe-50:#F8F4ED;
  /* Warm ink / neutral scale */
  --ink-900:#211E19; --ink-800:#2E2A24; --ink-700:#463F36; --ink-600:#6A6155;
  --ink-500:#8C8276; --ink-400:#B3A99D; --ink-300:#D5CDC2; --ink-200:#E8E2D9;
  --ink-100:#F3EFE9; --paper:#FBF9F5; --white:#FFFFFF;
  /* Semantic accents (muted) */
  --success-600:#2F7A57; --success-500:#3C8E68; --success-50:#E9F3ED;
  --danger-600:#B0473A; --danger-500:#C25A4C; --danger-50:#FBEDEA;
  --warning-600:#A9772B; --warning-50:#F8F0DF; --info-600:#3C6585; --info-50:#EAF1F6;
  /* Semantic aliases */
  --brand:var(--taupe-500); --brand-strong:var(--taupe-600); --brand-soft:var(--taupe-100);
  --text-strong:var(--ink-900); --text-body:var(--ink-800); --text-muted:var(--ink-600);
  --text-subtle:var(--ink-500); --text-brand:var(--taupe-600); --text-on-brand:var(--white);
  --text-on-dark:#F4F1EC;
  --surface-page:var(--paper); --surface-card:var(--white); --surface-subtle:var(--taupe-50);
  --surface-sunken:var(--taupe-100); --surface-dark:var(--ink-900);
  --border-default:var(--ink-200); --border-strong:var(--ink-300);
  --border-brand:var(--taupe-300); --border-focus:var(--taupe-500);
  /* Primary action = deep warm ink */
  --action-bg:var(--ink-900); --action-bg-hover:#312C25; --action-bg-active:#15120E; --action-fg:#F6F3EE;
  /* Brand/secondary action */
  --action-brand-bg:var(--taupe-500); --action-brand-bg-hover:var(--taupe-600); --action-brand-fg:var(--white);
  --focus-ring:0 0 0 3px rgba(138,120,102,.35);

  /* Typography */
  --font-sans:"Pretendard","Pretendard Variable",-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Malgun Gothic",system-ui,sans-serif;
  --font-serif:"Noto Serif KR","Nanum Myeongjo",Georgia,serif;
  --font-mono:ui-monospace,"SFMono-Regular","Menlo","Consolas",monospace;
  --fs-display:2.75rem; --fs-h1:2rem; --fs-h2:1.5rem; --fs-h3:1.25rem;
  --fs-lg:1.125rem; --fs-body:1rem; --fs-sm:.875rem; --fs-xs:.75rem;
  --lh-tight:1.2; --lh-snug:1.4; --lh-normal:1.6;
  --fw-regular:400; --fw-medium:500; --fw-semibold:600; --fw-bold:700;
  --ls-tight:-.02em; --ls-normal:-.01em; --ls-wide:.04em;

  /* Spacing / radii / sizing */
  --space-1:4px; --space-2:8px; --space-3:12px; --space-4:16px; --space-5:20px;
  --space-6:24px; --space-8:32px; --space-10:40px; --space-12:48px; --space-16:64px;
  --space-20:80px; --space-24:96px;
  --radius-sm:6px; --radius-md:10px; --radius-lg:14px; --radius-xl:20px; --radius-pill:999px;
  --control-h:52px; --control-h-sm:44px; --container:1180px; --field-max:460px;

  /* Elevation */
  --shadow-xs:0 1px 2px rgba(33,30,25,.06);
  --shadow-sm:0 1px 3px rgba(33,30,25,.08),0 1px 2px rgba(33,30,25,.04);
  --shadow-md:0 6px 16px rgba(33,30,25,.08),0 2px 4px rgba(33,30,25,.05);
  --shadow-lg:0 18px 40px rgba(33,30,25,.12),0 6px 12px rgba(33,30,25,.06);
  --shadow-card:0 12px 32px rgba(45,38,30,.10),0 1px 0 rgba(255,255,255,.6) inset;
  --ring-brand:0 0 0 3px rgba(138,120,102,.30);
  --ring-danger:0 0 0 3px rgba(176,71,58,.22);
}

/* iframe/모달 임베드 모드 — 헤더·푸터 숨김(문서 본문만 표시) */
html.embed header, html.embed footer{display:none !important;}
html.embed main{padding-top:var(--space-6) !important;}
/* 모달 안에선 문서 자체의 '동의 예시/신청페이지 안내'를 숨김 — 동의 수단은 모달 버튼 하나로 */
html.embed .agree-row, html.embed .agree-note{display:none !important;}
