:root {
    color-scheme: light;
    --ink: #16211f;
    --muted: #5c6b67;
    --paper: #fbfcf8;
    --surface: #ffffff;
    --line: #dfe7df;
    --forest: rgb(11 43 68);
    --teal: #0b2b44;
    --gold: #c8912a;
    --sky: #d9eef4;
    --rose: #f4ded7;
    --shadow: 0 18px 50px rgba(20, 43, 38, .12);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

.skip-link {
    background: var(--gold);
    color: #111;
    left: 1rem;
    padding: .65rem .85rem;
    position: fixed;
    top: -4rem;
    z-index: 20;
}

.skip-link:focus {
    top: 1rem;
}

.site-header {
    background: rgba(251, 252, 248, .94);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 10;
}

.header-inner,
.footer-inner,
.wrap {
    margin-inline: auto;
    max-width: 1160px;
    padding-inline: 1rem;
}

.header-inner {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    min-height: 78px;
    position: relative;
}

.brand {
    align-items: center;
    display: flex;
    gap: .75rem;
    min-width: 0;
    text-decoration: none;
}

.brand img {
    border-radius: 8px;
    flex: 0 0 65px;
    height: 65px;
    width: auto;
}

.brand strong {
    display: block;
    font-size: .98rem;
    line-height: 1.15;
}

.brand small {
    color: var(--muted);
    display: none;
    font-size: .76rem;
}

.header-actions {
    align-items: center;
    display: flex;
    gap: .5rem;
}

.language-switcher {
    align-items: center;
    background: #eef4f2;
    border: 1px solid var(--line);
    border-radius: 8px;
    display: inline-flex;
    gap: .15rem;
    padding: .2rem;
}

.language-switcher a {
    border-radius: 6px;
    color: var(--muted);
    font-size: .75rem;
    font-weight: 900;
    min-width: 34px;
    padding: .38rem .46rem;
    text-align: center;
    text-decoration: none;
}

.language-switcher a[aria-current="true"],
.language-switcher a:hover {
    background: var(--forest);
    color: #fff;
}

.visually-hidden {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.menu-toggle {
    align-items: center;
    background: var(--forest);
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
    height: 44px;
    justify-content: center;
    padding: 0;
    width: 44px;
}

.menu-toggle-line {
    background: #fff;
    border-radius: 999px;
    display: block;
    height: 2px;
    transition: opacity .18s ease, transform .18s ease;
    width: 21px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.site-nav {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    gap: .25rem;
    left: 1rem;
    padding: .55rem;
    position: absolute;
    right: 1rem;
    top: calc(100% - .25rem);
}

.site-nav[data-open] {
    display: flex;
}

.site-nav a {
    border-radius: 8px;
    color: var(--muted);
    flex: 0 0 auto;
    font-size: .82rem;
    font-weight: 700;
    padding: .78rem .8rem;
    text-decoration: none;
    text-transform: uppercase;
}

.site-nav a[aria-current="page"],
.site-nav a:hover {
    background: var(--forest);
    color: #fff;
}

.hero {
    background: linear-gradient(135deg, rgba(8, 24, 36, .9), rgba(15, 59, 52, .62)), url("/img/hero.webp") center / cover no-repeat;
    color: #fff;
    overflow: hidden;
    padding-block: 4rem 2.5rem;
}

.hero-grid {
    display: grid;
    gap: 2rem;
}

.hero h1,
.page-hero h1,
.not-found h1 {
    font-size: clamp(2.2rem, 9vw, 3.2rem);
    line-height: 1.02;
    margin: 0;
    max-width: 900px;
}

.hero p,
.page-hero p {
    color: rgba(255, 255, 255, .84);
    font-size: 1.08rem;
    margin: 1.2rem 0 0;
    max-width: 720px;
}

.eyebrow {
    color: var(--gold);
    font-size: 1rem;
    font-weight: 800;
    margin: 0 0 .85rem;
    text-transform: uppercase;
}

.hero-actions,
.inline-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 1.5rem;
}

.button,
.text-link {
    align-items: center;
    border-radius: 8px;
    display: inline-flex;
    font-weight: 800;
    min-height: 44px;
    text-decoration: none;
}

.button {
    background: var(--gold);
    color: #15110a;
    padding: .72rem 1rem;
}

.button.secondary {
    background: rgba(255, 255, 255, .12);
    color: #fff;
    outline: 1px solid rgba(255, 255, 255, .35);
}

.text-link {
    color: var(--teal);
}

.proof-strip {
    border-top: 1px solid rgba(255, 255, 255, .2);
    display: grid;
    gap: 1rem;
    margin-top: 2.5rem;
    padding-top: 1.4rem;
}

.proof-strip span {
    color: rgba(255, 255, 255, .68);
    display: block;
    font-size: .76rem;
    font-weight: 800;
    text-transform: uppercase;
}

.proof-strip strong {
    display: block;
    font-size: 1.05rem;
}

.page-band,
.page-hero,
.section {
    padding-block: 3rem;
}

.page-hero {
    background: var(--forest);
    color: #fff;
}

.services-hero {
    background: linear-gradient(135deg, rgba(8, 24, 36, .9), rgba(15, 59, 52, .62)), url("/img/services-hero.webp") center / cover no-repeat;
}

.solutions-hero {
    background: linear-gradient(135deg, rgba(8, 24, 36, .9), rgba(15, 59, 52, .62)), url("/img/solutions-hero.webp") center / cover no-repeat;
}

.about-hero {
    background: linear-gradient(135deg, rgba(8, 24, 36, .9), rgba(15, 59, 52, .62)), url("/img/about-hero.webp") center / cover no-repeat;
}

.blog-hero {
    background: linear-gradient(135deg, rgba(8, 24, 36, .9), rgba(15, 59, 52, .62)), url("/img/blog-hero.webp") center / cover no-repeat;
}


.page-hero.alt {
    background: #23362f;
}

.section-title {
    max-width: 760px;
}

.section-title h2,
.split h2 {
    font-size: clamp(1.8rem, 6vw, 2rem);
    line-height: 1.1;
    margin: 0;
}

.section-title p,
.split p,
.not-found p {
    color: var(--muted);
    margin: .85rem 0 0;
}

.page-hero .section-title p {
    color: rgba(255, 255, 255, .78);
}

.grid {
    display: grid;
    gap: 1rem;
    margin-top: 1.6rem;
}

.service-card,
.article-card,
.metric {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 1.2rem;
}

.article-card {
    display: flex;
    flex-direction: column;
}

.service-card h3,
.article-card h3,
.metric strong {
    font-size: 1.15rem;
    line-height: 1.25;
    margin: 0;
}

.service-card h3 a {
    color: inherit;
    text-decoration-color: rgba(15, 59, 52, .32);
    text-underline-offset: .18em;
}

.service-card h3 a:hover,
.service-card h3 a:focus-visible {
    color: var(--teal);
}

.service-card p,
.article-card p,
.metric p {
    color: var(--muted);
    margin: .65rem 0 1rem;
}

.article-card .button {
    align-self: flex-end;
    margin-left: auto;
    margin-top: auto;
}

.service-card .tag {
    background: var(--sky);
    border-radius: 999px;
    color: #164851;
    display: inline-block;
    font-size: .72rem;
    font-weight: 800;
    margin-bottom: .9rem;
    padding: .25rem .55rem;
    text-transform: uppercase;
}

.service-card:nth-child(2n) .tag {
    background: var(--rose);
    color: #6e3528;
}

.split {
    display: grid;
    gap: 1.5rem;
}

.split-panel {
    background: #e8f3ee;
    border-left: 5px solid var(--teal);
    border-radius: 8px;
    padding: 1.2rem;
}

.split-panel ul,
.check-list {
    list-style: none;
    margin: 0;
    padding: 0;
    color: rgb(11 43 68);
}

.split-panel li,
.check-list li {
    border-bottom: 1px solid rgba(15, 59, 52, .14);
    padding: .75rem 0;
}

.split-panel li:last-child,
.check-list li:last-child {
    border-bottom: 0;
}

.split-panel li::before,
.check-list li::before {
    color: var(--teal);
    content: "✓";
    font-weight: 900;
    margin-right: .5rem;
}

.band-dark {
    background: #17221f;
    color: #fff;
}

.band-dark p {
    color: rgba(255, 255, 255, .72);
}

.band-dark .service-card {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .16);
}

.band-dark .service-card p {
    color: rgba(255, 255, 255, .7);
}

.metric-grid {
    display: grid;
    gap: 1rem;
}

.metric strong {
    color: var(--forest);
    display: block;
    font-size: 2rem;
}

.article-card time {
    color: var(--gold);
    display: block;
    font-size: .78rem;
    font-weight: 800;
    margin-bottom: .65rem;
    text-transform: uppercase;
}

.privacy-policy,
.terms-of-service {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin: 3rem auto;
    max-width: 820px;
    padding: 1.25rem;
}

.privacy-policy h1,
.terms-of-service h1 {
    font-size: clamp(2rem, 7vw, 3.2rem);
    line-height: 1.08;
    margin: 0 0 .75rem;
}

.privacy-policy h2,
.terms-of-service h2 {
    font-size: 1.25rem;
    line-height: 1.25;
    margin: 1.8rem 0 .5rem;
}

.privacy-policy p,
.terms-of-service p,
.privacy-policy li,
.terms-of-service li {
    color: var(--muted);
}

.privacy-policy a,
.terms-of-service a {
    color: var(--teal);
    font-weight: 800;
}

.contact-section {
    align-items: start;
}

.contact-section h2 {
    font-size: clamp(1.8rem, 6vw, 3rem);
    line-height: 1.1;
    margin: 0;
}

.contact-form {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    display: grid;
    gap: 1rem;
    padding: 1.2rem;
}

.contact-form label {
    display: grid;
    gap: .4rem;
}

.contact-form label span:first-child {
    color: var(--ink);
    font-size: .86rem;
    font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    appearance: none;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    font: inherit;
    min-height: 46px;
    padding: .68rem .75rem;
    width: 100%;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--teal);
    outline: 3px solid rgba(11, 43, 68, .14);
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form small {
    color: #9d2d20;
    font-weight: 700;
}

.captcha-row {
    align-items: center;
    display: grid;
    gap: .75rem;
}

.captcha-image-group {
    align-items: center;
    display: flex;
    gap: .5rem;
}

.captcha-row img {
    border: 1px solid var(--line);
    border-radius: 8px;
    height: 58px;
    width: 180px;
}

.captcha-refresh {
    align-items: center;
    background: var(--forest);
    border: 0;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    flex: 0 0 38px;
    font-size: 1.2rem;
    font-weight: 800;
    height: 38px;
    justify-content: center;
    line-height: 1;
    padding: 0;
    width: 38px;
}

.captcha-refresh:hover,
.captcha-refresh:focus {
    background: var(--teal);
    outline: 3px solid rgba(11, 43, 68, .14);
}

.form-notice {
    border-radius: 8px;
    font-weight: 800;
    padding: .8rem .9rem;
}

.form-notice.success {
    background: #e5f4ed;
    color: #185038;
}

.form-notice.error {
    background: #f9e5df;
    color: #82251b;
}

.site-footer {
    background: #101816;
    color: #fff;
    padding-block: 2rem;
}

.footer-inner {
    display: grid;
    gap: 1.25rem;
}

.site-footer p {
    color: rgba(255, 255, 255, .68);
    margin: .4rem 0 0;
    max-width: 620px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem 1rem;
}

.footer-links a {
    color: rgba(255, 255, 255, .82);
    font-weight: 700;
    text-decoration: none;
}

.narrow {
    max-width: 780px;
}

@media (min-width: 680px) {
    .brand small {
        display: block;
    }

    .grid.two,
    .proof-strip,
    .metric-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 900px) {

    .header-inner,
    .footer-inner,
    .wrap {
        padding-inline: 1.5rem;
    }

    .menu-toggle {
        display: none;
    }

    .header-actions {
        order: 3;
    }

    .site-nav {
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        display: flex;
        flex-direction: row;
        gap: .15rem;
        left: auto;
        overflow-x: auto;
        padding: .5rem 0;
        position: static;
        right: auto;
        scrollbar-width: none;
        top: auto;
    }

    .site-nav::-webkit-scrollbar {
        display: none;
    }

    .site-nav a {
        padding: .55rem .65rem;
    }

    .hero {
        min-height: 78vh;
        padding-block: 6rem 3rem;
    }

    .hero-grid,
    .split {
        grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
        align-items: center;
    }

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

    .proof-strip {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .page-band,
    .page-hero,
    .section {
        padding-block: 4.5rem;
    }

    .privacy-policy,
    .terms-of-service {
        margin-block: 4.5rem;
        padding: 2rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .captcha-row {
        grid-template-columns: auto 1fr;
    }

    .footer-inner {
        align-items: start;
        grid-template-columns: 1fr auto;
    }
}
