body{
    margin: 0;
}

html{
    scroll-behavior: smooth;
}


a:link{
    text-decoration: none!important;
    -webkit-tap-highlight-color: transparent;
}

.img{
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.copy-contact{
    cursor: pointer;
}

.hidden {
    opacity: 0;
    filter: blur(6px);
    transform: translateY(100%);
    transition: all 0.80s;
}

.show {
    opacity: 1;
    filter: blur(0px);
    transform: translateX(0%);
}

.logo:nth-child(1) {
    transition-delay: 0ms ;
}

.logo:nth-child(2) {
    transition-delay: 200ms ;
}

.logo:nth-child(3) {
    transition-delay: 300ms ;
}

.logo:nth-child(4) {
    transition-delay: 400ms ;
}

.logo:nth-child(5) {
    transition-delay: 500ms ;
}
.logo:nth-child(6) {
    transition-delay: 5600ms ;
}

.logo:nth-child(7) {
    transition-delay: 700ms ;
}











/*DESKTOP VIEW ONLY*/
.desktop{
    width: 100%;

    .top-blur{
        width: 100%;
        height: 300px;
        background-color: rgb(255, 255, 255);
        position: fixed;
        -webkit-backdrop-filter: blur(15px);
        
        /* Mask controls the visibility of the blur effect layer */
        mask-image: linear-gradient(to bottom, transparent 0%, black 100%);

        -webkit-mask-image: linear-gradient(to top, transparent 0%, black 100%);
    }

    .nav-bar{
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 80px;
        display: flex;
        justify-content: center;
        align-items: end;
        z-index: 10;

        .item-container{
            width: 90%;
            height: auto;
            display: flex;
            justify-content: space-between;
            align-items: center;

            .logo{
                position: relative;
                z-index: 2;
                width: auto;
                height: 14px;
                object-fit: contain;
            }

            .nav-group{
                display: flex;
                align-items: center;
                gap: 30px;

                .text-container{
                    display: flex;
                    gap: 30px;
                    text-decoration: none;

                    .nav-item{
                        position: relative;
                    }

                    .nav-title{
                        position: relative;
                        z-index: 2;
                        color: rgb(0, 0, 0);
                        font-family: inter;
                        font-size: 13px;
                        padding-bottom: 4px;
                    }
                }

                .nav-link{
                    position: relative;
                    z-index: 2;
                    color: rgb(0, 0, 0);
                    font-family: inter;
                    font-size: 13px;
                    padding-bottom: 4px;
                }

                &:has(.nav-item:hover) ~ .mega-panel{
                    opacity: 1;
                    visibility: visible;
                    clip-path: inset(0 0 0% 0);
                }
            }

            .schedule-btn{
                position: relative;
                z-index: 2;
                background-color: rgb(0, 0, 0);
                box-sizing: border-box;
                padding-left: 26px;
                padding-right: 26px;
                height: 34px;
                display: flex;
                justify-content: center;
                align-items: center;

                color: rgb(255, 255, 255);
                font-family: inter;
                font-size: 13px;
                border-radius: 4px;
                font-weight: 500;
            }

            .nav-overlay{
                position: fixed;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                background-color: rgba(0, 0, 0, 0.1);
                -webkit-backdrop-filter: blur(8px);
                backdrop-filter: blur(8px);
                opacity: 0;
                visibility: hidden;
                pointer-events: none;
                transition: opacity 0.3s ease, visibility 0.3s;
                z-index: 0;
            }

            &:has(.nav-item:hover, .mega-panel:hover) .nav-overlay{
                opacity: 1;
                visibility: visible;
            }

            .mega-panel{
                position: fixed;
                top: 0;
                left: 0;
                width: 100%;
                box-sizing: border-box;
                background-color: rgba(255, 255, 255, 0.97);
                -webkit-backdrop-filter: blur(20px);
                backdrop-filter: blur(20px);
                box-shadow: 0 20px 40px rgba(0, 0, 0, 0.10);
                opacity: 0;
                visibility: hidden;
                clip-path: inset(0 0 100% 0);
                transition: opacity 0.3s cubic-bezier(0.28, 0.11, 0.32, 1), clip-path 0.3s cubic-bezier(0.28, 0.11, 0.32, 1), visibility 0.3s;
                z-index: 1;

                &:hover{
                    opacity: 1;
                    visibility: visible;
                    clip-path: inset(0 0 0% 0);
                }

                .mega-panel-inner{
                    width: 90%;
                    margin: 0 auto;
                    box-sizing: border-box;
                    padding: 120px 0 40px;
                    overflow: hidden;
                    transition: height 0.3s cubic-bezier(0.28, 0.11, 0.32, 1);
                }

                .mega-content{
                    display: none;
                    gap: 132px;
                    transition: opacity 0.3s ease;
                }

                .mega-content.active{
                    display: flex;
                    opacity: 1;
                }

                .mega-col{
                    display: grid;
                    gap: 6px;
                    align-content: start;

                    .mega-heading{
                        font-family: inter;
                        font-weight: 400;
                        font-size: 12px;
                        color: #7D8187;
                        margin-bottom: 4px;
                    }

                    .mega-link{
                        display: block;
                        font-family: inter;
                        font-weight: 400;
                        font-size: 12px;
                        color: #1A1A1A;
                        transition: color 0.2s ease, transform 0.2s ease;
                    }

                    .mega-link:hover{
                        color: #757575;
                        text-decoration: underline;
                    }
                }

                .mega-col:first-child{
                    .mega-heading{
                        font-size: 12px;
                        font-weight: 400;
                        letter-spacing: normal;
                        text-transform: none;
                        color: #7D8187;
                        margin-bottom: 0px;
                    }

                    .mega-link{
                        font-size: 26px;
                        font-weight: 500;
                    }
                }
            }
        }
    }



    .bottom-content{
        width: 100%;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: start;
        padding-top: 82px;
        padding-left: 100px;
        padding-right: 100px;
        padding-bottom: 32px;

        .flex-box{
            width: fit-content;
            height: auto;
            box-sizing: border-box;
            padding-top: 0;
            display: flex;
            gap: 82px;

            .text-container{
                width: fit-content;
                height: auto;

                .title{
                    font-family: inter;
                    font-weight: 500;
                    font-size: 11px;
                    letter-spacing: -0.03em;
                    color: #000000;
                    margin-bottom: 12px;
                }

                .title-spaced{
                    margin-top: 42px;
                }

                .title2{
                    font-family: inter;
                    font-weight: 500;
                    font-size: 12px;
                    color: #ADADAD;
                }

                .grid-box{
                    display: grid;
                    gap: 12px;

                    .link{
                        display: grid;
                        gap: 12px;

                        .details{
                            font-family: inter;
                            font-weight: 400;
                            font-size: 12px;
                            margin-top: 0px;
                            color: #757575;
                            transition: color 0.2s ease;
                            letter-spacing: -0.03em;
                        }

                        .title3{
                            font-family: inter;
                            font-weight: 500;
                            font-size: 12px;
                            color: #000000;
                            text-decoration: solid underline;
                        }
                    }

                    a:hover .details{
                        color: #757575;
                        text-decoration: underline;
                    }
                }

                .footer-nav{
                    display: grid;
                    gap: 12px;

                    .footer-link{
                        font-family: inter;
                        font-weight: 400;
                        font-size: 12px;
                        color: #757575;
                        transition: color 0.2s ease, transform 0.2s ease;
                    }

                    .footer-link:hover{
                        color: #000000;
                        transform: translateX(4px);
                    }
                }
            }
        }

        .bottom-bar{
            width: 90%;
            margin-top: 200px;

            .bottom-divider{
                width: 100%;
                height: 1px;
                background-color: #E5E5E7;
                margin-bottom: 24px;
            }

            .copyright{
                font-family: inter;
                font-weight: 400;
                font-size: 12px;
                color: #ADADAD;
            }
        }
    }
}

body.menu-open{
    overflow: hidden;
}




/* ===== SHARE YOUR FEEDBACK =====
   Same form styles as the Schedule a Visit page (visit-* classes), plus the
   star rating. One form shared by desktop and mobile (outside
   .desktop/.mobile, like the FAQ page). Submitted by feedback-form.js. */
.visit-page{
    --visit-text: #1A1A1A;
    --visit-muted: #757575;
    --visit-subtle: #7D8187;
    --visit-border: #E5E5E7;
    --visit-field: rgb(255, 255, 255);
    --visit-surface: #F5F5F7;
    --visit-accent: #1A1A1A;
    --visit-on-accent: rgb(255, 255, 255);
    --visit-error: #E0483E;

    width: min(720px, 90%);
    margin: 0 auto;
    /* Starts below the desktop nav's fixed 300px white fade (.top-blur) so
       the heading isn't washed out at the top of the page. */
    padding: 260px 0 120px;
    box-sizing: border-box;
    font-family: inter;
    color: var(--visit-text);
}

.visit-hero{
    .visit-eyebrow{
        font-size: 12px;
        font-weight: 500;
        color: var(--visit-subtle);
    }

    .visit-title{
        margin: 0;
        font-size: 40px;
        font-weight: 600;
        line-height: 1.15;
        letter-spacing: -0.02em;
    }

    .visit-intro{
        margin: 12px 0 0;
        font-size: 15px;
        line-height: 1.55;
        color: var(--visit-muted);
    }
}

.visit-form{
    margin-top: 0;
}

.visit-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 16px;
}

