:root {
  --color-bg:           #F5F1E8;
  --color-bg-alt:       #EEE8DA;
  --color-surface:      #FFFFFF;
  --color-ink:          #1C1B18;
  --color-ink-muted:    #6E6659;
  --color-primary:      #22201C;
  --color-primary-dark: #17150F;
  --color-on-primary:   var(--color-surface);
  --color-accent:       #8FA24E;
  --color-accent-deep:  #5A6B2A;
  --color-border:       #8A806C;
  --color-error:        #9C3B2E;
  --color-cta:            var(--color-accent-deep);
  --color-border-strong:  var(--color-accent-deep);

  --font-heading: "Zen Old Mincho", "游明朝", "Hiragino Mincho ProN", serif;
  --font-body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;

  --fs-2xs:  0.8125rem;
  --fs-xs:   0.875rem;
  --fs-sm:   0.9375rem;
  --fs-body: 1rem;
  --fs-lead: clamp(1.0625rem, 1.02rem + 0.2vw, 1.125rem);
  --fs-h3:   clamp(1.125rem, 1.05rem + 0.4vw, 1.25rem);
  --fs-h2:   clamp(1.375rem, 1.2rem + 1vw, 1.75rem);
  --fs-h1:   clamp(1.75rem, 1.35rem + 2vw, 2.5rem);

  --lh-tight:   1.3;
  --lh-heading: 1.5;
  --lh-body:    1.8;

  --ls-heading: 0.04em;
  --ls-body:    0.02em;

  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.5rem;
  --space-6:  2rem;
  --space-7:  3rem;
  --space-8:  4rem;
  --space-9:  6rem;
  --space-10: 8rem;

  --container-max: 1120px;

  --shadow-color-rgb: 28, 27, 24;
  --shadow-sm: 0 1px 2px rgba(var(--shadow-color-rgb), 0.08);
  --shadow-md: 0 4px 12px rgba(var(--shadow-color-rgb), 0.12);
  --shadow-lg: 0 12px 32px rgba(var(--shadow-color-rgb), 0.18);

  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   16px;
  --radius-pill: 999px;

  --tap-min: 44px;

  --focus-ring-width:  3px;
  --focus-ring-offset: 2px;

  --duration-fast:   150ms;
  --duration-medium: 300ms;
  --duration-slow:   600ms;
  --stagger-step:    80ms;
  --stagger-max:     400ms;
  --ease-standard: cubic-bezier(0.22, 1, 0.36, 1);

  --z-sticky-cta:   30;
  --z-nav-menu:     40;
  --z-header:       50;
  --z-demo-banner:  60;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
