/* ========================================
   DroneSense AI - Main Stylesheet
   ======================================== */

/* --- CSS Variables --- */
:root {
    --clr-bg-primary: #0a0e17;
    --clr-bg-secondary: #0d1321;
    --clr-bg-card: #111827;
    --clr-bg-card-hover: #161e2e;
    /* Products showroom: lifted cool gray + steel photo well */
    --clr-product-page: #222833;
    --clr-product-page-mid: #2a3140;
    --clr-product-page-deep: #1a1f29;
    --clr-product-page-hi: #343c4d;
    --clr-product-well: #c5ccd6;
    --clr-border: rgba(255, 255, 255, 0.06);
    --clr-border-light: rgba(255, 255, 255, 0.1);
    --clr-text-primary: #ffffff;
    --clr-text-secondary: #94a3b8;
    --clr-text-muted: #64748b;
    --clr-accent: #00d4ff;
    --clr-accent-secondary: #0066ff;
    --clr-accent-glow: rgba(0, 212, 255, 0.15);
    --clr-gradient: linear-gradient(135deg, #00d4ff 0%, #0066ff 50%, #7c3aed 100%);
    --clr-gradient-subtle: linear-gradient(135deg, rgba(0, 212, 255, 0.08) 0%, rgba(0, 102, 255, 0.08) 100%);
    --clr-btn-gradient: linear-gradient(90deg, #5eb2ff 0%, #4d7cff 48%, #835cff 100%);
    --clr-danger: #ef4444;
    --clr-success: #10b981;
    --clr-warning: #f59e0b;
    --primary-2: var(--clr-accent);
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: var(--font-primary);
    --font-body: var(--font-primary);
    --font-weight-regular: 400;
    --font-weight-semibold: 600;
    --text-hero: 3.5rem;
    --text-page: 2.5rem;
    --text-section: 1.75rem;
    --text-card: 1.25rem;
    --text-body: 1rem;
    --text-ui: 0.875rem;
    --text-caption: 0.75rem;
    --text-stat: 3rem;
    --leading-hero: 1.08;
    --leading-page: 1.12;
    --leading-section: 1.2;
    --leading-card: 1.25;
    --leading-body: 1.5;
    --leading-ui: 1.4;
    --leading-caption: 1.35;
    --tracking-tight: -0.02em;
    --tracking-eyebrow: 0.08em;
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --container-max: 1200px;
    --section-y: 88px;
    --section-y-sm: 56px;
    --section-header-gap: 40px;
    --header-height: 80px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -2px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -4px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 20px 40px -5px rgba(0, 0, 0, 0.6);
    /* Scrollbars (Chrome / Edge / Safari + Firefox thin) */
    --scrollbar-size: 7px;
    --scrollbar-thumb: rgba(148, 163, 184, 0.32);
    --scrollbar-thumb-hover: rgba(0, 212, 255, 0.5);
    --scrollbar-thumb-active: rgba(0, 212, 255, 0.72);
    --scrollbar-track: transparent;
}

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
    scrollbar-width: thin;
    scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}

body {
    font-family: var(--font-primary);
    font-size: var(--text-body);
    font-weight: var(--font-weight-regular);
    background-color: var(--clr-bg-primary);
    color: var(--clr-text-primary);
    line-height: var(--leading-body);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scrollbar-width: thin;
    scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}

/* Thin translucent scrollbars — site chrome (WebKit / Blink) */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}

*::-webkit-scrollbar {
    width: var(--scrollbar-size);
    height: var(--scrollbar-size);
}

*::-webkit-scrollbar-track {
    background: var(--scrollbar-track);
}

*::-webkit-scrollbar-thumb {
    background: var(--scrollbar-thumb);
    border-radius: 999px;
    border: 2px solid transparent;
    background-clip: padding-box;
    transition: background var(--transition-fast);
}

*::-webkit-scrollbar-thumb:hover {
    background: var(--scrollbar-thumb-hover);
    background-clip: padding-box;
}

*::-webkit-scrollbar-thumb:active {
    background: var(--scrollbar-thumb-active);
    background-clip: padding-box;
}

*::-webkit-scrollbar-corner {
    background: transparent;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Gradient Text --- */
.gradient-text {
    background: var(--clr-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Buttons ---
   Two-level system, shared pill geometry:
   - .btn--primary  high-intent CTAs (Get A Quote, Send Inquiry)
   - .btn--ghost / .btn--outline  explore / continue (Explore Products, View More)
*/
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-primary);
    font-weight: var(--font-weight-semibold);
    font-size: 0.9375rem;
    letter-spacing: 0.01em;
    line-height: 1.2;
    padding: 11px 32px;
    min-height: 46px;
    border-radius: 9999px;
    cursor: pointer;
    text-transform: none;
    white-space: nowrap;
    border: 1px solid transparent;
    background: transparent;
    color: #fff;
    box-shadow: none;
    transition:
        background var(--transition-base),
        border-color var(--transition-base),
        color var(--transition-base),
        box-shadow var(--transition-base),
        transform var(--transition-base);
}

.btn:focus-visible {
    outline: 2px solid var(--clr-accent);
    outline-offset: 3px;
}

.btn--primary {
    background: var(--clr-btn-gradient);
    border-color: transparent;
    box-shadow:
        0 6px 22px rgba(77, 124, 255, 0.32),
        0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow:
        0 10px 28px rgba(131, 92, 255, 0.38),
        0 4px 16px rgba(94, 178, 255, 0.22);
}

.btn--outline,
.btn--ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.34);
}

.btn--outline:hover,
.btn--ghost:hover {
    border-color: rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.btn--lg {
    padding: 14px 36px;
    min-height: 52px;
}

.btn--full {
    width: 100%;
}

.btn--nav {
    padding: 9px 22px;
    min-height: 40px;
    font-size: var(--text-ui);
}

/* --- Header / Navigation --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 14, 23, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--clr-border);
    transition: all var(--transition-base);
}

.header.scrolled {
    background: rgba(10, 14, 23, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: var(--header-height);
}

.logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    line-height: 0;
}

.logo__img {
    display: block;
    height: 34px;
    width: auto;
    max-width: 168px;
    object-fit: contain;
}

.logo--footer .logo__img {
    height: 32px;
}

.nav {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.nav__list {
    display: flex;
    align-items: center;
    gap: 20px;
    list-style: none;
    flex-wrap: nowrap;
}

.nav__link {
    font-size: var(--text-ui);
    font-weight: var(--font-weight-semibold);
    letter-spacing: var(--tracking-eyebrow);
    color: var(--clr-text-secondary);
    position: relative;
    padding: 6px 0;
    white-space: nowrap;
    transition: color var(--transition-fast);
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--clr-gradient);
    transition: width var(--transition-base);
    border-radius: 1px;
}

.nav__link:hover,
.nav__link.is-active,
.nav__link.active {
    color: #fff;
}

.nav__link:hover::after,
.nav__link.is-active::after,
.nav__link.active::after {
    width: 100%;
}

.nav__item {
    position: relative;
    list-style: none;
}

.nav__item--has-menu {
    padding-bottom: 0;
}

.nav__dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    z-index: 40;
    min-width: 240px;
    padding-top: 14px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-50%) translateY(6px);
    transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
}

.nav__item--has-menu:hover .nav__dropdown,
.nav__item--has-menu:focus-within .nav__dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.nav__item--has-menu:hover > .nav__link,
.nav__item--has-menu:focus-within > .nav__link {
    color: #fff;
}

.nav__item--has-menu:hover > .nav__link::after,
.nav__item--has-menu:focus-within > .nav__link::after {
    width: 100%;
}

.nav__dropdown-list {
    list-style: none;
    margin: 0;
    padding: 10px 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    background: rgba(12, 18, 30, 0.96);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(12px);
}

.nav__dropdown-link {
    display: block;
    padding: 10px 18px;
    color: rgba(255, 255, 255, 0.82);
    font-size: var(--text-ui);
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0;
    white-space: nowrap;
    transition: color var(--transition-fast), background var(--transition-fast);
}

.nav__dropdown-link:hover,
.nav__dropdown-link:focus-visible {
    color: #fff;
    background: rgba(0, 212, 255, 0.1);
    outline: none;
}

.nav__dropdown-footer {
    margin-top: 4px;
    padding-top: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.nav__dropdown-link--all {
    color: var(--clr-accent, #00d4ff);
}

.nav__dropdown--products {
    width: min(680px, calc(100vw - 48px));
    min-width: 0;
}

.nav__mega-panel {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    background:
        linear-gradient(180deg, rgba(0, 212, 255, 0.07), transparent 72px),
        rgba(12, 18, 30, 0.97);
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(16px);
}

.nav__mega {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px 22px;
    padding: 18px 18px 10px;
}

.nav__mega-label {
    display: block;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(0, 212, 255, 0.92);
    font-size: 0.68rem;
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.14em;
    line-height: 1.3;
}

.nav__mega-label:hover,
.nav__mega-label:focus-visible {
    color: #fff;
    outline: none;
}

.nav__mega-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav__mega-link {
    display: block;
    margin: 0 -8px;
    padding: 8px 8px;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.92rem;
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0;
    line-height: 1.3;
    transition: color var(--transition-fast), background var(--transition-fast);
}

.nav__mega-link:hover,
.nav__mega-link:focus-visible,
.nav__mega-link.is-active {
    color: #fff;
    background: rgba(0, 212, 255, 0.12);
    outline: none;
}

.nav__mega-all {
    display: block;
    padding: 12px 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--clr-accent, #00d4ff);
    font-size: 0.8rem;
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.04em;
}

.nav__mega-all:hover,
.nav__mega-all:focus-visible {
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
    outline: none;
}

.mobile-nav__group {
    display: grid;
    gap: 6px;
}

.mobile-nav__cluster {
    display: grid;
    gap: 2px;
    padding-top: 10px;
}

.mobile-nav__cluster:first-child {
    padding-top: 2px;
}

.mobile-nav ul.mobile-nav__cluster-list {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0 0 2px 12px;
    list-style: none;
}

.mobile-nav .mobile-nav__cluster-label {
    color: rgba(0, 212, 255, 0.9);
    font-size: 0.68rem;
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.14em;
    line-height: 1.3;
    padding: 6px 0 2px;
}

.mobile-nav .mobile-nav__cluster-label:hover,
.mobile-nav .mobile-nav__cluster-label:focus-visible {
    color: #fff;
}

.mobile-nav__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.mobile-nav__disclose {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.72);
    cursor: pointer;
}

.mobile-nav__disclose[aria-expanded="true"] {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.06);
}

.mobile-nav__disclose[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.mobile-nav__disclose i {
    display: inline-block;
    font-size: 0.7rem;
    transition: transform var(--transition-fast);
}

.mobile-nav__sub {
    list-style: none;
    margin: 0;
    padding: 2px 0 6px 14px;
    gap: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

/* Higher specificity than `.mobile-nav ul` so [hidden] actually hides the submenu */
.mobile-nav ul.mobile-nav__sub[hidden],
.mobile-nav__sub[hidden] {
    display: none !important;
}

.mobile-nav ul.mobile-nav__sub:not([hidden]) {
    display: grid;
    gap: 0;
}

/* Beat `.mobile-nav a` (same specificity otherwise loses by source order) */
.mobile-nav .mobile-nav__sub a {
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.875rem;
    font-weight: var(--font-weight-regular);
    line-height: 1.3;
    letter-spacing: 0.01em;
    padding: 5px 0;
}

.mobile-nav .mobile-nav__sub a:hover,
.mobile-nav .mobile-nav__sub a:focus-visible {
    color: rgba(255, 255, 255, 0.9);
}

.mobile-nav .mobile-nav__row > a {
    color: #fff;
    font-size: 0.95rem;
    font-weight: var(--font-weight-semibold);
    line-height: 1.35;
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: #fff;
    border-radius: 1px;
}

.mobile-nav {
    display: none;
    padding: 16px 24px 24px;
    border-top: 1px solid var(--clr-border);
    background: rgba(10, 14, 23, 0.98);
}

.mobile-nav ul {
    list-style: none;
    display: grid;
    gap: 14px;
}

.mobile-nav a {
    color: #fff;
    font-size: var(--text-body);
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0;
}

.mobile-nav li:has(> .btn) {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    padding-top: 4px;
}

.mobile-nav li > .btn {
    width: auto;
    min-width: min(100%, 220px);
    text-align: center;
    justify-content: center;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--clr-bg-primary);
    overflow: hidden;
}

.hero--after-spotlight,
.hero--closing {
    min-height: 78vh;
}

.hero--top {
    /* TikTok / 抖音: full-bleed stage; sharp 16:9 centered; sides = scaled + blurred twin. */
    position: relative;
    min-height: 0;
    width: 100%;
    max-width: none;
    /* Prefer filling the viewport width; when chrome shortens height below 16:9, side bars appear. */
    height: min(100svh, calc(100vw * 9 / 16));
    aspect-ratio: unset;
    margin-inline: 0;
    padding-top: 0;
    background: #05070d;
    overflow: hidden;
}

/* Soft curtain into the product showcase (shared #070b12 night floor) */
.hero--top::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    /* Tall dissolve so the next video is never hard-cut against the hero plate */
    height: clamp(140px, 22vh, 220px);
    pointer-events: none;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(7, 11, 18, 0.08) 22%,
        rgba(7, 11, 18, 0.35) 48%,
        rgba(7, 11, 18, 0.72) 72%,
        rgba(7, 11, 18, 0.92) 100%
    );
}

.hero--top .hero__bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background: #05070d;
    isolation: isolate;
}

/* Gradient grayscale between hero video and mask (desaturate into the night seam) */
.hero--top .hero__grade {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    height: clamp(160px, 26vh, 260px);
    pointer-events: none;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(128, 128, 128, 0.4) 22%,
        rgba(128, 128, 128, 0.8) 55%,
        #9a9a9a 100%
    );
    mix-blend-mode: saturation;
}

/* Bottom layer: same clip, cover + scale + Gaussian blur (fills L/R letterbox) */
.hero--top .hero__video--blur {
    position: absolute;
    inset: -8%;
    z-index: 0;
    width: 116%;
    height: 116%;
    max-width: none;
    object-fit: cover;
    object-position: center;
    filter: blur(48px) saturate(1.15) brightness(0.82);
    transform: translateZ(0);
    pointer-events: none;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 62%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 62%, transparent 100%);
}

/* Top layer: original 16:9, sharp, letterboxed inside the stage */
.hero--top .hero__video--main {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: transparent;
    /* Fade the plate into the grayscale seam — kills the hard 16:9 bottom edge */
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 58%, rgba(0, 0, 0, 0.45) 78%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 58%, rgba(0, 0, 0, 0.45) 78%, transparent 100%);
}

.hero__mask {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(6, 10, 18, 0.55) 0%, rgba(6, 10, 18, 0.42) 45%, rgba(6, 10, 18, 0.72) 100%),
        radial-gradient(ellipse 70% 55% at 50% 45%, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.55));
}

/* Keep text readable without crushing the blurred side fill */
.hero--top .hero__mask {
    z-index: 3;
    background:
        radial-gradient(ellipse 48% 55% at 50% 48%, rgba(4, 8, 16, 0.55) 0%, rgba(4, 8, 16, 0.22) 50%, transparent 74%),
        linear-gradient(180deg, rgba(6, 10, 18, 0.28) 0%, rgba(6, 10, 18, 0.12) 42%, rgba(6, 10, 18, 0.62) 100%);
}

.hero--closing .hero__mask {
    background:
        linear-gradient(180deg, rgba(6, 10, 18, 0.62) 0%, rgba(6, 10, 18, 0.48) 40%, rgba(6, 10, 18, 0.78) 100%),
        radial-gradient(ellipse 75% 60% at 50% 45%, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.62));
}

.hero--closing .hero__particles {
    z-index: 2;
}

.hero__inner--top {
    position: relative;
    z-index: 4;
    max-width: 44rem;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero__copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    max-width: 36rem;
    padding: clamp(20px, 3.5vw, 32px) clamp(18px, 4vw, 40px);
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
}

.hero__logo {
    display: block;
    height: clamp(36px, 4.5vw, 48px);
    width: auto;
    max-width: min(220px, 58vw);
    object-fit: contain;
    filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.45));
}

.hero__title--top {
    margin: 0;
    color: #fff;
    font-size: 32px;
    font-weight: var(--font-weight-semibold);
    letter-spacing: var(--tracking-tight);
    line-height: 1.25;
    text-wrap: balance;
    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.55),
        0 4px 24px rgba(0, 0, 0, 0.45);
}

.hero__title-line {
    display: inline-block;
}

.hero__tagline {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(0.95rem, 1.6vw, 1.15rem);
    font-weight: var(--font-weight-regular);
    letter-spacing: 0.06em;
    line-height: 1.5;
    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.5),
        0 3px 18px rgba(0, 0, 0, 0.4);
}

.hero__down {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-top: 6px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #fff;
    background: rgba(6, 10, 18, 0.35);
    text-decoration: none;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
    transition: border-color var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
    animation: heroDownPulse 2.2s ease-in-out infinite;
}