.visit-field{
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;

    &.visit-span{
        grid-column: 1 / -1;
    }

    .visit-label{
        font-size: 12px;
        color: var(--visit-subtle);
    }

    .visit-optional{
        color: #ADADAD;
    }

    > input, > select, > textarea{
        width: 100%;
        box-sizing: border-box;
        min-height: 44px;
        padding: 0 12px;
        border: 1px solid var(--visit-border);
        border-radius: 4px;
        background-color: var(--visit-field);
        color: var(--visit-text);
        font-family: inter;
        font-size: 16px;
        outline: none;
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
        -webkit-appearance: none;
        appearance: none;

        &::placeholder{
            color: #ADADAD;
        }

        &:focus{
            border-color: var(--visit-accent);
            box-shadow: 0 0 0 3px rgba(125, 129, 135, 0.18);
        }
    }

    > select{
        padding-right: 36px;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%237D8187' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 14px center;
    }

    > textarea{
        padding: 12px;
        resize: vertical;
        line-height: 1.5;
    }

    .visit-hint{
        font-size: 12px;
        color: var(--visit-error);

        &:empty{
            display: none;
        }
    }

    &.visit-invalid{
        > input, > select, > textarea, .visit-upload{
            border-color: var(--visit-error);
        }
    }
}

/* File picker: the whole dashed box is the (visually hidden) input's label. */
.visit-upload{
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 24px 16px;
    border: 1px dashed #C9C9CC;
    border-radius: 6px;
    background-color: var(--visit-surface);
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s ease;

    &:hover, &:focus-within{
        border-color: var(--visit-accent);
    }

    input{
        position: absolute;
        width: 1px;
        height: 1px;
        opacity: 0;
    }

    .visit-upload-icon{
        font-size: 28px;
        color: var(--visit-subtle);
    }

    .visit-upload-text{
        font-size: 14px;
        font-weight: 500;
    }

    .visit-upload-sub{
        font-size: 12px;
        color: var(--visit-muted);
    }
}

