/* Cabinet Grotesk Font Faces */
@font-face {
    font-family: 'Cabinet Grotesk';
    src: url('../fonts/CabinetGrotesk-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cabinet Grotesk';
    src: url('../fonts/CabinetGrotesk-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cabinet Grotesk';
    src: url('../fonts/CabinetGrotesk-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Golos Text Font Faces */
@font-face {
    font-family: 'Golos Text';
    src: url('../fonts/GolosText-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Golos Text';
    src: url('../fonts/GolosText-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Golos Text';
    src: url('../fonts/GolosText-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* Montserrat Alternates Font Faces */
@font-face {
    font-family: 'Montserrat Alternates';
    src: url('../fonts/MontserratAlternates-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat Alternates';
    src: url('../fonts/MontserratAlternates-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat Alternates';
    src: url('../fonts/MontserratAlternates-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat Alternates';
    src: url('../fonts/MontserratAlternates-MediumItalic.ttf') format('truetype');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat Alternates';
    src: url('../fonts/MontserratAlternates-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat Alternates';
    src: url('../fonts/MontserratAlternates-BoldItalic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

/* Global font family override and LogicMind brand colors */
:root {
    /* ===== TYPOGRAPHY SYSTEM ===== */
    /* Font Families */
    --lm-font-heading: 'Golos Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --lm-font-body: 'Cabinet Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-family-primary: var(--lm-font-body);

    /* Font Size Scale */
    --lm-text-xs: 0.75rem;       /* 12px - captions, disclaimers */
    --lm-text-sm: 0.875rem;      /* 14px - labels, small text */
    --lm-text-base: 1rem;        /* 16px - body text */
    --lm-text-lg: 1.125rem;      /* 18px - large body, descriptions */
    --lm-text-xl: 1.25rem;       /* 20px - card titles, subtitles */
    --lm-text-2xl: 1.5rem;       /* 24px - sub-section titles */
    --lm-text-3xl: 2rem;         /* 32px - section titles (small) */
    --lm-text-4xl: 2.5rem;       /* 40px - section titles */
    --lm-text-5xl: 3.5rem;       /* 56px - hero/large titles */

    /* Font Weights */
    --lm-weight-regular: 400;
    --lm-weight-medium: 500;
    --lm-weight-semibold: 600;
    --lm-weight-bold: 700;
    --lm-weight-extrabold: 800;

    /* Line Heights */
    --lm-leading-none: 1;
    --lm-leading-tight: 1.1;
    --lm-leading-snug: 1.2;
    --lm-leading-normal: 1.4;
    --lm-leading-relaxed: 1.6;
    --lm-leading-loose: 1.8;

    /* Letter Spacing */
    --lm-tracking-tight: -0.5px;
    --lm-tracking-normal: 0;
    --lm-tracking-wide: 0.5px;
    --lm-tracking-wider: 2px;

    /* ===== BRAND COLORS ===== */
    /* LogicMind Corporate Colors */
    --logicmind-primary: #0d4167;        /* Dark Celeste */
    --logicmind-secondary: #407b94;      /* Celeste */
    --logicmind_secondary_transparent: #407b9458;      /* Celeste Transparent */
    --logicmind-white: #ffffff;          /* White */
    --logicmind-black: #000000;          /* Black */
    --logicmind-accent: #0d4167;         /* Accent */
    --logicmind-accent2: #f4972d;         /* Orange */
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    overflow-x: hidden;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
}

b{
    font-weight: 700;
    color: var(--logicmind-accent);
}
.mud-paper{
    box-shadow: none !important;
    border: none !important;
}

/* Apply heading font globally */
h1, h2, h3, h4, h5, h6,
.mud-typography-h1,
.mud-typography-h2,
.mud-typography-h3,
.mud-typography-h4,
.mud-typography-h5,
.mud-typography-h6 {
    font-family: var(--lm-font-heading) !important;
    font-weight: var(--lm-weight-bold) !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Responsive container widths */
.mud-container {
    width: 100%;
    padding-left: 24px;
    padding-right: 24px;
}

/* ===========================================
   GLOBAL RESPONSIVE UTILITIES
   =========================================== */

/* Large desktops and up */
@media (min-width: 1536px) {
    .mud-container-max-width-large {
        max-width: 1280px !important;
    }
}

/* Desktops */
@media (min-width: 1200px) and (max-width: 1535px) {
    .mud-container-max-width-large {
        max-width: 1140px !important;
    }
}

/* Large tablets and small desktops */
@media (min-width: 960px) and (max-width: 1199px) {
    .mud-container-max-width-large {
        max-width: 960px !important;
    }
    
    html {
        font-size: 15px;
    }
}

/* Tablets */
@media (max-width: 959px) {
    .mud-container {
        padding-left: 16px;
        padding-right: 16px;
    }
    
    .mud-container-max-width-large {
        max-width: 100% !important;
    }
    
    html {
        font-size: 14px;
    }
}

/* Mobile devices */
@media (max-width: 768px) {
    .mud-container {
        padding-left: 12px;
        padding-right: 12px;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .mud-container {
        padding-left: 8px;
        padding-right: 8px;
    }
    
    html {
        font-size: 13px;
    }
}

/* Responsive typography helpers */
@media (max-width: 768px) {
    h1, .mud-typography-h1 {
        font-size: 2rem !important;
    }
    
    h2, .mud-typography-h2 {
        font-size: 1.75rem !important;
    }
    
    h3, .mud-typography-h3 {
        font-size: 1.5rem !important;
    }
    
    h4, .mud-typography-h4 {
        font-size: 1.25rem !important;
    }
}

@media (max-width: 480px) {
    h1, .mud-typography-h1 {
        font-size: 1.75rem !important;
    }
    
    h2, .mud-typography-h2 {
        font-size: 1.5rem !important;
    }
    
    h3, .mud-typography-h3 {
        font-size: 1.25rem !important;
    }
    
    h4, .mud-typography-h4 {
        font-size: 1.1rem !important;
    }
}

/* Responsive utility classes */
.hide-on-mobile {
    display: block;
}

.show-on-mobile {
    display: none;
}

@media (max-width: 768px) {
    .hide-on-mobile {
        display: none !important;
    }
    
    .show-on-mobile {
        display: block !important;
    }
}
