/* ==========================================================================
   Lagaam — site styles
   Light, precise, instrument-like. Brand orange + ink, mono labels.
   ========================================================================== */

:root {
  --bg: #FAFAF7;
  --bg-2: #F2F2EC;
  --panel: #FFFFFF;
  --ink: #0C0E11;
  --ink-2: #2B3038;
  --muted: #5E6672;
  --faint: #8B929C;
  --line: #E4E4DD;
  --line-2: #D6D6CD;
  --brand: #FF9F10;
  --brand-2: #FFB547;
  --brand-ink: #A35F00;
  --brand-soft: #FFF2DC;
  --ok: #10A37F;
  --alert: #E5484D;
  --cyan: #00B3C7;
  --radius: 14px;
  --radius-s: 8px;
  --shadow: 0 1px 2px rgba(12,14,17,.04), 0 8px 24px -12px rgba(12,14,17,.12);
  --shadow-l: 0 2px 6px rgba(12,14,17,.05), 0 30px 60px -30px rgba(12,14,17,.25);
  --f-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2,.7,.1,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--brand); color: var(--ink); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; border-radius: 6px; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 820px; }
.wrap--mid { max-width: 1040px; }
.mono { font-family: var(--f-mono); font-size: .78em; letter-spacing: .02em; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; margin-top: 40px; display: flex; justify-content: center; }
.ic { width: 22px; height: 22px; flex: none; }
.ic--s { width: 16px; height: 16px; }

/* ---------- type ---------- */
.h1, .h2, .h3, .h4, h1, h2, h3 { font-family: var(--f-display); font-weight: 600; letter-spacing: -.025em; line-height: 1.05; margin: 0; }
.h1 { font-size: clamp(40px, 6.2vw, 80px); letter-spacing: -.04em; }
.h1--md { font-size: clamp(34px, 4.6vw, 58px); }
.h1--xl { font-size: clamp(42px, 7vw, 96px); max-width: 15ch; }
.h2 { font-size: clamp(30px, 4vw, 52px); letter-spacing: -.035em; max-width: 20ch; }
.h3 { font-size: clamp(24px, 2.6vw, 34px); }
.h4 { font-size: 20px; margin: 28px 0 14px; }
.lead { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; color: var(--ink-2); max-width: 60ch; margin: 18px 0 0; }
.lead--lg { font-size: clamp(19px, 1.8vw, 24px); max-width: 56ch; }
em.hl { font-style: normal; position: relative; white-space: nowrap; color: var(--ink); z-index: 0; }
em.hl::after {
  content: ""; position: absolute; left: -.06em; right: -.06em; bottom: .06em; height: .34em;
  background: var(--brand); z-index: -1; border-radius: 2px;
  transform-origin: left; transform: scaleX(0); animation: hl 1s .35s var(--ease) forwards;
}
@keyframes hl { to { transform: scaleX(1); } }

