@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  --bg: #040b14;
  --bg-soft: #071523;
  --panel: #0a1b2e;
  --panel-2: #0d2238;
  --paper: #eef4fa;
  --paper-2: #f8fafc;
  --ink: #071425;
  --white: #f8fbff;
  --muted: #a9b8c8;
  --muted-dark: #617489;
  --blue: #247cff;
  --blue-light: #66b9ff;
  --cyan: #69d2ff;
  --green: #4fce8b;
  --amber: #ffbd55;
  --red: #ff6b72;
  --line-dark: rgba(117, 178, 235, .2);
  --line-light: rgba(9, 30, 51, .12);
  --shadow: 0 28px 80px rgba(0, 0, 0, .35);
  --header-h: 94px;
  --product-h: 62px;
  --display: 'Space Grotesk', 'Inter', Arial, Helvetica, sans-serif;
  --body: 'Inter', Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + var(--product-h) + 18px); }
body { margin: 0; background: var(--bg); color: var(--white); font-family: var(--body); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
img, video, canvas { display: block; max-width: 100%; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { font-family: var(--display); letter-spacing: -.04em; }
button { color: inherit; }

.skip-link { position: fixed; left: 18px; top: 18px; z-index: 9999; padding: 12px 16px; border-radius: 10px; background: var(--blue); color: white; transform: translateY(-150%); transition: .2s; }
.skip-link:focus { transform: translateY(0); }
.site-shell { width: min(1280px, calc(100% - 56px)); margin-inline: auto; }
.section-dark { background: var(--bg); color: var(--white); }
.section-light { background: var(--paper); color: var(--ink); }
.eyebrow { color: var(--blue-light); font-size: .76rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; }
.dark-eyebrow { color: #176fd8; }
.centered-heading { text-align: center; max-width: 780px; margin: 0 auto 64px; }
.section-heading h2, .centered-heading h2 { font-size: clamp(2.8rem, 4.6vw, 5rem); line-height: .98; margin: 14px 0 22px; }
.section-heading h2 span, .centered-heading h2 span { display: block; color: var(--blue); }
.section-heading p, .centered-heading p { color: var(--muted); font-size: 1.05rem; }
.section-light .section-heading p, .section-light .centered-heading p { color: var(--muted-dark); }

.button-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 0 22px; border: 1px solid transparent; border-radius: 14px; font-weight: 800; transition: transform .25s ease, background .25s ease, border .25s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--blue); color: white; box-shadow: 0 14px 34px rgba(36, 124, 255, .26); }
.button-primary:hover { background: #126cf5; }
.button-outline { border-color: rgba(255,255,255,.18); background: rgba(6, 17, 29, .72); color: white; }
.button-dark { background: var(--ink); color: white; }
.button-white { background: white; color: var(--ink); }
.text-link { display: inline-flex; align-items: center; gap: 9px; color: var(--blue-light); font-weight: 800; }
.text-link:hover svg { transform: translateX(4px); }
.text-link svg { transition: transform .2s ease; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 120; height: var(--header-h); background: rgba(4, 11, 20, .94); border-bottom: 1px solid rgba(129, 183, 232, .14); backdrop-filter: blur(18px); }
.header-grid { height: 100%; display: grid; grid-template-columns: minmax(260px, 1fr) auto minmax(260px, 1fr); align-items: center; gap: 28px; }
.site-brand { width: 255px; height: 64px; display: flex; align-items: center; justify-self: start; }
.site-brand img { width: 100%; height: 100%; object-fit: contain; object-position: left center; }
.desktop-nav { display: flex; align-items: center; justify-content: center; gap: 48px; justify-self: center; color: #d8e1eb; font-weight: 700; }
.desktop-nav > a, .products-dropdown > button { position: relative; background: none; border: 0; cursor: pointer; padding: 16px 0; display: inline-flex; align-items: center; gap: 8px; }
.desktop-nav > a::after, .products-dropdown > button::after { content: ''; position: absolute; left: 0; right: 0; bottom: 7px; height: 2px; background: var(--blue); transform: scaleX(0); transition: transform .2s ease; }
.desktop-nav > a:hover::after, .products-dropdown > button:hover::after { transform: scaleX(1); }
.products-dropdown { position: relative; }
.products-menu { position: absolute; top: calc(100% + 5px); left: 50%; width: 230px; transform: translate(-50%, -7px); display: grid; padding: 10px; border: 1px solid var(--line-dark); border-radius: 16px; background: rgba(7, 20, 34, .98); box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: .2s ease; }
.products-menu.is-open, .products-dropdown:hover .products-menu { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.products-menu a { padding: 12px 13px; border-radius: 10px; color: #c6d3df; }
.products-menu a:hover { background: rgba(36,124,255,.12); color: white; }
.header-cta { justify-self: end; min-height: 54px; padding: 0 23px; border-radius: 15px; background: var(--blue); display: inline-flex; align-items: center; gap: 12px; font-weight: 800; box-shadow: 0 14px 34px rgba(36, 124, 255, .24); }
.mobile-menu-button, .product-menu-button { display: none; border: 0; background: transparent; cursor: pointer; }
.mobile-drawer, .product-mobile-links { display: none; }

/* Product sub navigation */
.product-subnav { position: sticky; top: var(--header-h); z-index: 105; min-height: var(--product-h); background: rgba(8, 25, 42, .96); border-bottom: 1px solid var(--line-dark); backdrop-filter: blur(16px); }
.product-subnav-inner { min-height: var(--product-h); display: grid; grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr); align-items: center; gap: 24px; }
.product-name { justify-self: start; font-family: var(--display); font-size: 1.05rem; font-weight: 700; }
.product-links { justify-self: center; display: flex; align-items: center; gap: 30px; color: #bfd0e1; font-size: .92rem; }
.product-links a:hover { color: white; }
.product-subnav-cta { justify-self: end; display: inline-flex; align-items: center; gap: 8px; color: var(--blue-light); font-size: .9rem; font-weight: 800; }

/* Universal footer */
.site-footer { background: #020812; border-top: 1px solid rgba(110, 176, 235, .18); padding: 76px 0 24px; }
.footer-main { display: grid; grid-template-columns: minmax(330px, 1.45fr) repeat(3, minmax(150px, .75fr)); gap: 72px; align-items: start; }
.footer-intro { max-width: 390px; display: flex; flex-direction: column; align-items: flex-start; }
.footer-logo { width: 270px; height: 68px; display: block; }
.footer-logo img { width: 100%; height: 100%; object-fit: contain; object-position: left center; }
.footer-intro p { color: var(--muted); margin: 22px 0 18px; max-width: 330px; }
.footer-intro a, .footer-intro span { color: #9fcaff; margin-top: 5px; }
.footer-column { display: grid; gap: 11px; }
.footer-column h3 { margin-bottom: 8px; font-size: 1rem; letter-spacing: -.01em; }
.footer-column a { color: #a9bbcc; }
.footer-column a:hover { color: white; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 28px; margin-top: 64px; border-top: 1px solid rgba(119, 178, 229, .14); color: #91a6ba; }

/* Generic hero */
.ambient-grid { position: absolute; inset: 0; opacity: .42; pointer-events: none; background-image: linear-gradient(rgba(102,185,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(102,185,255,.08) 1px, transparent 1px); background-size: 88px 88px; mask-image: linear-gradient(to bottom, #000, transparent 82%); }
.home-hero, .page-hero { position: relative; overflow: hidden; }
.home-hero { padding: 72px 0 84px; }
.home-hero-layout { position: relative; display: grid; grid-template-columns: minmax(520px, .9fr) minmax(560px, 1.1fr); align-items: center; gap: 72px; }
.home-hero-copy h1 { margin: 18px 0 26px; font-size: clamp(4.4rem, 6.2vw, 7rem); line-height: .89; letter-spacing: -.065em; }
.home-hero-copy h1 span { display: block; white-space: nowrap; }
.home-hero-copy .accent-line { color: var(--blue); margin-top: 18px; }
.home-hero-copy > p { max-width: 620px; color: #b8c6d5; font-size: 1.1rem; line-height: 1.75; }
.home-hero-media { position: relative; height: 600px; overflow: hidden; border: 1px solid rgba(106, 178, 244, .26); border-radius: 32px; background: var(--panel); box-shadow: var(--shadow); }
.home-hero-media > img { width: 100%; height: 100%; object-fit: cover; object-position: center 48%; transform: scale(1.02); }
.home-hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(2,8,14,.04), rgba(2,8,14,.16) 36%, rgba(2,8,14,.9)), linear-gradient(90deg, rgba(2,8,14,.36), transparent 58%); }
.signal-tag { position: absolute; top: 24px; left: 24px; display: flex; align-items: center; gap: 9px; padding: 10px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); background: rgba(3,13,23,.72); font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; backdrop-filter: blur(12px); }
.signal-tag span { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 14px var(--cyan); }
.intelligence-card { position: absolute; left: 24px; right: 24px; bottom: 112px; max-width: 450px; padding: 24px; border: 1px solid rgba(93, 168, 236, .29); border-radius: 21px; background: rgba(6, 22, 38, .9); backdrop-filter: blur(16px); box-shadow: 0 22px 55px rgba(0,0,0,.34); }
.intelligence-card small { color: var(--blue-light); font-weight: 800; letter-spacing: .13em; }
.intelligence-card strong { display: block; margin-top: 9px; font-family: var(--display); font-size: 1.62rem; line-height: 1.15; }
.intelligence-card p { margin: 10px 0 0; color: #b7c6d4; font-size: .9rem; }
.outcome-row { position: absolute; left: 24px; right: 24px; bottom: 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.outcome-row span { padding: 14px 10px; border: 1px solid rgba(255,255,255,.13); border-radius: 13px; background: rgba(4,16,28,.76); text-align: center; font-size: .82rem; font-weight: 750; backdrop-filter: blur(10px); }
.principle-strip { background: #06111d; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.principle-row { min-height: 74px; display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; text-align: center; color: #b7c9da; font-size: .86rem; font-weight: 700; letter-spacing: .04em; }
.principle-row span + span { border-left: 1px solid var(--line-dark); }

/* Home flow */
.flow-editorial { padding: 126px 0; }
.flow-editorial-grid { display: grid; grid-template-columns: minmax(430px, .88fr) minmax(560px, 1.12fr); gap: 96px; align-items: center; }
.flow-editorial-media { height: 760px; overflow: hidden; border-radius: 32px; box-shadow: 0 28px 70px rgba(15,35,55,.18); }
.flow-editorial-media img { width: 100%; height: 100%; object-fit: cover; }
.flow-editorial-copy h2 { font-size: clamp(3.2rem, 4.9vw, 5.5rem); line-height: .95; margin: 15px 0 24px; }
.flow-editorial-copy h2 span { display: block; color: var(--blue); }
.flow-editorial-copy > p { color: var(--muted-dark); font-size: 1.05rem; max-width: 640px; }
.flow-steps { margin-top: 38px; display: grid; gap: 12px; }
.flow-steps article { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 19px 0; border-top: 1px solid var(--line-light); }
.flow-steps svg { width: 30px; height: 30px; color: var(--blue); }
.flow-steps small { color: #176fd8; font-weight: 800; letter-spacing: .08em; }
.flow-steps strong { display: block; margin-top: 4px; font-family: var(--display); font-size: 1.18rem; }
.flow-steps p { margin: 4px 0 0; color: var(--muted-dark); }

/* Home products */
.home-products-section { padding: 130px 0; }
.editorial-product { display: grid; grid-template-columns: minmax(520px, 1.08fr) minmax(420px, .92fr); align-items: stretch; margin-top: 56px; border: 1px solid var(--line-dark); border-radius: 30px; overflow: hidden; background: linear-gradient(135deg, #081827, #050d17); }
.editorial-product-reverse { grid-template-columns: minmax(420px, .92fr) minmax(520px, 1.08fr); }
.editorial-product-reverse .editorial-product-media { order: 2; }
.editorial-product-media { min-height: 520px; }
.editorial-product-media img { width: 100%; height: 100%; object-fit: cover; }
.editorial-product-copy { position: relative; padding: 64px; display: flex; flex-direction: column; justify-content: center; }
.product-index { position: absolute; top: 28px; right: 32px; color: rgba(115,184,245,.35); font-family: var(--display); font-size: 3.8rem; font-weight: 700; }
.editorial-product-copy h3 { font-size: clamp(2.5rem, 3.6vw, 4.2rem); line-height: 1.02; margin: 14px 0 22px; }
.editorial-product-copy p { color: var(--muted); font-size: 1.03rem; max-width: 520px; }
.editorial-product-copy .text-link { margin-top: 20px; }

/* platform overview */
.platform-overview { padding: 116px 0; }
.platform-overview-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 80px; align-items: center; }
.platform-overview h2 { font-size: clamp(3rem, 4.5vw, 5rem); line-height: .98; margin: 14px 0 20px; }
.platform-overview h2 span { display: block; color: var(--blue); }
.platform-overview p { color: var(--muted-dark); margin-bottom: 28px; }
.platform-map { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 16px; }
.platform-map article { min-height: 180px; padding: 28px; border: 1px solid var(--line-light); border-radius: 24px; background: white; display: flex; flex-direction: column; justify-content: center; }
.platform-map-core { background: var(--ink) !important; color: white; border-color: transparent !important; }
.platform-map small { color: var(--blue); font-weight: 800; letter-spacing: .1em; }
.platform-map strong { margin-top: 10px; line-height: 1.5; }
.platform-map > i { font-style: normal; color: var(--blue); font-size: 1.6rem; }

/* deployment home */
.deployment-editorial { padding: 118px 0; }
.deployment-editorial-grid { display: grid; grid-template-columns: 1.04fr .96fr; gap: 82px; align-items: center; }
.deployment-editorial-media { height: 560px; border-radius: 30px; overflow: hidden; }
.deployment-editorial-media img { width: 100%; height: 100%; object-fit: cover; }
.deployment-editorial h2 { font-size: clamp(3rem, 4.4vw, 5rem); line-height: .98; margin: 14px 0 22px; }
.deployment-editorial p { color: var(--muted); max-width: 600px; }
.inline-proof { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.inline-proof span { padding: 10px 13px; border: 1px solid var(--line-dark); border-radius: 999px; color: #c5d5e5; font-size: .86rem; }
.wide-cta { background: linear-gradient(115deg, #0757c7, #164fa5 55%, #083164); color: white; }
.wide-cta-inner { min-height: 260px; display: flex; align-items: center; justify-content: space-between; gap: 56px; }
.wide-cta h2 { font-size: clamp(2.6rem, 4vw, 4.7rem); line-height: 1; max-width: 850px; margin: 12px 0 0; }

/* Generic page hero */
.page-hero { padding: 112px 0; }
.page-hero-grid { position: relative; display: grid; grid-template-columns: .92fr 1.08fr; gap: 80px; align-items: center; }
.page-hero h1 { font-size: clamp(4.2rem, 6vw, 6.8rem); line-height: .9; margin: 16px 0 24px; }
.page-hero h1 span { display: block; color: var(--blue); }
.page-hero p { max-width: 650px; color: var(--muted); font-size: 1.08rem; }
.products-hero-visual { position: relative; min-height: 520px; }
.product-core { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%); width: 250px; height: 250px; border-radius: 38px; border: 1px solid rgba(102,185,255,.35); background: linear-gradient(145deg, #102c4b, #071828); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; box-shadow: 0 0 60px rgba(36,124,255,.14); }
.product-core svg { color: var(--blue-light); width: 44px; height: 44px; margin-bottom: 14px; }
.product-core strong { font-family: var(--display); font-size: 1.45rem; }
.product-orbit { position: absolute; width: 116px; height: 116px; display: grid; place-items: center; border-radius: 28px; border: 1px solid var(--line-dark); background: #0a1b2e; color: var(--blue-light); }
.product-orbit svg { width: 42px; height: 42px; }
.product-orbit-one { left: 4%; top: 16%; }
.product-orbit-two { right: 4%; top: 23%; }
.product-orbit-three { left: 18%; bottom: 4%; }
.product-catalogue { padding: 126px 0; }
.catalogue-row { display: grid; grid-template-columns: 1.08fr .92fr; gap: 82px; align-items: center; padding: 80px 0; border-bottom: 1px solid var(--line-light); }
.catalogue-row-reverse { grid-template-columns: .92fr 1.08fr; }
.catalogue-row-reverse .catalogue-media { order: 2; }
.catalogue-media { height: 540px; border-radius: 30px; overflow: hidden; box-shadow: 0 24px 60px rgba(16,35,55,.17); }
.catalogue-media img { width: 100%; height: 100%; object-fit: cover; }
.catalogue-copy h2 { font-size: clamp(2.7rem, 4vw, 4.8rem); line-height: 1; margin: 14px 0 22px; }
.catalogue-copy > p { color: var(--muted-dark); }
.catalogue-points { display: flex; flex-wrap: wrap; gap: 9px; margin: 25px 0 30px; }
.catalogue-points span { padding: 9px 12px; background: white; border: 1px solid var(--line-light); border-radius: 999px; font-size: .84rem; font-weight: 700; }
.product-principles { padding: 100px 0; }
.product-principles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-principles article { padding: 36px; border-top: 1px solid var(--line-dark); }
.product-principles article span { color: var(--blue-light); font-weight: 800; }
.product-principles h3 { font-size: 1.55rem; margin: 18px 0 10px; }
.product-principles p { color: var(--muted); }

/* Gate hero */
.gate-hero { position: relative; min-height: 760px; overflow: hidden; background: #040b14; }
.gate-hero-grid { position: absolute; inset: 0; opacity: .3; background-image: linear-gradient(rgba(90,169,239,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(90,169,239,.08) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(to bottom, #000 0%, transparent 90%); }
.gate-hero-layout { position: relative; min-height: 760px; display: grid; grid-template-columns: minmax(420px, .78fr) minmax(670px, 1.22fr); gap: 54px; align-items: center; padding-block: 48px 58px; }
.gate-hero-copy h1 { font-size: clamp(4.3rem, 5.4vw, 6.5rem); line-height: .9; margin: 17px 0 25px; }
.gate-hero-copy h1 span { display: block; color: var(--blue); margin-top: 16px; }
.gate-hero-copy > p { color: #b6c6d5; font-size: 1.08rem; max-width: 560px; }
.gate-trust-row { margin-top: 30px; display: grid; grid-template-columns: 1fr; gap: 10px; color: #aabbd0; font-size: .88rem; }
.gate-trust-row span { display: flex; align-items: center; gap: 9px; }
.gate-trust-row svg { width: 16px; color: var(--blue-light); }
.gate-live-card { position: relative; height: 650px; min-width: 0; overflow: hidden; border-radius: 31px; border: 1px solid rgba(101,178,246,.28); background: #06121e; box-shadow: var(--shadow); }
.gate-canvas-wrap { position: absolute; inset: 0; }
.gate-stage-badge { position: absolute; left: 22px; top: 22px; display: flex; align-items: center; gap: 9px; padding: 10px 13px; border: 1px solid rgba(255,255,255,.17); border-radius: 999px; background: rgba(4,15,26,.75); font-size: .78rem; font-weight: 800; backdrop-filter: blur(12px); }
.gate-stage-panel { position: absolute; right: 22px; top: 22px; width: 330px; padding: 21px; border: 1px solid rgba(102,185,255,.28); border-radius: 20px; background: rgba(4,15,26,.9); backdrop-filter: blur(18px); box-shadow: 0 20px 50px rgba(0,0,0,.32); }
.gate-stage-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #91a6ba; font-size: .67rem; font-weight: 800; letter-spacing: .13em; }
.gate-stage-title { display: flex; align-items: center; gap: 10px; margin-top: 15px; }
.gate-stage-title svg { color: var(--blue-light); }
.gate-stage-title h2 { margin: 0; font-size: 1.35rem; letter-spacing: -.025em; }
.gate-stage-panel > p { margin: 10px 0 0; color: #b7c6d5; font-size: .88rem; }
.gate-plate-readout { margin-top: 15px; padding: 12px 13px; border-radius: 13px; background: rgba(18,43,64,.8); display: grid; grid-template-columns: 1fr auto; gap: 2px 14px; }
.gate-plate-readout small { color: #89a5bd; font-size: .65rem; letter-spacing: .13em; }
.gate-plate-readout strong { grid-column: 1 / -1; font-family: var(--display); letter-spacing: .06em; }
.gate-plate-readout span { grid-column: 1 / -1; color: var(--green); font-size: .75rem; }
.gate-stage-progress { display: grid; grid-template-columns: repeat(7,1fr); gap: 6px; margin-top: 17px; }
.gate-stage-progress i { height: 5px; border-radius: 999px; background: rgba(255,255,255,.13); }
.gate-stage-progress i.is-active { background: var(--blue); }
.gate-stage-list { position: absolute; left: 22px; right: 22px; bottom: 20px; display: grid; grid-template-columns: repeat(7,1fr); gap: 7px; }
.gate-stage-list span { min-height: 46px; display: grid; place-items: center; padding: 7px 8px; border: 1px solid rgba(255,255,255,.12); border-radius: 10px; background: rgba(4,15,26,.75); color: #8399ad; text-align: center; font-size: .66rem; font-weight: 700; backdrop-filter: blur(10px); }
.gate-stage-list span.is-active { color: white; border-color: var(--blue); background: rgba(36,124,255,.24); }
.gate-stage-list span.is-done { color: #a8c8e4; }

/* Gate outcomes/process/features */
.gate-outcomes { padding: 112px 0; }
.gate-outcomes-head { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: end; }
.gate-outcomes-head h2 { font-size: clamp(3rem, 4.4vw, 5rem); line-height: .98; margin: 13px 0 0; }
.gate-outcomes-head > p { color: var(--muted-dark); font-size: 1.05rem; max-width: 680px; }
.gate-outcome-columns { margin-top: 68px; display: grid; grid-template-columns: repeat(3,1fr); gap: 34px; }
.gate-outcome-columns article { padding-top: 22px; border-top: 1px solid var(--line-light); }
.gate-outcome-columns span { color: var(--blue); font-weight: 800; }
.gate-outcome-columns h3 { font-size: 1.5rem; margin: 20px 0 10px; }
.gate-outcome-columns p { color: var(--muted-dark); }
.gate-process { padding: 120px 0; }
.gate-process-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 80px; }
.gate-process-heading { position: sticky; top: calc(var(--header-h) + var(--product-h) + 34px); align-self: start; }
.gate-process-heading h2 { font-size: clamp(3rem, 4.5vw, 5.2rem); line-height: .98; margin: 14px 0 22px; }
.gate-process-heading h2 span { display: block; color: var(--blue); }
.gate-process-heading p { color: var(--muted); }
.gate-process-track { display: grid; gap: 18px; }
.gate-process-track article { min-height: 230px; display: grid; grid-template-columns: 52px 60px 1fr; grid-template-rows: auto auto; column-gap: 20px; align-items: center; padding: 38px; border: 1px solid var(--line-dark); border-radius: 24px; background: linear-gradient(135deg, #0b1d31, #06111d); }
.gate-process-track svg { grid-row: 1 / 3; width: 36px; height: 36px; color: var(--blue-light); }
.gate-process-track article > span { color: var(--blue-light); font-weight: 800; }
.gate-process-track h3 { font-size: 2rem; margin: 0; }
.gate-process-track p { grid-column: 3; margin: 7px 0 0; color: var(--muted); }
.gate-feature { padding: 118px 0; }
.gate-feature-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 84px; align-items: center; }
.gate-feature-reverse .gate-feature-media { order: 2; }
.gate-feature-media { height: 580px; overflow: hidden; border-radius: 30px; box-shadow: 0 28px 70px rgba(0,0,0,.2); }
.gate-feature-media img { width: 100%; height: 100%; object-fit: cover; }
.gate-feature-copy h2 { font-size: clamp(3rem, 4.3vw, 5rem); line-height: .98; margin: 14px 0 22px; }
.gate-feature-copy > p { color: var(--muted); font-size: 1.04rem; }
.section-light .gate-feature-copy > p { color: var(--muted-dark); }
.gate-feature-copy ul { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.gate-feature-copy li { display: flex; align-items: center; gap: 11px; }
.gate-feature-copy li svg { width: 19px; height: 19px; color: var(--blue); }

/* Gate app */
.gate-app { padding: 124px 0; }
.gate-app-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 88px; align-items: center; }
.gate-phone-stage { min-height: 650px; position: relative; }
.phone { position: absolute; width: 280px; min-height: 570px; padding: 38px 22px 22px; border: 9px solid #17202a; border-radius: 42px; background: linear-gradient(180deg,#0d2540,#06111e); box-shadow: 0 28px 65px rgba(0,0,0,.42); }
.phone-resident { left: 8%; top: 35px; transform: rotate(-4deg); }
.phone-admin { right: 7%; top: 0; transform: rotate(4deg); }
.phone-notch { position: absolute; top: 8px; left: 50%; width: 104px; height: 24px; transform: translateX(-50%); border-radius: 999px; background: #04080d; }
.phone small { color: var(--blue-light); letter-spacing: .12em; font-weight: 800; }
.phone h3 { font-size: 1.5rem; margin: 18px 0; }
.phone-vehicle, .phone-row, .phone-log { padding: 14px; margin-top: 11px; border: 1px solid rgba(129,183,232,.16); border-radius: 13px; background: rgba(255,255,255,.035); }
.phone-vehicle { display: grid; gap: 4px; }
.phone-vehicle strong { color: var(--green); font-size: .82rem; }
.phone-row { display: flex; justify-content: space-between; color: #a9bacb; font-size: .82rem; }
.phone-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.phone-metrics span { padding: 14px; border-radius: 13px; background: rgba(36,124,255,.12); color: #aebfd0; font-size: .75rem; }
.phone-metrics strong { display: block; color: white; font-size: 1.7rem; }
.phone-log { font-size: .76rem; color: #b2c2d1; }
.phone-log i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 7px; }
.phone-log i.green { background: var(--green); }.phone-log i.amber { background: var(--amber); }.phone-log i.red { background: var(--red); }
.gate-app h2 { font-size: clamp(3rem,4.3vw,5rem); line-height: .98; margin: 14px 0 22px; }
.gate-app h2 span { display: block; color: var(--blue); }
.gate-app > .site-shell > div > p, .gate-app-layout > div:last-child > p { color: var(--muted); }
.role-columns { margin-top: 32px; display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.role-columns article { padding: 20px; border: 1px solid var(--line-dark); border-radius: 18px; background: rgba(255,255,255,.025); }
.role-columns h3 { margin-bottom: 14px; color: white; }
.role-columns span { display: block; color: #a9bacb; font-size: .82rem; margin-top: 8px; }

/* Demo */
.gate-demo-section { padding: 120px 0; }
.gate-demo-grid { margin-top: 54px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 28px; }
.gate-demo-control, .gate-demo-result { min-height: 420px; padding: 42px; border-radius: 26px; }
.gate-demo-control { background: white; border: 1px solid var(--line-light); }
.demo-label { color: #176fd8; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.gate-demo-control h3 { font-size: 2.5rem; margin: 15px 0 12px; }
.gate-demo-control p { color: var(--muted-dark); }
.gate-demo-control label { display: block; margin: 28px 0 8px; font-weight: 800; }
.gate-demo-control select { width: 100%; min-height: 52px; padding: 0 14px; border: 1px solid var(--line-light); border-radius: 12px; background: var(--paper-2); color: var(--ink); }
.demo-path { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }
.demo-path span { padding: 8px 10px; border-radius: 999px; background: #e8f1ff; color: #105caf; font-size: .78rem; font-weight: 800; }
.demo-path i { font-style: normal; color: var(--blue); }
.gate-demo-result { background: var(--ink); color: white; border: 1px solid rgba(11,46,79,.22); }
.gate-demo-result > small { color: #8da7be; font-weight: 800; letter-spacing: .12em; }
.gate-demo-result > strong { display: block; margin-top: 28px; font-family: var(--display); font-size: clamp(2.2rem,4vw,4.2rem); letter-spacing: .05em; }
.gate-demo-result h4 { font-size: 1.8rem; margin: 18px 0 8px; }
.gate-demo-result p { color: #b6c6d6; }
.gate-demo-result.tone-green h4 { color: var(--green); }.gate-demo-result.tone-amber h4 { color: var(--amber); }.gate-demo-result.tone-red h4 { color: var(--red); }
.demo-log { margin-top: 36px; display: grid; grid-template-columns: 1fr auto; gap: 12px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); }
.demo-log span { color: #8fa4b7; }

/* Deployment pricing FAQ */
.gate-deployment, .ads-deployment { padding: 118px 0; }
.gate-deployment-head, .ads-deployment-head { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; }
.gate-deployment-head h2, .ads-deployment-head h2 { font-size: clamp(3rem,4.4vw,5rem); line-height: .98; margin: 14px 0 0; }
.gate-deployment-head p, .ads-deployment-head p { color: var(--muted); }
.gate-deployment-track { margin-top: 64px; display: grid; grid-template-columns: repeat(5,1fr); gap: 15px; }
.gate-deployment-track article, .ads-deployment-steps article { padding: 26px; border-top: 1px solid var(--line-dark); }
.gate-deployment-track span, .ads-deployment-steps span { color: var(--blue-light); font-weight: 800; }
.gate-deployment-track h3, .ads-deployment-steps h3 { margin: 20px 0 10px; font-size: 1.35rem; }
.gate-deployment-track p, .ads-deployment-steps p { color: var(--muted); font-size: .9rem; }
.gate-pricing, .ads-pricing { padding: 116px 0; }
.gate-pricing-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 84px; align-items: center; }
.gate-pricing h2, .ads-pricing h2 { font-size: clamp(3rem,4.4vw,5rem); line-height: .98; margin: 14px 0 22px; }
.gate-pricing p, .ads-pricing p { color: var(--muted-dark); }
.pricing-sheet { display: grid; border-top: 1px solid var(--line-light); }
.pricing-sheet article { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line-light); }
.pricing-sheet small { color: #176fd8; font-weight: 800; letter-spacing: .09em; }
.pricing-sheet strong { font-family: var(--display); font-size: 1.15rem; }
.gate-faq { padding: 118px 0; }
.faq-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 90px; }
.faq-grid h2 { font-size: clamp(3rem,4.3vw,5rem); line-height: .98; margin: 14px 0 22px; }
.faq-grid > div:first-child > p { color: var(--muted); }
.faq-list { display: grid; }
.faq-item { border-top: 1px solid rgba(255,255,255,.13); }
.faq-item:last-child { border-bottom: 1px solid rgba(255,255,255,.13); }
.faq-item button { width: 100%; min-height: 76px; padding: 0; border: 0; background: transparent; display: flex; align-items: center; justify-content: space-between; gap: 24px; color: white; text-align: left; font-weight: 800; cursor: pointer; }
.faq-item button svg { flex: 0 0 auto; transition: transform .25s ease; }
.faq-item.is-open button svg { transform: rotate(45deg); }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .28s ease; }
.faq-answer p { overflow: hidden; color: var(--muted); margin: 0; }
.faq-item.is-open .faq-answer { grid-template-rows: 1fr; }
.faq-item.is-open .faq-answer p { padding: 0 0 26px; }

/* Ads */
.ads-hero { position: relative; min-height: 720px; overflow: hidden; }
.ads-hero-media { position: absolute; inset: 0; }
.ads-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.ads-hero-media > div { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,10,18,.98) 0%, rgba(3,10,18,.82) 42%, rgba(3,10,18,.26) 78%, rgba(3,10,18,.5)), linear-gradient(180deg, rgba(3,10,18,.25), rgba(3,10,18,.62)); }
.ads-hero-layout { position: relative; min-height: 720px; display: flex; align-items: center; }
.ads-hero-copy { max-width: 720px; }
.ads-hero h1 { font-size: clamp(4.2rem,6.4vw,7rem); line-height: .9; margin: 16px 0 25px; }
.ads-hero h1 span { display: block; color: var(--blue); }
.ads-hero p { max-width: 620px; color: #b7c6d5; font-size: 1.08rem; }
.ads-overview { padding: 112px 0; }
.ads-overview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; }
.ads-overview h2 { font-size: clamp(3rem,4.4vw,5rem); line-height: .98; margin: 14px 0 0; }
.ads-overview-grid > p { color: var(--muted-dark); }
.ads-outcomes { margin-top: 58px; display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.ads-outcomes article { padding: 32px; border: 1px solid var(--line-light); border-radius: 22px; background: white; }
.ads-outcomes svg { color: var(--blue); width: 32px; height: 32px; }
.ads-outcomes h3 { font-size: 1.5rem; margin: 22px 0 10px; }
.ads-outcomes p { color: var(--muted-dark); }
.ads-process { padding: 120px 0; }
.ads-process-grid { display: grid; grid-template-columns: .62fr 1.38fr; gap: 70px; align-items: center; }
.ads-process h2 { font-size: clamp(3rem,4.3vw,5rem); line-height: .98; margin: 14px 0 22px; }
.ads-process h2 span { display: block; color: var(--blue); }
.ads-process p { color: var(--muted); }
.ads-flow-map { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; gap: 13px; align-items: center; }
.ads-flow-map article { min-height: 230px; padding: 24px; border: 1px solid var(--line-dark); border-radius: 20px; background: linear-gradient(145deg,#0c2035,#07131f); }
.ads-flow-map article > span { color: var(--blue-light); font-weight: 800; }
.ads-flow-map svg { color: var(--blue-light); margin-top: 28px; }
.ads-flow-map h3 { margin: 14px 0 9px; }
.ads-flow-map p { font-size: .82rem; }
.ads-flow-map > i { color: var(--blue-light); font-style: normal; }
.ads-capabilities { padding: 118px 0; }
.ads-capabilities-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 88px; align-items: center; }
.display-console { min-height: 570px; padding: 28px; border-radius: 30px; background: var(--ink); color: white; box-shadow: 0 28px 70px rgba(15,35,55,.2); }
.display-console-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,.12); }
.display-console-top span { color: var(--blue-light); font-weight: 800; font-size: .75rem; letter-spacing: .1em; }
.display-console-canvas { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; }
.display-screen { min-height: 370px; padding: 24px; border-radius: 22px; background: linear-gradient(160deg,#0c5ac6,#082853 55%,#071420); display: flex; flex-direction: column; justify-content: flex-end; }
.display-screen.alternate { background: linear-gradient(160deg,#612a86,#b14b67 52%,#331c38); }
.display-screen small { letter-spacing: .12em; }
.display-screen strong { font-family: var(--display); font-size: 1.5rem; margin: 9px 0; }
.display-screen span { font-size: .78rem; color: #d5e5f3; }
.display-console-status { display: flex; gap: 20px; margin-top: 22px; color: #aebfd0; font-size: .82rem; }
.display-console-status i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 7px; }
.display-console-status .green { background: var(--green); }.display-console-status .blue { background: var(--blue); }.display-console-status .amber { background: var(--amber); }
.ads-capabilities h2 { font-size: clamp(3rem,4.3vw,5rem); line-height: .98; margin: 14px 0 22px; }
.clean-list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; }
.clean-list li { padding: 20px 0; border-top: 1px solid var(--line-light); }
.clean-list strong { display: block; margin-bottom: 4px; }
.clean-list span { color: var(--muted-dark); }
.ads-deployment-steps { margin-top: 60px; display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }

/* Platform */
.platform-pipeline { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 16px; align-items: center; }
.platform-pipeline article { min-height: 190px; padding: 26px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; border: 1px solid var(--line-dark); border-radius: 24px; background: #0a1b2e; }
.platform-pipeline-core { background: linear-gradient(145deg,#11407a,#0a2038) !important; }
.platform-pipeline svg { color: var(--blue-light); width: 37px; height: 37px; margin-bottom: 14px; }
.platform-pipeline span { font-weight: 800; }
.platform-pipeline > i { color: var(--blue-light); font-style: normal; font-size: 1.4rem; }
.platform-flow { padding: 120px 0; }
.platform-flow-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.platform-flow-grid article { padding: 30px; border-top: 1px solid var(--line-light); }
.platform-flow-grid article > span { color: var(--blue); font-weight: 800; }
.platform-flow-grid svg { color: var(--blue); margin: 26px 0 16px; }
.platform-flow-grid h3 { font-size: 1.45rem; }
.platform-flow-grid p { color: var(--muted-dark); }
.architecture { padding: 120px 0; }
.architecture-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; align-items: center; }
.architecture h2 { font-size: clamp(3rem,4.4vw,5rem); line-height: .98; margin: 14px 0 22px; }
.architecture p { color: var(--muted); }
.architecture-points { margin-top: 28px; display: grid; gap: 12px; }
.architecture-points span { display: flex; align-items: center; gap: 10px; color: #c2d2e1; }
.architecture-points svg { color: var(--blue-light); }
.architecture-diagram { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center; }
.architecture-diagram article { min-height: 330px; padding: 42px; border: 1px solid var(--line-dark); border-radius: 28px; background: linear-gradient(145deg,#0b2138,#06121f); display: flex; flex-direction: column; justify-content: center; }
.architecture-diagram small { color: var(--blue-light); font-weight: 800; letter-spacing: .1em; }
.architecture-diagram strong { margin-top: 18px; font-family: var(--display); font-size: 1.7rem; line-height: 1.55; }
.architecture-diagram > i { color: var(--blue-light); font-style: normal; font-size: 1.8rem; }
.integrations { padding: 118px 0; }
.integrations-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 84px; }
.integrations h2 { font-size: clamp(3rem,4.2vw,5rem); line-height: .98; margin: 14px 0 22px; }
.integrations p { color: var(--muted-dark); }
.integration-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.integration-list article { padding: 28px; border: 1px solid var(--line-light); border-radius: 20px; background: white; }
.integration-list svg { color: var(--blue); }
.integration-list strong { display: block; margin: 18px 0 6px; }
.integration-list span { color: var(--muted-dark); font-size: .9rem; }

/* Company */
.company-hero { padding: 100px 0; }
.company-hero-grid { display: grid; grid-template-columns: .86fr 1.14fr; gap: 88px; align-items: center; }
.company-hero h1 { font-size: clamp(4rem,6vw,6.6rem); line-height: .91; margin: 16px 0 25px; }
.company-hero p { color: var(--muted); font-size: 1.08rem; }
.company-hero-media { height: 620px; overflow: hidden; border-radius: 30px; }
.company-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.company-story { padding: 116px 0; }
.company-story-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; }
.company-story h2 { font-size: clamp(3rem,4.4vw,5rem); line-height: .98; margin: 14px 0 0; }
.company-story p { color: var(--muted-dark); font-size: 1.05rem; }
.company-values { padding: 100px 0; }
.company-values-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.company-values article { padding: 30px; border: 1px solid var(--line-dark); border-radius: 22px; background: linear-gradient(145deg,#0b1e31,#06121f); }
.company-values svg { color: var(--blue-light); }
.company-values h3 { margin: 22px 0 10px; }
.company-values p { color: var(--muted); }
.company-focus { padding: 116px 0; }
.company-focus-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; }
.company-focus h2 { font-size: clamp(3rem,4.3vw,5rem); line-height: .98; margin: 14px 0 0; }
.company-focus-list { display: grid; }
.company-focus-list article { padding: 24px 0; border-top: 1px solid var(--line-light); display: grid; grid-template-columns: 60px 1fr; }
.company-focus-list article > span { color: var(--blue); font-weight: 800; }
.company-focus-list h3 { margin: 0 0 7px; }
.company-focus-list p { grid-column: 2; color: var(--muted-dark); }

/* Contact */
.contact-page { padding: 92px 0 110px; }
.contact-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: 86px; align-items: start; }
.contact-copy h1 { font-size: clamp(3.8rem,5.6vw,6.3rem); line-height: .92; margin: 16px 0 25px; }
.contact-copy > p { color: var(--muted); font-size: 1.05rem; }
.contact-details { display: grid; gap: 6px; margin: 28px 0 34px; color: #a7cdf1; }
.contact-media { height: 420px; border-radius: 26px; overflow: hidden; }
.contact-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.contact-form { padding: 42px; border: 1px solid var(--line-dark); border-radius: 28px; background: #081827; display: grid; gap: 19px; }
.contact-form label { display: grid; gap: 8px; color: #dce6ef; font-size: .87rem; font-weight: 700; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 1px solid rgba(122,179,232,.2); border-radius: 12px; background: #050f1a; color: white; padding: 14px; outline: none; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(36,124,255,.12); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-consent { color: #8fa4b7; font-size: .78rem; }
.contact-form .button { width: max-content; border: 0; }

/* Legal */
.legal-page { padding: 116px 0; min-height: 70vh; }
.legal-copy { max-width: 850px; }
.legal-copy h1 { font-size: clamp(3.5rem,5vw,5.8rem); line-height: .95; margin: 16px 0 34px; }
.legal-copy h2 { margin-top: 42px; }
.legal-copy p { color: var(--muted-dark); }
.legal-copy a { color: #116dd8; text-decoration: underline; }

/* Responsive */
@media (max-width: 1180px) {
  .site-shell { width: min(100% - 40px, 1080px); }
  .header-grid { grid-template-columns: 230px auto 230px; gap: 20px; }
  .site-brand { width: 220px; }
  .desktop-nav { gap: 28px; }
  .home-hero-layout, .gate-hero-layout { grid-template-columns: 1fr; }
  .home-hero-copy, .gate-hero-copy { max-width: 820px; }
  .home-hero-media { height: 650px; }
  .gate-live-card { height: 680px; }
  .flow-editorial-grid, .gate-feature-grid, .gate-app-layout, .ads-capabilities-grid, .company-hero-grid, .contact-grid { gap: 54px; }
  .product-subnav-inner { grid-template-columns: 210px 1fr auto; }
  .product-links { gap: 18px; font-size: .84rem; }
  .ads-flow-map { grid-template-columns: 1fr 1fr; }
  .ads-flow-map > i { display: none; }
}

@media (max-width: 920px) {
  :root { --header-h: 80px; --product-h: 58px; }
  .header-grid { grid-template-columns: 1fr auto; }
  .site-brand { width: 210px; height: 55px; }
  .desktop-nav, .header-cta { display: none; }
  .mobile-menu-button { display: grid; place-items: center; justify-self: end; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line-dark); background: #081827; }
  .mobile-drawer { position: fixed; left: 0; right: 0; top: var(--header-h); z-index: 119; display: grid; max-height: 0; overflow: hidden; background: #05101b; transition: max-height .3s ease; }
  .mobile-drawer.is-open { max-height: 520px; border-bottom: 1px solid var(--line-dark); }
  .mobile-drawer a { padding: 15px 24px; border-top: 1px solid rgba(255,255,255,.06); }
  .mobile-drawer-cta { background: var(--blue); font-weight: 800; }
  .product-subnav-inner { grid-template-columns: 1fr auto; }
  .product-links, .product-subnav-cta { display: none; }
  .product-menu-button { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line-dark); background: #091a2d; }
  .product-mobile-links { display: grid; max-height: 0; overflow: hidden; transition: max-height .3s ease; background: #071523; }
  .product-mobile-links.is-open { max-height: 520px; border-top: 1px solid var(--line-dark); }
  .product-mobile-links a { padding: 13px 22px; border-bottom: 1px solid rgba(255,255,255,.05); color: #c0d0df; }
  .home-hero-layout, .page-hero-grid, .flow-editorial-grid, .editorial-product, .editorial-product-reverse, .platform-overview-grid, .deployment-editorial-grid, .catalogue-row, .catalogue-row-reverse, .gate-outcomes-head, .gate-process-layout, .gate-feature-grid, .gate-app-layout, .gate-demo-grid, .gate-deployment-head, .gate-pricing-grid, .faq-grid, .ads-overview-grid, .ads-process-grid, .ads-capabilities-grid, .architecture-grid, .integrations-grid, .company-hero-grid, .company-story-grid, .company-focus-grid, .contact-grid { grid-template-columns: 1fr; }
  .editorial-product-reverse .editorial-product-media, .catalogue-row-reverse .catalogue-media, .gate-feature-reverse .gate-feature-media { order: 0; }
  .home-hero { padding-top: 58px; }
  .home-hero-copy h1 span { white-space: normal; }
  .flow-editorial-media, .catalogue-media, .gate-feature-media, .company-hero-media { height: 520px; }
  .editorial-product-media { min-height: 430px; }
  .platform-map { grid-template-columns: 1fr; }
  .platform-map > i { transform: rotate(90deg); justify-self: center; }
  .gate-process-heading { position: static; }
  .gate-outcome-columns, .product-principles-grid, .ads-outcomes, .platform-flow-grid, .company-values-grid { grid-template-columns: 1fr 1fr; }
  .gate-stage-list { grid-template-columns: repeat(4,1fr); }
  .gate-live-card { height: 720px; }
  .gate-stage-panel { width: min(330px, calc(100% - 44px)); }
  .gate-phone-stage { min-height: 690px; }
  .gate-deployment-track, .ads-deployment-steps { grid-template-columns: 1fr 1fr; }
  .footer-main { grid-template-columns: 1.3fr 1fr 1fr; gap: 48px; }
  .footer-intro { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .site-shell { width: min(100% - 28px, 560px); }
  .site-brand { width: 190px; }
  .home-hero-copy h1, .page-hero h1, .gate-hero-copy h1, .ads-hero h1, .company-hero h1, .contact-copy h1 { font-size: clamp(3.25rem, 15vw, 4.8rem); }
  .home-hero-media { height: 520px; }
  .intelligence-card { bottom: 142px; }
  .outcome-row { grid-template-columns: 1fr; }
  .principle-row { grid-template-columns: 1fr 1fr; padding: 16px 0; gap: 12px; }
  .principle-row span + span { border-left: 0; }
  .flow-editorial, .home-products-section, .platform-overview, .deployment-editorial, .product-catalogue, .gate-outcomes, .gate-process, .gate-feature, .gate-app, .gate-demo-section, .gate-deployment, .gate-pricing, .gate-faq, .ads-overview, .ads-process, .ads-capabilities, .ads-deployment, .platform-flow, .architecture, .integrations, .company-story, .company-values, .company-focus { padding: 84px 0; }
  .flow-editorial-media, .catalogue-media, .gate-feature-media, .company-hero-media { height: 390px; border-radius: 22px; }
  .editorial-product-copy { padding: 38px 26px; }
  .editorial-product-media { min-height: 330px; }
  .platform-pipeline, .architecture-diagram { grid-template-columns: 1fr; }
  .platform-pipeline > i, .architecture-diagram > i { transform: rotate(90deg); justify-self: center; }
  .gate-hero-layout { padding-block: 38px; }
  .gate-live-card { height: 690px; border-radius: 22px; }
  .gate-stage-badge { left: 14px; top: 14px; }
  .gate-stage-panel { left: 14px; right: 14px; top: 60px; width: auto; }
  .gate-stage-list { left: 14px; right: 14px; grid-template-columns: repeat(2,1fr); }
  .gate-outcome-columns, .product-principles-grid, .ads-outcomes, .platform-flow-grid, .company-values-grid, .role-columns, .integration-list { grid-template-columns: 1fr; }
  .gate-process-track article { grid-template-columns: 44px 1fr; min-height: 210px; padding: 28px; }
  .gate-process-track svg { grid-row: auto; }
  .gate-process-track article > span { display: none; }
  .gate-process-track p { grid-column: 2; }
  .gate-phone-stage { min-height: 900px; }
  .phone { width: 255px; min-height: 540px; }
  .phone-resident { left: 0; }
  .phone-admin { right: 0; top: 330px; }
  .gate-deployment-track, .ads-deployment-steps { grid-template-columns: 1fr; }
  .pricing-sheet article { grid-template-columns: 1fr; gap: 8px; }
  .display-console-canvas { grid-template-columns: 1fr; }
  .display-screen { min-height: 250px; }
  .company-values-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 20px; }
  .wide-cta-inner { min-height: 320px; align-items: flex-start; justify-content: center; flex-direction: column; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 38px 24px; }
  .footer-intro { grid-column: 1 / -1; }
  .footer-logo { width: 240px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
}

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

/* Small symbolic markers used in the static build */
.flow-steps article > b,
.gate-process-track article > b,
.ads-outcomes article > b,
.platform-pipeline article > b {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: rgba(36, 124, 255, .12);
  color: var(--blue);
  font-family: var(--display);
  font-size: 1.1rem;
}
.section-dark .gate-process-track article > b,
.section-dark .platform-pipeline article > b {
  color: var(--blue-light);
  background: rgba(36, 124, 255, .16);
}
.gate-canvas-wrap {
  background: #07111b url('/images/society-entrance-realistic.png') center 45% / cover no-repeat;
}
.gate-canvas-wrap canvas { width: 100%; height: 100%; }

/* ========================================================================== 
   FINAL INTEGRATION CORRECTIONS — HEADER, HOME CAMERA, PRODUCT HERO, CONTACT
   ========================================================================== */

/* True centre navigation: logo and CTA no longer push the middle links. */
.site-header {
  transition: transform .32s cubic-bezier(.22,1,.36,1), box-shadow .25s ease;
  will-change: transform;
}
.header-grid {
  position: relative;
  display: flex;
  justify-content: space-between;
}
.site-brand,
.header-cta { position: relative; z-index: 2; flex: 0 0 auto; }
.desktop-nav {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
}

/* Proper Products caret instead of a baseline text glyph. */
.nav-caret {
  width: 8px;
  height: 8px;
  display: inline-block;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transform-origin: center;
  margin-left: 2px;
  transition: transform .2s ease;
}
.products-dropdown > button[aria-expanded="true"] .nav-caret {
  transform: rotate(225deg) translate(-1px, -1px);
}

/* On product pages the universal header leaves the viewport after the top.
   The product navigation remains available at the top of the screen. */
body.product-page .site-header.is-hidden {
  transform: translateY(-100%);
}
body.product-page .product-subnav {
  transition: top .32s cubic-bezier(.22,1,.36,1), box-shadow .25s ease;
}
body.product-page.product-header-hidden .product-subnav {
  top: 0;
  box-shadow: 0 12px 32px rgba(0,0,0,.22);
}

/* Home hero: never cover the actual camera lens with copy. */
.home-hero-media {
  height: auto;
  min-height: 620px;
  display: grid;
  grid-template-rows: minmax(410px, 1fr) auto;
  overflow: hidden;
}
.home-camera-frame {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  background: var(--panel);
}
.home-camera-frame > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 48%;
  transform: scale(1.01);
}
.home-camera-frame .home-hero-shade {
  background:
    linear-gradient(180deg, rgba(3,10,18,.02) 0%, rgba(3,10,18,.08) 62%, rgba(3,10,18,.52) 100%),
    linear-gradient(90deg, rgba(3,10,18,.26), transparent 46%);
}
.home-intelligence-summary {
  position: relative;
  z-index: 2;
  padding: 20px;
  background: linear-gradient(145deg, #091a2c, #06131f);
  border-top: 1px solid rgba(111,185,255,.22);
}
.home-intelligence-summary .intelligence-card {
  position: static;
  max-width: none;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}
.home-intelligence-summary .intelligence-card strong {
  font-size: 1.28rem;
}
.home-intelligence-summary .intelligence-card p {
  max-width: 610px;
  margin-top: 7px;
}
.home-intelligence-summary .outcome-row {
  position: static;
  margin-top: 16px;
}

/* Gate: the animated entrance is no longer presented as a closed rounded box. */
.gate-hero {
  min-height: 780px;
}
.gate-hero-layout {
  min-height: 780px;
  grid-template-columns: minmax(390px, .72fr) minmax(760px, 1.28fr);
  gap: 44px;
}
.gate-live-card {
  width: calc(100% + clamp(28px, 6vw, 100px));
  height: 690px;
  margin-right: calc(clamp(28px, 6vw, 100px) * -1);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}
.gate-canvas-wrap {
  inset: -18px -10px -18px -28px;
  overflow: hidden;
  border-left: 1px solid rgba(101,178,246,.16);
  mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 100%);
}
.gate-stage-panel {
  right: 10px;
  top: 18px;
  width: 310px;
}
.gate-stage-badge { left: 4px; top: 18px; }
.gate-stage-list {
  left: 4px;
  right: 10px;
  bottom: 14px;
}

/* Contact: larger, clearly relevant consultation visual. */
.contact-page { padding-top: 76px; }
.contact-grid {
  grid-template-columns: minmax(520px, 1.02fr) minmax(560px, .98fr);
  gap: 72px;
}
.contact-media {
  height: 560px;
  margin-top: 38px;
  border-radius: 30px;
  box-shadow: 0 26px 70px rgba(0,0,0,.34);
}
.contact-media img {
  object-position: center 48%;
}
.contact-form {
  position: sticky;
  top: calc(var(--header-h) + 28px);
}

@media (max-width: 1280px) {
  .site-brand { width: 225px; }
  .desktop-nav { gap: 28px; }
  .header-cta { padding-inline: 19px; }
  .gate-hero-layout {
    grid-template-columns: minmax(370px, .78fr) minmax(610px, 1.22fr);
  }
  .gate-live-card {
    width: calc(100% + 30px);
    margin-right: -30px;
  }
  .contact-grid { grid-template-columns: .95fr 1.05fr; gap: 48px; }
}

@media (max-width: 1040px) {
  .header-grid { display: grid; }
  .desktop-nav { position: static; transform: none; }
  .home-hero-media { min-height: 600px; }
  .gate-hero-layout, .contact-grid { grid-template-columns: 1fr; }
  .gate-live-card {
    width: 100%;
    margin-right: 0;
    border-radius: 24px;
    overflow: hidden;
  }
  .gate-canvas-wrap {
    inset: 0;
    mask-image: none;
  }
  .contact-form { position: static; }
}

@media (max-width: 820px) {
  .home-camera-frame { min-height: 390px; }
  .home-intelligence-summary .outcome-row { grid-template-columns: 1fr; }
  .gate-stage-panel { right: 14px; width: min(310px, calc(100% - 28px)); }
  .gate-stage-badge { left: 14px; }
  .gate-stage-list { left: 14px; right: 14px; }
  .contact-media { height: 430px; }
}
