/* ============================================================
   ADOBOB GLOBAL NETWORK — "Trust & Authority" design system
   Corporate European retail distribution. Legitimacy-first.
   Palette: Slate Navy + Ocean Blue on cool white.
   Type: Poppins (headings) + Open Sans (body), self-hosted.
   Static site, vanilla CSS. WCAG AA+.
   ============================================================ */

/* ---- Self-hosted fonts (local, no external CDN) ---- */
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400 700;              /* variable */
    font-display: swap;
    src: url('../assets/fonts/opensans-latin-var.woff2') format('woff2');
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../assets/fonts/poppins-500-latin.woff2') format('woff2');
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../assets/fonts/poppins-600-latin.woff2') format('woff2');
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../assets/fonts/poppins-700-latin.woff2') format('woff2');
}

/* ---- Design tokens ---- */
:root {
    /* Brand / ink */
    --navy:            #0F172A;   /* primary, headlines, footer   */
    --navy-700:        #1E293B;   /* raised navy surfaces         */
    --slate-600:       #334155;   /* secondary                    */
    --ink:             #0F172A;   /* main text on light           */
    --text:            #1E293B;   /* body text                    */
    --text-muted:      #475569;   /* muted body (AA on white)     */
    --text-faint:      #64748B;   /* meta / captions              */

    /* Accent (Ocean Blue CTA) */
    --accent:          #0369A1;
    --accent-hover:    #075985;
    --accent-deep:     #0C4A6E;
    --accent-soft:     #E0F2FE;   /* tinted fill                  */
    --accent-softer:   #F0F9FF;

    /* Verified / positive */
    --success:         #047857;
    --success-soft:    #ECFDF5;

    /* Surfaces */
    --bg:              #F8FAFC;   /* page                         */
    --bg-alt:          #EEF2F7;   /* recessed section             */
    --card:            #FFFFFF;
    --muted:           #E8ECF1;
    --border:          #E2E8F0;
    --border-strong:   #CBD5E1;
    --destructive:     #DC2626;

    /* Type */
    --font-heading: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-body:    'Open Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

    /* Shape */
    --radius:      14px;
    --radius-sm:   10px;
    --radius-lg:   20px;
    --radius-pill: 999px;

    /* Spacing scale (4/8) */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;

    /* Elevation (cool navy-tinted) */
    --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.06);
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 10px 24px -12px rgba(15, 23, 42, 0.20);
    --shadow-lg: 0 22px 45px -20px rgba(15, 23, 42, 0.28);
    --shadow-accent: 0 12px 26px -12px rgba(3, 105, 161, 0.45);

    --ring: 0 0 0 3px rgba(3, 105, 161, 0.35);
    --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);

    /* Motion easing (natural deceleration — no bounce/elastic) */
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-out-expo:  cubic-bezier(0.16, 1, 0.3, 1);

    /* Layered z-index */
    --z-header: 100;
    --z-cookie: 1000;
}

/* ---- Reset ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: 5.5rem;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text);
    background-color: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

::selection { background: var(--accent-soft); color: var(--accent-deep); }

/* ---- Skip link ---- */
.skip-link {
    position: absolute;
    left: 1rem;
    top: -60px;
    z-index: 2000;
    background: var(--navy);
    color: #fff;
    padding: 0.65rem 1.1rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-weight: 600;
    transition: top var(--transition);
}
.skip-link:focus { top: 1rem; text-decoration: none; }

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.15;
    color: var(--ink);
    letter-spacing: -0.02em;
    text-wrap: balance;
}

h1 { font-size: clamp(2.25rem, 4.6vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 1.9vw, 1.45rem); font-weight: 600; letter-spacing: -0.01em; }
h4 { font-size: 1.05rem; font-weight: 600; }

p { color: var(--text-muted); max-width: 68ch; }
p + p { margin-top: var(--space-sm); }

a {
    color: var(--accent);
    text-decoration: none;
    text-underline-offset: 3px;
    transition: color var(--transition);
}
a:hover { color: var(--accent-hover); text-decoration: underline; }

