:root {
    --navy: #0B2651;
    --navy-2: #123767;
    --navy-dark: #06152f;
    --coral: #FF7659;
    --coral-dark: #C9472F;
    --canvas: #F7F8FA;
    --surface: #FFFFFF;
    --tint: #F0F3F7;
    --slate: #59677A;
    --ink: #111827;
    --white: #FFFFFF;
    --border: #CBD3DE;
    --border-soft: #E2E7ED;
    --shell: 1240px;
    --section-space: clamp(3.6rem, 5vw, 5rem);
    --radius-card: 3px;
    --shadow-soft: 0 20px 52px rgba(8, 31, 67, .10);
    --shadow-float: 0 28px 72px rgba(8, 31, 67, .16);
    --font-display: "Montserrat", "Inter", Arial, Helvetica, sans-serif;
    --font-body: "Inter", Arial, Helvetica, sans-serif;
    --inner-hero-h1: clamp(2.85rem, 3.25vw, 3.35rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--canvas);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.58;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }

.skip-link {
    position: absolute;
    left: 1rem;
    top: -8rem;
    z-index: 10000;
    background: var(--coral);
    color: var(--navy-dark);
    padding: .75rem 1rem;
    font-weight: 800;
}
.skip-link:focus { top: 1rem; }

.shell { width: min(calc(100% - 48px), var(--shell)); margin-inline: auto; }
.section { padding-block: var(--section-space); }
.section--navy { background: var(--navy); color: var(--white); }
.section--tint { background: var(--tint); }

h1, h2, h3 {
    margin: 0;
    color: inherit;
    font-family: var(--font-display);
    letter-spacing: -.035em;
    line-height: 1.04;
}
h1 { font-size: clamp(3rem, 4.75vw, 4.3rem); font-weight: 900; }
h2 { max-width: 14ch; font-size: clamp(2.2rem, 3.7vw, 3.45rem); font-weight: 900; }
h3 { font-size: clamp(1.2rem, 1.7vw, 1.45rem); font-weight: 850; }

/* Inner-page hero title standard: applies to every strategic page, not just one template.
   Keep the visual volume comparable to the approved homepage rather than allowing long H1s to dominate the viewport. */
.simplton-site:not(.simplton-home) #simplton-main .simplton-inner-hero-title {
    max-width: 760px;
    font-size: var(--inner-hero-h1);
    line-height: 1.02;
    font-weight: 800;
    letter-spacing: -.035em;
    text-wrap: balance;
}
p { margin: 0 0 1rem; }

.eyebrow {
    margin: 0 0 .85rem;
    color: var(--navy);
    font-size: .7rem;
    font-weight: 900;
    letter-spacing: .17em;
    text-transform: uppercase;
}
.eyebrow--light { color: #C9D7E8; }
.muted { color: var(--slate); }

.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: .82rem 1.25rem;
    border: 1px solid transparent;
    border-radius: 2px;
    text-decoration: none;
    font-weight: 850;
    line-height: 1.1;
    transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
}
.button:hover { transform: translateY(-1px); }
.button--primary { background: var(--coral); color: var(--navy-dark); border-color: var(--coral); }
.button--primary:hover { background: #ff694b; }
.button--dark { background: var(--navy); color: var(--white); border-color: var(--navy); }
.button--dark:hover { background: var(--navy-dark); }
.button--light { background: var(--white); color: var(--navy); border-color: var(--white); }
.text-link { color: var(--navy); font-weight: 850; text-underline-offset: .2em; }
.button-row { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.button-row--center { justify-content: center; }

a:focus-visible, button:focus-visible, summary:focus-visible {
    outline: 3px solid var(--coral);
    outline-offset: 4px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,.94);
    border-bottom: 1px solid rgba(11,38,81,.10);
    backdrop-filter: blur(14px);
}
.site-header__inner {
    min-height: 74px;
    display: grid;
    grid-template-columns: 190px 1fr auto;
    gap: 1.5rem;
    align-items: center;
}
.brand { display: inline-flex; align-items: center; }
.brand img { display: block; width: 178px; height: auto; }
.primary-nav { display: flex; justify-content: center; gap: clamp(.8rem, 1.5vw, 1.35rem); }
.primary-nav a { text-decoration: none; color: var(--navy); font-size: .81rem; font-weight: 800; white-space: nowrap; }
.primary-nav a:hover { color: var(--coral-dark); }
.menu-toggle { display: none; }
.header-cta { min-height: 42px; padding: .7rem 1rem; font-size: .84rem; }

.section-heading { margin-bottom: 2rem; }
.section-heading p:not(.eyebrow) { max-width: 680px; margin-top: 1rem; color: var(--slate); font-size: 1rem; }

.site-footer {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #071a38 0%, #0B2651 58%, #123767 100%);
    color: var(--white);
    padding: 4rem 0 1.35rem;
}
.site-footer::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -180px;
    top: -250px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,118,89,.12), rgba(255,118,89,0) 70%);
    pointer-events: none;
}
.site-footer__top {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 1fr);
    gap: clamp(4rem, 8vw, 8rem);
    align-items: start;
}
.site-footer__brand { max-width: 420px; }
.site-footer__logo {
    width: 112px;
    height: auto;
    display: block;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}
