:root {
    --vmms-navy: #0b1f3c;
    --vmms-navy-deep: #071d3a;
    --vmms-primary: #0d2d63;
    --vmms-primary-hover: #174892;
    --vmms-blue: #49a6ff;
    --vmms-orange: #ff9f43;
    --vmms-pale-blue: #c9d9ff;
    --vmms-paper: #ffffff;
    --vmms-page: #f4f7fb;
    --vmms-ink: #16233a;
    --vmms-muted: #63708a;
    --vmms-line: #dfe6f0;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body.public-page {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    background: var(--vmms-page);
    color: var(--vmms-ink);
    font-family: 'Poppins', sans-serif;
    line-height: 1.5;
    overflow-x: hidden;
}

a {
    color: inherit;
}

.public-header {
    min-height: 90px;
    padding: 0 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--vmms-navy-deep);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.public-brand {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    color: #fff;
    text-decoration: none;
}

.public-brand img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.public-brand-title {
    display: block;
    font-size: 16px;
    line-height: 22px;
    font-weight: 600;
}

.public-brand-subtitle {
    display: block;
    margin-top: 1px;
    color: #d9d9d9;
    font-size: 14px;
}

.public-nav ul {
    display: flex;
    align-items: center;
    gap: 45px;
    list-style: none;
}

.public-nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 44px;
    padding: 8px 0;
    color: #fff;
    font-size: 17px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.public-nav a:hover,
.public-nav a.active {
    color: var(--vmms-blue);
}

.public-nav a.active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    height: 3px;
    background: var(--vmms-blue);
}

.public-main {
    flex: 1 0 auto;
}

.page-shell {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 68px 0 84px;
    background:
        radial-gradient(circle at 12% 15%, rgba(73, 166, 255, 0.15), transparent 27%),
        radial-gradient(circle at 88% 85%, rgba(255, 159, 67, 0.12), transparent 24%),
        var(--vmms-navy);
    color: #fff;
    text-align: center;
}

.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.25;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(to bottom, #000, transparent 92%);
}

.page-hero .page-shell {
    position: relative;
    z-index: 1;
}

