/* 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: var(--lake-blue); color: var(--white); }
.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: var(--ink); color: var(--parchment); 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 var(--parchment); border-radius: 9999px; padding: 5px 14px;
  font-size: 12px; text-transform: uppercase; text-decoration: none;
}
.announce .pill:hover { background: var(--parchment); color: var(--ink); }
.tag-new {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.02em;
  background: var(--mint); color: var(--off-black); 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: 26px; color: var(--smoke); letter-spacing: -0.02em; }

/* 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: var(--off-black); 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: var(--parchment); }
footer .logo-mark::after { background: var(--off-black); }
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: var(--parchment); }
.email { user-select: all; color: var(--parchment); }
.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: var(--white); 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: var(--off-black); color: var(--parchment); 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: var(--off-black); color: var(--parchment); border-color: var(--off-black); }
.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: var(--off-black); 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, var(--off-black) 0, transparent 12%, transparent 88%, var(--off-black) 100%); }
.marquee { display: flex; width: max-content; animation: marquee 46s linear infinite; }
.marquee.rev { animation-direction: reverse; animation-duration: 54s; }
.clients:hover .marquee { animation-play-state: paused; }
.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: var(--white); }
@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); }