.visit-file-list{
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 6px;

    &:empty{
        display: none;
    }

    li{
        display: flex;
        justify-content: space-between;
        gap: 12px;
        padding: 10px 12px;
        border: 1px solid var(--visit-border);
        border-radius: 4px;
        font-size: 13px;

        .visit-file-name{
            min-width: 0;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .visit-file-size{
            flex-shrink: 0;
            color: var(--visit-muted);
        }
    }
}

.visit-trap{
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.visit-consent{
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-top: 28px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--visit-muted);
    cursor: pointer;

    input{
        flex-shrink: 0;
        width: 18px;
        height: 18px;
        margin: 1px 0 0;
        accent-color: var(--visit-accent);
    }

    a{
        color: var(--visit-text);
        text-decoration: underline !important;
    }

    &.visit-invalid{
        color: var(--visit-error);
    }
}

.visit-error{
    margin: 16px 0 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--visit-error);
}

.visit-submit{
    width: 100%;
    height: 48px;
    margin-top: 24px;
    border: none;
    border-radius: 4px;
    background-color: var(--visit-accent);
    color: var(--visit-on-accent);
    font-family: inter;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.2s ease;

    &:disabled{
        opacity: 0.6;
        cursor: default;
    }
}

.visit-success{
    margin-top: 40px;
    padding: 48px 24px;
    border-radius: 8px;
    background-color: var(--visit-surface);
    text-align: center;

    .visit-success-icon{
        font-size: 48px;
        color: var(--visit-accent);
    }

    .visit-success-title{
        margin: 12px 0 0;
        font-size: 24px;
        font-weight: 600;
        letter-spacing: -0.02em;
    }

    .visit-success-text{
        margin: 8px auto 0;
        max-width: 380px;
        font-size: 14px;
        line-height: 1.55;
        color: var(--visit-muted);
    }

    .visit-home{
        width: auto;
        display: inline-flex;
        padding: 0 32px;
    }
}

