@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=IBM+Plex+Mono:wght@400;500&family=Public+Sans:wght@400;500;600;700&display=swap');

:root {
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-6: 24px;
    --space-8: 32px;
    --space-12: 48px;
    --space-16: 64px;

    --color-primary: #0e7a70;
    --color-primary-light: #37968b;
    --color-primary-dark: #0b5e57;

    --color-secondary: #162337;
    --color-secondary-light: #243854;
    --color-secondary-dark: #0f1928;

    --color-success: #2d936c;
    --color-warning: #a86f3d;
    --color-danger: #b94d41;
    --color-info: #3d607f;

    --color-bg: #f2ebe1;
    --color-bg-alt: #e8ddcf;
    --color-surface: rgba(255, 251, 245, 0.82);
    --color-surface-strong: rgba(255, 251, 246, 0.94);
    --color-text: #1b283a;
    --color-text-muted: #6c7584;
    --color-border: rgba(22, 35, 55, 0.12);

    --gradient-shell:
        radial-gradient(circle at 12% 18%, rgba(14, 122, 112, 0.14), transparent 0 30%),
        radial-gradient(circle at 86% 10%, rgba(22, 35, 55, 0.12), transparent 0 24%),
        linear-gradient(180deg, #f5efe6 0%, #ece0d1 100%);
    --gradient-panel:
        linear-gradient(160deg, rgba(255, 252, 248, 0.94) 0%, rgba(245, 237, 228, 0.88) 100%);

    --shadow-sm: 0 10px 24px -18px rgba(21, 30, 45, 0.28);
    --shadow-md: 0 18px 40px -24px rgba(21, 30, 45, 0.28);
    --shadow-lg: 0 28px 60px -30px rgba(21, 30, 45, 0.3);
    --shadow-xl: 0 36px 90px -38px rgba(21, 30, 45, 0.34);

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;

    --font-family-base: 'Public Sans', 'Segoe UI', sans-serif;
    --font-family-display: 'Cormorant Garamond', Georgia, serif;
    --font-family-mono: 'IBM Plex Mono', Consolas, monospace;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-md: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;

    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    --leading-tight: 1.15;
    --leading-normal: 1.5;
    --leading-relaxed: 1.72;

    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;

    --transition-fast: 180ms cubic-bezier(0.22, 1, 0.36, 1);
    --transition-base: 300ms cubic-bezier(0.22, 1, 0.36, 1);
    --transition-slow: 450ms cubic-bezier(0.22, 1, 0.36, 1);

    --touch-target-min: 44px;
}

html,
body {
    font-family: var(--font-family-base);
    color: var(--color-text);
}

h1,
h2,
h3,
h4,
.font-display {
    font-family: var(--font-family-display);
    letter-spacing: -0.04em;
    line-height: var(--leading-tight);
}