.hero__down:hover,
.hero__down:focus-visible {
    border-color: var(--clr-accent);
    background: rgba(0, 212, 255, 0.12);
    color: var(--clr-accent);
    animation: none;
}

.hero__down i {
    font-size: 0.95rem;
    line-height: 1;
}

@keyframes heroDownPulse {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

@media (prefers-reduced-motion: reduce) {
    .hero__down {
        animation: none;
    }
}

/* --- Home threat pulse (SkySafe-style urgency stats) --- */
/* Bridge band between top hero and product showcase — open, not a nested panel */
.threat-pulse {
    position: relative;
    isolation: isolate;
    padding: clamp(56px, 8vw, 96px) 0 clamp(48px, 7vw, 80px);
    background: var(--clr-bg-primary);
    overflow: hidden;
}

.threat-pulse::before,
.threat-pulse::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 48px;
    pointer-events: none;
    z-index: 1;
}

.threat-pulse::before {
    top: 0;
    background: linear-gradient(180deg, rgba(5, 7, 13, 0.4) 0%, transparent 100%);
}

.threat-pulse::after {
    bottom: 0;
    background: linear-gradient(0deg, rgba(10, 14, 23, 0.75) 0%, transparent 100%);
}

.threat-pulse__glow {
    position: absolute;
    inset: -20% 10% auto;
    height: 70%;
    z-index: 0;
    background:
        radial-gradient(ellipse 55% 70% at 50% 0%, rgba(0, 212, 255, 0.09), transparent 68%),
        radial-gradient(ellipse 40% 50% at 18% 40%, rgba(0, 102, 255, 0.06), transparent 70%);
    pointer-events: none;
}

.threat-pulse__inner {
    position: relative;
    z-index: 2;
}

.threat-pulse__header {
    margin-bottom: clamp(32px, 4.5vw, 48px);
    text-align: center;
}

.threat-pulse__header .section-desc {
    max-width: 40rem;
    margin-inline: auto;
}

.threat-pulse__title {
    text-wrap: balance;
    max-width: 22rem;
    margin-inline: auto;
}

.threat-pulse__title-accent {
    color: var(--clr-accent);
}

.threat-pulse__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid var(--clr-border-light);
    border-bottom: 1px solid var(--clr-border-light);
}

.threat-pulse__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    min-height: 100%;
    padding: clamp(22px, 2.8vw, 32px) clamp(16px, 2vw, 28px);
    border-right: 1px solid var(--clr-border);
    background: transparent;
    transition: background-color var(--transition-base);
}

.threat-pulse__card:last-child {
    border-right: none;
}

.threat-pulse__card:hover {
    background: rgba(255, 255, 255, 0.02);
}

.threat-pulse__icon {
    color: var(--clr-accent);
    font-size: 1rem;
    line-height: 1;
    opacity: 0.85;
}

.threat-pulse__value {
    margin: 0;
    font-size: clamp(1.85rem, 3.2vw, 2.65rem);
    font-weight: var(--font-weight-semibold);
    letter-spacing: var(--tracking-tight);
    line-height: 1.05;
    background: var(--clr-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.threat-pulse__label {
    margin: 0;
    color: var(--clr-text-secondary);
    font-size: var(--text-ui);
    line-height: var(--leading-ui);
    max-width: 16.5rem;
}

.threat-pulse__source {
    margin: auto 0 0;
    padding-top: 8px;
    font-size: var(--text-caption);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--clr-text-muted);
}

@media (max-width: 1024px) {
    .threat-pulse__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .threat-pulse__card:nth-child(2n) {
        border-right: none;
    }

    .threat-pulse__card:nth-child(-n+2) {
        border-bottom: 1px solid var(--clr-border);
    }
}

@media (max-width: 640px) {
    /* Keep a compact 2×2 data strip on phones (avoid a tall 4-row stack) */
    .threat-pulse__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .threat-pulse__card {
        border-right: 1px solid var(--clr-border);
        border-bottom: 1px solid var(--clr-border);
        padding: 18px 10px;
        gap: 10px;
    }

    .threat-pulse__card:nth-child(2n) {
        border-right: none;
    }

    .threat-pulse__card:nth-child(n+3) {
        border-bottom: none;
    }

    .threat-pulse__card:last-child {
        border-bottom: none;
    }

    .threat-pulse__label {
        font-size: 0.82rem;
        max-width: 11.5rem;
    }

    .threat-pulse__source {
        letter-spacing: 0.06em;
        font-size: 0.65rem;
    }
}

/* Soft handoff from full-bleed product showcase into data strip */
.product-spotlight + .threat-pulse {
    position: relative;
    z-index: 2;
    margin-top: -56px;
    padding-top: clamp(40px, 5vw, 64px);
    padding-bottom: clamp(56px, 7vw, 88px);
    background-color: #070b12;
}

.product-spotlight + .threat-pulse::before {
    height: clamp(56px, 9vh, 88px);
    background: linear-gradient(
        180deg,
        #070b12 0%,
        rgba(7, 11, 18, 0.55) 45%,
        transparent 100%
    );
}

.product-spotlight + .threat-pulse .threat-pulse__glow {
    inset: -6% 12% auto;
    height: 52%;
    opacity: 0.85;
}

.product-spotlight + .threat-pulse .threat-pulse__header {
    margin-bottom: clamp(28px, 3.8vw, 40px);
}

.product-spotlight + .threat-pulse .threat-pulse__header .section-tag {
    margin-bottom: 12px;
}

/* Keep rhythm into WHAT WE OFFER */
.threat-pulse + .services {
    padding-top: clamp(48px, 6vw, 72px);
}

/* Soft handoff: Hero curtain → product showcase night stage */
.hero--top + .product-spotlight {
    position: relative;
    z-index: 3; /* above hero ::after so cards sit on the night bridge */
    margin-top: -96px;
    /* Clear the dense night band so cards are not covered */
    padding-top: clamp(72px, 12vh, 110px);
}

.hero--top + .product-spotlight .product-spotlight__video {
    /* Match hero night grade — mute green foliage pop at the seam */
    filter: saturate(0.45) brightness(0.58) contrast(1.05);
    transform: scale(1.05);
    transform-origin: center 40%;
    /* Dissolve the second video in — no hard plate edge against the night floor */
    -webkit-mask-image: linear-gradient(
        180deg,
        transparent 0%,
        rgba(0, 0, 0, 0.2) 6%,
        rgba(0, 0, 0, 0.55) 16%,
        rgba(0, 0, 0, 0.85) 28%,
        #000 42%,
        #000 100%
    );
    mask-image: linear-gradient(
        180deg,
        transparent 0%,
        rgba(0, 0, 0, 0.2) 6%,
        rgba(0, 0, 0, 0.55) 16%,
        rgba(0, 0, 0, 0.85) 28%,
        #000 42%,
        #000 100%
    );
}

/* Gradient grayscale between showcase video and night mask */
.hero--top + .product-spotlight .product-spotlight__grade {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        #9a9a9a 0%,
        #9a9a9a 14%,
        rgba(154, 154, 154, 0.9) 28%,
        rgba(154, 154, 154, 0.45) 46%,
        rgba(154, 154, 154, 0.12) 62%,
        transparent 78%
    );
    mix-blend-mode: saturation;
}

.hero--top + .product-spotlight .product-spotlight__mask {
    /* Let gray video texture read through the seam, then ease into stage */
    background:
        linear-gradient(
            180deg,
            rgba(7, 11, 18, 0.88) 0%,
            rgba(7, 11, 18, 0.7) 12%,
            rgba(7, 11, 18, 0.45) 28%,
            rgba(6, 10, 18, 0.32) 48%,
            rgba(6, 10, 18, 0.28) 68%,
            rgba(6, 10, 18, 0.78) 100%
        ),
        radial-gradient(ellipse 75% 55% at 50% 55%, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.5));
}

/* --- Home product showcase: horizontal swipeable cards --- */
.product-spotlight {
    /* Viewport-fit unit: keep one card readable without dominating the page */
    --spotlight-card-h: clamp(260px, 42vh, 380px);
    --spotlight-card-h: clamp(260px, 42dvh, 380px);
    --spotlight-pad-y: clamp(10px, 1.8vh, 20px);
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    min-height: 0;
    padding: calc(var(--header-height) * 0.28 + var(--spotlight-pad-y)) 0 clamp(24px, 3.5vh, 36px);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    color: var(--clr-text-primary);
    background-color: #070b12;
}

.product-spotlight__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    isolation: isolate;
}

.product-spotlight__video {
    position: relative;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.product-spotlight__mask {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(180deg, rgba(6, 10, 18, 0.55) 0%, rgba(6, 10, 18, 0.42) 45%, rgba(6, 10, 18, 0.78) 100%),
        radial-gradient(ellipse 70% 55% at 70% 45%, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.55));
}

.product-spotlight::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    /* Tall dissolve into threat-pulse night floor (matches hero bridge grade) */
    height: clamp(72px, 12vh, 120px);
    pointer-events: none;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(7, 11, 18, 0.25) 35%,
        rgba(7, 11, 18, 0.72) 70%,
        #070b12 100%
    );
}

.product-spotlight__viewport {
    position: relative;
    z-index: 1;
    width: 100%;
}

.product-spotlight__track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px max(20px, calc((100% - 1080px) / 2 + 20px));
}

.product-spotlight__track::-webkit-scrollbar {
    display: none;
}

.product-spotlight__card {
    flex: 0 0 min(820px, calc(100vw - 120px));
    scroll-snap-align: center;
    scroll-snap-stop: always;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(10, 14, 23, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 20px 48px -24px rgba(0, 0, 0, 0.65);
    overflow: hidden;
}

.product-spotlight__inner {
    position: relative;
    z-index: 1;
    width: 100%;
    margin: 0 auto;
    padding: clamp(16px, 2vw, 24px) clamp(18px, 2.4vw, 28px);
    display: grid;
    grid-template-columns: minmax(200px, 0.9fr) minmax(0, 1.2fr);
    gap: clamp(14px, 2vw, 24px);
    align-items: center;
    min-height: var(--spotlight-card-h);
    height: var(--spotlight-card-h);
    box-sizing: border-box;
}

.product-spotlight__copy {
    text-align: left;
    max-width: 26rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    min-width: 0;
}

.product-spotlight__copy .section-tag {
    margin: 0 0 10px;
    align-self: flex-start;
}

.product-spotlight__name {
    margin: 0 0 8px;
    font-size: clamp(1.35rem, 2.2vw, 1.85rem);
    font-weight: var(--font-weight-semibold);
    letter-spacing: var(--tracking-tight);
    line-height: 1.15;
    text-wrap: balance;
}

.product-spotlight__tagline {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(0.86rem, 1.05vw, 0.98rem);
    line-height: 1.45;
    max-width: 24rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-spotlight__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.product-spotlight__actions .btn {
    min-height: 40px;
    padding-inline: 18px;
}

.product-spotlight__media {
    min-width: 0;
    min-height: 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-spotlight__media img {
    display: block;
    width: auto;
    height: auto;
    max-width: min(340px, 100%);
    max-height: calc(var(--spotlight-card-h) - 28px);
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 14px 32px rgba(0, 0, 0, 0.55));
}

/* Transparent PNG has large empty margins — zoom so devices read larger */
.product-spotlight__card[data-product="d200-pro"] .product-spotlight__media img {
    width: auto;
    max-width: min(380px, 108%);
    max-height: calc(var(--spotlight-card-h) - 16px);
    transform: scale(1.08);
    transform-origin: center 55%;
    object-position: center 58%;
}

.product-spotlight__card[data-product="d360-s"] .product-spotlight__media img {
    width: auto;
    max-width: min(360px, 105%);
    max-height: calc(var(--spotlight-card-h) - 20px);
    /* 35% smaller than prior showcase scale (1.06 → 0.69) */
    transform: scale(0.69);
    transform-origin: center 50%;
    object-position: center;
}

/* Laptop cutout — light shadow, no white box */
.product-spotlight__card[data-product="c2-system"] .product-spotlight__media img {
    max-width: min(400px, 100%);
    max-height: calc(var(--spotlight-card-h) - 32px);
    filter: drop-shadow(0 14px 32px rgba(0, 0, 0, 0.55));
}

.product-spotlight__card--more {
    flex-basis: min(320px, calc(100vw - 120px));
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 14, 23, 0.4);
}

.product-spotlight__more {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: var(--spotlight-card-h);
    height: var(--spotlight-card-h);
    padding: clamp(20px, 3vw, 28px);
    box-sizing: border-box;
}

.product-spotlight__more-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.product-spotlight__more-btn i {
    font-size: 0.85em;
    transition: transform var(--transition-fast);
}

.product-spotlight__more-btn:hover i,
.product-spotlight__more-btn:focus-visible i {
    transform: translateX(3px);
}

.product-spotlight__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 16px;
    padding: 0 24px 2px;
}

.product-spotlight__scrubber {
    width: min(420px, 72vw);
    padding: 14px 0;
    cursor: grab;
    touch-action: none;
    user-select: none;
    outline: none;
}

.product-spotlight__scrubber.is-dragging {
    cursor: grabbing;
}

.product-spotlight__scrubber:focus-visible .product-spotlight__scrubber-rail {
    box-shadow: 0 0 0 2px rgba(0, 212, 255, 0.35);
}

.product-spotlight__scrubber-rail {
    position: relative;
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    overflow: visible;
}

.product-spotlight__scrubber-fill {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(0, 212, 255, 0.35), rgba(0, 212, 255, 0.75));
    pointer-events: none;
}

.product-spotlight__scrubber-thumb {
    position: absolute;
    top: 50%;
    left: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    width: 72px;
    height: 16px;
    margin-top: -8px;
    padding: 0 10px;
    border-radius: 999px;
    background: var(--clr-btn-gradient);
    box-shadow: 0 4px 16px rgba(0, 102, 255, 0.35);
    transform: translate3d(0, 0, 0);
    will-change: transform;
    transition: box-shadow var(--transition-fast), height var(--transition-fast), margin-top var(--transition-fast);
    pointer-events: none;
}

.product-spotlight__scrubber-marks {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    gap: 0;
    line-height: 1;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
    pointer-events: none;
}

.product-spotlight__scrubber-marks--prev {
    margin-right: auto;
}

.product-spotlight__scrubber-marks--next {
    margin-left: auto;
}

.product-spotlight__scrubber-marks i {
    font-size: 0.62rem;
    line-height: 1;
    opacity: 0.95;
}

.product-spotlight__scrubber-marks i + i {
    margin-left: -0.28em;
    opacity: 0.7;
}

.product-spotlight__scrubber:hover .product-spotlight__scrubber-thumb,
.product-spotlight__scrubber.is-dragging .product-spotlight__scrubber-thumb {
    height: 18px;
    margin-top: -9px;
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.4);
}

.product-spotlight__scrubber:hover .product-spotlight__scrubber-marks i,
.product-spotlight__scrubber.is-dragging .product-spotlight__scrubber-marks i {
    opacity: 1;
}

.product-spotlight__track.is-scrubbing,
.product-spotlight__track.is-programmatic {
    scroll-snap-type: none;
}

.product-spotlight__track.is-scrubbing {
    scroll-behavior: auto;
}

.hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    background: #0a0e17;
}

.hero__particles {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    pointer-events: none;
    z-index: 1;
    opacity: 0.22;
}

.hero__inner {
    position: relative;
    z-index: 2;
}

.hero__accent {
    color: #fff;
    -webkit-text-fill-color: #fff;
}

.hero__desc {
    font-size: var(--text-body);
    color: var(--clr-text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: var(--leading-body);
}

.hero__content {
    position: relative;
    z-index: 2;
}

.hero__pretitle {
    font-size: var(--text-ui);
    font-weight: var(--font-weight-semibold);
    letter-spacing: var(--tracking-eyebrow);
    color: var(--clr-accent);
    margin-bottom: 24px;
    opacity: 0.9;
}

.hero__title {
    font-size: var(--text-hero);
    font-weight: var(--font-weight-semibold);
    line-height: var(--leading-hero);
    margin-bottom: 24px;
    letter-spacing: var(--tracking-tight);
    color: #fff;
    -webkit-text-fill-color: #fff;
}

.hero__title-accent {
    color: #fff;
    -webkit-text-fill-color: #fff;
}

.hero__cta {
    position: absolute;
    bottom: 48px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero__cta--inline {
    position: static;
    left: auto;
    bottom: auto;
    transform: none;
    margin-top: 28px;
    width: 100%;
    justify-content: center;
}

.hero--closing .hero__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero__scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    font-size: var(--text-caption);
    letter-spacing: var(--tracking-eyebrow);
    color: var(--clr-text-muted);
    text-transform: uppercase;
}

.hero__scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(180deg, var(--clr-accent) 0%, transparent 100%);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%, 100% { transform: scaleY(1); transform-origin: top; }
    50% { transform: scaleY(0.3); transform-origin: top; }
}

/* --- Stats Section --- */
.stats {
    padding: var(--section-y) 0;
    background: var(--clr-bg-secondary);
    border-top: 1px solid var(--clr-border);
    border-bottom: 1px solid var(--clr-border);
}

