:root {
  color-scheme: light dark;
  --ink: #1d1712;
  --muted: #6b5f55;
  --status-muted: #5f5349;
  --paper: #f6f3ea;
  --surface: #fffefa;
  --card: #faf8f1;
  --visual-canvas: #f4eee3;
  --line: #d9d0c3;
  --line-dot: rgba(217, 208, 195, 0.55);
  /* 文字・文字を載せるボタンなどの UI 用。装飾には --brand-graphic を使う。 */
  --brand: #b44800;
  --brand-graphic: #E86000;
  --brand-hover: #8f3800;
  --accent-soft: #fbe9dc;
  --header-bg: rgba(246, 243, 234, 0.9);
  --footer-bg: #1d1712;
  --footer-ink: #f6f3ea;
  --footer-muted: #c2b8ab;
  --footer-divider: rgba(246, 243, 234, 0.2);
  --fs-label: 0.875rem;
  --fs-small: 0.9375rem;
  --fs-body: 1.0625rem;
  --fs-heading-sm: 1.32rem;
  --fs-display: clamp(2.4rem, 6vw, 5rem);
  --fs-section: clamp(2rem, 5vw, 4.25rem);
  --tap-min: 2.75rem;
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --shadow-sm: 0 1px 3px rgba(29, 23, 18, 0.12);
  /* 本文・見出し(日本語)= Noto Sans JP、英字の見出し・eyebrow・ワードマーク等の
     英語だけの要素 = Inter。差し替えはこの2行とフォントファイルの入れ替えだけで済む。 */
  --font-jp: "Noto Sans JP", "Inter", system-ui, -apple-system, "Segoe UI", "Hiragino Sans", sans-serif;
  --font-en: "Inter", "Noto Sans JP", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-family: var(--font-jp);
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f0eae2;
    --muted: #b6ada2;
    --status-muted: #b6ada2;
    --paper: #171310;
    --surface: #201a14;
    --card: #241d16;
    --visual-canvas: #241c15;
    --line: #3a2f26;
    --line-dot: rgba(58, 47, 38, 0.55);
    --brand: #ff8a33;
    --brand-graphic: #ff8a33;
    --brand-hover: #ffab5c;
    --accent-soft: #472a12;
    --header-bg: rgba(23, 19, 16, 0.9);
    --footer-bg: #0f0b08;
    --footer-ink: #f0eae2;
    --footer-muted: #a89e92;
    --footer-divider: rgba(246, 243, 234, 0.2);
  }
}

:root[data-theme="light"],
[data-theme="light"] {
  color-scheme: light;
  --ink: #1d1712;
  --muted: #6b5f55;
  --status-muted: #5f5349;
  --paper: #f6f3ea;
  --surface: #fffefa;
  --card: #faf8f1;
  --visual-canvas: #f4eee3;
  --line: #d9d0c3;
  --line-dot: rgba(217, 208, 195, 0.55);
  /* 文字・文字を載せるボタンなどの UI 用。装飾には --brand-graphic を使う。 */
  --brand: #b44800;
  --brand-graphic: #E86000;
  --brand-hover: #8f3800;
  --accent-soft: #fbe9dc;
  --header-bg: rgba(246, 243, 234, 0.9);
  --footer-bg: #1d1712;
  --footer-ink: #f6f3ea;
  --footer-muted: #c2b8ab;
  --footer-divider: rgba(246, 243, 234, 0.2);
  --fs-label: 0.875rem;
  --fs-small: 0.9375rem;
  --tap-min: 2.75rem;
}

:root[data-theme="dark"],
[data-theme="dark"] {
  color-scheme: dark;
  --ink: #f0eae2;
  --muted: #b6ada2;
  --status-muted: #b6ada2;
  --paper: #171310;
  --surface: #201a14;
  --card: #241d16;
  --visual-canvas: #241c15;
  --line: #3a2f26;
  --line-dot: rgba(58, 47, 38, 0.55);
  --brand: #ff8a33;
  --brand-graphic: #ff8a33;
  --brand-hover: #ffab5c;
  --accent-soft: #472a12;
  --header-bg: rgba(23, 19, 16, 0.9);
  --footer-bg: #0f0b08;
  --footer-ink: #f0eae2;
  --footer-muted: #a89e92;
  --footer-divider: rgba(246, 243, 234, 0.2);
}