strong { color: var(--text); font-weight: 700; }

/* Visible focus for keyboard nav (everywhere) */
:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
    border-radius: 4px;
}

/* ---- Layout ---- */
.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}
.container-narrow { max-width: 860px; }

section { padding: var(--space-2xl) 0; }

.section-header {
    max-width: 720px;
    margin: 0 0 var(--space-lg);
}
.section-header.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-header.center p { margin-left: auto; margin-right: auto; }
.section-title { margin-bottom: var(--space-sm); }
.section-description { font-size: 1.125rem; color: var(--text-muted); margin-top: var(--space-sm); }

.bg-alt { background-color: var(--bg-alt); }
.bg-navy { background-color: var(--navy); }

/* ---- Eyebrow pill ---- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-deep);
    background: var(--accent-soft);
    padding: 0.4rem 0.85rem;
    border-radius: var(--radius-pill);
    margin-bottom: var(--space-md);
}
.eyebrow::before {
    content: '';
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--accent);
}
.eyebrow.on-navy { color: #BAE6FD; background: rgba(3, 105, 161, 0.22); }
.eyebrow.on-navy::before { background: #38BDF8; }

/* ---- Header ---- */
.site-header {
    position: sticky;
    top: 0;
    z-index: var(--z-header);
    background: rgba(248, 250, 252, 0.85);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}
.site-header.scrolled {
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-sm);
    background: rgba(248, 250, 252, 0.95);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-md);
    max-width: 1180px;
    margin: 0 auto;
    padding: 0.7rem var(--space-md);
}

.logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.logo img { height: 42px; width: auto; }

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    list-style: none;
}
.nav-menu a {
    display: inline-block;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--slate-600);
    padding: 0.5rem 0.95rem;
    border-radius: var(--radius-pill);
    transition: color var(--transition), background var(--transition);
}
.nav-menu a:hover { color: var(--accent-deep); background: var(--accent-softer); text-decoration: none; }
.nav-menu a[aria-current="page"] { color: var(--accent-deep); background: var(--accent-soft); }

.nav-cta { margin-left: 0.35rem; }
.nav-cta .btn { padding: 0.55rem 1.15rem; font-size: 0.92rem; }

/* Mobile toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px; height: 44px;
    background: none;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    padding: 0 10px;
}
.menu-toggle span {
    width: 22px; height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.6rem;
    font-family: var(--font-body);
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1;
    border: 2px solid transparent;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
    white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: var(--shadow-accent);
}
.btn-primary:hover { background: var(--accent-hover); color: #fff; transform: translateY(-2px); text-decoration: none; box-shadow: var(--shadow-lg); }

.btn-secondary {
    background: var(--card);
    color: var(--accent-deep);
    border-color: var(--border-strong);
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent-deep); background: var(--accent-softer); transform: translateY(-2px); text-decoration: none; }

/* On dark navy backgrounds */
.btn-ghost-light {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
}
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.16); color: #fff; border-color: #fff; transform: translateY(-2px); text-decoration: none; }

/* Press feedback — quick, tactile */
.btn:active { transform: translateY(0) scale(0.97); transition-duration: 0.08s; }
.card:active { transition-duration: 0.08s; }

.btn-lg { padding: 1rem 1.9rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: var(--space-lg); }

