:root {
  --vh: 100dvh;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);

  --c-bg: #fffdf8;
  --c-bg-alt: #fff8e6;
  --c-surface: #ffffff;
  --c-surface-raised: #fffef5;

  --c-text: #1c1a14;
  --c-text-secondary: #5c5748;
  --c-text-muted: #8a8478;
  --c-text-inverse: #1c1a14;

  --c-border: #efe6c8;
  --c-border-strong: #e0d4a8;

  --c-accent: #f5c400;
  --c-accent-light: #ffd84d;
  --c-accent-dark: #c99700;
  --c-accent-bg: rgba(245, 196, 0, 0.16);

  --c-danger: #d64545;
  --c-success: #3d8b5f;

  --ff-base: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --ff-display: "Manrope", var(--ff-base);

  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-md: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: 1.375rem;
  --fs-h3: clamp(1.125rem, 2vw, 1.375rem);
  --fs-h2: clamp(1.375rem, 2.5vw, 1.75rem);
  --fs-h1: clamp(1.625rem, 3.5vw, 2.5rem);

  --fw-normal: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  --lh-tight: 1.15;
  --lh-snug: 1.375;
  --lh-base: 1.6;
  --lh-relaxed: 1.625;

  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-8: 3rem;
  --sp-10: 4rem;
  --sp-12: 5rem;

  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;
  --r-pill: 9999px;

  --shadow-xs: 0 1px 3px rgba(28, 26, 20, 0.07);
  --shadow-sm: 0 4px 12px rgba(28, 26, 20, 0.08);
  --shadow-md: 0 8px 24px rgba(28, 26, 20, 0.1);
  --shadow-lg: 0 20px 48px rgba(28, 26, 20, 0.14);

  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast: 150ms var(--ease-standard);
  --t-base: 250ms var(--ease-standard);
  --t-slow: 400ms var(--ease-standard);

  --container-max: 1280px;
  --container-pad: var(--sp-4);
  --header-h: 56px;
  --bottom-nav-h: 64px;
  --section-y: 3rem;

  --z-sticky: 200;
  --z-dropdown: 250;
  --z-drawer: 300;
}

@media (min-width: 600px) {
  :root {
    --container-pad: var(--sp-5);
    --header-h: 64px;
  }
}

@media (min-width: 960px) {
  :root {
    --container-pad: var(--sp-8);
    --header-h: 72px;
    --section-y: 5rem;
  }
}

@media (min-width: 1280px) {
  :root {
    --container-max: 1360px;
  }
}
