/* Poppins — SIL Open Font License 1.1 — https://fonts.google.com/specimen/Poppins */

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('assets/fonts/poppins-300-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('assets/fonts/poppins-300-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('assets/fonts/poppins-400-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('assets/fonts/poppins-400-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('assets/fonts/poppins-500-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('assets/fonts/poppins-500-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('assets/fonts/poppins-600-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('assets/fonts/poppins-600-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('assets/fonts/poppins-700-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('assets/fonts/poppins-700-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
    --primary: #004853;
    --primary-container: #006170;
    --secondary: #0d6877;
    --secondary-fixed: #a7eeff;
    --secondary-fixed-dim: #89d2e3;
    --deep-space: #0e1d27;
    --charcoal: #1c2b35;
    --surface: #f6faff;
    --surface-container-low: #ebf5ff;
    --on-surface-variant: #3f484b;
    --outline: #6f797b;
    --slate: #6b8794;
    --border-standard: #e8edf0;
    --success-green: #006549;
    --header-height: 64px;
    --gutter: 24px;
    --container-max: 1200px;
}

@media (min-width: 768px) { :root { --header-height: 80px; } }

*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 16px);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.65;
    background-color: var(--surface);
    color: var(--deep-space);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.015em; }
p { margin: 0; }

:focus-visible { outline: 2px solid var(--primary-container); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible { outline-color: var(--secondary-fixed); }
::selection { background-color: rgba(162, 235, 253, 0.6); color: #001f25; }

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

.js [data-reveal] {
    opacity: 0;
    translate: 0 24px;
    transition: opacity .7s cubic-bezier(.16, 1, .3, 1), translate .7s cubic-bezier(.16, 1, .3, 1);
    transition-delay: var(--reveal-delay, 0ms);
}

.js [data-reveal].is-visible {
    opacity: 1;
    translate: none;
}

@media (prefers-reduced-motion: reduce) {
    .js [data-reveal] { opacity: 1; translate: none; transition: none; }
}

.skip-link {
    position: absolute; left: 50%; top: 0; transform: translate(-50%, -120%);
    z-index: 100; padding: 12px 24px; border-radius: 0 0 8px 8px;
    background: var(--primary); color: #fff; font-size: 14px; font-weight: 600;
    transition: transform .2s ease;
}
.skip-link:focus { transform: translate(-50%, 0); }

.wrap {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding-inline: var(--gutter);
}

.site-header {
    position: sticky; top: 0; z-index: 50;
    background-color: rgba(246, 250, 255, .85);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-standard);
}

.site-header .wrap {
    height: var(--header-height);
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
}

.site-header img { height: 36px; width: auto; object-fit: contain; }
@media (min-width: 768px) { .site-header img { height: 46px; } }

.site-nav { display: none; gap: 26px; }
@media (min-width: 1080px) { .site-nav { display: flex; } }

.header-actions { display: flex; align-items: center; gap: 12px; }
.header-actions .btn { display: none; }
@media (min-width: 560px) { .header-actions .btn { display: inline-flex; } }

.nav-link {
    position: relative; padding-bottom: 4px;
    color: var(--on-surface-variant); font-size: 14px; font-weight: 500;
    transition: color .2s ease;
}
.nav-link::after {
    content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
    background-color: var(--primary); transform: scaleX(0); transform-origin: left;
    transition: transform .25s ease;
}
.nav-link:hover { color: var(--primary); }
.nav-link:hover::after { transform: scaleX(1); }

.lang-toggle {
    isolation: isolate;
    position: relative;
    display: grid; grid-template-columns: 1fr 1fr;
    width: 78px; height: 32px;
    border-radius: 999px; overflow: hidden;
    background-color: var(--surface);
    box-shadow:
        -6px -3px 6px 0 #ffffff,
        6px 3px 10px 0 #d1d9e6,
        3px 3px 3px 0 #d1d9e6 inset,
        -3px -3px 3px 0 #ffffff inset;
}

.lang-toggle__radio {
    position: absolute; width: 1px; height: 1px;
    opacity: 0; pointer-events: none; margin: 0;
}

.lang-toggle__indicator {
    position: absolute; top: 0; left: 0;
    width: 200%; height: 100%;
    border-radius: 999px;
    background-color: var(--surface);
    box-shadow: -6px -3px 6px 0 #ffffff, 6px 3px 10px 0 #d1d9e6;
    transform: translate3d(-75%, 0, 0);
    transition: transform .4s cubic-bezier(.85, .05, .18, 1.35);
}
#lang-es:checked ~ .lang-toggle__indicator { transform: translate3d(25%, 0, 0); }

.lang-toggle__option {
    position: relative; z-index: 1;
    display: grid; place-items: center;
    cursor: pointer;
    font-size: 12px; font-weight: 600; line-height: 1; letter-spacing: .04em;
    color: var(--outline);
    transition: color .3s ease;
    -webkit-user-select: none; user-select: none;
}
.lang-toggle__option:hover { color: var(--primary-container); }
#lang-en:checked ~ [for='lang-en'],
#lang-es:checked ~ [for='lang-es'] { color: var(--primary); }

.lang-toggle:has(.lang-toggle__radio:focus-visible) {
    outline: 2px solid var(--primary-container); outline-offset: 3px;
}

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 16px 32px; border-radius: 10px;
    font-family: inherit; font-size: 15px; font-weight: 600; line-height: 1.2;
    text-align: center; white-space: nowrap; cursor: pointer;
    border: 1px solid transparent;
    transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, border-color .25s ease, color .25s ease;
}
.btn:active { transform: translateY(0) scale(.985); }
.btn--sm { padding: 10px 20px; font-size: 14px; }
.btn--lg { padding: 20px 40px; font-size: 17px; }

.btn--primary {
    background-image: linear-gradient(135deg, #004853 0%, #006170 100%);
    color: #fff; box-shadow: 0 24px 60px -20px rgba(14, 29, 39, .25);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 28px 60px -18px rgba(14, 29, 39, .4); }

.btn--cyan {
    background-color: var(--secondary-fixed); color: #001f25;
    box-shadow: 0 24px 60px -20px rgba(14, 29, 39, .25);
}
.btn--cyan:hover { transform: translateY(-2px); background-color: #c2f4ff; }

.btn--ghost-dark {
    background-color: transparent; border-color: rgba(213, 228, 243, .3);
    color: #fff; backdrop-filter: blur(4px);
}
.btn--ghost-dark:hover { background-color: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .5); transform: translateY(-2px); }

.btn-row { display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 640px) { .btn-row { flex-direction: row; justify-content: center; } }

.eyebrow {
    display: block; font-size: 13px; font-weight: 600; line-height: 1;
    letter-spacing: .12em; text-transform: uppercase;
}
.display { font-size: clamp(38px, 5.4vw, 64px); line-height: 1.2; letter-spacing: -.03em; }
.h1 { font-size: clamp(32px, 4.4vw, 48px); line-height: 1.1; }
.h2 { font-size: clamp(28px, 3.2vw, 34px); line-height: 1.2; letter-spacing: -.01em; }
.h3 { font-size: 20px; line-height: 1.35; letter-spacing: 0; }
.lead { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.6; font-weight: 300; }

section { padding-block: 96px; }

.section-head { text-align: center; max-width: 680px; margin: 0 auto 64px; }
.section-head .eyebrow { color: var(--primary); margin-bottom: 16px; }
.section-head .h2 { color: var(--charcoal); margin-bottom: 16px; }
.section-head p { color: var(--on-surface-variant); }

.on-dark .section-head .eyebrow { color: var(--secondary-fixed-dim); }
.on-dark .section-head .h2 { color: #fff; }
.on-dark .section-head p { color: rgba(218, 234, 248, .85); }

.hero {
    position: relative; overflow: hidden; text-align: center;
    background-image: linear-gradient(165deg, #004853 0%, #0e1d27 100%);
    padding-block: 112px 136px;
}
@media (min-width: 768px) { .hero { padding-block: 128px 184px; } }

.hero::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    z-index: 0;
    height: clamp(36px, 5.5vw, 80px);
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath d='M0 100 Q720 -100 1440 100 Z' fill='%23f6faff'/%3E%3C/svg%3E") no-repeat 50% 50% / 100% 100%;
}

.hero__motif { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hero__motif img {
    width: 100%; height: 100%; object-fit: cover;
    opacity: .4; mix-blend-mode: screen;
    animation: float 12s ease-in-out infinite;
}
.hero__motif::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(14, 29, 39, .2) 55%, rgba(14, 29, 39, .6) 100%);
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1.05); }
    50% { transform: translateY(-18px) scale(1.08); }
}

.hero .wrap { position: relative; z-index: 1; }
.hero .eyebrow { color: var(--secondary-fixed-dim); margin-bottom: 24px; }
.hero h1 { color: #fff; max-width: 940px; margin: 0 auto 24px; }
.hero__grad {
    background-image: linear-gradient(90deg, var(--secondary-fixed) 0%, var(--secondary-fixed-dim) 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p { color: rgba(218, 234, 248, .9); max-width: 700px; margin: 0 auto 40px; }

.platforms {
    padding-block: 40px; text-align: center;
    background-image: linear-gradient(180deg, #f6faff 0%, #ffffff 100%);
    border-bottom: 1px solid var(--border-standard);
}
.platforms .eyebrow { color: var(--outline); margin-bottom: 32px; }
.platforms ul {
    display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
    column-gap: 44px; row-gap: 20px;
}
.platforms li {
    font-size: 19px; font-weight: 600; letter-spacing: -.01em; color: var(--slate);
    transition: color .3s ease;
}
.platforms li:hover { color: var(--primary); }

.cards { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } }

.card {
    display: flex; flex-direction: column;
    padding: 32px; border-radius: 12px;
    background: rgba(255, 255, 255, .72);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-standard);
    transition: transform .3s cubic-bezier(.34, 1.3, .64, 1), box-shadow .3s ease, border-color .3s ease;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 60px -20px rgba(14, 29, 39, .25);
    border-color: rgba(13, 104, 119, .25);
}
.card__icon {
    width: 48px; height: 48px; margin-bottom: 24px;
    display: grid; place-items: center; border-radius: 8px;
    background-color: var(--surface-container-low); color: var(--primary);
    transition: background-color .3s ease, color .3s ease;
}
.card:hover .card__icon { background-color: var(--primary); color: #fff; }
.card__icon svg { width: 24px; height: 24px; }
.card h3 { color: var(--charcoal); margin-bottom: 16px; }

.bullets li {
    position: relative; padding-left: 20px; margin-bottom: 10px;
    font-size: 15px; color: var(--on-surface-variant);
}
.bullets li::before {
    content: ''; position: absolute; left: 0; top: 11px;
    width: 6px; height: 6px; border-radius: 999px; background-color: var(--secondary);
}
.bullets li:last-child { margin-bottom: 0; }

.value { background-color: #fff; }
.value .wrap { display: grid; gap: 48px; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .value .wrap { grid-template-columns: 5fr 7fr; gap: 64px; } }

.value .eyebrow { color: var(--primary); margin-bottom: 16px; }
.value h2 { color: var(--charcoal); margin-bottom: 24px; }
.value__text > p { color: var(--on-surface-variant); margin-bottom: 20px; }
.value__text > p:last-of-type { margin-bottom: 32px; }

.checks li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; color: var(--charcoal); font-size: 15px; }
.checks svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 3px; color: var(--success-green); }

.mock {
    background: #fff; border: 1px solid var(--border-standard); border-radius: 20px;
    box-shadow: 0 24px 60px -20px rgba(14, 29, 39, .25); overflow: hidden;
}
.mock__bar {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 16px 24px; border-bottom: 1px solid var(--border-standard);
    background-color: rgba(235, 245, 255, .6);
}
.mock__dots { display: flex; gap: 8px; }
.mock__dots span { width: 10px; height: 10px; border-radius: 999px; }
.mock__dots span:nth-child(1) { background: rgba(186, 26, 26, .3); }
.mock__dots span:nth-child(2) { background: #a2ebfd; }
.mock__dots span:nth-child(3) { background: rgba(0, 101, 73, .4); }
.mock__title { font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--outline); }
.mock__live { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--success-green); }
.mock__live i { width: 6px; height: 6px; border-radius: 999px; background: var(--success-green); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

.mock__rows { padding: 24px; display: grid; gap: 12px; }
.mock__row {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 12px; border-radius: 8px;
    background-color: rgba(235, 245, 255, .5); border: 1px solid var(--border-standard);
}
.mock__row > div { min-width: 0; }
.mock__row strong { display: block; font-size: 14px; font-weight: 500; color: var(--charcoal); }
.mock__row small { font-size: 12px; color: var(--outline); }
.tag {
    flex-shrink: 0; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
    padding: 4px 10px; border-radius: 999px;
}
.tag--ok { background: rgba(0, 101, 73, .1); color: var(--success-green); }
.tag--transit { background: #a2ebfd; color: #166c7c; }

.mock__foot {
    padding: 8px 24px 24px; border-top: 1px solid var(--border-standard);
    display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
}
.mock__foot .k { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--outline); margin-bottom: 4px; }
.mock__foot .v { font-size: 20px; font-weight: 600; color: var(--primary); }
.spark { display: flex; align-items: flex-end; gap: 6px; height: 48px; }
.spark span { width: 8px; border-radius: 2px 2px 0 0; background: rgba(0, 72, 83, .35); }

.expertise { background-image: linear-gradient(180deg, #f6faff 0%, #ffffff 100%); }
.services { background-color: #fff; }

.qad {
    position: relative; overflow: hidden;
    background-image: linear-gradient(165deg, #004853 0%, #0e1d27 100%);
    color: #fff;
}
.qad__motif { position: absolute; inset: 0; opacity: .3; mix-blend-mode: screen; pointer-events: none; }
.qad__motif img { width: 100%; height: 100%; object-fit: cover; }
.qad .wrap { position: relative; z-index: 1; }

.qad .card {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(213, 228, 243, .18);
}
.qad .card:hover { border-color: rgba(167, 238, 255, .45); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .6); }
.qad .card h3 { color: #fff; }
.qad .card__icon { background-color: rgba(167, 238, 255, .12); color: var(--secondary-fixed); }
.qad .card:hover .card__icon { background-color: var(--secondary-fixed); color: #001f25; }
.qad .bullets li { color: rgba(218, 234, 248, .85); }
.qad .bullets li::before { background-color: var(--secondary-fixed); }

.approach { background-image: linear-gradient(180deg, #ffffff 0%, #f6faff 100%); }

.steps { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .steps { grid-template-columns: repeat(5, 1fr); gap: 16px; } }

.step {
    padding: 28px 24px; border-radius: 12px;
    background-color: #fff; border: 1px solid var(--border-standard);
    transition: transform .3s cubic-bezier(.34, 1.3, .64, 1), box-shadow .3s ease, border-color .3s ease;
}
.step:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 60px -20px rgba(14, 29, 39, .25);
    border-color: rgba(13, 104, 119, .25);
}
.step__n {
    width: 34px; height: 34px; margin-bottom: 16px;
    display: grid; place-items: center; border-radius: 999px;
    background-color: var(--surface-container-low); color: var(--primary);
    font-size: 14px; font-weight: 600;
}
.step h3 { font-size: 17px; color: var(--charcoal); margin-bottom: 12px; }
.step p { font-size: 14px; color: var(--on-surface-variant); margin-bottom: 12px; }
.step .deliverable {
    display: block; padding-top: 12px; border-top: 1px solid var(--border-standard);
    font-size: 13px; color: var(--outline); margin-bottom: 0;
}
.step .deliverable strong { color: var(--secondary); font-weight: 600; }

.purpose { background-color: #fff; }
.panels { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .panels { grid-template-columns: repeat(2, 1fr); } }

.panel {
    padding: 40px; border-radius: 20px;
    border: 1px solid var(--border-standard);
    background-image: linear-gradient(180deg, #f6faff 0%, #ffffff 100%);
}
.panel .eyebrow { color: var(--primary); margin-bottom: 16px; }
.panel h3 { font-size: 24px; color: var(--charcoal); margin-bottom: 16px; }
.panel p { color: var(--on-surface-variant); margin-bottom: 16px; }
.panel p:last-child { margin-bottom: 0; }

.metrics { position: relative; overflow: hidden; background-color: var(--deep-space); color: #fff; }
.metrics__motif { position: absolute; inset: 0; opacity: .25; mix-blend-mode: screen; pointer-events: none; }
.metrics__motif img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); }
.metrics .wrap { position: relative; z-index: 1; }
.metrics ul { display: grid; gap: 48px; grid-template-columns: 1fr; text-align: center; }
@media (min-width: 768px) {
    .metrics ul { grid-template-columns: repeat(3, 1fr); text-align: left; }
    .metrics li + li { border-left: 1px solid rgba(213, 228, 243, .2); padding-left: 48px; }
}
.metrics .n {
    font-size: clamp(40px, 6vw, 64px); font-weight: 600; line-height: 1;
    letter-spacing: -.03em; color: var(--secondary-fixed); margin-bottom: 8px;
}
.metrics .l { font-size: 14px; font-weight: 500; text-transform: uppercase; letter-spacing: .12em; color: rgba(213, 228, 243, .8); }

.contact {
    position: relative; overflow: hidden;
    background-image: linear-gradient(135deg, #004853 0%, #006170 100%);
}
.contact::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at top, rgba(162, 235, 253, .28) 0%, transparent 60%);
}
.contact .wrap {
    position: relative; z-index: 1;
    display: grid; gap: 48px; grid-template-columns: 1fr; align-items: start;
}
@media (min-width: 940px) { .contact .wrap { grid-template-columns: 5fr 7fr; gap: 64px; } }

.contact__aside .eyebrow { color: var(--secondary-fixed-dim); margin-bottom: 16px; }
.contact__aside h2 { color: #fff; margin-bottom: 24px; }
.contact__aside > p { color: #daeaf8; margin-bottom: 28px; }

.contact__direct {
    display: inline-flex; align-items: center; gap: 10px; margin-bottom: 40px;
    color: var(--secondary-fixed); font-weight: 500;
    transition: gap .2s ease;
}
.contact__direct:hover { gap: 14px; }
.contact__direct svg { width: 20px; height: 20px; flex-shrink: 0; }

.next { counter-reset: step; }
.next li {
    position: relative; padding-left: 40px; margin-bottom: 16px;
    font-size: 15px; color: rgba(218, 234, 248, .9);
}
.next li:last-child { margin-bottom: 0; }
.next li::before {
    counter-increment: step; content: counter(step);
    position: absolute; left: 0; top: 0;
    width: 26px; height: 26px; border-radius: 999px;
    display: grid; place-items: center;
    background-color: rgba(167, 238, 255, .15); color: var(--secondary-fixed);
    font-size: 13px; font-weight: 600;
}

.form-card {
    background: #fff; border-radius: 20px; padding: 32px;
    box-shadow: 0 24px 60px -20px rgba(14, 29, 39, .45);
}
@media (min-width: 640px) { .form-card { padding: 40px; } }
.form-card h3 { font-size: 22px; color: var(--charcoal); margin-bottom: 8px; }
.form-card > p { font-size: 14px; color: var(--outline); margin-bottom: 28px; }

.field-row { display: grid; gap: 20px; grid-template-columns: 1fr; margin-bottom: 20px; }
@media (min-width: 560px) { .field-row--2 { grid-template-columns: repeat(2, 1fr); } }

.field-label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 500; color: var(--on-surface-variant); }
.field-label .opt { color: var(--outline); font-weight: 300; }

.field-input, .field-select, .field-textarea {
    width: 100%; padding: 14px 16px;
    border: 1px solid var(--border-standard); border-radius: 8px;
    background-color: #fff;
    font-family: inherit; font-size: 15px; font-weight: 300; color: var(--deep-space);
    transition: border-color .2s ease, box-shadow .2s ease;
}
.field-textarea { min-height: 130px; resize: vertical; }
.field-input::placeholder, .field-textarea::placeholder { color: #9aa8ad; }

.field-input:focus, .field-select:focus, .field-textarea:focus {
    outline: none; border-color: var(--primary-container);
    box-shadow: 0 0 0 4px rgba(162, 235, 253, .45);
}
.field-input[aria-invalid='true'], .field-select[aria-invalid='true'], .field-textarea[aria-invalid='true'] {
    border-color: #ba1a1a;
}
.field-input[aria-invalid='true']:focus, .field-select[aria-invalid='true']:focus, .field-textarea[aria-invalid='true']:focus {
    box-shadow: 0 0 0 4px rgba(186, 26, 26, .18);
}

.field-error { display: none; margin-top: 6px; font-size: 13px; color: #ba1a1a; }
.field-error.is-shown { display: block; }

.consent { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin-top: 3px; flex-shrink: 0; accent-color: var(--primary); }
.consent span { font-size: 14px; color: var(--on-surface-variant); }

.form-status { display: none; margin-top: 20px; padding: 14px 18px; border-radius: 10px; font-size: 15px; }
.form-status.is-shown { display: block; }
.form-status--success { background-color: rgba(0, 101, 73, .08); border: 1px solid rgba(0, 101, 73, .25); color: var(--success-green); }
.form-status--error { background-color: #ffdad6; border: 1px solid rgba(186, 26, 26, .3); color: #93000a; }

.btn[aria-busy='true'] { opacity: .6; pointer-events: none; }

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.hero--page { padding-block: 96px 120px; }
@media (min-width: 768px) { .hero--page { padding-block: 112px 152px; } }

.nav-link[aria-current='page'] { color: var(--primary); }
.nav-link[aria-current='page']::after { transform: scaleX(1); }

.joinus { background-image: linear-gradient(180deg, #f6faff 0%, #ffffff 100%); }
.joinus .section-head { margin-bottom: 40px; }

.pull {
    max-width: 760px; margin: 0 auto;
    padding: 28px 32px; border-radius: 0 12px 12px 0;
    border-left: 3px solid var(--secondary);
    background-color: var(--surface-container-low);
    color: var(--charcoal);
    font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6;
}

.openings { background-color: #fff; }

.roles { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 940px) { .roles { grid-template-columns: repeat(2, 1fr); } }

.role p { font-size: 15px; color: var(--on-surface-variant); margin-bottom: 14px; }

.role p:last-of-type { margin-bottom: 28px; }
.role__apply {
    margin-top: auto; align-self: flex-start;
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--primary); font-size: 15px; font-weight: 600;
    transition: gap .2s ease, color .2s ease;
}
.role__apply svg { width: 18px; height: 18px; flex-shrink: 0; }
.role__apply:hover { gap: 14px; color: var(--secondary); }

.form-card > .apply-title { font-size: clamp(24px, 2.4vw, 28px); line-height: 1.25; margin-bottom: 20px; }

.form-card > .apply-lead {
    margin-bottom: 24px; padding: 16px 20px;
    border-left: 3px solid var(--secondary); border-radius: 0 10px 10px 0;
    background-color: var(--surface-container-low);
    font-size: 15px; color: var(--charcoal);
}
.form-card > .apply-lead strong { font-weight: 600; color: var(--primary); }

.form-card > .apply-role {
    margin-bottom: 24px; padding: 12px 16px;
    border: 1px solid var(--border-standard); border-radius: 10px;
    font-size: 13px; color: var(--outline);
}
.form-card > .apply-role strong { display: block; margin-top: 4px; font-size: 15px; font-weight: 600; color: var(--charcoal); }

.apply-list { margin-bottom: 28px; }
.apply-list li {
    position: relative; padding-left: 34px; margin-bottom: 16px;
    font-size: 15px; color: var(--on-surface-variant);
}
.apply-list li:last-child { margin-bottom: 0; }
.apply-list strong { font-weight: 600; color: var(--charcoal); }
.apply-list em { font-style: normal; color: var(--primary); }

.apply-list li::before {
    content: ''; position: absolute; left: 0; top: 1px;
    width: 22px; height: 22px; border-radius: 999px;
    background-color: var(--surface-container-low);
}
.apply-list li::after {
    content: ''; position: absolute; left: 5px; top: 6px;
    width: 12px; height: 12px;
    background-color: var(--primary);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 13 4 4 10-10'/%3E%3C/svg%3E") no-repeat center / contain;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 13 4 4 10-10'/%3E%3C/svg%3E") no-repeat center / contain;
}

.apply-cta { display: flex; width: 100%; max-width: 360px; padding-inline: 24px; white-space: normal; }

.form-card > .apply-note { margin-top: 24px; margin-bottom: 0; }
.form-card > .apply-note a { color: var(--primary); text-decoration: underline; }

.hero--job { text-align: left; padding-block: 72px 104px; }
@media (min-width: 768px) { .hero--job { padding-block: 88px 128px; } }
.hero--job h1 { max-width: 900px; margin-inline: 0; color: #fff; }
.hero--job .btn-row { justify-content: flex-start; }
.hero--job .eyebrow { margin-bottom: 16px; }

.breadcrumb {
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
    margin-bottom: 28px; font-size: 14px; color: rgba(218, 234, 248, .75);
}
.breadcrumb a { color: var(--secondary-fixed-dim); transition: color .2s ease; }
.breadcrumb a:hover { color: var(--secondary-fixed); }
.breadcrumb svg { width: 14px; height: 14px; opacity: .55; }

.job-facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 36px; }
.job-facts li {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 16px; border-radius: 999px;
    background-color: rgba(167, 238, 255, .12);
    border: 1px solid rgba(167, 238, 255, .25);
    color: var(--secondary-fixed); font-size: 14px; font-weight: 500;
}
.job-facts svg { width: 16px; height: 16px; flex-shrink: 0; }

.job { padding-block: 72px; background-image: linear-gradient(180deg, #f6faff 0%, #ffffff 100%); }
.job .wrap { display: grid; gap: 48px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 960px) { .job .wrap { grid-template-columns: 7fr 4fr; gap: 64px; } }

.job__body > section { padding-block: 0; }
.job__body > section + section { margin-top: 48px; }
.job__body h2 { font-size: clamp(23px, 2.2vw, 27px); color: var(--charcoal); margin-bottom: 16px; }
.job__body p { color: var(--on-surface-variant); margin-bottom: 20px; }
.job__body .bullets li { font-size: 16px; margin-bottom: 12px; }
.job__body .bullets li::before { top: 12px; }
.job__body .bullets--labelled strong { color: var(--charcoal); font-weight: 600; }

@media (min-width: 960px) {
    .job__aside { position: sticky; top: calc(var(--header-height) + 24px); }
}

.job-card {
    padding: 32px; border-radius: 16px;
    background-color: #fff; border: 1px solid var(--border-standard);
    box-shadow: 0 24px 60px -24px rgba(14, 29, 39, .22);
}
.job-card h2 { font-size: 18px; color: var(--charcoal); margin-bottom: 20px; }
.job-card dl { margin: 0 0 24px; }
.job-card dt {
    font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
    color: var(--outline); margin-bottom: 4px;
}
.job-card dd { margin: 0 0 18px; font-size: 15px; color: var(--charcoal); }
.job-card dd:last-of-type { margin-bottom: 0; }
.job-card .btn { width: 100%; }
.job-card__pdf {
    display: inline-flex; align-items: center; gap: 8px; margin-top: 16px;
    font-size: 14px; font-weight: 500; color: var(--primary);
    transition: color .2s ease;
}
.job-card__pdf svg { width: 16px; height: 16px; flex-shrink: 0; }
.job-card__pdf:hover { color: var(--secondary); }

.job-cta {
    padding-block: 72px; text-align: center;
    background-image: linear-gradient(135deg, #004853 0%, #006170 100%);
}
.job-cta h2 { color: #fff; margin-bottom: 16px; }
.job-cta p { color: #daeaf8; max-width: 580px; margin: 0 auto 32px; }

.site-footer { background-color: var(--deep-space); color: #91daeb; }
.site-footer .wrap {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
    gap: 24px; padding-block: 48px 32px;
}
.site-footer img { height: 46px; width: auto; }
.site-footer p { font-size: 14px; color: rgba(145, 218, 235, .6); }
.site-footer a { font-size: 15px; color: #91daeb; transition: color .2s ease; }
.site-footer a:hover { color: var(--secondary-fixed); }

.site-footer__center { flex: 1 1 320px; }

.site-footer__col {
    display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
    gap: 24px;
}

.site-footer__links { display: flex; flex-direction: column; gap: 10px; }

.site-footer .social {
    display: flex; align-items: center; gap: 8px; line-height: 1;
    padding: 9px 16px; border-radius: 999px;
    border: 1px solid rgba(145, 218, 235, .35);
    transition: color .2s ease, border-color .2s ease, background-color .2s ease;
}
.site-footer .social:hover {
    border-color: var(--secondary-fixed);
    background-color: rgba(145, 218, 235, .1);
}
.site-footer .social svg { width: 16px; height: 16px; fill: currentColor; flex: none; }

.site-footer__copyright {
    text-align: center;
    padding-inline: var(--gutter);
    padding-bottom: 32px;
}

@media (min-width: 900px) {
    .site-footer .wrap {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        justify-items: center;
    }
    .site-footer img { justify-self: start; }
    .site-footer__links { justify-self: end; }
}

.hero--legal { text-align: left; padding-block: 72px 88px; }
.hero--legal h1 { color: #fff; max-width: 820px; margin-inline: 0; margin-bottom: 12px; }
.hero--legal .eyebrow { margin-bottom: 16px; }

.legal__updated { font-size: 14px; color: rgba(213, 228, 243, .7); }
.hero--legal .legal__updated { margin-inline: 0; margin-bottom: 0; }

.legal { padding-block: 72px; background-image: linear-gradient(180deg, #f6faff 0%, #ffffff 100%); }
.legal .wrap { max-width: 820px; }
.legal__lede { font-size: 18px; color: var(--charcoal) !important; }

.legal__lede strong { font-weight: 600; }

.legal-table__scroll { overflow-x: auto; margin-bottom: 20px; }

.legal-table {
    width: 100%; min-width: 520px;
    border-collapse: collapse;
    font-size: 15px; text-align: left;
}
.legal-table th, .legal-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-standard);
    vertical-align: top;
}
.legal-table th { color: var(--charcoal); font-weight: 600; }
.legal-table td { color: var(--on-surface-variant); }
.legal-table code {
    font-size: 13px; white-space: nowrap;
    color: var(--primary); background-color: var(--surface-container-low);
    padding: 2px 6px; border-radius: 4px;
}

.hero--legal .btn-row { margin-top: 28px; align-items: flex-start; justify-content: flex-start; }

.legal__note {
    margin-top: 24px; padding: 14px 20px;
    border-left: 3px solid var(--secondary); border-radius: 0 10px 10px 0;
    background-color: var(--surface-container-low);
    font-size: 15px; color: var(--charcoal) !important;
}

.legal--aside .wrap { display: grid; gap: 40px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 1080px) {
    .legal--aside .wrap { max-width: 1140px; grid-template-columns: minmax(0, 1fr) 280px; gap: 64px; }
    .legal--aside .job__body { grid-column: 1; grid-row: 1; }
    .legal--aside .legal__aside {
        grid-column: 2; grid-row: 1;
        position: sticky; top: calc(var(--header-height) + 24px);
    }
}

.job__body .legal__note + section { margin-top: 40px; }

.toc {
    padding: 28px 28px; border-radius: 30px; box-shadow:  20px 20px 60px #d2d5d9, -20px -20px 60px #ffffff;

    background: #f7fbff;
    max-height: calc(100vh - var(--header-height) - 48px); overflow-y: auto;
}

.toc h2 { font-size: 15px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-surface-variant); margin-bottom: 16px; }
.toc ol { display: grid; gap: 10px; }
.toc a {
    display: inline-block;
    font-size: 15px; color: var(--primary);
    transition: color .2s ease, transform .2s ease;
}
.toc a:hover { color: var(--secondary); transform: translateX(3px); }

.clauses li { margin-bottom: 18px; font-size: 16px; color: var(--on-surface-variant); }
.clauses li:last-child { margin-bottom: 0; }
.clauses strong { color: var(--charcoal); font-weight: 600; }

.legal--aside .legal__lede,
.legal--aside .clauses li {
    text-align: justify;
    -webkit-hyphens: auto; hyphens: auto;
}

.cookie-dock {
    position: fixed; left: 16px; bottom: 16px; z-index: 90;
    display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
}

.cookie-fab {
    width: 52px; height: 52px; flex: none;
    display: grid; place-items: center;
    border: 1px solid rgba(145, 218, 235, .35); border-radius: 999px;
    background-image: linear-gradient(135deg, #004853 0%, #006170 100%);
    color: #fff; cursor: pointer;
    box-shadow: 0 18px 40px -14px rgba(14, 29, 39, .55);
    transition: transform .25s ease, box-shadow .25s ease;
}
.cookie-fab:hover { transform: translateY(-2px); box-shadow: 0 24px 48px -14px rgba(14, 29, 39, .7); }
.cookie-fab:active { transform: translateY(0) scale(.96); }
.cookie-fab svg { width: 24px; height: 24px; }

.cookie-notice {
    position: relative;
    width: min(500px, calc(100vw - 32px));
    padding: 24px 24px 22px;
    border: 1px solid rgba(145, 218, 235, .2); border-radius: 16px;
    background-color: var(--deep-space);
    color: rgba(255, 255, 255, .82);
    box-shadow: 0 30px 70px -20px rgba(14, 29, 39, .75);
}
.cookie-notice[hidden] { display: none; }

.cookie-notice__title { font-size: 18px; color: #fff; margin-bottom: 10px; padding-right: 24px; }
.cookie-notice__body { font-size: 14px; line-height: 1.6; margin-bottom: 18px; }

.cookie-notice__close {
    position: absolute; top: 10px; right: 10px;
    display: grid; place-items: center;
    width: 32px; height: 32px; padding: 0;
    border: 0; border-radius: 999px; background: none;
    color: rgba(145, 218, 235, .7); cursor: pointer;
    transition: color .2s ease, background-color .2s ease;
}
.cookie-notice__close:hover { color: var(--secondary-fixed); background-color: rgba(145, 218, 235, .12); }
.cookie-notice__close svg { width: 16px; height: 16px; }

.cookie-notice:not([hidden]) { animation: cookie-in .35s cubic-bezier(.16, 1, .3, 1); }

@keyframes cookie-in {
    from { opacity: 0; translate: 0 12px; }
    to   { opacity: 1; translate: none; }
}

@media (prefers-reduced-motion: reduce) {
    .cookie-notice { animation: none; }
}
