/* Shared foundations for the student community. */
:root {
  color-scheme: light;
  --color-bg-canvas: #f6f7f5;
  --color-bg-surface: #ffffff;
  --color-bg-surface-subtle: #f0f3ef;
  --color-bg-surface-hover: #edf1ed;
  --color-bg-surface-active: #e4ece5;
  --color-bg-overlay: rgb(21 35 28 / 40%);
  --color-text-primary: #1d2a27;
  --color-text-secondary: #44544c;
  --color-text-muted: #626f67;
  --color-text-subtle: var(--color-text-muted);
  --color-text-inverse: #ffffff;
  --color-border-subtle: #e1e6e2;
  --color-border-strong: #b9c7bd;
  --color-focus-ring: #2f6652;
  --color-brand-primary: #2f6652;
  --color-brand-primary-hover: #285744;
  --color-brand-primary-light: #eaf1eb;
  --color-brand-primary-text: #285744;
  --color-success: #2f6652;
  --color-success-bg: #eaf1eb;
  --color-success-text: #285744;
  --color-warning: #946324;
  --color-warning-bg: #faf4e8;
  --color-warning-text: #80531d;
  --color-danger: #b23d37;
  --color-danger-bg: #fcf0ee;
  --color-danger-text: #a43731;
  --color-info: #3f666b;
  --color-info-bg: #edf3f3;
  --color-info-text: #355b60;
  --cat-housing-accent: #2f6652;
  --cat-housing-bg: #eaf1eb;
  --cat-housing-border: #d7e3d9;
  --cat-housing-text: #285744;
  --cat-housing-hover: #285744;
  --cat-moving-accent: #526b72;
  --cat-moving-bg: #edf2f3;
  --cat-moving-border: #dce5e7;
  --cat-moving-text: #425e65;
  --cat-moving-hover: #425e65;
  --cat-jobs-accent: #65674b;
  --cat-jobs-bg: #f1f2e9;
  --cat-jobs-border: #e2e4d5;
  --cat-jobs-text: #55573e;
  --cat-jobs-hover: #55573e;
  --cat-deals-accent: #866a4e;
  --cat-deals-bg: #f5f0e9;
  --cat-deals-border: #e8ded1;
  --cat-deals-text: #73583d;
  --cat-deals-hover: #73583d;
  --cat-advice-accent: #6b627c;
  --cat-advice-bg: #f1eef4;
  --cat-advice-border: #e4deeb;
  --cat-advice-text: #5b526c;
  --cat-advice-hover: #5b526c;
  --color-primary: var(--color-brand-primary);
  --color-housing: var(--cat-housing-accent);
  --color-moving: var(--cat-moving-accent);
  --color-jobs: var(--cat-jobs-accent);
  --color-deals: var(--cat-deals-accent);
  --color-advice: var(--cat-advice-accent);
  --color-bg: var(--color-bg-canvas);
  --color-text: var(--color-text-primary);
  --color-flag-black: #1d2a27;
  --color-flag-red: #b23d37;
  --color-flag-gold: #946324;
  --flag-black: var(--color-flag-black);
  --flag-red: var(--color-flag-red);
  --flag-gold: var(--color-flag-gold);
  --font-family-base: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  --font-family-mono: ui-monospace, 'SFMono-Regular', Consolas, monospace;
  --font-size-2xs: .6875rem;
  --font-size-xs: .75rem;
  --font-size-sm: .8125rem;
  --font-size-base: .875rem;
  --font-size-md: .9375rem;
  --font-size-lg: 1rem;
  --font-size-xl: 1.125rem;
  --font-size-2xl: 1.25rem;
  --font-size-3xl: 1.75rem;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --line-height-tight: 1.2;
  --line-height-snug: 1.35;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.65;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 12px;
  --radius-pill: 999px;
  --shadow-xs: 0 1px 2px rgb(29 42 39 / 3%);
  --shadow-sm: 0 2px 8px rgb(29 42 39 / 4%);
  --shadow-md: 0 6px 20px rgb(29 42 39 / 8%);
  --shadow-lg: 0 12px 40px rgb(29 42 39 / 12%);
  --shadow-xl: var(--shadow-lg);
  --sidebar-width: 224px;
  --guide-sidebar-width: 260px;
  --header-height: 72px;
  --bottom-nav-height: 0px;
  --z-base: 1;
  --z-sticky: 20;
  --z-dock: 25;
  --z-header: 30;
  --z-drawer: 40;
  --z-modal-backdrop: 50;
  --z-modal: 60;
  --z-toast: 70;
  --transition-fast: 140ms ease;
  --transition-normal: 200ms ease;
  --transition-bounce: 200ms ease;
}
