@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Space+Grotesk:wght@500;600;700&display=swap');
:root {
    --color-primary: #000d56;
    --color-primary-contrast: #ffffff;
    --color-secondary: #ff4056;
    --color-tertiary: #0000ee;
    --color-neutral: #ffffff;
    --color-surface: #f7f8fc;
    --color-on-surface: #111111;
    /* darkened for stronger contrast / readability (was #6d7285) */
    --color-on-surface-muted: #4c536b;
    --color-border-subtle: #d7def2;
    --color-success: #1f9d55;
    --color-error: #d92d20;
    --color-utility-bg: #000d56;
    --font-family-display: "Space Grotesk", sans-serif;
    --font-family-heading: "Space Grotesk", "Inter", sans-serif;
    --font-family-body: "Inter", sans-serif;
    --font-family-label: "Inter", sans-serif;
    --spacing-xs: 6px;
    --spacing-sm: 14px;
    --spacing-md: 30px;
    --spacing-lg: 48px;
    --spacing-xl: 64px;
    --spacing-gutter: 32px;
    --spacing-section: 96px;
    --rounded-none: 0px;
    --rounded-sm: 4px;
    --rounded-md: 8px;
    --rounded-lg: 16px;
    --rounded-xl: 24px;
    --rounded-full: 9999px;
    --nav-utility-height: 36px;
    --nav-main-height: 64px;
    --nav-total-height: 100px;
    --shadow-card: 0 1px 3px rgba(0, 0, 0, .06), 0 4px 16px rgba(0, 0, 0, .06);
    --shadow-card-hover: 0 4px 8px rgba(0, 0, 0, .08), 0 12px 32px rgba(0, 0, 0, .1);
}


/* ─── Reset ────────────────────────────────────────────── */

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

html {
    scroll-behavior: smooth;
    /* larger base so all rem-based text (incl. product pages) reads bigger */
    font-size: 17px;
}

body {
    background-color: var(--color-neutral);
    color: var(--color-on-surface);
    font-family: var(--font-family-body);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color .2s;
}


/* ─── Typography ────────────────────────────────────────── */

.headline-display {
    font-family: var(--font-family-display);
    font-size: clamp(36px, 4.5vw, 60px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -1.5px;
    color: var(--color-primary);
}

.headline-xl {
    font-family: var(--font-family-display);
    font-size: clamp(42px, 5.5vw, 72px);
    font-weight: 700;
    line-height: 1.0;
    letter-spacing: -2px;
    color: var(--color-primary);
}

.headline-lg {
    font-family: var(--font-family-display);
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1px;
    color: var(--color-primary);
}

.headline-md {
    font-family: var(--font-family-display);
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -.5px;
    color: var(--color-primary);
}

.headline-sm {
    font-family: var(--font-family-display);
    font-size: 19px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -.3px;
    color: var(--color-primary);
}

.body-lg {
    font-size: 20px;
    line-height: 1.7;
    color: var(--color-on-surface-muted);
}

.body-md {
    font-size: 17px;
    line-height: 1.7;
    color: var(--color-on-surface-muted);
}

.body-sm {
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-on-surface-muted);
}

.eyebrow {
    font-family: var(--font-family-label);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--color-secondary);
    display: block;
    margin-bottom: 12px;
}


/* ─── Layout ────────────────────────────────────────────── */

.container {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 48px;
}

.section {
    padding: var(--spacing-section) 0;
}

.grid {
    display: grid;
    gap: var(--spacing-gutter);
}

.grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

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

.grid-cols-4 {
    grid-template-columns: repeat(4, 1fr);
}


/* ─── Buttons ───────────────────────────────────────────── */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-family-label);
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    border: none;
    border-radius: var(--rounded-full);
    transition: all .2s ease;
    white-space: nowrap;
    text-decoration: none;
}

.btn-primary {
    background: var(--color-secondary);
    color: #fff;
    padding: 14px 28px;
    height: 48px;
}

.btn-primary:hover {
    background: #e0002e;
    color: #fff;
}

.btn-secondary {
    background: var(--color-primary);
    color: #fff;
    padding: 14px 28px;
    height: 48px;
}

.btn-secondary:hover {
    background: #000940;
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    padding: 13px 27px;
    height: 48px;
    border: 1.5px solid var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-primary);
    color: #fff;
}

.btn-ghost {
    background: transparent;
    color: var(--color-primary);
    padding: 0;
    height: auto;
    border-radius: 0;
    font-size: 14px;
    font-weight: 600;
    gap: 6px;
}