/* ---- Hero ---- */
.hero {
    position: relative;
    background: linear-gradient(160deg, #0B1220 0%, var(--navy) 45%, var(--navy-700) 100%);
    color: #E2E8F0;
    overflow: hidden;
    isolation: isolate;
}
/* Aurora field — soft coloured light that drifts behind the navy */
.hero::before {
    content: '';
    position: absolute;
    inset: -25%;
    z-index: -2;
    background:
        radial-gradient(32% 40% at 78% 12%, rgba(3, 105, 161, 0.55) 0%, transparent 62%),
        radial-gradient(28% 34% at 14% 88%, rgba(56, 189, 248, 0.30) 0%, transparent 60%),
        radial-gradient(38% 42% at 55% 55%, rgba(2, 132, 199, 0.20) 0%, transparent 70%);
    filter: blur(8px);
    pointer-events: none;
    will-change: transform;
    animation: aurora 20s ease-in-out infinite alternate;
}
/* Slow conic light sweep for extra life */
.hero::after {
    content: '';
    position: absolute;
    inset: -40%;
    z-index: -1;
    background: conic-gradient(from 0turn at 72% 22%, transparent 0turn, rgba(125, 211, 252, 0.10) 0.12turn, transparent 0.32turn);
    pointer-events: none;
    will-change: transform;
    animation: heroSweep 26s linear infinite;
}
@keyframes aurora {
    0%   { transform: translate3d(-2%, 1%, 0) rotate(0deg) scale(1); }
    100% { transform: translate3d(3%, -3%, 0) rotate(4deg) scale(1.12); }
}
@keyframes heroSweep {
    to { transform: rotate(1turn); }
}
.hero-inner { padding: var(--space-2xl) 0; }

.hero-home .hero-inner { padding-top: calc(var(--space-2xl) + 1rem); padding-bottom: var(--space-2xl); }
.hero h1 { color: #fff; max-width: 18ch; margin-bottom: var(--space-md); }
.hero-lead {
    font-size: clamp(1.05rem, 1.6vw, 1.28rem);
    color: #CBD5E1;
    max-width: 56ch;
    line-height: 1.6;
}
.hero-sub .hero-inner { padding: var(--space-xl) 0; }
.hero-sub h1 { max-width: 22ch; }

/* Signature hero entrance — one orchestrated page-load, staggered.
   Gated behind .js so no-JS renderers show a fully visible hero. */
@keyframes heroRise {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
.js .hero-inner > * { opacity: 0; animation: heroRise 0.72s var(--ease-out-expo) both; }
.js .hero-inner > *:nth-child(1) { animation-delay: 0.06s; }
.js .hero-inner > *:nth-child(2) { animation-delay: 0.15s; }
.js .hero-inner > *:nth-child(3) { animation-delay: 0.24s; }
.js .hero-inner > *:nth-child(4) { animation-delay: 0.33s; }
.js .hero-inner > *:nth-child(5) { animation-delay: 0.42s; }
/* The headline gets its own word-by-word mask reveal (set up by JS),
   so exclude it from the generic sibling stagger. */
.js .hero-inner > h1 { opacity: 1; animation: none; }

.hero h1.is-split { }
.hero h1 .word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero h1 .word-inner {
    display: inline-block;
    transform: translateY(115%);
    animation: wordRise 0.85s var(--ease-out-expo) both;
    animation-delay: calc(var(--wi) * 65ms + 0.12s);
}
@keyframes wordRise {
    from { transform: translateY(115%); }
    to   { transform: translateY(0); }
}

/* Trust chips under hero headline */
.trust-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: var(--space-lg);
}
.trust-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #E2E8F0;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    padding: 0.45rem 0.85rem;
    border-radius: var(--radius-pill);
}
.trust-chip svg { width: 16px; height: 16px; color: #38BDF8; }

/* ---- Trust bar (registration facts strip) ---- */
.factbar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.factbar-item {
    background: var(--card);
    padding: 1.35rem 1.5rem;
}
.factbar-item .k {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-faint);
    margin-bottom: 0.3rem;
}
.factbar-item .v {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
}

/* ---- Feature / info cards ---- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-lg);
}
.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.9rem;
    box-shadow: var(--shadow-xs);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }

.card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem; height: 3rem;
    border-radius: var(--radius-sm);
    background: var(--accent-soft);
    color: var(--accent-deep);
    margin-bottom: var(--space-md);
}
.card-icon svg { width: 24px; height: 24px; }

.card-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.9rem; height: 2.9rem;
    border-radius: var(--radius-sm);
    background: var(--navy);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: var(--space-md);
    font-variant-numeric: tabular-nums;
}

.card h3 { margin-bottom: 0.6rem; color: var(--ink); }
.card p { color: var(--text-muted); font-size: 0.97rem; }

.card ul { list-style: none; margin-top: var(--space-sm); }
.card li {
    position: relative;
    padding-left: 1.6rem;
    margin-bottom: 0.5rem;
    font-size: 0.93rem;
    color: var(--text-muted);
}
.card li::before {
    content: '';
    position: absolute;
    left: 0; top: 0.5em;
    width: 0.7rem; height: 0.38rem;
    border-left: 2px solid var(--success);
    border-bottom: 2px solid var(--success);
    transform: rotate(-45deg);
}

/* ---- Two-column content ---- */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: start;
}
.two-col.stack-narrow { gap: var(--space-lg); }

