@font-face {
    font-family: 'Monda';
    src: url('../fonts/Monda/Monda-VariableFont_wght.ttf') format('truetype');
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
}

:root {
    --company-text: #142131;
    --company-muted: #52647a;
    --company-link-color: #005ea5;
    --company-link-hover-color: #003b69;
    --company-surface: #ffffff;
    --ink: #071322;
    --darker-blue: #356fa8;
    --blue: #6684a8;
    --code-font: Consolas, 'Courier New', monospace;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Monda', sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    color: var(--company-text);
    background-color: var(--company-surface);
    overflow-x: hidden;
}

.logo-dev {
    color: #174e86;
    font-size: clamp(2rem, 3.5vw, 3rem);
    line-height: 1;
    text-shadow: 1px 1px 2px #eee, -1px -1px 2px #eee, 1px -1px 2px #eee, -1px 1px 2px #eee;
}

.logo-cat {
    font-family: calibri, sans-serif;
    font-style: italic;
    color: #595959;
}

a {
    color: var(--company-link-color);
    text-decoration: none;
}

a:hover {
    color: var(--company-link-hover-color);
}

.site-header {
    min-height: 96px;
    padding: 1.25rem clamp(1.5rem, 5vw, 5rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    background: rgba(245, 247, 251, .92);
    border-bottom: 1px solid rgba(20, 33, 61, .1);
    backdrop-filter: blur(16px);
    position: relative;
    z-index: 10;
}

.brand {
    display: inline-flex;
}

.header-link {
    color: var(--company-text);
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    border-bottom: 1px solid currentColor;
    padding-bottom: .3rem;
}

.hero {
    min-height: calc(100vh - 96px);
    padding: clamp(4rem, 8vw, 8rem) clamp(1.5rem, 7vw, 8rem);
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 6rem);
    position: relative;
    isolation: isolate;
    background: white;
    color: var(--company-text);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 540px;
    height: 540px;
    left: -300px;
    bottom: -340px;
    border: 1px solid rgba(53, 111, 168, .18);
    border-radius: 50%;
    box-shadow: 0 0 0 70px rgba(53, 111, 168, .025), 0 0 0 140px rgba(53, 111, 168, .02);
}