.btn-ghost:hover {
    color: var(--color-secondary);
}

.btn-tertiary {
    background: transparent;
    color: var(--color-primary);
    padding: 0;
    height: auto;
    border-radius: 0;
    font-size: 13px;
    font-weight: 600;
}

.btn-tertiary:hover {
    color: var(--color-secondary);
}


/* ─── Cards ─────────────────────────────────────────────── */

.card {
    background: var(--color-neutral);
    border-radius: var(--rounded-lg);
    padding: 24px;
    border: 1px solid var(--color-border-subtle);
    box-shadow: var(--shadow-card);
    transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}

.card:hover {
    box-shadow: var(--shadow-card-hover);
    border-color: #b8c4e0;
    transform: translateY(-2px);
}


/* ─── Utility Nav ───────────────────────────────────────── */

.utility-nav {
    background: var(--color-primary);
    height: var(--nav-utility-height);
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 200;
}

.utility-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.utility-nav-left {
    display: flex;
    gap: 24px;
    align-items: center;
}

.utility-nav-right {
    display: flex;
    gap: 20px;
    align-items: center;
}

.utility-link {
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, .75);
    font-family: var(--font-family-label);
    transition: color .2s;
}

.utility-link:hover {
    color: #fff;
}

.utility-divider {
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, .2);
}


/* ─── Main Nav ──────────────────────────────────────────── */

header {
    position: fixed;
    top: var(--nav-utility-height);
    width: 100%;
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border-subtle);
    height: var(--nav-main-height);
    display: flex;
    align-items: center;
    z-index: 190;
    transition: box-shadow .3s;
}

header.scrolled {
    box-shadow: 0 4px 24px rgba(0, 0, 0, .08);
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    width: 100%;
}

.logo img {
    height: 34px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    height: 100%;
}

.nav-item {
    position: static;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-link {
    font-family: var(--font-family-label);
    font-size: 14px;
    font-weight: 500;
    color: var(--color-on-surface);
    padding: 0 14px;
    height: 100%;
    display: flex;
    align-items: center;
    transition: color .2s;
    position: relative;
}

.nav-link:hover,
.nav-item:hover .nav-link {
    color: var(--color-primary);
}

.nav-link.has-dropdown::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid currentColor;
    margin-left: 6px;
    opacity: .6;
    transition: transform .2s;
}

.nav-item:hover .nav-link.has-dropdown::after {
    transform: rotate(180deg);
}

.header-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}


/* Hamburger toggle + mobile-only menu extras — hidden on desktop, shown ≤900px */

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 40px;
    padding: 0 10px;
    background: transparent;
    border: 1px solid var(--color-border-subtle);
    border-radius: 8px;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: var(--color-primary);
    transition: transform .25s ease, opacity .2s ease;
}

.nav-mobile-extra {
    display: none;
}


/* ─── Mega Menu ─────────────────────────────────────────── */

.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100vw;
    background: #fff;
    border-top: 1px solid var(--color-border-subtle);
    border-bottom: 1px solid var(--color-border-subtle);
    box-shadow: 0 20px 60px rgba(0, 0, 0, .1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .22s ease, transform .22s ease, visibility .22s;
    z-index: 300;
}

.nav-item:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu-content {
    max-width: 1380px;
    margin: 0 auto;
    padding: 40px 48px;
    display: flex;
    gap: 60px;
}

.mega-menu-column {
    flex: 1;
}

.mega-menu-column h4 {
    font-family: var(--font-family-label);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--color-on-surface-muted);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--color-border-subtle);
}

.mega-menu-link {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-on-surface);
    padding: 9px 0;
    border-bottom: 1px solid transparent;
    transition: color .2s, padding-left .15s;
}

.mega-menu-link:hover {
    color: var(--color-primary);
    padding-left: 6px;
}

.featured-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border-subtle);
    border-radius: var(--rounded-lg);
    padding: 28px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.featured-card h4 {
    font-family: var(--font-family-display);
    font-size: 17px;
    font-weight: 600;
    color: var(--color-primary);
    margin-top: 18px;
    border: none;
    padding: 0;
    letter-spacing: 0;
    text-transform: none;
    line-height: 1.4;
}


/* ─── Page offset ───────────────────────────────────────── */

.page-offset {
    padding-top: var(--nav-total-height);
}


/* ─── Hero Slider ─────────────────────────────────────── */