.check-list { list-style: none; margin-top: var(--space-md); }
.check-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.75rem;
    color: var(--text-muted);
}
.check-list li::before {
    content: '';
    position: absolute;
    left: 0; top: 0.15em;
    width: 1.35rem; height: 1.35rem;
    border-radius: 50%;
    background: var(--success-soft);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23047857' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}
.prose h3 { margin-top: var(--space-md); margin-bottom: 0.5rem; }
.prose h3:first-child { margin-top: 0; }
.prose p { margin-top: 0.5rem; }

/* ---- Data / registration card ---- */
.data-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius-sm);
    padding: 1.4rem 1.6rem;
    margin: var(--space-md) 0;
    box-shadow: var(--shadow-xs);
}
.data-card dl { display: grid; grid-template-columns: auto 1fr; gap: 0.55rem 1.5rem; }
.data-card dt {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--text-faint);
    align-self: center;
}
.data-card dd {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
}
.data-card--flow { line-height: 1.9; font-weight: 600; color: var(--text); }
.data-card--flow strong { color: var(--accent-deep); }

/* ---- Stats ---- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-lg);
}
.stat {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem;
    box-shadow: var(--shadow-xs);
    transition: transform var(--transition), box-shadow var(--transition);
}
.stat:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.stat-num {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(2.2rem, 4vw, 3rem);
    color: var(--accent-deep);
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    margin-bottom: 0.5rem;
}
.stat-label {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-faint);
}

/* ---- CTA band ---- */
.cta-band {
    background: linear-gradient(160deg, var(--navy) 0%, var(--navy-700) 100%);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    color: #E2E8F0;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.cta-band::before {
    content: '';
    position: absolute; inset: 0; z-index: -1;
    background: radial-gradient(50% 80% at 50% 0%, rgba(3, 105, 161, 0.4) 0%, transparent 70%);
}
.cta-band h2 { color: #fff; margin-bottom: var(--space-sm); }
.cta-band p { color: #CBD5E1; margin: 0 auto; }
.cta-band .btn-row { justify-content: center; }

/* ---- Contact ---- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-xl);
    align-items: start;
}
.contact-panel {
    background: linear-gradient(160deg, var(--navy) 0%, var(--navy-700) 100%);
    color: #E2E8F0;
    padding: var(--space-lg);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}
.contact-panel h3 { color: #fff; margin-bottom: var(--space-md); }
.contact-panel p { color: #CBD5E1; }

.contact-item {
    display: flex;
    gap: 0.9rem;
    padding: var(--space-md) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.contact-item:last-child { border-bottom: none; padding-bottom: 0; }
.contact-item .ci-icon {
    flex-shrink: 0;
    width: 2.4rem; height: 2.4rem;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.1);
    color: #7DD3FC;
}
.contact-item .ci-icon svg { width: 20px; height: 20px; }
.contact-item .ci-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #94A3B8;
    margin-bottom: 0.2rem;
}
.contact-item .ci-value { color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }
.contact-item .ci-value a { color: #7DD3FC; }
.contact-item .ci-note { font-size: 0.85rem; color: #94A3B8; margin-top: 0.15rem; }

/* ---- Forms ---- */
.form { display: flex; flex-direction: column; gap: 1.15rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
.form-group { display: flex; flex-direction: column; }
.form-group label {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--ink);
    margin-bottom: 0.4rem;
}
.form-group .req { color: var(--destructive); }
.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text);
    background: var(--card);
    border: 1.5px solid var(--border-strong);
    border-radius: var(--radius-sm);
    padding: 0.8rem 1rem;
    min-height: 48px;
    transition: border-color var(--transition), box-shadow var(--transition);
    width: 100%;
}
.form-group select { cursor: pointer; }
.form-group textarea { min-height: 150px; resize: vertical; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: var(--ring);
}
.form-group input:user-invalid,
.form-group textarea:user-invalid,
.form-group select:user-invalid { border-color: var(--destructive); }
.form-hint { font-size: 0.85rem; color: var(--text-faint); }
.form-hint a { text-decoration: underline; }