/* Star rating: five radio buttons laid out right-to-left so that hovering or
   choosing a star can light up it and every star before it with ~ selectors. */
.visit-rating-field{
    margin: 40px 0 24px;
    padding: 0;
    border: none;
}

.visit-rating{
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 4px;

    input{
        position: absolute;
        width: 1px;
        height: 1px;
        opacity: 0;
    }

    label{
        cursor: pointer;
        line-height: 0;
        -webkit-tap-highlight-color: transparent;

        .material-symbols-rounded{
            font-size: 40px;
            color: var(--visit-border);
            transition: color 0.15s ease, transform 0.15s ease;
        }
    }

    input:checked ~ label .material-symbols-rounded,
    label:hover .material-symbols-rounded,
    label:hover ~ label .material-symbols-rounded{
        color: #F5B301;
    }

    input:focus-visible + label .material-symbols-rounded{
        transform: scale(1.12);
    }
}

.visit-rating-field.visit-invalid .visit-rating label .material-symbols-rounded{
    color: rgba(224, 72, 62, 0.35);
}

.visit-rating-field + .visit-grid{
    margin-top: 0;
}

[hidden]{
    display: none !important;
}

@media only screen and (max-width:750px){
    .visit-page{
        width: auto;
        padding: calc(64px + env(safe-area-inset-top) + 40px) 24px 16px;

        @media (prefers-color-scheme: dark){
            --visit-text: #EBEBEB;
            --visit-muted: #9E9E9E;
            --visit-subtle: #9E9E9E;
            --visit-border: #2A2A2A;
            --visit-field: #141414;
            --visit-surface: #1A1A1A;
            --visit-accent: #EBEBEB;
            --visit-on-accent: #0C0C0C;
            color-scheme: dark;
            background-color: #0C0C0C;
        }
    }

    /* The gap above the mobile footer shows the page background. */
    @media (prefers-color-scheme: dark){
        body{
            background-color: #0C0C0C;
        }
    }

    .visit-hero .visit-title{
        font-size: 30px;
    }

    .visit-grid{
        grid-template-columns: 1fr;
    }
}