.stats__inner {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.stats__heading {
    text-align: center;
    font-size: var(--text-caption);
    letter-spacing: var(--tracking-eyebrow);
    font-weight: var(--font-weight-semibold);
    color: var(--clr-text-secondary);
    margin: 0;
}

.stats__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 4px;
}

.stats__item,
.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 168px;
    padding: 36px 24px;
    background: var(--clr-bg-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    transition: border-color var(--transition-base), background-color var(--transition-base), transform var(--transition-base);
}

.stat:hover {
    background: var(--clr-bg-card-hover);
    border-color: rgba(0, 212, 255, 0.18);
    transform: translateY(-2px);
}

.stats__number,
.stat__value {
    font-size: var(--text-stat);
    font-weight: var(--font-weight-semibold);
    letter-spacing: var(--tracking-tight);
    background: var(--clr-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stats__suffix {
    font-size: 1.5rem;
    font-weight: var(--font-weight-semibold);
    color: var(--clr-accent);
}

.stats__label,
.stat__label {
    font-size: var(--text-ui);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--clr-text-secondary);
    margin-top: 14px;
    line-height: var(--leading-ui);
}

.stat__label .stat__mark {
    vertical-align: super;
    font-size: 0.65em;
    line-height: 0;
    margin-left: 1px;
}

.stats__footnote {
    align-self: flex-end;
    width: min(100%, 32rem);
    margin-top: -12px;
    text-align: right;
    font-size: 0.625rem;
    color: rgba(100, 116, 139, 0.65);
    display: grid;
    gap: 2px;
}

.stats__footnote p {
    line-height: 1.45;
    margin: 0;
}

.stats__footnote .stats__mark {
    vertical-align: super;
    font-size: 0.7em;
    line-height: 0;
    margin-right: 1px;
}

.stats__source {
    color: inherit;
    margin-left: 4px;
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-color: rgba(100, 116, 139, 0.45);
    transition: color var(--transition-fast), text-decoration-color var(--transition-fast);
}

.stats__source:hover {
    color: var(--clr-text-muted);
    text-decoration-color: currentColor;
}

/* --- Section rhythm --- */
.section {
    padding-block: var(--section-y);
}

/* --- Section Header --- */
.section-header {
    text-align: center;
    margin-bottom: var(--section-header-gap);
}

.section-header__tag,
.section-tag {
    display: inline-block;
    width: fit-content;
    max-width: 100%;
    box-sizing: border-box;
    font-size: var(--text-caption);
    font-weight: var(--font-weight-semibold);
    letter-spacing: var(--tracking-eyebrow);
    text-transform: uppercase;
    color: var(--clr-accent);
    padding: 6px 14px;
    border: 1px solid rgba(0, 212, 255, 0.25);
    border-radius: 50px;
    margin: 0 0 16px;
    line-height: 1.2;
    white-space: nowrap;
}

.section-header__title,
.section-title {
    font-size: var(--text-section);
    font-weight: var(--font-weight-semibold);
    margin-bottom: 16px;
    line-height: var(--leading-section);
    letter-spacing: var(--tracking-tight);
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: none;
    max-width: 100%;
}

.section-header__desc,
.section-desc {
    font-size: var(--text-body);
    color: var(--clr-text-secondary);
    max-width: 560px;
    margin: 0 auto;
}

.about__intro .section-tag,
.about__intro .section-title,
.about__intro .section-desc {
    text-align: left;
}

.about__intro .section-desc {
    margin-left: 0;
    margin-bottom: 24px;
}

/* --- Services Section --- */
.services {
    padding: 120px 0;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--clr-bg-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--clr-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-slow);
}

.service-card:hover {
    background: var(--clr-bg-card-hover);
    border-color: rgba(0, 212, 255, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -12px rgba(0, 102, 255, 0.15);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card__icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: var(--clr-gradient-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--clr-accent);
    margin-bottom: 20px;
    transition: all var(--transition-base);
}

.service-card:hover .service-card__icon {
    background: var(--clr-gradient);
    color: #fff;
    box-shadow: 0 8px 24px rgba(0, 102, 255, 0.3);
}

.service-card--photo {
    min-height: 320px;
    padding: 0;
    justify-content: flex-end;
    background: #0a0e17;
}

.service-card__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.service-card__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform var(--transition-slow);
}

.service-card__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(6, 10, 18, 0.58) 0%, rgba(6, 10, 18, 0.72) 38%, rgba(6, 10, 18, 0.94) 100%);
}

.service-card--photo:hover .service-card__bg img {
    transform: scale(1.04);
}

.service-card--photo:hover {
    background: #0a0e17;
}

.service-card__body {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 36px 28px;
}

.service-card--photo .service-card__body {
    justify-content: flex-end;
}

.service-card--photo .service-card__icon {
    background: rgba(10, 14, 23, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.service-card--photo .service-card__title {
    color: #fff;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.service-card--photo .service-card__desc,
.service-card--photo p {
    color: rgba(255, 255, 255, 0.86);
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

.service-card h3 {
    font-size: var(--text-card);
    font-weight: var(--font-weight-semibold);
    margin-bottom: 12px;
}

.service-card p {
    font-size: var(--text-ui);
    color: var(--clr-text-secondary);
    line-height: var(--leading-body);
    margin-bottom: 20px;
    flex: 1 1 auto;
}

.service-card__link {
    font-size: var(--text-ui);
    font-weight: var(--font-weight-semibold);
    color: var(--clr-accent);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap var(--transition-fast);
}

.service-card__link:hover {
    gap: 10px;
    color: #fff;
}

/* --- Product tiles (list + home preview) --- */
.products-preview {
    padding: 120px 0;
}

.products-preview__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.product-tile {
    display: flex;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    background: var(--clr-bg-card);
    overflow: hidden;
    transition: border-color var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
}

.product-tile[hidden] {
    display: none !important;
}

.product-tile:hover {
    border-color: rgba(0, 212, 255, 0.28);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -12px rgba(0, 102, 255, 0.15);
}

.product-tile__media {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--clr-product-well);
    isolation: isolate;
}

.product-tile__media img,
.product-tile__video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    background: transparent;
    mix-blend-mode: multiply;
}

.product-tile__media img {
    transition: transform var(--transition-slow), opacity var(--transition-base);
}

.product-tile__video {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-base);
}

.product-tile__media.is-playing img {
    opacity: 0;
    transform: none;
}

.product-tile__media.is-playing .product-tile__video {
    opacity: 1;
}

.product-tile:hover .product-tile__media:not(.is-playing) img {
    transform: scale(1.04);
}

.product-tile__media--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--clr-accent);
}

.product-tile__body {
    padding: 24px 24px 28px;
}

.product-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
    justify-content: center;
}

/* Products catalog: Apple-style category rails (all breakpoints) */
.products-catalog {
    padding-bottom: 40px;
}

.product-rail {
    margin-bottom: 48px;
}

.product-rail[hidden] {
    display: none !important;
}

.product-rail__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.product-rail__title {
    font-size: clamp(1.15rem, 2vw, 1.5rem);
    font-weight: var(--font-weight-semibold);
    letter-spacing: var(--tracking-eyebrow);
    text-transform: uppercase;
    margin: 0;
}

.rail-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.rail-controls.is-disabled {
    opacity: 0.45;
}

.rail-btn {
    appearance: none;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition:
        border-color var(--transition-base),
        color var(--transition-base),
        background var(--transition-base),
        opacity var(--transition-fast);
}

.rail-btn i {
    font-size: 0.85rem;
    line-height: 1;
}

.rail-btn:hover:not(:disabled),
.rail-btn:focus-visible:not(:disabled) {
    border-color: var(--clr-accent);
    color: var(--clr-accent);
    background: rgba(0, 212, 255, 0.08);
}

.rail-btn:focus-visible {
    outline: 2px solid var(--clr-accent);
    outline-offset: 3px;
}

.rail-btn:disabled {
    opacity: 0.35;
    cursor: default;
}

.product-rail__scroller {
    --rail-gutter: max(24px, calc((100% - var(--container-max)) / 2 + 24px));
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--rail-gutter);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.product-rail__scroller::-webkit-scrollbar {
    display: none;
}

.product-rail__track {
    display: flex;
    gap: 20px;
    width: max-content;
    min-width: 100%;
    box-sizing: border-box;
    padding: 4px var(--rail-gutter) 12px;
}

.product-rail .product-tile {
    flex: 0 0 min(420px, 48vw);
    scroll-snap-align: start;
    max-width: 480px;
}

/* Keep rail cards vertically fixed (no hover lift / page-wheel jitter) */
.product-rail .product-tile:hover {
    transform: none;
}

.product-rail .product-tile__desc--full {
    display: none !important;
}

.product-rail .product-tile__desc--short {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 14px;
}

.product-rail .product-tile:not(:has(.product-tile__desc--short)) .product-tile__desc--full {
    display: -webkit-box !important;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 14px;
}

.product-rail .product-tile__body {
    padding: 20px 22px 24px;
}

.product-filters__btn {
    appearance: none;
    border: 1px solid var(--clr-border);
    background: var(--clr-bg-card);
    color: var(--clr-text);
    font: inherit;
    font-size: var(--text-ui);
    letter-spacing: var(--tracking-eyebrow);
    text-transform: uppercase;
    padding: 0.55rem 1rem;
    border-radius: var(--radius-md, 8px);
    cursor: pointer;
    transition: border-color var(--transition-base), color var(--transition-base), background var(--transition-base);
}

.product-filters__btn:hover {
    border-color: rgba(0, 212, 255, 0.35);
    color: var(--clr-accent);
}

.product-filters__btn.is-active {
    border-color: var(--clr-accent);
    color: var(--clr-accent);
    background: rgba(0, 212, 255, 0.08);
}

.product-filters__empty {
    margin-top: 12px;
    color: var(--clr-text-muted, #8a93a3);
}

.product-tile__cats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-bottom: 8px;
}

.product-tile__cat {
    font-size: var(--text-caption);
    letter-spacing: var(--tracking-eyebrow);
    text-transform: uppercase;
    color: var(--clr-accent);
    margin-bottom: 0;
}

.detail__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-bottom: 12px;
}

.detail__tags .section-tag {
    margin-bottom: 0;
}

.product-tile__title {
    font-size: var(--text-card);
    font-weight: var(--font-weight-semibold);
    margin-bottom: 10px;
}

.product-tile__desc {
    font-size: var(--text-ui);
    color: var(--clr-text-secondary);
    line-height: var(--leading-body);
    margin-bottom: 18px;
}

.product-tile__desc--short {
    display: none;
}

.product-tile__link {
    font-size: var(--text-ui);
    font-weight: var(--font-weight-semibold);
    color: var(--clr-accent);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.product-tile:hover .product-tile__link {
    gap: 10px;
    color: #fff;
}

.detail__figure,
.detail__media {
    position: relative;
    aspect-ratio: 1 / 1;
    width: 100%;
    max-width: 560px;
    margin: 28px 0 36px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--clr-border);
    background: var(--clr-product-well);
    isolation: isolate;
}

.detail__media {
    cursor: pointer;
}

.detail__figure .detail__image,
.detail__media .detail__image,
.detail__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
    background: transparent;
    mix-blend-mode: multiply;
}

.detail__video {
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-base);
}

.detail__media.is-playing .detail__image {
    opacity: 0;
}

.detail__media.is-playing .detail__video {
    opacity: 1;
}

.detail__media-open {
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 2;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(8, 16, 32, 0.72);
    color: #fff;
    cursor: pointer;
    transition: background var(--transition-base), transform var(--transition-base);
}

.detail__media-open:hover,
.detail__media-open:focus-visible {
    background: rgba(0, 102, 255, 0.9);
    transform: scale(1.05);
    outline: none;
}

.detail__film {
    margin: 28px 0 44px;
}

.detail__film-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    width: 100%;
    max-width: 880px;
    margin-top: 16px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--clr-border);
    background: #0b1220;
    isolation: isolate;
}

.detail__film-poster {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.detail__film-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 16, 32, 0.08) 0%, rgba(8, 16, 32, 0.42) 100%);
    pointer-events: none;
    transition: opacity var(--transition-base);
}

.detail__film-frame.is-playing::after,
.detail__film-frame.is-playing .detail__film-poster,
.detail__film-frame.is-playing .detail__film-play {
    opacity: 0;
    pointer-events: none;
}

.detail__film-play {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    transform: translate(-50%, -50%);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 12px 18px 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    background: rgba(8, 16, 32, 0.72);
    color: #fff;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: background var(--transition-base), transform var(--transition-base), border-color var(--transition-base);
}

.detail__film-play:hover,
.detail__film-play:focus-visible {
    background: rgba(0, 102, 255, 0.92);
    border-color: transparent;
    transform: translate(-50%, -50%) scale(1.04);
    outline: none;
}

.detail__film-play-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.14);
}

.detail__film-play-icon i {
    margin-left: 2px;
    font-size: 0.95rem;
}

.detail__film-play-label {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.detail__film-iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: #000;
}

.detail__album {
    margin: 0 0 40px;
}

.detail__album-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.detail__album-item {
    appearance: none;
    margin: 0;
    padding: 0;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md, 12px);
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: var(--clr-product-well);
    isolation: isolate;
    cursor: pointer;
    transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.detail__album-item:hover,
.detail__album-item:focus-visible {
    border-color: var(--clr-accent);
    transform: translateY(-2px);
    outline: none;
}

.detail__album-item.is-active {
    border-color: var(--clr-accent);
    box-shadow: 0 0 0 1px var(--clr-accent);
}

.detail__album-item--video {
    position: relative;
}

.detail__album-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    background: rgba(4, 10, 20, 0.22);
}

.detail__album-play i {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(8, 16, 32, 0.72);
    color: #fff;
    font-size: 0.85rem;
}

.detail__album-item-fallback {
    display: block;
    width: 100%;
    height: 100%;
    background: transparent;
}

.detail__album-item-fallback--video {
    background: rgba(255, 255, 255, 0.03);
}

.detail__media.is-gallery-preview .detail__video,
.detail__media.is-gallery-preview .detail__media-open {
    opacity: 0;
    pointer-events: none;
}

.detail__media.is-gallery-preview .detail__image {
    opacity: 1;
}

.detail__album-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    background: transparent;
    mix-blend-mode: multiply;
}

.video-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 24px;
}

.video-lightbox[hidden] {
    display: none !important;
}

.video-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 10, 20, 0.82);
    border: 0;
    cursor: pointer;
}

.video-lightbox__panel {
    position: relative;
    z-index: 1;
    width: min(960px, 100%);
    background: #000;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.video-lightbox__nav {
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(8, 16, 32, 0.72);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.video-lightbox__nav[hidden] {
    display: none !important;
}

.video-lightbox__nav:hover,
.video-lightbox__nav:focus-visible {
    background: rgba(0, 102, 255, 0.9);
    outline: none;
}

.video-lightbox__video {
    display: block;
    width: 100%;
    max-height: min(80vh, 720px);
    background: #000;
}

.video-lightbox__iframe {
    display: block;
    width: min(100%, 960px);
    aspect-ratio: 16 / 9;
    max-height: min(80vh, 720px);
    border: 0;
    background: #000;
}

.video-lightbox__video[hidden],
.video-lightbox__iframe[hidden],
.video-lightbox__image[hidden] {
    display: none !important;
}

.video-lightbox__image {
    display: block;
    width: 100%;
    max-height: min(80vh, 720px);
    object-fit: contain;
    object-position: center;
    background: transparent;
}

.video-lightbox__close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: rgba(8, 16, 32, 0.72);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.video-lightbox__close:hover,
.video-lightbox__close:focus-visible {
    background: rgba(0, 102, 255, 0.9);
    outline: none;
}

body.has-video-lightbox {
    overflow: hidden;
}

.detail__media .detail__image {
    transition: opacity var(--transition-base);
}

/* Product showcase hover/lightbox video is intentional media, not decorative motion.
   Keep it available even when prefers-reduced-motion is enabled. */

/* --- About Section --- */
.about {
    padding: var(--section-y) 0;
    background: var(--clr-bg-primary);
    position: relative;
}

.about__story {
    max-width: 40rem;
    margin: 0 auto clamp(40px, 5vw, 56px);
    text-align: center;
}

.about__para {
    margin: 0 0 1rem;
    color: var(--clr-text-secondary);
    font-size: var(--text-body);
    line-height: var(--leading-body);
}

.about__para--lead {
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(1.05rem, 1.8vw, 1.2rem);
    line-height: 1.55;
    text-wrap: balance;
}

.about__para--powered {
    margin-top: 1.25rem;
    color: var(--clr-text-secondary);
    font-size: var(--text-body);
}

.about__para--motto {
    margin: 1.5rem 0 0;
    color: var(--clr-accent);
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.06em;
    line-height: 1.45;
}

.about__para:last-child {
    margin-bottom: 0;
}

.about__stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid var(--clr-border-light);
    border-bottom: 1px solid var(--clr-border-light);
}

.about-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    padding: clamp(22px, 3vw, 32px) 16px;
    border-right: 1px solid var(--clr-border);
    background: transparent;
}

.about-stat:last-child {
    border-right: none;
}