.hero-grid {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-color: white;
    background-image:
        linear-gradient(90deg, rgba(255,255,255,.92), rgba(88, 108, 132, .18)),
        url('../images/digital-camouflage.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%, cover;
}

.hero-copy {
    max-width: 760px;
    position: relative;
    z-index: 2;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: .75rem;
    color: var(--darker-blue);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.eyebrow > span {
    width: 2rem;
    height: 2px;
    background: currentColor;
}

h1 {
    max-width: 800px;
    margin: 1.25rem 0 1.5rem;
    font-size: clamp(3rem, 6.5vw, 6.75rem);
    line-height: .98;
    letter-spacing: -.055em;
    font-weight: 700;
}

h1 em {
    color: transparent;
    -webkit-text-stroke: 1px rgba(53, 111, 168, .78);
    font-style: normal;
}

.hero-intro {
    max-width: 660px;
    margin: 0;
    color: var(--company-muted);
    font-size: clamp(1rem, 1.4vw, 1.22rem);
    line-height: 1.8;
}

.hero-actions {
    margin-top: 2.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.75rem;
}

    .hero-actions img {
        width: 24px;
        color: white;
    }

    .button-primary {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        padding: 1rem 1.25rem;
        color: white;
        background: var(--darker-blue);
        border: 1px solid var(--darker-blue);
        font-size: .85rem;
        font-weight: 700;
        transition: transform .2s ease, box-shadow .2s ease;
    }

.button-primary:hover {
    color: white;
    background: #285985;
    border-color: #285985;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(53, 111, 168, .22);
}

.text-link {
    color: #dce5ef;
    font-size: .82rem;
    border-bottom: 1px solid rgba(255,255,255,.28);
    padding-bottom: .25rem;
}

.text-link:hover {
    color: var(--darker-blue);
}

.tech-list {
    margin-top: clamp(3rem, 7vw, 6rem);
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    color: #65768b;
    font-family: var(--code-font);
    font-size: .8rem;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.tech-list span::before {
    content: '/';
    margin-right: .5rem;
    color: var(--darker-blue);
}

.hero-visual {
    min-height: 560px;
    position: relative;
    display: grid;
    place-items: center;
    isolation: isolate;
}

.hero-visual::before {
    content: '';
    position: absolute;
    inset: 3%;
    z-index: -1;
}

.network-graphic {
    width: min(100%, 640px);
    height: auto;
    opacity: 1;
    filter: drop-shadow(0 10px 24px rgba(20, 45, 70, .16));
    transform-origin: center;
}

.code-card {
    width: min(390px, 85%);
    padding: 1.2rem 1.35rem 1.4rem;
    margin-top: 1rem;
    position: relative;
    background: rgba(8, 24, 40, .9);
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 25px 80px rgba(0,0,0,.4);
    backdrop-filter: blur(14px);
}

.code-card-top {
    display: flex;
    align-items: center;
    gap: .4rem;
    margin-bottom: 1.25rem;
}

.code-card-top span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #435367;
}

.code-card-top span:first-child {
    background: var(--darker-blue);
}

.code-card-top small {
    margin-left: auto;
    color: #6f8093;
    font-family: var(--code-font);
}

.code-card code {
    color: #b7c4d2;
    font-family: var(--code-font);
    font-size: clamp(.7rem, 1vw, .88rem);
    line-height: 2;
}

.code-card i, .code-card strong {
    color: #b39cff;
    font-style: normal;
    font-weight: 400;
}

.code-card b {
    color: var(--darker-blue);
    font-weight: 400;
}

.status-pill {
    padding: .6rem .8rem;
    display: flex;
    align-items: center;
    gap: .55rem;
    position: absolute;
    right: 2%;
    top: 16%;
    color: #b9c6d5;
    background: rgba(8, 24, 40, .82);
    border: 1px solid rgba(255,255,255,.1);
    font-family: var(--code-font);
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.status-pill span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--darker-blue);
    box-shadow: 0 0 10px var(--darker-blue);
}

.expertise {
    padding: clamp(5rem, 10vw, 9rem) clamp(1.5rem, 7vw, 8rem);
    background: var(--company-surface);
}

.section-heading {
    max-width: 720px;
    margin-bottom: clamp(3rem, 6vw, 5rem);
}

.section-heading .eyebrow {
    color: #347e7a;
}

h2 {
    margin: 1rem 0 0;
    color: var(--company-text);
    font-size: clamp(2.2rem, 4vw, 4.5rem);
    line-height: 1.08;
    letter-spacing: -.045em;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid #cdd5df;
}

.expertise-grid article {
    padding: 2rem clamp(1.25rem, 3vw, 3rem) 2rem 0;
    border-right: 1px solid #cdd5df;
}

.expertise-grid article + article {
    padding-left: clamp(1.25rem, 3vw, 3rem);
}

.expertise-grid article:last-child {
    border-right: 0;
}

.card-number {
    color: #347e7a;
    font-family: var(--code-font);
    font-size: .8rem;
}

.expertise-grid h3 {
    margin: 2.5rem 0 1rem;
    font-size: 1.35rem;
}

.expertise-grid p {
    margin: 0;
    color: var(--company-muted);
    font-size: .95rem;
    line-height: 1.8;
}

footer {
    padding: 3rem clamp(1.5rem, 7vw, 8rem);
    display: grid;
    grid-template-columns: 1.2fr 1fr auto;
    align-items: center;
    gap: 2rem;
    color: #8997aa;
    background: #050d17;
    border-top: 1px solid rgba(255,255,255,.08);
    font-size: .76rem;
    line-height: 1.8;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-mark {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    color: white;
    border: 1px solid white;
    font-family: var(--code-font);
}

.footer-brand strong, .footer-brand span {
    display: block;
}

.footer-brand strong {
    color: #dce5ef;
    font-size: .86rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.footer-links a {
    color: white;
}

.footer-links a:hover {
    color: white;
}

.secondary-body {
    background: var(--company-surface);
}

.secondary-page {
    min-height: 70vh;
}

.secondary-hero {
    padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 7vw, 8rem);
    color: white;
    background-color: var(--ink);
    background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 64px 64px;
}

.secondary-hero h1 {
    margin-bottom: 1.25rem;
}

.secondary-hero p {
    max-width: 680px;
    color: #b7c4d2;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    line-height: 1.7;
}


.secondary-layout {
    width: min(1180px, calc(100% - 3rem));
    margin: 0 auto;
    padding: clamp(4rem, 8vw, 7rem) 0;
    display: grid;
    grid-template-columns: 220px minmax(0, 760px);
    justify-content: space-between;
    gap: clamp(3rem, 8vw, 8rem);
}

.policy-nav {
    align-self: start;
    padding-left: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: .75rem;
    position: sticky;
    top: 2rem;
    border-left: 1px solid #cdd5df;
    font-size: .8rem;
}

.policy-nav strong {
    margin-bottom: .5rem;
    color: var(--company-text);
    font-family: var(--code-font);
    letter-spacing: .1em;
    text-transform: uppercase;
}

.policy-nav a {
    color: var(--company-muted);
}

.policy-nav a:hover {
    color: var(--company-link-color);
}

.policy-content section {
    padding-bottom: 3.5rem;
    scroll-margin-top: 2rem;
}

.policy-content {
    min-width: 0;
}

.policy-content section + section {
    padding-top: 3.5rem;
    border-top: 1px solid #cdd5df;
}

.policy-section-number {
    color: var(--darker-blue);
    font-family: var(--code-font);
    font-size: .75rem;
}

.policy-content h2 {
    margin: .75rem 0 1.5rem;
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    letter-spacing: -.035em;
}

.policy-content h3 {
    margin: 0 0 .5rem;
    color: var(--company-text);
    font-size: 1rem;
}

.policy-content p, .policy-content li {
    color: var(--company-muted);
    font-size: .96rem;
    line-height: 1.85;
}

.policy-content ul {
    padding-left: 1.25rem;
}

.policy-content li {
    padding-left: .35rem;
    margin-bottom: .4rem;
}

.policy-purpose p {
    margin-bottom: 0;
}

.policy-email {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    margin: .5rem 0 1.5rem;
    padding-bottom: .3rem;
    color: var(--company-link-color);
    border-bottom: 1px solid currentColor;
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    font-weight: 700;
}

.policy-content address {
    color: var(--company-muted);
    font-style: normal;
    line-height: 1.8;
}

@keyframes recede {
    0%, 100% { transform: perspective(900px) rotateX(3deg) rotateY(-7deg) translateY(0) scale(.98); }
    50% { transform: perspective(900px) rotateX(5deg) rotateY(-10deg) translateY(-8px) scale(.95); }
}

@media (max-width: 980px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        width: min(100%, 680px);
        margin: -2rem auto 0;
    }

    .expertise-grid {
        grid-template-columns: 1fr;
    }

    .expertise-grid article, .expertise-grid article + article {
        padding: 2rem 0;
        border-right: 0;
        border-bottom: 1px solid #cdd5df;
    }

    footer {
        grid-template-columns: 1fr 1fr;
    }

    .footer-links {
        align-items: flex-start;
    }
}

@media (max-width: 620px) {
    .site-header {
        min-height: 82px;
    }

    .header-link {
        display: none;
    }

    .hero {
        min-height: auto;
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-visual {
        display: none;
    }

    .status-pill {
        top: 8%;
    }

    footer {
        grid-template-columns: 1fr;
    }

    .secondary-layout {
        width: min(100% - 2rem, 760px);
        padding: 3rem 0;
        grid-template-columns: minmax(0, 1fr);
        gap: 2.5rem;
    }

    .policy-nav {
        width: 100%;
        padding: 0 0 1.5rem;
        position: static;
        border-left: 0;
        border-bottom: 1px solid #cdd5df;
    }

    .policy-content,
    .policy-content section {
        width: 100%;
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    .policy-content ul {
        padding-left: 1rem;
    }

    .policy-email {
        max-width: 100%;
        display: inline-block;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}