:root {
    --mesa-navy: #071a2c;
    --mesa-navy-2: #0f2a43;
    --mesa-blue: #2563eb;
    --mesa-blue-light: #3b82f6;
    --mesa-text: #17324a;
    --mesa-muted: #627589;
    --mesa-line: #dce5ee;
    --mesa-soft: #f5f8fc;
    --mesa-white: #ffffff;
    --mesa-radius: 16px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #ffffff;
    color: var(--mesa-text);
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

.mesa-container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.mesa-skip-link {
    position: absolute;
    left: -9999px;
}

.mesa-skip-link:focus {
    left: 20px;
    top: 20px;
    z-index: 99999;
    padding: 10px 15px;
    background: #fff;
}


/* =========================================
   HEADER
   ========================================= */

.mesa-topbar {
    background: #041322;
    color: #b9c9d8;
    font-size: 14px;
}

.mesa-topbar-inner {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.mesa-topbar a {
    color: #ffffff;
    font-weight: 700;
}

.mesa-header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.mesa-header-main {
    background: rgba(7, 26, 44, .97);
    border-bottom: 1px solid rgba(255,255,255,.08);
    backdrop-filter: blur(14px);
}

.mesa-header-row {
    min-height: 82px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.mesa-logo {
    width: 235px;
    flex: 0 0 auto;
}

.mesa-logo img {
    display: block;
    width: 100%;
}

.mesa-nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 24px;
}

.mesa-nav a {
    color: #dbe7f2;
    font-size: 15px;
    font-weight: 600;
    transition: color .18s ease;
}

.mesa-nav a:hover {
    color: #ffffff;
}

.mesa-header-cta {
    padding: 12px 19px;
    background: var(--mesa-blue);
    color: #ffffff;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 750;
}

.mesa-mobile-menu {
    display: none;
    width: 43px;
    height: 40px;
    padding: 9px;
    background: transparent;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 8px;
}

.mesa-mobile-menu span {
    display: block;
    height: 2px;
    margin: 4px 0;
    background: #ffffff;
}


/* =========================================
   ELEMENTS COMMUNS
   ========================================= */

.mesa-section {
    padding: 88px 0;
}

.mesa-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--mesa-blue);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .14em;
}

.mesa-section-heading {
    max-width: 700px;
    margin-bottom: 38px;
}

.mesa-section-heading h2 {
    margin: 0 0 13px;
    color: var(--mesa-navy-2);
    font-size: clamp(30px, 4vw, 45px);
    line-height: 1.08;
    letter-spacing: -.035em;
}

.mesa-section-heading p {
    margin: 0;
    color: var(--mesa-muted);
    font-size: 16px;
}

.mesa-btn {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    border-radius: 9px;
    font-size: 15px;
    font-weight: 750;
    transition:
        transform .18s ease,
        box-shadow .18s ease;
}

.mesa-btn:hover {
    transform: translateY(-1px);
}

.mesa-btn-primary {
    background: var(--mesa-blue);
    color: #ffffff;
    box-shadow: 0 9px 23px rgba(37,99,235,.22);
}

.mesa-btn-secondary {
    color: #ffffff;
    border: 1px solid rgba(255,255,255,.28);
    background: rgba(255,255,255,.055);
}

.mesa-btn-light {
    background: #ffffff;
    color: var(--mesa-navy-2);
}


/* =========================================
   FOOTER
   ========================================= */

.mesa-footer {
    padding-top: 66px;
    background: #061827;
    color: #9fb2c4;
}

.mesa-footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 45px;
    padding-bottom: 55px;
}

.mesa-footer h3 {
    margin: 0 0 15px;
    color: #ffffff;
    font-size: 15px;
}

.mesa-footer a,
.mesa-footer p {
    display: block;
    margin: 0 0 9px;
    font-size: 14px;
}

.mesa-footer a:hover {
    color: #ffffff;
}

.mesa-footer-brand img {
    width: 235px;
    margin-bottom: 18px;
}

.mesa-footer-brand p {
    max-width: 360px;
}

.mesa-footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
}

.mesa-footer-bottom .mesa-container {
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    font-size: 12px;
}


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

@media (max-width: 960px) {

    .mesa-nav,
    .mesa-header-cta {
        display: none;
    }

    .mesa-mobile-menu {
        display: block;
        margin-left: auto;
    }

    .mesa-nav.is-open {
        position: absolute;
        display: flex;
        top: 116px;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 14px 20px 20px;
        background: #071a2c;
        border-top: 1px solid rgba(255,255,255,.08);
    }

    .mesa-nav.is-open a {
        padding: 12px 4px;
        border-bottom: 1px solid rgba(255,255,255,.07);
    }

    .mesa-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {

    .mesa-container {
        width: min(100% - 28px, 1180px);
    }

    .mesa-topbar {
        display: none;
    }

    .mesa-header-row {
        min-height: 69px;
    }

    .mesa-logo {
        width: 176px;
    }

    .mesa-nav.is-open {
        top: 69px;
    }

    .mesa-section {
        padding: 55px 0;
    }

    .mesa-section-heading {
        margin-bottom: 24px;
    }

    .mesa-section-heading h2 {
        font-size: 29px;
    }

    .mesa-footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .mesa-footer-bottom .mesa-container {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        padding: 17px 0;
    }
}
