/* Layout: Monad-derived editorial layout on a neutral #f5f5f5 canvas, Montserrat throughout, Intelense brand gradient as the only colour; single light look by design */
:root {
  color-scheme: light;
  --parchment: #f5f5f5; /* page canvas */
  /* Intelense brand gradient stops, in order; slate is kept out of the blend */
  --g-blue: #0A34ED;
  --g-violet: #7C28E9;
  --g-coral: #FF7953;
  --g-sky: #78AFCF;
  --g-teal: #73C4C5;
  --brand-gradient: linear-gradient(90deg, var(--g-blue) 0%, var(--g-violet) 25%, var(--g-coral) 50%, var(--g-sky) 75%, var(--g-teal) 100%);
  --brand-conic: conic-gradient(from 200deg, var(--g-blue), var(--g-violet), var(--g-coral), var(--g-sky), var(--g-teal), var(--g-blue));
  --lake-blue: var(--g-blue); /* single primary action colour */
  --periwinkle: #d9dcf7;      /* featured card, nudged toward the brand blue/violet */
  --sky: var(--g-sky);
  --mint: var(--g-teal);
  --coral: var(--g-coral);
  --off-black: #242424;
  --ink: #000000;
  --graphite: #4e4d4d;
  --smoke: #6C6E82; /* brand slate: taglines, labels, helper text */
  --ash: #d8d8dc;
  --white: #ffffff;
  --screen: #151515;

  --font: "Montserrat", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --max: 1432px;
  --gutter: clamp(16px, 4vw, 56px);
  --section: clamp(72px, 9vw, 128px);
  --radius-card: 40px;
}
* { box-sizing: border-box; }
html { background: var(--parchment); }
body {
  margin: 0;
  background: var(--parchment);
  color: var(--off-black);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
:focus-visible { outline: 2px solid var(--lake-blue); outline-offset: 3px; }
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }

h1, h2, h3, .serif {
  font-family: var(--font);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(38px, 6vw, 76px); line-height: 1.06; }
h2 { font-size: clamp(30px, 3.6vw, 48px); }
h3 { font-size: 24px; line-height: 1.2; }
p { margin: 0; }
.lede { font-size: clamp(16px, 1.4vw, 19px); line-height: 1.6; color: var(--graphite); max-width: 60ch; }
.eyebrow {
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--smoke); display: inline-flex; gap: 10px; align-items: center;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, var(--g-blue), var(--g-violet) 50%, var(--g-coral)); }

/* Cursor-reactive grid layer, scoped to the hero (see cursor-grid.js) */
.cursor-grid { position: absolute; inset: 0; z-index: -1; pointer-events: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em;
  padding: 15px 30px; border-radius: 100px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .2s ease, background-color .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-blue { background: #0A34ED; color: #fff; }
.btn-blue::after { content: "▸"; font-size: 12px; }
.btn-blue:hover { background: #0829c4; }
.btn-black { background: var(--off-black); color: var(--parchment); }
.btn-ghost { border-color: var(--off-black); color: var(--off-black); background: transparent; }
.btn-ghost:hover { background: var(--off-black); color: var(--parchment); }
.link-arrow { font-size: 14px; text-transform: uppercase; text-decoration: none; display: inline-flex; gap: 8px; }
.link-arrow::after { content: "→"; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(4px); }

/* Announcement */
.announce { position: relative; background: #000; color: #f5f5f5; font-size: 14px; }
.announce::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--brand-gradient); }
.announce .wrap { display: flex; align-items: center; justify-content: center; gap: 16px; min-height: 44px; padding-block: 8px; flex-wrap: wrap; text-align: center; }
.announce .pill {
  border: 1px solid #f5f5f5; border-radius: 9999px; padding: 5px 14px;
  font-size: 12px; text-transform: uppercase; text-decoration: none;
}
.announce .pill:hover { background: #f5f5f5; color: #000; }
.tag-new {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.02em;
  background: var(--mint); color: #242424; border-radius: 9999px; padding: 3px 9px;
}

/* Nav */
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; padding-block: 12px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font); font-size: 25px; font-weight: 600; letter-spacing: -0.03em; }
.logo img { display: block; height: 26px; width: auto; }
.logo-mark { width: 26px; height: 26px; border-radius: 50%; background: var(--brand-conic); display: grid; place-items: center; }
.logo-mark::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--parchment); }
.nav-links { display: flex; gap: 32px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; text-transform: uppercase; font-size: 13px; font-weight: 500; }
.nav-links a:hover { color: var(--lake-blue); }
.nav-cta { display: flex; gap: 10px; }
.nav-cta .btn { padding: 12px 22px; font-size: 13px; }

/* Hero */
.hero { position: relative; padding-block: clamp(56px, 8vw, 112px) clamp(64px, 8vw, 120px); text-align: center; isolation: isolate; }
.wash { position: absolute; z-index: -1; border-radius: 50%; filter: blur(70px); pointer-events: none; }
.wash-a { width: 46vw; height: 30vw; max-width: 640px; max-height: 420px; left: 6%; top: 18%; background: radial-gradient(circle, rgba(255,121,83,.6), rgba(255,121,83,0) 70%); }
.wash-b { width: 50vw; height: 34vw; max-width: 700px; max-height: 460px; right: 4%; top: 6%; background: radial-gradient(circle, rgba(124,40,233,.38), rgba(10,52,237,.18) 45%, rgba(10,52,237,0) 70%); }
.wash-c { width: 34vw; height: 22vw; max-width: 480px; max-height: 300px; left: 38%; bottom: 0; background: radial-gradient(circle, rgba(115,196,197,.75), rgba(120,175,207,.3) 45%, rgba(115,196,197,0) 70%); }
.hero h1 { max-width: 16ch; margin: 28px auto 0; }
.hero h1 .hl { background-image: var(--brand-gradient); background-repeat: no-repeat; background-size: 100% 4px; background-position: 0 94%; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hero .lede { margin: 28px auto 0; color: var(--smoke); }
.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
.hero-meta { display: flex; gap: 10px 28px; justify-content: center; flex-wrap: wrap; margin-top: 48px; font-size: 12px; text-transform: uppercase; color: var(--smoke); }

/* Section heads */
section.block { padding-block: var(--section); border-top: 1px solid var(--ash); }
.head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: 56px; }
.head h2 { margin-top: 18px; }
.head .lede { justify-self: end; }

/* Pipeline diagram */
.flow { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 40px clamp(48px, 9vw, 160px); padding: clamp(28px, 4vw, 56px); border: 1px solid var(--ash); border-radius: var(--radius-card); overflow: hidden; }
.flow svg.lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.flow svg path { fill: none; stroke: url(#flow-g); stroke-width: 1.4; opacity: .75; }
.flow svg circle { fill: var(--g-violet); }
.col { display: flex; flex-direction: column; gap: 14px; position: relative; z-index: 1; }
.col-label { font-size: 12px; text-transform: uppercase; color: var(--smoke); margin-bottom: 4px; }
.col.out { align-items: flex-end; }
.col.out .col-label { align-self: flex-end; }
.node {
  display: inline-flex; align-items: center; gap: 10px; align-self: flex-start;
  background: var(--parchment); border: 1px solid var(--ash); border-radius: 9999px;
  padding: 11px 20px; font-size: 14px; text-transform: uppercase; white-space: nowrap;
}
.col.out .node { align-self: flex-end; }
.node svg { width: 14px; height: 14px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.6; }
.hub { position: relative; z-index: 1; display: grid; place-items: center; }
.hub::before { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(115,196,197,.75), rgba(124,40,233,.22) 45%, rgba(255,121,83,0) 68%); filter: blur(8px); }
.hub-core {
  position: relative; width: 180px; height: 180px; border-radius: 50%;
  background: var(--parchment); border: 1px solid var(--ash);
  display: grid; place-content: center; text-align: center; gap: 6px;
}
.hub-core .serif { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.hub-core span { font-size: 11px; text-transform: uppercase; color: var(--smoke); }
.hub-ring { position: absolute; inset: -14px; border-radius: 50%; border: 1.5px dashed var(--g-violet); opacity: .55; animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 40px; }
.steps div { border-top: 1px solid var(--ash); padding-top: 18px; }
.steps b { display: block; font-weight: 500; text-transform: uppercase; font-size: 14px; margin-bottom: 8px; }
.steps p { color: var(--graphite); font-size: 15px; }

/* Demo panel */

/* Modules */
.modules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card {
  border: 1px solid var(--ash); border-radius: var(--radius-card); padding: 40px;
  display: flex; flex-direction: column; gap: 14px; min-width: 0;
  transition: border-color .2s, transform .2s;
}
.card:hover { border-color: var(--off-black); }
.card-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.icon { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--ash); display: grid; place-items: center; }
.icon svg { width: 22px; height: 22px; stroke: url(#brand-g); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.card .kind { font-size: 12px; text-transform: uppercase; color: var(--smoke); }
.card p { color: var(--graphite); }
.card .link-arrow { margin-top: auto; padding-top: 12px; }
.card.feature {
  grid-column: 1 / -1; background: var(--periwinkle); border-color: transparent;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; position: relative; overflow: hidden;
}
.card.feature h3 { font-size: clamp(36px, 4vw, 52px); }
.card.feature .feat-copy { display: flex; flex-direction: column; gap: 16px; position: relative; z-index: 1; }
.card.feature .icon { border-color: var(--off-black); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chip { font-size: 12px; text-transform: uppercase; border: 1px solid rgba(36,36,36,.35); border-radius: 9999px; padding: 6px 12px; }

/* Sectors + proof */
.sectors { display: flex; flex-wrap: wrap; gap: 10px; }
.sectors span { border: 1px solid var(--ash); border-radius: 9999px; padding: 12px 22px; font-size: 14px; text-transform: uppercase; }
.proof { display: flex; align-items: center; gap: 24px 48px; flex-wrap: wrap; margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--ash); }
.proof .lbl { font-size: 12px; text-transform: uppercase; color: var(--smoke); }
.proof .mark { font-family: var(--font); font-weight: 600; font-size: clamp(18px, 1.7vw, 24px); color: var(--smoke); letter-spacing: -0.02em; }
.proof .marks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 36px; flex: 1 1 420px; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 40px 64px; }
details { border-bottom: 1px solid var(--ash); }
details:first-of-type { border-top: 1px solid var(--ash); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 32px; font-family: var(--font); font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -0.02em; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "↓"; font-family: var(--font); font-size: 20px; transition: transform .25s; flex: none; }
details[open] summary::after { transform: rotate(180deg); }
details p { color: var(--graphite); padding-bottom: 32px; max-width: 62ch; }

/* CTA + footer */
.cta { position: relative; isolation: isolate; text-align: center; padding-block: var(--section); border-top: 1px solid var(--ash); overflow: hidden; }
.cta h2 { font-size: clamp(40px, 6vw, 80px); max-width: 16ch; margin: 0 auto; }
.cta .hero-ctas { margin-top: 36px; }
footer { position: relative; background: #242424; color: #c9c5c2; padding-block: 64px 40px; font-size: 14px; }
footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--brand-gradient); }
.foot { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
footer .logo { color: #f5f5f5; }
footer .logo-mark::after { background: #242424; }
footer h4 { margin: 0 0 14px; font-weight: 500; font-size: 12px; text-transform: uppercase; color: #8f8b88; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
footer a { text-decoration: none; }
footer a:hover { color: #f5f5f5; }
.email { user-select: all; color: #f5f5f5; }
.legal { margin-top: 56px; padding-top: 24px; border-top: 1px solid #3a3a3a; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12px; color: #8f8b88; text-transform: uppercase; }

.mod-logo { display: block; max-width: 100%; height: auto; }
.card { --mod: var(--ash); }
.card:hover { border-color: var(--mod); }
.card .kind { display: inline-flex; align-items: center; gap: 8px; }
.card .kind::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mod); flex: none; }
.card .link-arrow::after { color: var(--mod); }
.card h3 { margin-bottom: 4px; }
.card.feature .mod-logo { margin-block: 4px 8px; }
/* KenVision console (product-style dark UI) */
.console {
  --c-bg: #101114; --c-panel: #16171b; --c-line: #25262c; --c-text: #e9e9ec; --c-muted: #9b9daf;
  position: relative; background: var(--c-bg); color: var(--c-text); border-radius: 28px; overflow: hidden;
  border: 1px solid #000; font-size: 13px; line-height: 1.4;
}
.console::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--brand-gradient); z-index: 3; }
.c-top { display: flex; align-items: center; gap: 20px; padding: 16px 20px; border-bottom: 1px solid var(--c-line); flex-wrap: wrap; }
.c-top .c-logo { height: 30px; width: auto; display: block; }
.c-site { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid var(--c-line); border-radius: 9999px; color: var(--c-text); font-size: 12px; font-weight: 500; white-space: nowrap; }
.c-site::after { content: "▾"; color: var(--c-muted); font-size: 10px; }
.c-tabs { display: flex; gap: 4px; margin-left: 8px; }
.c-tabs span { padding: 7px 12px; border-radius: 9999px; color: var(--c-muted); font-size: 12px; font-weight: 500; }
.c-tabs span.on { background: #24262d; color: var(--c-text); }
.c-right { margin-left: auto; display: flex; align-items: center; gap: 14px; font-size: 12px; color: var(--c-muted); }
.c-live { display: inline-flex; align-items: center; gap: 6px; color: var(--c-text); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; font-size: 11px; }
.c-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--g-coral); animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: .25; } }
#clock { font-variant-numeric: tabular-nums; color: var(--c-text); }
.c-avatar { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 600; color: #fff; background: linear-gradient(135deg, var(--g-blue), var(--g-violet)); }
.c-body { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr); }
.c-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 6px; background: #000; min-width: 0; }
.tile { position: relative; margin: 0; min-width: 0; background: #0b0b0c; }
.tile.big { grid-column: 1 / -1; }
.tile canvas { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; max-width: 100%; }
.tile-tag { position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 9999px; background: rgba(16,17,20,.82); font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--c-text); }
.tile-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--dot, var(--g-teal)); }
.tile-tag.hot { --dot: var(--g-coral); }
.c-side { border-left: 1px solid var(--c-line); padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 14px; min-width: 0; background: var(--c-panel); }
.c-h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--c-muted); }
.c-h b { color: var(--c-text); font-weight: 600; }
.alerts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.alerts li { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; padding: 10px; border-radius: 14px; background: #1d1f24; border: 1px solid var(--c-line); position: relative; }
.alerts li.sev-high { border-color: rgba(255,121,83,.45); }
.alerts .thumb { width: 112px; height: 63px; border-radius: 8px; display: block; background: #000; }
.alerts .a-title { font-weight: 600; font-size: 13px; line-height: 1.3; color: var(--c-text); }
.alerts .a-meta { display: block; margin-top: 4px; font-size: 11px; color: var(--c-muted); font-variant-numeric: tabular-nums; }
.sev { display: flex; width: fit-content; align-items: center; gap: 5px; margin-bottom: 4px; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--dot); }
.sev::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--dot); }
.sev-high .sev { --dot: var(--g-coral); }
.sev-med .sev { --dot: #c9b6ff; }
.sev-low .sev { --dot: var(--g-teal); }
.a-acts { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.a-acts span { font-size: 11px; font-weight: 600; padding: 5px 10px; border-radius: 9999px; border: 1px solid #3a3c45; color: var(--c-text); }
.a-acts span.pri { background: var(--g-blue); border-color: var(--g-blue); color: #fff; }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.kpis div { padding: 10px 12px; border-radius: 12px; background: #1d1f24; border: 1px solid var(--c-line); }
.kpis span { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--c-muted); font-weight: 600; }
.kpis b { display: block; margin-top: 4px; font-size: 20px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.bars { width: 100%; height: auto; display: block; }
.bars text { fill: var(--c-muted); font: 500 9px var(--font); }
.demo-note { margin-top: 16px; font-size: 12px; color: var(--smoke); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 500; }

/* KenVision feature card: live crowd-density view */
.snap { position: relative; border-radius: 24px; overflow: hidden; background: #0b0b0c; box-shadow: 0 0 0 1px rgba(36,36,36,.12); min-width: 0; }
.snap canvas { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; max-width: 100%; }
.snap-ui { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; gap: 8px; flex-wrap: wrap; }
.snap-ui span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 9999px; background: rgba(16,17,20,.85); color: #e9e9ec; font-size: 11px; font-weight: 600; letter-spacing: 0.02em; }
.snap-ui span b { font-weight: 600; font-variant-numeric: tabular-nums; }
.snap-ui .lvl::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--g-coral); }
.snap-legend { margin-left: auto; display: flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 9999px; background: rgba(16,17,20,.85); color: #e9e9ec; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.snap-legend i { width: 54px; height: 6px; border-radius: 9999px; background: linear-gradient(90deg, var(--g-teal), var(--g-violet), var(--g-coral)); }

@media (max-width: 1080px) {
  .c-body { grid-template-columns: minmax(0, 1fr); }
  .c-side { border-left: 0; border-top: 1px solid var(--c-line); }
  .c-tabs { display: none; }
}
@media (max-width: 640px) {
  .console { border-radius: 20px; }
  .c-grid { grid-template-columns: minmax(0, 1fr); }
  .c-site, .c-avatar { display: none; }
  .alerts li { grid-template-columns: 88px minmax(0, 1fr); }
  .alerts .thumb { width: 88px; height: 50px; }
}

/* Montserrat caps need open tracking */
.eyebrow, .btn, .announce .pill, .tag-new, .nav-links a, .hero-meta, .col-label, .node, .hub-core span,
.steps b, .box span, .zone span, .hud, .log-sub, .events .lvl, .demo-note, .card .kind, .chip, .link-arrow,
.sectors span, .proof .lbl, footer h4, .legal, .art .bracket b { letter-spacing: 0.06em; }
.eyebrow, .col-label, .card .kind, .proof .lbl, .hero-meta, .log-sub, .demo-note, .legal { font-weight: 500; }
.events time { font-variant-numeric: tabular-nums; }

/* Responsive */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .modules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--brand-gradient); }
.foot { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .head, .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .head .lede { justify-self: start; }
  .flow { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 20px; }
  .flow svg.lines { display: none; }
  .col, .col.out { align-items: center; flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 8px; }
  .col-label, .col.out .col-label { width: 100%; text-align: center; align-self: center; }
  .node, .col.out .node { align-self: auto; font-size: 12px; padding: 9px 14px; }
  .hub::after { content: "↓"; position: absolute; bottom: -34px; font-size: 18px; }
  .hub { margin-block: 28px 30px; }
  .hub-core { width: 150px; height: 150px; }
  .hub::before { width: 210px; height: 210px; }
  .flow .col.in::after { content: "↓"; width: 100%; text-align: center; margin-top: 8px; font-size: 18px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .card.feature { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .modules { grid-template-columns: minmax(0, 1fr); }
  .card { padding: 28px; border-radius: 28px; }
  .nav-cta .btn-ghost { display: none; }
  footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--brand-gradient); }
.foot { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Subtle hover feedback for buttons and cards: transform and colour only, mouse devices only */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .btn { transition: transform .25s cubic-bezier(.2, .7, .2, 1), background-color .2s ease, color .2s ease; }
  .btn:hover { transform: translateY(-2px); }
  .btn:active { transform: translateY(0); transition-duration: .08s; }
  .btn-blue::after { transition: transform .25s cubic-bezier(.2, .7, .2, 1); }
  .btn-blue:hover::after { transform: translateX(3px); }
  .card { transition: border-color .2s, transform .3s cubic-bezier(.2, .7, .2, 1); }
  .card:hover { transform: translateY(-3px); }
  .sectors a { transition: border-color .2s, color .2s, transform .25s cubic-bezier(.2, .7, .2, 1); }
  .sectors a:hover { transform: translateY(-2px); }
}

/* ===== Multi-page additions ===== */

/* Nav: current page, modules dropdown, mobile menu */
.nav { position: relative; z-index: 20; }
.nav-links a[aria-current="page"] { color: var(--lake-blue); }
.nav-links a[aria-current="page"]::after { content: ""; display: block; height: 2px; margin-top: 4px; background: var(--brand-gradient); border-radius: 2px; }
.has-menu { position: relative; }
.has-menu > a::after { content: " ▾"; font-size: 10px; }
.has-menu > a[aria-current="page"]::after { content: ""; }
.dropdown {
  position: absolute; left: 50%; top: 100%; transform: translateX(-50%); padding-top: 14px;
  visibility: hidden; opacity: 0; transition: opacity .15s ease, visibility .15s;
}
.has-menu:hover .dropdown, .has-menu:focus-within .dropdown { visibility: visible; opacity: 1; }
.dropdown ul { list-style: none; margin: 0; padding: 10px; width: 340px; background: var(--white); border: 1px solid var(--ash); border-radius: 24px; display: grid; gap: 2px; }
.dropdown a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; text-transform: none; font-size: 14px; font-weight: 500; letter-spacing: 0; }
.dropdown a:hover { background: var(--parchment); color: var(--off-black); }
.dropdown a::after { content: none !important; }
.dropdown i { width: 9px; height: 9px; border-radius: 50%; background: var(--mod); flex: none; }
.dropdown small { margin-left: auto; color: var(--smoke); font-size: 12px; font-weight: 400; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--off-black); background: transparent; cursor: pointer; align-items: center; justify-content: center; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 16px; height: 1.5px; background: var(--off-black); position: relative; content: ""; }
.menu-btn span::before { position: absolute; top: -5px; }
.menu-btn span::after { position: absolute; top: 5px; }
.mobile-menu { border-top: 1px solid var(--ash); background: var(--parchment); }
.mobile-menu .wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; padding-block: 16px 24px; }
.mobile-menu a { text-decoration: none; padding: 10px 0; font-weight: 500; border-bottom: 1px solid var(--ash); }
.mobile-menu .sub { padding-left: 16px; font-weight: 400; color: var(--graphite); }
.mobile-menu .btn { justify-content: center; margin-top: 12px; border-bottom: 0; }
@media (max-width: 1080px) { .menu-btn { display: inline-flex; } }
@media (min-width: 1081px) { .mobile-menu { display: none; } }

/* Inner page hero */
.page-hero { position: relative; isolation: isolate; padding-block: clamp(40px, 6vw, 80px) clamp(56px, 7vw, 96px); }
.page-hero .wrap { position: relative; }
.page-hero h1 { max-width: 18ch; margin-top: 22px; font-size: clamp(36px, 5.2vw, 64px); }
.page-hero .lede { margin-top: 22px; }
.page-hero.hero-center { text-align: center; }
.page-hero.hero-center h1, .page-hero.hero-center .lede { margin-inline: auto; }
.page-hero.hero-center .hero-ctas { justify-content: center; }
.page-hero.hero-center .crumbs { justify-content: center; }
.page-hero .wash-a { left: 14%; top: 26%; }
.page-hero .wash-b { right: 14%; top: 6%; }
.page-hero .hero-ctas { justify-content: flex-start; margin-top: 32px; }
.page-hero .hero-logo { display: block; height: auto; width: min(340px, 80%); margin-top: 20px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 22px; padding: 0; font-size: 13px; color: var(--smoke); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--ash); }
.crumbs a { text-decoration: none; color: var(--graphite); }
.crumbs a:hover { color: var(--lake-blue); }

/* Content blocks */
.caps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cap { border: 1px solid var(--ash); border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.cap svg { width: 26px; height: 26px; stroke: url(#brand-g); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.cap h3 { font-size: 20px; margin-top: 6px; }
.cap p { color: var(--graphite); font-size: 15px; }
.split { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.panel { border: 1px solid var(--ash); border-radius: 28px; padding: 28px; background: var(--white); min-width: 0; }
.panel h3 { font-size: 22px; margin-bottom: 14px; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.checklist li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 14px 0; border-top: 1px solid var(--ash); font-size: 15px; }
.checklist li:first-child { border-top: 0; }
.checklist .st { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; padding: 4px 9px; border-radius: 9999px; background: #e6f4f4; color: #1e5f60; }
.checklist .st.bad { background: #ffe9e2; color: #9a3412; }
.checklist .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--g-teal); }
.checklist .dot.bad { background: var(--g-coral); }
.tile-solo { border-radius: 28px; overflow: hidden; background: #000; position: relative; min-width: 0; }
.tile-solo canvas { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; max-width: 100%; }
.uses { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.uses li { padding: 18px 0; border-top: 1px solid var(--ash); display: grid; gap: 4px; }
.uses b { font-weight: 600; }
.uses span { color: var(--graphite); font-size: 15px; }
.uses a { color: var(--lake-blue); text-decoration: none; font-size: 13px; font-weight: 600; }
.mod-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mod-chips a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-size: 13px; font-weight: 500; padding: 8px 14px; border: 1px solid var(--ash); border-radius: 9999px; background: var(--white); transition: border-color .2s; }
.mod-chips a::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mod); }
.mod-chips a:hover { border-color: var(--mod); }
.sectors a { border: 1px solid var(--ash); border-radius: 9999px; padding: 12px 22px; font-size: 14px; text-transform: uppercase; text-decoration: none; letter-spacing: 0.06em; transition: border-color .2s, color .2s; }
.sectors a:hover { border-color: var(--lake-blue); color: var(--lake-blue); }

/* Module comparison table */
.table-wrap { overflow-x: auto; border: 1px solid var(--ash); border-radius: 24px; background: var(--white); }
.table-wrap table { width: 100%; border-collapse: collapse; min-width: 720px; font-size: 15px; }
.table-wrap th, .table-wrap td { text-align: left; padding: 18px 22px; border-bottom: 1px solid var(--ash); vertical-align: top; }
.table-wrap tr:last-child td { border-bottom: 0; }
.table-wrap th { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--smoke); font-weight: 600; background: var(--parchment); }
.table-wrap td:first-child a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; }
.table-wrap td:first-child a::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--mod); }
.table-wrap td { color: var(--graphite); }