.form-status {
    padding: 0.9rem 1.1rem;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    display: none;
}
.form-status.is-success { display: block; background: var(--success-soft); color: var(--success); border: 1px solid #A7F3D0; }
.form-status.is-error { display: block; background: #FEF2F2; color: var(--destructive); border: 1px solid #FECACA; }

/* ---- Legal pages ---- */
.legal {
    max-width: 820px;
    margin: 0 auto;
    padding: var(--space-xl) var(--space-md) var(--space-2xl);
}
.legal h1 { margin-bottom: var(--space-sm); }
.legal .legal-meta { color: var(--text-faint); font-style: italic; margin-bottom: var(--space-lg); font-size: 0.95rem; }
.legal h2 {
    font-size: 1.45rem;
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
    padding-top: var(--space-sm);
    border-top: 1px solid var(--border);
}
.legal h3 { font-size: 1.12rem; margin-top: var(--space-md); margin-bottom: 0.5rem; color: var(--slate-600); }
.legal p { margin-top: 0.75rem; max-width: none; }
.legal ul, .legal ol { margin: 0.75rem 0 0 1.4rem; }
.legal li { margin-bottom: 0.4rem; color: var(--text-muted); }
.legal a { text-decoration: underline; }
.legal table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--space-md) 0;
    font-size: 0.92rem;
}
.legal table th, .legal table td {
    padding: 0.7rem 0.85rem;
    border: 1px solid var(--border);
    text-align: left;
}
.legal table th { background: var(--bg-alt); font-family: var(--font-heading); font-weight: 600; color: var(--ink); }
.legal table td { color: var(--text-muted); }
.legal .callout {
    margin-top: var(--space-lg);
    padding: 1.4rem 1.6rem;
    background: var(--accent-softer);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius-sm);
}
.legal .callout p { margin: 0; color: var(--text); font-weight: 600; }
.legal .data-card { max-width: none; }