.hero-slider {
    position: relative;
    width: 100%;
    height: calc(100vh - var(--nav-total-height));
    min-height: 620px;
    max-height: 860px;
    background: var(--color-neutral);
    overflow: hidden;
}

.slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .9s ease, visibility .9s;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    height: 100%;
}

.slide-copy {
    max-width: 580px;
}

.slide-copy .eyebrow {
    color: var(--color-secondary);
}

.slide-copy h1.headline-xl {
    margin-bottom: 24px;
    color: var(--color-primary);
}

.slide-copy .subheadline {
    font-size: 19px;
    line-height: 1.6;
    color: var(--color-on-surface-muted);
    margin-bottom: 40px;
    font-weight: 400;
}

.slide-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
}

.slide-visual {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.slide-img-wrap {
    width: 100%;
    height: 92%;
    max-height: 560px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* Transparent-background brand illustrations: show the whole artwork
   (contain, no crop) with a soft floating lift instead of a photo card. */

.slide-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 26px 52px rgba(0, 13, 86, .16));
    animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-14px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .slide-img-wrap img {
        animation: none;
    }
}


/* Graceful fallback if a hero image file is missing */

.slide-img-wrap.img-missing {
    min-height: 320px;
    border-radius: var(--rounded-xl);
    background: linear-gradient(135deg, rgba(0, 13, 86, .08) 0%, rgba(255, 64, 86, .06) 100%);
}

.hero-bg-accent {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 120%;
    background: radial-gradient(ellipse at center, rgba(255, 64, 86, .06) 0%, transparent 70%);
    pointer-events: none;
}


/* Slider dots */

.slider-dots {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 13, 86, .2);
    cursor: pointer;
    transition: all .4s ease;
}

.dot:hover {
    background: rgba(0, 13, 86, .5);
}

.dot.active {
    background: var(--color-secondary);
    width: 32px;
    border-radius: 4px;
}


/* ─── Stats Strip ───────────────────────────────────────── */

.stats-strip {
    background: var(--color-primary);
    padding: 48px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.stat-item {
    text-align: center;
    padding: 0 32px;
    border-right: 1px solid rgba(255, 255, 255, .12);
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    font-family: var(--font-family-display);
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    margin-bottom: 10px;
    margin-top: 10px;
}

.stat-number span {
    color: var(--color-secondary);
}

.stat-label {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, .65);
    line-height: 1.4;
}


/* ─── Section Header ────────────────────────────────────── */

.section-header {
    margin-bottom: 60px;
    max-width: 720px;
}

.section-header.centered {
    text-align: center;
    margin-inline: auto;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    line-height: 1.65;
    color: var(--color-on-surface-muted);
}


/* ─── Products / Recommendations ───────────────────────── */

.recommendations {
    background: var(--color-surface);
    padding: var(--spacing-section) 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 12px;
}

.product-card {
    background: var(--color-neutral);
    border: 1px solid var(--color-border-subtle);
    border-radius: var(--rounded-lg);
    padding: 32px;
    box-shadow: var(--shadow-card);
    transition: box-shadow .25s, transform .25s, border-color .25s;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.product-card:hover {
    box-shadow: var(--shadow-card-hover);
    border-color: #b8c4e0;
    transform: translateY(-3px);
}

.product-card-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--rounded-md);
    background: rgba(0, 13, 86, .05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
}

.product-card-icon svg {
    width: 26px;
    height: 26px;
}

.product-card h3 {
    margin: 4px 0 0;
}

.product-card p {
    flex: 1;
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-on-surface-muted);
}


/* ─── Feature Grid ──────────────────────────────────────── */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--color-neutral);
    border: 1px solid var(--color-border-subtle);
    border-radius: var(--rounded-lg);
    padding: 40px;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: box-shadow .25s, border-color .25s;
}

.feature-card:hover {
    box-shadow: var(--shadow-card-hover);
    border-color: #b8c4e0;
}

.feature-number {
    font-family: var(--font-family-display);
    font-size: 52px;
    font-weight: 700;
    color: var(--color-border-subtle);
    line-height: 1;
}


/* ─── Split Section ─────────────────────────────────────── */

.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 520px;
}

.split-dark {
    background: var(--color-primary);
    padding: 80px 10%;
    display: flex;
    align-items: center;
}

