@font-face {
  font-family: "Noto Sans";
  src: url("../fonts/NotoSans-VariableFont_wdth%2Cwght.ttf") format("truetype-variations"),
       url("../fonts/NotoSans-VariableFont_wdth%2Cwght.ttf") format("truetype");
  font-weight: 100 900;
  font-stretch: 62.5% 100%;
  font-style: normal;
  font-display: swap;
}

:root {
  --primary-rgb: 115, 93, 255;
  --secondary-rgb: 255, 90, 41;
  --warning-rgb: 255, 154, 19;
  --info-rgb: 12, 156, 252;
  --success-rgb: 12, 199, 99;
  --danger-rgb: 255, 56, 60;
  --light-rgb: 247, 248, 250;
  --dark-rgb: 10, 10, 10;
  --body-bg-rgb: 245, 246, 250;

  --primary: rgb(var(--primary-rgb));
  --primary-hover: rgb(101, 79, 245);
  --primary-active: rgb(86, 66, 215);
  --primary-01: rgba(var(--primary-rgb), 0.10);
  --primary-02: rgba(var(--primary-rgb), 0.20);
  --primary-05: rgba(var(--primary-rgb), 0.50);
  --primary-soft: rgba(var(--primary-rgb), 0.10);
  --primary-contrast: #ffffff;

  --secondary: rgb(var(--secondary-rgb));
  --warning: rgb(var(--warning-rgb));
  --info: rgb(var(--info-rgb));
  --success: rgb(var(--success-rgb));
  --danger: rgb(var(--danger-rgb));

  --bg: rgb(var(--body-bg-rgb));
  --surface: #ffffff;
  --surface-2: #f9fafb;
  --surface-hover: #f5f6f7;
  --text: #222f36;
  --text-muted: #98a5c3;
  --text-subtle: #b4bcd2;
  --text-on-primary: #ffffff;
  --border: #f3f2f9;
  --border-strong: #e2e6f1;
  --input-border: #e2e6f1;
  --input-bg: #ffffff;
  --focus-ring: rgba(var(--primary-rgb), 0.35);

  --menu-bg: #ffffff;
  --menu-text: #657a99;
  --menu-text-active: var(--primary);
  --menu-border: #f3f2f9;
  --menu-section: #657a99;
  --menu-section-opacity: 0.5;
  --submenu-rail: rgba(0, 0, 0, 0.05);
  --header-bg: #ffffff;
  --header-text: #657a99;
  --header-border: #f3f2f9;

  --space-0: 0;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;

  --font-sans: "Noto Sans", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  --fs-xs: 0.6875rem;
  --fs-sm: 0.75rem;
  --fs-base: 0.85rem;
  --fs-md: 0.9375rem;
  --fs-lg: 1rem;
  --fs-xl: 1.125rem;
  --fs-2xl: 1.375rem;
  --fs-3xl: 1.75rem;
  --lh-tight: 1.25;
  --lh-normal: 1.5;
  --lh-loose: 1.75;
  --fw-normal: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  --radius-sm: 0.1875rem;
  --radius-md: 0.25rem;
  --radius-lg: 0.375rem;
  --radius-xl: 0.5rem;
  --radius-pill: 50rem;
  --radius-full: 9999px;

  --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.05);
  --shadow-md: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 1rem 3rem rgba(0, 0, 0, 0.12);

  --z-dropdown: 100;
  --z-sticky: 200;
  --z-overlay: 800;
  --z-modal: 900;
  --z-toast: 1000;

  --duration-fast: 120ms;
  --duration-base: 200ms;
  --duration-slow: 320ms;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --header-height: 4.25rem;
  --sidebar-width: 15rem;
  --sidebar-width-collapsed: 4rem;
  --brand-logo-height: 1.5rem;
  --content-max: 80rem;

  color-scheme: light;
}

:root[data-theme-mode="dark"] {
  --body-bg-rgb: 35, 34, 38;
  --light-rgb: 46, 45, 50;
  --dark-rgb: 240, 245, 248;

  --bg: rgb(25, 24, 26);
  --surface: rgb(var(--body-bg-rgb));
  --surface-2: rgb(25, 24, 26);
  --surface-hover: rgba(255, 255, 255, 0.06);
  --text: rgba(255, 255, 255, 0.8);
  --text-muted: rgba(255, 255, 255, 0.5);
  --text-subtle: rgba(255, 255, 255, 0.35);
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.10);
  --input-border: rgba(255, 255, 255, 0.10);
  --input-bg: rgb(var(--body-bg-rgb));

  --menu-bg: rgb(var(--body-bg-rgb));
  --menu-text: rgba(255, 255, 255, 0.4);
  --menu-border: rgba(255, 255, 255, 0.1);
  --menu-section: rgba(255, 255, 255, 0.5);
  --menu-section-opacity: 1;
  --submenu-rail: rgba(255, 255, 255, 0.08);
  --header-bg: rgb(var(--body-bg-rgb));
  --header-text: rgba(255, 255, 255, 0.5);
  --header-border: rgba(255, 255, 255, 0.07);

  --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.25);
  --shadow-md: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.45);
  --shadow-xl: 0 1rem 3rem rgba(0, 0, 0, 0.55);
  color-scheme: dark;
}

:root[data-layout-width="boxed"] {
  --content-max: 72rem;
}