.about-stat__number,
.about-stat__value {
    margin: 0;
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    font-weight: var(--font-weight-semibold);
    letter-spacing: var(--tracking-tight);
    line-height: 1.05;
    background: var(--clr-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-stat__label {
    margin: 0;
    font-size: var(--text-ui);
    letter-spacing: 0.04em;
    color: var(--clr-text-muted);
    line-height: var(--leading-ui);
}

/* --- About: Vision / Mission / Values --- */
.about-culture {
    background: var(--clr-bg-secondary);
}

.about-culture__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.about-culture__item {
    padding: 4px 0 0;
    border-top: 2px solid rgba(0, 212, 255, 0.55);
}

.about-culture__label {
    font-size: var(--text-caption);
    font-weight: var(--font-weight-semibold);
    letter-spacing: var(--tracking-eyebrow);
    text-transform: uppercase;
    color: var(--clr-accent);
    margin: 14px 0 10px;
}

.about-culture__text {
    font-size: var(--text-card);
    font-weight: var(--font-weight-semibold);
    line-height: var(--leading-card);
    color: #fff;
    margin: 0;
    text-transform: none;
    letter-spacing: 0;
}

/* --- Solutions Section --- */
.solutions {
    padding: 120px 0;
}

.solutions__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.solution-card {
    position: relative;
    background: var(--clr-bg-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
    aspect-ratio: 16 / 9;
    width: 100%;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
    padding: 0;
    appearance: none;
    -webkit-appearance: none;
}

.solution-card:hover,
.solution-card:focus-visible {
    border-color: rgba(0, 212, 255, 0.28);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -12px rgba(0, 102, 255, 0.12);
    outline: none;
}

.solution-card__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.solution-card__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    /* Match solution-detail stage brand treatment */
    opacity: 0.8;
    filter: grayscale(1) contrast(1.14) brightness(0.68);
    transition: transform var(--transition-slow);
}

.solution-card:hover .solution-card__bg img,
.solution-card:focus-visible .solution-card__bg img {
    transform: scale(1.04);
}

.solution-card--media::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    /* Same brand wash as .solution-detail__stage--brand — no multiply B&W mask */
    background:
      linear-gradient(
        180deg,
        rgba(10, 14, 23, 0.42) 0%,
        rgba(10, 14, 23, 0.72) 55%,
        rgba(10, 14, 23, 0.88) 100%
      ),
      linear-gradient(
        135deg,
        rgba(0, 212, 255, 0.22) 0%,
        rgba(0, 102, 255, 0.16) 42%,
        rgba(10, 14, 23, 0.12) 100%
      );
    pointer-events: none;
}

.solution-card__body {
    position: relative;
    z-index: 2;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex: 1;
}

.solution-card__title {
    font-size: var(--text-card);
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.04em;
    line-height: var(--leading-card);
    margin: 0;
    color: #fff;
    text-wrap: balance;
    min-height: calc(var(--text-card) * var(--leading-card) * 2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.solution-card__desc {
    font-size: var(--text-ui);
    color: rgba(255, 255, 255, 0.82);
    line-height: var(--leading-body);
    margin: 0;
    max-width: 28ch;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(8px);
    transition:
      opacity var(--transition-base),
      transform var(--transition-base),
      max-height var(--transition-base),
      margin-top var(--transition-base);
}

.solution-card:hover .solution-card__desc,
.solution-card:focus-visible .solution-card__desc {
    max-height: 4.2em;
    opacity: 1;
    margin-top: 10px;
    transform: translateY(0);
}

.solution-card__badge {
    margin: 10px 0 0;
    color: rgba(0, 212, 255, 0.92);
    font-size: 0.68rem;
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.solution-card__more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    color: rgba(0, 212, 255, 0.95);
    font-size: 0.78rem;
    font-weight: var(--font-weight-semibold);
    opacity: 0.92;
}

.solution-preview__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.solution-preview__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.solution-deploy {
    padding-top: var(--section-y-sm);
    padding-bottom: 8px;
}

.solution-deploy__head,
.solution-catalog__head {
    margin-bottom: 28px;
    max-width: 42rem;
}

.solution-deploy__title,
.solution-catalog__title {
    margin: 8px 0 0;
    font-size: clamp(1.35rem, 2.2vw, 1.75rem);
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.02em;
    color: var(--clr-text);
}

.solution-deploy__lede {
    margin: 10px 0 0;
    color: var(--clr-text-secondary);
    line-height: 1.6;
}

.solution-deploy__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.solution-deploy__card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
    min-height: 220px;
    padding: 26px 26px 22px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    background:
      linear-gradient(160deg, rgba(0, 212, 255, 0.08), transparent 42%),
      rgba(17, 24, 39, 0.55);
    color: inherit;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.solution-deploy__card:hover,
.solution-deploy__card:focus-visible {
    border-color: rgba(0, 212, 255, 0.42);
    transform: translateY(-3px);
    box-shadow: 0 18px 40px -18px rgba(0, 102, 255, 0.35);
    outline: none;
}

.solution-deploy__card .section-tag {
    margin: 0 0 14px;
}

.solution-deploy__blurb {
    display: block;
    margin: 0 0 18px;
    color: var(--clr-text-secondary);
    line-height: 1.6;
    font-size: 1rem;
    max-width: 28rem;
}

.solution-deploy__keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 20px;
}

.solution-deploy__keyword {
    padding: 6px 11px;
    border-radius: 999px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    background: rgba(0, 212, 255, 0.07);
    color: rgba(226, 232, 240, 0.92);
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    line-height: 1.35;
}

.solution-deploy__more {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(0, 212, 255, 0.95);
    font-size: 0.85rem;
    font-weight: var(--font-weight-semibold);
}

.solution-deploy__scenarios {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.solution-deploy__scenarios li {
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(0, 212, 255, 0.18);
    background: rgba(0, 212, 255, 0.06);
    color: rgba(226, 232, 240, 0.9);
    font-size: 0.72rem;
    line-height: 1.35;
}

.deploy-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    /* safe center keeps the panel on-screen when content is tall */
    align-items: safe center;
    justify-content: safe center;
    padding: max(16px, env(safe-area-inset-top, 0px)) 16px max(16px, env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.deploy-modal[hidden] {
    display: none !important;
}

.deploy-modal__backdrop {
    position: fixed;
    inset: 0;
    background: rgba(4, 8, 16, 0.72);
    backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity 0.28s ease;
}

.deploy-modal__panel {
    position: relative;
    z-index: 1;
    width: min(860px, 100%);
    max-height: min(86vh, 820px);
    margin: auto;
    overflow: auto;
    overscroll-behavior: contain;
    padding: 28px 28px 30px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(180deg, rgba(22, 30, 46, 0.98), rgba(10, 14, 23, 0.98));
    box-shadow: 0 30px 80px -24px rgba(0, 0, 0, 0.65);
    opacity: 0;
    transform: translateY(18px) scale(0.98);
    transition: opacity 0.32s ease, transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.deploy-modal__panel--wide {
    width: min(980px, 100%);
    max-height: min(88vh, 900px);
}

.deploy-modal.is-open .deploy-modal__backdrop {
    opacity: 1;
}

.deploy-modal.is-open .deploy-modal__panel {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.deploy-modal__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.deploy-modal__title {
    margin: 0;
    font-size: clamp(1.2rem, 2vw, 1.55rem);
    letter-spacing: 0.04em;
    color: #fff;
}

.deploy-modal__lede {
    margin: 10px 0 0;
    color: rgba(226, 232, 240, 0.88);
    line-height: 1.55;
    max-width: 40rem;
}

.deploy-modal__close {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    cursor: pointer;
}

.deploy-modal__close:hover,
.deploy-modal__close:focus-visible {
    border-color: rgba(0, 212, 255, 0.45);
    outline: none;
}

.deploy-modal__block + .deploy-modal__block {
    margin-top: 22px;
}

.deploy-modal__subtitle {
    margin: 0 0 12px;
    color: rgba(148, 163, 184, 0.95);
    font-size: 0.72rem;
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.deploy-modal__features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.deploy-feature {
    padding: 16px 16px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 212, 255, 0.05);
}

.deploy-feature__keyword {
    margin: 0 0 8px;
    color: rgba(0, 212, 255, 0.95);
    font-size: 0.92rem;
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.02em;
}

.deploy-feature__desc {
    margin: 0;
    color: rgba(226, 232, 240, 0.88);
    font-size: var(--text-ui);
    line-height: 1.55;
}

body.has-deploy-modal {
    overflow: hidden;
}

.soft-modal-host {
    /* Markup host only — dialogs are position:fixed and portaled to body on open */
    display: contents;
}

.solution-catalog {
    padding-top: var(--section-y-sm);
}

.solution-news {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin: 0 0 22px;
}

/* --- Solution domain chip nav (sticky under site header, all breakpoints) --- */
.solution-dial {
    --dial-accent: var(--clr-accent);
    position: sticky;
    top: var(--header-height);
    z-index: 40;
    width: calc(100% + 48px);
    max-width: none;
    margin: 0 0 16px -24px;
    padding: 8px 16px 10px;
    box-sizing: border-box;
    background:
      linear-gradient(
        180deg,
        rgba(10, 14, 23, 0.96) 0%,
        rgba(10, 14, 23, 0.92) 70%,
        rgba(10, 14, 23, 0.78) 100%
      );
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    pointer-events: auto;
}

.solution-dial__list {
    list-style: none;
    margin: 0;
    padding: 6px;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 6px;
    min-width: 0;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    background: rgba(13, 19, 33, 0.94);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
}

.solution-dial__list::-webkit-scrollbar {
    display: none;
}

.solution-dial__item {
    margin: 0;
    flex: 0 0 auto;
    scroll-snap-align: center;
}

@keyframes solution-dial-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.solution-dial.is-switching .solution-dial__list {
    animation: solution-dial-fade-in 0.16s ease both;
}

.solution-dial__label {
    display: block;
    padding: 9px 14px;
    border-radius: var(--radius-sm);
    color: rgba(226, 232, 240, 0.82);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.3;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.14s ease, background 0.14s ease;
}

.solution-dial__label:hover,
.solution-dial__label:focus-visible {
    color: var(--dial-accent);
    background: rgba(0, 212, 255, 0.08);
    outline: none;
}

.solution-dial__item.is-current .solution-dial__label,
.solution-dial__item.is-hot .solution-dial__label {
    color: var(--dial-accent);
    background: rgba(0, 212, 255, 0.12);
    font-weight: 700;
}

.solution-dial__item.is-current .solution-dial__label {
    cursor: default;
}

@media (max-width: 899px) {
    .solution-dial {
        width: calc(100% + 32px);
        margin: 0 0 12px -16px;
        padding: 8px 12px 10px;
    }

    .solution-dial__label {
        padding: 9px 12px;
        font-size: 0.74rem;
        letter-spacing: 0.01em;
    }
}

@media (prefers-reduced-motion: reduce) {
    .solution-dial.is-switching .solution-dial__list {
        animation: none;
    }
}

/* Solution detail: lean stacked news deck (reuses .news-card--lean) */
.solution-detail__intro {
    text-align: center;
    margin: 0 0 28px;
}

.solution-detail__intro .section-tag {
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 16px;
}

.solution-detail__intro .article__title {
    margin-left: auto;
    margin-right: auto;
    max-width: 18em;
    text-wrap: balance;
}

.solution-detail__intro .detail__tagline {
    margin-left: auto;
    margin-right: auto;
    max-width: 40rem;
}

.solution-news-deck {
    /* Desktop stack peeks downward from the 16:9 frame; reserve clearance ON the viewport,
       not as padding after the controls (that gap never sits between frame and buttons). */
    --news-deck-stack-step: 10px;
    --news-deck-peek-depth: 2;
    --news-deck-peek: calc(var(--news-deck-stack-step) * var(--news-deck-peek-depth));
    margin: 8px 0 28px;
    padding-bottom: 0;
}

.solution-news-deck__viewport {
    position: relative;
    z-index: 0;
    width: min(100%, 560px);
    margin: 0 auto calc(var(--news-deck-peek) + 12px);
    aspect-ratio: 16 / 9;
    overflow: visible;
    isolation: isolate; /* contain card z-index so peeks cannot paint over controls */
}

.solution-news-deck__stack {
    position: absolute;
    inset: 0;
}

.solution-news-deck__card {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
    /* Cap peek depth so clearance stays predictable even with 3+ related articles */
    transform:
      translateY(calc(min(var(--stack, 0), var(--news-deck-peek-depth)) * var(--news-deck-stack-step)))
      scale(calc(1 - (min(var(--stack, 0), var(--news-deck-peek-depth)) * 0.04)));
    transform-origin: center bottom;
    z-index: calc(20 - var(--stack, 0));
    opacity: 1;
    transition: transform 0.18s ease-out, opacity 0.18s ease-out;
    pointer-events: none;
}

.solution-news-deck__card.is-front {
    pointer-events: auto;
}

.solution-news-deck__card.is-exit-next {
    transform: translateX(108%) translateY(4px) scale(0.98);
    z-index: 30;
    pointer-events: none;
}

.solution-news-deck__card.is-exit-prev {
    transform: translateX(-108%) translateY(4px) scale(0.98);
    z-index: 30;
    pointer-events: none;
}

.solution-news-deck__card.is-enter-from-back {
    transform: translateY(16px) scale(0.94);
}

.solution-news-deck__controls {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 0;
}

.solution-news-deck__btn {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(17, 24, 39, 0.75);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: border-color var(--transition-base), background var(--transition-base);
}

.solution-news-deck__btn:hover,
.solution-news-deck__btn:focus-visible {
    border-color: rgba(0, 212, 255, 0.45);
    background: rgba(0, 102, 255, 0.22);
    outline: none;
}

.solution-news-deck__btn:disabled {
    opacity: 0.45;
    cursor: default;
}

.solution-news-deck__status {
    margin: 0;
    min-width: 3.5rem;
    text-align: center;
    color: rgba(226, 232, 240, 0.78);
    font-size: var(--text-ui);
    font-variant-numeric: tabular-nums;
}

@media (max-width: 899px) {
    .solution-news-deck {
        --news-deck-peek: 0px;
        margin: 12px 0 28px;
        padding-bottom: 0;
    }

    .solution-news-deck__viewport {
        width: 100%;
        margin-bottom: 14px;
        overflow: hidden;
        border-radius: var(--radius-lg);
    }

    /* Flat 16:9 cards on mobile — no stacked peek that changes perceived size / covers copy */
    .solution-news-deck__card:not(.is-exit-next):not(.is-exit-prev):not(.is-enter-from-back) {
        transform: none;
    }

    .solution-news-deck__card:not(.is-front):not(.is-exit-next):not(.is-exit-prev) {
        opacity: 0;
        visibility: hidden;
    }

    .solution-news-deck__card.is-exit-next {
        transform: translateX(108%) scale(0.98);
        visibility: visible;
        opacity: 1;
    }

    .solution-news-deck__card.is-exit-prev {
        transform: translateX(-108%) scale(0.98);
        visibility: visible;
        opacity: 1;
    }

    .solution-news-deck__card.is-enter-from-back {
        transform: scale(0.97);
        visibility: visible;
        opacity: 1;
    }

    .solution-news-deck .news-card--lean .news-card__body {
        padding: 14px 16px;
        gap: 8px;
    }

    .solution-news-deck .news-card--lean .news-card__title {
        font-size: 0.95rem;
        max-width: 18em;
        -webkit-line-clamp: 3;
    }

    .solution-news-deck__controls {
        gap: 18px;
        margin-top: 0;
    }

    .solution-news-deck__btn {
        width: 44px;
        height: 44px;
        border-color: rgba(0, 212, 255, 0.35);
        background: rgba(0, 212, 255, 0.1);
    }

    .solution-detail__bridge {
        margin-top: 8px;
    }
}

/* Lean news card — date / category / title only (Solutions reuse) */
.news-card--lean {
    height: 100%;
    min-height: 0;
    padding: 0;
    justify-content: center;
    align-items: stretch;
    background: #0a0e17;
    isolation: isolate;
}

.news-card--lean.news-card--photo {
    min-height: 0;
    justify-content: center; /* override .news-card--photo flex-end */
}

/* Deck frames are fixed 16:9 — kill base news-card min-heights that blow out the ratio */
.solution-news-deck .news-card--lean,
.solution-news-deck .news-card--lean.news-card--photo {
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: 100%;
    border-radius: inherit;
}

.news-card--lean .news-card__bg {
    background: #0a0e17;
}

.news-card--lean .news-card__bg img {
    opacity: 1;
}

/* No-image lean: same brand mono wash as photo covers (cyan + charcoal) */
.news-card--lean:not(.news-card--photo)::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
      linear-gradient(
        180deg,
        rgba(10, 14, 23, 0.42) 0%,
        rgba(10, 14, 23, 0.72) 55%,
        rgba(10, 14, 23, 0.88) 100%
      ),
      linear-gradient(
        135deg,
        rgba(0, 212, 255, 0.22) 0%,
        rgba(0, 102, 255, 0.16) 42%,
        rgba(10, 14, 23, 0.12) 100%
      ),
      #0a0e17;
    pointer-events: none;
}

.news-card--lean .news-card__body {
    position: relative;
    z-index: 1;
    flex: 1 1 auto;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: clamp(20px, 4vw, 32px) clamp(18px, 3.5vw, 28px);
    gap: 12px;
}

.news-card--lean.news-card--photo .news-card__body {
    justify-content: center; /* override .news-card--photo .news-card__body flex-end */
    padding: clamp(20px, 4vw, 32px) clamp(18px, 3.5vw, 28px);
}

.news-card--lean .news-card__date {
    display: block;
    margin: 0;
    font-size: 0.9rem;
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.02em;
    color: rgba(125, 211, 252, 0.95);
}

.news-card--lean .news-card__date em {
    margin-left: 6px;
    color: rgba(255, 255, 255, 0.72);
    font-weight: var(--font-weight-regular);
}

.news-card--lean .news-card__cat {
    display: inline-block;
    margin: 0;
    font-size: 0.68rem;
    letter-spacing: var(--tracking-eyebrow);
    background: rgba(10, 14, 23, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #7dd3fc;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.news-card--lean .news-card__title {
    margin: 2px 0 0;
    max-width: 22em;
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: var(--font-weight-semibold);
    line-height: 1.35;
    letter-spacing: var(--tracking-tight);
    text-align: center;
    color: #fff;
    text-wrap: balance;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
}

.solution-detail__bridge,
.solution-detail__closing {
    color: rgba(226, 232, 240, 0.9);
}

.solution-caps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 0 0 28px;
}

.solution-caps:has(> .solution-caps__viewport) {
    display: block;
}

.solution-caps--slider {
    display: block;
}

.solution-caps__viewport {
    position: relative;
}

.solution-caps__track {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.solution-caps--slider .solution-caps__viewport.solution-slider__viewport {
    overflow: visible;
    border-radius: 0;
}

.solution-caps--slider .solution-caps__track.solution-slider__track {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    overflow: visible;
    scroll-snap-type: none;
}

.solution-caps--slider .solution-cap.solution-slider__slide {
    flex: none;
    width: auto;
    min-width: 0;
    scroll-snap-align: unset;
    scroll-snap-stop: normal;
}

.solution-caps__controls {
    display: none;
}

.solution-caps--slider > .solution-caps__controls.solution-slider__controls {
    display: none;
}

.solution-cap {
    display: flex;
    flex-direction: column;
    padding: 20px 20px 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    background: rgba(17, 24, 39, 0.55);
    min-height: 100%;
    box-sizing: border-box;
}

.solution-cap__title {
    margin: 0 0 12px;
    font-size: 1.05rem;
    font-weight: var(--font-weight-semibold);
    color: #fff;
}

.solution-cap__points {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1 1 auto;
}

.solution-cap__points li {
    position: relative;
    margin: 0;
    padding: 0 0 0 14px;
    color: rgba(226, 232, 240, 0.88);
    font-size: var(--text-ui);
    line-height: 1.35;
}

.solution-cap__points li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(0, 212, 255, 0.55);
}

.solution-cap__desc {
    margin: 0;
    color: rgba(226, 232, 240, 0.88);
    line-height: 1.6;
    font-size: var(--text-ui);
    flex: 1 1 auto;
}

.solution-caps__footnote {
    margin: -12px 0 28px;
    padding: 0;
    color: rgba(148, 163, 184, 0.55);
    font-size: 0.75rem;
    line-height: 1.4;
    letter-spacing: 0.01em;
}

.solution-group__figure {
    margin: 0 0 28px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #0a0e17;
}

.solution-group__figure img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: cover;
    object-position: center top;
}

.solution-group__caption,
.solution-feature__caption,
.solution-gallery__caption {
    margin: 0;
    padding: 12px 16px;
    color: rgba(226, 232, 240, 0.78);
    font-size: var(--text-ui);
    line-height: 1.5;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(10, 14, 23, 0.72);
}

.solution-feature {
    margin: 8px 0 32px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #0a0e17;
}

.solution-feature img {
    display: block;
    width: 100%;
    height: auto;
}

.solution-cases {
    display: grid;
    gap: 22px;
    margin: 0 0 36px;
}

.solution-slider {
    position: relative;
    width: 100%;
}

.solution-slider__viewport {
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.solution-slider__track {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.solution-slider__track::-webkit-scrollbar {
    display: none;
}

.solution-slider__slide {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    box-sizing: border-box;
}

.solution-slider__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 18px;
}

.solution-slider__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(17, 24, 39, 0.75);
    color: #fff;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.solution-slider__btn:hover,
.solution-slider__btn:focus-visible {
    border-color: rgba(0, 212, 255, 0.45);
    background: rgba(0, 102, 255, 0.22);
    outline: none;
}

.solution-slider__btn:disabled {
    opacity: 0.35;
    cursor: default;
}

.solution-slider__dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.solution-slider__dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.55);
    cursor: pointer;
}

.solution-slider__dot.is-active {
    width: 22px;
    background: rgba(0, 212, 255, 0.95);
}

.solution-slider--cases {
    margin: 0 0 36px;
}

.solution-slider--cases .solution-slider__viewport {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #0a0e17;
}

.solution-case {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    background: rgba(17, 24, 39, 0.55);
}

.solution-case__media {
    margin: 0;
    background: #0a0e17;
}

.solution-case__media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 240px;
    object-fit: cover;
    object-position: center top;
}

.solution-case__body {
    padding: 22px 22px 24px;
}

.solution-case__region {
    margin: 0 0 8px;
    color: rgba(0, 212, 255, 0.92);
    font-size: 0.68rem;
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.solution-case__title {
    margin: 0 0 10px;
    font-size: 1.15rem;
    color: #fff;
}

.solution-case__context {
    margin: 0 0 16px;
    color: rgba(226, 232, 240, 0.88);
    line-height: 1.65;
}

.solution-case__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
}

.solution-case__stats li {
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.16);
}

.solution-case__stat-value {
    display: block;
    color: #fff;
    font-size: 1.15rem;
    font-weight: var(--font-weight-semibold);
    line-height: 1.2;
}

.solution-case__stat-label {
    display: block;
    margin-top: 4px;
    color: rgba(148, 163, 184, 0.95);
    font-size: 0.72rem;
    line-height: 1.35;
}

.solution-case__points {
    margin: 0;
    padding-left: 1.1rem;
    color: rgba(226, 232, 240, 0.88);
    line-height: 1.6;
}

.solution-case__points li + li {
    margin-top: 6px;
}

.solution-gallery__item {
    display: flex;
    flex-direction: column;
}

.solution-gallery__item img {
    flex: 1 1 auto;
}

@media (max-width: 900px) {
    .solution-case {
        grid-template-columns: 1fr;
    }
    .solution-case__stats {
        grid-template-columns: 1fr;
    }
    .solution-deploy__grid,
    .solution-news,
    .solution-caps:not(.solution-caps--slider),
    .deploy-modal__features {
        grid-template-columns: 1fr;
    }
    .solution-caps--slider .solution-caps__viewport.solution-slider__viewport {
        overflow: hidden;
        border-radius: 14px;
    }
    .solution-caps--slider .solution-caps__track.solution-slider__track {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .solution-caps--slider .solution-caps__track.solution-slider__track::-webkit-scrollbar {
        display: none;
    }
    .solution-caps--slider .solution-cap.solution-slider__slide {
        flex: 0 0 100%;
        width: 100%;
        min-width: 100%;
        scroll-snap-align: center;
        scroll-snap-stop: always;
        min-height: 0;
    }
    .solution-caps--slider .solution-caps__controls,
    .solution-caps--slider > .solution-caps__controls.solution-slider__controls {
        display: flex;
        margin-top: 14px;
    }
    .solution-caps:not(.solution-caps--slider) .solution-caps__track {
        grid-template-columns: 1fr;
    }
    .solution-group__figure img {
        max-height: none;
    }
    .solution-detail__intro {
        margin-bottom: 20px;
    }
    .solution-detail__stage {
        margin: 4px 0 22px;
        border-radius: 14px;
    }
    .solution-detail__stage-inner {
        padding: 18px 16px 22px;
    }
    .solution-detail .article__back {
        margin-bottom: 18px;
    }
}

.solution-case--media-only {
    display: block;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: #0a0e17;
}

.solution-case--media-only img {
    display: block;
    width: 100%;
    height: auto;
    max-height: min(70vh, 640px);
    object-fit: contain;
    object-position: center top;
    background: #0a0e17;
}

.solution-detail__hero {
    position: relative;
    margin: 16px 0 36px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--clr-border);
    aspect-ratio: 16 / 9;
    width: 100%;
    min-height: 0;
    background: #0a0e17;
}

.solution-detail__hero-img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.8;
}

