:root {
  --bg: #000000;
  --bg-2: #05070b;
  --panel: rgba(16, 24, 42, .55);
  --panel-solid: #0b1222;
  --line: rgba(140, 170, 230, .14);
  --line-2: rgba(140, 170, 230, .26);
  --text: #e9eef8;
  --muted: #93a0b8;
  --dim: #5f6b82;
  --blue: #5b8cff;
  --blue-2: #8fb4ff;
  --ice: #cfe0ff;
  --ok: #4fd1a5;
  --warn: #ffb54d;
  --bad: #ff6b6b;
  --radius: 18px;
  --wrap: 1240px;
  --display: "Space Grotesk", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.6 var(--body); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, canvas { display: block; }
a { color: var(--blue-2); text-decoration: none; }
a:hover { color: #fff; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -.02em; margin: 0; line-height: 1.08; }
p { margin: 0; }
.mono { font-family: var(--mono); letter-spacing: .04em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: #000; padding: 8px 12px; z-index: 100; border-radius: 0; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--blue-2); outline-offset: 3px; border-radius: 0; }

.grad {
  background: linear-gradient(100deg, #fff 0%, var(--ice) 30%, var(--blue-2) 60%, var(--blue) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- buttons ---------- */
.btn {
  --h: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 22px; border-radius: 0; border: 1px solid transparent;
  font: 500 15px/1 var(--body); cursor: pointer; white-space: nowrap;
  transition: transform .2s, box-shadow .3s, background .3s, border-color .3s, color .2s;
}
.btn-sm { --h: 40px; padding: 0 16px; font-size: 14px; }
.btn-primary {
  color: #fff; background: linear-gradient(180deg, #6b98ff, #3c6ee6);
  box-shadow: 0 0 0 1px rgba(150,185,255,.35) inset, 0 8px 30px -8px rgba(80,130,255,.7);
}
.btn-primary:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(190,210,255,.6) inset, 0 12px 40px -6px rgba(90,140,255,.9); }
.btn-ghost { color: var(--text); border-color: var(--line-2); background: rgba(255,255,255,.02); }
.btn-ghost:hover { color: #fff; border-color: var(--blue-2); background: rgba(91,140,255,.08); }
.arrow { width: 14px; height: 10px; position: relative; display: inline-block; transition: transform .2s; }
.arrow::before { content: ""; position: absolute; left: 0; right: 1px; top: 4.5px; height: 1.5px; background: currentColor; }
.arrow::after { content: ""; position: absolute; right: 0; top: 1px; width: 7px; height: 7px; border: solid currentColor; border-width: 1.5px 1.5px 0 0; transform: rotate(45deg); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled, .site-header.menu-open {
  background: rgba(4, 6, 11, .78); backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%); border-color: var(--line);
}
.header-row { height: 72px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand:hover { color: #fff; }
.brand-mark { width: 30px; height: 30px; fill: url(#none); }
.brand-mark polygon { fill: #fff; }
.brand-mark polygon:nth-child(2) { fill: var(--blue-2); }
.brand-word { font: 400 17px/1 var(--display); letter-spacing: .34em; margin-right: -.34em; }

.main-nav { flex: 1; }
.main-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav-btn {
  background: none; border: 0; color: var(--muted); font: 500 14.5px var(--body);
  padding: 10px 14px; border-radius: 0; cursor: pointer; display: flex; align-items: center; gap: 7px;
  transition: color .2s, background .2s;
}
.nav-btn:hover, .has-menu.open .nav-btn { color: #fff; background: rgba(255,255,255,.05); }
.chev { width: 7px; height: 7px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.has-menu.open .chev { transform: rotate(-135deg) translateY(-1px); }

.mega {
  position: absolute; left: 0; right: 0; top: 72px; padding: 0 24px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .22s, transform .22s, visibility .22s;
}
.has-menu.open .mega { opacity: 1; visibility: visible; transform: none; }
.mega-inner {
  max-width: var(--wrap); margin: 8px auto 0; padding: 26px;
  background: #090e1a; border: 1px solid var(--line-2); border-radius: 0;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.02) inset;
  backdrop-filter: blur(20px);
}
.has-menu:has(.mega-narrow) { position: relative; }
.mega-narrow { left: -12px; right: auto; top: 48px; width: 340px; padding: 0; }
.mega-narrow .mega-inner { padding: 14px; }
.mega-platform { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; }
.mega-label { font: 500 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin: 4px 12px 10px; }
.mega-link { display: block; padding: 11px 12px; border-radius: 0; color: var(--text); transition: background .15s; }
.mega-link:hover { background: rgba(91,140,255,.09); color: #fff; }
.mega-link b { display: block; font: 500 14.5px var(--body); }
.mega-link span { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.mega-feature {
  border-radius: 0; padding: 22px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start;
  background: radial-gradient(120% 120% at 100% 0%, rgba(91,140,255,.32), transparent 60%), rgba(255,255,255,.02);
  border: 1px solid var(--line);
}
.mega-feature .mega-label { margin: 0; }
.mega-feature-title { font: 500 19px/1.3 var(--display); }

.muni-search { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.muni-search input {
  flex: 1; height: 44px; padding: 0 16px; border-radius: 0; background: rgba(255,255,255,.04);
  border: 1px solid var(--line-2); color: #fff; font: 15px var(--body);
}
.muni-search input:focus { outline: none; border-color: var(--blue-2); }
.muni-count { font: 12px var(--mono); color: var(--dim); }
.muni-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px 18px; max-height: min(62vh, 560px); overflow: auto; }
.muni-group h4 { font: 500 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--blue-2); margin: 4px 10px 8px; }
.muni-group a { display: block; padding: 7px 10px; border-radius: 0; color: var(--text); font-size: 14px; line-height: 1.3; }
.muni-group a small { display: block; color: var(--dim); font-size: 12px; margin-top: 1px; }
.muni-group a:hover { background: rgba(91,140,255,.09); }
.muni-group[hidden] { display: none; }

.header-cta { display: flex; align-items: center; gap: 16px; }
.header-mail { color: var(--muted); font-size: 14px; }
.burger { display: none; width: 42px; height: 42px; border-radius: 0; background: rgba(255,255,255,.05); border: 1px solid var(--line); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: #fff; transition: transform .25s, top .25s; }
.burger span:first-child { top: 16px; } .burger span:last-child { top: 24px; }
.burger[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }
.mobile-nav { border-top: 1px solid var(--line); max-height: calc(100vh - 72px); overflow: auto; padding: 8px 0 24px; }
.mobile-nav details { border-bottom: 1px solid var(--line); }
.mobile-nav summary { padding: 16px 0; font: 500 17px var(--display); cursor: pointer; list-style: none; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav details a { display: block; padding: 8px 0 8px 12px; color: var(--muted); }
.mobile-nav details h4 { font: 500 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--blue-2); margin: 12px 0 4px 12px; }
.mobile-nav .btn { margin-top: 20px; width: 100%; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; padding: 120px 0 80px; }
#globe { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; animation: globeIn 2.4s .2s cubic-bezier(.2,.8,.2,1) forwards; }
#globe.no-map { display: none; }
#globe .maplibregl-canvas { outline: none; }
@keyframes globeIn { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
.hero-glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(4,6,11,.85) 0%, rgba(4,6,11,.55) 38%, transparent 60%),
    radial-gradient(60% 50% at 75% 45%, rgba(60,110,230,.18), transparent 70%),
    linear-gradient(180deg, transparent 70%, var(--bg) 100%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 640px); gap: 56px; align-items: center; width: 100%; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; border-radius: 0;
  font: 500 12.5px var(--mono); letter-spacing: .04em; color: var(--ice);
  background: rgba(91,140,255,.08); border: 1px solid rgba(143,180,255,.25);
}
.dot-live { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(79,209,165,.6); animation: ping 2s infinite; display: inline-block; flex: none; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(79,209,165,.55); } 80%, 100% { box-shadow: 0 0 0 8px rgba(79,209,165,0); } }
.hero h1 { font-size: clamp(42px, 5.6vw, 80px); margin: 24px 0 24px; font-weight: 600; letter-spacing: -.035em; line-height: 1.0; }
.lede { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; color: #c3cde0; max-width: 560px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }
.select { position: relative; min-width: 0; }
.select::after { content: ""; position: absolute; right: 14px; top: 50%; width: 7px; height: 7px; border: solid var(--muted); border-width: 0 1.5px 1.5px 0; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.select select {
  appearance: none; -webkit-appearance: none; width: 100%; height: 38px; padding: 0 36px 0 12px; border-radius: 0;
  background: var(--panel-solid); color: #fff; border: 1px solid var(--line-2); font: 500 14.5px var(--body); cursor: pointer;
}

.hero-feed { align-self: end; margin-bottom: -40px;
  background: linear-gradient(180deg, rgba(14,22,40,.72), rgba(8,12,22,.72)); border: 1px solid var(--line-2);
  border-radius: 0; padding: 18px; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.9);
}
.feed-head { display: flex; align-items: center; gap: 10px; font: 500 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ice); padding: 2px 4px 14px; border-bottom: 1px solid var(--line); }
.feed-tag { margin-left: auto; color: var(--dim); letter-spacing: .06em; font-size: 10.5px; }
#feed { list-style: none; margin: 0; padding: 0; height: 312px; overflow: hidden; position: relative; }
#feed li {
  display: grid; grid-template-columns: auto 1fr auto; gap: 4px 12px; align-items: center;
  padding: 12px 4px; border-bottom: 1px solid rgba(140,170,230,.08); animation: feedIn .6s cubic-bezier(.2,.8,.2,1);
}
#feed .f-ico { width: 32px; height: 32px; border-radius: 0; display: grid; place-items: center; grid-row: span 2; background: rgba(91,140,255,.12); color: var(--blue-2); }
#feed .f-ico svg { width: 16px; height: 16px; }
#feed .f-t { font-size: 14px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#feed .f-d { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; grid-column: 2; }
#feed .f-time { font: 11px var(--mono); color: var(--dim); grid-row: 1; grid-column: 3; }
#feed .f-dept { font: 10.5px var(--mono); color: var(--blue-2); grid-column: 3; text-align: right; }
@keyframes feedIn { from { opacity: 0; transform: translateY(-14px); background: rgba(91,140,255,.12); } to { opacity: 1; transform: none; background: transparent; } }
.hero-scroll { position: absolute; left: 50%; bottom: 24px; width: 22px; height: 36px; border: 1.5px solid var(--line-2); border-radius: 0; transform: translateX(-50%); }
.hero-scroll span { position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 0; background: var(--blue-2); animation: scrollDot 1.8s infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ---------- strip ---------- */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.strip-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 36px 24px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { display: block; font: 600 clamp(36px, 4vw, 54px)/1 var(--display); letter-spacing: -.03em; background: linear-gradient(180deg, #fff, var(--blue-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { display: block; margin-top: 10px; color: var(--muted); font-size: 14.5px; }
.marquee { border-top: 1px solid var(--line); overflow: hidden; padding: 18px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 44px; width: max-content; animation: marquee 60s linear infinite; }
.marquee-track span { font: 400 15px var(--display); color: var(--dim); white-space: nowrap; display: flex; align-items: center; gap: 44px; }
.marquee-track span::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--blue); opacity: .6; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: clamp(90px, 12vw, 150px) 0; position: relative; }
.section-alt { background: linear-gradient(180deg, var(--bg-2), var(--bg) 85%); border-top: 1px solid var(--line); }
.section-head { max-width: 860px; margin-bottom: 64px; }
.section-head.split { max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; }
.kicker { font: 500 12px var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--blue-2); margin-bottom: 20px; display: flex; align-items: center; gap: 12px; }
.kicker::before { content: ""; width: 22px; height: 1px; background: var(--blue-2); }
h2 { font-size: clamp(34px, 4.6vw, 60px); letter-spacing: -.03em; }
.sub { color: var(--muted); font-size: clamp(16px, 1.3vw, 18.5px); margin-top: 22px; max-width: 680px; }

/* ---------- pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pillar {
  position: relative; padding: 32px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line);
  overflow: hidden; transform-style: preserve-3d; transition: border-color .3s, transform .15s ease-out;
}
.pillar::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .3s; pointer-events: none;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(91,140,255,.16), transparent 45%);
}
.pillar:hover { border-color: var(--line-2); }
.pillar:hover::before { opacity: 1; }
.pillar-icon { width: 48px; height: 48px; border-radius: 0; display: grid; place-items: center; color: var(--blue-2); background: linear-gradient(160deg, rgba(91,140,255,.22), rgba(91,140,255,.04)); border: 1px solid rgba(143,180,255,.2); margin-bottom: 26px; }
.pillar-icon svg { width: 22px; height: 22px; }
.pillar h3 { font-size: 21px; margin-bottom: 10px; }
.pillar p { color: var(--muted); font-size: 15.5px; }

/* ---------- departments ---------- */
.dept { display: grid; grid-template-columns: 280px 1fr; gap: 24px; }
.dept-tabs { display: flex; flex-direction: column; gap: 6px; }
.dept-tab {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; text-align: left; width: 100%;
  padding: 16px 18px; border-radius: 0; border: 1px solid transparent; background: transparent; color: var(--muted);
  font: 500 15.5px var(--body); cursor: pointer; position: relative; overflow: hidden; transition: color .2s, background .2s, border-color .2s;
}
.dept-tab:hover { color: #fff; background: rgba(255,255,255,.03); }
.dept-tab[aria-selected="true"] { color: #fff; background: rgba(91,140,255,.1); border-color: rgba(143,180,255,.28); }
.dept-tab small { font: 10.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ok); }
.dept-tab .prog { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--blue-2); }
.dept-tab[aria-selected="true"] .prog { animation: prog 7s linear forwards; }
.dept.paused .dept-tab .prog { animation-play-state: paused; }
@keyframes prog { to { width: 100%; } }

.console, .board {
  border-radius: 0; border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(14,21,38,.9), rgba(7,11,20,.92));
  box-shadow: 0 50px 120px -40px rgba(30,70,170,.45), 0 0 0 1px rgba(255,255,255,.02) inset; overflow: hidden;
}
.console-bar, .board-bar { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.015); }
.console-title { font: 500 13px var(--mono); letter-spacing: .06em; color: var(--ice); }
.console-live { margin-left: auto; display: flex; align-items: center; gap: 8px; font: 11px var(--mono); color: var(--dim); }
.console-body { padding: 30px; display: grid; gap: 26px; }
.dept-headline { font-size: clamp(22px, 2.3vw, 30px); font-weight: 500; letter-spacing: -.02em; max-width: 720px; min-height: 2.2em; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.kpi { padding: 18px; border-radius: 0; background: rgba(255,255,255,.025); border: 1px solid var(--line); }
.kpi span { display: block; font-size: 13px; color: var(--muted); }
.kpi b { display: block; font: 600 30px/1.1 var(--display); margin-top: 8px; letter-spacing: -.02em; }
.chart-label { font: 500 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin-bottom: 12px; }
.bars { height: 130px; display: flex; align-items: flex-end; gap: 8px; }
.bars i { flex: 1; border-radius: 0; background: linear-gradient(180deg, var(--blue-2), rgba(91,140,255,.18)); height: 4%; transition: height .8s cubic-bezier(.2,.8,.2,1); }
.bars i:last-child { background: linear-gradient(180deg, #fff, var(--blue)); box-shadow: 0 0 24px rgba(143,180,255,.5); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; border-radius: 0; border: 1px solid var(--line-2); background: rgba(91,140,255,.06); font-size: 13.5px; color: var(--ice); animation: chipIn .5s both cubic-bezier(.2,.8,.2,1); }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
@keyframes chipIn { from { opacity: 0; transform: translateY(8px) scale(.96); } }
.fade-swap { animation: swap .5s cubic-bezier(.2,.8,.2,1); }
@keyframes swap { from { opacity: 0; transform: translateY(8px); } }

/* ---------- marketplace ---------- */
.market-tools { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-bottom: 28px; }
.market-search { position: relative; flex: 0 1 320px; }
.market-search span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--dim); }
.market-search svg { width: 16px; height: 16px; }
.market-search input { width: 100%; height: 44px; border-radius: 0; padding: 0 16px 0 40px; background: rgba(255,255,255,.03); border: 1px solid var(--line-2); color: #fff; font: 15px var(--body); }
.market-search input:focus { outline: none; border-color: var(--blue-2); }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter { height: 36px; padding: 0 14px; border-radius: 0; border: 1px solid var(--line); background: transparent; color: var(--muted); font: 500 13.5px var(--body); cursor: pointer; transition: all .2s; }
.filter:hover { color: #fff; border-color: var(--line-2); }
.filter[aria-pressed="true"] { color: #fff; background: rgba(91,140,255,.16); border-color: rgba(143,180,255,.4); }
.apps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.app {
  position: relative; padding: 22px; border-radius: 0; background: var(--panel); border: 1px solid var(--line);
  transition: border-color .25s, transform .25s, background .25s, opacity .3s; overflow: hidden;
}
.app:hover { transform: translateY(-3px); border-color: rgba(143,180,255,.35); background: rgba(20,32,58,.6); }
.app-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.app-ico { width: 40px; height: 40px; border-radius: 0; display: grid; place-items: center; color: var(--blue-2); background: rgba(91,140,255,.1); border: 1px solid rgba(143,180,255,.16); }
.app-ico svg { width: 19px; height: 19px; }
.app-cat { font: 10.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.app h3 { font: 600 16px/1.3 var(--display); letter-spacing: -.01em; margin-bottom: 6px; }
.app p { font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.app.in { animation: appIn .45s both cubic-bezier(.2,.8,.2,1); }
@keyframes appIn { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.apps-empty { color: var(--muted); padding: 40px 0; text-align: center; }

/* ---------- flow ---------- */
.flow-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.flow-steps { list-style: none; margin: 40px 0 0; padding: 0; counter-reset: s; }
.flow-steps li { position: relative; padding: 16px 18px 16px 58px; border-radius: 0; cursor: pointer; transition: background .25s; counter-increment: s; }
.flow-steps li::before { content: "0" counter(s); position: absolute; left: 18px; top: 17px; font: 500 12px var(--mono); color: var(--dim); transition: color .25s; }
.flow-steps li b { display: block; font: 500 17px var(--display); color: var(--muted); transition: color .25s; }
.flow-steps li span { display: block; font-size: 14px; color: var(--dim); margin-top: 2px; }
.flow-steps li:hover b { color: #fff; }
.flow-steps li.active { background: rgba(91,140,255,.08); }
.flow-steps li.active::before { color: var(--blue-2); }
.flow-steps li.active b { color: #fff; }
.flow-steps li.active span { color: var(--muted); }
.flow-viz { position: relative; }
#flowSvg { width: 100%; height: auto; max-width: 560px; margin: 0 auto; overflow: visible; }
.core-ring { fill: none; stroke: rgba(143,180,255,.5); stroke-width: 1.2; }
.core-ring.thin { stroke: rgba(143,180,255,.25); stroke-dasharray: 3 7; }
.spin { transform-origin: 260px 260px; animation: spin 30s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.core-card rect { fill: #0b1428; stroke: rgba(143,180,255,.5); }
.core-k { font: 500 9px var(--mono); letter-spacing: .14em; fill: var(--blue-2); }
.core-v { font: 500 11px var(--body); fill: #fff; }
.flow-line { fill: none; stroke: rgba(143,180,255,.18); stroke-width: 1.2; }
.flow-pulse { fill: none; stroke: var(--blue-2); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 14 400; animation: pulse 2.4s linear infinite; opacity: .25; }
.flow-pulse.on { opacity: 1; stroke: #fff; filter: drop-shadow(0 0 6px var(--blue-2)); }
@keyframes pulse { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -414; } }
.flow-node rect { fill: #0a1222; stroke: rgba(143,180,255,.22); transition: stroke .3s, fill .3s; }
.flow-node text { font: 500 11.5px var(--body); fill: var(--muted); transition: fill .3s; }
.flow-node .nk { font: 500 8.5px var(--mono); letter-spacing: .12em; fill: var(--dim); }
.flow-node.on rect { fill: #10224a; stroke: var(--blue-2); }
.flow-node.on text { fill: #fff; }
.flow-node.on .nk { fill: var(--blue-2); }
.flow-node { cursor: pointer; }

/* ---------- neris ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.neris-viz { position: relative; }
.neris-card { border-radius: 0; border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(14,21,38,.92), rgba(7,11,20,.95)); padding: 22px; box-shadow: 0 40px 100px -40px rgba(30,70,170,.5); }
.neris-top { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--ice); padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.pill { font: 500 11px var(--mono); padding: 5px 10px; border-radius: 0; background: rgba(255,181,77,.12); color: var(--warn); transition: all .3s; }
.pill.done { background: rgba(79,209,165,.14); color: var(--ok); }
.neris-fields { list-style: none; margin: 0; padding: 6px 0; }
.neris-fields li { display: grid; grid-template-columns: 22px 1fr; gap: 0 10px; padding: 11px 2px; border-bottom: 1px solid rgba(140,170,230,.07); font-size: 14px; color: var(--muted); transition: color .3s; }
.neris-fields li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--line-2); grid-row: span 2; margin-top: 2px; transition: all .3s; }
.neris-fields li span { font-size: 12.5px; color: var(--dim); grid-column: 2; }
.neris-fields li.ok { color: #fff; }
.neris-fields li.ok::before { border-color: var(--ok); background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%2304060b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100%; }
.neris-progress { height: 4px; border-radius: 0; background: rgba(255,255,255,.06); margin-top: 16px; overflow: hidden; }
.neris-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), var(--ok)); transition: width .4s; }
.neris-badge { position: absolute; right: -18px; bottom: -22px; display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-radius: 0; background: #0b1428; border: 1px solid var(--line-2); font: 600 14px var(--mono); letter-spacing: .1em; box-shadow: 0 20px 40px -10px rgba(0,0,0,.7); }
.neris-badge .old { color: var(--dim); text-decoration: line-through; }
.neris-badge .new { color: var(--ok); }
.neris-badge .arrow { color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 32px; color: var(--text); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 0; background: rgba(91,140,255,.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.2l2.8 2.8 6-6' fill='none' stroke='%238fb4ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100%; }

/* ---------- fema ---------- */
.fema { border-radius: 0; border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(14,21,38,.85), rgba(7,11,20,.9)); padding: clamp(22px, 3vw, 40px); }
.fema-timeline { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; gap: 10px 28px; align-items: center; margin-bottom: 36px; }
.fema-clock { grid-row: span 2; display: flex; flex-direction: column; align-items: flex-start; }
.fema-clock span { font-size: 11px; color: var(--dim); letter-spacing: .14em; }
.fema-clock b { font: 600 52px/1 var(--display); letter-spacing: -.03em; min-width: 2.2ch; font-variant-numeric: tabular-nums; }
.fema-track { height: 6px; border-radius: 0; background: rgba(255,255,255,.06); overflow: hidden; }
.fema-track span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), var(--blue-2), var(--ok)); border-radius: 0; }
.fema-marks { display: flex; justify-content: space-between; font: 11px var(--mono); color: var(--dim); letter-spacing: .06em; }
.fema-grid { display: grid; grid-template-columns: 1fr 300px; gap: 36px; }
.fema-cats { display: grid; gap: 12px; }
.fcat { display: grid; grid-template-columns: 28px 1fr 110px; gap: 14px; align-items: center; }
.fcat .l { width: 28px; height: 28px; border-radius: 0; display: grid; place-items: center; font: 600 13px var(--mono); color: var(--blue-2); background: rgba(91,140,255,.12); }
.fcat .n { font-size: 14px; color: var(--text); }
.fcat .t { height: 6px; border-radius: 0; background: rgba(255,255,255,.05); margin-top: 7px; overflow: hidden; }
.fcat .t i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, rgba(91,140,255,.5), var(--blue-2)); border-radius: 0; }
.fcat .v { font: 500 14px var(--mono); text-align: right; color: var(--ice); font-variant-numeric: tabular-nums; }
.fema-total { border-radius: 0; padding: 26px; background: radial-gradient(120% 100% at 100% 0%, rgba(79,209,165,.16), transparent 60%), rgba(255,255,255,.02); border: 1px solid var(--line); display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.fema-total b { font: 600 clamp(36px, 3.8vw, 50px)/1.05 var(--display); letter-spacing: -.03em; color: #fff; font-variant-numeric: tabular-nums; }
.fema-note { font-size: 12.5px; color: var(--dim); margin: 8px 0 16px; }

/* ---------- board ---------- */
.board-time { margin-left: auto; font-size: 12px; color: var(--dim); }
.board-grid { display: grid; grid-template-columns: 1.75fr 1fr; gap: 14px; padding: 16px; }
.board-side { display: grid; gap: 14px; align-content: start; min-width: 0; }
.board-reports { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 0 16px 16px; }
.board-reports .chart-label { margin: 0 8px 0 4px; }
.board-reports span:not(.chart-label) { padding: 6px 11px; border-radius: 0; font-size: 12.5px; border: 1px solid var(--line); color: var(--ice); background: rgba(255,255,255,.02); }
.tile { padding: 20px; border-radius: 0; background: rgba(255,255,255,.02); border: 1px solid var(--line); min-width: 0; }
.tile-map { position: relative; padding: 0; overflow: hidden; min-height: 560px; }
#cityMap { position: absolute; inset: 0; background: #0a1222; }
#cityMap.no-map::after { content: "Map unavailable offline"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--dim); font: 12px var(--mono); }
.map-legend { position: absolute; left: 14px; bottom: 14px; display: flex; gap: 12px; flex-wrap: wrap; padding: 8px 12px; border-radius: 0; background: rgba(5,9,18,.82); border: 1px solid var(--line); backdrop-filter: blur(8px); font: 11px var(--mono); color: var(--muted); pointer-events: none; }
.map-legend span { display: flex; align-items: center; gap: 6px; }
.map-legend i { width: 8px; height: 8px; border-radius: 50%; }
.map-note { position: absolute; left: 14px; top: 14px; padding: 6px 10px; border-radius: 0; background: rgba(5,9,18,.82); border: 1px solid var(--line); font-size: 10.5px; color: var(--dim); pointer-events: none; }
.inc-pin { position: relative; width: 16px; height: 16px; padding: 0; border: 0; background: none; cursor: pointer; }
.inc-pin span { position: absolute; inset: 3px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2px rgba(4,6,11,.9), 0 0 16px var(--c); }
.inc-pin::before, .inc-pin::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid var(--c); animation: incPulse 2.4s cubic-bezier(.2,.6,.3,1) infinite; }
.inc-pin::after { animation-delay: 1.2s; }
.inc-pin.arrived::before, .inc-pin.arrived::after { animation-duration: 3.6s; opacity: .5; }
@keyframes incPulse { from { transform: scale(1); opacity: .9; } to { transform: scale(3.4); opacity: 0; } }
.elx-pop .maplibregl-popup-content { background: rgba(9,14,26,.96); border: 1px solid var(--line-2); border-radius: 0; padding: 12px 14px; color: var(--text); box-shadow: 0 20px 40px -10px rgba(0,0,0,.8); display: grid; gap: 3px; font: 13px/1.4 var(--body); }
.elx-pop .maplibregl-popup-tip { display: none; }
.elx-pop b { font: 600 14px var(--display); }
.elx-pop .pop-kind { font: 500 10.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.elx-pop .pop-x { color: var(--muted); font-size: 12px; }
.maplibregl-ctrl-group { background: rgba(9,14,26,.9) !important; border: 1px solid var(--line-2); box-shadow: none !important; }
.maplibregl-ctrl-group button + button { border-top-color: var(--line) !important; }
.maplibregl-ctrl button .maplibregl-ctrl-icon { filter: invert(1) brightness(.8); }
.maplibregl-ctrl-attrib { background: rgba(5,9,18,.7) !important; color: var(--dim); font-size: 10px; }
.maplibregl-ctrl-attrib a { color: var(--muted); }
.maplibregl-ctrl-attrib-button { filter: invert(1); }
.maplibregl-cooperative-gesture-screen { font: 14px var(--body); background: rgba(4,6,11,.6); }
.lbl-count { color: var(--blue-2); }
.incidents { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.incidents li { display: grid; grid-template-columns: 8px 1fr auto; gap: 12px; align-items: center; padding: 9px 8px; margin: 0 -8px; border-radius: 0; cursor: pointer; opacity: .4; transition: opacity .5s, background .2s; }
.incidents li.on { opacity: 1; }
.incidents li:hover { background: rgba(91,140,255,.08); }
.incidents li > i { width: 8px; height: 8px; border-radius: 50%; }
.incidents b { display: block; font: 500 13.5px var(--body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.incidents li div { min-width: 0; }
.incidents li div span { display: block; font-size: 12px; color: var(--dim); }
.st { font: normal 500 10.5px var(--mono); padding: 4px 8px; border-radius: 0; color: var(--dim); background: rgba(255,255,255,.04); white-space: nowrap; }
.st-dispatched { color: var(--warn); background: rgba(255,181,77,.1); }
.st-enroute { color: var(--blue-2); background: rgba(91,140,255,.12); }
.st-onscene { color: var(--ok); background: rgba(79,209,165,.12); }
.rings { display: flex; justify-content: space-between; gap: 10px; }
.ring { position: relative; flex: 1; max-width: 92px; text-align: center; }
.ring svg { width: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke: rgba(255,255,255,.07); stroke-width: 3; }
.ring circle.v { stroke: var(--blue-2); stroke-linecap: round; stroke-dasharray: 0 100; transition: stroke-dasharray 1.6s cubic-bezier(.2,.8,.2,1); }
.board.in .ring circle.v { stroke-dasharray: var(--v) 100; }
.ring b { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-80%); font: 600 16px var(--display); }
.ring span { font-size: 12px; color: var(--muted); }
.spark { width: 100%; height: 110px; }
.spark .line { fill: none; stroke: var(--blue-2); stroke-width: 2; vector-effect: non-scaling-stroke; }
.spark .area { fill: url(#none); fill: rgba(91,140,255,.12); }
.attn { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.attn li { display: grid; grid-template-columns: 10px 1fr auto; gap: 10px; align-items: center; font-size: 13.5px; padding: 7px 0; border-bottom: 1px solid rgba(140,170,230,.07); }
.attn li span { font: 10.5px var(--mono); color: var(--dim); }
.sev { width: 8px; height: 8px; border-radius: 50%; }
.sev.s1 { background: var(--bad); box-shadow: 0 0 10px var(--bad); }
.sev.s2 { background: var(--warn); }
.sev.s3 { background: var(--blue-2); }

/* ---------- compare ---------- */
.compare { border-radius: 0; border: 1px solid var(--line-2); overflow: hidden; background: rgba(9,14,26,.7); }
.cmp-row { display: grid; grid-template-columns: 1.6fr 1fr 1fr; align-items: center; border-top: 1px solid var(--line); }
.cmp-row:first-child { border-top: 0; }
.cmp-row > span { padding: 18px 24px; font-size: 15px; }
.cmp-head > span { font: 500 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: 22px; padding-bottom: 22px; }
.cmp-row .us { background: rgba(91,140,255,.08); height: 100%; display: flex; align-items: center; }
.cmp-head .us { color: #fff; background: rgba(91,140,255,.18); }
.ok, .part, .no { display: flex; align-items: center; gap: 10px; }
.ok::before, .part::before, .no::before { content: ""; width: 8px; height: 8px; border-radius: 50%; flex: none; }
.cmp-row .ok { color: var(--text); } .ok::before { background: var(--ok); }
.cmp-row .part { color: var(--muted); } .part::before { background: var(--warn); }
.cmp-row .no { color: var(--dim); } .no::before { background: transparent; border: 1.5px solid var(--dim); }
.cmp-row .us.ok { color: #fff; font-weight: 500; }

/* ---------- mission ---------- */
.mission { min-height: 80vh; display: flex; align-items: center; overflow: hidden; text-align: center; }
#ringCanvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.mission-inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.mission-inner .kicker::before { display: none; }
.mission-quote { font: 500 clamp(30px, 4.4vw, 58px)/1.15 var(--display); letter-spacing: -.03em; max-width: 1000px; }

/* ---------- faq ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 40px 24px 0; font: 500 18px/1.35 var(--display); position: relative; transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--blue-2); }
.faq summary::after { content: ""; position: absolute; right: 4px; top: 30px; width: 14px; height: 14px; background: linear-gradient(currentColor, currentColor) center/14px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center/1.5px 14px no-repeat; transition: transform .3s; color: var(--blue-2); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 40px 26px 0; }

/* ---------- demo ---------- */
.demo { background: radial-gradient(70% 80% at 85% 20%, rgba(60,110,230,.22), transparent 60%), var(--bg-2); border-top: 1px solid var(--line); }
.demo-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.demo-mail { display: inline-flex; align-items: center; gap: 12px; margin-top: 34px; font: 500 22px var(--display); color: #fff; }
.demo-mail svg { width: 22px; height: 22px; color: var(--blue-2); }
.demo-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 30px; border-radius: 0; background: rgba(9,14,26,.8); border: 1px solid var(--line-2); }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 13px; color: var(--muted); }
.field input, .field textarea, .demo-form .select select { width: 100%; padding: 12px 14px; border-radius: 0; background: rgba(255,255,255,.03); border: 1px solid var(--line-2); color: #fff; font: 15px var(--body); }
.demo-form .select select { height: 46px; padding-right: 36px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue-2); }
.field textarea { resize: vertical; }
.form-note { font-size: 12.5px; color: var(--dim); text-align: center; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 72px 0 36px; background: var(--bg); }
.foot-top { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; }
.foot-brand p { color: var(--muted); margin: 18px 0 8px; font-size: 14.5px; }
.foot-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.foot-h { font: 500 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 14px; }
.foot-cols a { display: block; color: var(--muted); font-size: 14.5px; padding: 4px 0; }
.foot-cols a:hover { color: #fff; }
.foot-bottom { display: flex; justify-content: space-between; gap: 24px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--dim); }
.foot-bottom span:last-child { max-width: 640px; text-align: right; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 1.1s cubic-bezier(.16,1,.3,1), transform 1.1s cubic-bezier(.16,1,.3,1); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .main-nav, .header-mail { display: none; }
  .header-row { justify-content: space-between; }
  .burger { display: block; }
  .apps { grid-template-columns: repeat(3, 1fr); }
  .board-grid { grid-template-columns: 1fr; }
  .board-side { grid-template-columns: 1fr 1fr; }
  .board-side .tile:first-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  #globe { opacity: .9; }
  .hero-glow { background: linear-gradient(180deg, transparent 10%, rgba(4,6,11,.7) 45%, var(--bg) 100%); }
  .hero-inner, .flow-wrap, .two-col, .faq-wrap, .demo-inner, .section-head.split, .foot-top, .fema-grid { grid-template-columns: 1fr; }
  .hero-inner { gap: 40px; }
  .pillars { grid-template-columns: 1fr 1fr; }
  .dept { grid-template-columns: 1fr; }
  .dept-tabs { flex-direction: row; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .dept-tab { width: auto; flex: none; }
  .dept-tab small { display: none; }
  .strip-row { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .two-col { gap: 60px; }
  .neris-badge { right: 12px; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .header-cta .btn { display: none; }
  .hero { padding-top: 110px; }
      .pillars { grid-template-columns: 1fr; }
  .kpis { gap: 8px; }
  .kpi { padding: 12px 10px; }
  .kpi span { font-size: 11px; line-height: 1.3; }
  .kpi b { font-size: 19px; }
  .apps { grid-template-columns: 1fr 1fr; gap: 10px; }
  .app { padding: 14px; }
  .app p, .app-cat { display: none; }
  .app-top { margin-bottom: 10px; }
  .app-ico { width: 34px; height: 34px; }
  .app h3 { font-size: 14px; margin: 0; }
  .console-body { padding: 20px; }
  .console-live { display: none; }
  .board-grid { padding: 10px; }
  .board-side { grid-template-columns: 1fr; }
  .tile-map { min-height: 420px; }
  .map-legend { display: none; }
  .cmp-row { grid-template-columns: 1.3fr .9fr .9fr; }
  .cmp-row > span { padding: 14px 12px; font-size: 13.5px; }
  .cmp-head > span { font-size: 10px; letter-spacing: .04em; }
  .demo-form { grid-template-columns: 1fr; padding: 20px; }
  .fcat { grid-template-columns: 28px 1fr 84px; gap: 10px; }
  .fema-marks span:nth-child(2), .fema-marks span:nth-child(3) { display: none; }
  .foot-bottom { flex-direction: column; }
  .foot-bottom span:last-child { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
[hidden] { display: none !important; }

/* ---------- marketplace suites ---------- */
.suites { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 0; overflow: hidden; }
.suite { position: relative; display: flex; flex-direction: column; padding: 28px 26px 24px; background: var(--bg); transition: background .4s; min-height: 100%; }
.suite:hover { background: #070c17; }
.suite::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--blue-2), transparent); opacity: 0; transition: opacity .4s; }
.suite:hover::after { opacity: .7; }
.suite header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.suite-ico { width: 38px; height: 38px; border-radius: 0; display: grid; place-items: center; color: var(--blue-2); border: 1px solid rgba(143,180,255,.2); background: rgba(91,140,255,.06); }
.suite-ico svg { width: 18px; height: 18px; }
.suite-n { font-size: 11px; color: var(--dim); letter-spacing: .1em; }
.suite h3 { font: 600 18px/1.25 var(--display); letter-spacing: -.01em; margin-bottom: 16px; }
.suite ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; }
.suite li button { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 6px 0; color: var(--muted); font: 14px/1.35 var(--body); cursor: pointer; transition: color .2s, padding .25s; position: relative; }
.suite li button::before { content: ""; position: absolute; left: 0; top: 50%; width: 0; height: 1px; background: var(--blue-2); transition: width .25s; }
.suite li button:hover, .suite li button.on, .suite li button:focus-visible { color: #fff; padding-left: 14px; }
.suite li button.on::before, .suite li button:hover::before { width: 8px; }
.suite-desc { margin-top: auto; padding-top: 20px; min-height: 64px; font-size: 13px; line-height: 1.5; color: var(--dim); border-top: 1px solid var(--line); margin-top: 22px; transition: color .2s; }
.suite-desc.is-app { color: var(--ice); }

/* ---------- comparison table ---------- */
.compare-scroll { overflow-x: auto; border: 1px solid var(--line-2); border-radius: 0; background: rgba(9,14,26,.7); }
.cmp { width: 100%; min-width: 900px; border-collapse: collapse; font-size: 14.5px; }
.cmp th, .cmp td { padding: 18px 20px; text-align: left; vertical-align: middle; border-top: 1px solid var(--line); }
.cmp thead th { border-top: 0; font: 500 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: 22px; padding-bottom: 22px; }
.cmp tbody th { font-weight: 500; color: var(--text); width: 22%; }
.cmp td { color: var(--muted); }
.cmp .us { background: rgba(91,140,255,.08); color: #fff; font-weight: 500; }
.cmp thead .us { background: rgba(91,140,255,.18); color: #fff; }
.cmp td.na { color: var(--dim); font-style: italic; }
.m { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 10px; vertical-align: 1px; }
.m.full { background: var(--ok); }
.m.part { background: var(--warn); }
.m.none { border: 1.5px solid var(--dim); }
.cmp-note { margin-top: 16px; font-size: 12.5px; color: var(--dim); max-width: 860px; }

@media (max-width: 1100px) { .suites { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .suites { grid-template-columns: 1fr; }
  .suite { padding: 22px 20px; }
  .cmp th, .cmp td { padding: 14px 14px; font-size: 13.5px; }
}


/* ==========================================================================
   v3 layer: partner typography, flat and square, GetLayers features
   ========================================================================== */
:root { --accent: #2f6be6; --accent-hi: #4a80f0; --line: rgba(255,255,255,.11); --line-2: rgba(255,255,255,.2); --panel: #07090e; }
body { background: #000; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; letter-spacing: -.03em; }
.grad { background: none; -webkit-background-clip: initial; background-clip: initial; color: inherit; }

/* labels: numbered mono, no dashes, no pills */
.label { display: flex; align-items: center; gap: 14px; font: 500 11.5px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 26px; }
.label .idx { color: var(--text); letter-spacing: .08em; }
.label::after { content: ""; flex: 0 0 48px; height: 1px; background: var(--line-2); order: 1; }
.label .idx { order: 0; } .label { flex-wrap: wrap; }

/* buttons: square, solid, mono */
.btn { border-radius: 0; font: 500 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; box-shadow: none !important; }
.btn-primary { background: var(--accent); }
.btn-primary:hover { background: var(--accent-hi); transform: none; }
.btn-ghost { background: transparent; border-color: var(--line-2); }
.btn-ghost:hover { background: transparent; border-color: var(--text); }
.header-cta .btn { height: 40px; }

/* header */
.site-header.scrolled, .site-header.menu-open { background: rgba(0,0,0,.85); }
.brand-mark polygon:nth-child(2) { fill: #fff; }
.nav-btn { font: 500 11.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; border-radius: 0; }
.mega-inner { background: #000; border-radius: 0; box-shadow: none; }
.mega-feature { background: #05070b; }
.mega-label, .muni-group h4 { font-family: var(--mono); }

/* hero */
.hero-glow { background: linear-gradient(90deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.4) 42%, transparent 62%), linear-gradient(180deg, transparent 70%, #000 100%); }
.hero h1 { font-size: clamp(44px, 6vw, 92px); line-height: 1.06; letter-spacing: -.045em; font-weight: 500; max-width: 10em; }
.hero-inner { grid-template-columns: minmax(0, 900px); }
.lede { color: #c9ccd3; }
.hero-scroll { border-radius: 0; }

/* GetLayers text engine output */
.te { display: flex; flex-wrap: wrap; }
h1 .te, h2 .te { line-height: inherit; }
/* word masks clip at the line box, so give descenders room */
h1, h2 { line-height: 1.1; }

/* flat sections */
.section-alt { background: #05070b; }
.strip { background: #000; }
.marquee-track span { font-family: var(--mono); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; }
.marquee-track span::after { border-radius: 0; background: var(--line-2); width: 4px; height: 4px; }

/* platform: ruled cells with codes instead of icon tiles */
.pillars { gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.pillar { background: transparent; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 0; padding: 36px 32px 40px; }
.pillar::before { display: none; }
.pillar:hover { background: #05070b; }
.pillar-code { display: block; font: 500 11.5px var(--mono); letter-spacing: .14em; color: var(--blue-2); margin-bottom: 44px; }
.pillar h3 { font-size: 22px; }

/* consoles, boards, cards: no glow, no gradients */
.console, .board, .neris-card, .fema, .compare-scroll, .demo-form, .suites { box-shadow: none; background: #000; }
.console-bar, .board-bar { background: transparent; }
.kpi, .tile { background: transparent; }
.bars i { background: var(--blue-2); opacity: .55; }
.bars i:last-child { background: #fff; box-shadow: none; opacity: 1; }
.chip { background: transparent; }
.chip::before { border-radius: 0; }
.dept-tab[aria-selected="true"] { background: #05070b; border-color: var(--line-2); }
.suite { background: #000; }
.suite:hover { background: #05070b; }
.suite::after { display: none; }
.suite-ico { border-radius: 0; background: transparent; }
.fema-total { background: #05070b; }
.cmp .us { background: #05070b; }
.cmp thead .us { background: #05070b; box-shadow: inset 0 2px 0 var(--accent); }
.st, .pill, .filter, .tag { border-radius: 0; }
.map-legend, .map-note { border-radius: 0; }
.chart-label, .console-title, .mono, .app-cat, .suite-n, .st, .feed-tag { font-family: var(--mono); }

/* emergency chapter: GetLayers lightning-storm-cloud */
.chapter { position: relative; min-height: 92vh; display: flex; align-items: flex-end; overflow: hidden; border-top: 1px solid var(--line); }
.chapter-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.66) saturate(.85); transform: scale(1.08); will-change: transform; }
.chapter::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #000 0%, rgba(0,0,0,.2) 50%, rgba(0,0,0,.55) 100%); pointer-events: none; }
.chapter-inner { position: relative; z-index: 1; width: 100%; padding-bottom: clamp(56px, 7vw, 96px); }
.chapter h2 { font-size: clamp(44px, 6.4vw, 104px); line-height: 1.06; letter-spacing: -.045em; max-width: 14ch; }
.chapter-copy { margin-top: 26px; max-width: 520px; color: #d2d4da; font-size: 17px; }
#fema { border-top: 0; }

/* mission: GetLayers shader background */
.mission { background: #000; }
.shader-bg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.mission::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,.65) 100%); pointer-events: none; }
.mission-inner { z-index: 1; }
.mission-inner .label { justify-content: center; }
.mission-quote { font-size: clamp(30px, 4.2vw, 60px); line-height: 1.14; letter-spacing: -.035em; max-width: 1000px; font-weight: 500; }
.mission-quote .te { justify-content: center; }

/* demo: GetLayers blue-contour-lines */
.demo { position: relative; overflow: hidden; background: #000; }
.demo-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .16; }
.demo::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, #000 40%, rgba(0,0,0,.5) 75%, rgba(0,0,0,.8)); }
.demo-inner { position: relative; z-index: 1; }
.demo-form { background: rgba(0,0,0,.8); }
.field input, .field textarea, .demo-form .select select { border-radius: 0; background: transparent; }
.demo-mail { font-family: var(--display); }

/* faq */
.faq summary { font-family: var(--display); font-weight: 500; letter-spacing: -.01em; }

/* loader (GetLayers reveal choreography: wordmark + hairline, no counter) */
.loader { position: fixed; inset: 0; z-index: 200; background: #000; display: grid; place-content: center; justify-items: center; gap: 20px; clip-path: inset(0 0 0 0); transition: clip-path 1.1s cubic-bezier(.16,1,.3,1); }
.loader.out { clip-path: inset(0 0 100% 0); }
.loader-word { font: 500 13px var(--mono); letter-spacing: .5em; margin-right: -.5em; color: #fff; animation: lw .9s cubic-bezier(.16,1,.3,1) both; }
@keyframes lw { from { opacity: 0; letter-spacing: .8em; } }
.loader-line { width: 180px; height: 1px; background: var(--line); overflow: hidden; }
.loader-line i { display: block; height: 100%; background: #fff; transform: scaleX(0); transform-origin: left; animation: ll 1.2s .15s cubic-bezier(.16,1,.3,1) forwards; }
@keyframes ll { to { transform: scaleX(1); } }
body.is-loading { overflow: hidden; }
#globe { transition: opacity 2s cubic-bezier(.16,1,.3,1); }
body.is-loading #globe { opacity: 0 !important; }

@media (max-width: 640px) {
  .label::after { display: none; }
  .chapter { min-height: 78vh; }
  .pillar-code { margin-bottom: 24px; }
}
@media (prefers-reduced-motion: reduce) { .chapter-media { transform: none; } }