.split-dark h2 {
    font-family: var(--font-family-display);
    font-size: clamp(30px, 3vw, 44px);
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.split-dark h2 em {
    font-style: normal;
    color: var(--color-secondary);
}

.split-dark p {
    color: rgba(255, 255, 255, .65);
    font-size: 16px;
}

.split-image {
    position: relative;
    overflow: hidden;
}

.split-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* ─── Marquee ───────────────────────────────────────────── */

.marquee-section {
    padding: 48px 0;
    border-top: 1px solid var(--color-border-subtle);
    border-bottom: 1px solid var(--color-border-subtle);
    background: #f0f2f8;
}

.marquee-label {
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--color-on-surface-muted);
    margin-bottom: 32px;
}

.marquee-wrapper {
    overflow: hidden;
}

.marquee-content {
    display: inline-flex;
    gap: 0;
    animation: marquee 32s linear infinite;
}

.marquee-content img {
    height: 40px;
    margin: 0 48px;
    filter: grayscale(100%) brightness(0.45);
    transition: filter .3s;
    object-fit: contain;
}

.marquee-content img:hover {
    filter: grayscale(100%) brightness(0.05);
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}


/* ─── Platform Tabs ─────────────────────────────────────── */

.tabs-section {
    background: var(--color-surface);
}

.tabs-layout {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 32px;
    align-items: stretch;
    margin-top: 48px;
}

.tabs-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tab-btn {
    text-align: left;
    padding: 22px 24px;
    background: var(--color-neutral);
    border: 1.5px solid var(--color-border-subtle);
    border-radius: var(--rounded-lg);
    cursor: pointer;
    transition: all .25s ease;
}

.tab-btn h4 {
    font-family: var(--font-family-display);
    font-size: 16px;
    font-weight: 600;
    color: var(--color-on-surface);
    margin-bottom: 6px;
}

.tab-btn p {
    font-size: 13px;
    color: var(--color-on-surface-muted);
    line-height: 1.5;
}

.tab-btn.active {
    border-color: var(--color-primary);
    background: var(--color-neutral);
    box-shadow: 0 0 0 4px rgba(0, 13, 86, .06);
}

.tab-btn.active h4 {
    color: var(--color-primary);
}

.tabs-content-area {
    position: relative;
    background: var(--color-neutral);
    border-radius: var(--rounded-xl);
    border: 1px solid var(--color-border-subtle);
    overflow: hidden;
    min-height: 440px;
}

.tab-panel {
    position: absolute;
    inset: 0;
    padding: 40px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .4s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.tab-panel.active {
    opacity: 1;
    visibility: visible;
}

.tab-panel img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--rounded-xl);
}

.tab-panel-content {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, .95);
    border-radius: var(--rounded-lg);
    padding: 24px 28px;
    border: 1px solid var(--color-border-subtle);
}


/* ─── Certifications ────────────────────────────────────── */

.certs-section {
    background: var(--color-surface);
    text-align: center;
    padding: 72px 0;
}

.badges-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 48px;
    align-items: center;
    margin-top: 48px;
}

.badges-grid img {
    max-height: 90px;
    width: auto;
    object-fit: contain;
}


/* ─── Testimonials ──────────────────────────────────────── */

.testimonial-card {
    background: var(--color-neutral);
    border: 1px solid var(--color-border-subtle);
    border-radius: var(--rounded-xl);
    padding: 40px;
    box-shadow: var(--shadow-card);
    position: relative;
}

.quote-mark {
    font-family: Georgia, serif;
    font-size: 80px;
    line-height: 1;
    color: var(--color-border-subtle);
    position: absolute;
    top: 16px;
    left: 32px;
}

.testimonial-text {
    font-size: 17px;
    line-height: 1.7;
    color: var(--color-on-surface);
    font-style: italic;
    padding-top: 40px;
    margin-bottom: 32px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-surface);
    border: 2px solid var(--color-border-subtle);
    flex-shrink: 0;
}

.author-name {
    font-weight: 600;
    font-size: 15px;
    color: var(--color-primary);
}

.author-role {
    font-size: 13px;
    color: var(--color-on-surface-muted);
    margin-top: 2px;
}


/* ─── Blog Cards ────────────────────────────────────────── */

.blog-card {
    background: var(--color-neutral);
    border: 1px solid var(--color-border-subtle);
    border-radius: var(--rounded-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-card);
    transition: box-shadow .25s, transform .25s;
}

.blog-card:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-3px);
}

.blog-card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 0;
    display: block;
}

.blog-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.blog-card-body h3 {
    font-size: 17px;
    line-height: 1.4;
    color: var(--color-primary);
}

