@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Fraunces:opsz,wght@9..144,600;9..144,700&display=swap');

:root {
  color-scheme: light;

  /* Brand palette */
  --primary-color: hsl(181, 67%, 38%);
  --primary-hover: hsl(181, 70%, 31%);
  --primary-strong: hsl(208, 58%, 19%);
  --primary-light: hsl(180, 52%, 92%);
  --primary-soft: hsl(190, 36%, 96%);
  --accent-color: hsl(31, 95%, 58%);
  --accent-hover: hsl(24, 88%, 54%);
  --accent-light: hsl(42, 100%, 93%);

  /* Neutrals */
  --text-main: hsl(215, 46%, 13%);
  --text-muted: hsl(216, 20%, 42%);
  --text-soft: hsl(216, 18%, 55%);
  --text-inverse: hsl(210, 33%, 98%);
  --text-color: var(--text-main);

  --bg-body: hsl(190, 28%, 96%);
  --bg-body-alt: hsl(188, 33%, 93%);
  --bg-surface: rgba(255, 255, 255, 0.86);
  --bg-surface-strong: hsl(0, 0%, 100%);
  --bg-surface-hover: hsl(200, 37%, 96%);
  --bg-elevated: hsla(0, 0%, 100%, 0.94);
  --bg-contrast: hsl(208, 52%, 12%);
  --surface-hover: var(--bg-surface-hover);

  --border-color: hsla(200, 23%, 47%, 0.18);
  --border-strong: hsla(199, 27%, 36%, 0.26);
  --ring-color: hsla(181, 67%, 38%, 0.25);

  /* Status */
  --success: hsl(150, 63%, 36%);
  --success-bg: hsl(150, 65%, 94%);
  --warning: hsl(38, 92%, 46%);
  --warning-bg: hsl(42, 100%, 93%);
  --danger: hsl(353, 73%, 48%);
  --danger-bg: hsl(353, 84%, 95%);
  --info: hsl(208, 85%, 54%);
  --info-bg: hsl(208, 100%, 95%);

  /* Typography */
  --font-base: 'Manrope', 'Segoe UI', system-ui, sans-serif;
  --font-display: 'Fraunces', Georgia, serif;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-md: 1rem;
  --text-lg: 1rem;
  --text-xl: 1.15rem;
  --text-2xl: 1.45rem;
  --text-3xl: 2rem;
  --text-4xl: clamp(2rem, 3vw, 3.05rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.68rem;
  --space-4: 0.9rem;
  --space-5: 1.08rem;
  --space-6: 1.32rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 999px;

  /* Shadows */
  --shadow-sm: 0 10px 24px -22px rgba(14, 35, 56, 0.3);
  --shadow-md: 0 18px 42px -28px rgba(12, 35, 58, 0.24);
  --shadow-lg: 0 24px 64px -34px rgba(12, 35, 58, 0.32);
  --shadow-inner: inset 0 1px 0 rgba(255, 255, 255, 0.55);

  /* Motion */
  --transition-fast: 180ms cubic-bezier(0.22, 1, 0.36, 1);
  --transition-normal: 260ms cubic-bezier(0.22, 1, 0.36, 1);

  /* Layout */
  --sidebar-width: 248px;
  --sidebar-width-collapsed: 82px;
  --topbar-height: 64px;
  --content-max: 1360px;
}