/* Industry blocks */
.sector-list { display: grid; gap: 16px; }
.sector { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 24px 48px; border: 1px solid var(--ash); border-radius: 32px; padding: clamp(24px, 4vw, 44px); background: var(--white); scroll-margin-top: 24px; }
.sector h2 { font-size: clamp(26px, 3vw, 36px); margin-top: 14px; }
.sector p { color: var(--graphite); margin-top: 14px; max-width: 48ch; }
.sector .mod-chips { margin-top: 20px; }
.sector .uses { grid-template-columns: minmax(0, 1fr); }

/* IoT dashboard panel */
.iot { background: var(--screen); color: #e9e9ec; border-radius: 28px; padding: 22px; position: relative; overflow: hidden; }
.iot::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--brand-gradient); }
.iot-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; font-size: 12px; color: #9b9daf; }
.iot-top img { height: 30px; width: auto; display: block; }
.iot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.sensor { background: #1d1f24; border: 1px solid #25262c; border-radius: 16px; padding: 14px 16px; min-width: 0; }
.sensor.warn { border-color: rgba(255,121,83,.55); }
.sensor .lbl { font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: #9b9daf; font-weight: 600; display: flex; justify-content: space-between; gap: 8px; }
.sensor .val { font-size: 26px; font-weight: 600; letter-spacing: -0.02em; margin-top: 6px; font-variant-numeric: tabular-nums; }
.sensor .val small { font-size: 13px; color: #9b9daf; font-weight: 500; }
.sensor svg { display: block; width: 100%; height: 44px; margin-top: 8px; }
.sensor .tag { font-size: 10px; padding: 3px 8px; border-radius: 9999px; background: #2a3a3a; color: #9fe0e1; }
.sensor.warn .tag { background: #3d2620; color: #ffb39b; }
.iot-alert { margin-top: 12px; padding: 14px 16px; border-radius: 16px; background: #26201e; border: 1px solid rgba(255,121,83,.45); display: grid; gap: 4px; font-size: 13px; }
.iot-alert b { font-size: 14px; }
.iot-alert span { color: #c8b9b3; }

/* Voice panel */
.voice { background: var(--screen); color: #e9e9ec; border-radius: 28px; padding: 22px; position: relative; overflow: hidden; }
.voice::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--brand-gradient); }
.wave { display: flex; align-items: center; gap: 3px; height: 56px; margin: 6px 0 16px; }
.wave i { flex: 1; min-width: 2px; border-radius: 2px; background: linear-gradient(180deg, var(--g-violet), #5466DD); height: var(--h); animation: wave 1.2s ease-in-out infinite; animation-delay: var(--d); }
@keyframes wave { 50% { transform: scaleY(.35); } }
.transcript { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.transcript li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; font-size: 14px; line-height: 1.5; }
.transcript time { font-size: 11px; color: #9b9daf; font-variant-numeric: tabular-nums; padding-top: 3px; }
.transcript b { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: #b9c2ff; font-weight: 600; }
.transcript mark { background: rgba(255,121,83,.22); color: #ffd0c2; border-radius: 4px; padding: 0 3px; }
.voice-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.voice-acts span { font-size: 12px; font-weight: 600; padding: 7px 12px; border-radius: 9999px; background: #1d1f24; border: 1px solid #2c2e35; }
.voice-acts span.hot { border-color: rgba(255,121,83,.55); color: #ffb39b; }

/* Company */
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 24px; padding: 24px 0; border-top: 1px solid var(--ash); }
.timeline b { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.timeline h3 { font-size: 20px; }
.timeline p { color: var(--graphite); margin-top: 6px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form .full { grid-column: 1 / -1; }
.field { display: grid; gap: 8px; min-width: 0; }
.field label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--graphite); }
.field input, .field select, .field textarea { font: inherit; font-size: 15px; color: var(--off-black); background: var(--parchment); border: 1px solid var(--ash); border-radius: 16px; padding: 13px 16px; width: 100%; min-width: 0; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--lake-blue); outline-offset: 1px; border-color: transparent; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.checks label { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--ash); border-radius: 9999px; font-size: 13px; font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--off-black); cursor: pointer; }
.checks input { width: auto; accent-color: var(--lake-blue); }
.form-note { font-size: 13px; color: var(--smoke); }
.form-done { border: 1px solid var(--ash); border-radius: 28px; padding: 32px; background: var(--white); }
.form-done h3 { font-size: 26px; }
.form-done p { color: var(--graphite); margin-top: 10px; }
.info-list { list-style: none; margin: 0; padding: 0; display: grid; }
.info-list li { padding: 16px 0; border-top: 1px solid var(--ash); display: grid; gap: 4px; }
.info-list li:first-child { border-top: 0; padding-top: 0; }
.info-list span { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--smoke); font-weight: 600; }
.info-list b { font-weight: 600; }
.next-steps { counter-reset: s; list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.next-steps li { counter-increment: s; display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; font-size: 15px; color: var(--graphite); }
.next-steps li::before { content: counter(s); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 600; color: #fff; background: linear-gradient(135deg, var(--g-blue), var(--g-violet)); }
.next-steps b { color: var(--off-black); display: block; }

/* Related modules */
.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }

/* Footer with module column */
.foot { grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); }

@media (max-width: 1080px) {
  .caps, .values, .related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .contact-grid, .sector { grid-template-columns: minmax(0, 1fr); }
  .foot { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .caps, .values, .related, .uses, .iot-grid, .form { grid-template-columns: minmax(0, 1fr); }
  .timeline li { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .foot { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-cta .btn-blue { display: none; }
}
.link-prev { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; text-decoration: none; }
.link-prev:hover { color: var(--lake-blue); }
[hidden] { display: none !important; }
.info-list .email { color: var(--off-black); user-select: all; }

/* ===== KenVision page ===== */
.kv-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px; align-items: center; }
.kv-hero h1 { font-size: clamp(34px, 4.4vw, 56px); max-width: 16ch; }
.kv-hero .hero-logo { width: min(280px, 70%); }
.kv-sub { margin-top: 12px !important; font-size: 16px; }
.kv-tagline { margin-top: 22px; font-size: 13px; font-weight: 500; color: var(--smoke); }
.kv-hero-visual { min-width: 0; }
.kv-hero-visual .tile-solo { box-shadow: 0 24px 60px -30px rgba(10, 52, 237, .45); }
.kv-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.kv-chips span { display: inline-flex; gap: 6px; align-items: baseline; padding: 8px 14px; border-radius: 9999px; background: var(--white); border: 1px solid var(--ash); font-size: 13px; color: var(--graphite); }
.kv-chips b { font-size: 16px; font-weight: 600; color: var(--off-black); font-variant-numeric: tabular-nums; }
.kv-chips .hot { border-color: rgba(255, 121, 83, .6); }

.kv-problem { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.kv-questions { border-radius: 28px; padding: clamp(24px, 4vw, 40px); background: #242424; color: #f5f5f5; display: grid; gap: 14px; align-content: start; position: relative; overflow: hidden; }
.kv-questions::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--brand-gradient); }
.kv-q { font-size: clamp(19px, 2vw, 24px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.3; padding-bottom: 14px; border-bottom: 1px solid #3a3a3a; }
.kv-answer { color: #c9c5c2; font-size: 15px; margin-top: 4px; }
.kv-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.kv-points li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: start; padding: 22px; border: 1px solid var(--ash); border-radius: 22px; background: var(--white); }
.kv-points svg, .cap svg { width: 26px; height: 26px; stroke: url(#brand-g); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.kv-points svg { width: 44px; height: 44px; padding: 9px; border-radius: 50%; border: 1px solid var(--ash); }
.kv-points b { display: block; font-weight: 600; font-size: 16px; }
.kv-points span { color: var(--graphite); font-size: 15px; }

.kv-feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.kv-feat { border: 1px solid var(--ash); border-radius: 28px; padding: 28px; background: var(--white); display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.kv-mini { border-radius: 16px; background: var(--parchment); padding: 16px; margin-bottom: 10px; }
.kv-mini svg { display: block; width: 100%; height: auto; }
.kv-num { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; color: var(--lake-blue); }
.kv-feat h3 { font-size: 20px; }
.kv-strap { font-weight: 500; color: var(--off-black); }
.kv-feat p:last-child { color: var(--graphite); font-size: 15px; }

.kv-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; position: relative; }
.kv-steps li { border: 1px solid var(--ash); border-radius: 28px; padding: 28px; background: var(--white); position: relative; }
.kv-steps li::before { content: ""; position: absolute; left: 28px; right: 28px; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: var(--brand-gradient); }
.kv-steps span { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--lake-blue); }
.kv-steps h3 { font-size: 20px; margin-top: 10px; }
.kv-steps p { color: var(--graphite); margin-top: 10px; font-size: 15px; }
.kv-link { margin-top: auto; padding-top: 6px; font-size: 13px; font-weight: 600; color: var(--lake-blue); text-decoration: none; }

.kv-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.kv-body { margin-top: 18px; color: var(--graphite); }
.kv-defs { list-style: none; margin: 20px 0 0; padding: 0; display: grid; }
.kv-defs li { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-top: 1px solid var(--ash); font-size: 15px; }
.kv-defs b { font-weight: 600; }
.kv-defs span { color: var(--graphite); }
.kv-plan { margin: 0; }
.plan, .chart { display: block; width: 100%; height: auto; font-family: var(--font); }

.kv-bens { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.kv-bens .cap { padding: 24px; }
.kv-bens h3 { font-size: 17px; }

.kv-dash { --c-line: #25262c; --c-text: #e9e9ec; --c-muted: #9b9daf; background: #101114; color: #e9e9ec; border-radius: 28px; overflow: hidden; position: relative; font-size: 13px; }
.kv-dash::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--brand-gradient); z-index: 2; }
.kv-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding: 16px 16px 0; }
.kv-kpis div { background: #1a1b20; border: 1px solid #25262c; border-radius: 16px; padding: 14px 16px; min-width: 0; }
.kv-kpis span { display: block; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: #9b9daf; }
.kv-kpis b { display: block; font-size: clamp(22px, 2.4vw, 30px); font-weight: 600; letter-spacing: -0.02em; margin-top: 6px; font-variant-numeric: tabular-nums; }
.kv-kpis em { display: block; font-style: normal; font-size: 12px; color: #9b9daf; margin-top: 4px; }
.kv-kpis em.up { color: #9fe0e1; }
.kv-kpis em.down { color: #ffb39b; }
.kv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 10px 16px 16px; }
.kv-card { background: #16171b; border: 1px solid #25262c; border-radius: 16px; padding: 16px; min-width: 0; }
.kv-card.kv-wide { grid-column: span 2; }
.kv-card h4 { margin: 0 0 12px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: #9b9daf; }
.kv-sign { margin-top: 28px; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; color: var(--off-black); }

/* Chart tooltip */
[data-tip] { cursor: default; }
.tip { position: fixed; z-index: 50; pointer-events: none; padding: 6px 10px; border-radius: 8px; background: #101114; color: #e9e9ec; font-size: 12px; font-weight: 500; box-shadow: 0 6px 20px rgba(0,0,0,.25); white-space: nowrap; transform: translate(-50%, calc(-100% - 10px)); }

@media (max-width: 1080px) {
  .kv-hero-grid, .kv-split, .kv-problem { grid-template-columns: minmax(0, 1fr); }
  .kv-feats, .kv-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kv-bens { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kv-card.kv-wide { grid-column: 1 / -1; }
  .kv-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .kv-feats, .kv-steps, .kv-bens, .kv-grid { grid-template-columns: minmax(0, 1fr); }
  .kv-defs li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}

/* ===== KenSafety page ===== */
.kv-feat-wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px; align-items: center; }
.kv-feat-wide .kv-mini { margin: 0; }
.kv-feat-wide > div:last-child { display: flex; flex-direction: column; gap: 8px; }
.kv-steps.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ks-timeline { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.ks-timeline li { display: grid; grid-template-columns: 70px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 16px; border: 1px solid var(--ash); border-radius: 18px; background: var(--white); }
.ks-timeline time { font-size: 12px; color: var(--smoke); font-variant-numeric: tabular-nums; }
.ks-timeline b { display: block; font-weight: 600; font-size: 14px; }
.ks-timeline span { font-size: 13px; color: var(--graphite); }
.ks-timeline em { font-style: normal; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; padding: 4px 9px; border-radius: 9999px; background: #e6f4f4; color: #1e5f60; }
.ks-timeline em.bad { background: #ffe9e2; color: #9a3412; }
.ks-legend { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 10px; color: #9b9daf; }
.ks-legend i { width: 110px; height: 8px; border-radius: 4px; background: linear-gradient(90deg, rgba(124,40,233,.1), rgba(124,40,233,.9)); }
.kv-card .alerts li { grid-template-columns: 96px minmax(0, 1fr); padding: 8px; }
.kv-card .alerts .thumb { width: 96px; height: 54px; }
@media (max-width: 1080px) {
  .kv-steps.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kv-feat-wide { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .kv-steps.four { grid-template-columns: minmax(0, 1fr); }
  .ks-timeline li { grid-template-columns: minmax(0, 1fr) auto; }
  .ks-timeline time { grid-column: 1 / -1; }
}

/* ===== KenAgri page ===== */
.ag-panel { padding: 14px; }
.agmap { border-radius: 14px; overflow: hidden; }
.agscan { animation: agscan 5s linear infinite; }
@keyframes agscan { from { transform: translateY(0); } to { transform: translateY(397px); } }
.ag-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 12px; font-size: 11px; color: var(--smoke); }
.kv-card .ag-legend { color: #9b9daf; }
.ag-legend i { width: 90px; height: 8px; border-radius: 4px; }
.ag-legend b { flex: 1; }
.ag-legend .ag-sen::before, .ag-legend .ag-str::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }
.ag-legend .ag-sen::before { border: 2px solid #73C4C5; }
.ag-legend .ag-str::before { border: 2px dashed #FF7953; border-radius: 3px; }
.ag-caps .ag-more { background: #242424; color: #f5f5f5; border-color: #242424; }
.ag-caps .ag-more p { color: #c9c5c2; }
.ag-caps .ag-more .kv-link { color: #b9c2ff; }
.ag-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.ag-table th { text-align: left; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: #9b9daf; padding: 0 6px 8px 0; }
.ag-table td { padding: 9px 6px 9px 0; border-top: 1px solid #25262c; color: #c9cbd6; font-variant-numeric: tabular-nums; }
.ag-table td b { color: #e9e9ec; font-weight: 600; }
.ag-table .st { font-size: 10px; font-weight: 600; padding: 3px 8px; border-radius: 9999px; background: #2a3a3a; color: #9fe0e1; white-space: nowrap; }
.ag-table .st.bad { background: #3d2620; color: #ffb39b; }
.ag-table .st.warn { background: #3a3424; color: #f2d28a; }
.ag-weather { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.ag-weather > div { background: #1d1f24; border: 1px solid #25262c; border-radius: 12px; padding: 10px; display: grid; gap: 4px; justify-items: start; min-width: 0; }
.ag-weather b { font-size: 12px; font-weight: 600; }
.ag-weather .t { font-size: 18px; font-weight: 600; color: #e9e9ec; font-variant-numeric: tabular-nums; }
.ag-weather .t small { font-size: 12px; color: #9b9daf; margin-left: 4px; font-weight: 500; }
.ag-weather .r { height: 34px; display: flex; align-items: flex-end; }
.ag-weather .r i { display: block; width: 18px; border-radius: 3px 3px 0 0; background: #5b7cff; }
.ag-weather > div > small { font-size: 11px; color: #9b9daf; }
@media (max-width: 640px) { .ag-weather { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { .agscan { display: none; } }

/* ===== KenHome page ===== */
.kh-example { display: grid; gap: 14px; }
.kh-row { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 14px; align-items: start; }
.kh-phone { background: #101114; border-radius: 34px; padding: 12px 10px 16px; border: 4px solid #26282e; color: #e9e9ec; position: relative; box-shadow: 0 24px 50px -30px rgba(10, 52, 237, .5); }
.kh-notch { width: 70px; height: 18px; border-radius: 10px; background: #000; margin: 0 auto 10px; }
.kh-time { text-align: center; font-size: 34px; font-weight: 500; letter-spacing: -0.02em; margin-bottom: 12px; }
.kh-note { background: rgba(60, 62, 70, .75); border-radius: 16px; padding: 10px 12px; margin-top: 8px; font-size: 12px; }
.kh-note.dim { opacity: .6; }
.kh-note-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; color: #b9bbc8; font-size: 10px; }
.kh-note-top img { height: 18px; width: auto; display: block; }
.kh-note b { display: block; font-size: 12px; font-weight: 600; }
.kh-note p { color: #c9cbd6; margin-top: 3px; line-height: 1.35; }
.kh-acts { display: flex; gap: 6px; margin-top: 8px; }
.kh-acts span { flex: 1; text-align: center; font-size: 11px; font-weight: 600; padding: 6px 4px; border-radius: 10px; background: #2c2e35; }
.kh-acts span.pri { background: var(--g-blue); }
@media (max-width: 640px) { .kh-row { grid-template-columns: minmax(0, 1fr); } .kh-phone { max-width: 260px; justify-self: center; } }

/* ===== KenIoT page ===== */
.kv-feats.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.kv-feats.four .kv-feat { padding: 22px; }
.kv-feats.four .kv-feat h3 { font-size: 18px; }
.ki-stream { position: relative; border-radius: 14px; background: #16171b; border: 1px solid #25262c; overflow: hidden; }
.ki-stream canvas { display: block; width: 100%; height: auto; }
.ki-status { position: absolute; right: 10px; top: 10px; font-size: 11px; font-weight: 600; padding: 5px 10px; border-radius: 9999px; background: #2a3a3a; color: #9fe0e1; }
.ki-status.bad { background: #3d2620; color: #ffb39b; }
.ki-live .iot-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ki-live .sensor { padding: 10px 12px; }
.ki-live .sensor .val { font-size: 20px; }
.ki-live .sensor svg { height: 30px; }
.ki-four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ki-bar { display: inline-block; width: 60px; height: 6px; border-radius: 3px; background: #25262c; vertical-align: middle; margin-right: 6px; overflow: hidden; }
.ki-bar i { display: block; height: 100%; border-radius: 3px; }
.ag-table small { color: #9b9daf; font-size: 10px; }
.ki-wo { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ki-wo li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 8px; padding: 10px 12px; border-radius: 12px; background: #1d1f24; border: 1px solid #25262c; }
.ki-wo b { font-size: 11px; color: #9b9daf; font-weight: 600; }
.ki-wo span { grid-column: 1; font-size: 13px; color: #e9e9ec; }
.ki-wo em { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-style: normal; font-size: 10px; font-weight: 600; padding: 3px 8px; border-radius: 9999px; background: #2a3a3a; color: #9fe0e1; }
.ki-wo em.bad { background: #3d2620; color: #ffb39b; }
.ki-wo em.warn { background: #3a3424; color: #f2d28a; }
.ki-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 16px; }
.ki-steps li { grid-template-columns: minmax(0, 1fr) auto; }
.ki-steps time { grid-column: 1 / -1; }
@media (max-width: 1080px) {
  .kv-feats.four, .ki-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ki-live .iot-grid, .ki-four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) { .kv-feats.four, .ki-steps { grid-template-columns: minmax(0, 1fr); } }

/* ===== KenVoice page ===== */
.kc-tablet { background: #101114; color: #e9e9ec; border-radius: 28px; padding: 16px; border: 6px solid #26282e; box-shadow: 0 30px 60px -30px rgba(84, 102, 221, .55); position: relative; }
.kc-tablet::before { content: ""; position: absolute; left: 50%; top: -4px; width: 60px; height: 4px; border-radius: 2px; background: #3a3c44; transform: translateX(-50%); }
.kc-top { display: flex; align-items: center; gap: 12px; font-size: 12px; color: #9b9daf; flex-wrap: wrap; }
.kc-top img { height: 24px; width: auto; display: block; }
.kc-device { margin-left: auto; font-size: 11px; font-weight: 600; padding: 5px 10px; border-radius: 9999px; background: #2a3a3a; color: #9fe0e1; }
.kc-device::before { content: "🔒"; margin-right: 5px; font-size: 10px; }
.kc-wave { height: 40px; margin: 12px 0; }
.kc-body { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 12px; }
.kc-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; align-content: start; min-height: 290px; }
.kc-lines li { display: grid; gap: 2px; padding: 9px 12px; border-radius: 14px; font-size: 13px; line-height: 1.4; opacity: 0; transform: translateY(6px); transition: opacity .35s ease, transform .35s ease; }
.kc-lines li.on { opacity: 1; transform: none; }
.kc-lines li b { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.kc-lines li.staff { background: #1d2a2b; margin-right: 18px; }
.kc-lines li.staff b { color: #9fe0e1; }
.kc-lines li.cust { background: #23243a; margin-left: 18px; }
.kc-lines li.cust b { color: #b9c2ff; }
.kc-ins { list-style: none; margin: 0; padding: 12px; display: grid; gap: 8px; align-content: start; border-radius: 16px; background: #16171b; border: 1px solid #25262c; }
.kc-ins-h { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: #9b9daf; }
.kc-ins li[data-step] { display: grid; gap: 2px; padding: 8px 10px; border-radius: 10px; background: #1d1f24; opacity: .25; transition: opacity .35s ease, background .35s ease; }
.kc-ins li[data-step].on { opacity: 1; }
.kc-ins li[data-step].on.ok { background: #1d2a2b; }
.kc-ins li[data-step].on.score { background: linear-gradient(135deg, rgba(10,52,237,.5), rgba(124,40,233,.5)); }
.kc-ins span { font-size: 10px; color: #9b9daf; }
.kc-ins b { font-size: 13px; font-weight: 600; }
.kc-sub { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--smoke); margin-bottom: 18px; }
.kc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.kc-list li { padding: 13px 0 13px 30px; border-top: 1px solid var(--ash); position: relative; font-size: 15px; }
.kc-list li:first-child { border-top: 0; }
.kc-list li::before { content: ""; position: absolute; left: 4px; top: 19px; width: 10px; height: 10px; border-radius: 50%; background: linear-gradient(135deg, var(--g-blue), #5466DD); }
.kc-checks li::before { content: "✓"; background: none; width: auto; height: auto; top: 12px; font-weight: 600; color: #1e5f60; }
.kc-note { font-size: 14px; padding: 14px 16px; border-radius: 16px; background: var(--white); border: 1px solid var(--ash); }
.kc-feed { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.kc-feed li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: #1d1f24; border: 1px solid #25262c; }
.kc-feed li.bad { border-color: rgba(255,121,83,.5); }
.kc-feed b { font-size: 12px; font-weight: 600; }
.kc-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.kc-tags span { font-size: 10px; padding: 2px 7px; border-radius: 9999px; background: #2c2e35; color: #c9cbd6; }
.kc-feed em { font-style: normal; font-size: 18px; font-weight: 600; color: #e9e9ec; }
.kc-feed li.bad em { color: #ffb39b; }
.kc-feed li.warn em { color: #f2d28a; }
.kc-missed { list-style: none; margin: 0; padding: 0; display: grid; }
.kc-missed li { display: flex; justify-content: space-between; gap: 10px; padding: 11px 0; border-top: 1px solid #25262c; font-size: 13px; color: #c9cbd6; }
.kc-missed li:first-child { border-top: 0; }
.kc-missed b { color: #ffb39b; font-weight: 600; }
@media (max-width: 640px) { .kc-body { grid-template-columns: minmax(0, 1fr); } .kc-lines { min-height: 0; } }

/* ===== KenRobotics page ===== */
.kr-console { background: var(--screen); color: #e9e9ec; border-radius: 28px; padding: 18px; position: relative; overflow: hidden; }
.kr-console::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--brand-gradient); }
.kr-body { display: grid; grid-template-columns: minmax(0, 1fr) 128px; gap: 10px; align-items: start; }
.kr-body canvas { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid #25262c; }
.kr-fleet { list-style: none; margin: 0; padding: 10px; display: grid; gap: 8px; align-content: start; border-radius: 14px; background: #16171b; border: 1px solid #25262c; }
.kr-h { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: #9b9daf; }
.kr-fleet li:not(.kr-h) { display: grid; grid-template-columns: 10px minmax(0, 1fr); gap: 0 8px; align-items: center; padding: 7px 8px; border-radius: 10px; background: #1d1f24; }
.kr-fleet i { width: 10px; height: 10px; border-radius: 50%; }
.kr-fleet b { font-size: 12px; font-weight: 600; }
.kr-fleet span { grid-column: 2; font-size: 11px; color: #9fe0e1; }
.kr-fleet span.warn { color: #ffb39b; }
/* ---------------------------------------------------------------- product UI kit (appui.py) */
.ap { --ap-bg: #0c0d10; --ap-card: #16171b; --ap-line: #222329; --ap-text: #f2f2f4; --ap-muted: #8d8f9e;
  display: grid; grid-template-columns: 68px minmax(0, 1fr); background: var(--ap-bg); color: var(--ap-text); border-radius: 30px; overflow: hidden;
  font-size: 13px; box-shadow: 0 40px 80px -40px rgba(10, 52, 237, .35); border: 1px solid #1d1e23; }
.ap svg { display: block; }
.ap-side { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 22px 0; border-right: 1px solid var(--ap-line); }
.ap-mark { width: 40px; height: 40px; border-radius: 14px; background: var(--brand-gradient); display: grid; place-items: center; margin-bottom: 14px; }
.ap-mark svg { width: 20px; height: 20px; stroke: #fff; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ap-nav { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #6f7180; }
.ap-nav.on { background: #fff; color: #0c0d10; }
.ap-nav svg, .ap-ic svg, .ap-av svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ap-me { margin-top: auto; width: 36px; height: 36px; border-radius: 50%; background: #2a2b31; display: grid; place-items: center; font-size: 12px; font-weight: 600; }
.ap-main { padding: 24px; display: grid; gap: 14px; min-width: 0; }
.ap-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; padding: 4px 4px 8px; }
.ap-logo { display: block; height: 30px; width: auto; margin-bottom: 14px; }
.ap-hello { font-size: clamp(22px, 2.4vw, 30px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.ap-sub { color: var(--ap-muted); margin-top: 4px; font-size: 13px; }
.ap-tools { display: flex; align-items: center; gap: 8px; }
.ap-select { padding: 9px 16px; border-radius: 9999px; background: var(--ap-card); border: 1px solid var(--ap-line); font-weight: 500; }
.ap-select i { font-style: normal; color: var(--ap-muted); margin-left: 4px; }
.ap-live { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 9999px; background: rgba(255, 121, 83, .14); color: #ffa58b; font-weight: 600; font-size: 12px; }
.ap-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #FF7953; box-shadow: 0 0 0 4px rgba(255, 121, 83, .2); animation: apblink 1.6s ease-in-out infinite; }
@keyframes apblink { 50% { opacity: .35; } }
.ap-clock { color: var(--ap-muted); font-variant-numeric: tabular-nums; padding-left: 4px; }
.ap-card { background: var(--ap-card); border: 1px solid var(--ap-line); border-radius: 22px; padding: 18px; min-width: 0; position: relative; }
.ap-ch { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.ap-ch h4 { margin: 0; font-size: 14px; font-weight: 600; letter-spacing: -0.01em; color: var(--ap-text); }
.ap-csub { color: var(--ap-muted); font-size: 12px; margin-top: 3px; }
.ap-act { color: var(--ap-muted); font-size: 12px; white-space: nowrap; }
.ap-pill { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 9999px; font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.ap-pill.pos, .ap-av.pos { background: rgba(115, 196, 197, .16); color: #93e3e4; }
.ap-pill.neg, .ap-av.neg { background: rgba(255, 121, 83, .16); color: #ffa58b; }
.ap-pill.info, .ap-av.info { background: rgba(84, 112, 255, .18); color: #a9b8ff; }
.ap-pill.violet, .ap-av.violet { background: rgba(124, 40, 233, .22); color: #c9a8ff; }
.ap-pill.warn, .ap-av.warn { background: rgba(242, 210, 138, .16); color: #f2d28a; }
.ap-pill.mute, .ap-av.mute { background: rgba(255, 255, 255, .07); color: #b4b6c4; }
.ap-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ap-kpi { padding-bottom: 0; overflow: hidden; display: flex; flex-direction: column; }
.ap-kh { display: flex; align-items: center; gap: 10px; color: var(--ap-muted); font-weight: 500; }
.ap-ic { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--ap-line); display: grid; place-items: center; color: #d6d7de; flex: none; }
.ap-big { display: block; font-size: clamp(26px, 2.6vw, 36px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; margin-top: 14px; font-variant-numeric: tabular-nums; }
.ap-kf { display: flex; align-items: center; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.ap-vs { color: var(--ap-muted); font-size: 12px; }
.ap-spark { width: calc(100% + 36px); height: 44px; margin: 12px -18px 0; }
.ap-row { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); gap: 12px; }
.ap-chart { width: 100%; height: auto; }
.ap-tick { font: 500 11px var(--font); fill: #6f7180; }
.ap-tick.on { fill: #fff; font-weight: 600; }
.ap-tip { font: 600 12px var(--font); fill: #0c0d10; }
.ap-ring-n { font: 600 24px var(--font); fill: #fff; letter-spacing: -0.02em; }
.ap-mhead { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: -4px 0 6px; }
.ap-mhead b { font-size: clamp(26px, 2.6vw, 34px); font-weight: 600; letter-spacing: -0.03em; }
.ap-legend { display: flex; gap: 14px; color: var(--ap-muted); font-size: 12px; margin-left: auto; }
.ap-legend i { display: inline-block; width: 14px; height: 3px; border-radius: 2px; vertical-align: middle; margin-right: 6px; background: linear-gradient(90deg, #5b7cff, #a26bf2, #FF7953); }
.ap-legend i.prev { background: repeating-linear-gradient(90deg, #5a5c68 0 4px, transparent 4px 8px); }
.ap-feed { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.ap-feed li { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--ap-line); }
.ap-feed li:last-child { border: 0; }
.ap-feed p, .ap-arow p { color: #b4b6c4; line-height: 1.4; }
.ap-feed b, .ap-arow b { color: #fff; font-weight: 600; }
.ap-feed time, .ap-alert time { color: #6f7180; font-size: 11.5px; white-space: nowrap; }
.ap-av { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.ap-sec .ap-ch { padding: 4px 4px 0; }
.ap-evs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ap-ev { display: flex; flex-direction: column; }
.ap-evh { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.ap-evh .ap-ic { width: 30px; height: 30px; }
.ap-evt { margin-top: 16px; color: #b4b6c4; font-weight: 500; }
.ap-evn { display: block; font-size: clamp(22px, 2.2vw, 28px); font-weight: 600; letter-spacing: -0.03em; margin-top: 4px; font-variant-numeric: tabular-nums; }
.ap-evn.neg { color: #ff8f6e; }
.ap-evm { color: #6f7180; font-size: 12px; margin-top: 6px; }
.ap-bottom { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ap-wide { grid-column: span 2; }
.ap-full { grid-column: 1 / -1; }
.ap-rings { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ap-ring { display: grid; justify-items: center; gap: 8px; text-align: center; }
.ap-ring svg { width: 100%; max-width: 128px; }
.ap-ring span { color: var(--ap-muted); font-size: 12px; font-weight: 500; }
.ap-tasks { list-style: none; margin: 0; padding: 0; }
.ap-tasks li { display: grid; grid-template-columns: minmax(0, 1.6fr) auto minmax(60px, 1fr) auto; gap: 14px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--ap-line); }
.ap-tasks li:last-child { border: 0; }
.ap-tasks b { display: block; font-weight: 600; }
.ap-tasks small { display: block; color: #6f7180; font-size: 11.5px; margin-top: 2px; }
.ap-prog { height: 6px; border-radius: 3px; background: #26272d; overflow: hidden; }
.ap-prog i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, #0A34ED, #7C28E9, #FF7953); }
.ap-media { display: flex; flex-direction: column; }
.ap-media .tile-solo, .ap-media canvas { border-radius: 14px; }
.ap-media .tile-solo { box-shadow: none; }
.ap-mbody { margin-block: auto; }
.ap-mfoot { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.ap-note { color: #6f7180; font-size: 12px; margin-top: 10px; }
.ap-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ap-stat { background: #1c1d22; border-radius: 16px; padding: 12px 14px; }
.ap-stat span { color: var(--ap-muted); font-size: 12px; }
.ap-stat b { display: block; font-size: 20px; font-weight: 600; letter-spacing: -0.02em; margin-top: 4px; }

/* hero variant */
.ap-hero { display: block; padding: 14px; border-radius: 30px; }
.ap-hbar { display: flex; align-items: center; gap: 12px; padding: 4px 6px 12px; }
.ap-hbar .ap-logo { margin: 0; height: 26px; }
.ap-site { color: var(--ap-muted); font-size: 12.5px; font-weight: 500; margin-right: auto; }
.ap-hbar .ap-live { padding: 6px 12px; }
.ap-hmedia { padding: 8px; border-radius: 22px; }
.ap-hmedia > * { margin: 0 !important; }
.ap-hrow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.25fr); gap: 10px; margin-top: 10px; }
.ap-hrow .ap-kpi { padding: 14px 14px 0; }
.ap-hrow .ap-big { font-size: clamp(22px, 2vw, 28px); margin-top: 10px; }
.ap-hrow .ap-kh { font-size: 12px; gap: 8px; }
.ap-hrow .ap-ic { width: 28px; height: 28px; }
.ap-hrow .ap-ic svg { width: 15px; height: 15px; }
.ap-hrow .ap-spark { width: calc(100% + 28px); margin: 8px -14px 0; height: 36px; }
.ap-alert { padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.ap-arow { display: flex; gap: 10px; align-items: center; }
.ap-arow p { font-size: 12.5px; }
.ap-hero .iot, .ap-hero .kc-tablet, .ap-hero .kr-console, .ap-hero .ag-panel { border: 0; box-shadow: none; border-radius: 16px; }

@media (max-width: 1080px) {
  .ap { grid-template-columns: minmax(0, 1fr); }
  .ap-side { display: none; }
  .ap-kpis, .ap-evs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ap-row, .ap-bottom { grid-template-columns: minmax(0, 1fr); }
  .ap-wide { grid-column: auto; }
}
@media (max-width: 620px) {
  .ap-main { padding: 14px; }
  .ap-kpis { gap: 8px; }
  .ap-card { padding: 14px; border-radius: 18px; }
  .ap-spark { width: calc(100% + 28px); margin: 10px -14px 0; }
  .ap-hrow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ap-hrow .ap-alert { grid-column: 1 / -1; }
  .ap-tasks li { grid-template-columns: minmax(0, 1fr) auto; }
  .ap-tasks li .ap-prog, .ap-tasks li > .ap-pill:nth-of-type(1) { display: none; }
  .ap-tools .ap-clock { display: none; }
}
.ap-cams { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 10px; }
.ap-cams figure { margin: 0; min-width: 0; }
.ap-cams figure:first-child { grid-row: span 2; }
.ap-cams figcaption { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 8px; color: #b4b6c4; font-weight: 500; }
.ap-map svg { width: 100%; height: auto; }
.ap-map .ag-legend { color: #9b9daf; margin-top: 8px; }
.ap-hero .ap-map { padding: 6px; }
@media (max-width: 620px) { .ap-cams { grid-template-columns: minmax(0, 1fr); } .ap-cams figure:first-child { grid-row: auto; } }
.ap-chart.ap-sm { display: none; }
@media (max-width: 620px) { .ap-chart.ap-lg { display: none; } .ap-chart.ap-sm { display: block; } }
.ap-hero .kr-console::before, .ap-hero .iot::before, .ap-hero .kc-tablet::before { display: none; }

/* real camera footage with light analytics overlays (build.py feed_html) */
.feed { position: relative; margin: 0; aspect-ratio: 16 / 9; overflow: hidden; border-radius: inherit; background: #0c0d10; container-type: inline-size; }
.feed img, .feed video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.feed::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0, 0, 0, .38) 0, transparent 18%, transparent 82%, rgba(0, 0, 0, .25) 100%); }
.feed-ov { position: absolute; inset: 0; width: 100%; height: 100%; }
.feed-ov * { vector-effect: non-scaling-stroke; stroke-width: 1.25; }
.feed-ov path { stroke-width: 2; }
.feed-tag { position: absolute; z-index: 2; transform: translateY(calc(-100% - 4px)); display: inline-flex; align-items: center; gap: 5px; padding: 2px 7px; border-radius: 5px; background: rgba(12, 13, 16, .66); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); color: #f2f2f4; font: 500 clamp(9px, 1.5cqi, 12px)/1.5 var(--font); white-space: nowrap; }
.feed-tag i { width: 6px; height: 6px; border-radius: 50%; background: #fff; }
.feed-tag i.pos { background: #73C4C5; } .feed-tag i.neg { background: #FF7953; } .feed-tag i.info { background: #7896ff; } .feed-tag i.violet { background: #aa78f5; } .feed-tag i.warn { background: #f2d28a; }
.feed-tag.zone { transform: translate(6px, 6px); }
.feed-osd { position: absolute; z-index: 2; left: 0; right: 0; top: 0; display: flex; justify-content: space-between; padding: 2.4cqi 2.8cqi; color: rgba(255, 255, 255, .9); font: 500 clamp(9px, 1.5cqi, 12px)/1 var(--font); letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.feed-osd span { display: inline-flex; align-items: center; gap: 6px; }
.feed-osd .rec { width: 6px; height: 6px; border-radius: 50%; background: #FF7953; animation: apblink 1.6s ease-in-out infinite; }

/* ===== Real photography and footage ===== */
.feed.plain::after { display: none; }
.thumb-photo { margin: -40px -40px 12px; border-radius: 39px 39px 0 0; overflow: hidden; aspect-ratio: 16 / 9; background: #0c0d10; }
.thumb-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.card:hover .thumb-photo img { transform: scale(1.03); }
.hero-media { margin-top: clamp(40px, 5vw, 72px); text-align: left; max-width: 1120px; }
.hero-media .feed { border-radius: 32px; box-shadow: 0 30px 80px -40px rgba(10, 52, 237, .5); }
.photo-hero .feed { border-radius: 28px; box-shadow: 0 24px 60px -30px rgba(10, 52, 237, .45); }
.sector-photo { grid-column: 1 / -1; margin: calc(-1 * clamp(24px, 4vw, 44px)) calc(-1 * clamp(24px, 4vw, 44px)) 0; }
.sector-photo .feed { border-radius: 32px 32px 0 0; aspect-ratio: 21 / 8; }
.photo-band-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 32px 64px; align-items: center; }
.photo-band-grid h2 { margin-top: 18px; }
.photo-band-grid .lede { margin-top: 18px; }
.photo-band .feed { border-radius: 32px; }
.credits { list-style: none; margin: 0; padding: 0; display: grid; }
.credits li { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, .8fr); gap: 16px; padding: 12px 0; border-top: 1px solid var(--ash); font-size: 14px; }
.credits a { font-weight: 600; text-decoration: none; }
.credits em { font-style: normal; color: var(--smoke); }
@media (max-width: 1080px) { .photo-band-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .thumb-photo { margin: -28px -28px 10px; border-radius: 27px 27px 0 0; } .credits li { grid-template-columns: minmax(0, 1fr); gap: 2px; } .hero-media .feed { aspect-ratio: 16 / 9 !important; } .sector-photo .feed { aspect-ratio: 16 / 9; } }
@container (max-width: 260px) { .feed-tag { display: none; } .feed-osd span:first-child { font-size: 9px; } }
.kv-hero-visual > .feed { border-radius: 28px; box-shadow: 0 24px 60px -30px rgba(10, 52, 237, .45); }
.kv-mini:has(.feed) { padding: 0; background: none; overflow: hidden; border-radius: 16px; }
.kv-mini .feed { border-radius: 16px; aspect-ratio: 16 / 10; }
.feed-ov ellipse { vector-effect: none; }
.hero:has(.hero-media) { padding-block: 40px 72px; }
.hero:has(.hero-media) h1 { margin-top: 18px; font-size: clamp(36px, 5vw, 64px); }
.hero:has(.hero-media) .lede { margin-top: 18px; }
.hero:has(.hero-media) .hero-ctas { margin-top: 26px; }
.hero:has(.hero-media) .hero-meta { margin-top: 26px; }
.hero:has(.hero-media) .hero-media { margin-top: 34px; }

/* ===== Clients ===== */
.clients { position: relative; background: #242424; border-radius: 36px; padding: clamp(28px, 4vw, 48px) 0; overflow: hidden; display: grid; gap: clamp(18px, 2.4vw, 28px); }
.clients::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--brand-gradient); }
.clients::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, #242424 0, transparent 12%, transparent 88%, #242424 100%); }
.marquee { display: flex; width: max-content; animation: marquee 46s linear infinite; }
.marquee.rev { animation-direction: reverse; animation-duration: 54s; }
.marquee ul { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; flex: none; }
.marquee ul { gap: clamp(14px, 1.8vw, 24px); padding-right: clamp(14px, 1.8vw, 24px); }
.marquee .tile { --th: clamp(100px, 10vw, 132px); display: flex; align-items: center; justify-content: center; box-sizing: border-box; overflow: hidden; width: clamp(170px, 17vw, 230px); height: var(--th); padding: 16px 22px; background: #fff; border-radius: 22px; }
.marquee .tile img { max-width: 100%; max-height: calc(var(--th) - 28px); width: auto; height: auto; object-fit: contain; display: block; }
.marquee .tile.txt span { color: var(--off-black); font-size: clamp(19px, 1.9vw, 26px); line-height: 1.15; text-align: center; white-space: normal; }
.marquee .tile.w1 span { font-weight: 500; letter-spacing: .14em; text-transform: uppercase; font-size: clamp(16px, 1.6vw, 22px); }
.marquee .tile.w2 span { font-weight: 600; letter-spacing: -.02em; }
.marquee .tile.w3 span { font-weight: 400; font-style: italic; }
.marquee .tile.w4 span { font-weight: 500; letter-spacing: .02em; }
.marquee .tile.w5 span { font-weight: 600; letter-spacing: .22em; text-transform: uppercase; font-size: clamp(15px, 1.5vw, 20px); }
.marquee .tile.w6 span { font-weight: 600; letter-spacing: -.03em; font-style: italic; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } .marquee ul[aria-hidden] { display: none; } .marquee ul { flex-wrap: wrap; justify-content: center; } .clients::after { display: none; } }

/* ===== Leadership and advisory board ===== */
.founder { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.founder img { width: 100%; height: auto; display: block; border-radius: 32px; box-shadow: 0 30px 70px -40px rgba(10, 52, 237, .45); }
.founder h2 { margin-top: 18px; font-size: clamp(34px, 4.4vw, 56px); }
.founder-role { margin-top: 10px; color: var(--smoke); font-size: clamp(16px, 1.4vw, 19px); }
.founder-bio { margin-top: 26px; display: grid; gap: 14px; color: var(--graphite); font-size: clamp(16px, 1.4vw, 19px); line-height: 1.6; max-width: 56ch; }
.founder-chip { display: inline-flex; margin-top: 28px; padding: 11px 18px; border: 1px solid var(--ash); border-radius: 9999px; background: var(--white); font-size: 13px; font-weight: 600; }
.advisors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.advisor { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 22px; align-items: start; padding: 28px; border: 1px solid var(--ash); border-radius: 28px; background: var(--white); }
.advisor img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--parchment), 0 0 0 4px var(--ash); }
.advisor h3 { font-size: 20px; }
.advisor p { color: var(--graphite); font-size: 15px; margin-top: 8px; }
.advisor .adv-role { color: var(--smoke); margin-top: 4px; }
.adv-loc { display: inline-block; margin-top: 12px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--smoke); font-weight: 500; }
@media (max-width: 900px) { .founder { grid-template-columns: minmax(0, 1fr); } .founder img { max-width: 420px; } }
@media (max-width: 760px) { .advisors { grid-template-columns: minmax(0, 1fr); } .advisor { padding: 22px; gap: 16px; } }

/* Certification (about.html) */
.cert { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.cert-doc { display: block; border: 1px solid var(--ash); border-radius: 20px; overflow: hidden; background: var(--white); }
.cert-doc img { display: block; width: 100%; height: auto; }
.cert-copy { min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.cert-facts { margin: 0 0 12px; display: grid; }
.cert-facts > div { display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr); gap: 16px; padding: 14px 0; border-top: 1px solid var(--ash); font-size: 15px; }
.cert-facts dt { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 500; color: var(--smoke); padding-top: 2px; }
.cert-facts dd { margin: 0; }
.cert-copy h3 { margin-top: 8px; }
.cert-copy p { color: var(--graphite); }
@media (max-width: 900px) { .cert { grid-template-columns: minmax(0, 1fr); } .cert-doc { max-width: 380px; } }
@media (max-width: 560px) { .cert-facts > div { grid-template-columns: minmax(0, 1fr); gap: 4px; } }
@media (max-width: 640px) { .kr-body { grid-template-columns: minmax(0, 1fr); } }

/* Rebuilt pages from the old site: case studies, blog, retail analytics, FAQ, privacy, terms */
.legacy-hero h1 { max-width: 26ch; }
.legacy-pills { margin-top: 28px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 20px 0 0; padding: 0; font-size: 13px; color: var(--smoke); }
.post-meta span + span::before { content: "·"; margin-inline: 10px; }
.anchor-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.anchor-row a { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; text-decoration: none; border: 1px solid rgba(36,36,36,.35); border-radius: 9999px; padding: 8px 14px; }
.anchor-row a:hover { border-color: var(--lake-blue); color: var(--lake-blue); }
.legacy-caps { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 8px; }
.legacy-caps.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.legacy-caps .num { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--smoke); }
.legacy-caps .bul { margin: 0; }
section.block > .wrap > * + .legacy-caps, section.block > .wrap > * + .stats, section.block > .wrap > * + .steps, section.block > .wrap > * + .callout,
section.block > .wrap > * + .why, section.block > .wrap > .legacy-caps + *, section.block > .wrap > .stats + *, section.block > .wrap > .steps + * { margin-top: 32px; }
section.block > .wrap > h3 { margin-top: 36px; margin-bottom: 14px; }
section.block > .wrap > p { color: var(--graphite); max-width: 78ch; }
section.block > .wrap > p + p { margin-top: 14px; }
.bul { margin: 14px 0 0; padding-left: 1.2em; color: var(--graphite); display: grid; gap: 6px; max-width: 78ch; }
.callout { border: 1px solid var(--ash); border-left: 3px solid var(--lake-blue); border-radius: 16px; background: var(--white); padding: 20px 24px; color: var(--off-black); max-width: 78ch; }
.why { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; max-width: 78ch; }
.why li { padding: 16px 0; border-top: 1px solid var(--ash); color: var(--graphite); }
.why li:first-child { border-top: 0; }
.why strong { color: var(--off-black); font-weight: 500; }
.steps.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.steps h3 { font-size: 20px; margin-bottom: 8px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.stats > div { border: 1px solid var(--ash); border-radius: 28px; padding: 24px; background: var(--white); display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.stats b { font-size: clamp(30px, 3.4vw, 44px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.05; }
.stats span { font-weight: 500; }
.stats small { color: var(--smoke); font-size: 14px; }
.stats.small { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: auto; padding-top: 8px; }
.stats.small > div { padding: 12px 14px; border-radius: 16px; background: var(--parchment); }
.stats.small b { font-size: 20px; }
.stats.small span { font-size: 12px; color: var(--smoke); font-weight: 400; }
.faq-list { display: grid; gap: 0; }
.faq-list details { border-top: 1px solid var(--ash); padding: 18px 0; }
.faq-list details:last-child { border-bottom: 1px solid var(--ash); }
.faq-list summary { cursor: pointer; font-weight: 500; font-size: 18px; }
.faq-list p { margin-top: 10px; color: var(--graphite); }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.post-card { text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 12px; }
.post-card .kind { align-self: flex-start; }
.post-card h3 { font-size: 22px; }
.post-card .post-meta { margin-top: 0; }
.prose { max-width: 820px; }
.prose p { color: var(--graphite); font-size: 17px; line-height: 1.65; margin: 0 0 20px; }
.prose p strong { color: var(--off-black); font-weight: 500; }
.prose h2 { font-size: clamp(24px, 2.6vw, 32px); margin: 44px 0 16px; }
.prose .bul { margin: 0 0 20px; font-size: 17px; line-height: 1.65; }
.pullquote { margin: 32px 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--lake-blue); font-size: clamp(20px, 2.2vw, 26px); line-height: 1.35; letter-spacing: -0.02em; font-weight: 500; }
.prose .stats { margin: 32px 0; }
.post-cta { margin-top: 48px; border: 1px solid var(--ash); border-radius: 28px; padding: 32px; background: var(--white); }
.post-cta h3 { margin-bottom: 10px; }
.post-cta p { margin-bottom: 20px; }
.doc { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 48px; align-items: start; }
.toc { position: sticky; top: 108px; border: 1px solid var(--ash); border-radius: 28px; padding: 24px; background: var(--white); font-size: 14px; }
.toc b { display: block; margin-bottom: 12px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 500; }
.toc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.toc a { text-decoration: none; color: var(--graphite); }
.toc a:hover { color: var(--lake-blue); }
.doc-body { max-width: 820px; }
.doc-sec { padding-top: 8px; margin-bottom: 44px; scroll-margin-top: 108px; }
.doc-sec h2 { font-size: clamp(24px, 2.6vw, 32px); margin: 12px 0 16px; }
.doc-sec h3 { font-size: 18px; margin: 20px 0 8px; }
.doc-sec p { color: var(--graphite); margin: 0 0 14px; }
.doc-sec .bul { margin: 0 0 14px; }
.doc-sec a:not(.btn), .prose a:not(.btn), section.block > .wrap > p a:not(.btn) { color: var(--lake-blue); }
.post-cta .btn-blue { color: #fff; }
@media (max-width: 1080px) { .legacy-caps, .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .steps.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } .doc { grid-template-columns: minmax(0, 1fr); gap: 24px; } .toc { position: static; } }
@media (max-width: 640px) { .legacy-caps, .legacy-caps.two, .post-grid, .steps.four { grid-template-columns: minmax(0, 1fr); } .stats.small { grid-template-columns: repeat(3, minmax(0, 1fr)); } .post-cta { padding: 24px; } }
@media (max-width: 480px) { .btn { white-space: normal; text-align: center; max-width: 100%; } }
.legacy-figure { margin: 0 0 32px; max-width: 820px; }
.legacy-figure img, .prose img { display: block; width: 100%; height: auto; border-radius: 28px; border: 1px solid var(--ash); }
.prose .legacy-figure { margin: 32px 0; }
.post-card img.thumb { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 20px; margin-bottom: 4px; }
.info-list b small { color: var(--smoke); font-weight: 400; margin-left: 6px; }
.info-list b { font-weight: 500; }
.info-list a { text-decoration: none; }
.info-list a:hover { color: var(--lake-blue); }
#careers .btn { margin-top: 8px; }
.form .req { color: var(--lake-blue); }

/* Theme: light is the default; the toggle in the header sets data-theme="dark" on <html> and remembers the choice. */
.theme-btn { width: 44px; height: 44px; flex: none; border-radius: 50%; border: 1px solid var(--off-black); background: transparent; color: var(--off-black); cursor: pointer; display: inline-grid; place-items: center; padding: 0; }
.theme-btn:hover { background: var(--off-black); color: var(--parchment); }
.theme-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.theme-btn .i-sun { display: none; }
.logo .logo-dark { display: none; }
img.on-dark { display: none !important; } /* the white twin is only for dark mode; !important because layout rules like .hero-logo set display too */
:root[data-theme="dark"] {
  color-scheme: dark;
  --parchment: #101114;
  --off-black: #ececf1;
  --graphite: #b8bac6;
  --smoke: #9a9cb2;
  --ash: #2c2e36;
  --white: #181a1f;
  --periwinkle: #1b2050;
  --lake-blue: #7f95ff;
}
:root[data-theme="dark"] .theme-btn .i-moon { display: none; }
:root[data-theme="dark"] .theme-btn .i-sun { display: block; }
:root[data-theme="dark"] .logo .logo-light { display: none; }
:root[data-theme="dark"] img.on-light { display: none !important; }
:root[data-theme="dark"] .logo .logo-dark { display: block; }
:root[data-theme="dark"] img.on-dark { display: inline-block !important; }
:root[data-theme="dark"] .page-hero img.on-dark.hero-logo { display: block !important; }
:root[data-theme="dark"] .chip, :root[data-theme="dark"] .anchor-row a { border-color: rgba(236,236,241,.35); }
:root[data-theme="dark"] .wash { opacity: .55; }
:root[data-theme="dark"] svg [fill="#242424"] { fill: var(--off-black); }
:root[data-theme="dark"] svg [stroke="#242424"] { stroke: var(--off-black); }

/* Offices: world map + cards (Contact page) */
.offices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.office { border: 1px solid var(--ash); border-radius: 28px; padding: 28px; background: var(--white); display: flex; flex-direction: column; gap: 8px; min-width: 0; transition: border-color .2s, transform .3s cubic-bezier(.2, .7, .2, 1); }
.office:hover, .office:focus-visible { border-color: var(--off-black); transform: translateY(-3px); }
.office h3 { font-size: 22px; }
.office p { margin: 0; color: var(--graphite); }
.office a[href^="tel"] { text-decoration: none; color: var(--off-black); font-weight: 500; }
.office a[href^="tel"]:hover { color: var(--lake-blue); }
.office .link-arrow { margin-top: 10px; }
.worldmap { position: relative; border: 1px solid var(--ash); border-radius: 32px; background: radial-gradient(60% 80% at 28% 30%, rgba(10, 52, 237, .07), transparent 70%), radial-gradient(50% 70% at 72% 55%, rgba(255, 121, 83, .09), transparent 70%), var(--white); padding: clamp(14px, 3vw, 36px); overflow: hidden; }
.worldmap svg { display: block; width: 100%; height: auto; overflow: visible; }
.wm-dots path { fill: none; stroke: var(--smoke); stroke-width: 4.2; stroke-linecap: round; opacity: .42; animation: wm-shimmer 7s ease-in-out infinite; animation-delay: calc(var(--i) * -.9s); }
.wm-route { fill: none; stroke: var(--smoke); stroke-opacity: .35; stroke-width: 1.4; stroke-dasharray: 2 6; stroke-linecap: round; }
.wm-flow { fill: none; stroke: url(#wm-grad); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 130 870; animation: wm-run 4.8s linear infinite; filter: drop-shadow(0 0 5px rgba(124, 40, 233, .55)); }
.wm-core { fill: #0A34ED; stroke: #fff; stroke-width: 2.5; }
.wm-m.in .wm-core { fill: #FF7953; }
.wm-halo { fill: #0A34ED; opacity: .14; transform-box: fill-box; transform-origin: center; transition: transform .3s; }
.wm-m.in .wm-halo { fill: #FF7953; }
.wm-ring { fill: none; stroke: #0A34ED; stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: wm-ping 3s ease-out infinite; }
.wm-m.in .wm-ring { stroke: #FF7953; }
.wm-ring.r2 { animation-delay: 1.5s; }
.wm-pin { position: absolute; width: 0; height: 0; }
.wm-label { position: absolute; left: 16px; bottom: 14px; white-space: nowrap; display: grid; gap: 1px; padding: 8px 14px; border-radius: 14px; background: var(--white); border: 1px solid var(--ash); box-shadow: 0 10px 26px -14px rgba(10, 52, 237, .5); font-size: 14px; line-height: 1.2; animation: wm-float 5s ease-in-out infinite; transition: transform .25s, box-shadow .25s; }
.wm-label b { font-weight: 600; }
.wm-label small { font-size: 12px; color: var(--smoke); }
.wm-pin[data-pin="in"] .wm-label { animation-delay: -2.5s; }
.worldmap.is-ca .wm-pin[data-pin="ca"] .wm-label, .worldmap.is-in .wm-pin[data-pin="in"] .wm-label { transform: scale(1.08); box-shadow: 0 14px 32px -12px rgba(10, 52, 237, .7); }
.worldmap.is-ca .wm-m.ca .wm-halo, .worldmap.is-in .wm-m.in .wm-halo { transform: scale(1.8); }
@keyframes wm-shimmer { 0%, 100% { opacity: .3; } 50% { opacity: .85; } }
@keyframes wm-run { from { stroke-dashoffset: 1000; } to { stroke-dashoffset: 0; } }
@keyframes wm-ping { 0% { transform: scale(.7); opacity: .85; } 100% { transform: scale(4.2); opacity: 0; } }
@keyframes wm-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -4px; } }
@media (prefers-reduced-motion: reduce) { .wm-dots path, .wm-flow, .wm-ring, .wm-label { animation: none; } .wm-dots path { opacity: .5; } .wm-flow { stroke-dasharray: none; opacity: .8; } .wm-ring { opacity: .35; } }
@media (max-width: 640px) { .wm-label { padding: 5px 9px; font-size: 11px; left: 10px; bottom: 9px; border-radius: 10px; } .wm-pin[data-pin="ca"] .wm-label { bottom: auto; top: 4px; left: 14px; } .wm-label small { font-size: 10px; } .wm-dots path { stroke-width: 5; } }
@media (max-width: 820px) { .offices { grid-template-columns: minmax(0, 1fr); } .office { padding: 22px; } }

/* Platform hero: console frame around the tracked clip */
.plat-ui { background: #101114; color: #e9e9ec; border: 1px solid #25262c; border-radius: 28px; overflow: hidden; box-shadow: 0 24px 60px -30px rgba(10, 52, 237, .45); min-width: 0; }
.plat-ui .feed { border-radius: 0; aspect-ratio: 2 / 1; }
.pu-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px; font-size: 12px; color: #9b9daf; border-bottom: 1px solid #25262c; }
.pu-bar b { color: #e9e9ec; font-weight: 600; }
.pu-live { display: inline-flex; align-items: center; gap: 8px; }
.pu-live i { width: 8px; height: 8px; border-radius: 50%; background: #73C4C5; box-shadow: 0 0 0 0 rgba(115, 196, 197, .6); animation: pu-pulse 2s infinite; }
@keyframes pu-pulse { 70% { box-shadow: 0 0 0 7px rgba(115, 196, 197, 0); } 100% { box-shadow: 0 0 0 0 rgba(115, 196, 197, 0); } }
.pu-tag { border: 1px solid #3a3c44; border-radius: 9999px; padding: 3px 10px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: #c9cbd6; white-space: nowrap; }
.pu-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #25262c; border-bottom: 1px solid #25262c; }
.pu-kpis div { background: #101114; padding: 14px 18px; min-width: 0; }
.pu-kpis span { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: #9b9daf; }
.pu-kpis b { display: block; margin-top: 4px; font-size: 22px; font-weight: 500; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.pu-alerts { list-style: none; margin: 0; padding: 4px 18px 10px; display: grid; }
.pu-alerts li { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid #25262c; font-size: 13px; color: #c9cbd6; }
.pu-alerts li:first-child { border-top: 0; }
.pu-alerts b { color: #e9e9ec; font-weight: 500; }
.pu-alerts i { width: 8px; height: 8px; border-radius: 50%; background: #7896ff; }
.pu-alerts i.warn { background: #FF7953; } .pu-alerts i.pos { background: #73C4C5; }
.pu-alerts time { font-size: 12px; color: #9b9daf; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .pu-live i { animation: none; } }
@media (max-width: 480px) { .pu-kpis div { padding: 12px 12px; } .pu-kpis b { font-size: 18px; } .pu-alerts li { gap: 8px; } }

/* About hero: facts instead of a stock photo */
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--ash); border-radius: 28px; background: var(--white); overflow: hidden; box-shadow: 0 24px 60px -30px rgba(10, 52, 237, .35); }
.facts div { padding: clamp(22px, 3vw, 36px); display: flex; flex-direction: column; gap: 8px; min-width: 0; border-top: 1px solid var(--ash); }
.facts div:nth-child(-n+2) { border-top: 0; }
.facts div:nth-child(even) { border-left: 1px solid var(--ash); }
.facts b { font-size: clamp(22px, 2.5vw, 34px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; color: var(--off-black); overflow-wrap: anywhere; }
.facts div::before { content: ""; width: 28px; height: 3px; border-radius: 2px; background: var(--brand-gradient); margin-bottom: 6px; }
.facts span { color: var(--graphite); font-size: 15px; }

/* Contact hero: centred, with the three promises */
.hero-pills { justify-content: center; margin-top: 28px; }
.page-hero.hero-center .hero-pills + .hero-ctas { margin-top: 24px; }

/* Supporters: equal tiles */
.proof.partners-wrap { display: block; }
.partners-wrap .lbl { display: block; margin-bottom: 18px; }
.partners { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.partners li { display: grid; place-items: center; text-align: center; min-height: 84px; padding: 16px 18px; border: 1px solid var(--ash); border-radius: 22px; background: var(--white); font-weight: 600; font-size: clamp(15px, 1.4vw, 19px); letter-spacing: -0.01em; line-height: 1.25; color: var(--off-black); min-width: 0; overflow-wrap: anywhere; }
.partners-wrap .link-arrow { display: inline-flex; margin-top: 26px; }
@media (max-width: 1080px) { .partners { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* KenVision layer on top of the shared Intelense stylesheet (site/assets/site.css). Brand blue #0A34ED, Montserrat. */

/* ---------- logo, progress, reveal, spotlight ---------- */
.logo img.kv-logo { height: 48px; width: auto; }
footer .logo img.kv-logo { height: 56px; }
@media (max-width: 480px) { .logo img.kv-logo { height: 42px; } }

/* reveal uses the separate translate property so it never fights a card's own hover transform */
.js [data-r] { opacity: 0; translate: 0 20px; transition: opacity .7s ease var(--d, 0ms), translate .8s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms); }
.js [data-r].in { opacity: 1; translate: none; }
.spot { position: relative; overflow: hidden; }
.spot::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s ease; background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(10, 52, 237, .13), rgba(124, 40, 233, .05) 45%, transparent 70%); }
.spot:hover::after { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .js [data-r] { opacity: 1; translate: none; transition: none; } }

/* ---------- hero ---------- */
.kx-hero h1 { max-width: 18ch; }
.kx-hero h1 em, .head h2 em { font-style: normal; color: var(--lake-blue); }
.kx-byline { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--smoke); display: inline-flex; gap: 6px; align-items: center; margin-bottom: 18px; }
.kx-byline a { color: var(--lake-blue); text-decoration: none; font-weight: 600; }
.kx-byline a:hover { text-decoration: underline; }
.kx-trust { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.kx-trust span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 9999px; background: var(--white); border: 1px solid var(--ash); font-size: 13px; color: var(--graphite); }
.kx-trust span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lake-blue); }
.kx-stage { position: relative; perspective: 1100px; --rx: 0deg; --ry: 0deg; }
.kx-shot { margin: 0; min-width: 0; transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .35s cubic-bezier(.2, .7, .2, 1); will-change: transform; }
.kx-shot img { display: block; width: 100%; height: auto; filter: drop-shadow(0 28px 40px rgba(10, 52, 237, .22)); }
.kx-shot.round img { border-radius: 28px; filter: none; box-shadow: 0 24px 60px -30px rgba(10, 52, 237, .45); }
.kx-float { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 9999px; font-size: 12px; font-weight: 600; background: var(--white); color: var(--off-black); border: 1px solid var(--ash); box-shadow: 0 14px 30px -14px rgba(10, 52, 237, .5); animation: kx-bob 6s ease-in-out infinite; }
.kx-float i { width: 8px; height: 8px; border-radius: 50%; background: var(--g-teal); box-shadow: 0 0 0 0 rgba(115, 196, 197, .7); animation: kx-ping 2.2s ease-out infinite; }
.kx-float.f1 { left: -5%; top: 3%; }
.kx-float.f2 { right: -2%; top: 34%; animation-delay: -2s; }
.kx-float.f2 i { background: var(--g-coral); box-shadow: 0 0 0 0 rgba(255, 121, 83, .7); }
.kx-float.f3 { left: 6%; bottom: 10%; animation-delay: -4s; }
.kx-float.f3 i { background: var(--g-violet); box-shadow: 0 0 0 0 rgba(124, 40, 233, .7); }
@keyframes kx-bob { 50% { transform: translateY(-8px); } }
@keyframes kx-ping { 70% { box-shadow: 0 0 0 9px rgba(115, 196, 197, 0); } 100% { box-shadow: 0 0 0 0 rgba(115, 196, 197, 0); } }
@media (prefers-reduced-motion: reduce) { .kx-float, .kx-float i { animation: none; } }
@media (max-width: 680px) { .kx-float.f1 { left: 0; top: 2%; } .kx-float.f2 { right: 0; } .kx-float.f3 { left: 2%; } }

/* ---------- proof band ---------- */
.kx-proof { padding-block: clamp(36px, 5vw, 64px); border-top: 1px solid var(--ash); }
.kx-statband { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.kx-statband > div { padding: 8px clamp(14px, 2vw, 32px); border-left: 1px solid var(--ash); display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.kx-statband > div:first-child { border-left: 0; padding-left: 0; }
.kx-statband b { font-size: clamp(34px, 4.2vw, 60px); font-weight: 500; letter-spacing: -0.04em; line-height: 1.05; font-variant-numeric: tabular-nums; background: linear-gradient(120deg, var(--off-black) 30%, var(--lake-blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kx-statband span { font-weight: 600; font-size: 15px; }
.kx-statband small { color: var(--smoke); font-size: 13px; }
@media (max-width: 900px) { .kx-statband { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 0; } .kx-statband > div:nth-child(odd) { border-left: 0; padding-left: 0; } }

/* ---------- tickers ---------- */
.kx-ticker { overflow: hidden; border-block: 1px solid var(--ash); padding-block: 22px; background: var(--white); display: flex; align-items: center; }
.kx-ticker .lead { flex: none; padding: 0 24px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--smoke); border-right: 1px solid var(--ash); margin-right: 8px; white-space: nowrap; position: relative; z-index: 1; background: var(--white); }
.kx-ticker .track { display: flex; width: max-content; animation: kx-slide 46s linear infinite; }
.kx-ticker ul { display: flex; gap: 48px; list-style: none; margin: 0; padding: 0 24px; flex: none; }
.kx-ticker li { white-space: nowrap; text-transform: uppercase; font-size: 14px; font-weight: 500; letter-spacing: 0.04em; display: inline-flex; align-items: center; gap: 48px; }
.kx-ticker li::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, var(--g-blue), var(--g-violet) 50%, var(--g-coral)); }
@keyframes kx-slide { to { transform: translateX(-50%); } }
@media (max-width: 680px) { .kx-ticker.lbl { flex-direction: column; align-items: flex-start; gap: 12px; } .kx-ticker .lead { border: 0; padding-bottom: 0; } }
@media (prefers-reduced-motion: reduce) { .kx-ticker .track { animation: none; flex-wrap: wrap; width: auto; } .kx-ticker ul[aria-hidden] { display: none; } }

/* ---------- tabs: "standard" (self-cycling) and deployment ---------- */
.kx-tabs .tablist button { font: inherit; color: inherit; text-align: left; cursor: pointer; background: none; border: 0; }
.kx-tabs.std { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.kx-tabs.std .tablist { display: grid; gap: 6px; }
.kx-tabs.std .tablist button { position: relative; padding: 20px 24px 22px; border-radius: 24px; border: 1px solid transparent; display: grid; gap: 6px; transition: background .25s ease, border-color .25s ease; }
.kx-tabs.std .tablist button:hover { background: var(--white); }
.kx-tabs.std .tablist .t { font-size: 20px; font-weight: 500; letter-spacing: -0.02em; color: var(--smoke); transition: color .25s ease; }
.kx-tabs.std .tablist .d { color: var(--graphite); font-size: 15px; display: none; }
.kx-tabs.std .tablist [aria-selected="true"] { background: var(--white); border-color: var(--ash); box-shadow: 0 18px 40px -26px rgba(10, 52, 237, .5); }
.kx-tabs.std .tablist [aria-selected="true"] .t { color: var(--off-black); }
.kx-tabs.std .tablist [aria-selected="true"] .d { display: block; }
.kx-tabs .bar { position: absolute; left: 24px; right: 24px; bottom: 10px; height: 2px; border-radius: 2px; background: transparent; overflow: hidden; }
.kx-tabs [aria-selected="true"] .bar::after { content: ""; display: block; height: 100%; background: var(--brand-gradient); transform-origin: 0 50%; animation: kx-run 6s linear forwards; }
.kx-tabs.manual [aria-selected="true"] .bar::after { animation: none; transform: none; }
.kx-tabs:hover .bar::after { animation-play-state: paused; }
@keyframes kx-run { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.kx-tabs .stage { min-width: 0; }
.kx-tabs .frame { position: relative; border-radius: 36px; overflow: hidden; border: 1px solid var(--ash); background: radial-gradient(ellipse at 50% 40%, rgba(10, 52, 237, .14), transparent 70%), var(--white); aspect-ratio: 4 / 3; display: grid; place-items: center; }
.kx-tabs .frame img { width: 112%; max-width: none; height: auto; transform-origin: var(--ox, 50% 40%); transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.kx-tabs[data-i="0"] .frame img { --ox: 50% 40%; transform: scale(1); }
.kx-tabs[data-i="1"] .frame img { --ox: 94% 12%; transform: scale(1.7); }
.kx-tabs[data-i="2"] .frame img { --ox: 6% 62%; transform: scale(1.8); }
.kx-tabs[data-i="3"] .frame img { --ox: 92% 80%; transform: scale(1.8); }
.kx-tabs .frame .pill { position: absolute; left: 18px; top: 18px; z-index: 2; background: var(--off-black); color: var(--parchment); font-size: 12px; font-weight: 600; letter-spacing: .04em; padding: 8px 14px; border-radius: 9999px; }
.kx-scan::after { content: ""; position: absolute; left: 0; right: 0; height: 90px; top: -90px; pointer-events: none; background: linear-gradient(180deg, transparent, rgba(10, 52, 237, .16) 60%, rgba(10, 52, 237, .5) 100%); border-bottom: 1px solid rgba(10, 52, 237, .8); animation: kx-scan 5s ease-in-out infinite; }
@keyframes kx-scan { 0% { transform: translateY(0); } 100% { transform: translateY(calc(100% + 90px)); } }
@media (prefers-reduced-motion: reduce) { .kx-scan::after { display: none; } }
@media (max-width: 900px) { .kx-tabs.std { grid-template-columns: minmax(0, 1fr); } .kx-tabs.std .stage { order: -1; } }

.kx-tabs.dep .seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; border: 1px solid var(--ash); border-radius: 9999px; background: var(--white); margin-bottom: 28px; }
.kx-tabs.dep .seg button { padding: 11px 22px; border-radius: 9999px; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--graphite); display: inline-flex; gap: 10px; align-items: center; transition: background .25s ease, color .25s ease; }
.kx-tabs.dep .seg button b { font-weight: 600; color: var(--lake-blue); }
.kx-tabs.dep .seg button:hover { color: var(--off-black); }
.kx-tabs.dep .seg [aria-selected="true"] { background: var(--lake-blue); color: #fff; }
.kx-tabs.dep .seg [aria-selected="true"] b { color: #fff; opacity: .8; }
.panel-d { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding: clamp(24px, 4vw, 48px); border: 1px solid var(--ash); border-radius: var(--radius-card); background: var(--white); animation: kx-in .5s cubic-bezier(.2, .7, .2, 1); }
@keyframes kx-in { from { opacity: 0; transform: translateY(10px); } }
.panel-d h3 { font-size: clamp(28px, 3vw, 40px); margin: 10px 0 14px; }
.panel-d p { color: var(--graphite); max-width: 52ch; }
.panel-d .badge { display: inline-flex; margin-top: 20px; padding: 8px 14px; border-radius: 9999px; background: rgba(10, 52, 237, .08); color: var(--lake-blue); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.kx-num { font-size: 13px; font-weight: 600; color: var(--lake-blue); letter-spacing: 0.06em; }
.diagram { display: flex; align-items: center; justify-content: center; gap: 0; min-width: 0; }
.diagram .node { flex: 0 1 auto; border: 1px solid var(--ash); background: var(--parchment); border-radius: 18px; padding: 12px 14px; font-size: 12px; font-weight: 500; text-align: center; max-width: 132px; min-width: 0; overflow-wrap: anywhere; }
.diagram .node.mid { border-color: var(--lake-blue); color: var(--lake-blue); font-weight: 600; box-shadow: 0 0 0 6px rgba(10, 52, 237, .08); }
.diagram .ln { flex: 1 1 14px; min-width: 14px; height: 2px; background: repeating-linear-gradient(90deg, var(--lake-blue) 0 6px, transparent 6px 12px); background-size: 12px 2px; animation: kx-dash 1s linear infinite; opacity: .7; }
@keyframes kx-dash { to { background-position: 12px 0; } }
@media (prefers-reduced-motion: reduce) { .diagram .ln, .panel-d { animation: none; } }
@media (max-width: 900px) { .panel-d { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .diagram { flex-direction: column; } .diagram .ln { width: 2px; height: 28px; flex: none; min-width: 0; background: repeating-linear-gradient(180deg, var(--lake-blue) 0 6px, transparent 6px 12px); animation: none; } .diagram .node { max-width: none; width: 100%; } .kx-tabs.dep .seg { border-radius: 24px; } }

/* ---------- sector bento (image tiles) ---------- */
.kx-bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.kx-tile { position: relative; display: block; min-height: clamp(300px, 28vw, 400px); border-radius: 32px; overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; background: #0b0b0c; }
.kx-tile.a { grid-column: span 7; }
.kx-tile.b { grid-column: span 5; }
.kx-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s cubic-bezier(.2, .7, .2, 1); }
.kx-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(6, 8, 20, .88) 8%, rgba(6, 8, 20, .25) 55%, rgba(6, 8, 20, 0)); }
.kx-tile:hover img { transform: scale(1.06); }
.kx-tile .ov { position: absolute; inset: auto 0 0 0; padding: clamp(22px, 2.6vw, 34px); display: grid; gap: 8px; }
.kx-tile h3 { font-size: clamp(24px, 2.4vw, 32px); color: #fff; }
.kx-tile p { color: rgba(255, 255, 255, .82); font-size: 15px; max-width: 42ch; }
.kx-tile .go { margin-top: 8px; display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.kx-tile .go::after { content: "→"; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #fff; color: #0A34ED; transition: transform .3s cubic-bezier(.2, .7, .2, 1), background .3s; }
.kx-tile:hover .go::after { transform: translateX(6px); background: #0A34ED; color: #fff; }
@media (max-width: 900px) { .kx-tile.a, .kx-tile.b { grid-column: span 12; min-height: 280px; } }

/* ---------- connected steps ---------- */
.kx-flowsteps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; position: relative; counter-reset: s; }
.kx-flowsteps::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: linear-gradient(90deg, var(--g-blue), var(--g-violet), var(--g-coral), var(--g-teal)); opacity: .6; }
.kx-flowsteps li { position: relative; padding-top: 36px; display: grid; gap: 14px; align-content: start; min-width: 0; }
.kx-flowsteps li::before { content: ""; position: absolute; left: 0; top: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--parchment); border: 3px solid var(--lake-blue); box-shadow: 0 0 0 6px rgba(10, 52, 237, .1); }
.kx-flowsteps .pic { border-radius: 24px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--parchment); border: 1px solid var(--ash); }
.kx-flowsteps .pic img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.kx-flowsteps li:hover .pic img { transform: scale(1.05); }
.kx-flowsteps h3 { font-size: 22px; }
.kx-flowsteps p { color: var(--graphite); font-size: 15px; }
@media (max-width: 800px) { .kx-flowsteps { grid-template-columns: minmax(0, 1fr); gap: 36px; } .kx-flowsteps::before { left: 7px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; } .kx-flowsteps li { padding: 0 0 0 36px; } .kx-flowsteps li::before { top: 4px; } }

/* ---------- capability bento ---------- */
.kx-bentogrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; grid-auto-flow: dense; }
.kx-b { border: 1px solid var(--ash); border-radius: 32px; background: var(--white); display: flex; flex-direction: column; min-width: 0; transition: border-color .25s ease, transform .35s cubic-bezier(.2, .7, .2, 1); }
.kx-b:hover { border-color: var(--lake-blue); transform: translateY(-3px); }
.kx-b.big { grid-column: span 2; grid-row: span 2; }
.kx-b.wide { grid-column: span 2; flex-direction: row; align-items: stretch; }
.kx-b .media { background: var(--parchment); overflow: hidden; flex: none; }
.kx-b.big .media { flex: 1 1 auto; min-height: 260px; }
.kx-b.sm .media { aspect-ratio: 16 / 10; }
.kx-b.wide .media { width: 42%; }
.kx-b .media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.kx-b .media.fit { background: radial-gradient(ellipse at 50% 40%, rgba(10, 52, 237, .10), transparent 70%), var(--white); }
.kx-b .media.fit img { object-fit: contain; padding: 14px; }
.kx-b:hover .media img { transform: scale(1.05); }
.kx-b .body { padding: 22px 24px 26px; display: grid; gap: 8px; align-content: center; position: relative; z-index: 1; }
.kx-b.big .body { padding: 28px; }
.kx-b h3 { font-size: 20px; }
.kx-b.big h3 { font-size: 28px; }
.kx-b p { color: var(--graphite); font-size: 15px; }
@media (max-width: 1080px) { .kx-bentogrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .kx-b.big { grid-column: span 2; grid-row: auto; } .kx-b.big .media { aspect-ratio: 16 / 9; flex: none; } .kx-b.wide { grid-column: span 2; } }
@media (max-width: 680px) { .kx-bentogrid { grid-template-columns: minmax(0, 1fr); } .kx-b.big, .kx-b.wide { grid-column: auto; } .kx-b.wide { flex-direction: column; } .kx-b.wide .media { width: 100%; aspect-ratio: 16 / 10; } }

/* ---------- always-dark "why" panel ---------- */
.kx-dark { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius-card); padding: clamp(28px, 5vw, 64px); background: #0d0f1a; color: #f2f3f8; }
.kx-dark .eyebrow { color: #a3a8c3; }
.kx-dark h2 { margin: 18px 0 clamp(28px, 4vw, 48px); max-width: 18ch; color: #fff; }
.kx-dark .cells { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.kx-dark .cell { padding: 28px 22px 8px 0; display: grid; gap: 10px; align-content: start; transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.kx-dark .cell + .cell { padding-left: 22px; border-left: 1px solid rgba(255, 255, 255, .1); }
.kx-dark .cell:hover { transform: translateY(-4px); }
.kx-dark .cell svg { width: 30px; height: 30px; stroke: url(#brand-g); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.kx-dark h3 { font-size: 18px; color: #fff; }
.kx-dark p { color: #aab0cb; font-size: 14px; }
@media (max-width: 1080px) { .kx-dark .cells { grid-template-columns: repeat(2, minmax(0, 1fr)); } .kx-dark .cell, .kx-dark .cell + .cell { padding: 24px 12px 12px 0; border-left: 0; } }
@media (max-width: 560px) { .kx-dark .cells { grid-template-columns: minmax(0, 1fr); } }

/* ---------- challenge / outcomes ---------- */
.kx-side { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.kx-side .sticky { position: sticky; top: 110px; }
.kx-issues { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.kx-issue { padding: 28px 0; border-top: 1px solid var(--ash); display: grid; gap: 8px; align-content: start; transition: padding-left .3s ease; }
.kx-issue:hover { padding-left: 10px; }
.kx-issue .ic { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 121, 83, .12); margin-bottom: 6px; }
.kx-issue .ic svg { width: 22px; height: 22px; stroke: #E0552E; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.kx-issue h3 { font-size: 20px; }
.kx-issue p { color: var(--graphite); font-size: 15px; }
@media (max-width: 900px) { .kx-side { grid-template-columns: minmax(0, 1fr); } .kx-side .sticky { position: static; } }
@media (max-width: 560px) { .kx-issues { grid-template-columns: minmax(0, 1fr); } }

.kx-outcomes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--ash); border-radius: var(--radius-card); background: var(--white); overflow: hidden; }
.kx-outcomes > div { padding: clamp(24px, 3vw, 40px); display: grid; gap: 10px; align-content: start; border-left: 1px solid var(--ash); transition: background .3s ease; }
.kx-outcomes > div:first-child { border-left: 0; }
.kx-outcomes > div:hover { background: linear-gradient(160deg, rgba(10, 52, 237, .06), transparent 70%); }
.kx-outcomes h3 { font-size: clamp(20px, 2vw, 26px); }
.kx-outcomes p { color: var(--graphite); font-size: 15px; }
.tick { width: 30px; height: 30px; border-radius: 50%; margin-bottom: 8px; background: var(--lake-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.4l3 3 6-6.4' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat; }
@media (max-width: 800px) { .kx-outcomes { grid-template-columns: minmax(0, 1fr); } .kx-outcomes > div { border-left: 0; border-top: 1px solid var(--ash); } .kx-outcomes > div:first-child { border-top: 0; } }

/* ---------- mini cards, ladder ---------- */
.kx-grid { display: grid; gap: 16px; }
.kx-grid.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.kx-grid.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kx-mini { border: 1px solid var(--ash); border-radius: 28px; background: var(--white); padding: 26px; display: grid; gap: 10px; align-content: start; transition: border-color .25s ease, transform .35s cubic-bezier(.2, .7, .2, 1); }
.kx-mini:hover { border-color: var(--lake-blue); transform: translateY(-3px); }
.kx-mini .ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgba(10, 52, 237, .08); margin-bottom: 4px; }
.kx-mini .ic svg { width: 22px; height: 22px; stroke: var(--lake-blue); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.kx-mini h3 { font-size: 19px; }
.kx-mini p { color: var(--graphite); font-size: 15px; }
@media (max-width: 1080px) { .kx-grid.c4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .kx-grid.c4, .kx-grid.c3 { grid-template-columns: minmax(0, 1fr); } }
.kx-grid + .kx-ladder, .kx-ladder + .kx-grid { margin-top: 24px; }
.kx-ladder { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: end; }
.kx-ladder li { border-radius: 28px; padding: 28px; border: 1px solid var(--ash); background: var(--white); display: grid; gap: 10px; align-content: end; min-height: calc(150px + var(--s) * 40px); position: relative; overflow: hidden; }
.kx-ladder li::before { content: ""; position: absolute; inset: auto 0 0 0; height: calc(var(--s) * 22%); background: linear-gradient(0deg, rgba(10, 52, 237, .14), transparent); }
.kx-ladder h3 { font-size: 22px; position: relative; }
.kx-ladder p { color: var(--graphite); font-size: 15px; position: relative; }
@media (max-width: 800px) { .kx-ladder { grid-template-columns: minmax(0, 1fr); } .kx-ladder li { min-height: 0; } }

/* ---------- split blocks, ticks, frames ---------- */
.kx-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 64px; align-items: center; }
.kx-split.flip > :first-child { order: 2; }
.kx-frame { border-radius: 32px; overflow: hidden; position: relative; }
.kx-frame::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); pointer-events: none; }
.kx-frame img.photo { width: 100%; height: auto; display: block; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1s cubic-bezier(.2, .7, .2, 1); }
.kx-frame:hover img.photo { transform: scale(1.05); }
.kx-split img.photo { width: 100%; height: auto; border-radius: 28px; display: block; aspect-ratio: 4 / 3; object-fit: cover; }
.kx-ticks { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 0; }
.kx-ticks li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; padding: 16px 0; border-top: 1px solid var(--ash); color: var(--graphite); }
.kx-ticks li:first-child { border-top: 0; }
.kx-ticks li::before { content: ""; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; background: var(--lake-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.4l3 3 6-6.4' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.kx-ticks strong { color: var(--off-black); font-weight: 600; }
.kx-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.kx-chips span { border: 1px solid var(--ash); background: var(--white); border-radius: 9999px; padding: 8px 16px; font-size: 13px; font-weight: 500; color: var(--lake-blue); }
@media (max-width: 1080px) { .kx-split { grid-template-columns: minmax(0, 1fr); } .kx-split.flip > :first-child { order: 0; } }

/* ---------- illustrations ("in the field") ---------- */
.kx-vis { border: 1px solid var(--ash); border-radius: 28px; background: var(--white); padding: clamp(22px, 3vw, 36px); display: grid; gap: 14px; min-width: 0; }
.kx-vis .cap-t { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--smoke); font-weight: 500; }
.kx-bar { display: grid; gap: 6px; }
.kx-bar span { font-size: 13px; color: var(--graphite); }
.kx-bar i { display: block; height: 14px; width: var(--w); border-radius: 9999px; background: linear-gradient(90deg, var(--g-blue), var(--g-violet)); transform-origin: 0 50%; }
.js .kx-vis .kx-bar i { transform: scaleX(0); transition: transform 1.1s cubic-bezier(.2, .7, .2, 1) .25s; }
.js .kx-vis.in .kx-bar i { transform: scaleX(1); }
.kx-flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.kx-flow li { border: 1px solid var(--ash); border-radius: 16px; padding: 14px 18px; font-size: 14px; background: var(--parchment); position: relative; }
.kx-flow li + li::before { content: "↓"; position: absolute; top: -17px; left: 22px; color: var(--lake-blue); font-weight: 600; background: var(--white); line-height: 1; padding: 2px 4px; }
.kx-flow li.on { border-color: var(--lake-blue); color: var(--lake-blue); font-weight: 600; }
.kx-vis svg { width: 100%; height: auto; display: block; }
.kx-vis .axis { stroke: var(--ash); }
.kx-vis .area { fill: rgba(10, 52, 237, .14); stroke: var(--lake-blue); stroke-width: 2; }
.js .kx-vis .area { opacity: 0; transition: opacity 1.2s ease .3s; }
.js .kx-vis.in .area { opacity: 1; }
.kx-vis .thr { stroke: #FF7953; stroke-dasharray: 5 5; }
.kx-vis text { fill: var(--smoke); font-size: 11px; font-family: var(--font); }
.kx-save { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; color: var(--lake-blue); font-size: 14px; }

/* ---------- Part of Intelense ---------- */
.kx-by { border: 1px solid var(--ash); border-radius: var(--radius-card); background: var(--white); padding: clamp(28px, 4vw, 56px); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px 56px; align-items: center; position: relative; overflow: hidden; isolation: isolate; }
.kx-by .wash { opacity: .5; }
.kx-by img.by-logo { height: 30px; width: auto; display: block; margin-bottom: 20px; }
.kx-by h2 { font-size: clamp(26px, 3vw, 38px); }
.kx-by p { color: var(--graphite); margin-top: 14px; max-width: 52ch; }
.kx-by .links { display: grid; gap: 0; list-style: none; margin: 0; padding: 0; }
.kx-by .links li { border-top: 1px solid var(--ash); }
.kx-by .links li:first-child { border-top: 0; }
.kx-by .links a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; text-decoration: none; font-weight: 500; }
.kx-by .links a::after { content: "→"; color: var(--lake-blue); transition: transform .2s; flex: none; }
.kx-by .links a:hover { color: var(--lake-blue); }
.kx-by .links a:hover::after { transform: translateX(4px); }
.kx-by .links small { display: block; color: var(--smoke); font-weight: 400; font-size: 13px; }
.kx-modules { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.kx-modules a { border: 1px solid var(--ash); border-radius: 9999px; padding: 7px 14px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; text-decoration: none; transition: border-color .2s, color .2s, transform .2s; }
.kx-modules a:hover { border-color: var(--lake-blue); color: var(--lake-blue); transform: translateY(-2px); }
@media (max-width: 1080px) { .kx-by { grid-template-columns: minmax(0, 1fr); } }

/* ---------- quote, contact, 404, footer ---------- */
.kx-quote { margin: 0 auto; text-align: center; max-width: 880px; }
.kx-quote p { font-size: clamp(24px, 3.2vw, 40px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.2; text-wrap: balance; }
.kx-quote cite { display: block; margin-top: 22px; font-style: normal; font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--smoke); }
.kx-quote cite a { color: var(--lake-blue); text-decoration: none; font-weight: 600; }
.kx-book { display: grid; gap: 14px; justify-items: start; }
.kx-book p { color: var(--graphite); }
.kx-404 { text-align: center; padding-block: clamp(80px, 12vw, 160px); }
.kx-404 .big { font-size: clamp(88px, 16vw, 200px); font-weight: 500; letter-spacing: -0.05em; line-height: 1; color: var(--lake-blue); }
.kx-404 h1 { font-size: clamp(28px, 4vw, 44px); margin-top: 12px; }
.kx-404 p { color: var(--graphite); margin: 18px auto 0; max-width: 48ch; }
.foot.kx-foot { grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); }
.kx-foot .by-link { display: inline-block; margin-top: 14px; font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; text-decoration: none; border-bottom: 1px solid currentColor; }
@media (max-width: 1080px) { .foot.kx-foot { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .foot.kx-foot { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 900px) { .kx-tile::before { background: linear-gradient(0deg, rgba(6, 8, 20, .92) 20%, rgba(6, 8, 20, .55) 65%, rgba(6, 8, 20, .2)); } .kx-tile { min-height: 320px; } }

/* =====================  v3: native dashboard, scenes, rows, stable tabs  ===================== */

/* sector rows */
.kx-rows { border-top: 1px solid var(--ash); }
.kx-row { display: grid; grid-template-columns: minmax(180px, 280px) minmax(0, 1fr) 56px; gap: clamp(16px, 3vw, 40px); align-items: center; padding: 22px clamp(8px, 1.5vw, 20px); border-bottom: 1px solid var(--ash); text-decoration: none; color: inherit; border-radius: 0; transition: background .3s ease, padding .3s ease; }
.kx-row:hover { background: var(--white); }
.kx-row .pic { display: block; aspect-ratio: 16 / 10; border-radius: 20px; overflow: hidden; background: var(--parchment); }
.kx-row .pic img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.kx-row:hover .pic img { transform: scale(1.07); }
.kx-row h3 { font-size: clamp(24px, 2.6vw, 36px); margin-bottom: 8px; }
.kx-row p { color: var(--graphite); max-width: 56ch; }
.kx-row .go { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--ash); display: grid; place-items: center; justify-self: end; transition: background .3s ease, color .3s ease, transform .3s cubic-bezier(.2, .7, .2, 1), border-color .3s; }
.kx-row .go::after { content: "→"; }
.kx-row:hover .go { background: var(--lake-blue); color: #fff; border-color: var(--lake-blue); transform: translateX(6px); }
@media (max-width: 760px) { .kx-row { grid-template-columns: minmax(0, 1fr) 48px; } .kx-row .pic { grid-column: 1 / -1; } .kx-row .tx { grid-column: 1; } .kx-row .go { grid-column: 2; grid-row: 2; align-self: start; } }

/* capability grid: equal cards */
.kx-bentogrid.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kx-bentogrid.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.kx-bentogrid .kx-b { flex-direction: column; }
.kx-bentogrid .kx-b .media { aspect-ratio: 16 / 10; }
@media (max-width: 1080px) { .kx-bentogrid.c3, .kx-bentogrid.c4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .kx-bentogrid.c3, .kx-bentogrid.c4 { grid-template-columns: minmax(0, 1fr); } }

/* native dashboard */
.kx-dash { container-type: inline-size; position: relative; border: 1px solid var(--ash); border-radius: 24px; background: var(--white); box-shadow: 0 40px 80px -40px rgba(10, 52, 237, .45), 0 2px 0 rgba(255, 255, 255, .4) inset; overflow: hidden; font-size: 12px; color: var(--off-black); }
.kx-dash .dh { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--ash); background: var(--parchment); }
.kx-dash .dots { display: inline-flex; gap: 6px; }
.kx-dash .dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--ash); }
.kx-dash .ttl { font-weight: 600; }
.kx-dash .smp { margin-left: auto; color: var(--smoke); font-size: 11px; }
.kx-dash .lv { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 11px; color: #138a5b; background: rgba(19, 138, 91, .1); padding: 4px 10px; border-radius: 9999px; }
.kx-dash .lv i, .kx-dash .tg i { width: 7px; height: 7px; border-radius: 50%; background: #1fbf80; animation: kx-ping2 2s ease-out infinite; }
@keyframes kx-ping2 { 0% { box-shadow: 0 0 0 0 rgba(31, 191, 128, .6); } 80%, 100% { box-shadow: 0 0 0 8px rgba(31, 191, 128, 0); } }
.kx-dash .db { display: grid; grid-template-columns: 138px minmax(0, 1fr); position: relative; }
.kx-dash .ds { padding: 14px 10px; border-right: 1px solid var(--ash); display: grid; gap: 4px; align-content: start; }
.kx-dash .ni { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 10px; color: var(--graphite); font-weight: 500; }
.kx-dash .ni svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.kx-dash .ni.on { background: rgba(10, 52, 237, .1); color: var(--lake-blue); font-weight: 600; }
.kx-dash .dm { padding: 14px; display: grid; gap: 12px; min-width: 0; }
.kx-dash .kps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.kx-dash .kp { border: 1px solid var(--ash); border-radius: 14px; padding: 10px 12px; display: grid; gap: 2px; position: relative; background: var(--parchment); }
.kx-dash .kp span { color: var(--smoke); font-size: 11px; }
.kx-dash .kp b { font-size: 19px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.kx-dash .kp svg { position: absolute; right: 10px; bottom: 10px; width: 46px; height: 20px; fill: none; stroke: var(--lake-blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.kx-dash .dr { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 10px; }
.kx-dash .fd, .kx-screens .fd { position: relative; border-radius: 14px; overflow: hidden; background: #0b0b0c; min-height: 150px; }
.kx-dash .fd img, .kx-screens .fd img { width: 100%; height: 100%; object-fit: cover; display: block; position: absolute; inset: 0; }
.kx-dash .tg, .kx-screens .tg { position: absolute; left: 10px; top: 10px; display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px; border-radius: 9999px; background: rgba(8, 10, 20, .72); color: #fff; font-size: 10.5px; font-weight: 600; letter-spacing: .03em; backdrop-filter: blur(6px); }
.kx-dash .rc { display: grid; gap: 10px; grid-template-rows: minmax(0, 1fr) minmax(0, 1fr); }
.kx-dash .ht, .kx-screens .ht { position: relative; border-radius: 14px; overflow: hidden; min-height: 70px; background: var(--parchment); }
.kx-dash .ht img, .kx-screens .ht img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kx-dash .ht span, .kx-screens .ht span { position: absolute; left: 8px; bottom: 8px; background: rgba(255, 255, 255, .92); color: #242424; padding: 3px 8px; border-radius: 9999px; font-size: 10px; font-weight: 600; }
.hb { border: 1px solid var(--ash); border-radius: 14px; padding: 10px 12px; display: grid; gap: 8px; background: var(--parchment); min-height: 70px; }
.hb > span { color: var(--smoke); font-size: 11px; }
.bars { display: flex; align-items: flex-end; gap: 4px; height: 100%; min-height: 40px; }
.bars i { flex: 1; height: var(--h); border-radius: 4px 4px 2px 2px; background: linear-gradient(180deg, rgba(10, 52, 237, .55), rgba(10, 52, 237, .18)); transform-origin: 50% 100%; animation: kx-grow 1.2s cubic-bezier(.2, .7, .2, 1) both; }
.bars i.pk { background: linear-gradient(180deg, #0A34ED, #7C28E9); }
@keyframes kx-grow { from { transform: scaleY(.1); } }
.kx-dash .toast { position: absolute; right: 18px; bottom: 18px; display: flex; gap: 10px; align-items: center; padding: 10px 14px; border-radius: 14px; background: var(--off-black); color: var(--parchment); box-shadow: 0 18px 36px -14px rgba(0, 0, 0, .55); animation: kx-toast 7s ease-in-out infinite; }
.kx-dash .toast i { width: 8px; height: 8px; border-radius: 50%; background: #FF7953; flex: none; }
.kx-dash .toast b { display: block; font-size: 12px; }
.kx-dash .toast small { color: #b9bccd; font-size: 11px; }
@keyframes kx-toast { 0%, 8% { opacity: 0; transform: translateY(12px); } 14%, 80% { opacity: 1; transform: none; } 90%, 100% { opacity: 0; transform: translateY(12px); } }
@container (max-width: 560px) { .kx-dash .db { grid-template-columns: minmax(0, 1fr); } .kx-dash .ds { display: none; } .kx-dash .smp { display: none; } .kx-dash .dr { grid-template-columns: minmax(0, 1fr); } .kx-dash .rc { grid-template-columns: 1fr 1fr; grid-template-rows: auto; } .kx-dash .toast { display: none; } .kx-dash .kp svg { display: none; } }
@media (prefers-reduced-motion: reduce) { .kx-dash .toast { animation: none; } .bars i, .kx-dash .lv i, .kx-dash .tg i { animation: none; } }

/* scenes inside the "standard" tabs */
.kx-tabs .frame { aspect-ratio: 4 / 3; display: block; background: var(--white); position: relative; border-radius: 32px; overflow: hidden; border: 1px solid var(--ash); box-shadow: 0 40px 80px -50px rgba(10, 52, 237, .5); }
.kx-tabs .frame .pill { z-index: 3; }
.kx-screens .scr, .kx-tabs .scr { position: absolute; inset: 0; padding: 64px 22px 22px; opacity: 0; transform: scale(.98) translateY(8px); transition: opacity .55s ease, transform .7s cubic-bezier(.2, .7, .2, 1); pointer-events: none; display: grid; gap: 12px; align-content: start; }
.kx-tabs[data-i="0"] .s0, .kx-tabs[data-i="1"] .s1, .kx-tabs[data-i="2"] .s2, .kx-tabs[data-i="3"] .s3 { opacity: 1; transform: none; }
.scr .st { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--smoke); font-weight: 600; }
.scr.s0 { padding: 0; }
.scr.s0 .fd { position: absolute; inset: 0; border-radius: 0; }
.scr.s0 .tg { left: auto; right: 16px; top: 18px; }
.scr .ch { position: absolute; padding: 7px 12px; border-radius: 9999px; background: var(--white); color: #242424; font-size: 12px; font-weight: 600; box-shadow: 0 12px 28px -12px rgba(0, 0, 0, .6); animation: kx-bob 6s ease-in-out infinite; }
.scr .ch.c1 { left: 6%; bottom: 14%; }
.scr .ch.c2 { right: 8%; bottom: 28%; animation-delay: -3s; }
.scr .al { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 16px 18px; border: 1px solid var(--ash); border-radius: 18px; background: var(--parchment); }
.scr .al i { width: 10px; height: 10px; border-radius: 50%; background: var(--c, #FF7953); }
.scr .al.neg { --c: #FF7953; } .scr .al.warn { --c: #F2B84B; } .scr .al.info { --c: #4C6BFF; }
.scr .al b { display: block; font-size: 15px; }
.scr .al small { color: var(--smoke); font-size: 12px; }
.scr .al em { font-style: normal; font-size: 12px; color: var(--smoke); }
.scr .al[data-new] { border-color: var(--c); box-shadow: 0 0 0 4px rgba(255, 121, 83, .12); }
.kx-tabs[data-i="1"] .al[data-new] { animation: kx-in .6s cubic-bezier(.2, .7, .2, 1) .15s both; }
.scr.s2 ol { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 0; position: relative; }
.scr.s2 li { position: relative; padding: 0 0 22px 36px; font-size: 16px; font-weight: 500; }
.scr.s2 li::before { content: ""; position: absolute; left: 10px; top: 24px; bottom: 0; width: 2px; background: var(--ash); }
.scr.s2 li:last-child::before { display: none; }
.scr.s2 li i { position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--lake-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.4l3 3 6-6.4' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat; }
.kx-tabs[data-i="2"] .s2 li { animation: kx-in .5s cubic-bezier(.2, .7, .2, 1) calc(var(--i) * .22s + .1s) both; }
.scr .lat { justify-self: start; margin-top: 4px; padding: 8px 14px; border-radius: 9999px; background: rgba(10, 52, 237, .1); color: var(--lake-blue); font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.scr.s3 .g { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 12px; height: 100%; min-height: 0; }
.scr.s3 .ht { min-height: 160px; }
.kx-tabs[data-i="3"] .s3 .bars i { animation: kx-grow 1.1s cubic-bezier(.2, .7, .2, 1) both; }
@media (max-width: 520px) { .scr.s3 .g { grid-template-columns: minmax(0, 1fr); } .scr.s3 .ht { min-height: 110px; } }

/* deployment tabs: panels stacked in one cell so nothing jumps, own class names for the diagram */
.kx-tabs.dep .panels { display: grid; }
.kx-tabs.dep .panel-d { grid-area: 1 / 1; transition: opacity .35s ease, transform .45s cubic-bezier(.2, .7, .2, 1); animation: none; }
.kx-tabs.dep .panel-d.off { opacity: 0; transform: translateY(8px); visibility: hidden; pointer-events: none; }
.dg { display: grid; grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1.2fr) 28px minmax(0, 1fr); align-items: center; gap: 0; min-width: 0; }
.dg .dn { border: 1px solid var(--ash); background: var(--parchment); border-radius: 18px; padding: 16px 12px; font-size: 13px; font-weight: 500; text-align: center; text-transform: none; letter-spacing: 0; white-space: normal; line-height: 1.3; min-width: 0; overflow-wrap: break-word; }
.dg .dn.mid { border-color: var(--lake-blue); color: var(--lake-blue); font-weight: 600; box-shadow: 0 0 0 6px rgba(10, 52, 237, .08); }
.dg .dl { height: 2px; background: repeating-linear-gradient(90deg, var(--lake-blue) 0 5px, transparent 5px 10px); background-size: 10px 2px; animation: kx-dash 1s linear infinite; opacity: .7; }
@media (max-width: 640px) { .dg { grid-template-columns: minmax(0, 1fr); gap: 0; justify-items: stretch; } .dg .dl { width: 2px; height: 22px; justify-self: center; background: repeating-linear-gradient(180deg, var(--lake-blue) 0 5px, transparent 5px 10px); animation: none; } .kx-tabs.dep .seg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: 24px; } .kx-tabs.dep .seg button { justify-content: center; padding: 11px 10px; } }
@media (prefers-reduced-motion: reduce) { .dg .dl { animation: none; } }
@media (max-width: 760px) { .kx-dash .kp b { font-size: 16px; } }
.kx-dash { font-size: 13px; }
.kx-dash .fd { min-height: 210px; }
.kx-dash .dm { padding: 16px; gap: 14px; }
.kx-dash .dr { gap: 12px; }
.kx-dash .rc { gap: 12px; }
.kx-dash .kp b { font-size: 21px; }
.kx-float.f1 { left: auto; right: 7%; top: -18px; }
.kx-float.f2 { right: -22px; top: 52%; }
.kx-float.f3 { left: 6%; bottom: -16px; }
@media (max-width: 680px) { .kx-float.f1 { right: 4%; top: -16px; } .kx-float.f2 { right: -4px; } .kx-float.f3 { left: 2%; } }
.scr.s1, .scr.s2 { align-content: center; padding-top: 70px; }
.scr.s3 { grid-template-rows: auto minmax(0, 1fr); }
.scr.s3 .g { grid-template-rows: minmax(0, 1fr); }
.scr.s3 .hb, .scr.s3 .ht { height: 100%; }
.scr.s2 li { font-size: 17px; padding-bottom: 26px; }
.scr.s0 .tg { top: auto; right: 16px; bottom: 16px; }
@media (max-width: 900px) { .kx-tabs .frame { aspect-ratio: auto; height: 430px; } .scr.s3 .g { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) minmax(0, 1fr); } }

/* video + footage */
.kx-vid { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; background: #0b0b0c; }
.kx-shot.round .kx-vid, .kx-shot.round img { border-radius: 28px; }
.kx-shot.round img { aspect-ratio: 16 / 10; object-fit: cover; }
.cta.has-vid { color: #fff; border-top: 0; }
.cta.has-vid .bgv { position: absolute; inset: 0; z-index: -2; }
.cta.has-vid .bgv video { width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; }
.cta.has-vid::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 10, 24, .78), rgba(8, 10, 24, .86)); }
.cta.has-vid .wash { display: none; }
.cta.has-vid h2, .cta.has-vid .lede { color: #fff; }
.cta.has-vid .eyebrow { color: #c4c8e0; }
.cta.has-vid .btn-ghost { border-color: rgba(255, 255, 255, .7); color: #fff; }
.cta.has-vid .btn-ghost:hover { background: #fff; color: #0A34ED; }

/* partner logos: a still, wrapped row instead of a scrolling band */
.kx-partners .marquee { animation: none; width: auto; justify-content: center; }
.kx-partners .marquee ul { flex-wrap: wrap; justify-content: center; padding: 0 clamp(16px, 3vw, 32px); row-gap: clamp(14px, 1.8vw, 24px); }
.kx-partners .clients::after { display: none; }
.kx-partners .marquee .tile { width: clamp(130px, 14vw, 190px); height: clamp(84px, 8vw, 110px); }
.kx-partners .marquee { width: 100%; }
.kx-partners .marquee ul { flex: 1 1 100%; min-width: 0; }

/* ===== How it works: scroll-linked pipeline ===== */
.kx-how { position: relative; --p: 0; }
.kx-how .track { position: absolute; left: 8px; right: 0; top: 7px; height: 3px; border-radius: 3px; background: var(--ash); overflow: hidden; }
.kx-how .fill { display: block; height: 100%; background: var(--brand-gradient); transform-origin: 0 50%; transform: scaleX(var(--p)); }
.kx-how .stp { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.kx-how .stp > li { position: relative; padding-top: 40px; display: grid; gap: 14px; align-content: start; min-width: 0; }
.kx-how .dot { position: absolute; left: 0; top: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--parchment); border: 3px solid var(--ash); transition: border-color .4s ease, background .4s ease, box-shadow .4s ease; z-index: 1; }
.kx-how .stp > li.on .dot { border-color: var(--lake-blue); background: var(--lake-blue); box-shadow: 0 0 0 7px rgba(10, 52, 237, .14); }
.kx-how h3 { font-size: 22px; transition: color .4s; }
.kx-how .stp > li p { color: var(--graphite); font-size: 15px; }
.kx-how .vis { min-height: 270px; border: 1px solid var(--ash); border-radius: 28px; background: var(--white); display: grid; place-items: center; padding: 22px; overflow: hidden; position: relative; transition: opacity .6s ease, transform .7s cubic-bezier(.2, .7, .2, 1), box-shadow .6s ease, border-color .6s; }
.js .kx-how .stp > li:not(.on) .vis { opacity: .42; transform: scale(.97); }
.js .kx-how .stp > li:not(.on) h3 { color: var(--smoke); }
.kx-how .stp > li.on .vis { box-shadow: 0 30px 60px -36px rgba(10, 52, 237, .55); border-color: rgba(10, 52, 237, .35); }
.kx-how .vis.v3 { padding: 12px; place-items: stretch; background: transparent; border: 0; box-shadow: none !important; overflow: visible; }
.kx-how .vis.v3 .kx-dash { box-shadow: 0 30px 60px -40px rgba(10, 52, 237, .5); }

/* step 1 */
.hv1 { display: grid; grid-template-columns: auto 58px auto; align-items: center; gap: 0; width: 100%; justify-content: center; }
.hv1 .src { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.hv1 .src li { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border: 1px solid var(--ash); border-radius: 14px; background: var(--parchment); font-size: 13px; font-weight: 500; white-space: nowrap; }
.hv1 .src svg { width: 20px; height: 20px; stroke: var(--lake-blue); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.hv1 .join { width: 58px; height: 150px; overflow: visible; }
.hv1 .join circle { fill: var(--lake-blue); }
.hv1 .out { display: grid; gap: 8px; justify-items: center; padding: 18px 14px; border: 1px solid var(--lake-blue); border-radius: 18px; color: var(--lake-blue); text-align: center; font-size: 13px; max-width: 110px; box-shadow: 0 0 0 6px rgba(10, 52, 237, .08); }
.hv1 .out i { width: 10px; height: 10px; border-radius: 50%; background: var(--lake-blue); animation: kx-ping3 1.8s ease-out infinite; animation-play-state: paused; }
.kx-how .stp > li.on .hv1 .out i { animation-play-state: running; }
@keyframes kx-ping3 { 0% { box-shadow: 0 0 0 0 rgba(10, 52, 237, .5); } 80%, 100% { box-shadow: 0 0 0 12px rgba(10, 52, 237, 0); } }
.kx-how .fl { fill: none; stroke: var(--lake-blue); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 4 7; opacity: .75; animation: kx-flow 1.1s linear infinite; animation-play-state: paused; }
.kx-how .stp > li.on .fl { animation-play-state: running; }
@keyframes kx-flow { to { stroke-dashoffset: -22; } }

/* step 2 */
.hv2 { width: 100%; max-width: 340px; }
.hv2 svg { width: 100%; height: auto; display: block; overflow: visible; }
.hv2 .rings circle { fill: none; stroke: var(--lake-blue); stroke-width: 1.2; opacity: 0; transform-origin: 150px 112px; animation: kx-ring 3.2s ease-out infinite; animation-play-state: paused; }
.hv2 .rings circle + circle { animation-delay: 1.4s; }
.kx-how .stp > li.on .hv2 .rings circle { animation-play-state: running; }
@keyframes kx-ring { 0% { opacity: .5; transform: scale(.55); } 100% { opacity: 0; transform: scale(1.08); } }
.hv2 .body { fill: var(--white); stroke: var(--lake-blue); stroke-width: 2; }
.hv2 .barrel { fill: var(--parchment); stroke: var(--lake-blue); stroke-width: 2; }
.hv2 .mount { fill: none; stroke: var(--smoke); stroke-width: 4; stroke-linecap: round; opacity: .6; }
.hv2 .lens { fill: #0b0d1c; }
.hv2 .lens2 { fill: var(--lake-blue); animation: kx-lens 2.4s ease-in-out infinite; animation-play-state: paused; }
.kx-how .stp > li.on .hv2 .lens2 { animation-play-state: running; }
@keyframes kx-lens { 50% { fill: #7C28E9; transform: scale(1.25); } }
.hv2 .lens2 { transform-origin: 266px 112px; }
.hv2 .led { fill: #FF7953; animation: kx-led 1.4s steps(2, end) infinite; }
@keyframes kx-led { 50% { opacity: .2; } }

/* step 3 */
.hv3 { width: 100%; }
@media (max-width: 800px) {
  .kx-how .track { left: 8px; right: auto; top: 8px; bottom: 0; width: 3px; height: auto; }
  .kx-how .fill { width: 100%; height: 100%; transform-origin: 50% 0; transform: scaleY(var(--p)); }
  .kx-how .stp { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .kx-how .stp > li { padding: 0 0 0 40px; }
  .kx-how .dot { top: 4px; }
}
@media (max-width: 520px) { .hv1 { grid-template-columns: minmax(0, 1fr) 36px auto; } .hv1 .join { width: 36px; } .hv1 .src li { padding: 9px 10px; font-size: 12px; } .hv1 .out { max-width: 90px; padding: 14px 8px; font-size: 12px; } }
@media (prefers-reduced-motion: reduce) { .kx-how .fl, .hv2 .rings circle, .hv2 .lens2, .hv2 .led, .hv1 .out i { animation: none; } .hv2 .rings circle { opacity: .25; } }
/* step 3: a compact slice of the dashboard so all three cards sit at one height */
.hv3 .kx-dash .fd { display: none; }
.hv3 .kx-dash .dr { grid-template-columns: minmax(0, 1fr); }
.hv3 .kx-dash .rc { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto; }
.hv3 .kx-dash .ht, .hv3 .kx-dash .hb { min-height: 104px; }
.hv3 .kx-dash .toast { display: flex !important; position: static; animation: none; opacity: 1; transform: none; margin: 0 16px 16px; justify-content: flex-start; }
.hv3 .kx-dash .db { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto; }
.hv3 .kx-dash .ds { display: none; }

/* how it works: keep the three cards tidy at in-between widths */
.kx-how .vis { padding: 18px; }
.kx-how .vis.v3 { padding: 0; place-items: center; }
.hv3 .kx-dash { width: 100%; }
.hv3 .kx-dash .dm { align-content: start; padding: 14px; gap: 12px; }
.hv3 .kx-dash .kps { gap: 8px; }
.hv3 .kx-dash .kp { padding: 9px 10px; align-content: start; }
.hv3 .kx-dash .kp span { font-size: 10.5px; white-space: nowrap; }
.hv3 .kx-dash .kp b { font-size: 17px; white-space: nowrap; }
.hv3 .kx-dash .toast { margin: 0 14px 14px; }
.hv1 { grid-template-columns: minmax(0, 1fr) 40px auto; }
.hv1 .join { width: 40px; }
.hv1 .src li { white-space: normal; padding: 10px 12px; font-size: 12.5px; gap: 8px; }
.hv1 .out { max-width: 96px; padding: 14px 8px; font-size: 12px; }
@media (min-width: 801px) { .kx-how .vis { height: 346px; min-height: 0; } .hv2 { max-width: 330px; } }

/* =====================================================================
   v4: Monad reference (DESIGN.md) applied to KenVision.
   Warm parchment canvas, light headings, hairline borders, no card shadows, pill shapes,
   pastel washes as decoration only. Montserrat and brand blue #0A34ED are kept:
   blue is used for the primary action button only.
   ===================================================================== */
:root {
  --parchment: #f6f3f1; --white: #f6f3f1; --off-black: #242424; --graphite: #4e4d4d; --smoke: #797776; --ash: #cecac8;
  --lake-blue: #242424;                 /* accents that used blue now use off-black; .btn-blue keeps #0A34ED */
  --periwinkle: #cfdaf5; --sky: #a0b5eb; --mint: #a7fccd; --coral: #ff9473; --gold: #ecda98;
  --brand-gradient: linear-gradient(90deg, #a0b5eb 0%, #ff9473 55%, #a7fccd 100%);
  --radius-card: 40px;
}
h1, h2, h3, .serif { font-weight: 400; letter-spacing: -0.02em; }
body { letter-spacing: -0.01em; }
.eyebrow::before { background: var(--off-black); }

/* pastel atmospheric washes (coral > sky, sky > mint) */
.wash-a { background: radial-gradient(circle, rgba(255, 148, 115, .62), rgba(160, 181, 235, .32) 55%, rgba(160, 181, 235, 0) 72%); }
.wash-b { background: radial-gradient(circle, rgba(160, 181, 235, .7), rgba(167, 252, 205, .32) 55%, rgba(167, 252, 205, 0) 72%); }
.wash-c { background: radial-gradient(circle, rgba(167, 252, 205, .6), rgba(160, 181, 235, .25) 55%, transparent 72%); }

/* no drop shadows on cards; hairlines carry the edges */
.kx-shot img, .kx-shot.round img, .kx-float, .kx-dash, .kx-tabs.std .tablist [aria-selected="true"], .kx-tabs .frame, .kx-how li.on .vis, .kx-how .vis.v3 .kx-dash,
.hv1 .out, .kx-b:hover, .kx-mini:hover, .kx-dash .toast, .panel-d, .kx-ladder li, .kx-dash .kp { box-shadow: none !important; filter: none !important; }
.kx-shot.round img { border: 1px solid var(--ash); }
.kx-dash { background: #fbf9f7; border-color: var(--ash); }
.hv2 .rings circle { stroke: #a0b5eb; }
.hv2 .body, .hv2 .barrel { stroke: var(--off-black); }
.hv2 .lens2 { fill: var(--off-black); }
@keyframes kx-lens { 50% { fill: #a0b5eb; transform: scale(1.25); } }
.kx-how .fl, .hv1 .join circle { stroke: #a0b5eb; }
.hv1 .join circle { fill: #a0b5eb; stroke: none; }
.dg .dl { background: repeating-linear-gradient(90deg, #a0b5eb 0 5px, transparent 5px 10px); }
.hv1 .out { border-color: var(--off-black); color: var(--off-black); }
.hv1 .out i { background: #a0b5eb; }
.kx-how li.on .dot { box-shadow: 0 0 0 6px rgba(160, 181, 235, .35); border-color: var(--off-black); background: var(--off-black); }
.kx-how li.on .vis { border-color: var(--off-black); }
.kx-how .track { background: var(--ash); }

/* hero: centred, typographic, with the product picture below */
.kx-hero-c { text-align: center; }
.kx-hero.hero-center h1 { max-width: 15ch; margin-inline: auto; font-size: clamp(44px, 7vw, 80px); line-height: 1.08; letter-spacing: -0.025em; }
.kx-hero.hero-center .lede { margin-inline: auto; font-size: clamp(17px, 1.6vw, 20px); }
.kx-hero.hero-center .kx-byline, .kx-hero.hero-center .crumbs { justify-content: center; }
.kx-hero.hero-center .kx-trust { justify-content: center; }
.kx-below { margin: clamp(40px, 5vw, 72px) auto 0; max-width: 1040px; text-align: left; }
.kx-hero h1 em, .head h2 em { font-style: normal; color: inherit; background-image: linear-gradient(90deg, #a0b5eb, #ff9473 60%, #a7fccd); background-repeat: no-repeat; background-size: 100% 6px; background-position: 0 92%; padding-bottom: 2px; }
.kx-byline a { color: var(--off-black); border-bottom: 1px solid currentColor; }
.kx-byline a:hover { text-decoration: none; }
.kx-trust span, .kx-float { background: var(--parchment); border: 1px solid var(--ash); }
.kx-trust span::before { background: var(--off-black); }

/* figures: plain type */
.kx-statband b { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--off-black); font-weight: 400; }

/* logo strip: one still row of grayscale logos, left-aligned */
.kx-logos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.kx-logos img { width: 84px; height: 84px; object-fit: contain; display: block; filter: grayscale(1) contrast(1.05); mix-blend-mode: multiply; opacity: .8; transition: opacity .25s; }
.kx-logos img:hover { opacity: 1; }
@media (max-width: 680px) { .kx-logos img { width: 68px; height: 68px; } .kx-logos { gap: 8px 20px; } }

/* cards: 40px radius, hairline, parchment fill */
.kx-b, .kx-mini, .kx-outcomes, .kx-tabs .frame, .kx-vis, .kx-how .vis, .panel-d, .kx-ladder li, .kx-by, .kx-frame, .kx-split img.photo, .kx-frame img.photo, .kx-shot.round img, .kx-vid, .kx-shot.round .kx-vid { border-radius: 40px; }
.kx-issue .ic, .kx-mini .ic { background: transparent; border: 1px solid var(--ash); }
.kx-issue .ic svg { stroke: var(--off-black); }
.kx-mini .ic svg { stroke: var(--off-black); }
.kx-mini, .kx-b .body { padding: 32px; }
.kx-b .body { padding: 28px 32px 32px; }
.kx-b h3, .kx-mini h3 { font-size: 24px; }
@media (max-width: 680px) { .kx-b, .kx-mini, .kx-outcomes, .kx-tabs .frame, .kx-vis, .kx-how .vis, .panel-d, .kx-ladder li, .kx-by, .kx-frame, .kx-split img.photo, .kx-vid { border-radius: 28px; } }
.kx-tabs.std .tablist [aria-selected="true"] { background: transparent; border-color: var(--off-black); }
.kx-tabs.std .tablist button { border-radius: 32px; }
.kx-tabs .frame { background: #fbf9f7; }
.kx-tabs .bar::after, .kx-how .fill { background: var(--brand-gradient) !important; }
.kx-outcomes > div:hover { background: rgba(207, 218, 245, .35); }
.panel-d .badge, .scr .lat { background: var(--periwinkle); color: var(--off-black); }
.kx-tabs.dep .seg { background: transparent; }
.kx-tabs.dep .seg [aria-selected="true"] { background: var(--off-black); color: var(--parchment); }
.kx-tabs.dep .seg [aria-selected="true"] b, .kx-tabs.dep .seg button b { color: inherit; opacity: .7; }
.dg .dn.mid { border-color: var(--off-black); color: var(--off-black); box-shadow: none; background: var(--periwinkle); }
.kx-num { color: var(--smoke); }

/* data viz: pastel marks, off-black emphasis */
.kx-bar i { background: linear-gradient(90deg, #a0b5eb, #cfdaf5); }
.kx-vis .area { fill: rgba(160, 181, 235, .35); stroke: var(--off-black); }
.kx-save, .kx-flow li.on { color: var(--off-black); border-color: var(--off-black); }
.bars i { background: linear-gradient(180deg, #a0b5eb, #cfdaf5); }
.bars i.pk { background: var(--off-black); }
.kx-dash .ni.on { background: var(--periwinkle); color: var(--off-black); }
.kx-dash .kp svg { stroke: var(--off-black); }
.scr .al[data-new] { box-shadow: none; }

/* sector rows */
.kx-row:hover { background: rgba(255, 255, 255, .45); }
.kx-row:hover .go { background: var(--off-black); border-color: var(--off-black); }

/* "why" panel: light, hairline columns (no dark block) */
.kx-dark { background: transparent; color: var(--off-black); border: 1px solid var(--ash); }
.kx-dark .wash { display: none; }
.kx-dark .eyebrow { color: var(--smoke); }
.kx-dark h2, .kx-dark h3 { color: var(--off-black); }
.kx-dark p { color: var(--graphite); }
.kx-dark .cells { border-top-color: var(--ash); }
.kx-dark .cell + .cell { border-left-color: var(--ash); }
.kx-dark .cell svg { stroke: var(--off-black); }

/* Part of Intelense: the one periwinkle card */
.kx-by { background: var(--periwinkle); border-color: transparent; }
.kx-by .wash { display: block; opacity: .9; }
.kx-by .links li { border-top-color: rgba(36, 36, 36, .25); }
.kx-by .links a::after { color: var(--off-black); }
.kx-by .links small { color: var(--graphite); }
.kx-by .kx-modules a { border-color: rgba(36, 36, 36, .35); }
.kx-by .kx-modules a:hover { border-color: var(--off-black); color: var(--off-black); background: rgba(246, 243, 241, .6); }
.kx-by p a { color: var(--off-black) !important; border-bottom: 1px solid currentColor; }

/* FAQ and CTA stay typographic */
.faq-grid summary { font-weight: 400; }
.cta h2 { font-weight: 400; }
.kx-quote p { font-weight: 400; }
.kx-ticker, .kx-ticker .lead { background: transparent; }
.nav { background: transparent; }
.kx-hero.hero-center h1 { max-width: 17ch; }
.kx-hero h1 em, .head h2 em { -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.kx-dash .db { grid-template-columns: 172px minmax(0, 1fr); }
.kx-dash .toast { left: 10px; right: auto; bottom: 10px; width: 152px; padding: 9px 11px; gap: 8px; }
.kx-dash .toast small { font-size: 10.5px; }
.kx-ticker .lead { background: var(--parchment); }
@container (max-width: 560px) { .kx-dash .db { grid-template-columns: minmax(0, 1fr); } }
.kx-dash .kp b { white-space: nowrap; }
@container (max-width: 560px) { .kx-dash .kp b { font-size: 17px; } .kx-dash .kp { padding: 9px 10px; } }

/* =====================================================================
   v5: KenVision blue (#0A34ED) is the primary colour, the same blue as the call-to-action buttons.
   Gradients and washes blend the colours of the Ken module logos:
   KenVision blue, KenIoT violet, KenSafety coral, KenHome sky, KenAgri green.
   ===================================================================== */
:root {
  --lake-blue: #0A34ED;
  --kv-gradient: linear-gradient(90deg, #0A34ED 0%, #7C28E9 28%, #FF7953 56%, #78AFCF 80%, #368736 100%);
  --brand-gradient: var(--kv-gradient);
}
.eyebrow::before { background: linear-gradient(135deg, #0A34ED, #7C28E9 55%, #FF7953); }
.wash-a { background: radial-gradient(circle, rgba(255, 121, 83, .55), rgba(120, 175, 207, .3) 55%, rgba(120, 175, 207, 0) 72%); }
.wash-b { background: radial-gradient(circle, rgba(124, 40, 233, .38), rgba(10, 52, 237, .2) 50%, rgba(10, 52, 237, 0) 72%); }
.wash-c { background: radial-gradient(circle, rgba(120, 175, 207, .55), rgba(54, 135, 54, .18) 55%, transparent 72%); }

/* headline emphasis + links in primary blue */
.kx-hero h1 em, .head h2 em { color: var(--lake-blue); background-image: var(--kv-gradient); background-size: 100% 4px; }
.kx-byline a { color: var(--lake-blue); border-bottom-color: currentColor; }
.kx-by p a { color: #fff !important; }
.kx-trust span::before { background: var(--lake-blue); }
.kx-float.f1 i { background: #0A34ED; box-shadow: 0 0 0 0 rgba(10, 52, 237, .6); }
.kx-statband b { background: linear-gradient(120deg, #0A34ED 8%, #7C28E9 55%, #FF7953 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* data and diagram marks */
.kx-bar i { background: linear-gradient(90deg, #0A34ED, #7C28E9); }
.bars i { background: linear-gradient(180deg, rgba(10, 52, 237, .55), rgba(124, 40, 233, .2)); }
.bars i.pk { background: linear-gradient(180deg, #0A34ED, #7C28E9); }
.kx-vis .area { fill: rgba(10, 52, 237, .12); stroke: var(--lake-blue); }
.kx-save, .kx-flow li.on { color: var(--lake-blue); border-color: var(--lake-blue); }
.kx-dash .ni.on { background: rgba(10, 52, 237, .1); color: var(--lake-blue); }
.kx-dash .kp svg { stroke: var(--lake-blue); }
.kx-row:hover .go { background: var(--lake-blue); border-color: var(--lake-blue); }
.kx-mini .ic { background: rgba(10, 52, 237, .08); border-color: transparent; }
.kx-mini .ic svg { stroke: var(--lake-blue); }
.kx-dark .cell svg { stroke: url(#brand-g); }
.kx-outcomes > div:hover { background: linear-gradient(160deg, rgba(10, 52, 237, .07), transparent 70%); }
.panel-d .badge, .scr .lat { background: rgba(10, 52, 237, .1); color: var(--lake-blue); }
.kx-num { color: var(--lake-blue); }

/* tabs */
.kx-tabs.std .tablist [aria-selected="true"] { border-color: var(--lake-blue); }
.kx-tabs.dep .seg [aria-selected="true"] { background: var(--lake-blue); color: #fff; }
.kx-tabs.dep .seg button b { color: var(--lake-blue); opacity: 1; }
.kx-tabs.dep .seg [aria-selected="true"] b { color: #fff; opacity: .85; }
.dg .dn.mid { border-color: var(--lake-blue); color: var(--lake-blue); background: rgba(10, 52, 237, .07); }
.dg .dl { background: repeating-linear-gradient(90deg, #0A34ED 0 5px, transparent 5px 10px); opacity: .6; }
.kx-tabs .frame { background: radial-gradient(ellipse at 50% 0%, rgba(124, 40, 233, .08), transparent 60%), #fbf9f7; }

/* how it works */
.kx-how .fl { stroke: #0A34ED; }
.hv1 .join circle { fill: #0A34ED; }
.hv1 .out { border-color: var(--lake-blue); color: var(--lake-blue); }
.hv1 .out i { background: var(--lake-blue); }
.hv2 .rings circle { stroke: #7C28E9; }
.hv2 .body, .hv2 .barrel { stroke: var(--lake-blue); }
.hv2 .lens2 { fill: var(--lake-blue); }
@keyframes kx-lens { 50% { fill: #7C28E9; transform: scale(1.25); } }
.kx-how li.on .dot { border-color: var(--lake-blue); background: var(--lake-blue); box-shadow: 0 0 0 7px rgba(10, 52, 237, .14); }
.kx-how li.on .vis { border-color: rgba(10, 52, 237, .4); }

/* the one gradient card: made from the Ken logo colours */
.kx-by { background: linear-gradient(125deg, #0A34ED 0%, #5466DD 34%, #7C28E9 66%, #FF7953 118%); color: #fff; border-color: transparent; }
.kx-by .wash { display: none; }
.kx-by .eyebrow { color: rgba(255, 255, 255, .8); }
.kx-by .eyebrow::before { background: #fff; }
.kx-by h2 { color: #fff; }
.kx-by p { color: rgba(255, 255, 255, .88); }
.kx-by .links li { border-top-color: rgba(255, 255, 255, .28); }
.kx-by .links a { color: #fff; }
.kx-by .links a::after { color: #fff; }
.kx-by .links a:hover { color: #fff; opacity: .85; }
.kx-by .links small { color: rgba(255, 255, 255, .75); }
.kx-by .kx-modules a { border-color: rgba(255, 255, 255, .55); color: #fff; }
.kx-by .kx-modules a:hover { background: #fff; color: #0A34ED; border-color: #fff; }
.kx-float.f3 { left: auto; right: 14%; bottom: -16px; }
@media (max-width: 680px) { .kx-float.f3 { left: 2%; right: auto; } }

/* =====================  v6: drawn scenes, compare slider, carousel, capability explorer  ===================== */
.sc { width: 100%; height: auto; display: block; }
.sc-floor { fill: #fbf9f7; stroke: var(--ash); stroke-width: 1.5; }
.sc-shelf, .sc-block { fill: #ebe7e3; stroke: var(--ash); }
.sc-door { fill: var(--ash); }
.sc-p { fill: #242424; }
.sc-p.still { opacity: .8; }
.sc-room { fill: #f1eeea; stroke: var(--ash); stroke-width: 1.5; transition: fill .4s, stroke .4s; }
.sc-room.on { fill: rgba(10, 52, 237, .09); stroke: #0A34ED; }
.sc-desk { fill: #e3ded9; }
.sc-t2 { font: 500 14px Montserrat, sans-serif; fill: var(--smoke); }
.sc-t3 { font: 600 20px Montserrat, sans-serif; fill: var(--off-black); }
.sc-box > rect:first-child { fill: rgba(10, 52, 237, .07); stroke: #0A34ED; stroke-width: 2; }
.sc-box .sc-tag { fill: #0A34ED; }
.sc-box text { fill: #fff; font: 600 11px Montserrat, sans-serif; }
.sc-box.warn > rect:first-child { stroke: #FF7953; fill: rgba(255, 121, 83, .09); }
.sc-box.warn .sc-tag { fill: #FF7953; }
.sc-hvac rect { fill: #0A34ED; }
.sc-hvac text { fill: #fff; font: 600 11px Montserrat, sans-serif; }
.sc-road { fill: #e6e1dd; }
.sc-lane { stroke: #fbf9f7; stroke-width: 3; stroke-dasharray: 14 12; }
.sc-zebra { fill: #fbf9f7; }
.sc-car { fill: #0A34ED; }
.sc-car.car2, .sc-car.cv2 { fill: #7C28E9; }
.sc-fork { fill: #FF7953; }
.sc-cam rect { fill: #242424; }
.sc-cam circle { fill: #78AFCF; }
.sc-alert circle { fill: #FF7953; animation: kx-alertpulse 1.6s ease-out infinite; transform-origin: center; transform-box: fill-box; }
.sc-alert text { fill: #fff; font: 700 15px Montserrat, sans-serif; }
.sc-alert.big text { font-size: 26px; }
@keyframes kx-alertpulse { 0% { opacity: 1; transform: scale(1); } 70% { opacity: .75; transform: scale(1.18); } 100% { opacity: 1; transform: scale(1); } }
.sc-fov { animation: kx-fov 3.2s ease-in-out infinite; }
@keyframes kx-fov { 50% { opacity: .55; } }
.mv { animation: kx-walk 9s ease-in-out infinite alternate; }
.m1 { --dy: 130px; animation-duration: 8s; } .m2 { --dy: -120px; animation-duration: 10s; } .m3 { --dy: 150px; animation-duration: 11s; }
.m4 { --dx: 150px; animation-duration: 9s; } .m5 { --dx: -90px; --dy: 90px; animation-duration: 12s; } .m6 { --dy: -100px; animation-duration: 8.5s; }
.m7 { --dx: -80px; animation-duration: 7.5s; } .s1 { --dx: 18px; --dy: 10px; animation-duration: 6s; } .s2 { --dx: -14px; --dy: 16px; animation-duration: 7s; } .s3 { --dx: 12px; --dy: -14px; animation-duration: 5.5s; }
.f1 { --dx: 170px; animation-duration: 8s; }
@keyframes kx-walk { from { transform: translate(0, 0); } to { transform: translate(var(--dx, 0), var(--dy, 0)); } }
.car1 { --dx: 640px; animation: kx-walk 9s linear infinite alternate; } .car2 { --dx: -500px; animation: kx-walk 8s linear infinite alternate; }
.cv1 { --dy: 330px; animation: kx-walk 8s linear infinite alternate; } .cv2 { --dy: -260px; animation: kx-walk 7s linear infinite alternate; }
.sc-p.pulse { animation: kx-dotpulse 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes kx-dotpulse { 50% { transform: scale(1.35); } }
.sc-path { fill: none; stroke: #0A34ED; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 8 9; animation: kx-flow 1.4s linear infinite; }
.sc-path.v { stroke: #7C28E9; } .sc-path.c { stroke: #FF7953; }
.sc-dwell { fill: rgba(10, 52, 237, .16); stroke: #0A34ED; stroke-width: 2; animation: kx-dotpulse 3s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.sc-dwell.v { fill: rgba(124, 40, 233, .16); stroke: #7C28E9; } .sc-dwell.c { fill: rgba(255, 121, 83, .18); stroke: #FF7953; }
.sc-p.flow { opacity: .75; animation: kx-drift 5s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -.3s); }
@keyframes kx-drift { from { transform: translateX(-10px); } to { transform: translateX(14px); } }
.sc-bar { fill: url(#brand-g); animation: kx-grow2 1.2s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i) * .08s); transform-box: fill-box; transform-origin: 50% 100%; }
@keyframes kx-grow2 { from { transform: scaleY(.05); } }
.sc-line { fill: none; stroke: #0A34ED; stroke-width: 4; stroke-linecap: round; }
.sc-ring { fill: none; stroke: var(--ash); stroke-width: 18; }
.sc-ring.on { stroke: #0A34ED; stroke-dasharray: 290 440; transform: rotate(-90deg); transform-origin: 640px 320px; stroke-linecap: round; }
.sc-note rect { fill: #fbf9f7; stroke: var(--ash); stroke-width: 1.5; }
.sc-note circle { fill: #FF7953; } .sc-note.warn circle { fill: #F2B84B; } .sc-note.info circle { fill: #0A34ED; }
.fx-p:not(.off) .sc-note { animation: kx-in .6s cubic-bezier(.2, .7, .2, 1) calc(var(--i) * .16s) both; }
@media (prefers-reduced-motion: reduce) { .mv, .car1, .car2, .cv1, .cv2, .sc-p.pulse, .sc-path, .sc-dwell, .sc-p.flow, .sc-bar, .sc-fov, .sc-alert circle { animation: none; } }

/* hero + row pictures */
.kx-shot.round .sc { border: 1px solid var(--ash); border-radius: 40px; }
.kx-row .pic { background: transparent; }
.kx-row .pic svg { width: 100%; height: 100%; display: block; }
.kx-frame .sc { border: 1px solid var(--ash); border-radius: 40px; }
@media (max-width: 680px) { .kx-shot.round .sc, .kx-frame .sc { border-radius: 28px; } }

/* compare slider */
.kx-compare { position: relative; border: 1px solid var(--ash); border-radius: 40px; overflow: hidden; background: #fbf9f7; --pos: 50%; touch-action: pan-y; }
.kx-compare .layer .sc { border: 0; border-radius: 0; }
.kx-compare .layer.ken { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.kx-compare .rng { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.kx-compare .handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; background: #0A34ED; transform: translateX(-50%); pointer-events: none; }
.kx-compare .handle::after { content: "↔"; position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; transform: translate(-50%, -50%); border-radius: 50%; background: #0A34ED; color: #fff; display: grid; place-items: center; font-size: 18px; }
.kx-compare .lab { position: absolute; top: 18px; padding: 7px 14px; border-radius: 9999px; font-size: 12px; font-weight: 600; letter-spacing: .04em; pointer-events: none; }
.kx-compare .lab.l { left: 18px; background: var(--off-black); color: var(--parchment); }
.kx-compare .lab.r { right: 18px; background: #0A34ED; color: #fff; }
.kx-pts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 32px; }
.kx-pts > div { border-top: 1px solid var(--ash); padding-top: 18px; display: grid; gap: 8px; align-content: start; }
.kx-pts h3 { font-size: 20px; }
.kx-pts p { color: var(--graphite); font-size: 15px; }
@media (max-width: 900px) { .kx-pts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .kx-compare, .kx-compare .layer .sc { border-radius: 28px; } }
@media (max-width: 520px) { .kx-pts { grid-template-columns: minmax(0, 1fr); } }

/* sector carousel */
.kx-car .track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; outline-offset: 4px; }
.kx-car .track::-webkit-scrollbar { display: none; }
.kx-car .cc { flex: 0 0 min(560px, 84%); scroll-snap-align: start; border: 1px solid var(--ash); border-radius: 40px; padding: 18px 18px 28px; display: grid; gap: 10px; text-decoration: none; color: inherit; transition: border-color .25s ease, transform .35s cubic-bezier(.2, .7, .2, 1); }
.kx-car .cc:hover { border-color: #0A34ED; transform: translateY(-3px); }
.kx-car .pic { display: block; border-radius: 28px; overflow: hidden; margin-bottom: 8px; }
.kx-car .pic .sc { border: 0; border-radius: 0; }
.kx-car h3 { font-size: 28px; padding-inline: 10px; }
.kx-car p { color: var(--graphite); padding-inline: 10px; max-width: 46ch; }
.kx-car .go { padding-inline: 10px; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: #0A34ED; }
.kx-car .go::after { content: " →"; }
.kx-car .ctl { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin-top: 22px; }
.kx-car .ctl button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--off-black); background: transparent; font-size: 18px; cursor: pointer; color: var(--off-black); transition: background .2s, color .2s; }
.kx-car .ctl button:hover { background: #0A34ED; border-color: #0A34ED; color: #fff; }
.kx-car .dots { display: inline-flex; gap: 6px; }
.kx-car .dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--ash); transition: background .2s, width .2s; }
.kx-car .dots i.on { background: #0A34ED; width: 22px; border-radius: 6px; }

/* capability explorer */
.kx-tabs.fx { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.kx-tabs.fx .tablist { display: grid; gap: 4px; }
.kx-tabs.fx .tablist button { padding: 18px 24px 20px; border-radius: 28px; border: 1px solid transparent; display: grid; gap: 6px; transition: background .25s, border-color .25s; }
.kx-tabs.fx .tablist button:hover { border-color: var(--ash); }
.kx-tabs.fx .tablist .t { font-size: 20px; font-weight: 400; letter-spacing: -0.02em; color: var(--smoke); transition: color .25s; }
.kx-tabs.fx .tablist .d { color: var(--graphite); font-size: 15px; display: none; }
.kx-tabs.fx .tablist [aria-selected="true"] { border-color: #0A34ED; }
.kx-tabs.fx .tablist [aria-selected="true"] .t { color: var(--off-black); }
.kx-tabs.fx .tablist [aria-selected="true"] .d { display: block; }
.kx-tabs.fx .stage { position: sticky; top: 90px; display: grid; }
.kx-tabs.fx .fx-p { grid-area: 1 / 1; border-radius: 40px; overflow: hidden; border: 1px solid var(--ash); transition: opacity .4s ease, transform .5s cubic-bezier(.2, .7, .2, 1); }
.kx-tabs.fx .fx-p .sc { border: 0; border-radius: 0; }
.kx-tabs.fx .fx-p.off { opacity: 0; transform: translateY(10px); visibility: hidden; pointer-events: none; }
@media (max-width: 900px) { .kx-tabs.fx { grid-template-columns: minmax(0, 1fr); } .kx-tabs.fx .stage { position: static; order: -1; } .kx-tabs.fx .fx-p { border-radius: 28px; } }
.kx-compare { aspect-ratio: 2.1 / 1; }
.kx-compare .layer { position: absolute; inset: 0; }
.kx-compare .layer .sc { width: 100%; height: 100%; }
@media (max-width: 680px) { .kx-compare { aspect-ratio: 4 / 3; } }

/* compare slider on real footage */
.kx-compare.vid { aspect-ratio: 16 / 9; background: #0b0b0c; }
.kx-compare.vid .cv { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.kx-compare.vid .layer.ken { background: transparent; }
.kx-compare .tint { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 52, 237, .10), rgba(124, 40, 233, .10)); }
.kx-compare .ov { position: absolute; inset: 0; width: 100%; height: 100%; }
.kx-compare .ov .bx rect.r { fill: rgba(10, 52, 237, .10); stroke: #0A34ED; stroke-width: 3; }
.kx-compare .ov .bx.v rect.r { stroke: #FF7953; fill: rgba(255, 121, 83, .10); }
.kx-compare .ov .bx.ok rect.r { stroke: #368736; fill: rgba(54, 135, 54, .12); }
.kx-compare .ov .bx rect.t { fill: #0A34ED; }
.kx-compare .ov .bx.v rect.t { fill: #FF7953; }
.kx-compare .ov .bx.ok rect.t { fill: #368736; }
.kx-compare .ov .bx text { fill: #fff; font: 600 18px Montserrat, sans-serif; }
.kx-compare .hud { position: absolute; right: 18px; bottom: 18px; display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.kx-compare .hud span { background: rgba(8, 10, 24, .72); color: #fff; font-size: 12px; font-weight: 600; padding: 7px 12px; border-radius: 9999px; backdrop-filter: blur(6px); }
.kx-compare .hud b { font-variant-numeric: tabular-nums; margin-left: 6px; }
.kx-compare.vid .lab.l { background: rgba(8, 10, 24, .72); color: #fff; }
@media (max-width: 680px) { .kx-compare.vid { aspect-ratio: 4 / 3; } .kx-compare .hud { right: 10px; bottom: 10px; } .kx-compare .hud span { padding: 5px 9px; font-size: 11px; } }
@media (max-width: 680px) {
  .kx-compare.vid { aspect-ratio: 3 / 2; }
  .kx-compare .lab { top: 10px; padding: 5px 10px; font-size: 11px; }
  .kx-compare .lab.l { left: 10px; } .kx-compare .lab.r { right: 10px; }
  .kx-compare .handle::after { width: 38px; height: 38px; }
  .kx-compare .hud { left: 10px; right: 10px; justify-content: center; }
  .kx-compare .hud span { padding: 4px 8px; font-size: 10.5px; }
  .kx-compare .hud b { margin-left: 4px; }
  .kx-compare .ov .bx text { font-size: 22px; }
}

/* footage switch + zone overlay */
.kx-cmpwrap { display: grid; gap: 14px; }
.kx-seg { display: inline-flex; gap: 4px; padding: 5px; border: 1px solid var(--ash); border-radius: 9999px; justify-self: start; }
.kx-seg button { font: inherit; border: 0; background: transparent; cursor: pointer; padding: 10px 20px; border-radius: 9999px; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--graphite); transition: background .25s, color .25s; }
.kx-seg button:hover { color: var(--off-black); }
.kx-seg button[aria-selected="true"] { background: #0A34ED; color: #fff; }
.kx-compare .ov .zn { --heat: .15; }
.kx-compare .ov .zn rect.r { fill: rgba(10, 52, 237, var(--heat)); stroke: #0A34ED; stroke-width: 3; stroke-dasharray: 10 8; }
.kx-compare .ov .zn.v rect.r { fill: rgba(255, 121, 83, var(--heat)); stroke: #FF7953; }
.kx-compare .ov .zn rect.t { fill: #0A34ED; }
.kx-compare .ov .zn.v rect.t { fill: #FF7953; }
.kx-compare .ov .zn text { fill: #fff; font: 600 19px Montserrat, sans-serif; }
@media (max-width: 680px) { .kx-seg button { padding: 8px 14px; font-size: 12px; } .kx-compare .ov .zn text { font-size: 24px; } }
.kx-compare .hud span { white-space: nowrap; }
@media (max-width: 680px) { .kx-compare .hud { flex-wrap: wrap; gap: 5px; } .kx-compare .ov .zn text { font-size: 21px; } .kx-compare.vid { aspect-ratio: 4 / 3; } }

/* retail client logos */
.kx-clients .wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2fr); gap: 24px clamp(24px, 5vw, 80px); align-items: center; }
.kx-clients .cl-head { display: grid; gap: 12px; }
.kx-clients .cl-head p { color: var(--graphite); font-size: 15px; max-width: 30ch; }
.cl-row { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 20px clamp(24px, 4vw, 56px); }
.cl-row li { display: grid; place-items: center; }
.cl-row img { height: 64px; width: auto; max-width: 150px; object-fit: contain; display: block; filter: grayscale(1) contrast(1.1); mix-blend-mode: multiply; opacity: .78; transition: opacity .25s, filter .25s, transform .25s; }
.cl-row img:hover { opacity: 1; filter: none; transform: translateY(-2px); }
@media (max-width: 900px) { .kx-clients .wrap { grid-template-columns: minmax(0, 1fr); } .kx-clients .cl-head p { max-width: none; } }
@media (max-width: 560px) { .cl-row img { height: 52px; max-width: 120px; } .cl-row { gap: 16px 28px; } }
.cl-row img { filter: none; mix-blend-mode: normal; opacity: .8; }
.cl-row img[data-c="mia"] { height: 84px; }
.cl-row img[data-c="hyou"] { height: 56px; }
.cl-row img[data-c="swarovski"] { height: 58px; }
@media (max-width: 560px) { .cl-row img[data-c="mia"] { height: 68px; } .cl-row img[data-c="hyou"] { height: 46px; } .cl-row img[data-c="swarovski"] { height: 48px; } }

.cl-row img:hover { filter: none; opacity: 1; }

/* clients: staggered tile wall (replaces the flat row) */
.kx-clients { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(56px, 7vw, 104px); }
.kx-clients .wrap { display: block; }
.kx-clients .cl-head { display: grid; gap: 14px; max-width: 640px; margin-bottom: clamp(32px, 4vw, 56px); }
.kx-clients .cl-head h2 { font-size: clamp(30px, 3.8vw, 52px); }
.kx-clients .cl-head p { color: var(--graphite); max-width: 46ch; font-size: 17px; }
.cl-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; align-items: start; }
.cl-t { aspect-ratio: 1 / 1.05; border: 1px solid var(--ash); border-radius: 36px; background: rgba(251, 249, 247, .72); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 22px; transition: transform .45s cubic-bezier(.2, .7, .2, 1), border-color .3s ease, background .3s ease; }
.cl-t.t1, .cl-t.t3 { margin-top: clamp(24px, 3.5vw, 52px); }
.cl-t.t2 { margin-top: clamp(8px, 1.4vw, 20px); }
.cl-t:hover { transform: translateY(-8px) rotate(-1deg); border-color: #0A34ED; background: #fff; }
.cl-t.t1:hover, .cl-t.t3:hover { transform: translateY(-8px) rotate(1deg); }
.cl-t img { max-width: 100%; max-height: 74px; width: auto; height: auto; object-fit: contain; display: block; opacity: .85; transition: opacity .3s; }
.cl-t:hover img { opacity: 1; }
.cl-t img[data-c="mia"] { max-height: 104px; }
.cl-t img[data-c="hyou"] { max-height: 66px; }
.cl-t img[data-c="swarovski"] { max-height: 70px; }
@media (max-width: 1080px) { .cl-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } .cl-t.t1, .cl-t.t2, .cl-t.t3 { margin-top: 0; } .cl-t.t3 { margin-top: 24px; } .cl-t.t4 { margin-top: 24px; } .cl-t.t1 { margin-top: 24px; } }
@media (max-width: 560px) { .cl-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .cl-t { border-radius: 28px; padding: 16px; } .cl-t.t1, .cl-t.t2, .cl-t.t3, .cl-t.t4 { margin-top: 0; } .cl-t.t1, .cl-t.t3 { margin-top: 20px; } .cl-t.t4 { grid-column: 1 / -1; aspect-ratio: 2.4 / 1; } .cl-t img { max-height: 60px; } .cl-t img[data-c="mia"] { max-height: 84px; } }
@media (prefers-reduced-motion: reduce) { .cl-t:hover, .cl-t.t1:hover, .cl-t.t3:hover { transform: none; } }
.cl-t { aspect-ratio: 1 / .86; }
.cl-t img { max-height: 84px; }
.cl-t img[data-c="mia"] { max-height: 118px; }
.cl-t img[data-c="hyou"] { max-height: 74px; }
.cl-t img[data-c="swarovski"] { max-height: 80px; }
@media (max-width: 560px) { .cl-t { aspect-ratio: 1 / .9; } .cl-t.t4 { aspect-ratio: 2.4 / 1; } .cl-t img { max-height: 60px; } .cl-t img[data-c="mia"] { max-height: 84px; } }
/* nine logos: five on the first row, four on the second, staggered */
.cl-t.t1, .cl-t.t3 { margin-top: clamp(24px, 3.5vw, 52px); }
.cl-t.t5, .cl-t.t7 { margin-top: 0; } .cl-t.t6, .cl-t.t8 { margin-top: 0; }
.cl-row { row-gap: 16px; }
.cl-t img[data-c="tissot"] { max-height: 96px; } .cl-t img[data-c="seiko"] { max-height: 56px; } .cl-t img[data-c="caratlane"] { max-height: 78px; } .cl-t img[data-c="prestige"] { max-height: 112px; }
@media (max-width: 1080px) { .cl-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } .cl-t { margin-top: 0 !important; } .cl-t:nth-child(3n+2) { margin-top: 24px !important; } }
@media (max-width: 560px) { .cl-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cl-t:nth-child(3n+2) { margin-top: 0 !important; } .cl-t:nth-child(2n) { margin-top: 20px !important; } .cl-t.t4 { grid-column: auto; aspect-ratio: 1 / .9; } .cl-t:last-child { grid-column: 1 / -1; aspect-ratio: 2.4 / 1; margin-top: 0 !important; } .cl-t img[data-c="prestige"] { max-height: 80px; } .cl-t img[data-c="tissot"] { max-height: 70px; } }

/* clients wall v3: symmetric. Rows are centred, offsets mirror around the middle, and the last row is centred too. */
.kx-clients .cl-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; align-items: flex-start; }
.kx-clients .cl-row .cl-t { flex: 0 0 calc((100% - 64px) / 5); width: auto; aspect-ratio: 1 / .86; margin-top: 0 !important; }
.kx-clients .cl-row .cl-t.t1, .kx-clients .cl-row .cl-t.t3 { margin-top: clamp(14px, 2vw, 28px) !important; }
.kx-clients .cl-row .cl-t.t2 { margin-top: clamp(28px, 4vw, 56px) !important; }
.kx-clients .cl-row .cl-t.t6, .kx-clients .cl-row .cl-t.t7 { margin-top: clamp(14px, 2vw, 28px) !important; }
@media (max-width: 1080px) {
  .kx-clients .cl-row .cl-t, .kx-clients .cl-row .cl-t:nth-child(n) { flex-basis: calc((100% - 32px) / 3); margin-top: 0 !important; }
}
@media (max-width: 560px) {
  .kx-clients .cl-row { gap: 12px; }
  .kx-clients .cl-row .cl-t, .kx-clients .cl-row .cl-t:nth-child(n) { flex-basis: calc((100% - 12px) / 2); aspect-ratio: 1 / .9; margin-top: 0 !important; grid-column: auto; }
}

/* real footage in the solution pictures */
.kx-car .pic video, .kx-row .pic video, .kx-shot.round video { display: block; width: 100%; height: 100%; object-fit: cover; background: #0b0b0c; }
.kx-car .pic video { aspect-ratio: 8 / 5; }
.kx-shot.round video { aspect-ratio: 16 / 10; border: 1px solid var(--ash); border-radius: 40px; }
.kx-row .pic { background: #0b0b0c; }
@media (max-width: 680px) { .kx-shot.round video { border-radius: 28px; } }

/* live pictures: real footage + overlay (solution cards and heroes) */
.kx-live { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: #0b0b0c; border-radius: inherit; }
.kx-live .stack { position: absolute; inset: 0; transform: scale(var(--z, 1)); transform-origin: var(--ox, 50%) var(--oy, 50%); }
.kx-live .stack video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; border: 0; border-radius: 0; }
.kx-live .ov { position: absolute; inset: 0; width: 100%; height: 100%; }
.kx-live .ov .bx rect.r { fill: rgba(10, 52, 237, .10); stroke: #0A34ED; stroke-width: 3; }
.kx-live .ov .bx.v rect.r { stroke: #FF7953; fill: rgba(255, 121, 83, .10); }
.kx-live .ov .bx.ok rect.r { stroke: #368736; fill: rgba(54, 135, 54, .12); }
.kx-live .ov .bx.neg rect.r { stroke: #E5322D; fill: rgba(229, 50, 45, .14); stroke-width: 4; }
.kx-live .ov .bx rect.t { fill: #0A34ED; } .kx-live .ov .bx.v rect.t { fill: #FF7953; } .kx-live .ov .bx.ok rect.t { fill: #368736; } .kx-live .ov .bx.neg rect.t { fill: #E5322D; }
.kx-live .ov .bx text, .kx-live .ov .zn text { fill: #fff; font: 600 22px Montserrat, sans-serif; }
.kx-live .ov .zn { --heat: .15; }
.kx-live .ov .zn rect.r { fill: rgba(10, 52, 237, var(--heat)); stroke: #0A34ED; stroke-width: 3; stroke-dasharray: 10 8; }
.kx-live .ov .zn.v rect.r { fill: rgba(255, 121, 83, var(--heat)); stroke: #FF7953; }
.kx-live .ov .zn rect.t { fill: #0A34ED; } .kx-live .ov .zn.v rect.t { fill: #FF7953; }
.kx-live .hud { position: absolute; left: 14px; bottom: 14px; right: 14px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 3; }
.kx-live .hud span { background: rgba(8, 10, 24, .74); color: #fff; font-size: 11.5px; font-weight: 600; padding: 6px 11px; border-radius: 9999px; white-space: nowrap; backdrop-filter: blur(6px); }
.kx-live .hud b { margin-left: 6px; font-variant-numeric: tabular-nums; }
/* CCTV look */
.kx-live.cctv .stack video { filter: grayscale(.92) contrast(1.12) brightness(.88); }
.kx-live.cctv::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .13) 0 1px, transparent 1px 3px); }
.kx-live.cctv::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; box-shadow: inset 0 0 90px rgba(0, 0, 0, .55); }
.kx-live .cam { position: absolute; left: 14px; right: 14px; top: 12px; z-index: 3; display: flex; align-items: center; gap: 12px; color: #fff; font: 600 11px/1 'Courier New', ui-monospace, monospace; letter-spacing: .08em; text-shadow: 0 1px 3px rgba(0, 0, 0, .8); }
.kx-live .cam .rec { display: inline-flex; gap: 6px; align-items: center; color: #ff5a52; margin-left: auto; }
.kx-live .cam .rec i { width: 8px; height: 8px; border-radius: 50%; background: #ff3b30; animation: kx-led 1.2s steps(2, end) infinite; }
.kx-live .cam .clk { font-variant-numeric: tabular-nums; }
.kx-live.cctv .hud { bottom: 14px; }
/* sizes by context */
.kx-car .pic .kx-live { border-radius: 0; }
.kx-row .pic .kx-live { aspect-ratio: 16 / 10; }
.kx-row .kx-live .hud, .kx-row .kx-live .cam .clk, .kx-car .kx-live .cam .clk { display: none; }
.kx-row .kx-live .ov .zn text, .kx-row .kx-live .ov .bx text { font-size: 26px; }
.kx-shot.round .kx-live { border: 1px solid var(--ash); border-radius: 40px; }
@media (max-width: 680px) { .kx-shot.round .kx-live { border-radius: 28px; } .kx-live .hud span { font-size: 10.5px; padding: 4px 8px; } .kx-live .ov .zn text, .kx-live .ov .bx text { font-size: 22px; } }
@media (prefers-reduced-motion: reduce) { .kx-live .cam .rec i { animation: none; } }

@media (max-width: 680px) { .kx-live .ov .zn text, .kx-live .ov .bx text { font-size: 26px; } }
.kx-row .kx-live .ov .zn text, .kx-row .kx-live .ov .bx text { font-size: 30px; }

.kx-row .kx-live .ov, .kx-row .kx-live .cam { display: none; }
.kx-row .kx-live.cctv .stack video { filter: grayscale(.6) contrast(1.05); }
.kx-car .kx-live .hud { display: none; }

/* how it works: one realistic story (warehouse camera) in three steps */
.kx-how .vis { padding: 0; min-height: 0; overflow: hidden; place-items: stretch; background: #0b0b0c; }
.kx-how .vis.v3 { background: #0b0b0c; border: 1px solid var(--ash); box-shadow: none; overflow: hidden; }
.kx-how .vis .kx-live { height: 100%; aspect-ratio: 16 / 11; border-radius: 0; }
.kx-how .vis .kx-live .hud { display: none; }
@media (min-width: 801px) { .kx-how .vis { height: auto; } }
.kx-how .vis .kx-live .ov .bx text { font-size: 26px; }
.kx-live.dim .stack video { filter: brightness(.55) saturate(.8) blur(2px); }
.kx-chip-live { position: absolute; left: 12px; bottom: 12px; z-index: 3; display: inline-flex; align-items: center; gap: 8px; background: rgba(8, 10, 24, .75); color: #fff; font-size: 11.5px; font-weight: 600; padding: 6px 12px; border-radius: 9999px; backdrop-filter: blur(6px); }
.kx-chip-live i { width: 8px; height: 8px; border-radius: 50%; background: #1fbf80; animation: kx-ping2 2s ease-out infinite; }
.kx-chip-ken { position: absolute; left: 12px; bottom: 12px; z-index: 3; display: inline-flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .94); color: #242424; padding: 6px 14px 6px 10px; border-radius: 9999px; font-size: 11.5px; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .5); }
.kx-chip-ken img { height: 20px; width: auto; display: block; }
.kx-notes { position: absolute; inset: 0; z-index: 3; display: grid; align-content: center; gap: 10px; padding: 16px; }
.kx-notes .nt { display: grid; grid-template-columns: 12px minmax(0, 1fr); gap: 12px; align-items: center; padding: 12px 14px; border-radius: 16px; background: rgba(251, 249, 247, .96); color: #242424; box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .6); }
.kx-notes .nt i { width: 10px; height: 10px; border-radius: 50%; background: #F2B84B; }
.kx-notes .nt.neg i { background: #E5322D; }
.kx-notes .nt b { display: block; font-size: 14px; }
.kx-notes .nt small { color: #6c6e82; font-size: 11.5px; }
.kx-notes .sent { justify-self: start; background: #0A34ED; color: #fff; font-size: 11.5px; font-weight: 600; padding: 6px 12px; border-radius: 9999px; }
.js .kx-how .stp > li.on .kx-notes .nt { animation: kx-in .6s cubic-bezier(.2, .7, .2, 1) both; }
.js .kx-how .stp > li.on .kx-notes .nt + .nt { animation-delay: .25s; }
@media (max-width: 800px) { .kx-how .vis .kx-live { aspect-ratio: 16 / 10; } }
.kx-how .vis.v3 { place-items: stretch; padding: 0; display: block; }
.kx-how .vis .kx-live { width: 100%; }

/* still photo variant (How it works) */
.kx-live .stack img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.kx-live.cctv .stack img { filter: grayscale(.92) contrast(1.12) brightness(.9); }
.kx-live.dim .stack img { filter: brightness(.55) saturate(.8) blur(2px); }

/* capability explorer with photos */
.fx-pic { margin: 0; position: relative; aspect-ratio: 4 / 3; background: #0b0b0c; }
.fx-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fx-pic figcaption { position: absolute; left: 16px; bottom: 16px; background: rgba(255, 255, 255, .94); color: #242424; font-size: 12px; font-weight: 600; letter-spacing: .03em; padding: 8px 14px; border-radius: 9999px; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .5); }
.fx-pic.light { background: #fff; }
.fx-pic.light img { object-fit: contain; }
.fx-pic { aspect-ratio: 8 / 5; }
.fx-pic.dashfig { background: radial-gradient(ellipse at 50% 0%, rgba(124, 40, 233, .10), transparent 60%), #f1eeea; display: grid; place-items: center; padding: 22px 22px 70px; }
.fx-pic.dashfig .kx-dash { width: 100%; }
@media (max-width: 680px) { .fx-pic.dashfig { padding: 12px 12px 64px; } }

/* ===== capabilities as a typographic list ===== */
.cap-list { border-top: 1px solid var(--ash); }
.cap-row { display: grid; grid-template-columns: 56px minmax(0, .9fr) minmax(0, 1.3fr) minmax(0, .9fr); gap: 16px clamp(20px, 3vw, 48px); align-items: center; padding: clamp(24px, 3vw, 38px) clamp(8px, 1.6vw, 24px); border-bottom: 1px solid var(--ash); position: relative; overflow: hidden; transition: padding-left .35s cubic-bezier(.2, .7, .2, 1); }
.cap-row::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--kv-gradient, linear-gradient(180deg, #0A34ED, #7C28E9, #FF7953)); transform: scaleY(0); transform-origin: 50% 0; transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.cap-row:hover { padding-left: clamp(20px, 2.4vw, 36px); }
.cap-row:hover::before { transform: scaleY(1); }
.cap-row .ic { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--ash); display: grid; place-items: center; transition: background .3s, border-color .3s; }
.cap-row .ic svg { width: 24px; height: 24px; stroke: #0A34ED; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s; }
.cap-row:hover .ic { background: #0A34ED; border-color: #0A34ED; }
.cap-row:hover .ic svg { stroke: #fff; }
.cap-row h3 { font-size: clamp(22px, 2.3vw, 32px); }
.cap-row p { color: var(--graphite); font-size: 16px; max-width: 46ch; }
.cap-row .outs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.cap-row .outs li { border: 1px solid var(--ash); border-radius: 9999px; padding: 7px 13px; font-size: 12px; font-weight: 500; color: var(--graphite); background: rgba(251, 249, 247, .7); transition: border-color .3s, color .3s; }
.cap-row:hover .outs li { border-color: #0A34ED; color: #0A34ED; }
@media (max-width: 1080px) { .cap-row { grid-template-columns: 52px minmax(0, 1fr); } .cap-row p, .cap-row .outs { grid-column: 2; justify-content: flex-start; } }

/* ===== product principle (calm, on the page's own surface) ===== */
.kx-pq { border-top: 0; padding-block: clamp(40px, 6vw, 88px); }
.pq { position: relative; isolation: isolate; overflow: hidden; margin: 0; border: 1px solid var(--ash); border-radius: var(--radius-card); background: rgba(251, 249, 247, .7); padding: clamp(32px, 5vw, 72px); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.pq::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--kv-gradient, linear-gradient(90deg, #0A34ED, #7C28E9, #FF7953)); }
.pq .wash { position: absolute; z-index: -1; opacity: .35; }
.pq .wash-a { left: -10%; bottom: -40%; top: auto; }
.pq .wash-b { right: -10%; top: -40%; }
.pq .side { display: grid; gap: 22px; align-content: start; }
.pq .pflow { display: grid; gap: 10px; justify-items: start; }
.pq .chip { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--ash); border-radius: 9999px; padding: 9px 16px; font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--graphite); background: var(--white); }
.pq .chip svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pq .chip.on { background: #0A34ED; border-color: #0A34ED; color: #fff; }
.pq .arrow { width: 2px; height: 26px; margin-left: 22px; background: repeating-linear-gradient(180deg, #0A34ED 0 5px, transparent 5px 10px); background-size: 2px 10px; animation: kx-dashv 1s linear infinite; }
@keyframes kx-dashv { to { background-position: 0 10px; } }
.pq blockquote { margin: 0; }
.pq blockquote p { font-size: clamp(24px, 3vw, 40px); font-weight: 400; letter-spacing: -0.025em; line-height: 1.22; text-wrap: balance; color: var(--off-black); }
.pq blockquote b { font-weight: 500; color: #0A34ED; }
.pq figcaption { margin-top: clamp(24px, 3vw, 36px); display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--smoke); }
.pq figcaption img { height: 15px; width: auto; display: block; }
.pq figcaption a { color: #0A34ED; font-weight: 700; text-decoration: none; }
.pq figcaption a:hover { text-decoration: underline; }
@media (max-width: 900px) { .pq { grid-template-columns: minmax(0, 1fr); } .pq .pflow { grid-auto-flow: column; justify-content: start; align-items: center; } .pq .arrow { width: 36px; height: 2px; margin: 0; background: repeating-linear-gradient(90deg, #0A34ED 0 5px, transparent 5px 10px); animation: kx-dash 1s linear infinite; } }
@media (max-width: 560px) { .pq { border-radius: 28px; } .pq .pflow { grid-auto-flow: row; } .pq .arrow { width: 2px; height: 22px; margin-left: 22px; background: repeating-linear-gradient(180deg, #0A34ED 0 5px, transparent 5px 10px); animation: kx-dashv 1s linear infinite; } }
@media (prefers-reduced-motion: reduce) { .pq .arrow { animation: none; } }

/* ===== capabilities: even card grid, no movement on hover ===== */
.cap-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cap-card { display: flex; flex-direction: column; gap: 12px; padding: clamp(24px, 2.6vw, 36px); border: 1px solid var(--ash); border-radius: 32px; background: rgba(251, 249, 247, .6); transition: border-color .3s ease, background-color .3s ease; min-width: 0; }
.cap-card:hover { border-color: #0A34ED; background: #fff; }
.cap-card .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(10, 52, 237, .08); margin-bottom: 8px; transition: background-color .3s ease; }
.cap-card .ic svg { width: 24px; height: 24px; stroke: #0A34ED; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s ease; }
.cap-card:hover .ic { background: #0A34ED; }
.cap-card:hover .ic svg { stroke: #fff; }
.cap-card h3 { font-size: clamp(21px, 1.9vw, 26px); }
.cap-card > p:not(.outs) { color: var(--graphite); font-size: 15.5px; line-height: 1.55; }
.cap-card .outs { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--ash); font-size: 13px; color: var(--graphite); font-weight: 500; }
.cap-card .outs span { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--smoke); margin-bottom: 4px; font-weight: 500; }
@media (max-width: 1080px) { .cap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cap-grid { grid-template-columns: minmax(0, 1fr); } .cap-card { border-radius: 28px; } }

/* Stock photos with illustrative overlays */
.kx-live.dim .stack img { filter: brightness(.55) saturate(.8) blur(2px); }
.kx-compare.vid img.cv { background: #0b0b0c; }
.kx-frame .kx-chip-live { left: 16px; bottom: 16px; }
@media (max-width: 680px) { .kx-live .cam { gap: 8px; font-size: 10px; } .kx-live .cam > span:first-child { white-space: nowrap; } .kx-live .cam .clk { display: none; } }

/* Sticky header: stays on screen, then compacts with a frosted background and a hairline once the page scrolls */
html { scroll-padding-top: 84px; }
header.nav { position: sticky; top: 0; z-index: 50; background: transparent; border-bottom: 1px solid transparent;
  transition: background-color .35s ease, border-color .35s ease, backdrop-filter .35s ease; }
header.nav .wrap { transition: min-height .35s cubic-bezier(.2, .7, .2, 1), padding .35s cubic-bezier(.2, .7, .2, 1); }
header.nav .logo img.kv-logo { transition: height .35s cubic-bezier(.2, .7, .2, 1), width .35s cubic-bezier(.2, .7, .2, 1); }
header.nav.stuck { background: rgba(246, 243, 241, .82); border-bottom-color: var(--ash); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); }
header.nav.stuck .wrap { min-height: 64px; padding-block: 8px; }
header.nav.stuck .logo img.kv-logo { height: 38px; width: auto; }
@media (prefers-reduced-motion: reduce) { header.nav, header.nav .wrap, header.nav .logo img.kv-logo { transition: none; } }

/* Carousel cards lift on hover without the track clipping their top edge */
.kx-car .track { padding-top: 10px; margin-top: -10px; }

/* Only the Part of the Intelense card is a flat brand blue; every other gradient stays as designed */
.kx-by { background: #0A34ED; }

/* Logo tiles: one hover for every tile (same lift, no rotation, same timing, no stagger delay) */
.cl-t, .cl-t.t1, .cl-t.t3, .js .cl-t[data-r], .js .cl-t[data-r].in { transition: transform .35s cubic-bezier(.2, .7, .2, 1), border-color .25s ease, background-color .25s ease, opacity .7s ease var(--d, 0ms), translate .8s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms); }
.cl-t:hover, .cl-t.t1:hover, .cl-t.t3:hover { transform: translateY(-6px); border-color: #0A34ED; background: #fff; }
.cl-t img { filter: grayscale(1); opacity: .8; transition: filter .35s ease, opacity .35s ease; }
.cl-t:hover img { filter: none; opacity: 1; }
.cl-t::after { display: none; }

/* Live dashboard on the home hero: smooth value changes */
.kx-dash .bars i { transition: height .9s cubic-bezier(.2, .7, .2, 1); }
.kx-dash .toast { transition: opacity .3s ease; }

/* Solutions dropdown: name on top, description under it, no wrapping clutter */
.dropdown ul { width: 380px; padding: 8px; gap: 0; }
.dropdown a { display: grid; grid-template-columns: 9px minmax(0, 1fr); column-gap: 14px; row-gap: 2px; align-items: start; padding: 12px 14px; line-height: 1.3; }
.dropdown a i { grid-row: 1 / span 2; margin-top: 5px; }
.dropdown a small { margin-left: 0; font-size: 12.5px; line-height: 1.4; }
.dropdown a.all { display: block; margin-top: 6px; padding: 12px 14px 12px 37px; border-top: 1px solid var(--ash); border-radius: 0 0 14px 14px; font-weight: 600; color: #0A34ED; }

/* Top banner: the "By Intelense" pill is white */
.announce .tag-new { background: #fff; color: #0a0a0a; }

/* Buttons: the hover lift can't flicker at the bottom edge (the hit area follows the lift) */
.btn { position: relative; }
.btn::before { content: ""; position: absolute; inset: -2px -2px -6px; border-radius: inherit; }
