/* CSS Variables and Base Styles for Waymark Note */

:root {
  /* Color Palette */
  --color-primary: #004077;
  --color-secondary: #0099cc;
  --color-teal: #0abfa3;
  --color-blue-m: #25478b;
  --color-accent: #fff000;
  --color-accent-b: #c6eef9;
  --color-warm_s: #b7942b;
  --color-warm: #2b5faf;
  --color-warm-light: #c9b573;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-bg: #f8f9fa;
  --color-white: #ffffff;
  --color-border: #e0e0e0;
  --color-info: #f0f7fd;
  --color-summary: #c6eef9;
  --color-hover-bg: #fff000;
  --color-hover-text: #004077;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #004077 0%, #2d5a8f 100%);
  --gradient-secondary: linear-gradient(135deg, #0099cc 0%, #00b4e6 100%);

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-xxl: 4rem;

  /* Typography */
  --font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 2rem;
  --font-size-4xl: 2.5rem;
  --font-size-5xl: 3rem;

  /* Line Heights — Elemental UI style (tighter, functional) */
  --line-height-tight: 1.2;
  --line-height-base: 1.4;
  --line-height-relaxed: 1.6;
  --line-height-max: 1.8;

  /* Border Radius — Elemental UI style (compact, functional) */
  --radius-sm: 0.125rem;
  --radius-md: 0.3rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.5rem;
  --radius-full: 9999px;

  /* Shadows — flat, border-first approach */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 1px 4px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 4px 16px rgba(0, 0, 0, 0.12);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;

  /* Layout */
  --container-max-width: 1200px;
  --container-padding: 1rem;
  --header-height: 80px;

  /* Z-index */
  --z-index-dropdown: 100;
  --z-index-sticky: 200;
  --z-index-fixed: 300;
  --z-index-modal: 400;
  --z-index-popover: 500;
}

/* Media Query Breakpoints */
@custom-media --screen-sm (min-width: 640px);
@custom-media --screen-md (min-width: 768px);
@custom-media --screen-lg (min-width: 1024px);
@custom-media --screen-xl (min-width: 1280px);
