/* BRANDERRY design tokens — source: BRANDERRY-Visual-Pack/01-APP-DESIGN/design-system.md
   The app uses only the brief's palette. Derived values are tints of those colors;
   the single danger hue exists for destructive confirmation only. */
:root {
  /* Palette */
  --color-canvas: #F7F6F3;
  --color-surface: #FFFFFF;
  --color-text: #17191A;
  --color-text-secondary: #777A78;
  --color-border: #E7E5E0;
  --color-accent: #7C897B;
  --color-accent-soft: #EEF1EC;
  --color-action: #17191A;
  --color-action-text: #FFFFFF;

  /* Derived neutrals (alpha of primary text — no new hues) */
  --color-border-strong: #D8D5CE;
  --color-subtle: #F1EFEB;
  --color-hover: rgba(23, 25, 26, 0.04);
  --color-pressed: rgba(23, 25, 26, 0.07);
  --color-overlay: rgba(23, 25, 26, 0.36);
  --color-action-hover: #2B2E2F;
  --color-danger: #9B3D35;
  --color-danger-soft: #F7EDEB;

  /* Typography */
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-mark: "Cormorant Garamond", Georgia, serif; /* B monogram only */

  --text-2xs: 11px;
  --text-xs: 12px;
  --text-sm: 13px;
  --text-base: 14px;
  --text-md: 16px;
  --text-lg: 18px;
  --text-xl: 22px;
  --text-2xl: 28px;
  --text-display: 44px;

  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;

  --leading-tight: 1.15;
  --leading-snug: 1.35;
  --leading: 1.55;
  --tracking-display: -0.025em;
  --tracking-caps: 0.08em;

  /* 8px spacing scale */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 40px;
  --space-8: 48px;
  --space-9: 64px;

  /* Shape */
  --radius-sm: 6px;
  --radius: 8px;
  --radius-card: 12px;
  --radius-pill: 999px;

  /* Elevation — reserved for floating layers (menus, modals, toasts) */
  --shadow-pop: 0 12px 32px rgba(23, 25, 26, 0.10), 0 1px 3px rgba(23, 25, 26, 0.06);
  --shadow-page: 0 1px 2px rgba(23, 25, 26, 0.06), 0 8px 24px rgba(23, 25, 26, 0.06);

  /* Layout */
  --sidebar-w: 240px;
  --topbar-h: 64px;
  --content-max: 1180px;
  --content-pad: 40px;

  /* Interaction */
  --focus-ring: 0 0 0 3px rgba(124, 137, 123, 0.38);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur: 160ms;
}