.solution-detail__hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
      180deg,
      rgba(8, 12, 22, 0.35) 0%,
      rgba(8, 12, 22, 0.72) 48%,
      rgba(8, 12, 22, 0.88) 100%
    );
    pointer-events: none;
}

.solution-detail__hero-copy {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: clamp(24px, 4vw, 40px);
    width: 100%;
    max-width: none;
    text-align: center;
    box-sizing: border-box;
}

.solution-detail__hero-copy .section-tag {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 16px;
}

.solution-detail__hero-title {
    margin: 0;
    color: #fff;
    font-size: clamp(1.6rem, 3.2vw, 2.4rem);
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.04em;
    line-height: 1.15;
    text-transform: uppercase;
    text-align: center;
    max-width: 18em;
}

.solution-detail__hero-desc {
    margin: 14px auto 0;
    color: rgba(226, 232, 240, 0.92);
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    line-height: 1.55;
    max-width: 36rem;
    text-align: center;
}

.solution-detail__hero--compact {
    aspect-ratio: 2.4 / 1;
    max-height: 280px;
    margin: 12px 0 28px;
}

.solution-detail__hero--brand .solution-detail__hero-img {
    opacity: 0.8;
    filter: grayscale(1) contrast(1.14) brightness(0.68);
}

.solution-detail__hero--brand::after {
    background:
      linear-gradient(
        180deg,
        rgba(10, 14, 23, 0.28) 0%,
        rgba(10, 14, 23, 0.78) 55%,
        rgba(10, 14, 23, 0.92) 100%
      ),
      linear-gradient(
        135deg,
        rgba(0, 212, 255, 0.28) 0%,
        rgba(0, 102, 255, 0.2) 42%,
        rgba(10, 14, 23, 0.15) 100%
      );
}

/* Hero image as Challenge → Capability stack backdrop (no standalone band) */
.solution-detail__stage {
    position: relative;
    isolation: isolate;
    margin: 8px 0 28px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--clr-border);
    background: #0a0e17;
}

.solution-detail__stage-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.8;
    pointer-events: none;
}

.solution-detail__stage::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(
      180deg,
      rgba(8, 12, 22, 0.55) 0%,
      rgba(8, 12, 22, 0.78) 45%,
      rgba(8, 12, 22, 0.9) 100%
    );
    pointer-events: none;
}

.solution-detail__stage--brand .solution-detail__stage-bg {
    filter: grayscale(1) contrast(1.14) brightness(0.68);
}

.solution-detail__stage--brand::after {
    background:
      linear-gradient(
        180deg,
        rgba(10, 14, 23, 0.52) 0%,
        rgba(10, 14, 23, 0.8) 48%,
        rgba(10, 14, 23, 0.92) 100%
      ),
      linear-gradient(
        135deg,
        rgba(0, 212, 255, 0.22) 0%,
        rgba(0, 102, 255, 0.16) 42%,
        rgba(10, 14, 23, 0.12) 100%
      );
}

.solution-detail__stage-inner {
    position: relative;
    z-index: 1;
    padding: clamp(22px, 3.2vw, 36px) clamp(18px, 2.8vw, 32px) clamp(26px, 3.4vw, 40px);
}

.solution-detail__stage-inner > .detail__subtitle:first-child {
    margin-top: 0;
}

.solution-detail__stage .solution-cap {
    background: rgba(10, 14, 23, 0.62);
    backdrop-filter: blur(6px);
}

.solution-detail__stage .solution-news-deck .news-card--lean {
    background: #0a0e17;
    border-color: rgba(255, 255, 255, 0.14);
}

.deploy-modal--solution .solution-detail__stage {
    margin: 4px 0 12px;
}

.deploy-modal--solution .solution-detail__stage-inner {
    padding: clamp(18px, 2.5vw, 28px) clamp(14px, 2vw, 22px) clamp(20px, 2.8vw, 28px);
}

.deploy-modal--solution .solution-detail__stage .detail__subtitle {
    font-size: 0.95rem;
    margin: 22px 0 10px;
}

.deploy-modal--solution .solution-detail__stage-inner > .detail__subtitle:first-child {
    margin-top: 0;
}

.deploy-modal--solution .solution-caps {
    margin-bottom: 0;
}

.solution-layers,
.solution-subs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    margin: 0 0 28px;
}

.solution-layers__item,
.solution-subs__item {
    padding: 16px 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: rgba(17, 24, 39, 0.55);
}

.solution-layers__title,
.solution-subs__title {
    margin: 0 0 8px;
    font-size: 1rem;
    font-weight: var(--font-weight-semibold);
    color: #fff;
}

.solution-layers__desc,
.solution-subs__desc {
    margin: 0;
    color: rgba(226, 232, 240, 0.88);
    line-height: 1.6;
    font-size: var(--text-ui);
}

.solution-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 12px;
    margin: 0 0 32px;
}

.solution-gallery__item {
    margin: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #0a0e17;
    aspect-ratio: 4 / 3;
}

.solution-gallery__item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 900px) {
    .solution-gallery {
        grid-template-columns: 1fr;
    }
}

/* --- News Section --- */
.news {
    padding: 120px 0;
    background: var(--clr-bg-secondary);
}

.news__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.news-card {
    background: var(--clr-bg-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: all var(--transition-base);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    min-height: 220px;
    position: relative;
    overflow: hidden;
}

.news-card:hover {
    border-color: rgba(0, 212, 255, 0.2);
    background: var(--clr-bg-card-hover);
    transform: translateY(-2px);
}

.news-card--photo {
    padding: 0;
    min-height: 280px;
    justify-content: flex-end;
    background: #0a0e17;
}

.news-card__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.news-card__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    /* Match Domains / solution-card brand mono wash */
    opacity: 0.8;
    filter: grayscale(1) contrast(1.14) brightness(0.68);
    transition: transform var(--transition-slow);
}

.news-card__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
      linear-gradient(
        180deg,
        rgba(10, 14, 23, 0.42) 0%,
        rgba(10, 14, 23, 0.72) 55%,
        rgba(10, 14, 23, 0.88) 100%
      ),
      linear-gradient(
        135deg,
        rgba(0, 212, 255, 0.22) 0%,
        rgba(0, 102, 255, 0.16) 42%,
        rgba(10, 14, 23, 0.12) 100%
      );
    pointer-events: none;
}

.news-card--photo:hover {
    background: #0a0e17;
    border-color: rgba(0, 212, 255, 0.28);
}

.news-card--photo:hover .news-card__bg img {
    transform: scale(1.04);
}

.news-card__body {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1 1 auto;
}

.news-card--photo .news-card__body {
    padding: 28px 32px;
    justify-content: flex-end;
}

.news-card--photo .news-card__title {
    color: #fff;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.news-card--photo .news-card__excerpt {
    color: rgba(255, 255, 255, 0.86);
}

.news-card--photo .news-card__date,
.news-card--photo .news-card__link {
    color: #7dd3fc;
}

.news-card--photo .news-card__date em {
    color: rgba(255, 255, 255, 0.7);
}

.news-card--photo .news-card__cat {
    background: rgba(10, 14, 23, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #7dd3fc;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.news-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.news-card__date {
    font-size: var(--text-ui);
    font-weight: var(--font-weight-semibold);
    color: var(--clr-accent);
    letter-spacing: 0;
}

.news-card__date em {
    font-style: normal;
    color: var(--clr-text-muted);
    font-weight: var(--font-weight-regular);
    margin-left: 6px;
}

.news-card__cat,
.news-card__tag {
    display: inline-block;
    font-size: var(--text-caption);
    font-weight: var(--font-weight-semibold);
    letter-spacing: var(--tracking-eyebrow);
    padding: 4px 10px;
    border-radius: 4px;
    background: rgba(0, 212, 255, 0.12);
    color: #38bdf8;
}

.news-card__title {
    font-size: var(--text-card);
    font-weight: var(--font-weight-semibold);
    line-height: var(--leading-card);
    margin: 0;
}

.news-card__excerpt {
    font-size: var(--text-ui);
    color: var(--clr-text-secondary);
    line-height: var(--leading-body);
    margin: 0;
    flex: 1;
}

.news-card__link {
    font-size: var(--text-ui);
    font-weight: var(--font-weight-semibold);
    color: var(--clr-accent);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
}

.news__action {
    text-align: center;
    margin-top: 48px;
}

/* --- Compliance Section --- */
.compliance {
    text-align: center;
}

.compliance .section-title,
.compliance .section-desc {
    margin-left: auto;
    margin-right: auto;
}

.compliance__badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px 36px;
    flex-wrap: wrap;
}

