/* =================================================================
   SamuraiON Payment — Design Tokens
   design-system/tokens.css v1.0.0 の複製（静的配信のためリポジトリ外
   から import できない）。正本が更新されたらこのファイルへ同期する。
   カラーコードの直書きはこのファイル内のみ許可。他は var(--token) 経由。
   ================================================================= */

:root {
  /* ─── 背景 ─── */
  --bg-primary: #FFFAF5;
  --bg-secondary: #FFFFFF;
  --bg-tertiary: #FFF5EB;
  --bg-elevated: #FFF0E0;
  --bg-page: #FEF8F2;

  /* ─── ブランドカラー（オレンジ） ─── */
  --brand-primary: #FF8C00;
  --brand-secondary: #E67300;
  --brand-tertiary: #CC6600;
  --brand-light: #FF9F33;
  --brand-subtle: #FFF3E0;
  --brand-surface: #FFF8F0;

  /* ─── テキスト ─── */
  --text-primary: #1A1A1A;
  --text-secondary: #666666;
  --text-tertiary: #999999;
  --text-inverse: #FFFFFF;

  /* ─── ボーダー ─── */
  --border-primary: #F0E6D9;
  --border-secondary: #E8DDD0;
  --border-focus: #FF8C00;

  /* ─── セマンティック ─── */
  --success: #16A34A;
  --success-bg: #F0FDF4;
  --warning: #D97706;
  --warning-bg: #FFFBEB;
  --error: #DC2626;
  --error-bg: #FEF2F2;
  --info: #2563EB;
  --info-bg: #EFF6FF;

  /* ─── シャドウ ─── */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 0 20px rgba(255, 140, 0, 0.12);

  /* ─── タイポグラフィ ─── */
  --font-display: 'Noto Sans JP', 'Inter', sans-serif;
  --font-body: 'Noto Sans JP', 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* ─── スペーシング ─── */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 12px;
  --space-lg: 16px;
  --space-xl: 24px;
  --space-2xl: 32px;
  --space-3xl: 48px;
  --space-4xl: 64px;

  /* ─── 角丸 ─── */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* ─── トランジション ─── */
  --transition-fast: 150ms ease;
  --transition-normal: 250ms ease;
  --transition-slow: 400ms ease;
}

html,
body {
  background: var(--bg-page);
  color: var(--text-primary);
  font-family: var(--font-body);
}