.page-eyebrow {
    margin-bottom: 13px;
    color: var(--vmms-orange);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.page-hero h1 {
    max-width: 900px;
    margin: 0 auto;
    font-size: clamp(34px, 4vw, 50px);
    line-height: 1.18;
    font-weight: 700;
}

.page-hero p {
    max-width: 790px;
    margin: 18px auto 0;
    color: var(--vmms-pale-blue);
    font-size: 16px;
    line-height: 1.8;
}

.mission-card {
    position: relative;
    z-index: 2;
    margin-top: -44px;
    padding: 34px 38px;
    display: flex;
    align-items: center;
    gap: 28px;
    border: 1px solid var(--vmms-line);
    border-radius: 18px;
    background: var(--vmms-paper);
    box-shadow: 0 18px 42px rgba(11, 31, 60, 0.12);
}

.mission-icon,
.about-icon,
.role-icon,
.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.mission-icon {
    width: 68px;
    height: 68px;
    border-radius: 17px;
    background: var(--vmms-primary);
    color: #fff;
    font-size: 27px;
}

.mission-copy h2 {
    margin-bottom: 8px;
    color: var(--vmms-primary);
    font-size: 20px;
}

.mission-copy p {
    color: var(--vmms-muted);
    font-size: 14px;
    line-height: 1.75;
}

.content-section {
    padding: 66px 0 0;
}

.section-heading {
    margin-bottom: 40px;
    text-align: center;
}

.section-kicker {
    margin-bottom: 9px;
    color: #2375c8;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.section-heading h2 {
    margin-bottom: 12px;
    color: var(--vmms-primary);
    font-size: clamp(27px, 3vw, 34px);
}

.section-heading p {
    max-width: 720px;
    margin: 0 auto;
    color: var(--vmms-muted);
    font-size: 14px;
    line-height: 1.75;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.capability-card,
.role-card {
    border: 1px solid var(--vmms-line);
    border-radius: 15px;
    background: var(--vmms-paper);
    box-shadow: 0 7px 20px rgba(13, 45, 99, 0.04);
}

.capability-card {
    padding: 28px 25px;
}

.about-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 17px;
    border-radius: 13px;
    background: #eaf4ff;
    color: #2375c8;
    font-size: 20px;
}

.capability-card h3,
.role-card h3 {
    margin-bottom: 8px;
    color: var(--vmms-primary);
    font-size: 16px;
}

.capability-card p,
.role-card p {
    color: var(--vmms-muted);
    font-size: 13px;
    line-height: 1.7;
}

.roles-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.role-card {
    padding: 25px 20px;
    text-align: center;
}

.role-icon {
    width: 54px;
    height: 54px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: var(--vmms-primary);
    color: #fff;
    font-size: 20px;
}

.coverage-panel {
    margin: 62px 0 70px;
    padding: 36px 34px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-radius: 18px;
    background: var(--vmms-navy);
    color: #fff;
    box-shadow: 0 18px 38px rgba(11, 31, 60, 0.15);
}

.coverage-item {
    padding: 0 18px;
    text-align: center;
}

.coverage-item + .coverage-item {
    border-left: 1px solid rgba(255, 255, 255, 0.13);
}

.coverage-value {
    color: var(--vmms-orange);
    font-size: 28px;
    font-weight: 700;
}

.coverage-label {
    margin-top: 4px;
    color: var(--vmms-pale-blue);
    font-size: 12px;
}

body.contact-page {
    background: var(--vmms-navy);
}

.contact-page .page-hero {
    padding: 54px 0 44px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.contact-page .page-hero h1,
.contact-page .page-hero p {
    max-width: 720px;
    margin-left: 0;
}

.contact-layout {
    padding: 52px 0 66px;
}

.contact-info {
    max-width: 980px;
    margin: 0 auto;
}

.contact-section-label {
    margin-bottom: 16px;
    color: #9eb0ce;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.contact-card {
    padding: 18px 20px;
    display: flex;
    align-items: flex-start;
    gap: 17px;
    border: 1px solid rgba(201, 217, 255, 0.19);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.025);
    color: #fff;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.contact-card > div:last-child {
    min-width: 0;
}

.contact-card:hover {
    border-color: rgba(255, 159, 67, 0.55);
    background: rgba(255, 159, 67, 0.055);
    transform: translateX(2px);
}

.contact-icon {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(201, 217, 255, 0.18);
    border-radius: 10px;
    background: rgba(13, 45, 99, 0.75);
    color: var(--vmms-orange);
    font-size: 17px;
}

.contact-label {
    margin-bottom: 5px;
    color: var(--vmms-orange);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.contact-value,
.contact-value a {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.contact-value a:hover {
    color: var(--vmms-blue);
}

.contact-value a,
.contact-subtext a {
    max-width: 100%;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    overflow-wrap: anywhere;
}

.contact-subtext {
    margin-top: 3px;
    color: #93a6c7;
    font-size: 12px;
    overflow-wrap: anywhere;
}

.contact-subtext a {
    color: inherit;
    text-decoration: none;
}

.contact-subtext a:hover {
    color: var(--vmms-blue);
}

.urgent-note {
    margin-top: 18px;
    padding: 17px 18px;
    display: flex;
    align-items: flex-start;
    gap: 13px;
    border: 1px solid rgba(255, 159, 67, 0.38);
    border-radius: 12px;
    background: rgba(255, 159, 67, 0.075);
    color: var(--vmms-pale-blue);
    font-size: 12px;
    line-height: 1.65;
}

.urgent-note i {
    margin-top: 2px;
    color: var(--vmms-orange);
    font-size: 17px;
}

.urgent-note strong {
    display: block;
    margin-bottom: 2px;
    color: #fff;
    font-size: 13px;
}

.public-footer {
    min-height: 86px;
    padding: 17px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    background: var(--vmms-navy-deep);
    color: #fff;
    font-size: 13px;
}

.public-footer-brand {
    display: flex;
    align-items: center;
    gap: 18px;
}

.public-footer-brand img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.public-footer-version {
    color: #d5d5d5;
    white-space: nowrap;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid rgba(73, 166, 255, 0.55);
    outline-offset: 4px;
}

@media (max-width: 960px) {
    .public-header {
        padding: 0 32px;
    }

    .public-nav ul {
        gap: 28px;
    }

    .capabilities-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .roles-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 760px) {
    .public-header {
        min-height: 0;
        padding: 15px 20px 13px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .public-brand img {
        width: 50px;
        height: 50px;
    }

    .public-brand-title {
        font-size: 14px;
        line-height: 19px;
    }

    .public-brand-subtitle {
        font-size: 12px;
    }

    .public-nav {
        width: 100%;
    }

    .public-nav ul {
        width: 100%;
        justify-content: space-between;
        gap: 18px;
    }

    .public-nav a {
        font-size: 14px;
    }

    .page-shell {
        width: min(calc(100% - 32px), 1180px);
    }

    .page-hero,
    .contact-page .page-hero {
        padding: 48px 0 68px;
        text-align: center;
    }

    .contact-page .page-hero {
        padding-bottom: 42px;
    }

    .contact-page .page-hero h1,
    .contact-page .page-hero p {
        margin-left: auto;
    }

    .page-hero p {
        font-size: 14px;
        line-height: 1.7;
    }

    .mission-card {
        padding: 28px 23px;
        flex-direction: column;
        gap: 18px;
        text-align: center;
    }

    .content-section {
        padding-top: 54px;
    }

    .capabilities-grid,
    .roles-grid {
        grid-template-columns: 1fr;
    }

    .coverage-panel {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px 0;
        padding: 32px 20px;
    }

    .coverage-item:nth-child(3) {
        border-left: 0;
    }

    .contact-layout {
        padding: 40px 0 52px;
    }

    .contact-cards {
        grid-template-columns: 1fr;
    }

    .public-footer {
        padding: 18px 22px;
        flex-direction: column;
        text-align: center;
    }

    .public-footer-brand {
        flex-direction: column;
        gap: 9px;
    }
}

@media (max-width: 390px) {
    .public-nav a i {
        display: none;
    }

    .coverage-panel {
        grid-template-columns: 1fr;
    }

    .coverage-item + .coverage-item {
        padding-top: 22px;
        border-top: 1px solid rgba(255, 255, 255, 0.13);
        border-left: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