.compliance-badge {
    text-align: center;
    padding: 36px 48px;
    background: var(--clr-bg-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    min-width: 180px;
}

.compliance-badge:hover {
    border-color: rgba(0, 212, 255, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 16px 32px -8px rgba(0, 0, 0, 0.4);
}

.compliance-badge__icon {
    font-size: 2rem;
    color: var(--clr-accent);
    margin-bottom: 12px;
}

.compliance-badge__name {
    display: block;
    font-size: var(--text-card);
    font-weight: var(--font-weight-semibold);
    margin-bottom: 4px;
}

.compliance-badge__region {
    font-size: var(--text-caption);
    color: var(--clr-text-muted);
}

.compliance__note {
    text-align: center;
    font-size: 12px;
    line-height: 1.5;
    color: var(--clr-text-muted);
    margin-top: 32px;
}

/* --- Contact Section --- */
.contact {
    padding: 120px 0;
    background: var(--clr-bg-secondary);
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact__info .section-header__tag {
    margin-bottom: 16px;
}

.contact__info .section-header__title {
    text-align: left;
    margin-bottom: 16px;
}

.contact__text {
    font-size: var(--text-body);
    color: var(--clr-text-secondary);
    line-height: var(--leading-body);
    margin-bottom: 32px;
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.contact__details li {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact__icon-box {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--clr-gradient-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--clr-accent);
    flex-shrink: 0;
}

.contact__label {
    display: block;
    font-size: var(--text-caption);
    color: var(--clr-text-muted);
    text-transform: uppercase;
    letter-spacing: var(--tracking-eyebrow);
    margin-bottom: 2px;
}

.contact__details a,
.contact__details span {
    font-size: var(--text-body);
    color: var(--clr-text-primary);
}

.contact__details a:hover {
    color: var(--clr-accent);
}

.contact__wechat {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact__wechat-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--clr-bg-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    font-size: var(--text-ui);
    color: var(--clr-text-secondary);
    transition: all var(--transition-base);
    cursor: pointer;
}

.contact__wechat-box:hover {
    border-color: rgba(0, 212, 255, 0.2);
    color: #fff;
}

.contact__wechat-box i {
    font-size: 1.25rem;
    color: #07c160;
}

/* --- Contact Form --- */
.contact__form {
    background: var(--clr-bg-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-xl);
    padding: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    position: relative;
    display: grid;
    gap: 8px;
    align-content: start;
}

.form-group--full {
    grid-column: 1 / -1;
}

.contact__form input,
.contact__form select,
.contact__form textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--clr-bg-primary);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-primary);
    font-size: var(--text-body);
    color: #fff;
    transition: all var(--transition-fast);
    outline: none;
}

.contact__form input::placeholder,
.contact__form textarea::placeholder {
    color: var(--clr-text-muted);
}

.contact__form select {
    color: var(--clr-text-muted);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.contact__form select option {
    background: var(--clr-bg-card);
    color: #fff;
}

.contact__form input:focus,
.contact__form select:focus,
.contact__form textarea:focus {
    border-color: var(--clr-accent);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.contact__form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact__form .btn--full {
    grid-column: 1 / -1;
    margin-top: 8px;
}

/* --- Footer --- */
.footer {
    background: var(--clr-bg-primary);
    border-top: 1px solid var(--clr-border);
    padding: 80px 0 32px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: var(--font-weight-semibold);
    font-size: var(--text-card);
    margin-bottom: 16px;
    color: #fff;
}

.footer__logo i {
    font-size: 1.5rem;
    background: var(--clr-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer__brand p {
    font-size: var(--text-ui);
    color: var(--clr-text-secondary);
    line-height: var(--leading-body);
    margin-bottom: 20px;
    max-width: 300px;
}

.footer__social {
    display: flex;
    gap: 12px;
}

.footer__social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--clr-border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-ui);
    color: var(--clr-text-secondary);
    transition: all var(--transition-fast);
}

.footer__social a:hover {
    border-color: var(--clr-accent);
    color: var(--clr-accent);
    background: rgba(0, 212, 255, 0.1);
}

.footer__col {
    min-width: 0;
}

/* Accordion directory columns (Apple-style on mobile; open lists on desktop) */
.footer__details {
    min-width: 0;
    border: 0;
    margin: 0;
    padding: 0;
}

.footer__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    list-style: none;
    cursor: default;
}

.footer__summary::-webkit-details-marker {
    display: none;
}

.footer__summary .footer__title {
    margin: 0 0 20px;
}

.footer__chevron {
    display: none;
    flex-shrink: 0;
    font-size: 0.75rem;
    color: var(--clr-text-muted);
    transition: transform var(--transition-fast);
}

.footer__details[open] > .footer__summary .footer__chevron {
    transform: rotate(180deg);
}

.footer__panel ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__panel a {
    font-size: var(--text-ui);
    font-weight: var(--font-weight-regular);
    line-height: var(--leading-body);
    color: var(--clr-text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer__panel a:hover {
    color: #fff;
}

@media (min-width: 769px) {
    .footer__summary {
        pointer-events: none;
    }

    .footer__chevron {
        display: none !important;
    }

    .footer__details {
        display: block;
    }
}

.footer__title {
    font-family: var(--font-primary);
    font-size: var(--text-ui);
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0;
    line-height: var(--leading-ui);
    margin: 0 0 20px;
    color: var(--clr-text-primary);
    text-transform: none;
}

.footer__col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__col li,
.footer__col a,
.footer__col span {
    font-size: var(--text-ui);
    font-weight: var(--font-weight-regular);
    line-height: var(--leading-body);
    letter-spacing: 0;
    color: var(--clr-text-secondary);
    text-transform: none;
}

.footer__col a {
    display: inline-flex;
    align-items: flex-start;
    gap: 10px;
    transition: color var(--transition-fast);
}

.footer__col a:hover,
.footer__col a:hover span {
    color: var(--clr-accent);
}

/* Keep social icon circles square & centered (do not inherit footer link flex/align). */
.footer__col .contact-channels__social {
    margin-top: 20px;
}
.footer__col a.contact-channels__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    gap: 0;
    width: 36px;
    height: 36px;
    padding: 0;
    line-height: 1;
    font-size: 1rem;
}
.footer__col a.contact-channels__social-link i {
    display: block;
    width: 1em;
    height: 1em;
    font-size: 1rem;
    line-height: 1;
    text-align: center;
}

.footer__bottom {
    padding-top: 32px;
    border-top: 1px solid var(--clr-border);
    font-size: var(--text-caption);
    color: var(--clr-text-muted);
}
.footer__bottom-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 20px;
}
.footer__bottom-inner p { margin: 0; }
.footer__nav-actions {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
}
.footer__action {
    appearance: none;
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    font-size: inherit;
    color: var(--clr-text-secondary);
    text-decoration: none;
    cursor: pointer;
    transition: color var(--transition-fast);
}
.footer__action:hover,
.footer__action:focus-visible {
    color: var(--clr-accent);
}
.footer__privacy-btn {
    appearance: none;
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    font-size: inherit;
    color: var(--clr-text-secondary);
    text-decoration: none;
    cursor: pointer;
}
.footer__privacy-btn:hover,
.footer__privacy-btn:focus-visible {
    color: var(--clr-text-primary);
}
.footer__privacy-btn[hidden] { display: none !important; }

/* --- Reveal Animations ---
   Scoped under .js so that if JS fails or is disabled the content stays
   visible (no hidden text). .js is added by an inline script in <head>. */
.js .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.js .reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* First paint: page heroes / top hero copy must not wait on main.js */
.js .page-hero,
.js .hero--top .hero__inner {
    opacity: 1;
    transform: none;
}

/* Inner pages need top offset so content clears the fixed header. */
body.sub { padding-top: var(--header-height); }

/* ---------- Inner page hero ---------- */
.page-hero {
  padding: 48px 0 32px;
  text-align: center;
  background:
    radial-gradient(900px 400px at 50% -10%, rgba(0, 212, 255, 0.14), transparent 70%),
    linear-gradient(180deg, #120a2e 0%, var(--clr-bg-primary) 100%);
}
.page-hero__title {
  font-size: var(--text-page);
  font-weight: var(--font-weight-semibold);
  margin: 0.35rem 0 0;
  line-height: var(--leading-page);
  letter-spacing: var(--tracking-tight);
  color: #fff;
}
.page-hero__desc {
  max-width: 640px;
  margin: 14px auto 0;
  color: rgba(255, 255, 255, 0.7);
  line-height: var(--leading-body);
  font-size: var(--text-body);
}

/* Tighter first section under page hero (avoid large empty band). */
body.sub .page-hero + .section {
  padding-top: var(--section-y-sm);
}

body.sub .section-header {
  margin-bottom: 36px;
}

body.sub .section-tag {
  margin-bottom: 12px;
}

/* Products showroom: lifted cool gray + soft vertical / radial wash */
body.page-products {
  background-color: var(--clr-product-page);
  background-image:
    radial-gradient(1100px 520px at 50% -8%, rgba(0, 212, 255, 0.12), transparent 62%),
    radial-gradient(800px 480px at 100% 42%, rgba(0, 102, 255, 0.08), transparent 58%),
    radial-gradient(700px 420px at 0% 72%, rgba(148, 163, 184, 0.10), transparent 55%),
    linear-gradient(
      180deg,
      var(--clr-product-page-hi) 0%,
      var(--clr-product-page-mid) 28%,
      var(--clr-product-page) 58%,
      var(--clr-product-page-deep) 100%
    );
  background-attachment: fixed;
}

body.page-products .page-hero {
  background:
    radial-gradient(900px 420px at 50% -12%, rgba(0, 212, 255, 0.16), transparent 68%),
    linear-gradient(180deg, rgba(52, 60, 77, 0.55) 0%, transparent 100%);
}

body.page-products .product-tile,
body.page-products .product-filters__btn {
  background: linear-gradient(165deg, #323a4a 0%, var(--clr-product-page-mid) 55%, #242b38 100%);
}

body.page-products .product-filters__btn.is-active {
  background: rgba(0, 212, 255, 0.10);
}

/* Technology layer on Products */
.tech-layer {
  background:
    radial-gradient(700px 320px at 50% 0%, rgba(0, 212, 255, 0.07), transparent 70%),
    linear-gradient(180deg, var(--clr-product-page-deep) 0%, #151922 100%);
}

.section-footer { margin-top: 40px; text-align: center; }

/* ---------- Tech / resource cards ---------- */
.tech-rail__head {
  display: grid;
  gap: 16px;
  margin-bottom: 8px;
}

.tech-rail__head .section-header {
  margin-bottom: 0;
}

.tech-rail__controls {
  justify-self: end;
}

.tech-rail__scroller {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.tech__grid,
.tech-rail__track.tech__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.tech-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 28px 24px;
}
.tech-card__title { font-size: var(--text-card); font-weight: var(--font-weight-semibold); margin-bottom: 8px; color: var(--primary-2); }
.tech-card__desc { color: rgba(255, 255, 255, 0.66); font-size: var(--text-ui); }

.resources__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.resource-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 32px 26px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.resource-card:hover { transform: translateY(-6px); border-color: var(--primary-2); }
.resource-card__icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(0, 212, 255, 0.12);
  color: var(--primary-2);
  font-size: 1.4rem;
  margin-bottom: 18px;
}
.resource-card__title { font-size: var(--text-card); font-weight: var(--font-weight-semibold); margin-bottom: 10px; }
.resource-card__desc { color: rgba(255, 255, 255, 0.66); font-size: var(--text-ui); margin-bottom: 18px; }
.resource-card__link { color: var(--primary-2); font-weight: 600; }
.resource-card__link i { margin-left: 6px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, rgba(124, 58, 237, 0.18), rgba(0, 212, 255, 0.12));
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-block: var(--section-y-sm);
}
.cta-band__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.cta-band__inner--center {
  justify-content: center;
}
.cta-band__title { font-size: var(--text-section); font-weight: var(--font-weight-semibold); margin: 0; line-height: var(--leading-section); letter-spacing: var(--tracking-tight); }

/* ---------- About preview + compliance ---------- */
.about--preview .about__intro { text-align: left; }
.compliance--preview { text-align: center; }
.compliance--preview .compliance__inner { max-width: 920px; margin: 0 auto; }
.compliance__badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px 36px;
    flex-wrap: wrap;
    margin-top: 28px;
}
.badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 120px;
    min-height: 96px;
    padding: 16px 18px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    font-weight: var(--font-weight-semibold);
    letter-spacing: var(--tracking-eyebrow);
}
/* White monochrome marks: open row, no nested cards */
.compliance .badge--logo {
    min-width: 0;
    min-height: 56px;
    padding: 8px 10px;
    border: none;
    background: transparent;
    border-radius: 0;
}
.badge__logo {
    display: block;
    width: auto;
    max-width: 118px;
    height: 44px;
    object-fit: contain;
    opacity: 0.92;
}
.badge__name {
    color: #fff;
    font-size: var(--text-card);
}
.badge__region,
.badge em {
    font-style: normal;
    opacity: 0.65;
    font-size: var(--text-caption);
    letter-spacing: 0;
    font-weight: var(--font-weight-regular);
    text-align: center;
}
.compliance__note { color: rgba(255, 255, 255, 0.55); margin-top: 14px; font-size: 12px; line-height: 1.5; }

/* ---------- Article (news / product / solution detail) ---------- */
.article { padding: 64px 0; }
/* Reading column: news prose stays focused; product/solution details need more room for cards */
.article__inner { max-width: 860px; }
.detail .article__inner { max-width: 1040px; }
.article__back {
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  color: var(--primary-2);
  font-weight: 600;
  margin-bottom: 28px;
}
.article__meta { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.article__title { font-size: var(--text-page); line-height: var(--leading-page); letter-spacing: var(--tracking-tight); font-weight: var(--font-weight-semibold); margin-bottom: 12px; }
.article__para { color: rgba(255, 255, 255, 0.78); font-size: var(--text-body); line-height: var(--leading-body); margin-bottom: 18px; }
.legal-page__section { margin-bottom: 28px; }
.legal-page__heading {
  font-size: var(--text-section);
  line-height: var(--leading-section);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--tracking-tight);
  margin: 0 0 12px;
}
.legal-page__para { white-space: normal; }
.article__source { margin: 8px 0 0; }
.article__source-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-ui);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--clr-accent);
  text-decoration: none;
  transition: color var(--transition-fast), gap var(--transition-fast);
}
.article__source-link:hover {
  color: #fff;
  gap: 10px;
}
.article__footer { margin-top: 32px; }

.detail__tagline {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-body);
  margin-bottom: 24px;
  line-height: var(--leading-body);
}
.article__title:has(+ .detail__does) {
  margin-bottom: 8px;
}
.detail__does {
  margin: 0 0 4px;
  max-width: 52rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.125rem;
  line-height: 1.45;
  text-wrap: balance;
}
.detail__does + .detail__tagline {
  margin-top: 12px;
}
.detail__does-label {
  font-weight: var(--font-weight-semibold);
  color: #fff;
  white-space: nowrap;
}
.detail__does + .detail__film {
  margin-top: 22px;
}
.detail__subtitle {
  font-size: var(--text-card);
  margin: 32px 0 12px;
  font-weight: var(--font-weight-semibold);
}
.detail__list {
  margin: 0 0 18px 1.2rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
  display: grid;
  gap: 8px;
}
.detail__specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}
.detail__spec {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px 16px;
  display: grid;
  gap: 4px;
}
.detail__spec-label {
  font-size: var(--text-caption);
  text-transform: uppercase;
  letter-spacing: var(--tracking-eyebrow);
  color: rgba(255, 255, 255, 0.5);
}
.detail__spec-value { font-weight: 600; }
.detail__features {
  display: grid;
  gap: 36px;
  margin: 8px 0 28px;
}
.detail__feature-desc {
  color: rgba(255, 255, 255, 0.78);
  font-size: var(--text-body);
  line-height: var(--leading-body);
  margin: 0 0 16px;
}
.detail__feature-media {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--clr-border);
  background: var(--clr-bg-card);
  box-shadow: 0 16px 40px -24px rgba(0, 0, 0, 0.55);
}
.detail__feature-media img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}
.detail__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}
.detail__chip {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 212, 255, 0.08);
  font-size: var(--text-ui);
  font-weight: var(--font-weight-semibold);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.detail__chip:hover {
  border-color: rgba(0, 212, 255, 0.45);
  background: rgba(0, 212, 255, 0.16);
}
.detail__inquire {
  margin-top: 48px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.detail__inquire .detail__subtitle {
  margin-top: 24px;
  margin-bottom: 20px;
}
.detail__inquire .contact__form {
  max-width: 100%;
}
.service-card__cat {
  font-size: var(--text-caption);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--primary-2);
  margin-bottom: 8px;
  font-weight: var(--font-weight-semibold);
}
.section-footer {
  margin-top: 32px;
  text-align: center;
}

/* ---------- Contact ---------- */
.contact__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: start;
}
.contact__info-title { font-size: var(--text-section); font-weight: var(--font-weight-semibold); letter-spacing: var(--tracking-tight); margin-bottom: 18px; }