.label { display: inline-flex; align-items: center; gap: 10px; font: 500 12px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.label__n { display: inline-grid; place-items: center; min-width: 28px; height: 22px; padding: 0 6px; border: 1px solid var(--line-2); border-radius: 4px; color: var(--ink); background: var(--panel); }
.label--light { color: rgba(255,255,255,.7); }
.label--light .label__n { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 13px/1 var(--f-mono); letter-spacing: .04em; color: var(--ink-2); padding: 8px 14px 8px 12px; border: 1px solid var(--line-2); border-radius: 100px; background: rgba(255,255,255,.7); backdrop-filter: blur(6px); margin-bottom: 26px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(16,163,127,.5); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(16,163,127,0); } 100% { box-shadow: 0 0 0 0 rgba(16,163,127,0); } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 46px; padding: 0 22px; border-radius: 100px; font: 600 15px/1 var(--f-body); border: 1px solid transparent; cursor: pointer; transition: transform .2s var(--ease), background .2s, box-shadow .2s, border-color .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:hover .ic { transform: translateX(2px); }
.btn .ic { transition: transform .2s var(--ease); }
.btn--sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn--lg { height: 54px; padding: 0 28px; font-size: 16px; }
.btn--brand { background: var(--brand); color: var(--ink); box-shadow: 0 8px 20px -8px rgba(255,159,16,.7), inset 0 -2px 0 rgba(0,0,0,.08); }
.btn--brand:hover { background: var(--brand-2); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #22262c; }
.btn--line { border-color: var(--line-2); background: var(--panel); }
.btn--line:hover { border-color: var(--ink); }
.btn--ghost-light { border-color: rgba(255,255,255,.3); color: #fff; }
.btn--ghost-light:hover { border-color: #fff; }
.link { width: fit-content; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; border-bottom: 1px solid var(--ink); padding-bottom: 2px; margin-top: 16px; }

.chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 100px; background: var(--panel); border: 1px solid var(--line); font-size: 14px; }
.chip i { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.chip--dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.badge { display: inline-block; padding: 4px 10px; border-radius: 100px; background: var(--brand-soft); color: var(--brand-ink); font: 600 11px/1.2 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; }

/* ---------- announcement + header ---------- */
.ann { background: var(--ink); color: #fff; font-size: 13.5px; }
.ann__in { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 40px; padding-top: 6px; padding-bottom: 6px; text-align: center; flex-wrap: wrap; }
.ann a { color: var(--brand); font-weight: 600; display: inline-flex; gap: 6px; align-items: center; }
.ann__dot { width: 6px; height: 6px; background: var(--brand); border-radius: 50%; }

.hdr { position: sticky; top: 0; z-index: 50; background: rgba(250,250,247,.82); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, background .2s; }
.hdr.is-scrolled { border-bottom-color: var(--line); background: rgba(250,250,247,.94); }
.hdr__in { display: flex; align-items: center; gap: 28px; height: 74px; }
.brand img { height: 38px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: 12px; }
.nav__item { position: static; }
.nav__link { display: inline-flex; align-items: center; gap: 6px; padding: 10px 13px; white-space: nowrap; border-radius: 100px; font-size: 15px; font-weight: 500; color: var(--ink-2); transition: background .15s, color .15s; }
.nav__link:hover, .nav__item:hover > .nav__link, .nav__link.is-active, .nav__item.is-active > .nav__link { color: var(--ink); background: rgba(12,14,17,.05); }
.caret { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: .6; }
.hdr__cta { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.hdr__phone { white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; font: 500 13px var(--f-mono); color: var(--ink-2); }
.burger { display: none; background: none; border: 1px solid var(--line-2); width: 42px; height: 42px; border-radius: 50%; place-items: center; cursor: pointer; }

.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: 0 30px 50px -30px rgba(12,14,17,.25); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s var(--ease), visibility .18s; }
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega__in { padding-top: 28px; padding-bottom: 28px; }
.mega__in--products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.mega__head { font: 500 11px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--faint); padding: 0 10px 10px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.mega__link { display: flex; gap: 12px; padding: 9px 10px; border-radius: 10px; align-items: flex-start; transition: background .15s; }
.mega__link:hover { background: var(--bg); }
.mega__link b { display: block; font-size: 14px; font-weight: 600; }
.mega__link small { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.4; margin-top: 2px; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.mega__ic { flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; background: var(--bg); border: 1px solid var(--line); }
.mega__ic .ic { width: 17px; height: 17px; }
.mega__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.mega__chip { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; font-size: 14px; font-weight: 500; transition: background .15s; }
.mega__chip:hover { background: var(--bg); }
.mega__chip .ic { width: 18px; height: 18px; color: var(--brand-ink); }
.mega__foot { display: inline-flex; gap: 8px; align-items: center; margin-top: 18px; padding: 10px 12px; font-weight: 600; font-size: 14px; }

.drawer { border-top: 1px solid var(--line); background: var(--panel); }
.drawer .wrap { display: flex; flex-direction: column; padding-top: 12px; padding-bottom: 20px; }
.drawer a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-family: var(--f-display); font-size: 20px; font-weight: 500; }
.drawer .btn { margin-top: 18px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 80px) 0 clamp(50px, 6vw, 90px); }
.hero__bg { position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 50% at 80% 30%, rgba(255,159,16,.12), transparent 70%),
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 64px 64px;
  -webkit-mask-image: radial-gradient(80% 70% at 50% 40%, #000 30%, transparent 85%);
          mask-image: radial-gradient(80% 70% at 50% 40%, #000 30%, transparent 85%);
  opacity: .9;
}
.hero__in { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__title { font-size: clamp(42px, 5.6vw, 78px); letter-spacing: -.045em; line-height: 1; }
.hero__text { font-size: clamp(17px, 1.35vw, 19px); color: var(--ink-2); max-width: 54ch; margin: 24px 0 0; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 30px; color: var(--muted); font-size: 12.5px; }
.hero__trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero__trust .ic { color: var(--ok); }

/* camera wall */
.wall { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: auto auto; gap: 10px; padding: 10px; border-radius: 20px; background: var(--ink); box-shadow: var(--shadow-l); }
.wall .feed { border-radius: 10px; }
.wall__a { grid-column: 1 / 4; aspect-ratio: 16 / 7.6; }
.wall__b, .wall__c, .wall__d { aspect-ratio: 4 / 3; }
.wall__b .feed__top span:nth-child(2), .wall__c .feed__top span:nth-child(2), .wall__d .feed__top span:nth-child(2) { display: none; }
.wall__b .feed__tag { font-size: 9px; padding: 4px 6px; left: 10px; bottom: 10px; }
.wall__ticker { grid-column: 1 / 4; display: flex; gap: 14px; align-items: center; color: rgba(255,255,255,.75); font-size: 11.5px; padding: 4px 6px 2px; overflow: hidden; white-space: nowrap; }
.wall__live { color: var(--alert); animation: blink 1.4s steps(2) infinite; }
@keyframes blink { 50% { opacity: .3; } }

/* ---------- camera feed / HUD ---------- */
.feed { position: relative; margin: 0; overflow: hidden; background: #111; isolation: isolate; border-radius: var(--radius); }
.feed > img { width: 100%; height: 100%; object-fit: cover; }
.feed::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35), transparent 22%, transparent 75%, rgba(0,0,0,.35)); pointer-events: none; z-index: 1; }
.feed__scan { position: absolute; left: 0; right: 0; height: 30%; top: -30%; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(255,159,16,.10) 85%, rgba(255,159,16,.5) 99%, transparent);
  animation: scan 5.5s linear infinite; }
@keyframes scan { to { top: 100%; } }
.feed__c { position: absolute; width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.85); z-index: 3; pointer-events: none; }
.feed__c.tl { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.feed__c.tr { top: 10px; right: 10px; border-left: 0; border-bottom: 0; }
.feed__c.bl { bottom: 10px; left: 10px; border-right: 0; border-top: 0; }
.feed__c.br { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }
.feed__top { position: absolute; z-index: 3; top: 14px; left: 36px; right: 36px; display: flex; gap: 12px; align-items: center; font: 500 10.5px/1 var(--f-mono); color: #fff; letter-spacing: .06em; text-shadow: 0 1px 2px rgba(0,0,0,.5); }
.feed__clock { margin-left: auto; }
.rec { display: inline-flex; align-items: center; gap: 5px; }
.rec::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--alert); animation: blink 1.2s steps(2) infinite; }
.feed__tag { position: absolute; z-index: 3; left: 14px; bottom: 14px; padding: 6px 10px; background: var(--brand); color: var(--ink); font: 600 11px/1 var(--f-mono); letter-spacing: .04em; border-radius: 4px; }

.det { position: absolute; z-index: 2; border: 1.5px solid var(--brand); border-radius: 3px; box-shadow: 0 0 0 1px rgba(0,0,0,.25), inset 0 0 0 1px rgba(0,0,0,.15); opacity: 0; animation: det 6s var(--d, 0s) infinite; }
.det i { position: absolute; left: -1.5px; bottom: 100%; margin-bottom: 2px; white-space: nowrap; font: 600 9.5px/1 var(--f-mono); letter-spacing: .03em; font-style: normal; background: var(--brand); color: var(--ink); padding: 3px 5px; border-radius: 2px; }
.det--alert { border-color: var(--alert); }
.det--alert i { background: var(--alert); color: #fff; }
@keyframes det { 0% { opacity: 0; transform: scale(1.12); } 6% { opacity: 1; transform: scale(1); } 80% { opacity: 1; } 88%, 100% { opacity: 0; } }

/* ---------- schematic visuals ---------- */
.viz { position: relative; overflow: hidden; border-radius: var(--radius); }
div.viz { background: linear-gradient(160deg, #FFFFFF, #F4F3EE); border: 1px solid var(--line); }
.viz--card { aspect-ratio: 16 / 10; border-radius: 10px; }
.viz--hero { aspect-ratio: 4 / 3; box-shadow: var(--shadow-l); }
figure.viz--hero { border-radius: 18px; }
div.viz .feed__c { border-color: var(--ink); opacity: .55; width: 14px; height: 14px; }
.viz__grid { position: absolute; inset: 0; background: linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 22px 22px, linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 22px 22px; opacity: .7; -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 80%); mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 80%); }
.viz__meta { position: absolute; z-index: 3; top: 12px; left: 32px; right: 32px; display: flex; justify-content: space-between; font: 500 10.5px var(--f-mono); color: var(--muted); letter-spacing: .06em; }
.viz__live { color: var(--ok); display: inline-flex; gap: 5px; align-items: center; }
.viz__live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); animation: blink 1.4s steps(2) infinite; }
.viz__icon { position: absolute; z-index: 2; left: 50%; top: 50%; translate: -50% -50%; width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; background: var(--ink); color: var(--brand); box-shadow: 0 10px 30px -10px rgba(12,14,17,.5); }
.viz__icon .ic { width: 30px; height: 30px; }
.viz__read { position: absolute; z-index: 3; left: 14px; bottom: 14px; padding: 6px 10px; background: var(--ink); color: #fff; font: 500 11px/1 var(--f-mono); letter-spacing: .03em; border-radius: 4px; }
.viz__read::before { content: "▸ "; color: var(--brand); }
.viz--hero .viz__icon { width: 84px; height: 84px; border-radius: 20px; }
.viz--hero .viz__icon .ic { width: 40px; height: 40px; }

/* radar */
.radar { position: absolute; inset: 0; }
.radar::before, .radar::after { content: ""; position: absolute; left: 50%; top: 50%; translate: -50% -50%; border-radius: 50%; border: 1px dashed var(--line-2); }
.radar::before { width: 62%; aspect-ratio: 1; }
.radar::after { width: 36%; aspect-ratio: 1; border-style: solid; }
.radar__sweep { position: absolute; left: 50%; top: 50%; width: 62%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: conic-gradient(from 0deg, rgba(255,159,16,.35), rgba(255,159,16,0) 25%, transparent); animation: spin 4s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.radar i { position: absolute; left: var(--x); top: var(--y); width: 10px; height: 10px; border-radius: 50%; background: var(--alert); box-shadow: 0 0 0 4px rgba(229,72,77,.18); animation: blip 4s var(--d, 0s) infinite; }
@keyframes blip { 0%, 100% { opacity: .15; } 10%, 40% { opacity: 1; } }

/* gauge */
.gauge { position: absolute; left: 50%; top: 46%; translate: -50% -50%; width: 66%; }
.gauge__track { fill: none; stroke: var(--line-2); stroke-width: 10; stroke-linecap: round; }
.gauge__val { fill: none; stroke: var(--brand); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 252; stroke-dashoffset: 252; animation: gauge 3s var(--ease) .3s forwards; }
@keyframes gauge { to { stroke-dashoffset: 70; } }
.gauge__tick { stroke: var(--faint); stroke-width: 1.5; }
.gauge__needle { transform-origin: 100px 110px; transform: rotate(-90deg); animation: needle 3s var(--ease) .3s forwards, wobble 3s 3.3s ease-in-out infinite alternate; }
.gauge__needle line { stroke: var(--ink); stroke-width: 3; stroke-linecap: round; }
.gauge__needle circle { fill: var(--ink); }
@keyframes needle { to { transform: rotate(40deg); } }
@keyframes wobble { from { transform: rotate(40deg); } to { transform: rotate(46deg); } }
.viz--gauge .viz__icon { top: auto; bottom: 14px; left: auto; right: 14px; translate: none; width: 44px; height: 44px; border-radius: 12px; }
.viz--gauge .viz__icon .ic { width: 22px; height: 22px; }
.spark { position: absolute; left: 0; right: 0; bottom: 0; height: 26%; width: 100%; }
.spark polyline { fill: none; stroke: var(--cyan); stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 3s .5s linear forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* phone */
.phone { position: absolute; left: 50%; top: 54%; translate: -50% -50%; width: 36%; aspect-ratio: 9 / 17; background: var(--ink); border-radius: 22px; padding: 8px; box-shadow: 0 20px 40px -18px rgba(12,14,17,.5); }
.viz--card .phone { width: 30%; top: 56%; border-radius: 16px; padding: 5px; }
.phone__notch { position: absolute; top: 9px; left: 50%; translate: -50% 0; width: 30%; height: 6px; background: #000; border-radius: 4px; z-index: 2; }
.phone__map { position: relative; height: 100%; border-radius: 16px; overflow: hidden; background: #F3F1EA; }
.viz--card .phone__map { border-radius: 12px; }
.phone__map svg { width: 100%; height: 100%; }
.phone__roads { stroke: #fff; stroke-width: 5; fill: none; }
.phone__route { fill: none; stroke: var(--brand); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 260; stroke-dashoffset: 260; animation: draw 3s .4s var(--ease) forwards; }
.phone__pin { position: absolute; right: 10%; top: 6%; width: 12px; height: 12px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 5px rgba(255,159,16,.45); animation: pulse 2s infinite; }
.phone__card { position: absolute; left: 14px; right: 14px; bottom: 14px; background: var(--panel); border-radius: 10px; padding: 8px 10px; box-shadow: var(--shadow); }
.viz--card .phone__card { left: 9px; right: 9px; bottom: 9px; padding: 5px 7px; border-radius: 7px; }
.phone__card b { display: block; font: 600 10px/1.3 var(--f-mono); }
.viz--card .phone__card b { font-size: 7.5px; }
.phone__bar { display: block; height: 4px; background: var(--line); border-radius: 4px; margin-top: 6px; overflow: hidden; }
.phone__bar i { display: block; height: 100%; width: 70%; background: var(--brand); animation: grow 2.5s var(--ease); }
@keyframes grow { from { width: 0; } }

/* wave */
.wave { position: absolute; left: 10%; right: 10%; top: 50%; height: 46%; translate: 0 -50%; display: flex; align-items: center; gap: 2.5%; }
.wave i { flex: 1; height: 20%; background: var(--ink); border-radius: 4px; animation: wave 1.2s calc(var(--i) * -.09s) ease-in-out infinite alternate; }
.wave i:nth-child(3n) { background: var(--brand); }
@keyframes wave { 0% { height: 10%; } 100% { height: 100%; } }
.viz--wave .viz__icon { top: 18%; width: 46px; height: 46px; border-radius: 50%; }
.viz--wave .viz__icon .ic { width: 22px; height: 22px; }

/* dashboard */
.dash { position: absolute; left: 8%; right: 8%; top: 18%; bottom: 20%; display: flex; flex-direction: column; gap: 10%; }
.dash__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.dash__kpis span { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; font: 500 10px var(--f-mono); color: var(--muted); }
.dash__kpis b { font: 600 18px/1 var(--f-display); color: var(--ink); }
.dash__kpis small { display: block; margin-top: 4px; }
.viz--card .dash__kpis b { font-size: 14px; }
.viz--card .dash__kpis span { padding: 5px 7px; font-size: 8px; }
.dash__bars { flex: 1; display: flex; align-items: flex-end; gap: 3%; border-bottom: 1px solid var(--line-2); }
.dash__bars i { flex: 1; height: var(--h); background: linear-gradient(180deg, var(--ink), #3a4049); border-radius: 3px 3px 0 0; transform-origin: bottom; animation: bar 1.4s calc(var(--i) * 60ms) var(--ease) both; }
.dash__bars i:nth-child(7) { background: var(--brand); }
@keyframes bar { from { transform: scaleY(0); } }
.viz--dashboard .viz__icon { display: none; }

/* counting grid */
.cgrid { position: absolute; left: 10%; right: 10%; top: 16%; bottom: 18%; display: grid; grid-template-columns: repeat(14, 1fr); gap: 5px; align-content: center; }
.cgrid i { aspect-ratio: 1; border-radius: 3px; background: var(--line); animation: cell 4s calc(var(--i) * 45ms) infinite; }
@keyframes cell { 0%, 100% { background: var(--line); } 20%, 60% { background: var(--ink); } 25% { background: var(--brand); } }
.viz--grid .viz__icon { display: none; }

/* ---------- stats / marquee ---------- */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--panel); }
.stats__in { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 34px 24px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__v { font: 600 clamp(36px, 4.2vw, 56px)/1 var(--f-display); letter-spacing: -.04em; display: flex; align-items: baseline; gap: 4px; }
.stat__v small { font-size: .42em; color: var(--brand-ink); letter-spacing: 0; }
.stat__l { margin-top: 10px; color: var(--muted); font-size: 14px; }

.marquee { overflow: hidden; border-bottom: 1px solid var(--line); background: var(--bg); padding: 16px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: 40px; width: max-content; animation: marquee 60s linear infinite; }
.marquee__track span { display: inline-flex; align-items: center; gap: 10px; font: 500 15px var(--f-display); color: var(--ink-2); white-space: nowrap; }
.marquee__track .ic { color: var(--brand-ink); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.sec { padding: clamp(64px, 9vw, 120px) 0; }
.sec--tint { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec--flush { padding-top: 0; }
.sec__head { margin-bottom: clamp(36px, 5vw, 56px); }
.sec__head--split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: end; }
.sec__head--split .lead { margin-top: 0; }

/* product cards */
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pcard { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-l); border-color: var(--line-2); }
.pcard .feed { border-radius: 10px; }
.pcard__body { padding: 18px 12px 12px; display: flex; flex-direction: column; flex: 1; }
.pcard__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.pcard__code { color: var(--faint); }
.pcard h3 { font-size: 23px; letter-spacing: -.02em; }
.pcard p { color: var(--muted); font-size: 15px; margin: 10px 0 18px; flex: 1; }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; }
.pcard:hover .more .ic { transform: translateX(3px); }
.more .ic { transition: transform .2s; }

/* demo */
.demo { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 10px; box-shadow: var(--shadow); }
.demo__tabs { display: flex; gap: 6px; padding: 4px 4px 12px; overflow-x: auto; scrollbar-width: none; }
.demo__tab { flex: none; display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 100px; border: 1px solid var(--line); background: var(--bg); cursor: pointer; font-weight: 500; font-size: 14px; transition: all .2s; }
.demo__tab .mono { color: var(--faint); }
.demo__tab.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.demo__tab.is-on .mono { color: var(--brand); }
.demo__stage { display: grid; grid-template-columns: 1fr 340px; gap: 10px; }
.demo__feed { aspect-ratio: 16 / 9; border-radius: 12px; }
.demo__feed img { transition: opacity .35s; }
.log { background: var(--ink); color: #D7DBE0; border-radius: 12px; display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
.log__head, .log__foot { display: flex; justify-content: space-between; padding: 14px 16px; font-size: 11px; color: #8B929C; border-bottom: 1px solid rgba(255,255,255,.08); }
.log__foot { border-bottom: 0; border-top: 1px solid rgba(255,255,255,.08); margin-top: auto; }
.log__fps { color: var(--ok); }
.log__list { list-style: none; margin: 0; padding: 8px 0; font-size: 11.5px; line-height: 1.45; overflow: hidden; flex: 1; display: flex; flex-direction: column; }
.log__list li { padding: 7px 16px; border-left: 2px solid transparent; animation: logIn .4s var(--ease); }
.log__list li:first-child { border-left-color: var(--brand); background: rgba(255,159,16,.07); }
.log__list time { color: #6F7681; margin-right: 8px; }
.log__list .a { color: #FF8A8E; }
@keyframes logIn { from { opacity: 0; transform: translateY(-6px); } }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { position: relative; padding-top: 6px; }
.step__n { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--brand); font-size: 13px; position: relative; z-index: 1; }
.step__line { position: absolute; top: 28px; left: 52px; right: -24px; height: 1px; background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 12px); }
.step:last-child .step__line { display: none; }
.step h3 { font-size: 26px; margin: 22px 0 10px; }
.step p { color: var(--muted); margin: 0; }

/* industries */
.igrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.icard { position: relative; background: var(--panel); padding: 26px 24px 28px; min-height: 220px; display: flex; flex-direction: column; transition: background .25s; }
.icard:hover { background: #FFFDF8; }
.icard__ic { width: 46px; height: 46px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); transition: background .25s, color .25s; }
.icard:hover .icard__ic { background: var(--brand); border-color: var(--brand); }
.icard__n { color: var(--faint); margin-top: 20px; }
.icard h3 { font-size: 21px; margin-top: 6px; }
.icard p { color: var(--muted); font-size: 14.5px; margin: 8px 0 0; }
.icard__arrow { position: absolute; top: 24px; right: 22px; color: var(--faint); transition: transform .25s var(--ease), color .25s; }
.icard:hover .icard__arrow { transform: translate(3px, -3px); color: var(--ink); }

/* public sector band */
.gov { padding: clamp(64px, 9vw, 120px) 0; position: relative; overflow: hidden; }
.gov::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 60% at 15% 50%, rgba(0,179,199,.08), transparent 70%); z-index: -1; }
.gov__in { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.gov__themes { list-style: none; padding: 0; margin: 28px 0 32px; border-top: 1px solid var(--line-2); }
.gov__themes a { display: flex; justify-content: space-between; padding: 14px 2px; border-bottom: 1px solid var(--line-2); font-weight: 500; transition: padding .2s var(--ease), color .2s; }
.gov__themes a:hover { padding-left: 10px; color: var(--brand-ink); }
.gov__themes .mono { color: var(--faint); }
.gov__mosaic { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 110px; gap: 10px; }
.gov__tile { position: relative; border-radius: 12px; overflow: hidden; background: #111; }
.gov__tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gov__tile:hover img { transform: scale(1.05); }
.gov__tile span { position: absolute; left: 10px; right: 10px; bottom: 10px; color: #fff; font-size: 10.5px; line-height: 1.3; text-shadow: 0 1px 3px rgba(0,0,0,.6); z-index: 1; }
.gov__tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 50%, rgba(0,0,0,.6)); }
.gov__tile--0 { grid-column: 1 / 5; grid-row: span 2; }
.gov__tile--1 { grid-column: 5 / 7; grid-row: span 2; }
.gov__tile--2 { grid-column: 1 / 3; grid-row: span 2; }
.gov__tile--3 { grid-column: 3 / 5; grid-row: span 2; }
.gov__tile--4 { grid-column: 5 / 7; grid-row: span 2; }

/* ecosystem */
.eco { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.eco__item { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; transition: border-color .2s, transform .2s var(--ease); }
.eco__item:hover { border-color: var(--ink); transform: translateY(-2px); }
.eco__ic { flex: none; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 10px; background: var(--brand-soft); color: var(--brand-ink); }
.eco__t { flex: 1; min-width: 0; }
.eco__t b { display: block; font-weight: 600; font-size: 15px; }
.eco__t small { color: var(--muted); font-size: 12.5px; }
.eco__go { color: var(--faint); width: 18px; height: 18px; }

/* quotes */
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.quote { margin: 0; padding: 36px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); position: relative; }
.quote__mark { display: block; height: 44px; font: 600 96px/1 var(--f-display); color: var(--brand); margin-bottom: 8px; }
.quote blockquote { margin: 0; font: 500 clamp(19px, 1.7vw, 23px)/1.45 var(--f-display); letter-spacing: -.01em; }
.quote figcaption { margin-top: 26px; display: flex; flex-direction: column; gap: 2px; }
.quote figcaption span { color: var(--muted); font-size: 14px; }
.clients { margin-top: 48px; display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.clients > .mono { color: var(--faint); text-transform: uppercase; letter-spacing: .1em; }
.clients__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; }
.clients__row span { font: 600 20px var(--f-display); color: var(--ink-2); opacity: .55; letter-spacing: -.02em; }

/* posts */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post { display: flex; flex-direction: column; }
.post__img { aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: var(--bg-2); }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post:hover .post__img img { transform: scale(1.04); }
.post__meta { display: flex; gap: 14px; color: var(--muted); margin: 16px 0 8px; }
.post__meta span:first-child { color: var(--brand-ink); }
.post h3 { font-size: 22px; line-height: 1.2; }
.post p { color: var(--muted); font-size: 15px; margin: 8px 0 0; }

/* CTA */
.cta { padding: 0 0 clamp(64px, 9vw, 110px); }
.sec--tint + .cta, .gov + .cta { padding-top: clamp(64px, 9vw, 110px); }
.cta__in { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.4fr auto; gap: 40px; align-items: end; background: var(--ink); color: #fff; border-radius: 24px; padding: clamp(36px, 5vw, 64px); }
.cta__grid { position: absolute; inset: 0; background: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px) 0 0 / 40px 40px, linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px) 0 0 / 40px 40px; -webkit-mask-image: radial-gradient(70% 90% at 100% 0%, #000, transparent 70%); mask-image: radial-gradient(70% 90% at 100% 0%, #000, transparent 70%); pointer-events: none; }
.cta__in::after { content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(255,159,16,.45), transparent 65%); pointer-events: none; }
.cta h2 { font-size: clamp(30px, 3.6vw, 48px); max-width: 20ch; letter-spacing: -.035em; }
.cta p { color: rgba(255,255,255,.7); max-width: 54ch; margin: 16px 0 0; font-size: 17px; }
.cta__actions { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 12px; }

/* ---------- page heads ---------- */
.phead { padding: clamp(36px, 5vw, 64px) 0 clamp(48px, 6vw, 80px); position: relative; }
.phead::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 64px 64px, linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 64px 64px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%); opacity: .6; }
.phead__split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.phead__ic { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: var(--brand); margin-bottom: 20px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; color: var(--faint); margin-bottom: 26px; font-size: 12px; }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--ink-2); }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.jump a, .jump--sticky .wrap a { padding: 9px 16px; border: 1px solid var(--line-2); border-radius: 100px; font-size: 14px; font-weight: 500; background: var(--panel); transition: border-color .2s; white-space: nowrap; }
.jump a:hover { border-color: var(--ink); }
.jump--sticky { position: sticky; top: 74px; z-index: 20; margin: 0; background: rgba(250,250,247,.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); padding: 12px 0; }
.jump--sticky .wrap { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }

/* product hero */
.prod-hero { padding: clamp(32px, 4vw, 56px) 0 clamp(48px, 6vw, 80px); position: relative; }
.prod-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 60% at 85% 40%, rgba(255,159,16,.12), transparent 70%), linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 64px 64px, linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 64px 64px; -webkit-mask-image: linear-gradient(180deg, #000 40%, transparent); mask-image: linear-gradient(180deg, #000 40%, transparent); opacity: .7; }
.prod-hero__in { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.prod-hero__tags { display: flex; gap: 10px; align-items: center; margin-bottom: 18px; }
.prod-hero__tag { font: 500 clamp(19px, 1.8vw, 24px)/1.35 var(--f-display); letter-spacing: -.015em; margin: 16px 0 0; max-width: 30ch; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-top: 26px; padding: 16px 20px; border: 1px dashed var(--brand); background: var(--brand-soft); border-radius: 12px; width: fit-content; max-width: 100%; }
.price__now { font: 700 34px/1 var(--f-display); letter-spacing: -.03em; }
.price__was { color: var(--faint); font-size: 18px; }
.price__note { width: 100%; font-size: 13.5px; color: var(--brand-ink); }
.deployed { margin-top: 22px; padding: 14px 18px; border-left: 3px solid var(--brand); background: var(--panel); border-radius: 0 10px 10px 0; display: flex; flex-direction: column; gap: 4px; max-width: 46ch; }
.deployed .mono { color: var(--faint); text-transform: uppercase; letter-spacing: .08em; }

.detect { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--panel); }
.detect__in { display: flex; gap: 24px; align-items: center; padding-top: 20px; padding-bottom: 20px; }
.detect__label { flex: none; color: var(--faint); text-transform: uppercase; letter-spacing: .1em; }
.detect__chips { display: flex; flex-wrap: wrap; gap: 8px; }

.prose-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); }
.prose { font-size: 17.5px; line-height: 1.7; color: var(--ink-2); }
.prose p { margin: 0 0 1.1em; }
.prose h2 { font-size: 28px; margin: 1.6em 0 .6em; color: var(--ink); }
.prose h3 { font-size: 22px; margin: 1.4em 0 .5em; color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin: .35em 0; }
.prose li::marker { color: var(--brand-ink); }
.prose a { color: var(--brand-ink); text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--brand); font: 500 21px/1.5 var(--f-display); color: var(--ink); }
.prose img { border-radius: 12px; margin: 1.5em 0; }
.prose--article { font-size: 18px; }
.prose > :first-child { margin-top: 0; }

.fgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fgrid--4 { grid-template-columns: repeat(4, 1fr); }
.feat { position: relative; padding: 28px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.feat__ic { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: var(--brand); margin-bottom: 22px; }
.feat__n { position: absolute; top: 24px; right: 24px; color: var(--faint); }
.feat h3 { font-size: 21px; margin-bottom: 8px; }
.feat p { color: var(--muted); margin: 0; font-size: 15px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; }
.ticks li { display: flex; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
.ticks .ic { color: var(--ink); background: var(--brand); border-radius: 50%; padding: 3px; width: 22px; height: 22px; margin-top: 2px; }
.buyers { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.buyer { padding: 12px 18px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--panel); font-weight: 500; }

.specs { margin: 0; border-top: 1px solid var(--ink); }
.specs > div { display: grid; grid-template-columns: 180px 1fr; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.specs dt { color: var(--muted); text-transform: uppercase; letter-spacing: .06em; padding-top: 3px; }
.specs dd { margin: 0; font-weight: 500; }

.faq details { border-bottom: 1px solid var(--line-2); }
.faq details:first-child { border-top: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; font: 500 19px/1.35 var(--f-display); }
.faq summary::-webkit-details-marker { display: none; }
.faq__x { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: transform .25s var(--ease), background .2s; }
.faq details[open] .faq__x { transform: rotate(45deg); background: var(--brand); border-color: var(--brand); }
.faq details p { margin: 0 0 22px; color: var(--muted); max-width: 60ch; }

/* industry detail */
.probs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.prob { padding: 26px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.prob .mono { color: var(--alert); }
.prob p { font: 500 20px/1.35 var(--f-display); margin: 12px 0 0; letter-spacing: -.01em; }

.ucgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.uc { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px; transition: border-color .2s, box-shadow .2s; }
.uc:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.uc__top { display: flex; justify-content: space-between; align-items: center; color: var(--faint); }
.uc__top a.mono:hover { color: var(--brand-ink); }
.uc__ic { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: var(--bg); border: 1px solid var(--line); color: var(--ink); }
.uc h3 { font-size: 19px; margin: 12px 0 14px; letter-spacing: -.015em; }
.uc dl { margin: 0; display: grid; gap: 8px; }
.uc dl div { display: grid; grid-template-columns: 58px 1fr; gap: 10px; font-size: 14px; }
.uc dt { color: var(--faint); text-transform: uppercase; padding-top: 2px; font-size: 10.5px; letter-spacing: .08em; }
.uc dd { margin: 0; color: var(--ink-2); }

/* use case library */
.ucbar { display: flex; gap: 16px; align-items: center; margin-bottom: 16px; }
.search { flex: 1; display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 20px; background: var(--panel); border: 1px solid var(--line-2); border-radius: 100px; transition: border-color .2s, box-shadow .2s; }
.search:focus-within { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(255,159,16,.2); }
.search input { flex: 1; border: 0; outline: 0; background: none; font: 400 16px var(--f-body); color: var(--ink); min-width: 0; }
.ucbar__count { color: var(--muted); white-space: nowrap; }
.filters { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 28px; }
.filter { padding: 7px 13px; border: 1px solid var(--line); border-radius: 100px; background: var(--panel); cursor: pointer; font-size: 13px; font-weight: 500; transition: all .15s; }
.filter:hover { border-color: var(--ink); }
.filter.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.uc[hidden] { display: none; }
.empty { text-align: center; padding: 40px; color: var(--muted); }
.empty a { color: var(--brand-ink); text-decoration: underline; }

/* government */
.govhero { position: relative; padding: clamp(36px, 5vw, 64px) 0 clamp(56px, 8vw, 110px); overflow: hidden; isolation: isolate; }
.govhero__bg { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 70%; object-fit: cover; object-position: center 40%; z-index: -2; }
.govhero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--bg) 35%, rgba(250,250,247,.82) 62%, rgba(250,250,247,.35)); }
.govhero .h1 { max-width: 16ch; }
.govhero__facts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.govhero__facts div { padding: 16px 22px; background: rgba(255,255,255,.85); backdrop-filter: blur(8px); border: 1px solid var(--line); border-radius: 12px; display: flex; flex-direction: column; min-width: 150px; }
.govhero__facts b { font: 600 34px/1 var(--f-display); letter-spacing: -.03em; }
.govhero__facts span { color: var(--muted); font-size: 13.5px; margin-top: 6px; }
.ggrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gcard { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; }
.gcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-l); }
.gcard__img { position: relative; aspect-ratio: 16 / 9; background: #111; overflow: hidden; }
.gcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gcard:hover .gcard__img img { transform: scale(1.05); }
.gcard__ic { position: absolute; left: 14px; bottom: -20px; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brand); border: 3px solid var(--panel); z-index: 1; }
.gcard__body { padding: 32px 22px 24px; }
.gcard__for { color: var(--faint); display: block; margin-bottom: 8px; }
.gcard h3 { font-size: 21px; line-height: 1.2; }
.gcard p { color: var(--muted); font-size: 14.5px; margin: 10px 0 0; }
.outcomes { list-style: none; padding: 0; margin: 0; counter-reset: o; }
.outcomes li { display: flex; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line-2); font-size: 17px; }
.outcomes .mono { color: var(--brand-ink); padding-top: 4px; }
.engage { list-style: none; padding: 0; margin: 0; counter-reset: e; }
.engage li { position: relative; padding: 0 0 28px 56px; counter-increment: e; }
.engage li::before { content: counter(e, decimal-leading-zero); position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: var(--brand); font: 500 12px var(--f-mono); display: grid; place-items: center; }
.engage li::after { content: ""; position: absolute; left: 19px; top: 44px; bottom: 6px; width: 1px; background: var(--line-2); }
.engage li:last-child::after { display: none; }
.engage b { display: block; font: 600 20px var(--f-display); margin: 6px 0 4px; }
.engage span { color: var(--muted); }