/* ---- Footer ---- */
.site-footer {
    background: var(--navy);
    color: #94A3B8;
    padding: var(--space-2xl) 0 var(--space-lg);
    margin-top: var(--space-2xl);
    border-top: 3px solid var(--accent);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: var(--space-lg);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-brand img {
    height: 40px; width: auto;
    filter: brightness(0) invert(1);
    margin-bottom: var(--space-sm);
}
.footer-brand p { color: #94A3B8; font-size: 0.92rem; max-width: 34ch; }
.footer-col h4 {
    color: #fff;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: var(--space-md);
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.55rem; font-size: 0.92rem; }
.footer-col a { color: #94A3B8; font-size: 0.92rem; }
.footer-col a:hover { color: #fff; text-decoration: none; }
.footer-col address { font-style: normal; color: #94A3B8; font-size: 0.92rem; line-height: 1.7; }
.footer-bottom {
    padding-top: var(--space-md);
    font-size: 0.85rem;
    color: #64748B;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    justify-content: space-between;
}

/* ---- Cookie consent (GDPR opt-in) ---- */
.cookie-banner {
    position: fixed;
    left: 1.25rem;
    bottom: 1.25rem;
    right: 1.25rem;
    max-width: 480px;
    background: var(--card);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 1.5rem;
    z-index: var(--z-cookie);
    display: none;
}
.cookie-banner.is-open { display: block; animation: cookie-in 0.35s cubic-bezier(0.4, 0, 0.2, 1); }
@keyframes cookie-in { from { transform: translateY(24px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.cookie-banner h2 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    display: flex; align-items: center; gap: 0.5rem;
}
.cookie-banner h2 svg { width: 22px; height: 22px; color: var(--accent); }
.cookie-banner p { font-size: 0.92rem; color: var(--text-muted); margin-bottom: 1.1rem; }
.cookie-banner p a { text-decoration: underline; font-weight: 600; }

.cookie-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.cookie-actions .btn { flex: 1 1 auto; padding: 0.7rem 1rem; font-size: 0.92rem; }
.cookie-link-btn {
    background: none;
    border: none;
    color: var(--accent);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.92rem;
    cursor: pointer;
    padding: 0.7rem 0.5rem;
    text-decoration: underline;
    flex: 1 1 100%;
    order: 3;
}

/* Preferences panel */
.cookie-prefs { display: none; margin: 0.5rem 0 1.1rem; border-top: 1px solid var(--border); padding-top: 1rem; }
.cookie-prefs.is-open { display: block; }
.cookie-option {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--border);
}
.cookie-option:last-child { border-bottom: none; }
.cookie-option .co-title { font-weight: 700; font-size: 0.92rem; color: var(--ink); }
.cookie-option .co-desc { font-size: 0.82rem; color: var(--text-faint); margin-top: 0.15rem; }

/* Toggle switch */
.switch { position: relative; flex-shrink: 0; width: 44px; height: 26px; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.switch .track {
    position: absolute; inset: 0;
    background: var(--border-strong);
    border-radius: var(--radius-pill);
    transition: background var(--transition);
}
.switch .track::before {
    content: '';
    position: absolute;
    left: 3px; top: 3px;
    width: 20px; height: 20px;
    background: #fff;
    border-radius: 50%;
    transition: transform var(--transition);
    box-shadow: var(--shadow-sm);
}
.switch input:checked + .track { background: var(--accent); }
.switch input:checked + .track::before { transform: translateX(18px); }
.switch input:focus-visible + .track { box-shadow: var(--ring); }
.switch input:disabled + .track { background: var(--success); opacity: 0.7; cursor: not-allowed; }

/* ---- Scroll reveal (progressive enhancement, differentiated) ----
   Visible by default so content shows even without JS. Only the `js`
   class (added by an inline head script) opts into the hidden start state.
   Treatments differ by section type so it never reads as one uniform
   fade-up reflex: grids get list-rhythm stagger, prose fades in place,
   the CTA scales up, the factbar rises as a single unit. */
.reveal { opacity: 1; transform: none; }

.js .reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s var(--ease-out-quart), transform 0.7s var(--ease-out-quart);
}
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Grids = legitimate sibling stagger (capped) */
.js .card-grid .reveal,
.js .stats-grid .reveal { transition-delay: 0ms; }
.js .card-grid .reveal:nth-child(2),
.js .stats-grid .reveal:nth-child(2) { transition-delay: 70ms; }
.js .card-grid .reveal:nth-child(3),
.js .stats-grid .reveal:nth-child(3) { transition-delay: 140ms; }
.js .card-grid .reveal:nth-child(4),
.js .stats-grid .reveal:nth-child(4) { transition-delay: 210ms; }
.js .card-grid .reveal:nth-child(5) { transition-delay: 280ms; }
.js .card-grid .reveal:nth-child(6) { transition-delay: 350ms; }
.js .card-grid .reveal:nth-child(n+7) { transition-delay: 420ms; }

/* Prose / two-column = quiet fade in place (no rise), a distinct treatment */
.js .two-col .reveal,
.js .prose.reveal { transform: none; transition: opacity 0.8s var(--ease-out-quart); }

/* CTA band = confident scale-up, its own moment */
.js .cta-band.reveal {
    transform: scale(0.97);
    transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}
.js .cta-band.reveal.is-visible { transform: scale(1); }

/* Factbar = single unit rising, tabular data settling into place */
.js .factbar.reveal { transform: translateY(16px); }

/* Card icon reacts to card hover (SVG, not an image) */
.card .card-icon { transition: background var(--transition), color var(--transition), transform 0.25s var(--ease-out-quint); }
.card:hover .card-icon { transform: translateY(-2px); background: var(--accent); color: #fff; }

/* Mobile menu opens with a soft slide+fade instead of snapping */
.js .nav-menu.is-open { animation: menuDrop 0.24s var(--ease-out-quart) both; }
@keyframes menuDrop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }

/* ---- Scroll progress bar (injected by JS) ---- */
.scroll-progress {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 3px;
    z-index: var(--z-header);
    pointer-events: none;
    background: transparent;
}
.scroll-progress > i {
    display: block;
    height: 100%;
    width: 100%;
    transform: scaleX(0);
    transform-origin: left center;
    background: linear-gradient(90deg, var(--accent), #38BDF8);
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.5);
}

/* ---- Smart header (hides on scroll down, returns on scroll up) ---- */
.site-header { transition: transform 0.4s var(--ease-out-quart), border-color var(--transition), box-shadow var(--transition), background var(--transition); }
.site-header.nav-hidden { transform: translateY(-100%); }

/* ---- Section headers wipe up into view ---- */
.js .section-header {
    clip-path: inset(0 0 100% 0);
    opacity: 0.001;
    transition: clip-path 0.85s var(--ease-out-expo), opacity 0.6s ease;
}
.js .section-header.is-visible { clip-path: inset(0 0 0 0); opacity: 1; }

/* ---- Cursor spotlight on cards (SVG/text only, never an image) ---- */
.card { position: relative; overflow: hidden; }
.card > * { position: relative; z-index: 1; }
.card::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(3, 105, 161, 0.14), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s var(--ease-out-quart);
    pointer-events: none;
}
.card:hover::before { opacity: 1; }

/* ---- Light sweep across the primary CTA on hover ---- */
.btn-primary { position: relative; overflow: hidden; isolation: isolate; }
.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, 0.35) 50%, transparent 68%);
    transform: translateX(-130%);
    transition: transform 0.6s var(--ease-out-quart);
    pointer-events: none;
}
.btn-primary:hover::after { transform: translateX(130%); }

/* ---- Contact panel + form-status success pulse ---- */
.form-status.is-success { animation: statusPop 0.4s var(--ease-out-quint) both; }
@keyframes statusPop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .factbar { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
    :root { --space-2xl: 4rem; --space-xl: 3rem; }
    .two-col, .contact-grid { grid-template-columns: 1fr; gap: var(--space-lg); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .menu-toggle { display: flex; }
    .nav-cta { display: none; }
    .nav-menu {
        position: absolute;
        top: 100%; left: 0; right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0.2rem;
        background: var(--bg);
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-md);
        padding: var(--space-sm) var(--space-md) var(--space-md);
        display: none;
    }
    .nav-menu.is-open { display: flex; }
    .nav-menu a { padding: 0.75rem 1rem; border-radius: var(--radius-sm); }
    .form-row { grid-template-columns: 1fr; }
    .card-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .factbar { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .cookie-banner { left: 0.75rem; right: 0.75rem; bottom: 0.75rem; padding: 1.25rem; }
    .cta-band { padding: var(--space-lg) var(--space-md); }
    .data-card dl { grid-template-columns: 1fr; gap: 0.15rem 0; }
    .data-card dd { margin-bottom: 0.5rem; }
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
    .reveal,
    .js .reveal,
    .js .cta-band.reveal,
    .js .hero-inner > *,
    .hero h1 .word-inner { opacity: 1 !important; transform: none !important; }
    .hero h1 .word { overflow: visible; }
    .js .section-header { clip-path: none !important; opacity: 1 !important; }
    .hero::before, .hero::after { animation: none !important; }
    .btn-primary::after { display: none; }
}

/* ---- Print ---- */
@media print {
    .site-header, .site-footer, .cookie-banner, .btn, .menu-toggle { display: none !important; }
    body { color: #000; background: #fff; }
    .hero { background: none; color: #000; }
    .hero h1, .hero-lead { color: #000; }
}
