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

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

.text-display-lg {
    letter-spacing: 0 !important;
}

img {
    max-width: 100%;
}

@media (max-width: 767px) {
    header nav {
        grid-template-columns: auto auto !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    header nav > div:first-child a {
        gap: 0 !important;
    }

    header nav > div:last-child {
        gap: 4px !important;
    }

    header nav > div:last-child > button:first-child,
    header nav > div:last-child > button:nth-child(3) {
        display: none !important;
    }

    header nav img {
        height: 36px !important;
    }

    .px-margin-desktop {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .py-xl {
        padding-top: 48px !important;
        padding-bottom: 48px !important;
    }

    .px-xl {
        padding-left: 32px !important;
        padding-right: 32px !important;
    }

    .p-lg {
        padding: 24px !important;
    }

    .mt-xl {
        margin-top: 48px !important;
    }

    .mb-xl {
        margin-bottom: 48px !important;
    }

    .gap-gutter {
        gap: 20px !important;
    }

    .text-display-lg {
        font-size: clamp(40px, 12vw, 52px) !important;
        line-height: 1.08 !important;
    }

    .text-headline-lg {
        font-size: 32px !important;
        line-height: 1.2 !important;
    }

    .text-headline-md {
        font-size: 28px !important;
        line-height: 1.25 !important;
    }

    .text-headline-sm {
        font-size: 22px !important;
        line-height: 1.3 !important;
    }

    .text-body-lg {
        font-size: 16px !important;
        line-height: 1.6 !important;
    }

    .pt-\[120px\],
    .pt-32 {
        padding-top: 96px !important;
    }

    .pt-xl {
        padding-top: 88px !important;
    }

    .min-h-screen {
        min-height: 100svh !important;
    }

    [class*="min-h-[819px]"],
    [class*="min-h-[614px]"] {
        min-height: auto !important;
    }

    [class*="h-[614px]"],
    [class*="h-[600px]"],
    [class*="h-[400px]"] {
        height: 360px !important;
    }

    [class*="min-h-[400px]"] {
        min-height: 360px !important;
    }

    [class*="h-[240px]"] {
        height: 220px !important;
    }

    [class*="max-w-[60%]"] {
        max-width: 100% !important;
    }

    .bg-tertiary-fixed.rounded-xl.flex.items-center.justify-between {
        align-items: flex-start !important;
        flex-direction: column !important;
        gap: 16px !important;
    }

    section > .flex.items-baseline.justify-between {
        align-items: flex-start !important;
        flex-direction: column !important;
        gap: 12px !important;
    }

    section > .flex.items-baseline.justify-between > [class*="h-[1px]"] {
        flex-grow: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
    }

    .rounded-\[2rem\] {
        border-radius: 16px !important;
    }

    footer .grid {
        text-align: left;
    }
}