/* Shared contact channels (Contact page + footer Get In Touch) */
.contact-channels {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.contact-channels__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
  width: 100%;
}
.contact-channels__item {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  column-gap: 12px;
  color: rgba(255, 255, 255, 0.8);
}
.contact-channels__icon {
  width: 20px;
  height: 20px;
  margin: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
  color: var(--clr-text-secondary);
}
.contact-channels__text {
  min-width: 0;
  line-height: 1.45;
  word-break: break-word;
}
.contact-channels__social {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.contact-channels__social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--clr-border-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  gap: 0;
  line-height: 1;
  color: var(--clr-text-secondary);
  background: transparent;
  text-decoration: none;
  transition: color var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast), transform var(--transition-fast);
}
.contact-channels__social-link:hover {
  color: var(--clr-accent);
  border-color: var(--clr-accent);
  background: rgba(0, 212, 255, 0.1);
  transform: translateY(-2px);
}
.contact-channels__social-link i {
  display: block;
  width: 1em;
  height: 1em;
  font-size: 1rem;
  line-height: 1;
  text-align: center;
  color: inherit;
}
.contact-channels--footer .contact-channels__list {
  gap: 12px;
  font-size: var(--text-ui);
}
.contact-channels--footer .contact-channels__social {
  margin-top: 20px;
}
.contact-channels--footer .contact-channels__social-link {
  width: 36px;
  height: 36px;
}
.contact__form {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}
.form-group label { font-weight: var(--font-weight-semibold); font-size: var(--text-ui); }
.form-group .req { color: #ff6b6b; }
.contact__form input,
.contact__form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font: inherit;
}
.contact__form input:focus,
.contact__form textarea:focus {
  outline: none;
  border-color: var(--primary-2);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.18);
}
.contact__form textarea { resize: vertical; }
.contact__submit {
  justify-self: start;
  margin-top: 4px;
  grid-column: 1 / -1;
}
.field-error { color: #ff8585; font-size: var(--text-caption); min-height: 1em; }
.form-message { font-size: var(--text-ui); min-height: 1.2em; }
.form-message.is-success { color: #4ade80; }
.form-message.is-error { color: #ff8585; }
.form-privacy-note {
    grid-column: 1 / -1;
    margin: 0 0 0.75rem;
    font-size: var(--text-ui);
    line-height: 1.45;
    color: var(--clr-text-secondary);
}
.form-privacy-note a,
.form-privacy-note__link {
    appearance: none;
    display: inline;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    color: var(--clr-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}
.form-privacy-note__link:hover,
.form-privacy-note__link:focus-visible {
    color: var(--clr-text-primary);
}

/* Privacy Notice modal (in-page, no separate route) */
.privacy-notice-modal {
    position: fixed;
    inset: 0;
    z-index: 1400;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
}
.privacy-notice-modal[hidden] { display: none !important; }
.privacy-notice-modal__backdrop {
    appearance: none;
    position: absolute;
    inset: 0;
    margin: 0;
    padding: 0;
    border: 0;
    background: rgba(4, 8, 16, 0.72);
    cursor: pointer;
}
.privacy-notice-modal__panel {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    width: min(560px, 100%);
    max-height: min(78vh, 720px);
    background: #0d1321;
    border: 1px solid var(--clr-border-light);
    border-radius: 10px;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}
.privacy-notice-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px 12px;
    border-bottom: 1px solid var(--clr-border);
    flex-shrink: 0;
}
.privacy-notice-modal__title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: var(--font-weight-semibold);
    color: var(--clr-text-primary);
}
.privacy-notice-modal__close {
    appearance: none;
    width: 32px;
    height: 32px;
    margin: 0;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--clr-text-muted);
    cursor: pointer;
}
.privacy-notice-modal__close:hover,
.privacy-notice-modal__close:focus-visible {
    color: var(--clr-text-primary);
    background: rgba(255, 255, 255, 0.06);
}
.privacy-notice-modal__body {
    padding: 14px 18px 20px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.privacy-notice-modal__updated {
    margin: 0 0 10px;
    font-size: var(--text-caption);
    color: var(--clr-text-muted);
}
.privacy-notice-modal__intro {
    margin: 0 0 1.1rem;
    font-size: var(--text-ui);
    line-height: 1.5;
    color: var(--clr-text-secondary);
}
.privacy-notice-modal__section {
    margin: 0 0 1.15rem;
}
.privacy-notice-modal__heading {
    margin: 0 0 0.45rem;
    font-size: var(--text-ui);
    font-weight: var(--font-weight-semibold);
    color: var(--clr-text-primary);
}
.privacy-notice-modal__para {
    margin: 0 0 0.55rem;
    font-size: var(--text-caption);
    line-height: 1.5;
    color: var(--clr-text-secondary);
}
.privacy-notice-modal__para:last-child { margin-bottom: 0; }
body.privacy-notice-open {
    overflow: hidden;
}

.footer__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    align-items: center;
}

/* ---------- Privacy toast (lightweight consent) ---------- */
.privacy-toast {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 1200;
  width: min(400px, calc(100vw - 32px));
  padding: 14px 14px 12px;
  background: rgba(13, 19, 33, 0.94);
  border: 1px solid var(--clr-border-light);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: privacy-toast-in 0.28s ease-out;
}
.privacy-toast[hidden] { display: none !important; }
.privacy-toast__view {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "body close"
    "actions actions";
  gap: 10px 8px;
}
.privacy-toast__view[hidden] { display: none !important; }
.privacy-toast__body { grid-area: body; min-width: 0; }
.privacy-toast__title {
  margin: 0 0 6px;
  font-size: var(--text-ui);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0;
  color: var(--clr-text-primary);
}
.privacy-toast__text {
  margin: 0;
  font-size: var(--text-caption);
  line-height: 1.45;
  color: var(--clr-text-secondary);
}
.privacy-toast__link {
  appearance: none;
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: var(--clr-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.privacy-toast__link:hover,
.privacy-toast__link:focus-visible {
  color: var(--clr-text-primary);
}
.privacy-toast__actions {
  grid-area: actions;
  display: flex;
  gap: 8px;
}
.privacy-toast__actions--stack {
  flex-direction: column;
}
.privacy-toast__btn {
  flex: 1;
  appearance: none;
  margin: 0;
  padding: 9px 12px;
  border-radius: 6px;
  font: inherit;
  font-size: var(--text-caption);
  font-weight: var(--font-weight-semibold);
  line-height: 1.2;
  cursor: pointer;
  text-align: center;
  transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}
/* Equal visual weight: outline family; Accept uses cyan accent only */
.privacy-toast__btn--accept,
.privacy-toast__btn--neutral,
.privacy-toast__btn--reject {
  border: 1px solid var(--clr-border-light);
  background: transparent;
  color: var(--clr-text-primary);
}
.privacy-toast__btn--accept {
  border-color: rgba(0, 212, 255, 0.55);
  color: var(--clr-accent);
}
.privacy-toast__btn--accept:hover,
.privacy-toast__btn--accept:focus-visible {
  background: rgba(0, 212, 255, 0.1);
  border-color: var(--clr-accent);
}
.privacy-toast__btn--neutral:hover,
.privacy-toast__btn--neutral:focus-visible,
.privacy-toast__btn--reject:hover,
.privacy-toast__btn--reject:focus-visible {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.04);
}
.privacy-toast__toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid var(--clr-border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
}
.privacy-toast__toggle-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.privacy-toast__toggle-label {
  font-size: var(--text-caption);
  font-weight: var(--font-weight-semibold);
  color: var(--clr-text-primary);
}
.privacy-toast__toggle-hint {
  font-size: 0.72rem;
  line-height: 1.35;
  color: var(--clr-text-muted);
}
.privacy-toast__switch {
  flex-shrink: 0;
  appearance: none;
  width: 42px;
  height: 24px;
  margin: 0;
  padding: 2px;
  border: 1px solid var(--clr-border-light);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  cursor: pointer;
  transition: background var(--transition-fast), border-color var(--transition-fast);
}
.privacy-toast__switch-thumb {
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--clr-text-secondary);
  transition: transform var(--transition-fast), background var(--transition-fast);
}
.privacy-toast__switch.is-on {
  border-color: rgba(0, 212, 255, 0.65);
  background: rgba(0, 212, 255, 0.18);
}
.privacy-toast__switch.is-on .privacy-toast__switch-thumb {
  transform: translateX(18px);
  background: var(--clr-accent);
}
.privacy-toast__close {
  grid-area: close;
  align-self: start;
  appearance: none;
  width: 24px;
  height: 24px;
  margin: -2px -2px 0 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--clr-text-muted);
  cursor: pointer;
}
.privacy-toast__close:hover,
.privacy-toast__close:focus-visible {
  color: var(--clr-text-primary);
  background: rgba(255, 255, 255, 0.06);
}
@keyframes privacy-toast-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .privacy-toast { animation: none; }
  .privacy-toast__switch-thumb { transition: none; }
  .btn,
  .btn:hover {
    transition: none;
    transform: none;
  }
  .solution-card,
  .solution-card__bg img,
  .solution-card__desc {
    transition: none;
    transform: none;
  }
  .solution-card:hover .solution-card__desc,
  .solution-card:focus-visible .solution-card__desc {
    transform: none;
  }
  .solution-news-deck__card,
  .solution-news-deck__card.is-exit-next,
  .solution-news-deck__card.is-exit-prev,
  .solution-news-deck__card.is-enter-from-back {
    transition: none;
  }
}

/* ---------- 404 ---------- */
.notfound { padding: 140px 0; text-align: center; }
.notfound__code { font-size: 3.5rem; font-weight: var(--font-weight-semibold); color: var(--primary-2); margin: 0; }
.notfound__title { font-size: var(--text-page); font-weight: var(--font-weight-semibold); margin: 8px 0 12px; }
.notfound__desc { color: rgba(255, 255, 255, 0.7); margin-bottom: 24px; }

/* ---------- Accessibility helper ---------- */
.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;
}
.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.resources-hub__intro { max-width: 640px; margin-bottom: 28px; color: var(--clr-text-secondary); }
.news-card__source {
  display: block;
  margin-top: 8px;
  font-size: var(--text-caption);
  color: var(--clr-text-muted);
}
.resources-section { margin-top: 8px; }
.resources-section .article__para { max-width: 720px; }
.faq-list { list-style: none; padding: 0; margin: 0; max-width: 760px; }
.faq-list li { margin-bottom: 22px; }
.faq-list h3 { font-size: var(--text-card); font-weight: var(--font-weight-semibold); margin: 0 0 6px; }
.faq-list p { margin: 0; color: rgba(255, 255, 255, 0.78); line-height: 1.65; }

/* --- Product subnav (DJI-style secondary bar) --- */
.product-subnav {
    position: sticky;
    top: var(--header-height);
    z-index: 40;
    border-bottom: 1px solid var(--clr-border-light);
    background: rgba(10, 14, 23, 0.92);
    backdrop-filter: blur(10px);
}
.product-subnav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 52px;
}
.product-subnav__brand {
    font-size: var(--text-ui);
    font-weight: var(--font-weight-semibold);
    color: var(--clr-text-primary);
    text-decoration: none;
    white-space: nowrap;
}
.product-subnav__brand:hover { color: var(--clr-accent); }
.product-subnav__list {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
    overflow-x: auto;
}
.product-subnav__link {
    display: inline-block;
    padding: 14px 12px;
    font-size: var(--text-ui);
    color: var(--clr-text-secondary);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
}
.product-subnav__link:hover { color: var(--clr-text-primary); }
.product-subnav__link.is-active {
    color: var(--clr-text-primary);
    border-bottom-color: var(--clr-accent);
}