/* ===== MOBILE VIEW ===== */
/*MOBILE VIEW ONLY*/
.mobile{
    display: none;
    background-color: rgb(255, 255, 255);
    width: 100%;
    font-family: inter;
    interpolate-size: allow-keywords;

    /* Shared accordion behavior for the menu and footer <details> groups.
       Browsers that support ::details-content animate open/close; others
       just snap open, which is fine. */
    details{
        summary{
            list-style: none;
            cursor: pointer;
            -webkit-tap-highlight-color: transparent;
        }

        summary::-webkit-details-marker{
            display: none;
        }

        .chevron{
            font-size: 24px;
            transition: transform 0.3s cubic-bezier(0.28, 0.11, 0.32, 1);
        }

        &[open] .chevron{
            transform: rotate(180deg);
        }

        &::details-content{
            block-size: 0;
            overflow: hidden;
            transition: block-size 0.3s cubic-bezier(0.28, 0.11, 0.32, 1), content-visibility 0.3s allow-discrete;
        }

        &[open]::details-content{
            block-size: auto;
        }
    }

    .mobile-nav{
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        box-sizing: border-box;
        padding: 0 20px;
        padding-top: env(safe-area-inset-top);
        display: flex;
        justify-content: space-between;
        align-items: center;
        z-index: 20;
        height: calc(64px + env(safe-area-inset-top));
        background-color: rgb(255, 255, 255);
        transition: background-color 0.3s ease;

        .mobile-logo{
            display: block;
            height: 14px;

            .img{
                width: auto;
                height: 100%;
                object-fit: contain;
                filter: brightness(0);
                transition: filter 0.3s ease;
            }
        }

        .menu{
            width: 44px;
            height: 44px;
            margin-right: -10px;
            padding: 0;
            border: none;
            background: none;
            cursor: pointer;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            gap: 6px;
            -webkit-tap-highlight-color: transparent;

            .menu-line{
                display: block;
                width: 20px;
                height: 1.5px;
                border-radius: 1px;
                background-color: #1A1A1A;
                transition: transform 0.3s cubic-bezier(0.28, 0.11, 0.32, 1), background-color 0.3s ease;
            }

            &.active{
                .menu-line:nth-child(1){
                    transform: translateY(3.75px) rotate(45deg);
                }

                .menu-line:nth-child(2){
                    transform: translateY(-3.75px) rotate(-45deg);
                }
            }
        }
    }

    /* Once the menu panel opens behind the nav, the bar's own background
       drops away so it blends into the panel. */
    body.menu-open & .mobile-nav{
        /* Solid, like the open menu, so the logo and X stay readable
           while the menu scrolls under them. No border. */
        background-color: #FFFFFF;

        .mobile-logo .img{
            filter: brightness(0);
        }

        .menu .menu-line{
            background-color: #1A1A1A;
        }
    }

    /* The panel is the same solid white as the nav bar and starts clipped
       to exactly the bar's height, so opening it reads as the bar itself
       extending down the screen. Its contents then fade in one by one.
       Closing runs in reverse: contents fade out first, then the panel
       retracts back into the bar. */
    .dropdown{
        --nav-height: calc(64px + env(safe-area-inset-top));
        --ease-panel: cubic-bezier(0.32, 0.72, 0, 1);

        position: fixed;
        inset: 0;
        z-index: 15;
        background-color: rgb(255, 255, 255);
        overflow-y: auto;
        overscroll-behavior: contain;
        visibility: hidden;
        clip-path: inset(0 0 calc(100% - var(--nav-height)) 0);
        transition: clip-path 0.45s var(--ease-panel) 0.12s, visibility 0s linear 0.57s;

        &.open{
            visibility: visible;
            clip-path: inset(0 0 0 0);
            transition: clip-path 0.5s var(--ease-panel), visibility 0s linear 0s;
        }

        .dropdown-inner{
            box-sizing: border-box;
            padding: 88px 24px 48px;
            padding-top: calc(88px + env(safe-area-inset-top));
            display: flex;
            flex-direction: column;

            > *{
                opacity: 0;
                transform: translateY(-8px);
                transition: opacity 0.15s ease, transform 0.15s ease;
            }
        }

        &.open .dropdown-inner > *{
            opacity: 1;
            transform: translateY(0);
            transition: opacity 0.4s ease, transform 0.4s var(--ease-panel);
        }

        &.open .dropdown-inner > :nth-child(1){ transition-delay: 0.18s; }
        &.open .dropdown-inner > :nth-child(2){ transition-delay: 0.23s; }
        &.open .dropdown-inner > :nth-child(3){ transition-delay: 0.28s; }
        &.open .dropdown-inner > :nth-child(4){ transition-delay: 0.33s; }
        &.open .dropdown-inner > :nth-child(5){ transition-delay: 0.38s; }

        @media (prefers-reduced-motion: reduce){
            &, &.open, .dropdown-inner > *, &.open .dropdown-inner > *{
                transition-duration: 0s !important;
                transition-delay: 0s !important;
            }
        }

        .menu-title{
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 14px 0;
            font-size: 28px;
            font-weight: 500;
            letter-spacing: -0.02em;
            color: #1A1A1A;

            .chevron{
                color: #7D8187;
            }
        }

        .menu-links{
            display: grid;
            gap: 14px;
            padding: 6px 0 24px;
            margin-top: 22px;

            .menu-heading{
                margin-top: 32px;
                font-size: 12px;
                font-weight: 400;
                color: #7D8187;
            }

            /* A heading that opens the section sits flush with the top
               padding instead of adding group spacing above itself. */
            .menu-heading:first-child{
                margin-top: 0;
            }

            .menu-link{
                font-size: 15px;
                font-weight: 400;
                line-height: 1.4;
                color: #1A1A1A;
            }
        }

        .menu-cta{
            margin-top: 82px;
            height: 48px;
            border-radius: 4px;
            background-color: #1A1A1A;
            color: rgb(255, 255, 255);
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 15px;
            font-weight: 500;
        }
    }


    .mobile-footer{
        box-sizing: border-box;
        padding: 40px 24px;
        margin-top: 62px;
        padding-bottom: calc(32px + env(safe-area-inset-bottom));
        background-color: rgb(255, 255, 255);

        .mobile-footer-group{
            border-bottom: 1px solid #E5E5E7;

            .mobile-footer-title{
                display: flex;
                justify-content: space-between;
                align-items: center;
                min-height: 48px;
                font-size: 13px;
                font-weight: 500;
                letter-spacing: -0.01em;
                color: #000000;

                .chevron{
                    font-size: 20px;
                    color: #ADADAD;
                }
            }

            .mobile-footer-links{
                display: grid;
                gap: 14px;
                padding: 4px 0 20px;

                .mobile-footer-link{
                    font-size: 13px;
                    font-weight: 400;
                    color: #757575;
                }
            }
        }

        .mobile-copyright{
            margin-top: 32px;
            font-size: 12px;
            font-weight: 400;
            color: #ADADAD;
        }
    }

    /* Dark theme: same #FFFFFF -> #0C0C0C surface mapping as the home
       page's desktop mega-panel and footer. */
    @media (prefers-color-scheme: dark){
        &{
            background-color: #0C0C0C;
        }

        .dropdown{
            background-color: #0C0C0C;

            .menu-title, .menu-links .menu-link{
                color: #EBEBEB;
            }

            .menu-cta{
                background-color: #EBEBEB;
                color: #0C0C0C;
            }
        }

        .mobile-nav{
            background-color: #0C0C0C;

            .mobile-logo .img{
                filter: none;
            }

            .menu .menu-line{
                background-color: #EBEBEB;
            }
        }

        body.menu-open & .mobile-nav{
            background-color: #0C0C0C;

            .mobile-logo .img{
                filter: none;
            }

            .menu .menu-line{
                background-color: #EBEBEB;
            }
        }

        .mobile-footer{
            background-color: #0C0C0C;

            .mobile-footer-group{
                border-bottom-color: #2A2A2A;

                .mobile-footer-title{
                    color: #FFFFFF;
                }

                .mobile-footer-links .mobile-footer-link{
                    color: #9E9E9E;
                }
            }
        }
    }
}