/* about */
.about-band { position: relative; border-radius: 22px; overflow: hidden; }
.about-band img { width: 100%; height: clamp(260px, 36vw, 460px); object-fit: cover; }
.about-band__stats { position: absolute; left: 20px; bottom: 20px; display: flex; gap: 10px; flex-wrap: wrap; }
.about-band__stats div { background: rgba(255,255,255,.92); backdrop-filter: blur(8px); padding: 14px 20px; border-radius: 12px; display: flex; flex-direction: column; }
.about-band__stats b { font: 600 32px/1 var(--f-display); letter-spacing: -.03em; }
.about-band__stats span { color: var(--muted); font-size: 13px; margin-top: 4px; }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 2px solid var(--ink); }
.timeline li { padding: 24px 24px 0 0; position: relative; }
.timeline li::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--brand); border: 2px solid var(--ink); }
.timeline .mono { color: var(--faint); font-size: 13px; }
.timeline p { font: 500 20px/1.35 var(--f-display); margin: 10px 0 0; }

/* contact */
.contact { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.contact__form { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: clamp(24px, 3vw, 40px); box-shadow: var(--shadow); }
.fgroup { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px; }
.fgroup label { display: flex; flex-direction: column; gap: 8px; }
.fgroup label > span { font: 500 12px var(--f-mono); letter-spacing: .04em; color: var(--muted); text-transform: uppercase; }
.fgroup .span2 { grid-column: 1 / 3; }
.fgroup input, .fgroup select, .fgroup textarea { width: 100%; font: 400 16px var(--f-body); color: var(--ink); background: var(--bg); border: 1px solid var(--line-2); border-radius: 10px; padding: 13px 14px; outline: 0; transition: border-color .2s, box-shadow .2s, background .2s; }
.fgroup input:focus, .fgroup select:focus, .fgroup textarea:focus { border-color: var(--ink); background: var(--panel); box-shadow: 0 0 0 4px rgba(255,159,16,.2); }
.fgroup textarea { resize: vertical; }
.hp { position: absolute !important; left: -9999px !important; }
.alert { background: #FDECEC; border: 1px solid #F5C2C3; color: #8A1C20; border-radius: 10px; padding: 12px 16px; margin-bottom: 20px; }
.alert p { margin: 2px 0; }
.sent { text-align: center; padding: 30px 10px; }
.sent__ic { width: 64px; height: 64px; border-radius: 50%; background: var(--ok); color: #fff; display: inline-grid; place-items: center; margin-bottom: 20px; }
.sent p { color: var(--muted); margin: 12px 0 24px; }
.contact__side { display: flex; flex-direction: column; gap: 10px; }
.cline { display: flex; gap: 16px; align-items: center; padding: 18px 20px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; transition: border-color .2s; }
a.cline:hover { border-color: var(--ink); }
.cline__ic { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-ink); display: grid; place-items: center; }
.cline small { display: block; color: var(--faint); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 2px; }
.cline b { font-weight: 600; }
.map { width: 100%; height: 260px; border: 0; border-radius: 14px; }

.article__img { width: 100%; border-radius: 18px; aspect-ratio: 16 / 8; object-fit: cover; }

/* 404 */
.nf { padding: clamp(60px, 10vw, 140px) 0; }
.nf__in { display: grid; grid-template-columns: 320px 1fr; gap: 56px; align-items: center; }
.nf__viz { aspect-ratio: 1; }

/* ---------- footer ---------- */
.ftr { background: var(--ink); color: #C8CDD3; padding-top: clamp(56px, 7vw, 90px); overflow: hidden; }
.ftr__top { display: grid; grid-template-columns: 1fr 2fr; gap: 56px; }
.ftr__brand img { height: 44px; width: auto; }
.ftr__brand p { color: #8B929C; max-width: 36ch; margin: 22px 0; font-size: 15px; }
.ftr__social { display: flex; gap: 8px; }
.ftr__social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.15); display: grid; place-items: center; transition: border-color .2s, color .2s; }
.ftr__social a:hover { border-color: var(--brand); color: var(--brand); }
.ftr__social .ic { width: 18px; height: 18px; }
.ftr__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.ftr__cols h4 { margin: 0 0 16px; font: 500 11px var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: #6F7681; }
.ftr__cols a, .ftr__addr { display: block; padding: 5px 0; font-size: 14.5px; }
.ftr__cols a:hover { color: var(--brand); }
.ftr__addr { color: #8B929C; }
.ftr__mark { margin: 64px 0 -2px; }
.ftr__mark svg { width: 100%; height: auto; }
.ftr__mark path, .ftr__mark polygon { fill: none; stroke: rgba(255,255,255,.14); stroke-width: .6; vector-effect: non-scaling-stroke; }
.ftr__mark .o { stroke: rgba(255,159,16,.45); }
.ftr__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 22px 0 28px; border-top: 1px solid rgba(255,255,255,.08); font-size: 13px; color: #6F7681; position: relative; }

.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(0,0,0,.4); transition: transform .2s var(--ease); }
.wa-float:hover { transform: scale(1.06); }
.wa-float .ic { width: 28px; height: 28px; }

/* ---------- reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease) var(--rd, 0ms), transform .8s var(--ease) var(--rd, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .det { opacity: 1; }
}

/* ---------- responsive ---------- */
@media (max-width: 1280px) {
  .hdr__phone { display: none; }
  .mega__grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1020px) {
  .nav { display: none; }
  .burger { display: grid; }
  .hero__in, .prod-hero__in, .phead__split, .gov__in { grid-template-columns: 1fr; }
  .sec__head--split { grid-template-columns: 1fr; gap: 16px; }
  .pgrid, .ggrid, .posts, .fgrid { grid-template-columns: 1fr 1fr; }
  .fgrid--4 { grid-template-columns: 1fr 1fr; }
  .igrid { grid-template-columns: repeat(3, 1fr); }
  .ucgrid { grid-template-columns: 1fr 1fr; }
  .demo__stage { grid-template-columns: 1fr; }
  .log { max-height: 280px; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .step__line { display: none; }
  .eco { grid-template-columns: 1fr 1fr; }
  .split, .prose-grid, .contact { grid-template-columns: 1fr; }
  .ftr__top { grid-template-columns: 1fr; }
  .cta__in { grid-template-columns: 1fr; align-items: start; }
  .cta__actions { flex-direction: row; flex-wrap: wrap; }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 30px; }
}
@media (max-width: 700px) {
  body { font-size: 15.5px; }
  .hdr__in { height: 64px; gap: 12px; }
  .hdr__cta .btn { display: none; }
  .brand img { height: 30px; }
  .jump--sticky { top: 64px; }
  .stats__in { grid-template-columns: 1fr 1fr; }
  .stat { padding: 24px 0 24px 18px; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .pgrid, .ggrid, .posts, .fgrid, .fgrid--4, .ucgrid, .eco, .quotes, .probs { grid-template-columns: 1fr; }
  .igrid { grid-template-columns: 1fr 1fr; }
  .icard { min-height: 0; padding: 20px 18px; }
  .icard p { display: none; }
  .steps { grid-template-columns: 1fr; }
  .wall { padding: 6px; gap: 6px; border-radius: 14px; }
  .feed__top { font-size: 9px; left: 30px; right: 30px; top: 12px; gap: 8px; }
  .det i { font-size: 8px; }
  .wall__b .feed__top, .wall__c .feed__top, .wall__d .feed__top, .wall__b .feed__tag { display: none; }
  .wall .feed__c { width: 12px; height: 12px; }
  .gov__mosaic { grid-auto-rows: 80px; }
  .fgroup { grid-template-columns: 1fr; }
  .fgroup .span2 { grid-column: auto; }
  .specs > div { grid-template-columns: 1fr; gap: 4px; }
  .detect__in { flex-direction: column; align-items: flex-start; gap: 12px; }
  .nf__in { grid-template-columns: 1fr; }
  .nf__viz { max-width: 240px; }
  .timeline { grid-template-columns: 1fr; }
  .ucbar { flex-direction: column; align-items: stretch; }
  .ftr__cols { grid-template-columns: 1fr 1fr; }
  .quote { padding: 26px; }
  .price__now { font-size: 28px; }
  .wa-float { width: 50px; height: 50px; right: 14px; bottom: 14px; }
}