/* --- Product FAQ (category rail + accordion) --- */
.product-faq {
    padding: 40px 0 var(--section-y);
}
.product-faq__layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 40px;
    align-items: start;
}
.product-faq__nav {
    position: sticky;
    top: calc(var(--header-height) + 64px);
}
.product-faq__nav-label {
    margin: 0 0 12px;
    font-size: var(--text-caption);
    letter-spacing: var(--tracking-eyebrow);
    text-transform: uppercase;
    color: var(--clr-text-muted);
}
.product-faq__cats {
    list-style: none;
    margin: 0;
    padding: 0;
    border-left: 1px solid var(--clr-border-light);
}
.product-faq__cat {
    display: block;
    width: 100%;
    text-align: left;
    background: transparent;
    border: 0;
    border-left: 2px solid transparent;
    margin-left: -1px;
    padding: 10px 14px;
    font: inherit;
    font-size: var(--text-ui);
    color: var(--clr-text-secondary);
    cursor: pointer;
}
.product-faq__cat:hover { color: var(--clr-text-primary); }
.product-faq__cat.is-active {
    color: var(--clr-text-primary);
    border-left-color: var(--clr-accent);
}
.product-faq__title {
    margin: 0 0 28px;
    font-size: var(--text-page);
    line-height: var(--leading-page);
    letter-spacing: var(--tracking-tight);
}
.product-faq__panel-title {
    margin: 0 0 18px;
    font-size: var(--text-section);
    line-height: var(--leading-section);
}
.product-faq__panel[hidden] { display: none; }
.product-faq__list {
    display: grid;
    gap: 10px;
    border-top: 0;
}
.product-faq__item {
    margin: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: rgba(17, 24, 39, 0.55);
    overflow: hidden;
    transition:
        border-color var(--transition-fast),
        background var(--transition-fast),
        box-shadow var(--transition-fast);
}
.product-faq__item:hover {
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(22, 30, 46, 0.72);
}
.product-faq__item[open] {
    border-color: rgba(0, 212, 255, 0.42);
    background:
        linear-gradient(90deg, rgba(0, 212, 255, 0.14), rgba(0, 212, 255, 0) 18px),
        rgba(17, 28, 46, 0.92);
    box-shadow:
        inset 3px 0 0 var(--clr-accent),
        0 10px 28px rgba(0, 0, 0, 0.28);
}
.product-faq__q {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    font-size: var(--text-body);
    font-weight: var(--font-weight-semibold);
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.88);
    transition: color var(--transition-fast);
}
.product-faq__item:hover > .product-faq__q {
    color: #fff;
}
.product-faq__item[open] > .product-faq__q {
    color: #fff;
    padding-bottom: 12px;
}
.product-faq__q::-webkit-details-marker { display: none; }
.product-faq__q::after {
    content: '';
    flex: 0 0 10px;
    width: 10px;
    height: 10px;
    margin-top: 6px;
    border-right: 2px solid var(--clr-text-muted);
    border-bottom: 2px solid var(--clr-text-muted);
    transform: rotate(45deg);
    transition:
        transform var(--transition-fast),
        border-color var(--transition-fast);
}
.product-faq__item:hover > .product-faq__q::after,
.product-faq__item[open] > .product-faq__q::after {
    border-color: var(--clr-accent);
}
.product-faq__item[open] > .product-faq__q::after {
    transform: rotate(-135deg);
    margin-top: 10px;
}
.product-faq__a {
    padding: 0 18px 18px;
    color: rgba(226, 232, 240, 0.92);
    line-height: 1.7;
    white-space: pre-line;
    max-width: 62ch;
}
.product-faq__item[open] > .product-faq__a {
    border-top: 1px solid rgba(0, 212, 255, 0.12);
    padding-top: 14px;
    animation: product-faq-answer-in 0.22s ease-out;
}
@keyframes product-faq-answer-in {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@media (prefers-reduced-motion: reduce) {
    .product-faq__item,
    .product-faq__q,
    .product-faq__q::after {
        transition: none;
    }
    .product-faq__item[open] > .product-faq__a {
        animation: none;
    }
}
.product-faq__empty {
    color: var(--clr-text-secondary);
    line-height: 1.65;
}
.product-faq__footer {
    margin-top: 36px;
    font-size: var(--text-ui);
    color: var(--clr-text-muted);
}
.product-faq__footer a { color: var(--clr-accent); }

@media (max-width: 900px) {
    .product-faq__layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .product-faq__nav {
        position: static;
    }
    .product-faq__cats {
        display: flex;
        gap: 4px;
        overflow-x: auto;
        border-left: 0;
        border-bottom: 1px solid var(--clr-border-light);
        padding-bottom: 2px;
    }
    .product-faq__cat {
        border-left: 0;
        border-bottom: 2px solid transparent;
        margin-left: 0;
        white-space: nowrap;
    }
    .product-faq__cat.is-active {
        border-left-color: transparent;
        border-bottom-color: var(--clr-accent);
    }
}

@media (max-width: 768px) {
  .contact__grid { grid-template-columns: 1fr; gap: 28px; }
  .cta-band__inner {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 20px;
  }

  .cta-band__title {
    text-align: center;
    max-width: 22rem;
  }

  .cta-band__inner .btn {
    margin-inline: auto;
  }
}

/* --- Mobile Navigation --- */
@media (max-width: 1024px) {
    .product-spotlight {
        --spotlight-card-h: clamp(320px, 52dvh, 440px);
    }

    .product-spotlight__card {
        flex-basis: min(720px, calc(100vw - 56px));
    }

    .product-spotlight__card--more {
        flex-basis: min(280px, calc(100vw - 56px));
    }

    .product-spotlight__inner {
        grid-template-columns: 1fr;
        gap: 12px;
        text-align: center;
        height: auto;
        min-height: 0;
        padding: 18px 18px 20px;
    }

    .product-spotlight__copy {
        text-align: center;
        max-width: 28rem;
        margin: 0 auto;
        align-items: center;
    }

    .product-spotlight__copy .section-tag {
        align-self: center;
    }

    .product-spotlight__actions {
        justify-content: center;
        margin-top: 12px;
    }

    .product-spotlight__media {
        order: -1;
        min-height: clamp(140px, 22dvh, 200px);
        max-height: clamp(160px, 26dvh, 220px);
    }

    .product-spotlight__media img {
        max-width: min(280px, 70vw);
        max-height: 100%;
        width: auto;
    }

    .product-spotlight__more {
        height: auto;
        min-height: 160px;
    }

    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .solutions__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-preview__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .news__grid {
        grid-template-columns: 1fr;
    }
    
    .contact__grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
    
    .about__stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-stat:nth-child(2n) {
        border-right: none;
    }

    .about-stat:nth-child(-n+2) {
        border-bottom: 1px solid var(--clr-border);
    }

    .stats__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
    }

    .stat {
        min-height: 148px;
        padding: 28px 16px;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 64px;
        --section-y: 56px;
        --section-y-sm: 40px;
        --section-header-gap: 28px;
        --text-hero: 2.5rem;
        --text-page: 1.75rem;
        --text-section: 1.5rem;
        --text-stat: 2.25rem;
    }

    .nav {
        display: none;
    }

    .header__cta {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .mobile-nav:not([hidden]) {
        display: block;
    }

    .logo__img {
        height: 28px;
        max-width: min(140px, 48vw);
    }

    .hero__title {
        padding-inline: 4px;
    }

    /* Home mobile: fill the phone viewport (width×9/16 is only ~220px and clips the title) */
    .hero--top {
        height: 100svh;
        min-height: 100svh;
        max-height: 100svh;
    }

    .hero--top .hero__video--main {
        object-fit: cover;
    }

    .hero__inner--top {
        padding: 0 16px;
        padding-top: var(--header-height);
        box-sizing: border-box;
        min-height: 100%;
    }

    .hero__logo {
        height: 36px;
        max-width: min(180px, 58vw);
    }

    .hero--top .hero__mask {
        background:
            radial-gradient(ellipse 72% 58% at 50% 46%, rgba(4, 8, 16, 0.72) 0%, rgba(4, 8, 16, 0.32) 52%, transparent 78%),
            linear-gradient(180deg, rgba(6, 10, 18, 0.42) 0%, rgba(6, 10, 18, 0.22) 40%, rgba(6, 10, 18, 0.7) 100%);
    }

    .hero__title--top {
        font-size: clamp(1.55rem, 6.8vw, 2rem);
        line-height: 1.18;
    }

    .hero__copy {
        gap: 14px;
        max-width: 22rem;
        padding: 8px 8px 24px;
    }

    .hero__tagline {
        font-size: 0.92rem;
        letter-spacing: 0.04em;
    }

    .hero__down {
        width: 38px;
        height: 38px;
        margin-top: 4px;
    }

    .hero--top::after {
        height: clamp(110px, 18vh, 180px);
    }

    .product-spotlight {
        --spotlight-card-h: auto;
        min-height: 0;
        padding: 20px 0 28px;
    }

    .hero--top + .product-spotlight {
        margin-top: -72px;
        padding-top: clamp(56px, 10vh, 88px);
    }

    .hero--top + .product-spotlight .product-spotlight__video {
        -webkit-mask-image: linear-gradient(
            180deg,
            transparent 0%,
            rgba(0, 0, 0, 0.25) 5%,
            rgba(0, 0, 0, 0.6) 14%,
            rgba(0, 0, 0, 0.88) 26%,
            #000 40%,
            #000 100%
        );
        mask-image: linear-gradient(
            180deg,
            transparent 0%,
            rgba(0, 0, 0, 0.25) 5%,
            rgba(0, 0, 0, 0.6) 14%,
            rgba(0, 0, 0, 0.88) 26%,
            #000 40%,
            #000 100%
        );
    }

    .hero--top + .product-spotlight .product-spotlight__grade {
        background: linear-gradient(
            180deg,
            #9a9a9a 0%,
            #9a9a9a 16%,
            rgba(154, 154, 154, 0.85) 30%,
            rgba(154, 154, 154, 0.4) 48%,
            rgba(154, 154, 154, 0) 68%,
            transparent 100%
        );
    }

    .hero--top + .product-spotlight .product-spotlight__mask {
        background:
            linear-gradient(
                180deg,
                rgba(7, 11, 18, 0.86) 0%,
                rgba(7, 11, 18, 0.65) 14%,
                rgba(7, 11, 18, 0.4) 32%,
                rgba(6, 10, 18, 0.32) 52%,
                rgba(6, 10, 18, 0.78) 100%
            ),
            radial-gradient(ellipse 80% 50% at 50% 45%, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.5));
    }

    .product-spotlight + .threat-pulse {
        margin-top: -36px;
        padding-top: 28px;
        padding-bottom: 48px;
    }

    .product-spotlight__track {
        gap: 12px;
        padding: 4px 14px 8px;
    }

    .product-spotlight__card {
        flex-basis: calc(100vw - 28px);
        border-radius: var(--radius-lg);
    }

    .product-spotlight__card--more {
        flex-basis: min(240px, calc(100vw - 28px));
    }

    .product-spotlight__more {
        min-height: 140px;
        height: auto;
        padding: 20px 16px;
    }

    .product-spotlight__inner {
        grid-template-columns: 1fr;
        gap: 10px;
        text-align: center;
        padding: 16px 16px 18px;
        min-height: 0;
        height: auto;
    }

    .product-spotlight__copy {
        text-align: center;
        max-width: 22rem;
        margin: 0 auto;
        align-items: center;
    }

    .product-spotlight__copy .section-tag {
        align-self: center;
    }

    .product-spotlight__name {
        font-size: clamp(1.3rem, 5.5vw, 1.55rem);
        margin-bottom: 6px;
    }

    .product-spotlight__tagline {
        font-size: 0.88rem;
        line-height: 1.4;
        max-width: 20rem;
        margin-inline: auto;
        -webkit-line-clamp: 2;
    }

    .product-spotlight__actions {
        justify-content: center;
        margin-top: 12px;
    }

    .product-spotlight__actions .btn {
        min-height: 42px;
        padding-inline: 18px;
    }

    .product-spotlight__media {
        order: -1;
        min-height: clamp(120px, 22dvh, 168px);
        max-height: clamp(132px, 24dvh, 180px);
    }

    .product-spotlight__media img {
        max-width: min(220px, 62vw);
        max-height: 100%;
        width: auto;
    }

    .product-spotlight__card[data-product="d200-pro"] .product-spotlight__media img {
        width: auto;
        max-width: min(240px, 68vw);
        transform: scale(1.04);
    }

    .product-spotlight__card[data-product="d360-s"] .product-spotlight__media img {
        width: auto;
        max-width: min(240px, 68vw);
        transform: scale(0.68);
    }

    .product-spotlight__controls {
        margin-top: 12px;
        padding: 0 16px 2px;
    }

    .product-spotlight + .threat-pulse .threat-pulse__header {
        margin-bottom: 22px;
        padding-inline: 4px;
    }

    .product-spotlight + .threat-pulse .threat-pulse__title {
        max-width: 15rem;
        font-size: clamp(1.4rem, 6vw, 1.7rem);
    }

    .threat-pulse__value {
        font-size: clamp(1.55rem, 6.5vw, 1.95rem);
    }

    .threat-pulse + .services {
        padding-top: 40px;
    }

    .service-card--photo {
        min-height: 260px;
        border-radius: var(--radius-lg);
    }

    .service-card--photo .service-card__body {
        padding: 20px 18px 22px;
    }

    .service-card--photo .service-card__title {
        font-size: 1.15rem;
    }

    .service-card--photo .service-card__desc,
    .service-card--photo p {
        font-size: 0.9rem;
        line-height: 1.45;
    }

    .services__action .btn {
        min-height: 44px;
        min-width: 180px;
        padding-inline: 22px;
    }

    .compliance--preview .section-desc {
        font-size: 0.92rem;
        padding-inline: 4px;
    }

    .compliance .badge__logo {
        height: 30px;
        max-width: 84px;
    }

    .hero__cta {
        flex-direction: column;
        align-items: center;
        width: min(calc(100% - 32px), 320px);
        bottom: 32px;
    }

    .hero__cta--inline {
        width: auto;
        max-width: min(calc(100% - 32px), 320px);
        bottom: auto;
    }

    .hero__cta .btn {
        width: auto;
        min-width: 160px;
    }

    .hero__cta--inline .btn {
        width: auto;
    }

    .detail__film-play-label {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    .detail__film-play {
        padding: 10px;
        gap: 0;
    }

    .stats__inner {
        gap: 20px;
    }

    .stats__grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .stat {
        min-height: 140px;
        padding: 28px 20px;
    }

    .stats__footnote {
        align-self: stretch;
        width: 100%;
        text-align: left;
    }

    .services__grid {
        grid-template-columns: 1fr;
    }

    .products-preview__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .product-filters {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        margin-left: -16px;
        margin-right: -16px;
        padding: 0 16px 4px;
        gap: 8px;
    }

    .product-filters::-webkit-scrollbar {
        display: none;
    }

    .product-filters__btn {
        flex: 0 0 auto;
        white-space: nowrap;
        font-size: 0.72rem;
        padding: 0.5rem 0.85rem;
    }

    .product-rail {
        margin-bottom: 36px;
    }

    .product-rail__scroller {
        --rail-gutter: 20px;
        scroll-padding-inline: var(--rail-gutter);
    }

    .product-rail__track {
        gap: 12px;
        padding: 2px var(--rail-gutter) 12px;
    }

    .product-rail .product-tile {
        flex: 0 0 min(66vw, 255px);
        max-width: none;
    }

    .product-rail .product-tile__body {
        padding: 14px 14px 16px;
    }

    .product-rail .product-tile__title {
        font-size: 1rem;
        margin-bottom: 6px;
    }

    .product-rail .product-tile__desc--short {
        -webkit-line-clamp: 2;
        margin-bottom: 10px;
        font-size: 0.85rem;
    }

    .product-rail .product-tile__cats {
        margin-bottom: 6px;
    }

    .product-rail .product-tile__link {
        font-size: 0.85rem;
    }

    .tech-rail__scroller {
        max-width: none;
        margin: 0;
        padding: 0;
        overflow-x: auto;
        overflow-y: hidden;
        overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: 20px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .tech-rail__scroller::-webkit-scrollbar {
        display: none;
    }

    .tech-rail__track.tech__grid {
        display: flex;
        gap: 12px;
        width: max-content;
        min-width: 100%;
        box-sizing: border-box;
        padding: 2px 20px 10px;
    }

    .tech-rail .tech-card {
        flex: 0 0 min(66vw, 240px);
        scroll-snap-align: start;
        padding: 18px 16px;
    }

    .product-tile__desc--full {
        display: none;
    }

    .product-tile__desc--short {
        display: block;
    }

    .product-tile:not(:has(.product-tile__desc--short)) .product-tile__desc--full {
        display: block;
    }

    .about-culture__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about__intro .section-tag,
    .about__intro .section-title,
    .about__intro .section-desc {
        text-align: center;
    }

    .about__intro .section-desc {
        margin-inline: auto;
    }

    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .services__grid {
        grid-template-columns: 1fr;
    }

    .solutions__grid {
        grid-template-columns: 1fr;
    }

    .about__stats {
        grid-template-columns: 1fr;
    }

    .about-stat {
        border-right: none;
        border-bottom: 1px solid var(--clr-border);
        padding-inline: 8px;
    }

    .about-stat:last-child {
        border-bottom: none;
    }

    .about-stat:nth-child(-n+2) {
        border-bottom: 1px solid var(--clr-border);
    }

    .stats__suffix {
        font-size: 1.25rem;
    }

    /* Mobile: certification strip — 3×2, no cards, logos only */
    .compliance__badges {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px 10px;
        align-items: center;
        justify-items: center;
        margin-top: 20px;
    }

    .compliance .badge,
    .compliance .badge--logo {
        min-width: 0;
        min-height: 0;
        width: 100%;
        padding: 6px 4px;
        gap: 0;
        border: none;
        background: transparent;
        border-radius: 0;
    }

    .compliance .badge__logo {
        height: 34px;
        max-width: 88px;
        opacity: 0.92;
    }

    .compliance .badge__region,
    .compliance .badge__name {
        display: none;
    }

    .contact__form {
        grid-template-columns: 1fr;
        padding: 28px;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .footer {
        padding: 40px 0 24px;
        /* Unified mobile footer type scale (Apple-like, compact) */
        --footer-fs-title: 0.8125rem;   /* 13px */
        --footer-fs-body: 0.8125rem;    /* 13px */
        --footer-fs-meta: 0.75rem;      /* 12px */
        --footer-fs-legal: 0.6875rem;   /* 11px */
        --footer-lh: 1.45;
    }

    .footer__brand {
        padding-bottom: 20px;
        margin-bottom: 0;
        border-bottom: 1px solid var(--clr-border);
    }

    .footer .logo--footer .logo__img {
        height: 24px;
        max-width: min(132px, 48vw);
    }

    .footer__tagline,
    .footer__brand p {
        max-width: none;
        margin: 10px 0 0;
        font-size: var(--footer-fs-meta);
        line-height: var(--footer-lh);
        font-weight: var(--font-weight-regular);
        color: var(--clr-text-muted);
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* Full-bleed directory rows — use the phone width like Apple.com */
    .footer__details {
        border-bottom: 1px solid var(--clr-border);
    }

    .footer__summary {
        width: 100%;
        min-height: 44px;
        padding: 12px 0;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    .footer__summary .footer__title,
    .footer__contact .footer__title {
        margin: 0;
        font-size: var(--footer-fs-title);
        font-weight: var(--font-weight-semibold);
        line-height: 1.3;
        letter-spacing: 0.01em;
        color: var(--clr-text-primary);
    }

    .footer__chevron {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 22px;
        height: 22px;
        font-size: 0.65rem;
        color: var(--clr-text-muted);
    }

    .footer__panel {
        padding: 0 0 12px;
    }

    .footer__panel ul,
    .footer__col ul {
        gap: 8px;
    }

    .footer__panel a,
    .footer__col a:not(.contact-channels__social-link),
    .footer__col span,
    .footer__col li {
        display: block;
        padding: 2px 0;
        font-size: var(--footer-fs-body);
        font-weight: var(--font-weight-regular);
        line-height: var(--footer-lh);
        letter-spacing: 0;
        color: var(--clr-text-secondary);
    }

    .footer__contact {
        padding-top: 18px;
    }

    .footer__contact .footer__title {
        margin-bottom: 10px;
    }

    .footer .contact-channels--footer .contact-channels__list {
        gap: 8px;
    }

    .footer .contact-channels--footer .contact-channels__item {
        gap: 10px;
        align-items: center;
    }

    .footer .contact-channels--footer .contact-channels__icon {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }

    .footer .contact-channels--footer .contact-channels__text {
        font-size: var(--footer-fs-body);
        line-height: var(--footer-lh);
        color: var(--clr-text-secondary);
    }

    .footer .contact-channels--footer .contact-channels__social {
        margin-top: 12px;
        gap: 10px;
        align-items: center;
    }

    .footer .contact-channels--footer .contact-channels__social-link,
    .footer__col a.contact-channels__social-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 36px;
        width: 36px;
        height: 36px;
        padding: 0;
        margin: 0;
        gap: 0;
        box-sizing: border-box;
        border-radius: 50%;
        line-height: 1;
        font-size: 0;
        transform: none;
    }

    .footer .contact-channels--footer .contact-channels__social-link i,
    .footer__col a.contact-channels__social-link i {
        display: block;
        width: 1em;
        height: 1em;
        margin: 0;
        font-size: 0.95rem;
        line-height: 1;
        text-align: center;
    }

    .footer .contact-channels--footer .contact-channels__social-link:hover,
    .footer .contact-channels--footer .contact-channels__social-link:focus-visible {
        transform: none;
    }

    .footer__bottom {
        margin-top: 20px;
        padding-top: 16px;
    }

    .footer__bottom-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .footer__bottom-inner p,
    .footer__action,
    .footer__privacy-btn {
        font-size: var(--footer-fs-legal);
        line-height: 1.4;
        font-weight: var(--font-weight-regular);
        color: var(--clr-text-muted);
    }

    .footer__nav-actions {
        width: 100%;
        justify-content: space-between;
        gap: 12px;
    }

    .footer__action {
        padding: 0;
    }

    .hero__cta {
        flex-direction: column;
        align-items: center;
    }

    .hero__cta .btn {
        width: auto;
    }

    .hero__cta--inline .btn {
        width: auto;
    }

    .news-card {
        flex-direction: column;
        gap: 16px;
    }

    .news-card__date {
        flex-direction: row;
        gap: 8px;
        align-items: baseline;
    }
}

/* --- Particle Canvas --- */
.particle {
    position: absolute;
    border-radius: 50%;
    background: var(--clr-accent);
    pointer-events: none;
    animation: float linear infinite;
}

@keyframes float {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-10vh) scale(1);
        opacity: 0;
    }
}