/* Inner-page content: shared type scale used by every page below. */
.mobile{
    --m-text: #000000;
    --m-muted: #757575;
    --m-subtle: #7D8187;
    --m-border: #E5E5E7;
    --m-surface: #F5F5F7;

    .mobile-main{
        box-sizing: border-box;
        padding: calc(64px + env(safe-area-inset-top) + 40px) 24px 0;
        color: var(--m-text);
    }

    .mobile-eyebrow{
        font-size: 12px;
        font-weight: 500;
        letter-spacing: -0.01em;
        color: var(--m-subtle);
    }

    .mobile-page-title{
        margin: 6px 0 0;
        font-size: 30px;
        font-weight: 600;
        line-height: 1.15;
        letter-spacing: -0.02em;
        color: var(--m-text);
    }

    .mobile-page-meta{
        margin-top: 10px;
        font-size: 12px;
        color: var(--m-muted);
    }

    .mobile-section{
        margin-top: 40px;
    }

    .mobile-section-title{
        margin: 0;
        font-size: 17px;
        font-weight: 600;
        line-height: 1.35;
        letter-spacing: -0.01em;
        color: var(--m-text);
    }

    .mobile-section-sub{
        margin-top: 4px;
        font-size: 12px;
        color: var(--m-muted);
    }

    .mobile-p{
        margin: 12px 0 0;
        font-size: 15px;
        line-height: 1.6;
        color: var(--m-muted);
        overflow-wrap: anywhere;

        a{
            color: inherit;
            text-decoration: underline !important;
        }
    }

    .mobile-divider{
        height: 1px;
        margin-top: 40px;
        background-color: var(--m-border);
    }

    .mobile-btn-row{
        display: flex;
        gap: 12px;
        margin-top: 20px;
    }

    .mobile-btn-solid, .mobile-btn-outline{
        flex: 1;
        height: 38px;
        box-sizing: border-box;
        border-radius: 4px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 12px;
        font-weight: 500;
    }

    .mobile-btn-solid{
        background-color: #1A1A1A;
        color: rgb(255, 255, 255);
    }

    .mobile-btn-outline{
        border: 1px solid var(--m-border);
        color: var(--m-text);
    }

    @media (prefers-color-scheme: dark){
        &{
            --m-text: #EBEBEB;
            --m-muted: #9E9E9E;
            --m-border: #2A2A2A;
            --m-surface: #1A1A1A;
        }

        .mobile-btn-solid{
            background-color: #EBEBEB;
            color: #0C0C0C;
        }
    }
}


