/* ZoneFlow360 — landing page styles
   Brand: #1418ff · Space Grotesk (display) + Inter (text) */

:root {
  --blue: #1418ff;
  --blue-deep: #0f12c4;
  --blue-soft: #e9eaff;
  --blue-tint: #f4f5ff;
  --ink: #0a0a0f;
  --ink-2: #1c1d26;
  --muted: #5c6070;
  --muted-2: #8a8ea0;
  --line: #e6e8f0;
  --line-2: #d6d9e6;
  --bg: #ffffff;
  --bg-soft: #f6f7fb;
  --ok: #12b76a;
  --warn: #f79009;
  --danger: #f04438;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(10, 10, 15, .06), 0 1px 3px rgba(10, 10, 15, .04);
  --shadow: 0 10px 30px -10px rgba(10, 10, 15, .18), 0 2px 6px rgba(10, 10, 15, .05);
  --shadow-lg: 0 30px 80px -20px rgba(20, 24, 255, .25), 0 10px 30px -15px rgba(10, 10, 15, .2);
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-text: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1200px;
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--blue); color: #fff; }

.container { width: min(var(--container), 100% - 48px); margin-inline: auto; }
@media (max-width: 640px) { .container { width: min(var(--container), 100% - 32px); } }

.section { padding: clamp(72px, 9vw, 128px) 0; position: relative; }
.section--soft { background: var(--bg-soft); }
.section--tint { background: var(--blue-tint); }
.section--ink { background: var(--ink); color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--blue); }
.section--ink .eyebrow { color: #8b8eff; }
.section--ink .eyebrow::before { background: #8b8eff; }

.h1 { font-size: clamp(2.5rem, 5.4vw, 4.5rem); line-height: 1.02; letter-spacing: -0.03em; }
.h2 { font-size: clamp(1.9rem, 3.5vw, 3rem); }
.h3 { font-size: 1.25rem; letter-spacing: -0.01em; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--muted); line-height: 1.6; }
.section--ink .lead { color: rgba(255, 255, 255, .72); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head .lead { margin-top: 18px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

.accent { color: var(--blue); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 10px; font-weight: 600; font-size: 15px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px -8px rgba(20, 24, 255, .6); }
.btn--primary:hover { background: var(--blue-deep); transform: translateY(-1px); box-shadow: 0 12px 26px -8px rgba(20, 24, 255, .65); }
.btn--secondary { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn--secondary:hover { background: var(--ink); color: #fff; }
.btn--white { background: #fff; color: var(--blue); }
.btn--white:hover { background: var(--blue-tint); transform: translateY(-1px); }
.btn--ghost-white { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .6); }
.btn--ghost-white:hover { background: #fff; color: var(--blue); border-color: #fff; }
.btn--sm { padding: 10px 18px; font-size: 14px; }

/* ---------- Navbar ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  background: rgba(255, 255, 255, .82); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .25s ease, box-shadow .25s ease;
}
.nav.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(10, 10, 15, .35); }
.nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__logo { display: flex; align-items: center; height: 34px; }
.nav__logo img { height: 34px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a { font-size: 14.5px; font-weight: 500; color: var(--ink-2); position: relative; padding: 6px 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__actions { display: flex; align-items: center; gap: 14px; }

.lang {
  display: inline-flex; border: 1px solid var(--line-2); border-radius: 8px; overflow: hidden; background: #fff;
}
.lang__btn { padding: 7px 11px; font-size: 12.5px; font-weight: 600; letter-spacing: .04em; color: var(--muted); transition: background .2s, color .2s; }
.lang__btn.is-active { background: var(--ink); color: #fff; }

.nav__burger { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line-2); align-items: center; justify-content: center; }
.nav__burger span { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; }
.nav__burger span::before, .nav__burger span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink); transition: transform .2s; }
.nav__burger span::before { top: -6px; } .nav__burger span::after { top: 6px; }

.mobile-menu {
  display: none; position: fixed; inset: var(--nav-h) 0 0 0; z-index: 99; background: #fff; padding: 24px;
  flex-direction: column; gap: 6px;
}
.mobile-menu.is-open { display: flex; }
.mobile-menu a { font-size: 20px; font-weight: 600; font-family: var(--font-display); padding: 14px 8px; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 18px; }

@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav__actions .btn { display: none; }
  .nav__burger { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero { padding-top: calc(var(--nav-h) + clamp(48px, 8vw, 96px)); padding-bottom: clamp(64px, 8vw, 110px); overflow: hidden; position: relative; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(20, 24, 255, .10), transparent 60%),
    radial-gradient(600px 400px at -5% 40%, rgba(20, 24, 255, .06), transparent 60%);
}
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; position: relative; }
.hero__copy .h1 { margin-bottom: 24px; }
.hero__copy .lead { max-width: 560px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 20px 28px; margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); }
.hero__meta li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); font-weight: 500; }
.hero__meta svg { width: 16px; height: 16px; color: var(--blue); }

/* Camera frame mock */
.cam { position: relative; }
.cam__frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; background: #0d0f1a;
  box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; isolation: isolate;
}
.cam__img { position: absolute; inset: -8%; width: 116%; height: 116%; object-fit: cover; filter: saturate(.92) contrast(1.02); }
.cam__vignette { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .35), transparent 30%, transparent 70%, rgba(0, 0, 0, .35)); z-index: 2; }
.cam__bar { position: absolute; z-index: 6; left: 0; right: 0; top: 0; display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11.5px; color: rgba(255, 255, 255, .9); letter-spacing: .04em; }
.cam__bar span { display: inline-flex; align-items: center; gap: 7px; }
.cam__rec { width: 8px; height: 8px; border-radius: 50%; background: var(--danger); box-shadow: 0 0 0 0 rgba(240, 68, 56, .6); animation: rec 1.6s infinite; }
@keyframes rec { 0% { box-shadow: 0 0 0 0 rgba(240, 68, 56, .6); } 70% { box-shadow: 0 0 0 7px rgba(240, 68, 56, 0); } 100% { box-shadow: 0 0 0 0 rgba(240, 68, 56, 0); } }
.cam__zones { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; }
.cam__zones polygon { fill: rgba(20, 24, 255, .18); stroke: rgba(140, 150, 255, .95); stroke-width: 1.4; stroke-dasharray: 6 4; }
.cam__zones polygon.zone-hot { fill: rgba(247, 144, 9, .26); stroke: rgba(255, 190, 90, .95); }
.zone-tag { position: absolute; z-index: 5; display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px 6px 8px; border-radius: 8px; background: rgba(10, 10, 15, .72); backdrop-filter: blur(8px); border: 1px solid rgba(140, 150, 255, .5); color: #fff; font-size: 11.5px; line-height: 1; white-space: nowrap; box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .6); }
.zone-tag i { width: 7px; height: 7px; border-radius: 50%; background: #8b8eff; box-shadow: 0 0 0 3px rgba(139, 142, 255, .25); }
.zone-tag b { font: 700 10.5px/1 ui-monospace, Menlo, monospace; letter-spacing: .08em; }
.zone-tag span { color: rgba(255, 255, 255, .78); font-variant-numeric: tabular-nums; }
.zone-tag--hot { border-color: rgba(255, 190, 90, .6); }
.zone-tag--hot i { background: var(--warn); box-shadow: 0 0 0 3px rgba(247, 144, 9, .25); }
.cam__footer { position: absolute; z-index: 6; left: 0; right: 0; bottom: 0; padding: 12px 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; border-radius: 999px; background: rgba(10, 10, 15, .62); color: #fff; font-size: 11.5px; font-weight: 500; backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .14); }
.chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); display: inline-block; }
.chip i.warn { background: var(--warn); }

.float-card {
  position: absolute; z-index: 8; background: #fff; border-radius: 14px; padding: 14px 16px; box-shadow: var(--shadow);
  border: 1px solid var(--line); min-width: 190px;
}
.float-card__label { font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 4px; }
.float-card__value { font-family: var(--font-display); font-size: 26px; font-weight: 700; letter-spacing: -0.02em; line-height: 1; display: flex; align-items: baseline; gap: 10px; }
.float-card__value small { font-size: 12.5px; font-weight: 600; color: var(--ok); font-family: var(--font-text); }
.float-card__value small.down { color: var(--danger); }
.cam__floats { display: contents; }
.float-card--a { left: -28px; bottom: 56px; }
.float-card--b { right: -22px; top: 44px; }
.spark { display: flex; gap: 3px; align-items: flex-end; height: 26px; margin-top: 10px; }
.spark i { flex: 1; background: var(--blue-soft); border-radius: 2px 2px 0 0; }
.spark i.hi { background: var(--blue); }

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__copy { text-align: left; }
  .cam { margin-top: 24px; }
  .cam__floats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
  .float-card { position: static; min-width: 0; }
}
@media (max-width: 640px) {
  .zone-tag span { display: none; }
  .zone-tag { padding: 5px 8px; }
  .cam__footer .chip:nth-child(2) { display: none; }
  .cam__bar > span:last-child { display: none; }
}

/* ---------- Stats strip ---------- */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.stats__inner { display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; gap: 24px; padding: 34px 0; }
.stat { display: flex; flex-direction: column; gap: 4px; padding-right: 24px; border-right: 1px solid var(--line); }
.stat:nth-child(4) { border-right: 0; }
.stat__value { font-family: var(--font-display); font-size: clamp(1.8rem, 2.8vw, 2.4rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1; color: var(--ink); }
.stat__value b { color: var(--blue); font-weight: 700; }
.stat__label { font-size: 13.5px; color: var(--muted); }
@media (max-width: 960px) {
  .stats__inner { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2n) { border-right: 0; }
}
@media (max-width: 520px) { .stats__inner { grid-template-columns: 1fr; } .stat { border-right: 0; padding-right: 0; } }

/* ---------- Problem ---------- */
.problem__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.problem__visual { position: relative; }
.problem__visual img { border-radius: var(--radius-lg); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.problem__note { position: absolute; left: 24px; right: 24px; bottom: 24px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); border-radius: 14px; padding: 16px 18px; border: 1px solid rgba(255, 255, 255, .6); box-shadow: var(--shadow); }
.problem__note b { display: block; font-family: var(--font-display); font-size: 15px; margin-bottom: 4px; }
.problem__note span { font-size: 13.5px; color: var(--muted); }
.problem__list { display: grid; gap: 14px; margin-top: 34px; }
.pcard { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .2s, box-shadow .2s; }
.pcard:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); }
.pcard__icon { width: 48px; height: 48px; border-radius: 12px; background: var(--blue-tint); display: grid; place-items: center; color: var(--blue); }
.pcard__icon svg { width: 22px; height: 22px; }
.pcard h3 { font-size: 17px; margin-bottom: 6px; }
.pcard p { font-size: 14.5px; color: var(--muted); }
@media (max-width: 960px) { .problem__grid { grid-template-columns: 1fr; } .problem__visual img { aspect-ratio: 4 / 3; } }

/* ---------- Features (bento) ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.fcard {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; overflow: hidden;
  display: flex; flex-direction: column; gap: 14px; transition: border-color .25s, box-shadow .25s, transform .25s;
}
.fcard:hover { border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-2px); }
.fcard--wide { grid-column: span 2; }
.fcard__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--blue); color: #fff; display: grid; place-items: center; }
.fcard__icon svg { width: 22px; height: 22px; }
.fcard h3 { font-size: 18px; }
.fcard p { font-size: 14.5px; color: var(--muted); }
.fcard__num { position: absolute; right: 22px; top: 20px; font-family: var(--font-display); font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--muted-2); }
.fcard__visual { margin-top: auto; padding-top: 10px; }

.fcard__split { display: grid; grid-template-columns: 1fr 1.2fr; gap: 14px; }
@media (max-width: 640px) { .fcard__split { grid-template-columns: 1fr; } }

/* mini floor plan heatmap */
.plan { width: 100%; height: auto; border-radius: 10px; background: var(--bg-soft); border: 1px solid var(--line); }
.plan rect.wall { fill: none; stroke: var(--line-2); stroke-width: 1.5; }
.plan rect.shelf { fill: #fff; stroke: var(--line-2); stroke-width: 1; }
.plan text { font: 600 8px/1 var(--font-text); fill: var(--muted); letter-spacing: .04em; }
.plan .heat { mix-blend-mode: multiply; }

/* interest bars */
.bars { display: grid; gap: 9px; }
.bar { display: grid; grid-template-columns: 92px 1fr 40px; gap: 10px; align-items: center; font-size: 12.5px; }
.bar span:first-child { color: var(--ink-2); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar__track { height: 8px; background: var(--bg-soft); border-radius: 999px; overflow: hidden; border: 1px solid var(--line); }
.bar__fill { height: 100%; background: linear-gradient(90deg, var(--blue), #6d70ff); border-radius: 999px; width: var(--w, 50%); transform-origin: left; }
.bar span:last-child { text-align: right; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }

/* funnel */
.funnel { display: grid; gap: 6px; }
.funnel__row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; font-size: 12.5px; }
.funnel__bar { height: 30px; border-radius: 8px; background: var(--blue); color: #fff; display: flex; align-items: center; padding: 0 12px; font-weight: 600; width: var(--w, 100%); font-size: 12px; white-space: nowrap; }
.funnel__row:nth-child(2) .funnel__bar { background: #3e41ff; }
.funnel__row:nth-child(3) .funnel__bar { background: #6d70ff; }
.funnel__row:nth-child(4) .funnel__bar { background: #9a9cff; color: var(--ink); }
.funnel__pct { font-weight: 700; font-variant-numeric: tabular-nums; min-width: 42px; text-align: right; }

/* storefront flow */
.flow { display: grid; grid-template-columns: repeat(3, 1fr); align-items: stretch; gap: 8px; text-align: center; }
.flow__node { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px; padding: 10px 6px; display: flex; flex-direction: column; justify-content: flex-end; }
.flow__node em { display: block; font-style: normal; font-size: 10.5px; font-weight: 700; color: var(--blue); margin-bottom: 4px; }
.flow__node b { display: block; font-family: var(--font-display); font-size: 19px; letter-spacing: -0.02em; line-height: 1.1; }
.flow__node span { font-size: 11px; color: var(--muted); line-height: 1.25; margin-top: 3px; }
.flow__arrow { color: var(--muted-2); font-size: 12px; font-weight: 600; }

/* demographics */
.demo { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.demo__col { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px; padding: 12px; }
.demo__col h4 { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 8px; font-family: var(--font-text); }
.demo__row { display: flex; justify-content: space-between; font-size: 12.5px; padding: 3px 0; }
.demo__row b { font-variant-numeric: tabular-nums; }

/* alerts */
.alerts { display: grid; gap: 8px; }
.alert { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: var(--bg-soft); border: 1px solid var(--line); font-size: 12.5px; }
.alert i { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.alert i.warn { background: var(--warn); } .alert i.danger { background: var(--danger); } .alert i.ok { background: var(--ok); }
.alert time { margin-left: auto; color: var(--muted-2); font-variant-numeric: tabular-nums; font-size: 11.5px; }

/* multi-store */
.stores { display: grid; gap: 8px; }
.store { display: grid; grid-template-columns: 1fr 70px 60px; gap: 10px; align-items: center; font-size: 12.5px; padding: 8px 10px; border-radius: 8px; background: var(--bg-soft); border: 1px solid var(--line); }
.store b { font-variant-numeric: tabular-nums; }
.store .delta { font-weight: 600; text-align: right; }
.delta.up { color: var(--ok); } .delta.down { color: var(--danger); }

/* AI chat */
.chat { display: grid; gap: 8px; }
.bubble { max-width: 92%; padding: 10px 12px; border-radius: 12px; font-size: 12.5px; line-height: 1.45; }
.bubble--q { background: var(--ink); color: #fff; justify-self: end; border-bottom-right-radius: 3px; }
.bubble--a { background: var(--blue-tint); border: 1px solid var(--blue-soft); border-bottom-left-radius: 3px; }

@media (max-width: 1100px) { .bento { grid-template-columns: repeat(2, 1fr); } .fcard--wide { grid-column: span 2; } }
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } .fcard--wide { grid-column: span 1; } }

/* ---------- How it works (pinned) ---------- */
.how { background: var(--ink); color: #fff; }
.how__pin { min-height: 100vh; display: flex; align-items: center; padding: 56px 0; }
.how .h2 { font-size: clamp(1.7rem, 2.7vw, 2.5rem); }
.how__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.how .h2 { color: #fff; }
.steps { display: grid; gap: 6px; margin-top: 26px; position: relative; }
.step { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 14px 16px; border-radius: 14px; transition: background .3s; cursor: pointer; }
.step__num { font-family: var(--font-display); font-size: 13px; font-weight: 700; letter-spacing: .12em; color: rgba(255, 255, 255, .45); padding-top: 4px; }
.step h3 { font-size: 18px; color: rgba(255, 255, 255, .55); transition: color .3s; }
.step p { font-size: 14px; color: rgba(255, 255, 255, .4); margin-top: 4px; transition: color .3s; }
.step.is-active { background: rgba(255, 255, 255, .06); }
.step.is-active h3 { color: #fff; }
.step.is-active .step__num { color: #8b8eff; }
.step.is-active p { color: rgba(255, 255, 255, .72); }
.how__progress { height: 3px; background: rgba(255, 255, 255, .12); border-radius: 999px; margin-top: 22px; overflow: hidden; }
.how__progress i { display: block; height: 100%; width: 0; background: var(--blue); border-radius: 999px; }
.how__tech { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.how__tech span { font-size: 12px; font-weight: 600; letter-spacing: .04em; padding: 6px 10px; border-radius: 6px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .8); font-family: ui-monospace, Menlo, monospace; }

.stage { position: relative; aspect-ratio: 5 / 4; width: min(100%, calc((100vh - 200px) * 1.25)); justify-self: end; border-radius: var(--radius-lg); background: #12141f; border: 1px solid rgba(255, 255, 255, .1); overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); }
.stage__panel { position: absolute; inset: 0; padding: 22px; opacity: 0; transform: translateY(14px) scale(.985); transition: opacity .45s ease, transform .45s ease; }
.stage__panel.is-active { opacity: 1; transform: none; }
.stage__title { display: flex; justify-content: space-between; align-items: center; font: 600 11.5px/1 ui-monospace, Menlo, monospace; letter-spacing: .08em; color: rgba(255, 255, 255, .55); margin-bottom: 14px; text-transform: uppercase; }
.stage__title em { font-style: normal; color: #8b8eff; }
.camgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; height: calc(100% - 30px); }
.camgrid__cell { position: relative; border-radius: 10px; overflow: hidden; background: #000; border: 1px solid rgba(255, 255, 255, .08); }
.camgrid__cell img { width: 100%; height: 100%; object-fit: cover; opacity: .75; }
.camgrid__cell span { position: absolute; left: 8px; bottom: 8px; font: 600 10px/1 ui-monospace, Menlo, monospace; color: #fff; padding: 4px 6px; background: rgba(0, 0, 0, .55); border-radius: 4px; }
.camgrid__cell b { position: absolute; right: 8px; top: 8px; font-size: 10px; font-weight: 600; color: #0a0a0f; background: #5ef0a3; padding: 3px 6px; border-radius: 4px; }
.planbig { width: 100%; height: calc(100% - 30px); border-radius: 10px; background: #0d0f1a; border: 1px solid rgba(255, 255, 255, .08); }
.planbig rect.wall { fill: none; stroke: rgba(255, 255, 255, .35); stroke-width: 1.5; }
.planbig rect.shelf { fill: rgba(255, 255, 255, .05); stroke: rgba(255, 255, 255, .22); }
.planbig text { font: 600 8.5px/1 var(--font-text); fill: rgba(255, 255, 255, .7); letter-spacing: .05em; }
.planbig .zone { fill: rgba(20, 24, 255, .28); stroke: #8b8eff; stroke-width: 1.4; stroke-dasharray: 260; stroke-dashoffset: 260; }
.stage__panel.is-active .planbig .zone { animation: draw 1.4s ease forwards; }
.stage__panel.is-active .planbig .zone:nth-child(2) { animation-delay: .2s; }
.stage__panel.is-active .planbig .zone:nth-child(3) { animation-delay: .4s; }
.stage__panel.is-active .planbig .zone:nth-child(4) { animation-delay: .6s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.planbig .cursor { fill: #fff; }
.mini-dash { height: calc(100% - 30px); display: grid; grid-template-rows: auto 1fr auto; gap: 10px; }
.mini-dash__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mini-kpi { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); border-radius: 10px; padding: 12px; }
.mini-kpi span { display: block; font-size: 10.5px; color: rgba(255, 255, 255, .5); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 6px; }
.mini-kpi b { font-family: var(--font-display); font-size: 22px; letter-spacing: -0.02em; color: #fff; }
.mini-kpi small { display: block; font-size: 11px; color: #5ef0a3; margin-top: 2px; }
.mini-dash__chart { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); border-radius: 10px; padding: 12px; display: flex; align-items: flex-end; gap: 5px; }
.mini-dash__chart i { flex: 1; background: rgba(139, 142, 255, .35); border-radius: 3px 3px 0 0; height: var(--h, 30%); transform-origin: bottom; }
.mini-dash__chart i.hi { background: var(--blue); }
.mini-dash__alert { display: flex; align-items: center; gap: 10px; background: rgba(247, 144, 9, .14); border: 1px solid rgba(247, 144, 9, .4); border-radius: 10px; padding: 10px 12px; font-size: 12.5px; color: #ffd8a8; }
.mini-dash__alert i { width: 8px; height: 8px; background: var(--warn); border-radius: 50%; flex: none; }

@media (max-width: 960px) {
  .how__pin { min-height: auto; padding: 72px 0; }
  .how__grid { grid-template-columns: 1fr; }
  .stage { width: 100%; }
}
/* short desktop viewports: no pin, normal flow */
@media (min-width: 961px) and (max-height: 699px) {
  .how__pin { min-height: auto; padding: 72px 0; }
}

/* ---------- Dashboard section ---------- */
#dashboard { overflow: hidden; }
.dash-wrap { position: relative; }
.dash-wrap::before { content: ""; position: absolute; inset: 30% -10% -10% -10%; background: radial-gradient(60% 60% at 50% 50%, rgba(20, 24, 255, .12), transparent 70%); pointer-events: none; }
.dash {
  position: relative; display: grid; grid-template-columns: 200px 1fr; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden; font-size: 13px;
}
.dash__side { background: var(--bg-soft); border-right: 1px solid var(--line); padding: 18px 14px; display: flex; flex-direction: column; gap: 4px; }
.dash__brand { display: flex; align-items: center; gap: 8px; padding: 4px 8px 16px; font-family: var(--font-display); font-weight: 700; font-size: 14px; }
.dash__brand img { height: 20px; width: auto; }
.dash__nav { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; color: var(--muted); font-weight: 500; font-size: 13px; }
.dash__nav svg { width: 16px; height: 16px; }
.dash__nav.is-active { background: #fff; color: var(--blue); box-shadow: var(--shadow-sm); }
.dash__side .dash__store { margin-top: auto; padding: 10px; border-radius: 8px; background: #fff; border: 1px solid var(--line); font-size: 12px; }
.dash__store b { display: block; font-size: 12.5px; }
.dash__store span { color: var(--muted-2); }
.dash__main { padding: 18px 20px 20px; display: grid; gap: 14px; min-width: 0; }
.dash__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.dash__top h3 { font-size: 16px; }
.dash__top .sel { display: inline-flex; align-items: center; gap: 8px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; font-size: 12.5px; font-weight: 500; background: #fff; }
.dash__top .sel + .sel { margin-left: 6px; }
.live { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; color: var(--ok); letter-spacing: .06em; text-transform: uppercase; }
.live i { width: 7px; height: 7px; background: var(--ok); border-radius: 50%; animation: rec 1.6s infinite; box-shadow: 0 0 0 0 rgba(18, 183, 106, .6); }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.kpi { border: 1px solid var(--line); border-radius: 12px; padding: 14px; background: #fff; }
.kpi span { display: block; font-size: 11.5px; color: var(--muted); margin-bottom: 8px; font-weight: 500; }
.kpi b { font-family: var(--font-display); font-size: 24px; letter-spacing: -0.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.kpi small { display: block; margin-top: 6px; font-size: 11.5px; font-weight: 600; color: var(--ok); }
.kpi small.down { color: var(--danger); }
.dash__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 12px; min-width: 0; }
.panel { border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 14px; min-width: 0; }
.panel__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-size: 12.5px; font-weight: 600; }
.panel__head span { color: var(--muted-2); font-weight: 500; font-size: 11.5px; }
.chart { display: flex; align-items: flex-end; gap: 4px; height: 120px; padding-top: 6px; border-bottom: 1px solid var(--line); }
.chart i { flex: 1; background: var(--blue-soft); border-radius: 3px 3px 0 0; height: var(--h, 30%); transform-origin: bottom; transition: height .6s ease; position: relative; }
.chart i.hi { background: var(--blue); }
.chart__labels { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--muted-2); margin-top: 6px; font-variant-numeric: tabular-nums; }
.legend { display: flex; gap: 12px; font-size: 11px; color: var(--muted); margin-top: 8px; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 5px; vertical-align: -1px; }
.zones-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.zones-table th { text-align: left; font-weight: 600; color: var(--muted-2); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; padding: 0 0 8px; border-bottom: 1px solid var(--line); }
.zones-table td { padding: 8px 0; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.zones-table tr:last-child td { border-bottom: 0; }
.zones-table .delta { font-weight: 600; }
.dash__grid--2 { grid-template-columns: 1fr 1fr; }
.assist { display: grid; gap: 8px; }
.assist__input { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line-2); border-radius: 10px; padding: 9px 12px; font-size: 12.5px; color: var(--muted-2); margin-top: 4px; }
.assist__input svg { width: 14px; height: 14px; color: var(--blue); }

@media (max-width: 1000px) {
  .dash { grid-template-columns: 1fr; }
  .dash__side { display: none; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .dash__grid, .dash__grid--2 { grid-template-columns: 1fr; }
}
.dash-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.dnote { padding: 20px 22px; border-left: 3px solid var(--blue); background: #fff; border-radius: 0 12px 12px 0; box-shadow: var(--shadow-sm); }
.dnote b { display: block; font-family: var(--font-display); font-size: 16px; margin-bottom: 6px; }
.dnote span { font-size: 14px; color: var(--muted); }
@media (max-width: 800px) { .dash-notes { grid-template-columns: 1fr; } }

/* ---------- ROI ---------- */
.roi__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.rcard { padding: 28px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; transition: border-color .25s, box-shadow .25s; }
.rcard:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.rcard__tag { align-self: flex-start; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); padding: 5px 9px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-soft); }
.rcard__value { font-family: var(--font-display); font-size: clamp(2.4rem, 4vw, 3.4rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1; color: var(--blue); margin-top: 8px; }
.rcard h3 { font-size: 18px; }
.rcard p { font-size: 14.5px; color: var(--muted); }
.case { margin-top: 24px; display: grid; grid-template-columns: 1fr 1.2fr; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: #fff; }
.case img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.case__body { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 14px; }
.case__body .rcard__tag { background: var(--blue-tint); border-color: var(--blue-soft); color: var(--blue); }
.case__body h3 { font-size: clamp(1.4rem, 2vw, 1.8rem); }
.case__body p { color: var(--muted); font-size: 15px; }
.case__list { display: grid; gap: 10px; margin-top: 6px; }
.case__list li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; font-size: 14.5px; align-items: start; }
.case__list svg { width: 20px; height: 20px; color: var(--blue); margin-top: 2px; }
.case__list b { color: var(--ink); }
.case__foot { margin-top: auto; font-size: 12.5px; color: var(--muted-2); padding-top: 14px; border-top: 1px dashed var(--line); }
@media (max-width: 960px) { .roi__grid { grid-template-columns: 1fr; } .case { grid-template-columns: 1fr; } .case img { min-height: 240px; max-height: 320px; } }

/* ---------- Security ---------- */
.sec__grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.sec .h2 { color: #fff; }
.sec__badges { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.sbadge { padding: 22px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); display: flex; flex-direction: column; gap: 10px; transition: background .25s, border-color .25s; }
.sbadge:hover { background: rgba(255, 255, 255, .08); border-color: rgba(139, 142, 255, .6); }
.sbadge__icon { width: 40px; height: 40px; border-radius: 10px; background: rgba(20, 24, 255, .35); border: 1px solid rgba(139, 142, 255, .5); display: grid; place-items: center; color: #c7c8ff; }
.sbadge__icon svg { width: 20px; height: 20px; }
.sbadge h3 { font-size: 16px; color: #fff; }
.sbadge p { font-size: 13.5px; color: rgba(255, 255, 255, .62); }
@media (max-width: 960px) { .sec__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .sec__badges { grid-template-columns: 1fr; } }

/* ---------- Integrations ---------- */
.int__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.icard { padding: 26px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.icard h3 { font-size: 17px; display: flex; align-items: center; gap: 10px; }
.icard h3 svg { width: 20px; height: 20px; color: var(--blue); }
.icard p { font-size: 14px; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.tags span { font-size: 12.5px; font-weight: 600; padding: 7px 11px; border-radius: 8px; background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink-2); }
.tags span.mono { font-family: ui-monospace, Menlo, monospace; font-weight: 500; letter-spacing: .02em; }
.int__foot { margin-top: 18px; font-size: 12.5px; color: var(--muted-2); }
@media (max-width: 960px) { .int__grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 4px; font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; position: relative; transition: transform .25s, background .25s, border-color .25s; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; width: 12px; height: 2px; background: var(--ink); }
.faq summary i::after { transform: rotate(90deg); transition: transform .25s; }
.faq details[open] summary i { background: var(--blue); border-color: var(--blue); }
.faq details[open] summary i::before, .faq details[open] summary i::after { background: #fff; }
.faq details[open] summary i::after { transform: rotate(0); }
.faq .faq__a { padding: 0 44px 24px 4px; color: var(--muted); font-size: 15px; line-height: 1.65; }

/* ---------- CTA ---------- */
.cta { background: var(--blue); color: #fff; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 400px at 90% 110%, rgba(255, 255, 255, .18), transparent 60%), radial-gradient(500px 300px at 0% -20%, rgba(255, 255, 255, .12), transparent 60%); pointer-events: none; }
.cta__inner { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.cta .h2 { color: #fff; font-size: clamp(2rem, 4vw, 3.4rem); }
.cta .lead { color: rgba(255, 255, 255, .8); margin-top: 16px; max-width: 560px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-end; }
.cta__mark { position: absolute; right: -60px; bottom: -120px; width: 420px; opacity: .12; pointer-events: none; }
@media (max-width: 900px) { .cta__inner { grid-template-columns: 1fr; } .cta__actions { justify-content: flex-start; } .cta__mark { width: 260px; right: -60px; bottom: -80px; } }

/* ---------- Footer (Straitcore family template) ---------- */
.footer { background: var(--blue); color: #fff; }
.footer__inner { max-width: 1280px; margin-inline: auto; padding: 64px 16px 32px; }
@media (min-width: 640px) { .footer__inner { padding-inline: 24px; } }
@media (min-width: 1024px) { .footer__inner { padding-inline: 32px; } }
.footer__grid { display: grid; grid-template-columns: 1fr; gap: 40px; margin-bottom: 48px; }
@media (min-width: 768px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: repeat(6, 1fr); gap: 32px; } .footer__brand { grid-column: span 2; } }
.footer__logo { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.footer__logo .footer__mark { position: relative; width: 32px; height: 32px; }
.footer__logo .footer__mark img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.footer__logo span { font-size: 20px; font-weight: 700; color: #fff; }
.footer__contact { display: grid; gap: 8px; font-size: 14px; }
.footer__contact a { display: inline-flex; align-items: center; gap: 8px; color: #e5e7eb; transition: color .2s; }
.footer__contact a:hover { color: #fff; }
.footer__contact svg { width: 15px; height: 15px; }
.footer__col h4 { font-family: var(--font-text); font-size: 12px; font-weight: 600; color: #fff; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 16px; }
.footer__col ul { display: grid; gap: 12px; }
.footer__col a { font-size: 14px; color: #d1d5db; transition: color .2s; }
.footer__col a:hover { color: #fff; }
.footer__pay { margin-bottom: 40px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.footer__pay > span { font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .05em; color: #d1d5db; }
.footer__pay div { border-radius: 12px; background: #fff; padding: 12px 20px; box-shadow: var(--shadow-sm); }
.footer__pay img { height: 28px; width: auto; }
@media (min-width: 640px) { .footer__pay img { height: 32px; } }
.footer__powered { margin-bottom: 32px; display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 14px; color: #d1d5db; transition: color .2s; }
.footer__powered:hover { color: #fff; }
.footer__powered img { height: 20px; width: auto; opacity: .8; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 24px; display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 16px; }
@media (min-width: 640px) { .footer__bottom { flex-direction: row; } }
.footer__bottom p { font-size: 14px; color: #d1d5db; }
.footer__bottom div { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 24px; }
.footer__bottom div a { font-size: 14px; color: #d1d5db; transition: color .2s; }
.footer__bottom div a:hover { color: #fff; }

/* ---------- Legal pages ---------- */
.legal { padding-top: calc(var(--nav-h) + 56px); padding-bottom: 96px; }
.legal__wrap { max-width: 820px; margin-inline: auto; }
.legal .eyebrow { margin-bottom: 12px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 10px; }
.legal__date { color: var(--muted-2); font-size: 14px; margin-bottom: 36px; }
.legal p, .legal li { font-size: 15.5px; color: var(--ink-2); line-height: 1.7; }
.legal p + p { margin-top: 14px; }
.legal h2 { font-size: 1.35rem; margin: 36px 0 12px; }
.legal ul { list-style: disc; padding-left: 22px; display: grid; gap: 8px; margin: 12px 0; }
.legal a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.legal table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 15px; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border: 1px solid var(--line); vertical-align: top; }
.legal th { width: 200px; background: var(--bg-soft); font-weight: 600; }
.legal__cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 24px 0; }
.legal__card { padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.legal__card b { display: block; font-family: var(--font-display); font-size: 16px; margin-bottom: 6px; }
.legal__card a { text-decoration: none; font-weight: 500; }
@media (max-width: 640px) { .legal__cards { grid-template-columns: 1fr; } .legal th { width: 140px; } }

/* ---------- Reveal + motion ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); }
.no-motion [data-reveal] { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; }
  *, *::before, *::after { animation-duration: .001s !important; transition-duration: .001s !important; }
}

/* ---------- Utilities ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-40 { margin-top: 40px; }

/* anchor targets clear the fixed nav */
[id] { scroll-margin-top: calc(var(--nav-h) + 8px); }

/* ---------- Insights (comparative intelligence layer) ---------- */
.ins__hier { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin: 0 0 28px; }
.hnode { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 16px 14px; transition: border-color .25s, box-shadow .25s; }
.hnode:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); }
.hnode::after { content: ""; position: absolute; right: -8px; top: 50%; width: 14px; height: 14px; background: var(--bg-soft); border-right: 1.5px solid var(--line-2); border-top: 1.5px solid var(--line-2); transform: translateY(-50%) rotate(45deg); z-index: 1; }
.hnode:last-child::after { display: none; }
.hnode__l { display: flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); }
.hnode__l i { width: 22px; height: 22px; border-radius: 6px; background: var(--blue-tint); color: var(--blue); display: grid; place-items: center; font-style: normal; font-family: var(--font-display); font-size: 11px; font-weight: 700; letter-spacing: 0; }
.hnode__v { margin-top: 8px; font-family: var(--font-display); font-size: 17px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); line-height: 1.2; }
.hnode__s { margin-top: 4px; font-size: 12.5px; color: var(--muted); }
.hnode__s b { color: var(--ok); font-weight: 600; }
.hnode__s b.down { color: var(--danger); }

.ins__grid { display: grid; grid-template-columns: 1fr; gap: 18px; align-items: start; }
.cmp { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px 22px 16px; min-width: 0; }
.cmp__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 14px; flex-wrap: wrap; }
.cmp__head h3 { font-size: 17px; }
.cmp__head p { font-size: 13px; color: var(--muted); margin-top: 4px; }
.cmp__tag { flex: none; display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-2); padding: 5px 9px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg-soft); }
.cmp__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 -6px; padding: 0 6px; }
.cmp table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 820px; }
.cmp th { text-align: left; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-2); padding: 0 10px 10px 0; border-bottom: 1px solid var(--line); white-space: nowrap; }
.cmp td { padding: 11px 10px 11px 0; border-bottom: 1px solid var(--line); vertical-align: middle; font-variant-numeric: tabular-nums; }
.cmp tr:last-child td { border-bottom: 0; }
.cmp td:first-child { font-weight: 600; color: var(--ink); white-space: nowrap; }
.cmp td:last-child { color: var(--muted); }
.cmp th:nth-child(2), .cmp td:nth-child(2) { white-space: nowrap; }
.cmp td small { display: block; font-weight: 400; color: var(--muted-2); font-size: 11.5px; }
.cmp .ratio { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.cmp .ratio__bar { width: 64px; height: 6px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); overflow: hidden; }
.cmp .ratio__bar i { display: block; height: 100%; width: var(--w, 40%); background: var(--blue); border-radius: 999px; }
.cmp .idx { font-weight: 600; }
.cmp .idx.hi { color: var(--ok); } .cmp .idx.lo { color: var(--danger); }
.cmp tr.avg td { background: var(--blue-tint); color: var(--blue); font-weight: 600; }
.cmp tr.avg td:first-child { border-radius: 8px 0 0 8px; } .cmp tr.avg td:last-child { border-radius: 0 8px 8px 0; }
.cmp__foot { margin-top: 12px; font-size: 12px; color: var(--muted-2); }
.cmp__hint { display: none; margin-top: 10px; font-size: 12px; font-weight: 600; color: var(--blue); }
@media (max-width: 960px) { .cmp__hint { display: block; } }


.ins__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 18px; }
.ins__cards .icard { position: relative; }
.ins__cards .icard--wide { grid-column: span 1; }
.icard__badge { position: absolute; right: 16px; top: 16px; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); background: var(--blue-tint); border: 1px solid var(--blue-soft); border-radius: 999px; padding: 4px 8px; }
.icard__icon { width: 40px; height: 40px; border-radius: 10px; background: var(--blue); color: #fff; display: grid; place-items: center; margin-bottom: 4px; }
.icard__icon svg { width: 20px; height: 20px; }
.ins__cards .icard h3 { display: block; }
.ins__cards .icard p { font-size: 14px; }

@media (max-width: 1100px) { .ins__cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 960px) {
  .ins__hier { grid-template-columns: repeat(2, 1fr); }
  .hnode::after { display: none; }
}
@media (max-width: 640px) { .ins__hier { grid-template-columns: 1fr; } .ins__cards { grid-template-columns: 1fr; } }

/* ---------- Demo request form (in CTA) ---------- */
.cta__inner { align-items: start; }
.dform { background: #fff; border-radius: var(--radius-lg); padding: 26px; box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .45); color: var(--ink); }
.dform h3 { font-size: 20px; }
.dform__sub { font-size: 14px; color: var(--muted); margin-top: 6px; }
.dform__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 20px; }
.dform__f { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.dform__f--full { grid-column: 1 / -1; }
.dform__f > span { font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.dform input, .dform select, .dform textarea {
  font: inherit; font-size: 14px; color: var(--ink); background: #fff;
  border: 1px solid var(--line-2); border-radius: 9px; padding: 10px 12px; width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
.dform textarea { resize: vertical; min-height: 76px; }
.dform input:focus, .dform select:focus, .dform textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.dform input:user-invalid, .dform textarea:user-invalid { border-color: var(--danger); }
.dform__check { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; margin-top: 16px; font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.dform__check input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--blue); padding: 0; }
.dform__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.dform__submit { width: 100%; margin-top: 18px; background: var(--blue); color: #fff; }
.dform__submit:hover { background: var(--blue-deep); }
.dform__submit[disabled] { opacity: .6; cursor: default; transform: none; }
.dform__status { margin-top: 12px; font-size: 13.5px; font-weight: 500; min-height: 1px; }
.dform__status.ok { color: var(--ok); }
.dform__status.err { color: var(--danger); }
@media (max-width: 900px) { .dform__grid { grid-template-columns: 1fr; } }
