/* ==========================================================================
   WireShield – site styles
   ========================================================================== */

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

:root {
    --navy-950: #040f26;
    --navy-900: #061633;
    --navy-800: #0a1f45;
    --navy-700: #12306a;
    --ink: #0b1b3a;
    --text: #3a4a68;
    --muted: #6d7b98;
    --line: #e3e9f3;
    --bg: #ffffff;
    --bg-soft: #f4f8fc;
    --bg-lav: #f0f0fd;

    --teal: #1fe0c4;
    --teal-500: #12c3aa;
    --teal-700: #0b8d79;
    --green-accent: #0a9a80;
    --violet: #7b61ff;
    --red: #ff5a4f;
    --red-soft: #ffe2de;
    --red-ink: #c0301f;
    --teal-soft: #d6f5ee;
    --teal-ink: #0b7a66;

    --radius: 14px;
    --radius-lg: 20px;
    --shadow-sm: 0 1px 2px rgba(11, 27, 58, .06), 0 4px 14px rgba(11, 27, 58, .05);
    --shadow-lg: 0 24px 60px rgba(11, 27, 58, .16), 0 6px 18px rgba(11, 27, 58, .08);

    --font: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --header-h: 84px;
    --gutter: clamp(20px, 4.2vw, 60px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
    margin: 0; font-family: var(--font); color: var(--text); background: var(--bg);
    font-size: 1rem; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.12; letter-spacing: -.02em; font-weight: 700; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--teal-500); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.ic { width: 1.25em; height: 1.25em; flex: none; }
.wrap { width: 100%; max-width: 1320px; margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }

/* ---------- Typography helpers ---------- */
.eyebrow { font-size: .74rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.eyebrow-teal { color: var(--teal); }
.accent-teal { color: var(--teal); }
.accent-green { background: linear-gradient(90deg, #08846f, #14b99c); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(1.02rem, 1.25vw, 1.2rem); line-height: 1.55; color: var(--text); }
.fine { font-size: .84rem; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: .95rem; line-height: 1;
    padding: 14px 22px; border-radius: 10px; border: 1.5px solid transparent;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease;
    white-space: nowrap;
}
.btn .ic { width: 1.1em; height: 1.1em; transition: transform .18s ease; }
.btn:hover .ic { transform: translateX(3px); }
.btn .ic-lead, .btn:hover .ic-lead { transform: none; width: 1.2em; height: 1.2em; }
.btn-lg { padding: 17px 28px; font-size: 1rem; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #12295a; box-shadow: 0 8px 22px rgba(11, 27, 58, .28); transform: translateY(-1px); }
.btn-teal { background: var(--teal); color: #032a2a; }
.btn-teal:hover { background: #4cf0d8; box-shadow: 0 10px 28px rgba(31, 224, 196, .35); transform: translateY(-1px); }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.link-teal, .link-dark { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .95rem; }
.link-teal { color: var(--teal); }
.link-dark { color: var(--ink); margin-top: 28px; }
.link-teal .ic, .link-dark .ic { width: 1em; height: 1em; transition: transform .18s; }
.link-teal:hover .ic, .link-dark:hover .ic { transform: translateX(4px); }

/* ==========================================================================
   Header / navigation
   ========================================================================== */
.site-header {
    position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94);
    -webkit-backdrop-filter: saturate(160%) blur(12px); backdrop-filter: saturate(160%) blur(12px);
    border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(11, 27, 58, .06); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { flex: none; }
.brand img { height: 46px; width: auto; }
.primary-nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 40px); flex: 1; justify-content: space-between; margin-left: clamp(16px, 3vw, 56px); }
.nav-list { display: flex; align-items: center; gap: clamp(4px, 1.2vw, 20px); }
.nav-item { position: relative; }
.nav-link {
    white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; padding: 10px 10px; font-size: .86rem; font-weight: 500; color: var(--ink);
    border-radius: 8px; transition: color .15s, background-color .15s;
}
.nav-link:hover, .nav-item.is-active > .nav-link { color: var(--teal-700); }
.nav-link .caret { width: .85em; height: .85em; transition: transform .2s; opacity: .7; }
.nav-item.has-sub:hover .caret, .nav-item.has-sub.open .caret, .nav-item.has-sub:focus-within .caret { transform: rotate(180deg); }
.sub-list {
    position: absolute; left: -12px; top: calc(100% + 6px); min-width: 250px; padding: 10px; background: #fff;
    border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s;
}
.nav-item.has-sub::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 10px; }
.nav-item.has-sub:hover .sub-list, .nav-item.has-sub:focus-within .sub-list, .nav-item.has-sub.open .sub-list { opacity: 1; visibility: visible; transform: none; }
.sub-list a { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; font-size: .88rem; color: var(--ink); }
.sub-list a:hover { background: var(--bg-soft); }
.sub-list strong { display: block; font-weight: 600; }
.sub-list small { display: block; color: var(--muted); font-size: .78rem; line-height: 1.35; margin-top: 2px; }
.sub-ic { width: 34px; height: 34px; border-radius: 9px; background: var(--teal-soft); color: var(--teal-700); display: grid; place-items: center; flex: none; }
.sub-ic .ic { width: 18px; height: 18px; }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-actions .btn { padding: 12px 18px; font-size: .86rem; }
.lang-switch { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 600; color: var(--muted); padding: 8px 10px; border-radius: 8px; }
.lang-switch .ic { width: 1.1em; height: 1.1em; margin-right: 2px; }
.lang-switch .on { color: var(--ink); }
.lang-switch .sep { opacity: .4; }
.lang-switch:hover { background: var(--bg-soft); }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 10px; place-items: center; color: var(--ink); }
.nav-toggle .ic { width: 24px; height: 24px; }
.nav-toggle .ic-close { display: none; }
.nav-toggle[aria-expanded="true"] .ic-open { display: none; }
.nav-toggle[aria-expanded="true"] .ic-close { display: block; }

@media (max-width: 1100px) {
    /* backdrop-filter would make the fixed menu panel relative to the header instead of the viewport */
    .site-header { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
    .brand img { height: 40px; }
    .nav-toggle { display: grid; }
    .primary-nav {
        position: fixed; inset: var(--header-h) 0 0 0; margin: 0; flex-direction: column; align-items: stretch; justify-content: flex-start;
        gap: 18px; padding: 12px var(--gutter) 32px; background: #fff; overflow-y: auto; transform: translateX(100%); visibility: hidden;
        transition: transform .26s ease, visibility .26s;
    }
    .primary-nav.open { transform: none; visibility: visible; }
    .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
    .nav-item { border-bottom: 1px solid var(--line); }
    .nav-link { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 1.05rem; }
    .nav-link .caret { display: none; }
    .sub-list, .nav-item.has-sub:hover .sub-list { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 12px 8px; min-width: 0; background: none; }
    .nav-item.has-sub::after { display: none; }
    .sub-list a { padding: 8px 4px; }
    .sub-list small, .sub-ic { display: none; }
    .nav-actions { flex-direction: column; align-items: stretch; }
    .nav-actions .btn { justify-content: center; padding: 16px; }
    .lang-switch { justify-content: center; font-size: .95rem; }
    body.nav-open { overflow: hidden; }
}

/* ==========================================================================
   Home hero
   ========================================================================== */
.hero { position: relative; color: #fff; overflow: hidden; background: radial-gradient(70% 90% at 62% 35%, #0b2a5e 0%, #061a40 45%, #030f2a 100%); }
.hero-stage { position: relative; width: 100%; max-width: 1760px; margin-inline: auto; aspect-ratio: 2.17 / 1; container-type: inline-size; }
/* The artwork sits on the right and fades into the navy background on its left/top edges */
.hero-media { position: absolute; right: 0; bottom: 0; width: 68%; aspect-ratio: 2 / 1; container-type: inline-size; }
.hero-art { position: absolute; inset: 0; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24%); mask-image: linear-gradient(90deg, transparent 0, #000 24%); }
.hero-art img { width: 100%; height: 100%; object-fit: cover; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 20%); mask-image: linear-gradient(180deg, transparent 0, #000 20%); }
/* Wide screens: the hero fills the viewport and the artwork stays glued to the right edge */
@media (min-width: 1761px) {
    .hero-stage { max-width: none; aspect-ratio: auto; height: 811px; }
    .hero-media { width: auto; height: 86%; }
}
.hero-copy { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hero-copy-inner.wrap { max-width: none; margin: 0; padding-left: clamp(20px, 4.4cqw, 84px); }
.hero-copy-inner { height: 100%; display: flex; flex-direction: column; justify-content: space-between; padding-block: clamp(34px, 6.4vw, 120px) clamp(20px, 3.6vw, 62px); }
.hero-top { max-width: 50%; pointer-events: auto; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 4.2cqw, 4.8rem); line-height: 1.04; letter-spacing: -.03em; margin-bottom: clamp(14px, 1.6vw, 24px); }
.hero h1 span { display: block; }
.hero .lead { color: rgba(255, 255, 255, .9); max-width: 30ch; font-size: clamp(1rem, 1.55cqw, 1.6rem); margin-bottom: clamp(20px, 2.4vw, 36px); }
.hero-tags { display: flex; flex-wrap: wrap; pointer-events: auto; font-size: clamp(.78rem, 1.05cqw, 1.05rem); color: rgba(255, 255, 255, .88); font-weight: 500; }
.hero-tags li { padding: 2px clamp(14px, 2vw, 32px); border-left: 1px solid rgba(255, 255, 255, .3); }
.hero-tags li:first-child { padding-left: 0; border-left: 0; }

@media (max-width: 1100px) {
    .hero-stage { aspect-ratio: auto; display: flex; flex-direction: column; }
    .hero-media { position: relative; width: 100%; }
    .hero-art { -webkit-mask-image: none; mask-image: none; }
    .hero-copy-inner.wrap { padding-left: var(--gutter); }
    .hero-copy { position: static; order: -1; pointer-events: auto; }
    .hero-copy-inner { padding-block: 40px 8px; gap: 28px; }
    .hero-top { max-width: none; }
    .hero h1 { font-size: clamp(2.3rem, 10vw, 3.4rem); }
    .hero .lead { max-width: 36ch; }
    .hero-tags { margin-top: 4px; }
}

/* ==========================================================================
   Sections (shared)
   ========================================================================== */
.section { padding-block: clamp(64px, 8vw, 120px); position: relative; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: linear-gradient(180deg, #051331 0%, #071a3e 100%); color: #cdd8ee; }
.section-head { max-width: 780px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head h2 { font-size: clamp(2rem, 3.9vw, 3.4rem); letter-spacing: -.03em; margin-bottom: 18px; }
.section-head .lead { max-width: 56ch; }
.section-head-light h2 { color: #fff; }
.section-head-light .lead { color: #c3d0ea; }

/* Remote section */
.section-remote { background: radial-gradient(900px 400px at 8% 55%, rgba(31, 224, 196, .08), transparent 70%), radial-gradient(900px 420px at 96% 40%, rgba(120, 140, 255, .08), transparent 70%), linear-gradient(180deg, #fff, #f6f9fd); overflow: hidden; }
.section-remote .section-head { margin-bottom: clamp(8px, 2vw, 24px); }
.feature-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 48px); margin-top: clamp(24px, 3vw, 44px); }
.feature-row li { display: flex; gap: 18px; align-items: flex-start; }
.feature-row h3, .mini-features h3 { font-size: 1.02rem; letter-spacing: -.01em; margin-bottom: 6px; }
.feature-row p, .mini-features p { font-size: .92rem; color: var(--text); line-height: 1.5; }
.round-ic { width: 58px; height: 58px; border-radius: 50%; background: radial-gradient(circle at 30% 25%, #e8fbf6, #c9f1e8); color: var(--teal-700); display: grid; place-items: center; flex: none; box-shadow: 0 0 0 6px rgba(31, 224, 196, .1); }
.round-ic .ic { width: 26px; height: 26px; }
@media (max-width: 860px) { .feature-row { grid-template-columns: 1fr; } }

/* --- Animated traffic scene --- */
.scene { position: relative; max-width: 1180px; margin: 0 auto; aspect-ratio: var(--ar, 2.94); container-type: inline-size; user-select: none; }
.scene-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.scene > span { position: absolute; transform: translate(-50%, -50%); white-space: nowrap; line-height: 1.15; pointer-events: none; }
.scene-label { font-weight: 700; color: var(--ink); font-size: max(13px, 1.9cqw); letter-spacing: -.01em; }
.scene-label.lbl-cloud { text-align: center; color: #0a1f45; display: flex; flex-direction: column; font-size: max(15px, 2.7cqw); }
.scene-label.lbl-cloud small { font-weight: 600; font-size: .78em; color: #1c3768; }
.scene-pill { font-weight: 600; font-size: max(11.5px, 1.6cqw); padding: .5em 1.15em; border-radius: 999px; }
.scene-pill.pill-red, .scene-pill.pill-drop { background: var(--red-soft); color: var(--red-ink); box-shadow: 0 6px 18px rgba(255, 90, 79, .18); }
.scene-pill.pill-teal { background: var(--teal-soft); color: var(--teal-ink); box-shadow: 0 6px 18px rgba(31, 224, 196, .22); }
.scene[data-orient="v"] { max-width: 420px; }
.scene[data-orient="v"] .scene-label { font-size: max(14px, 4.4cqw); }
.scene[data-orient="v"] .scene-label.lbl-cloud { font-size: max(16px, 5.6cqw); }
.scene[data-orient="v"] .scene-pill { font-size: max(12px, 3.5cqw); }

/* Two deployments */
.dual-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2.4vw, 32px); align-items: stretch; margin-top: clamp(40px, 6vw, 90px); }
.dual-card {
    position: relative; border-radius: var(--radius-lg); overflow: visible;
    background: linear-gradient(135deg, rgba(20, 52, 112, .55), rgba(7, 22, 54, .85)); border: 1px solid rgba(120, 170, 255, .22);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 24px 60px rgba(0, 0, 0, .3);
}
.dual-remote { display: grid; grid-template-columns: .85fr 1.15fr; overflow: hidden; min-height: 280px; }
.dual-remote img { width: 100%; height: 100%; object-fit: cover; object-position: 30% center; mask-image: linear-gradient(90deg, #000 70%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 70%, transparent); }
.dual-body { padding: clamp(24px, 2.8vw, 40px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px; }
.dual-body h3 { color: #fff; font-size: clamp(1.25rem, 1.8vw, 1.6rem); }
.dual-body p { color: #c3d0ea; font-size: .95rem; }
.dual-body .link-teal { margin-top: 6px; }
.dual-onprem { display: flex; flex-direction: column; justify-content: flex-end; padding-top: clamp(84px, 8.4vw, 124px); }
.dual-onprem img { position: absolute; right: 4%; top: -9%; width: 92%; max-width: 680px; filter: drop-shadow(0 28px 36px rgba(0, 0, 0, .55)); }
.dual-onprem .dual-body { align-items: flex-end; text-align: right; align-self: flex-end; max-width: 520px; position: relative; }
@media (max-width: 900px) {
    .dual-grid { grid-template-columns: 1fr; gap: 28px; margin-top: 40px; }
    .dual-remote { grid-template-columns: 1fr; }
    .dual-remote img { height: 200px; mask-image: linear-gradient(180deg, #000 65%, transparent); -webkit-mask-image: linear-gradient(180deg, #000 65%, transparent); }
    .dual-onprem { padding-top: 120px; margin-top: 30px; }
    .dual-onprem img { width: 92%; right: 4%; top: -28px; }
    .dual-onprem .dual-body { align-items: flex-start; text-align: left; max-width: none; }
}

/* Platform */
.section-platform { background: linear-gradient(180deg, #fff, #f7fafd); }
.platform-grid { display: grid; grid-template-columns: minmax(300px, 5fr) 7fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.platform-copy h2 { font-size: clamp(2rem, 3.5vw, 3.1rem); letter-spacing: -.03em; margin-bottom: 18px; }
.platform-copy .lead { margin-bottom: 28px; }
.tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; background: #eaf1fb; border-radius: 12px; margin-bottom: 30px; }
.tab { padding: 10px 16px; border-radius: 9px; font-size: .86rem; font-weight: 600; color: var(--muted); transition: background-color .18s, color .18s, box-shadow .18s; }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { background: #fff; color: #1b4fb3; box-shadow: 0 1px 3px rgba(11, 27, 58, .15), 0 0 0 1.5px #bcd3f7 inset; }
.mini-features { display: grid; gap: 22px; }
.mini-features li { display: flex; gap: 16px; align-items: flex-start; }
.mini-ic { color: var(--ink); width: 28px; height: 28px; flex: none; margin-top: 2px; }
.mini-ic .ic { width: 26px; height: 26px; }
.platform-shot { min-width: 0; }
.shot-frame {
    container-type: inline-size; border-radius: 16px; overflow: hidden; background: #fff;
    border: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
.shot-frame > img { width: 100%; height: auto; }
.shot-frame[hidden] { display: none; }
@media (max-width: 960px) { .platform-grid { grid-template-columns: 1fr; } }

/* How it works */
.section-how { background: linear-gradient(180deg, #eceefc 0%, #f5f4ff 55%, #f3f6ff 100%); overflow: hidden; }
.how-wave { position: absolute; right: -6%; top: 2%; width: min(1100px, 80vw); opacity: .9; pointer-events: none; }
.section-how .wrap { position: relative; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 56px); margin-top: clamp(24px, 4vw, 56px); counter-reset: step; }
.steps li { position: relative; padding-right: 8px; }
.steps li + li { border-left: 1px solid rgba(80, 90, 180, .16); padding-left: clamp(18px, 2.6vw, 44px); }
.step-ic { width: 44px; height: 44px; color: #6b5cf0; display: block; margin-bottom: 10px; }
.step-ic .ic { width: 40px; height: 40px; stroke-width: 1.4; }
.step-num { display: block; font-size: 2.2rem; font-weight: 700; letter-spacing: -.02em; line-height: 1; margin-bottom: 14px; background: linear-gradient(135deg, #5b7cff, #9a5cf5); -webkit-background-clip: text; background-clip: text; color: transparent; }
.steps h3 { font-size: 1.15rem; margin-bottom: 8px; }
.steps p { font-size: .94rem; max-width: 34ch; }
.section-how .steps li { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: start; }
.section-how .steps .step-ic { grid-row: 1 / 3; margin: 0; }
.section-how .steps .step-num { margin: 0 0 4px; font-size: 2rem; }
.section-how .steps h3, .section-how .steps p { grid-column: 1 / -1; }
.section-how .steps h3 { margin-top: 14px; }
@media (max-width: 860px) {
    .steps { grid-template-columns: 1fr; gap: 32px; }
    .steps li + li { border-left: 0; padding-left: 0; border-top: 1px solid rgba(80, 90, 180, .16); padding-top: 28px; }
    .how-wave { opacity: .5; width: 140vw; right: -40%; top: 0; }
}

/* CTA band */
.cta-band { position: relative; background: #050f24; color: #fff; overflow: hidden; isolation: isolate; }
.cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; opacity: .95; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-block: clamp(44px, 6vw, 84px); flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 3.2rem); letter-spacing: -.03em; margin-bottom: 12px; }
.cta-band p { color: #c3d0ea; font-size: clamp(1rem, 1.3vw, 1.2rem); }

/* Footer */
.site-footer { background: #fff; border-top: 1px solid var(--line); padding-block: clamp(36px, 4.5vw, 64px); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr) 1.2fr; gap: 32px; align-items: start; }
.footer-brand img { height: 44px; width: auto; margin-bottom: 12px; }
.footer-brand p { font-size: .88rem; color: var(--muted); }
.footer-col h2 { font-size: .86rem; font-weight: 700; color: var(--ink); letter-spacing: 0; margin-bottom: 14px; }
.footer-col li + li { margin-top: 9px; }
.footer-col a { font-size: .86rem; color: var(--muted); transition: color .15s; }
.footer-col a:hover { color: var(--teal-700); }
.footer-side { display: flex; flex-direction: column; align-items: flex-end; gap: 22px; }
.social { display: flex; gap: 20px; }
.social a { color: var(--ink); display: block; }
.social .ic { width: 22px; height: 22px; }
.social a:hover { color: var(--teal-700); }
.copy { font-size: .8rem; color: var(--muted); margin-top: auto; }
@media (max-width: 960px) {
    .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-side { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: 22px; }
}
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-side { flex-direction: column; align-items: flex-start; } }

/* ==========================================================================
   Sub pages
   ========================================================================== */
.page-hero { position: relative; background: #051331; color: #fff; overflow: hidden; isolation: isolate; }
.page-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.page-hero-inner { padding-block: clamp(56px, 8vw, 120px); display: grid; gap: 40px; align-items: center; }
.page-hero.has-media .page-hero-inner { grid-template-columns: 1.05fr 1fr; }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.4vw, 4rem); letter-spacing: -.03em; margin-bottom: 20px; }
.page-hero .lead { color: #cdd9f0; max-width: 56ch; margin-bottom: 30px; }
.page-hero .lead:last-child { margin-bottom: 0; }
.page-hero-media img { width: 118%; max-width: none; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .5)); margin-right: -18%; }
@media (max-width: 900px) { .page-hero.has-media .page-hero-inner { grid-template-columns: 1fr; } .page-hero-media img { width: 100%; margin: 0; } }

.cards { display: grid; gap: clamp(16px, 2vw, 28px); }
.cards.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cards.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cards.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 2.4vw, 32px); box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(11, 27, 58, .1); border-color: #cfe7e2; }
.card-ic { width: 50px; height: 50px; border-radius: 14px; background: linear-gradient(135deg, #e3faf5, #cdeee7); color: var(--teal-700); display: grid; place-items: center; margin-bottom: 18px; }
.card-ic .ic { width: 26px; height: 26px; }
.card h3, .card .h3 { font-size: 1.12rem; margin-bottom: 8px; }
.card p { font-size: .94rem; }
.tag { display: inline-block; vertical-align: middle; margin-left: 6px; font-size: .68rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; background: var(--bg-lav); color: #5a49d8; }
.center-cta { text-align: center; margin-top: 40px; }
@media (max-width: 1000px) { .cards.cols-4 { grid-template-columns: repeat(2, 1fr); } .cards.cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cards.cols-4, .cards.cols-3, .cards.cols-2 { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split-rev { grid-template-columns: 7fr 5fr; }
.split-rev .split-copy { order: 2; }
.split-copy h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); letter-spacing: -.03em; margin-bottom: 14px; }
.split-copy .lead { margin-bottom: 24px; }
.split-media { min-width: 0; }
.checklist { display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: .98rem; color: var(--ink); }
.checklist .ic { width: 22px; height: 22px; color: var(--teal-700); background: var(--teal-soft); border-radius: 50%; padding: 4px; margin-top: 1px; }
@media (max-width: 900px) { .split, .split-rev { grid-template-columns: 1fr; } .split-rev .split-copy { order: 0; } }

.tech-blocks { display: grid; gap: clamp(36px, 5vw, 64px); }
.tech-block { display: grid; grid-template-columns: 110px 1fr; gap: 24px; align-items: start; padding-bottom: clamp(30px, 4vw, 52px); border-bottom: 1px solid rgba(80, 90, 180, .16); }
.tech-block:last-child { border-bottom: 0; padding-bottom: 0; }
.tech-block .step-num { font-size: 3.6rem; margin: 0; }
.tech-block h2 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); margin-bottom: 12px; letter-spacing: -.02em; }
.tech-block p { max-width: 62ch; font-size: 1.04rem; }
.tech-block .step-ic { margin-bottom: 14px; }
@media (max-width: 620px) { .tech-block { grid-template-columns: 1fr; gap: 10px; } .tech-block .step-num { font-size: 2.6rem; } }

.hw-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.hw-img { filter: drop-shadow(0 28px 36px rgba(0, 0, 0, .55)); }
.spec-table { width: 100%; border-collapse: collapse; font-size: .94rem; background: rgba(255, 255, 255, .04); border: 1px solid rgba(120, 170, 255, .2); border-radius: 14px; overflow: hidden; }
.spec-table th, .spec-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid rgba(120, 170, 255, .14); }
.spec-table thead th { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: #8fa6d4; font-weight: 600; background: rgba(255, 255, 255, .04); }
.spec-table tbody th { color: var(--teal); font-weight: 600; white-space: nowrap; }
.spec-table td { color: #d4def2; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.section-dark .fine { color: #8fa6d4; margin-top: 22px; }
@media (max-width: 900px) { .hw-grid { grid-template-columns: 1fr; } }

.prose { max-width: 800px; }
.prose h2 { font-size: 1.3rem; margin: 34px 0 10px; }
.prose p { font-size: 1.02rem; }
.prose a, .contact-side a { color: var(--teal-700); text-decoration: underline; text-underline-offset: 3px; }

.notfound { text-align: center; padding-block: clamp(90px, 14vw, 180px); }
.notfound h1 { font-size: clamp(2rem, 5vw, 3.6rem); margin: 6px 0 16px; }
.notfound .lead { margin: 0 auto 30px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.form { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field label { display: block; font-size: .86rem; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
    width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1.5px solid #d3dcea; border-radius: 10px; padding: 13px 14px;
    transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--teal-500); box-shadow: 0 0 0 4px rgba(31, 224, 196, .18); }
.field.has-error input, .field.has-error textarea { border-color: #e5483b; }
.field-err { color: #c4382b; font-size: .84rem; margin-top: 6px; }
.field.check label { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; font-size: .9rem; color: var(--text); }
.field.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--teal-700); flex: none; }
.field.check a { color: var(--teal-700); text-decoration: underline; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { justify-self: start; }
.notice { display: flex; gap: 16px; padding: 20px 22px; border-radius: 14px; margin-bottom: 24px; }
.notice h2 { font-size: 1.3rem; margin-bottom: 4px; }
.notice-ok { background: #e6f9f4; border: 1px solid #b4ebdd; color: #0a5f50; }
.notice-ok h2 { color: #0a5f50; }
.notice-err { background: #fff0ee; border: 1px solid #ffc9c2; color: #8f2418; }
.notice-ic { width: 40px; height: 40px; border-radius: 50%; background: var(--teal); color: #032a2a; display: grid; place-items: center; flex: none; }
.notice-ic .ic { width: 22px; height: 22px; }
.contact-side { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 2.6vw, 34px); }
.contact-side h2 { font-size: 1.15rem; margin-bottom: 18px; }
.contact-side li { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--line); }
.contact-side li:first-child { border-top: 0; padding-top: 0; }
.contact-side li .ic { width: 22px; height: 22px; color: var(--teal-700); margin-top: 3px; }
.contact-side small { display: block; color: var(--muted); font-size: .78rem; }
.contact-side .fine { margin-top: 12px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } .form-row { grid-template-columns: 1fr; } }

/* Product family: device selector */
.family-stage { max-width: 1000px; margin: 0 auto; aspect-ratio: 3.6 / 1; border-radius: var(--radius-lg); background: radial-gradient(70% 120% at 50% 0%, #12306a 0%, #0a1f45 55%, #061633 100%); box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.family-stage::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: 8%; height: 8%; background: radial-gradient(closest-side, rgba(31, 224, 196, .28), transparent); filter: blur(6px); pointer-events: none; }
.family-panel { position: absolute; inset: 0; display: grid; place-items: center; padding: 3% 3%; animation: panelIn .35s ease; }
.family-panel[hidden] { display: none; }
.family-panel img { width: auto; height: auto; max-width: 100%; max-height: 100%; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .5)); position: relative; z-index: 1; }
@keyframes panelIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.model-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 1.4vw, 18px); max-width: 1000px; margin: clamp(18px, 2.4vw, 28px) auto 0; }
.model-card { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; text-align: left; background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow-sm); transition: border-color .18s, box-shadow .18s, transform .18s; }
.model-card:hover { transform: translateY(-2px); border-color: #b9e3da; }
.model-card[aria-selected="true"] { border-color: var(--teal-500); box-shadow: 0 0 0 3px rgba(31, 224, 196, .2), var(--shadow-sm); }
.model-name { font-size: 1.2rem; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
.model-meta { display: flex; flex-wrap: wrap; gap: 6px 8px; font-size: .84rem; }
.model-meta span { padding: 2px 10px; border-radius: 99px; background: var(--bg-soft); font-weight: 600; color: var(--ink); }
.model-meta span:last-child { background: var(--teal-soft); color: var(--teal-ink); }
.model-note { font-size: .82rem; color: var(--muted); }
@media (max-width: 860px) { .model-cards { grid-template-columns: repeat(2, 1fr); } .family-stage { aspect-ratio: 2.2 / 1; } }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