@media only screen and (max-width:750px) {
    .desktop{
        display: none;
    }

    /*MOBILE VIEW ONLY*/
    .mobile{
        display: block;
    }
}

/* ===== DESKTOP DARK THEME ===== */
/* Follows the system setting, like the mobile view. Same #FFFFFF -> #0C0C0C
   surface mapping as the Home page. The base nav and footer colours are set
   several levels deep, so these use !important (as Home's do). */
@media (prefers-color-scheme: dark){
    body{
        background-color: #0C0C0C;
    }

    .desktop{
        background-color: #0C0C0C !important;

        .top-blur{
            background-color: #0C0C0C !important;
        }

        .nav-bar{
            .logo .img{
                filter: invert(1) !important;
            }

            .nav-title, .nav-link{
                color: #EBEBEB !important;
            }

            .schedule-btn{
                background-color: #EBEBEB !important;
                color: #0C0C0C !important;
            }

            .mega-panel{
                background-color: rgba(12, 12, 12, 0.97) !important;
                box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5) !important;

                .mega-heading{
                    color: #9E9E9E !important;
                }

                .mega-link{
                    color: #EBEBEB !important;
                }

                .mega-link:hover{
                    color: #ADADAD !important;
                }
            }
        }

        .bottom-content{
            background-color: #0C0C0C !important;

            .title, .title3{
                color: #FFFFFF !important;
            }

            .footer-link, .details{
                color: #9E9E9E !important;
            }

            .footer-link:hover{
                color: #FFFFFF !important;
            }

            .bottom-divider{
                background-color: #2A2A2A !important;
            }
        }
    }
}