.blog-card-body p {
    flex: 1;
    font-size: 16px;
    line-height: 1.65;
    color: var(--color-on-surface-muted);
}


/* ─── Control/Risk CTA Band ─────────────────────────────── */

.risk-band {
    background: var(--color-surface);
    padding: 100px 0 340px;
    position: relative;
    overflow: hidden;
}

.risk-band-copy {
    position: relative;
    z-index: 2;
    max-width: 820px;
}

.risk-band-copy h2 {
    font-family: var(--font-family-display);
    font-size: clamp(40px, 5vw, 68px);
    font-weight: 700;
    color: var(--color-on-surface);
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 28px;
}

.risk-band-copy h2 mark {
    background: #eaff00;
    color: inherit;
    padding: 2px 10px;
    border-radius: 4px;
}

.risk-band-copy p {
    font-size: 19px;
    color: var(--color-on-surface-muted);
    line-height: 1.65;
    max-width: 580px;
}

.hex-svg {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    pointer-events: none;
}


/* ─── Massive CTA ───────────────────────────────────────── */

.cta-massive {
    background: var(--color-primary);
    padding: 100px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-massive::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(255, 64, 86, .18), transparent 50%), radial-gradient(circle at 20% 80%, rgba(255, 64, 86, .12), transparent 50%);
    pointer-events: none;
}

.cta-massive>.container {
    position: relative;
    z-index: 2;
    max-width: 840px;
}

.cta-massive h2 {
    font-family: var(--font-family-display);
    font-size: clamp(36px, 4vw, 56px);
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
}

.cta-massive p {
    font-size: 18px;
    color: rgba(255, 255, 255, .7);
    margin-bottom: 48px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-outline {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, .5);
    border-radius: var(--rounded-full);
    padding: 14px 32px;
    height: 48px;
    font-size: 14px;
    font-weight: 600;
    transition: all .2s;
    display: inline-flex;
    align-items: center;
}

.btn-cta-outline:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, .08);
    color: #fff;
}


/* ─── Footer ────────────────────────────────────────────── */

.footer-full {
    background: var(--color-primary);
    color: #fff;
    padding: 80px 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 80px;
    padding-bottom: 64px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.65;
    color: rgba(255, 255, 255, .6);
    margin-top: 16px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.footer-column h4 {
    font-family: var(--font-family-label);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .5);
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-column a {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, .75);
    transition: color .2s;
}

.footer-column a:hover {
    color: #fff;
}

.footer-bottom {
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: rgba(255, 255, 255, .45);
}

.footer-bottom a {
    color: rgba(255, 255, 255, .5);
}

.footer-bottom a:hover {
    color: #fff;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-huge-logo {
    text-align: center;
    padding: 24px 0 32px;
    opacity: .35;
}

.footer-huge-logo img {
    max-height: 200px;
    width: auto;
    object-fit: contain;
    margin: 0 auto;
}


/* ─── Animations ────────────────────────────────────────── */

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeUp .8s ease-out forwards;
    opacity: 0;
}

.delay-1 {
    animation-delay: .15s;
}

.delay-2 {
    animation-delay: .3s;
}

.delay-3 {
    animation-delay: .45s;
}


/* ─── Responsive ────────────────────────────────────────── */

@media (max-width: 1100px) {
    .tabs-layout {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
    .stat-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, .12);
        padding: 24px;
    }
    .stat-item:last-child {
        border-bottom: none;
    }
}

