
:root {
    --text-primary: #111111;
}

body {
    transition: background-color 0.1s linear, color 0.3s ease;
    background-color: #D0E8F2; /* Initial surface color */
}

body.surface-ocean {
    --text-primary: #111111;
    color: var(--text-primary);
}

body.deep-ocean {
    --text-primary: #ffffff;
    color: var(--text-primary);
}

/* Force inline text elements to inherit the variable if they use it */
* {
    transition: color 0.3s ease;
}
/* ==========================================================================
   GLOBAL RESET & AUTO-SIZING
   ========================================================================== */
html, body {
    overflow-x: hidden !important;
    width: 100%;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

*, *::before, *::after {
    box-sizing: border-box !important;
}

img, video, canvas, svg {
    max-width: 100% !important;
    height: auto;
}

/* Safari Flexbox Fixes */
.section, .c--wrap, .container, .links__wrap, .brands__logo-section > div {
    min-width: 0 !important;
}


  /* add custom cursor */
  .typing-wrap::after {
    content: "|";
    display: inline;
    animation: blink 1s infinite;
  }

  /* custom cursor animation */
  @keyframes  blink {
    0% {
      opacity: 1;
    }

    50% {
      opacity: 0;
    }

    100% {
      opacity: 1;
    }
  }

    
    .meech-caption {
        font-family: Arial, sans-serif;
        font-size: clamp(14px, 1.2vw, 24px);
        font-weight: 500;
        color: var(--text-primary, #333) ;
        text-align: center;
        max-width: clamp(200px, 25vw, 400px);
        line-height: 1.4;
    }
    
    .meech-item {
        flex-shrink: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 24px;
        transition: transform 0.3s ease;
    }
    
    .meech-caption {
        font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
        font-size: clamp(12px, 1.1vw, 22px);
        font-weight: 400;
        color: var(--text-primary);
        text-align: center;
        max-width: clamp(180px, 24vw, 380px);
        line-height: 1.5;
    }
    
    .meech-caption strong {
        display: block;
        font-size: clamp(16px, 1.25vw, 28px);
        font-weight: 600;
        color: var(--text-primary, #111) ;
        margin-bottom: 6px;
    }
    
        
        
        .link__arrow {
            display: flex !important;
            align-items: center;
            justify-content: center;
            opacity: 1 !important;
            visibility: visible !important;
            width: 20px !important;
            height: 20px !important;
            margin-left: 12px;
            transition: transform 0.3s ease;
            flex-shrink: 0;
            color: inherit;
        }
        
    /* FORCE FIX BUTTONS AND BADGES */
    .links__wrap, a.links .links__wrap {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 8px 24px !important;
        border-radius: 50px !important;
        border: 1px solid rgba(255, 255, 255, 0.4) !important;
        min-height: 48px !important;
        width: auto !important;
        display: inline-flex !important;
        gap: 16px !important;
        overflow: visible !important;
        box-sizing: border-box !important;
        position: relative !important;
    }

    .link__text, a.links .link__text {
        position: relative !important;
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
        flex: 1 !important;
        text-align: center !important;
    }
    
    .link__text p {
        margin: 0 !important;
        padding: 0 !important;
    }

    .link__arrow, a.links .link__arrow {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 24px !important;
        height: 24px !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        flex-shrink: 0 !important;
        position: relative !important;
        right: 0 !important;
        top: 0 !important;
    }

    .link__arrow svg.arrow-img, a.links .link__arrow svg.arrow-img {
        width: 100% !important;
        height: 100% !important;
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        stroke: currentColor !important;
    }

    /* Light mode adaptations for buttons */
    /* Hover effect */
    a.links:hover .link__arrow {
        transform: translateX(4px) !important;
    }
    

        
        
    
    

    /* --- ULTIMATE NAGI BUTTONS --- */
    .nagi-button {
        display: inline-flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 12px 24px !important;
        gap: 16px !important;
        border-radius: 50px !important;
        border: 1px solid rgba(255, 255, 255, 0.4) !important;
        color: var(--text-primary, #fff) !important;
        text-decoration: none !important;
        font-family: 'Inter', sans-serif !important;
        font-size: 16px !important;
        font-weight: 500 !important;
        transition: all 0.3s ease !important;
        box-sizing: border-box !important;
        min-height: 48px !important;
        background: transparent !important;
        cursor: pointer !important;
    }

    

    .nagi-button-text {
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
        line-height: 1 !important;
        color: inherit !important;
    }

    .nagi-button-arrow {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 !important;
        padding: 0 !important;
        line-height: 1 !important;
        font-size: 20px !important;
        color: inherit !important;
        transition: transform 0.3s ease !important;
    }

    .nagi-button:hover .nagi-button-arrow {
        transform: translateX(6px) !important;
    }
    

    /* --- TYPING EFFECT LAYOUT FIX --- */
    .c--wrap--split-copy.en {
        display: flex !important;
        flex-direction: row !important;
        align-items: baseline !important;
        flex-wrap: nowrap !important;
        gap: 12px !important;
    }
    
    .c--wrap--split-copy.en .c--wrap,
    .c--wrap--split-copy.en .div-block-10 {
        display: inline-block !important;
        width: auto !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .c--wrap--split-copy.en .heading--long {
        display: inline-block !important;
        margin: 0 !important;
        white-space: nowrap !important;
    }
    

    /* --- LIGHT MODE TEXT FIX --- */

    /* Ensure cards retain white text on dark backgrounds regardless of section */
    .c--wrap__card p, .c--wrap__card span {
        color: var(--text-primary, #fff) !important;
    }
    .c--wrap__card .txt--card-date {
        color: rgba(255,255,255,0.8) !important;
    }
    
    body.light-mode h1, body.light-mode h2, body.light-mode h3, body.light-mode h4, body.light-mode h5, body.light-mode h6, body.light-mode p,
    .section--white h1, .section--white h2, .section--white h3, .section--white h4, .section--white h5, .section--white h6, .section--white p,
    body.light-mode .heading--long, body.light-mode .section-title--small, body.light-mode .paragraph, body.light-mode .paragraph--medium, body.light-mode .letter-wrap,
    .section--white .heading--long, .section--white .section-title--small, .section--white .paragraph, .section--white .paragraph--medium, .section--white .letter-wrap,
    body.light-mode .typing-wrap, .section--white .typing-wrap {
        color: var(--text-primary, #111) !important;
    }
    
    /* Ensure the cursor for the typing effect also flips color */
    body.light-mode .typing-wrap::after, .section--white .typing-wrap::after {
        color: var(--text-primary, #111) !important;
    }
    

    /* FIX FOR BUTTONS IN WHITE SECTIONS */
    .section--white .links__wrap, 
    body.light-mode .links__wrap {
        border-color: rgba(0, 0, 0, 0.2) !important;
    }
    .section--white .link__text, 
    .section--white .link__text p,
    body.light-mode .link__text,
    body.light-mode .link__text p {
        color: var(--text-primary, #000) !important;
    }
    .section--white .link__arrow svg,
    body.light-mode .link__arrow svg,
    .section--white .link__arrow svg.arrow-img,
    body.light-mode .link__arrow svg.arrow-img {
        stroke: var(--text-primary) !important;
        color: var(--text-primary, #000) !important;
    }
    
    
    

    /* MAGIC BUTTON VISIBILITY FIX */
    .nagi-button, .links__wrap, a.links .links__wrap {
        mix-blend-mode: normal !important;
        background: transparent !important;
    }
    .nagi-button-text, .nagi-button-arrow, .link__text, .link__text p, .link__arrow, .link__arrow svg, .link__arrow svg.arrow-img {
        /* CSS explicitly controlled below */
    }
    


/* Formal UX overrides */
body, h1, h2, h3, p, div {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
}

/* Reduce the giant hero text size to feel more formal and less aggressive */
.ml3._1, .ml3._2, .ml3._3 {
    font-size: clamp(32px, 6vw, 90px) !important;
    line-height: 1.1 !important;
    text-transform: none !important;
    letter-spacing: -1px !important;
}

/* Make section titles more understated */
.section-title--small {
    letter-spacing: 2px !important;
    mix-blend-mode: normal !important; opacity: 0.6 !important;
    font-size: 12px !important;
    text-transform: uppercase !important;
}

/* Remove decorative noise */
.title--line-thin {
    display: none !important;
}

/* Tone down hover scales if any */
a, .news-slider__card {
    transition: transform 0.2s ease, opacity 0.2s ease !important;
}
a:hover, .news-slider__card:hover {
    transform: none !important;
    opacity: 0.8 !important;
}

/* Ensure background overlays are solid for better contrast */
.overlay {
    background-color: rgba(10, 15, 25, 0.5) !important;
}

/* Standardize text line heights for better readability */
.paragraph--medium {
    line-height: 1.6 !important;
    font-size: 1.5rem !important;
    font-weight: 400 !important;
}

    /* FORCE FIX BUTTONS AND BADGES */
    .links__wrap, a.links .links__wrap {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 8px 24px !important;
        border-radius: 50px !important;
        border: 1px solid rgba(255, 255, 255, 0.4) !important;
        min-height: 48px !important;
        width: auto !important;
        display: inline-flex !important;
        gap: 16px !important;
        overflow: visible !important;
        box-sizing: border-box !important;
        position: relative !important;
    }

    .link__text, a.links .link__text {
        position: relative !important;
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
        flex: 1 !important;
        text-align: center !important;
    }
    
    .link__text p {
        margin: 0 !important;
        padding: 0 !important;
    }

    .link__arrow, a.links .link__arrow {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 24px !important;
        height: 24px !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        flex-shrink: 0 !important;
        position: relative !important;
        right: 0 !important;
        top: 0 !important;
    }

    .link__arrow svg.arrow-img, a.links .link__arrow svg.arrow-img {
        width: 100% !important;
        height: 100% !important;
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        stroke: currentColor !important;
    }

    /* Light mode adaptations for buttons */
    /* Hover effect */
    a.links:hover .link__arrow {
        transform: translateX(4px) !important;
    }
    

    
    

    /* FIX FOR BUTTONS IN WHITE SECTIONS */
    .section--white .links__wrap, 
    body.light-mode .links__wrap {
        border-color: rgba(0, 0, 0, 0.2) !important;
    }
    .section--white .link__text, 
    .section--white .link__text p,
    body.light-mode .link__text,
    body.light-mode .link__text p {
        color: var(--text-primary, #000) !important;
    }
    .section--white .link__arrow svg,
    body.light-mode .link__arrow svg,
    .section--white .link__arrow svg.arrow-img,
    body.light-mode .link__arrow svg.arrow-img {
        stroke: var(--text-primary) !important;
        color: var(--text-primary, #000) !important;
    }
    
    
    

    /* MAGIC BUTTON VISIBILITY FIX */
    .nagi-button, .links__wrap, a.links .links__wrap {
        mix-blend-mode: normal !important;
        background: transparent !important;
    }
    .nagi-button-text, .nagi-button-arrow, .link__text, .link__text p, .link__arrow, .link__arrow svg, .link__arrow svg.arrow-img {
        /* CSS explicitly controlled below */
    }
    


        /* Add a sleek dark gradient overlay to all background videos for better text contrast */
        .w-background-video::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.5) 100%);
            z-index: 0;
            pointer-events: none;
        }
        
        /* Ensure the actual video stays behind the overlay */
        .w-background-video > video {
            z-index: -1 !important;
            position: absolute;
        }

        /* Ensure all content inside the background video container sits firmly above the overlay */
        .w-background-video > *:not(video):not(.navbar-glass-bg) {
            position: relative;
            z-index: 2;
            text-shadow: 0px 4px 15px rgba(0, 0, 0, 0.4); /* subtle drop shadow for extra crispness */
        }
    
    /* FORCE FIX BUTTONS AND BADGES */
    .links__wrap, a.links .links__wrap {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 8px 24px !important;
        border-radius: 50px !important;
        border: 1px solid rgba(255, 255, 255, 0.4) !important;
        min-height: 48px !important;
        width: auto !important;
        display: inline-flex !important;
        gap: 16px !important;
        overflow: visible !important;
        box-sizing: border-box !important;
        position: relative !important;
    }

    .link__text, a.links .link__text {
        position: relative !important;
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
        flex: 1 !important;
        text-align: center !important;
    }
    
    .link__text p {
        margin: 0 !important;
        padding: 0 !important;
    }

    .link__arrow, a.links .link__arrow {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 24px !important;
        height: 24px !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        flex-shrink: 0 !important;
        position: relative !important;
        right: 0 !important;
        top: 0 !important;
    }

    .link__arrow svg.arrow-img, a.links .link__arrow svg.arrow-img {
        width: 100% !important;
        height: 100% !important;
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        stroke: currentColor !important;
    }

    /* Light mode adaptations for buttons */
    /* Hover effect */
    a.links:hover .link__arrow {
        transform: translateX(4px) !important;
    }
    

    
    

    /* FIX FOR BUTTONS IN WHITE SECTIONS */
    .section--white .links__wrap, 
    body.light-mode .links__wrap {
        border-color: rgba(0, 0, 0, 0.2) !important;
    }
    .section--white .link__text, 
    .section--white .link__text p,
    body.light-mode .link__text,
    body.light-mode .link__text p {
        color: var(--text-primary, #000) !important;
    }
    .section--white .link__arrow svg,
    body.light-mode .link__arrow svg,
    .section--white .link__arrow svg.arrow-img,
    body.light-mode .link__arrow svg.arrow-img {
        stroke: var(--text-primary) !important;
        color: var(--text-primary, #000) !important;
    }
    
    
    

    /* MAGIC BUTTON VISIBILITY FIX */
    .nagi-button, .links__wrap, a.links .links__wrap {
        mix-blend-mode: normal !important;
        background: transparent !important;
    }
    .nagi-button-text, .nagi-button-arrow, .link__text, .link__text p, .link__arrow, .link__arrow svg, .link__arrow svg.arrow-img {
        /* CSS explicitly controlled below */
    }
    


        /* 
         * ULTIMATE BUTTON FIX 
         * Completely overrides the broken fixed-width Webflow interactions
         * and replaces them with a modern, responsive flexbox pill button.
         */
        .links {
            width: auto !important; 
            min-width: 160px !important;
            height: 48px !important;
            display: inline-flex !important;
            text-decoration: none !important;
            border-radius: 50px !important;
        }
        
        .links__wrap {
            width: auto !important;
            height: 100% !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            flex-direction: row-reverse !important; /* Arrow on left, text on right */
            padding: 0 24px !important;
            gap: 12px !important;
            border: 1px solid color-mix(in srgb, currentColor 40%, transparent) !important;
            border-radius: 50px !important;
            box-sizing: border-box !important;
            transition: all 0.3s ease !important;
            overflow: hidden !important; /* Prevent any escaping elements */
            background: transparent !important;
        }
        
        /* Premium hover effect */
        .links:hover .links__wrap {
            background-color: rgba(255, 255, 255, 0.1) !important;
            border-color: var(--text-primary) !important; opacity: 0.8;
            transform: scale(1.02) !important;
        }
        
        .link__text {
            position: static !important;
            white-space: nowrap !important;
            font-size: 14px !important;
            letter-spacing: 0.5px !important;
            margin: 0 !important;
            padding: 0 !important;
            transform: none !important;
        }
        
        .link__text p {
            margin: 0 !important;
            padding: 0 !important;
            transform: none !important;
            line-height: 1 !important;
            display: block !important;
        }
        
        
        .link__arrow {
            position: static !important;
            margin: 0 !important;
            padding: 0 !important;
            display: block !important;
            width: 14px !important;
            height: 14px !important;
            background-color: currentColor !important;
            mask-image: url('https://www.srmg.com/images/arrow--white.svg') !important;
            mask-size: contain !important;
            mask-repeat: no-repeat !important;
            mask-position: center !important;
            -webkit-mask-image: url('https://www.srmg.com/images/arrow--white.svg') !important;
            -webkit-mask-size: contain !important;
            -webkit-mask-repeat: no-repeat !important;
            -webkit-mask-position: center !important;
            transform: none !important;
            border: none !important;
        }
        
        .link__arrow img {
            display: none !important; /* Hide the original img, we use the mask instead */
        }
    
    
    /* FORCE FIX BUTTONS AND BADGES */
    .links__wrap, a.links .links__wrap {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 8px 24px !important;
        border-radius: 50px !important;
        border: 1px solid rgba(255, 255, 255, 0.4) !important;
        min-height: 48px !important;
        width: auto !important;
        display: inline-flex !important;
        gap: 16px !important;
        overflow: visible !important;
        box-sizing: border-box !important;
        position: relative !important;
    }

    .link__text, a.links .link__text {
        position: relative !important;
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
        flex: 1 !important;
        text-align: center !important;
    }
    
    .link__text p {
        margin: 0 !important;
        padding: 0 !important;
    }

    .link__arrow, a.links .link__arrow {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 24px !important;
        height: 24px !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        flex-shrink: 0 !important;
        position: relative !important;
        right: 0 !important;
        top: 0 !important;
    }

    .link__arrow svg.arrow-img, a.links .link__arrow svg.arrow-img {
        width: 100% !important;
        height: 100% !important;
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        stroke: currentColor !important;
    }

    /* Light mode adaptations for buttons */
    /* Hover effect */
    a.links:hover .link__arrow {
        transform: translateX(4px) !important;
    }
    

    
    

    /* FIX FOR BUTTONS IN WHITE SECTIONS */
    .section--white .links__wrap, 
    body.light-mode .links__wrap {
        border-color: rgba(0, 0, 0, 0.2) !important;
    }
    .section--white .link__text, 
    .section--white .link__text p,
    body.light-mode .link__text,
    body.light-mode .link__text p {
        color: var(--text-primary, #000) !important;
    }
    .section--white .link__arrow svg,
    body.light-mode .link__arrow svg,
    .section--white .link__arrow svg.arrow-img,
    body.light-mode .link__arrow svg.arrow-img {
        stroke: var(--text-primary) !important;
        color: var(--text-primary, #000) !important;
    }
    
    
    

    /* MAGIC BUTTON VISIBILITY FIX */
    .nagi-button, .links__wrap, a.links .links__wrap {
        mix-blend-mode: normal !important;
        background: transparent !important;
    }
    .nagi-button-text, .nagi-button-arrow, .link__text, .link__text p, .link__arrow, .link__arrow svg, .link__arrow svg.arrow-img {
        /* CSS explicitly controlled below */
    }
    


        /* OVERRIDE SRMG STAGGERED GRID - PERFECT SPACING v3 */
        
        #nagi-section-override {
            width: 100% !important;
            max-width: 100% !important;
            position: relative !important;
            left: auto !important;
            transform: none !important;
            overflow: visible !important;
            padding: 0 !important;
            margin: 60px 0 -40px 0 !important;
        }

        #nagi-steps-grid-override {
            display: flex !important;
            flex-direction: row !important;
            flex-wrap: nowrap !important;
            gap: 32px !important;
            align-items: center !important;
            justify-content: flex-start !important;
            margin: 0 !important;
            padding: 40px 15px 24px 15px !important;
            width: 100% !important;
            max-width: 100% !important;
            box-sizing: border-box !important;
            overflow-x: auto !important; 
            scroll-snap-type: x mandatory !important;
            -webkit-overflow-scrolling: touch !important;
            /* Hide scrollbar for IE, Edge and Firefox */
            -ms-overflow-style: none !important;
            scrollbar-width: none !important;
        }
        
        #nagi-steps-grid-override::-webkit-scrollbar {
            display: none !important;
        }
        #nagi-steps-grid-override::-webkit-scrollbar-track {
            background: rgba(0,0,0,0.05) !important;
            border-radius: 10px !important;
        }
        #nagi-steps-grid-override::-webkit-scrollbar-thumb {
            background: rgba(0,0,0,0.2) !important;
            border-radius: 10px !important;
            border: 2px solid transparent !important;
            background-clip: padding-box !important;
        }
        #nagi-steps-grid-override::-webkit-scrollbar-thumb:hover {
            background: rgba(0,0,0,0.4) !important;
        }

        #nagi-steps-grid-override .news-card--wrap,
        [id^="nagi-card-override-"] {
            flex: 0 0 350px !important; 
            width: 350px !important;
            max-width: 350px !important;
            height: 850px !important; 
            margin: 0 !important; 
            padding: 0 !important;
            top: auto !important;
            bottom: auto !important;
            align-self: auto !important;
            transform: none !important;
            position: relative !important;
            display: block !important;
            border-radius: 20px !important;
            overflow: hidden !important;
            box-shadow: 0 15px 35px rgba(0,0,0,0.1) !important;
            scroll-snap-align: start !important;
            transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease !important;
        }
        
        #nagi-steps-grid-override .news-card--wrap:nth-child(n),
        [id^="nagi-card-override-"]:nth-child(n) {
            transform: none !important;
            margin: 0 !important;
            align-self: auto !important;
        }

        #nagi-steps-grid-override .news-card--wrap:hover,
        [id^="nagi-card-override-"]:hover {
            transform: translateY(-12px) !important;
            box-shadow: 0 30px 50px rgba(0,0,0,0.15) !important;
        }
    
        
        .nagi-carousel-btn {
            position: absolute !important;
            top: calc(50% - 12px) !important; /* Adjusted slightly for perfect center */
            transform: translateY(-50%) !important;
            width: 56px !important;
            height: 56px !important;
            border-radius: 50% !important;
            background: rgba(255, 255, 255, 0.85) !important;
            backdrop-filter: blur(8px) !important;
            -webkit-backdrop-filter: blur(8px) !important;
            border: 1px solid rgba(255,255,255,0.4) !important;
            box-shadow: 0 8px 24px rgba(0,0,0,0.15) !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            cursor: pointer !important;
            z-index: 100 !important;
            transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
            color: var(--text-primary, #111) !important;
        }
        
        .nagi-carousel-btn:hover {
            background: #fff !important;
            box-shadow: 0 12px 28px rgba(0,0,0,0.2) !important;
            transform: translateY(-50%) scale(1.1) !important;
        }
        
        .nagi-carousel-btn.left {
            left: -28px !important;
        }
        
        .nagi-carousel-btn.right {
            right: -28px !important;
        }
        .nagi-carousel-btn svg {
            width: 24px;
            height: 24px;
            fill: none;
            stroke: currentColor;
            stroke-width: 2;
            stroke-linecap: round;
            stroke-linejoin: round;
        }
        /* Make sure container doesn't hide overflowing buttons if left/right are negative */
        #nagi-section-override {
            overflow: visible !important;
        }
        
    /* FORCE FIX BUTTONS AND BADGES */
    .links__wrap, a.links .links__wrap {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 8px 24px !important;
        border-radius: 50px !important;
        border: 1px solid rgba(255, 255, 255, 0.4) !important;
        min-height: 48px !important;
        width: auto !important;
        display: inline-flex !important;
        gap: 16px !important;
        overflow: visible !important;
        box-sizing: border-box !important;
        position: relative !important;
    }

    .link__text, a.links .link__text {
        position: relative !important;
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
        flex: 1 !important;
        text-align: center !important;
    }
    
    .link__text p {
        margin: 0 !important;
        padding: 0 !important;
    }

    .link__arrow, a.links .link__arrow {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 24px !important;
        height: 24px !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        flex-shrink: 0 !important;
        position: relative !important;
        right: 0 !important;
        top: 0 !important;
    }

    .link__arrow svg.arrow-img, a.links .link__arrow svg.arrow-img {
        width: 100% !important;
        height: 100% !important;
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        stroke: currentColor !important;
    }

    /* Light mode adaptations for buttons */
    /* Hover effect */
    a.links:hover .link__arrow {
        transform: translateX(4px) !important;
    }
    

    
    

    /* FIX FOR BUTTONS IN WHITE SECTIONS */
    .section--white .links__wrap, 
    body.light-mode .links__wrap {
        border-color: rgba(0, 0, 0, 0.2) !important;
    }
    .section--white .link__text, 
    .section--white .link__text p,
    body.light-mode .link__text,
    body.light-mode .link__text p {
        color: var(--text-primary, #000) !important;
    }
    .section--white .link__arrow svg,
    body.light-mode .link__arrow svg,
    .section--white .link__arrow svg.arrow-img,
    body.light-mode .link__arrow svg.arrow-img {
        stroke: var(--text-primary) !important;
        color: var(--text-primary, #000) !important;
    }
    
    
    

    /* MAGIC BUTTON VISIBILITY FIX */
    .nagi-button, .links__wrap, a.links .links__wrap {
        mix-blend-mode: normal !important;
        background: transparent !important;
    }
    .nagi-button-text, .nagi-button-arrow, .link__text, .link__text p, .link__arrow, .link__arrow svg, .link__arrow svg.arrow-img {
        /* CSS explicitly controlled below */
    }
    


    .meech-horizontal-scroll-container {
        position: relative;
        width: 100%;
        height: 400vh;
        background-color: transparent;
        z-index: 100;
    }

    .meech-sticky-container {
        position: sticky;
        top: 0;
        width: 100vw;
        height: 100vh;
        overflow: hidden;
        display: flex;
        align-items: center;
    }

    .meech-gallery-track {
        display: flex;
        align-items: center;
        gap: 12vw;
        padding-left: 10vw;
        will-change: transform;
        height: 100%;
        transform: translate3d(0, 0, 0);
    }

    .meech-item {
        flex-shrink: 0;
        transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    .meech-item img {
        max-width: 35vw;
        max-height: 65vh;
        object-fit: contain;
        box-shadow: 10px 15px 40px rgba(0,0,0,0.2);
    }

    
    
    
    
    
    

    .meech-bottom-menu {
        position: absolute;
        bottom: 50px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        flex-direction: column;
        align-items: center;
        font-family: 'Times New Roman', Times, serif;
    }

    .meech-menu-arc {
        display: flex;
        gap: 40px;
        align-items: flex-end;
    }

    .meech-menu-link {
        color: rgba(0,0,0,0.2);
        text-decoration: none;
        font-size: 20px;
        letter-spacing: 2px;
        transition: color 0.3s, font-size 0.3s;
    }

    .meech-menu-link.meech-active {
        color: rgba(0,0,0,0.8);
        font-size: 26px;
    }

    .meech-menu-link:hover {
        color: rgba(0,0,0,0.8);
    }
    
    .meech-line-container {
        width: 100%;
        height: 60px;
        position: relative;
        margin-top: 10px;
    }

    .meech-diagonal-line {
        position: absolute;
        bottom: -20px;
        left: 50%;
        width: 150px;
        height: 1px;
        background-color: #000;
        transform-origin: left center;
        transform: rotate(-25deg);
    }
    
    .meech-diagonal-line::before {
        content: '';
        position: absolute;
        left: 0;
        top: -2px;
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background-color: #000;
    }
    
    /* FORCE FIX BUTTONS AND BADGES */
    .links__wrap, a.links .links__wrap {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 8px 24px !important;
        border-radius: 50px !important;
        border: 1px solid rgba(255, 255, 255, 0.4) !important;
        min-height: 48px !important;
        width: auto !important;
        display: inline-flex !important;
        gap: 16px !important;
        overflow: visible !important;
        box-sizing: border-box !important;
        position: relative !important;
    }

    .link__text, a.links .link__text {
        position: relative !important;
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
        flex: 1 !important;
        text-align: center !important;
    }
    
    .link__text p {
        margin: 0 !important;
        padding: 0 !important;
    }

    .link__arrow, a.links .link__arrow {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 24px !important;
        height: 24px !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        flex-shrink: 0 !important;
        position: relative !important;
        right: 0 !important;
        top: 0 !important;
    }

    .link__arrow svg.arrow-img, a.links .link__arrow svg.arrow-img {
        width: 100% !important;
        height: 100% !important;
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        stroke: currentColor !important;
    }

    /* Light mode adaptations for buttons */
    /* Hover effect */
    a.links:hover .link__arrow {
        transform: translateX(4px) !important;
    }
    

    
    

    /* FIX FOR BUTTONS IN WHITE SECTIONS */
    .section--white .links__wrap, 
    body.light-mode .links__wrap {
        border-color: rgba(0, 0, 0, 0.2) !important;
    }
    .section--white .link__text, 
    .section--white .link__text p,
    body.light-mode .link__text,
    body.light-mode .link__text p {
        color: var(--text-primary, #000) !important;
    }
    .section--white .link__arrow svg,
    body.light-mode .link__arrow svg,
    .section--white .link__arrow svg.arrow-img,
    body.light-mode .link__arrow svg.arrow-img {
        stroke: var(--text-primary) !important;
        color: var(--text-primary, #000) !important;
    }
    
    
    

    /* MAGIC BUTTON VISIBILITY FIX */
    .nagi-button, .links__wrap, a.links .links__wrap {
        mix-blend-mode: normal !important;
        background: transparent !important;
    }
    .nagi-button-text, .nagi-button-arrow, .link__text, .link__text p, .link__arrow, .link__arrow svg, .link__arrow svg.arrow-img {
        /* CSS explicitly controlled below */
    }
    


/* ==========================================================================
   RESPONSIVE STYLES (TABLET & MOBILE)
   ========================================================================== */

/* Tablet (max-width: 1024px) */
@media screen and (max-width: 1024px) {
    .monolog-grid {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}
}
    
    .section, .section--white {
        padding-left: 5vw !important;
        padding-right: 5vw !important;
    }
    
    .heading--long {
        font-size: clamp(24px, 4vw, 60px) !important;
        line-height: 1.3 !important;
    }
    
    .c--wrap {
        width: 90% !important;
    }
}

/* Mobile (max-width: 768px) */
@media screen and (max-width: 768px) {
    /* Base typography scaling */
    body {
        font-size: 16px !important;
    }
    
    /* Hero text - scale up the VW so it isn't tiny */
    .ml3._1, .ml3._2, .ml3._3 {
        font-size: clamp(48px, 12vw, 120px) !important;
        line-height: 1.2 !important;
    }
    
    .heading--long {
        font-size: clamp(32px, 6vw, 90px) !important;
    }
    
    /* Adjust massive padding */
    .section, .section--white, .brands__logo-section {
        padding: 40px 5vw !important;
        height: auto !important;
        min-height: auto !important;
    }
    
    /* Force grids to single column if they aren't auto-wrapping properly */
    .brands__logo-section > div {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    
    /* Fix the navbar spacing */
    .nav {
        padding: 15px 5vw !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 15px !important;
    }
    
    .nav__left, .nav__right {
        width: 100% !important;
        justify-content: space-between !important;
    }
    
    /* Fix buttons */
    .nagi-button {
        width: 100% !important;
        justify-content: center !important;
        padding: 16px 24px !important;
    }
    
    .links__wrap, a.links .links__wrap {
        width: 100% !important;
        justify-content: space-between !important;
    }
    
    /* Text containers max-width fix */
    div[style*="max-width: 800px"] {
        max-width: 100% !important;
    }
    
    /* Adjust gallery/cards if they exist and are fixed width */
    .card__inner {
        width: 100% !important;
        margin: 0 !important;
    }
    
    .card-title {
        font-size: 24px !important;
    }
}


/* Responsive Overrides */
@media screen and (max-width: 768px) {
    .industry-card-top {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px;
    }
    
    .industry-btn {
        width: 100%;
        justify-content: space-between;
        margin-top: 16px;
    }
    
    .industry-card-bottom {
        padding: 24px;
        gap: 30px;
    }
}

/* ==========================================================================
   MONOLOG INTERACTIVE SECTION
   ========================================================================== */
.monolog-section {
    background-color: transparent;
    
    color: var(--text-primary, #fff) ;
    padding: 240px 5vw;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.monolog-grid {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

/* Subheading Label */
.monolog-label.subheading {
    display: flex;
    align-items: flex-start;
    font-size: clamp(24px, 3vw, 36px);
    line-height: 1.3;
    color: #aaa;
    margin-bottom: 16px;
    font-weight: 500;
}

.monolog-label.subheading::before {
    content: '';
    flex-shrink: 0;
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #888;
    margin-right: 14px;
    margin-top: 0.5em; /* Vertically align with first line of text */
}

/* Middle Column - Typography List */
.monolog-list {
    padding-left: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.monolog-item {
    display: block;
    width: 100%;
    padding-left: 24px;
    box-sizing: border-box;
    font-size: clamp(60px, 8vw, 130px);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -2.5px;
    color: rgba(255,255,255,0.22); /* Dimmed state */
    cursor: pointer;
    transition: color 0.4s cubic-bezier(0.25, 1, 0.5, 1), transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    transform-origin: left center;
}

/* Hover logic:
   If the LIST is hovered, all items stay dim EXCEPT the one specifically being hovered.
   If the LIST is NOT hovered, the first item is active by default. */
.monolog-list:hover .monolog-item {
    display: block;
    width: 100%;
    padding-left: 24px;
    box-sizing: border-box;
    color: rgba(255,255,255,0.22);
}

.monolog-list:hover .monolog-item:hover {
    color: var(--text-primary, #fff) ; /* Only the specifically hovered item lights up */
}

.monolog-list:not(:hover) .monolog-item.active-default {
    color: var(--text-primary, #fff) ; /* Default active item when mouse leaves the area */
}

/* Right Column - Dedicated Grid Space */
.monolog-right {
    position: relative;
    width: 480px;
    flex-shrink: 0;
    height: 100%;
    display: block;
}

/* The element that actually slides up and down */
.monolog-image-track {
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    aspect-ratio: 4/4.5;
    background-color: transparent;
    overflow: hidden;
    border-radius: 4px;
    pointer-events: none;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    transform: translateY(-50%);
    z-index: 10;
}

.monolog-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease, transform 0.8s ease;
    transform: scale(1.05);
}

.monolog-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    visibility: hidden;
    /* Faster opacity, slightly springy transform for a 'pop' */
    transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    transform: scale(0.95) translateY(20px);
}

.monolog-img.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1) translateY(0);
}

/* Responsive Overrides */
@media screen and (max-width: 1024px) {
    .monolog-grid {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}
}
    .monolog-left {
        grid-column: 1 / -1; /* Span across top */
        margin-bottom: 16px;
    }
}

@media screen and (max-width: 768px) {
    .monolog-section {
        padding: 60px 5vw;
        overflow: hidden;
}
    .monolog-grid {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}
    .monolog-right {
    position: relative;
    width: 480px;
    flex-shrink: 0;
    height: 100%;
    display: block;
}
    .monolog-item {
    display: block;
    width: 100%;
    padding-left: 24px;
    box-sizing: border-box;
        color: var(--text-primary, #fff) ; /* On mobile, everything is bright since no hover exists */
        margin-bottom: 16px;
    }
    .monolog-list:hover .monolog-item {
    display: block;
    width: 100%;
    padding-left: 24px;
    box-sizing: border-box;
        color: var(--text-primary, #fff) ; /* Disable dimming on mobile */
    }
}

/* Quote Layout */
.monolog-left {
    display: flex;
    flex-direction: column;
    justify-content: flex-start; margin-top: 10px;
    width: 320px;
    flex-shrink: 0;
    padding-right: 2vw;
    color: var(--text-primary, #fff) ;
}

.monolog-quote-wrap {
    max-width: 320px;
    
}

.monolog-quote-header {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid rgba(255,255,255,0.2);
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding: 16px 0;
    margin-bottom: 30px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
}

.monolog-quote-label {
    font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
    font-size: 11px;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 24px;
}

.monolog-quote-text {
    font-size: 32px;
    line-height: 1.3;
    font-weight: 600;
    margin-bottom: 40px;
    letter-spacing: -0.5px;
}

.monolog-quote-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(to bottom, #004fb0, #46c2eb);
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-size: 16px;
    font-weight: 600;
    color: #aaa;
}

.author-title {
    font-size: 14px;
    color: #888;
}

.monolog-image-track::after {
    content: '';
    position: absolute;
    top: 30px;
    left: 30px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: #fff;
    z-index: 20;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.monolog-content-wrapper { flex-grow: 1; margin-left: 6vw; margin-right: 4vw; }

#quote-text { transition: opacity 0.5s ease; }

/* Force transparent backgrounds so the ocean theme is fully visible */
.section, .section--white, .monolog-section, .black-bg, .meech-horizontal-scroll-container {
    background-color: transparent !important;
    background: transparent !important;
}
.section--home-hero, .section--home-hero * {
    /* Keep video section intact */
}

/* Explicit color overrides for buttons and titles */
body.surface-ocean .nagi-button, 
body.surface-ocean .links__wrap, 
body.surface-ocean a.links .links__wrap {
    color: #111111 !important;
    border: 1px solid rgba(17, 17, 17, 0.4) !important;
}
body.surface-ocean .nagi-button-text, 
body.surface-ocean .nagi-button-arrow, 
body.surface-ocean .link__text, 
body.surface-ocean .link__text p, 
body.surface-ocean .link__arrow, 
body.surface-ocean .link__arrow svg, 
body.surface-ocean .link__arrow svg.arrow-img {
    color: #111111 !important;
    stroke: #111111 !important;
    fill: #111111 !important;
}
body.surface-ocean .section-title--small {
    color: #111111 !important;
}

body.deep-ocean .nagi-button, 
body.deep-ocean .links__wrap, 
body.deep-ocean a.links .links__wrap {
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
}
body.deep-ocean .nagi-button-text, 
body.deep-ocean .nagi-button-arrow, 
body.deep-ocean .link__text, 
body.deep-ocean .link__text p, 
body.deep-ocean .link__arrow, 
body.deep-ocean .link__arrow svg, 
body.deep-ocean .link__arrow svg.arrow-img {
    color: #ffffff !important;
    stroke: #ffffff !important;
    fill: #ffffff !important;
}
body.deep-ocean .section-title--small {
    color: #ffffff !important;
}


/* ==========================================================================
   DOWNLOAD PAGE SPECIFIC STYLES
   ========================================================================== */

.body.dl-page-body {
    background-color: #ffffff !important;
    background: #ffffff !important;
    color: #111111;
    overflow-x: hidden;
}

/* Make sure the navbar glass effect works on white */
.dl-page-body .navbar-glass-bg {
    background: rgba(255, 255, 255, 0.8) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
}

/* Make navbar text dark on the download page */
.dl-page-body .nav-txtxlinks, 
.dl-page-body .nagi-desktop-nav a:not([href="download.html"]) {
    color: #111111 !important;
}

/* Explicitly style the Logo to ensure it stands out on white */
.dl-page-body .logo--home span:last-child {
    color: #111111 !important;
}


.dl-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4vw;
}

/* Header Section */
.dl-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.dl-title {
    font-size: 4rem;
    font-weight: 400;
    margin: 0;
    line-height: 1.1;
    color: #202124;
    letter-spacing: -1.5px;
}

.dl-cursor {
    display: inline-block;
    width: 3px;
    height: 4rem;
    background: linear-gradient(to bottom, #4285f4, #ea4335, #fbbc05, #34a853);
    vertical-align: middle;
    margin-left: 8px;
    margin-bottom: 8px;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

.dl-btn-ghost {
    background: #f1f3f4;
    color: #3c4043;
    padding: 10px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
}

.dl-btn-ghost:hover {
    background: #ebebeb;
    color: #111111;
}

/* Sub-nav Tabs */
.dl-tabs {
    display: flex;
    margin-bottom: 60px;
    gap: 15px;
    overflow-x: auto;
}

.dl-tab {
    padding: 8px 16px;
    color: #3c4043;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    border: 1px solid #dadce0;
    border-radius: 30px;
    display: flex;
    align-items: center;
    background: #fff;
}

.dl-tab.active {
    color: #1a73e8;
    border-color: #1a73e8;
    background: rgba(26, 115, 232, 0.04);
}

.dl-tab:hover:not(.active) {
    color: #111111;
}

.dl-tab-icon {
    font-family: inherit;
    color: inherit;
    background: transparent;
    padding: 0;
    margin-right: 8px;
}

.dl-tab.active .dl-tab-icon {
    color: #1a73e8;
    background: transparent;
}

/* Download Sections */
.dl-section-title {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 40px;
    color: #202124;
}

.dl-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.dl-card {
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 30px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
}

.dl-os-title {
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0 0 24px 0;
    display: flex;
    align-items: center;
    color: #202124;
}

/* Buttons */
.dl-btn-primary, .dl-btn-secondary {
    background: #f1f3f4;
    color: #3c4043;
    border: none;
}

.dl-btn-primary {
    background: #202124;
    color: #ffffff;
    border: 1px solid #202124;
}

.dl-btn-primary:hover {
    background: #333333;
}

.dl-btn-secondary {
    background: #f1f3f4;
    color: #3c4043;
    border: none;
}

.dl-btn-secondary:hover {
    background: #f0f0f0;
    border-color: #d0d0d0;
}

/* Requirements */
.dl-requirements {
    margin-top: 30px;
}

.dl-requirements h4 {
    font-size: 12px;
    color: #202124;
    margin: 0 0 4px 0;
    font-weight: 500;
}

.dl-requirements p {
    font-size: 12px;
    color: #5f6368;
    margin: 0;
    line-height: 1.5;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .dl-title {
    font-size: 4rem;
    font-weight: 400;
    margin: 0;
    line-height: 1.1;
    color: #202124;
    letter-spacing: -1.5px;
}
    .dl-grid {
        grid-template-columns: 1fr;
    }
}


/* DL Classes */
.dl-main {
    background-color: #fff;
    font-family: 'Google Sans Flex', 'Google Sans', sans-serif;
    color: #1a1a1a;
    padding-top: 100px;
}

.dl-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 40px;
}

.dl-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.dl-title {
    font-size: 52px;
    font-weight: 400;
    line-height: 1.15;
    margin: 0;
    letter-spacing: -1px;
}

.dl-btn-ghost {
    padding: 10px 20px;
    border-radius: 40px;
    background-color: #f1f3f4;
    color: #1a1a1a;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    margin-top: 16px;
    display: inline-block;
    transition: background-color 0.2s;
}

.dl-btn-ghost:hover {
    background-color: #e8eaed;
}

.dl-tabs {
    display: flex;
    gap: 32px;
    margin-bottom: 60px;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 16px;
}

.dl-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #5f6368;
    cursor: pointer;
    font-weight: 500;
    padding-bottom: 16px;
    margin-bottom: 0;
    
}

.dl-tab.active {
    color: #1a73e8;
    
}

.dl-tab.active .dl-tab-icon {
    color: #1a73e8;
}

.dl-section-title {
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 40px;
}

.dl-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0; /* Let padding handle spacing */
}

.dl-card {
    border-right: 1px solid #eaeaea;
    padding-right: 40px;
    padding-left: 40px;
}
.dl-card:first-child {
    padding-left: 0;
}
.dl-card:last-child {
    border-right: none;
    padding-right: 0;
}

.dl-os-title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.dl-btn-primary {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 16px 24px;
    border-radius: 40px !important;
    background-color: #1a1a1a !important;
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 16px;
    box-sizing: border-box;
    transition: opacity 0.2s;
    line-height: 1;
}

.dl-btn-primary:hover {
    opacity: 0.8;
}

.dl-btn-secondary {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 16px 24px;
    border-radius: 40px !important;
    background-color: #f1f3f4 !important;
    color: #1a1a1a !important;
    text-decoration: none !important;
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 40px;
    box-sizing: border-box;
    transition: background-color 0.2s;
    line-height: 1;
}

.dl-btn-secondary:hover {
    background-color: #e8eaed !important;
}

.dl-requirements h4 {
    font-size: 12px;
    color: #1a1a1a;
    font-weight: 500;
    margin-bottom: 8px;
}

.dl-requirements p {
    font-size: 12px;
    color: #5f6368;
    line-height: 1.6;
    margin: 0;
}


/* ==========================================================================
   RESPONSIVE OVERRIDES
   ========================================================================== */

/* GLOBAL & GENERAL RULES */
html, body {
    max-width: 100vw;
    overflow-x: hidden;
}

/* Ensure all interactive elements have minimum touch targets */
@media screen and (max-width: 767px) {
    a, button, .link--footer-wrap {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Ensure containers have consistent padding */
    .w-container, .section, .nav-container, .footer_container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
    .w-container, .section, .nav-container, .footer_container {
        padding-left: 24px !important;
        padding-right: 24px !important;
    }
}

/* NAVIGATION */
@media screen and (max-width: 767px) {
    .nav-links {
        display: none !important;
    }
    .hamburger-menu {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        cursor: pointer;
        z-index: 1001;
    }
    
    /* Nav overlay for mobile */
    .mobile-nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.95);
        z-index: 1000;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }
    .mobile-nav-overlay.active {
        opacity: 1;
        pointer-events: auto;
    }
    .mobile-nav-overlay .nav-link {
        font-size: 24px;
        margin: 16px 0;
        color: white;
        text-decoration: none;
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    /* Keep CTA visible but adjust padding */
    .nav-cta {
        padding: 8px 16px !important;
        font-size: 14px;
    }
    
    .nav-container {
        justify-content: space-between;
    }
}

/* HERO SECTION */
@media screen and (max-width: 1023px) {
    .hero__title {
        font-size: 40px !important;
        line-height: 1.05 !important;
        text-align: left !important;
    }
    .hero__subtitle {
        font-size: 16px !important;
        text-align: left !important;
    }
}

@media screen and (max-width: 767px) {
    .hero__title {
        font-size: 32px !important;
    }
    .hero__subtitle {
        font-size: 15px !important;
    }
    .hero-video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* TYPEWRITER SECTION */
@media screen and (max-width: 1023px) {
    #typewriter-heading {
        font-size: 32px !important;
    }
}

@media screen and (max-width: 767px) {
    #typewriter-heading {
        font-size: 24px !important;
        white-space: normal !important;
        word-wrap: break-word;
    }
    .tw-container {
        white-space: normal !important;
    }
}

/* FEATURES SECTION */
@media screen and (max-width: 1023px) {
    .features__grid, .feature-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
}

@media screen and (max-width: 767px) {
    .features__grid, .feature-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    .feature-card, .c--wrap__card {
        padding: 16px !important;
    }
}

/* WORKFLOW SECTION */
@media screen and (max-width: 1023px) {
    /* If it's a flex/scroll container normally */
    .workflow-container, .cards-scroll, .c--scroll-track {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        overflow-x: hidden !important;
        width: 100% !important;
        gap: 20px;
    }
    /* We might need to override width 400vw etc */
    .c--scroll-track {
        width: auto !important;
        transform: none !important;
    }
}

@media screen and (max-width: 767px) {
    .workflow-container, .cards-scroll, .c--scroll-track {
        grid-template-columns: 1fr !important;
    }
    .card__img video {
        aspect-ratio: 16/9;
        object-fit: cover;
    }
}

/* RESEARCHERS SECTION */
@media screen and (max-width: 1023px) {
    .researchers-grid, .researchers-list {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 16px;
    }
}

@media screen and (max-width: 767px) {
    .researchers-grid, .researchers-list {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .researcher-img {
        width: 100% !important;
        aspect-ratio: 1/1;
        object-fit: cover;
    }
    .researcher-name, .researcher-caption {
        white-space: normal !important;
        word-wrap: break-word;
    }
}

/* WHO ITS FOR SECTION (MONOLOG) */
@media screen and (max-width: 767px) {
    .monolog-grid {
        display: flex !important;
        flex-direction: column !important;
    }
    
    .monolog-right {
        position: static !important;
        display: none; /* Hide the sticky right track on mobile */
    }
    
    .monolog-list {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }
    
    .monolog-item {
        font-size: 24px !important;
        opacity: 1 !important;
        color: white !important;
        pointer-events: none; /* disable hover logic */
    }
    
    /* Reveal images under labels on mobile */
    .monolog-mobile-img {
        display: block !important;
        width: 100%;
        border-radius: 8px;
        margin-top: 12px;
        aspect-ratio: 16/9;
        object-fit: cover;
    }

    /* Move quote above list */
    .monolog-left {
        display: flex;
        flex-direction: column;
    }
    #quote-text {
        order: -1;
        margin-bottom: 24px;
    }
}

/* Desktop hide mobile imgs */
@media screen and (min-width: 768px) {
    .monolog-mobile-img {
        display: none !important;
    }
}

/* DOWNLOAD PAGE */
@media screen and (max-width: 1023px) {
    .download-grid {
        grid-template-columns: 1fr 1fr !important;
    }
    /* Third child spanning full width */
    .download-grid > :nth-child(3) {
        grid-column: 1 / -1;
    }
}

@media screen and (max-width: 767px) {
    .download-grid {
        grid-template-columns: 1fr !important;
    }
    .download-card {
        padding: 16px !important;
    }
    .dl-btn {
        width: 100% !important;
    }
    .pill-changelog {
        position: static !important;
        display: inline-block;
        margin-top: 16px;
    }
}

/* FOOTER */
@media screen and (max-width: 1023px) {
    .footer__grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 32px;
    }
}

@media screen and (max-width: 767px) {
    .footer__grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 24px;
    }
    
    .c--wrap {
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding-bottom: 24px;
    }
    
    .footer__newsletter {
        width: 100%;
    }
    
    .form--newsletter {
        flex-direction: column !important;
    }
    
    .newsletter-text-field {
        width: 100% !important;
        margin-bottom: 12px;
    }
    
    .newsletter-submit-button {
        width: 100% !important;
    }
    
    .footer-social-wrap {
        justify-content: center !important;
    }
    
    .footer__copyright-txt {
        text-align: center !important;
    }
}