.site-footer__tagline {
    margin: 0;
    color: var(--white);
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 1.8vw, 1.5rem);
    font-weight: 800;
    letter-spacing: -.02em;
}
.site-footer__links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem;
}
.site-footer__heading {
    display: block;
    margin-bottom: .95rem;
    color: #AFC0D7;
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.site-footer__nav { display: grid; align-content: start; gap: .62rem; }
.site-footer__nav a { color: #F3F7FB; text-decoration: none; font-size: .9rem; }
.site-footer__nav a:hover { color: var(--coral); }
.site-footer__bottom {
    position: relative;
    z-index: 1;
    margin-top: 3rem;
    padding-top: 1.15rem;
    border-top: 1px solid rgba(255,255,255,.16);
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    align-items: center;
    color: #B9C7D8;
}
.site-footer__legal { display: flex; gap: 1.4rem; }
.site-footer__legal a { color: #DDE6F0; text-decoration: none; font-size: .8rem; }
.site-footer__legal a:hover { color: var(--coral); }

@media (max-width: 1040px) {
    .site-header__inner { grid-template-columns: 1fr auto; gap: 1rem; }
    .primary-nav {
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        display: none;
        padding: 1rem 24px 1.4rem;
        background: var(--white);
        border-bottom: 1px solid var(--border-soft);
        flex-direction: column;
        align-items: flex-start;
    }
    .primary-nav.is-open { display: flex; }
    .menu-toggle {
        display: inline-flex;
        justify-self: end;
        min-height: 44px;
        align-items: center;
        border: 1px solid var(--navy);
        background: transparent;
        color: var(--navy);
        padding: .45rem .7rem;
        font-weight: 800;
        border-radius: 2px;
    }
    .header-cta { display: none; }
}

@media (max-width: 760px) {
    :root { --inner-hero-h1: clamp(2.15rem, 8.6vw, 2.55rem); }
    body { font-size: 16px; }
    .shell { width: min(calc(100% - 30px), var(--shell)); }
    .site-header__inner { min-height: 68px; }
    .brand img { width: 162px; }
    .site-footer { padding-top: 3rem; }
    .site-footer__top { grid-template-columns: 1fr; gap: 2.75rem; }
    .site-footer__links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem; }
    .site-footer__bottom { align-items: flex-start; flex-direction: column; gap: .7rem; }
    .button-row { align-items: stretch; }
    .button-row .button { width: 100%; }
}

@media (max-width: 430px) {
    .site-footer__links { grid-template-columns: 1fr; }
}


@media (max-width: 520px) {
    :root { --inner-hero-h1: clamp(2rem, 8.2vw, 2.3rem); }
    .simplton-site:not(.simplton-home) #simplton-main .simplton-inner-hero-title {
        max-width: 100%;
        line-height: 1.04;
        word-break: normal;
        overflow-wrap: normal;
        hyphens: none;
    }
    .simplton-site:not(.simplton-home) #simplton-main .simplton-inner-hero-title > span {
        display: inline !important;
        white-space: normal !important;
    }
    .simplton-site:not(.simplton-home) #simplton-main .simplton-inner-hero-title > span + span::before {
        content: " ";
    }
}

@media (max-width: 340px) {
    :root { --inner-hero-h1: 1.85rem; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* WordPress runtime safeguards */
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }

/* Coded Simplton routes own their layout; do not inherit Divi content-width behavior. */
.simplton-site #simplton-main,
.simplton-site #simplton-main .shell {
    max-width: none;
}
.simplton-site #simplton-main { width: 100%; }
.simplton-site #simplton-main .shell { width: min(calc(100% - 48px), var(--shell)); margin-inline: auto; }
@media (max-width: 760px) {
    .simplton-site #simplton-main .shell { width: min(calc(100% - 30px), var(--shell)); }
}