@media (max-width: 900px) {
    .slide .container {
        grid-template-columns: 1fr;
    }
    .slide-visual {
        display: none;
    }
    .split-section {
        grid-template-columns: 1fr;
    }
    .split-image {
        min-height: 300px;
    }
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .feature-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
     :root {
        --spacing-section: 64px;
    }
    .container {
        padding: 0 20px;
    }
    .product-grid {
        grid-template-columns: 1fr;
    }
    .grid-cols-2,
    .grid-cols-3,
    .grid-cols-4 {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-links {
        grid-template-columns: 1fr;
    }
    .headline-xl {
        font-size: 38px;
    }
    .risk-band {
        padding-bottom: 280px;
    }
}


/* ─── Inner Page Styles ─────────────────────────────────── */

.page-content-wrapper {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 48px;
}


/* 2-column responsive grids on inner pages */

@media (max-width: 860px) {
    [style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
    [style*="grid-template-columns:1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
    [style*="grid-template-columns: repeat(4"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    [style*="grid-template-columns:repeat(4"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}


/* ─── Responsive navigation — animated mobile menu ──────────────────────── */


/* backdrop scrim (dimmed, blurred) behind the panel */

.nav-scrim {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 185;
    background: rgba(3, 8, 40, .46);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .4s ease, visibility .4s ease;
}

@media (max-width: 900px) {
    /* reclaim the top utility strip on mobile */
    .utility-nav {
        display: none;
    }
    header {
        top: 0;
    }
    .page-offset {
        padding-top: var(--nav-main-height);
    }
    .hero-slider {
        height: calc(100vh - var(--nav-main-height));
    }
    /* scrim becomes active on mobile */
    .nav-scrim {
        display: block;
    }
    header.nav-open~.nav-scrim,
    body.nav-locked .nav-scrim {
        opacity: 1;
        visibility: visible;
    }
    /* desktop CTA buttons move into the slide-down menu on mobile */
    .header-actions {
        display: none;
    }
    /* ── fancy hamburger ─────────────────────────────────────────── */
    .nav-toggle {
        display: flex;
        position: relative;
        z-index: 210;
        border-color: transparent;
        background: linear-gradient(135deg, rgba(0, 13, 86, .06), rgba(255, 64, 86, .06));
        transition: background .3s ease, box-shadow .3s ease;
    }
    header.nav-open .nav-toggle {
        background: linear-gradient(135deg, var(--color-primary), #14206e);
        box-shadow: 0 8px 22px -8px rgba(0, 13, 86, .6);
    }
    .nav-toggle span {
        transform-origin: center;
        transition: transform .4s cubic-bezier(.68, -0.4, .27, 1.4), opacity .25s ease, background .3s ease;
    }
    header.nav-open .nav-toggle span {
        background: #fff;
    }
    header.nav-open .nav-toggle span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    header.nav-open .nav-toggle span:nth-child(2) {
        opacity: 0;
        transform: scaleX(.2);
    }
    header.nav-open .nav-toggle span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    /* ── frosted slide-down panel ────────────────────────────────── */
    .nav-links {
        position: fixed;
        top: var(--nav-main-height);
        left: 0;
        right: 0;
        max-height: calc(100dvh - var(--nav-main-height));
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        height: auto;
        z-index: 195;
        background: rgba(255, 255, 255, .9);
        -webkit-backdrop-filter: blur(22px) saturate(1.5);
        backdrop-filter: blur(22px) saturate(1.5);
        border-top: 3px solid transparent;
        border-image: linear-gradient(90deg, var(--color-primary), var(--color-secondary)) 1;
        border-radius: 0 0 26px 26px;
        box-shadow: 0 30px 70px -20px rgba(3, 8, 40, .4);
        padding: 10px 22px 26px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-16px) scale(.98);
        transform-origin: top center;
        transition: opacity .35s ease, transform .45s cubic-bezier(.2, .9, .25, 1), visibility .45s;
    }
    header.nav-open .nav-links {
        opacity: 1;
        visibility: visible;
        transform: none;
    }
    /* staggered entrance for each top-level row */
    .nav-links>.nav-item,
    .nav-links>.nav-link,
    .nav-links>.nav-mobile-extra {
        opacity: 0;
        transform: translateY(16px);
        transition: opacity .45s ease, transform .5s cubic-bezier(.2, .8, .2, 1);
    }
    header.nav-open .nav-links>.nav-item,
    header.nav-open .nav-links>.nav-link,
    header.nav-open .nav-links>.nav-mobile-extra {
        opacity: 1;
        transform: none;
        transition-delay: var(--d, 0ms);
    }
    /* accordion rows */
    .nav-item {
        flex-direction: column;
        align-items: stretch;
        height: auto;
        border-bottom: 1px solid var(--color-border-subtle);
    }
    .nav-link {
        height: auto;
        padding: 17px 6px;
        justify-content: space-between;
        font-size: 15.5px;
        font-weight: 600;
        position: relative;
        transition: color .2s ease, padding-left .25s ease;
    }
    /* animated left accent that grows when a section opens */
    .nav-item .nav-link.has-dropdown::before {
        content: '';
        position: absolute;
        left: -22px;
        top: 50%;
        width: 3px;
        height: 0;
        border-radius: 3px;
        background: linear-gradient(180deg, var(--color-primary), var(--color-secondary));
        transform: translateY(-50%);
        transition: height .35s ease;
    }
    .nav-item.open .nav-link.has-dropdown {
        color: var(--color-primary);
        padding-left: 12px;
    }
    .nav-item.open .nav-link.has-dropdown::before {
        height: 26px;
    }
    .nav-links>.nav-link {
        border-bottom: 1px solid var(--color-border-subtle);
    }
    /* chevron indicator (replaces desktop caret) */
    .nav-link.has-dropdown::after {
        content: '';
        width: 9px;
        height: 9px;
        border: 0;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        margin-left: 8px;
        opacity: .55;
        transform: rotate(45deg);
        transition: transform .4s cubic-bezier(.68, -0.3, .27, 1.3), opacity .2s, border-color .2s;
    }
    .nav-item:hover .nav-link.has-dropdown::after {
        transform: rotate(45deg);
    }
    header.nav-open .nav-item.open .nav-link.has-dropdown::after {
        transform: rotate(225deg);
        opacity: 1;
        border-color: var(--color-secondary);
    }
    /* mega-menu → collapsible drawer */
    .mega-menu {
        position: static;
        width: auto;
        opacity: 1;
        visibility: visible;
        transform: none;
        border: none;
        box-shadow: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height .45s cubic-bezier(.2, .8, .2, 1);
    }
    .nav-item:hover .mega-menu {
        opacity: 1;
        visibility: visible;
        transform: none;
    }
    .nav-item.open .mega-menu {
        max-height: 1200px;
    }
    .mega-menu-content {
        flex-direction: column;
        gap: 0;
        padding: 2px 2px 14px;
    }
    .mega-menu-column {
        padding: 0 !important;
        border-right: none !important;
    }
    .mega-menu-column h4 {
        margin-top: 14px;
        margin-bottom: 6px;
    }
    /* each sub-link slides in with a staggered delay when its section opens */
    .mega-menu-link {
        padding: 12px 0 12px 2px;
        opacity: 0;
        transform: translateX(-12px);
        transition: opacity .4s ease, transform .4s cubic-bezier(.2, .8, .2, 1), color .2s, padding-left .2s;
    }
    .nav-item.open .mega-menu-link {
        opacity: 1;
        transform: none;
        transition-delay: var(--sd, 0ms);
    }
    .mega-menu-link:hover {
        color: var(--color-secondary);
        padding-left: 8px;
    }
    /* drop the promo cards from the mobile menu */
    .mega-menu-column:has(.featured-card) {
        display: none;
    }
    /* mobile CTAs + quick links */
    .nav-mobile-extra {
        display: block;
        padding-top: 22px;
        margin-top: 4px;
        border-top: 1px dashed var(--color-border-subtle);
    }
    .nav-mobile-cta {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    .nav-mobile-cta .btn {
        width: 100%;
        height: 50px;
        justify-content: center;
        font-size: 15px;
        letter-spacing: .01em;
        transition: transform .2s ease, box-shadow .3s ease;
    }
    .nav-mobile-cta .btn-primary {
        box-shadow: 0 12px 26px -10px rgba(255, 64, 86, .6);
    }
    .nav-mobile-cta .btn:active {
        transform: scale(.97);
    }
    .nav-mobile-links {
        display: flex;
        flex-wrap: wrap;
        gap: 10px 22px;
        margin-top: 20px;
    }
    .mobile-util-link {
        font-size: 13px;
        font-weight: 500;
        color: var(--color-on-surface-muted);
        transition: color .2s ease;
    }
    .mobile-util-link:hover {
        color: var(--color-primary);
    }
    /* lock background scroll while the menu is open */
    body.nav-locked {
        overflow: hidden;
    }
    /* respect reduced-motion preferences */
    @media (prefers-reduced-motion: reduce) {
        .nav-links,
        .nav-links>*,
        .mega-menu,
        .mega-menu-link,
        .nav-toggle span,
        .nav-scrim {
            transition-duration: .01ms !important;
            transform: none !important;
        }
        header.nav-open .nav-links>*,
        .nav-item.open .mega-menu-link {
            opacity: 1 !important;
        }
    }
}


/* ─── Blog article: allow wide content (tables) to scroll, not stretch ──── */

.blog-article {
    min-width: 0;
}

.blog-content {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: break-word;
}


/* ─── General inner-page responsiveness ─────────────────────────────────── */


/* Applies site-wide so EVERY page (home, products, services, blog, DB pages)
   stays consistent on mobile & desktop. Pages lay out almost entirely with
   inline `grid-template-columns`, so these attribute-selector rules collapse
   those grids progressively as the viewport narrows. Product pages that ship
   their own embedded <style> breakpoints use class selectors, so they are
   unaffected by these inline-style rules. */

@media (max-width: 1024px) {
    /* very dense equal grids (5–7 cols) → 3 cols first */
    [style*="grid-template-columns: repeat(5"],
    [style*="grid-template-columns:repeat(5"],
    [style*="grid-template-columns: repeat(6"],
    [style*="grid-template-columns:repeat(6"],
    [style*="grid-template-columns: repeat(7"],
    [style*="grid-template-columns:repeat(7"] {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 900px) {
    /* guarantee no page can scroll horizontally on mobile (header is
       position:fixed, so clipping overflow here is safe) */
    html,
    body {
        overflow-x: hidden;
        max-width: 100%;
    }
    img,
    svg,
    video {
        max-width: 100%;
        height: auto;
    }
    .page-content-wrapper {
        padding: 0 20px;
    }
    /* equal multi-column grids (3–7 cols) → 2 cols on tablet */
    [style*="grid-template-columns: repeat(3"],
    [style*="grid-template-columns:repeat(3"],
    [style*="grid-template-columns: repeat(4"],
    [style*="grid-template-columns:repeat(4"],
    [style*="grid-template-columns: repeat(5"],
    [style*="grid-template-columns:repeat(5"],
    [style*="grid-template-columns: repeat(6"],
    [style*="grid-template-columns:repeat(6"],
    [style*="grid-template-columns: repeat(7"],
    [style*="grid-template-columns:repeat(7"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    /* two-column & split/hero layouts → stack */
    [style*="grid-template-columns: 1fr 1fr"],
    [style*="grid-template-columns:1fr 1fr"],
    [style*="grid-template-columns: repeat(2"],
    [style*="grid-template-columns:repeat(2"] {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 640px) {
    /* phones: any remaining inline grid (custom ratios, px+fr, dense cells,
       repeat(8+)…) collapses to a single readable column */
    [style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }
    /* common CTA / button rows wrap instead of overflowing */
    .cta-buttons,
    .hero-actions,
    .cta-actions {
        flex-wrap: wrap;
    }
    /* stat strips: single column + shrinkable so the 48px numbers never overflow */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .stat-item {
        min-width: 0;
        padding: 22px 14px;
    }
    .stat-number {
        font-size: 40px;
    }
}


/* Contact form inputs */

input:focus,
textarea:focus,
select:focus {
    border-color: var(--color-primary) !important;
    box-shadow: 0 0 0 3px rgba(0, 13, 86, .08);
}


/* ─── Global image lightbox / zoom ──────────────────────── */

img.zoomable {
    cursor: zoom-in;
}

.img-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(3, 7, 30, .92);
    backdrop-filter: blur(4px);
    padding: 32px;
}

.img-lightbox.open {
    display: flex;
    animation: imgLbFade .2s ease;
}

@keyframes imgLbFade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.img-lightbox-stage {
    max-width: 94vw;
    max-height: 92vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.img-lightbox-img,
#img-lightbox-img {
    max-width: 94vw;
    max-height: 84vh;
    width: auto;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .8);
    cursor: zoom-in;
    transition: transform .25s ease;
    object-fit: contain;
}

#img-lightbox-img.zoomed {
    cursor: zoom-out;
    transform: scale(1.6);
}

#img-lightbox-cap {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .02em;
    color: rgba(255, 255, 255, .82);
    text-align: center;
    max-width: 720px;
    font-family: var(--font-family-label, inherit);
}

.img-lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .25);
    color: #fff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
}

.img-lightbox-close:hover {
    background: rgba(255, 255, 255, .24);
}
/* ── "NEW" flashing badge ───────────────────────────────── */
.new-badge{display:inline-block;vertical-align:middle;margin-left:6px;padding:2px 7px;border-radius:999px;background:var(--color-secondary,#ff4056);color:#fff;font-size:9px;font-weight:800;letter-spacing:.08em;line-height:1.4;text-transform:uppercase;font-family:inherit;animation:cyNewFlash 1.1s ease-in-out infinite}
@keyframes cyNewFlash{
  0%,100%{opacity:1;transform:scale(1);box-shadow:0 0 0 0 rgba(255,64,86,.55)}
  50%{opacity:.35;transform:scale(1.12);box-shadow:0 0 0 6px rgba(255,64,86,0)}
}
h1 .new-badge{font-size:12px;padding:3px 10px;margin-left:12px;position:relative;top:-6px}
@media (prefers-reduced-motion:reduce){.new-badge{animation:none}}