:root {
  /* =========================
     Colors
     ========================= */

  --color-bg: #f4f5f2;
  --color-surface: #ffffff;
  --color-surface-alt: #eef2ec;
  --color-surface-soft: #f8faf6;
  --color-surface-strong: #e8eee4;

  --color-text: #22313d;
  --color-text-soft: #4f6170;
  --color-text-muted: #6f8190;

  --color-primary: #33495f;       /* slate blue-grey */
  --color-primary-dark: #243645;
  --color-primary-light: #4f677f;

  --color-accent: #8fbd3f;        /* nature green */
  --color-accent-dark: #6f972d;
  --color-accent-soft: #dfeccd;

  --color-border: #d7dfd2;
  --color-border-strong: #b8c5b1;

  --color-success: #3d7a47;
  --color-warning: #9c7b2f;
  --color-danger: #a24747;

  --color-shadow: rgba(25, 38, 48, 0.08);
  --color-shadow-strong: rgba(25, 38, 48, 0.16);

  /* =========================
     Typography
     ========================= */

  --font-sans: "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --font-size-xs: 0.8125rem;
  --font-size-sm: 0.9375rem;
  --font-size-base: 1rem;
  --font-size-md: 1.125rem;
  --font-size-lg: 1.25rem;
  --font-size-xl: 1.75rem;
  --font-size-2xl: 2.5rem;
  --font-size-3xl: 3.25rem;

  --line-height-tight: 1.15;
  --line-height-base: 1.65;
  --line-height-loose: 1.8;

  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* =========================
     Spacing
     ========================= */

  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 2.75rem;
  --space-3xl: 3.75rem;
  --space-4xl: 5.5rem;

  /* =========================
     Radius
     ========================= */

  --radius-sm: 0.5rem;
  --radius-md: 0.85rem;
  --radius-lg: 1.25rem;
  --radius-xl: 1.75rem;
  --radius-pill: 999px;

  /* =========================
     Shadows
     ========================= */

  --shadow-sm: 0 4px 12px var(--color-shadow);
  --shadow-md: 0 12px 28px var(--color-shadow);
  --shadow-lg: 0 20px 44px var(--color-shadow-strong);

  /* =========================
     Layout
     ========================= */

  --container-width: 1200px;
  --container-narrow: 820px;
  --header-height: 88px;

  /* =========================
     Transitions
     ========================= */

  --transition-fast: 180ms ease;
  --transition-base: 260ms ease;
}

@media (max-width: 768px) {
  :root {
    --font-size-2xl: 2rem;
    --font-size-3xl: 2.5rem;

    --space-2xl: 2.25rem;
    --space-3xl: 3rem;
    --space-4xl: 4rem;

    --header-height: 78px;
  }
}