/* Page content: the same dark tokens the phone layout uses. */
@media (prefers-color-scheme: dark){
    .visit-page{
        --visit-text: #EBEBEB;
        --visit-muted: #9E9E9E;
        --visit-subtle: #9E9E9E;
        --visit-border: #2A2A2A;
        --visit-field: #141414;
        --visit-surface: #1A1A1A;
        --visit-accent: #EBEBEB;
        --visit-on-accent: #0C0C0C;
        color-scheme: dark;
        background-color: #0C0C0C;
    }
}

/* ===== COMING SOON =====
   Placeholder product pages (products/product-pages/coming-soon/*), built on
   the Feedback page's shell. Colours come from the .visit-page tokens, so
   dark mode follows them. */
.soon-page{
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.soon-hero{
    width: 100%;
    text-align: center;

    /* Product photo above the badge (Power Pack). */
    .soon-image{
        display: block;
        width: min(190px, 50%);
        height: auto;
        margin: 0 auto 32px;
    }

    .soon-badge{
        display: inline-block;
        padding: 6px 14px;
        border-radius: 999px;
        background-color: var(--visit-surface);
        border: 1px solid var(--visit-border);
        font-size: 13px;
        font-weight: 500;
        color: var(--visit-muted);
    }

    .soon-title{
        margin: 20px 0 0;
        font-size: 56px;
        font-weight: 600;
        line-height: 1.1;
        letter-spacing: -0.02em;
    }

    .soon-intro{
        max-width: 480px;
        margin: 16px auto 0;
        font-size: 16px;
        line-height: 1.55;
        color: var(--visit-muted);
    }

    .soon-actions{
        margin-top: 32px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 12px 24px;
    }

    .soon-btn{
        padding: 12px 24px;
        border-radius: 999px;
        background-color: var(--visit-accent);
        color: var(--visit-on-accent);
        font-size: 15px;
        font-weight: 500;
        text-decoration: none;
        transition: opacity 0.2s ease;

        &:hover{
            opacity: 0.85;
        }
    }

    .soon-link{
        font-size: 15px;
        font-weight: 500;
        color: var(--visit-text);
        text-decoration: none;

        &:hover{
            text-decoration: underline;
        }
    }
}

@media only screen and (max-width:750px){
    /* Fills the first screen (the top padding clears the fixed nav), so the
       photo, badge, title and buttons sit in its middle. */
    .soon-page{
        box-sizing: border-box;
        min-height: 100vh;
        min-height: 100svh;
        padding-bottom: 64px;
    }

    .soon-hero .soon-title{
        font-size: 40px;
    }
}

/* ===== Product tags (mega panel and phone menu) =====
   "For <head unit>" pills after the extension batteries. */
/* A tagged link stays on one line, so its tag sits beside the name and the
   column keeps room for both instead of dropping the tag underneath. */
.mega-link:has(.product-tag), .menu-link:has(.product-tag){
    white-space: nowrap;
}

/* So the mega panel's columns still fit on narrower screens: their 132px gaps
   shrink (to 32px at the narrowest) instead of pushing the last column out of
   view. !important because the base rule is nested deep, as in the dark blocks. */
.mega-content{
    gap: clamp(32px, calc((100vw - 1100px) / 2), 132px) !important;
}

.product-tag{
    display: inline-block;
    margin-left: 6px;
    padding: 1px 6px;
    border-radius: 999px;
    background-color: #F0F0F0;
    color: #6E6E6E;
    font-family: inter;
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.5;
    white-space: nowrap;
    vertical-align: middle;
}

@media (prefers-color-scheme: dark){
    .product-tag{
        background-color: #2A2A2A;
        color: #9E9E9E;
    }
}

/* "Coming soon" pills, in red, after Power Pack, MAU10000 and MAU16000. */
.product-tag-soon{
    background-color: #FDECEC;
    color: #D70015;
}

@media (prefers-color-scheme: dark){
    .product-tag-soon{
        background-color: #3A1416;
        color: #FF6961;
    }
}
