@charset "UTF-8";
/* ==========================================================================
   Unitmax OS — marketing site
   Art direction: "the building is the protagonist". Deep night navy for
   cinematic / system scenes, white and paper surfaces for editorial and
   product-UI scenes, electric blue for the digital layer, amber for energy.
   ========================================================================== */

:root {
  --night-950: #03070d;
  --night-900: #060d17;
  --night-850: #08121f;
  --night-800: #0b1828;
  --night-700: #102238;
  --night-600: #17304d;

  --paper: #f3f5f8;
  --paper-2: #e9edf2;
  --warm: #f6f3ee;
  --ink: #0a1422;

  --blue-200: #bcdcff;
  --blue-300: #8cc2ff;
  --blue-400: #5aa4ff;
  --blue-500: #2f7bff;
  --blue-600: #1c62e6;
  --blue-700: #1549b8;
  --amber-300: #ffd58a;
  --amber-400: #ffb547;
  --amber-500: #f59e0b;
  --water: #38bdf8;
  --alert: #ff5d5d;
  --ok: #22c38a;

  --c-elec: #2f7bff;
  --c-heat: #f26b3a;
  --c-water: #1aa3de;
  --c-gas: #9b6cf0;
  --c-solar: #f4ac1b;
  --c-batt: #14a978;
  --c-total: #0a1422;

  --font-sans: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --wrap: 1240px;
  --gutter: 32px;
  --header-h: 72px;
  --section-y: clamp(88px, 10.5vw, 156px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Section themes (drive every component through local tokens) ---------- */
.theme-night,
.theme-dark {
  --fg: #f2f6fb;
  --fg-2: #cad6e3;
  --fg-muted: #9aabbe;
  --fg-dim: #6f8298;
  --line: rgba(148, 190, 235, .13);
  --line-2: rgba(148, 190, 235, .24);
  --surface: rgba(17, 37, 61, .5);
  --surface-2: rgba(23, 48, 77, .55);
  --accent: var(--blue-400);
  --accent-2: var(--blue-300);
  --logo-top: var(--blue-400);
  color: var(--fg);
}
.theme-night { background: var(--night-950); }
.theme-dark { background: var(--night-900); }

.theme-light,
.theme-paper,
.theme-warm {
  --fg: var(--ink);
  --fg-2: #293646;
  --fg-muted: #586577;
  --fg-dim: #7f8d9e;
  --line: #dfe5ec;
  --line-2: #c9d3de;
  --surface: #ffffff;
  --surface-2: #f6f8fb;
  --accent: var(--blue-600);
  --accent-2: var(--blue-700);
  --logo-top: var(--blue-500);
  color: var(--fg);
}
.theme-light { background: #ffffff; }
.theme-paper { background: var(--paper); }
.theme-warm { background: var(--warm); }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  background: var(--night-950);
  color: #f2f6fb;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -.03em; }
h1, h2, .statement, .graph-closing, .why-key p, .twin-statement, .drill-closing { text-wrap: balance; }
::selection { background: rgba(47, 123, 255, .3); }
:focus-visible { outline: 2px solid var(--blue-400); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--wrap), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
main > section { position: relative; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 200; padding: 10px 16px; border-radius: 8px; background: #fff; color: var(--ink); font-weight: 700; transition: top .2s; }
.skip-link:focus { top: 12px; }

.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.brand-mark { width: 28px; height: 28px; flex: none; color: var(--fg, #f2f6fb); }
.brand-mark-sm { width: 18px; height: 18px; }

/* ---------- Type ---------- */
h2 { font-size: clamp(34px, 4.25vw, 60px); line-height: 1.03; letter-spacing: -.045em; max-width: 17ch; }
.h-accent { color: var(--accent); }
.theme-dark h2 .h-accent,
.theme-night h2 .h-accent,
.theme-dark .statement .h-accent,
.theme-night h1 .h-accent {
  background: linear-gradient(92deg, #a9d2ff 0%, #5aa4ff 55%, #4f8dff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.eyebrow-dash { width: 26px; height: 2px; border-radius: 2px; background: var(--blue-400); flex: none; }
.eyebrow-dash-warm { background: var(--amber-400); }
.eyebrow-idx { color: var(--accent); }

.section-head { margin-bottom: clamp(44px, 5.4vw, 80px); }
.head-split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 32px 64px; align-items: end; }
.head-center { text-align: center; }
.head-center .eyebrow { justify-content: center; }
.head-center h2 { margin-inline: auto; }
.head-center .head-copy { margin-inline: auto; }
.head-copy { color: var(--fg-muted); font-size: 18px; line-height: 1.6; max-width: 520px; }
.head-copy p { margin: 0 0 12px; }
.head-copy p:last-child { margin-bottom: 0; }
.head-copy strong { color: var(--fg); font-weight: 700; }
.section-head > .head-copy { margin-top: 22px; }

.statement {
  margin: clamp(56px, 7vw, 104px) 0 0;
  font-size: clamp(30px, 3.7vw, 54px);
  line-height: 1.08;
  letter-spacing: -.04em;
  font-weight: 700;
  max-width: 22ch;
}
.statement-sm { font-size: clamp(26px, 2.9vw, 42px); max-width: 30ch; line-height: 1.12; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 11px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s, color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: #04101d;
  background: linear-gradient(180deg, #86c0ff 0%, #4f9cff 100%);
  box-shadow: 0 12px 32px -12px rgba(79, 156, 255, .75), inset 0 1px 0 rgba(255, 255, 255, .4);
}
.btn-primary:hover { box-shadow: 0 18px 40px -14px rgba(79, 156, 255, .9), inset 0 1px 0 rgba(255, 255, 255, .4); }
.btn-ghost { color: var(--fg, #f2f6fb); border-color: var(--line-2, rgba(148, 190, 235, .3)); background: rgba(255, 255, 255, .02); }
.btn-ghost:hover { border-color: var(--blue-400); background: rgba(90, 164, 255, .08); }
.btn-text { padding: 0 6px; color: var(--fg); font-weight: 650; }
.btn-text .ico { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn-text:hover { transform: none; }
.btn-text:hover .ico { transform: translateX(4px); }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 16px; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; border-radius: 10px; }

/* ==========================================================================
   01 — Header
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  color: #f2f6fb;
  --fg: #f2f6fb;
  --line-2: rgba(148, 190, 235, .28);
  --logo-top: var(--blue-400);
  border-bottom: 1px solid transparent;
  transition: background .35s, color .35s, border-color .35s, box-shadow .35s;
}
.site-header.is-scrolled {
  background: rgba(6, 13, 23, .74);
  -webkit-backdrop-filter: saturate(150%) blur(18px);
  backdrop-filter: saturate(150%) blur(18px);
  border-bottom-color: rgba(148, 190, 235, .1);
}
.site-header[data-theme="light"].is-scrolled {
  color: var(--ink);
  --fg: var(--ink);
  --line-2: #c9d3de;
  --logo-top: var(--blue-500);
  background: rgba(255, 255, 255, .8);
  border-bottom-color: rgba(10, 20, 34, .08);
  box-shadow: 0 10px 30px -24px rgba(10, 20, 34, .35);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; font-size: 18px; letter-spacing: -.03em; white-space: nowrap; }
.brand .brand-mark { color: currentColor; }
.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.main-nav > a {
  position: relative;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  opacity: .78;
  transition: opacity .2s, background .2s;
}
.main-nav > a:hover { opacity: 1; }
.main-nav > a.is-active { opacity: 1; }
.main-nav > a.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 1px;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--blue-400);
}
.nav-panel-actions { display: none; }
.header-actions { display: flex; align-items: center; gap: 18px; margin-left: 8px; }
.header-link { font-size: 14px; font-weight: 600; opacity: .78; transition: opacity .2s; white-space: nowrap; }
.header-link:hover { opacity: 1; }
.menu-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: transparent; cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 25px; }
.site-header.is-open .menu-toggle span:first-child { top: 21px; transform: rotate(45deg); }
.site-header.is-open .menu-toggle span:last-child { top: 21px; transform: rotate(-45deg); }

/* ==========================================================================
   02 — Hero
   ========================================================================== */
.hero { position: relative; overflow: hidden; padding: calc(var(--header-h) + 52px) 0 44px; }
.hero-sky {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1100px 620px at 74% 58%, rgba(47, 123, 255, .17), transparent 62%),
    radial-gradient(900px 360px at 70% 102%, rgba(255, 181, 71, .09), transparent 70%),
    linear-gradient(180deg, #03070d 0%, #050c16 48%, #0a1726 100%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); gap: 16px; align-items: center; }
.hero-copy { position: relative; z-index: 2; padding: 12px 0 20px; }
.eyebrow-hero { color: var(--blue-300); margin-bottom: 26px; }
.hero h1 {
  font-size: clamp(44px, 4.55vw, 68px);
  line-height: 1;
  letter-spacing: -.052em;
  font-weight: 700;
  max-width: 11.5ch;
}
.hero h1 .h-accent { display: block; padding-bottom: .1em; margin-bottom: -.1em; }
.hero-lead { margin: 28px 0 0; font-size: 19px; line-height: 1.55; color: #c3d0de; max-width: 520px; }
.hero-sub { margin: 12px 0 0; font-size: 16px; line-height: 1.55; color: var(--fg-muted); max-width: 470px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 34px; }
.proof-strip {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -.005em;
  color: var(--fg-muted);
}
.proof-strip li { display: inline-flex; align-items: center; white-space: nowrap; }
.proof-strip li:not(:last-child)::after { content: "→"; margin: 0 11px; color: var(--blue-400); font-weight: 500; }
.proof-strip li:nth-child(2) { color: var(--fg); }

.hero-scene { position: relative; margin: 0 -8px 0 -24px; aspect-ratio: 39.6 / 31; }
@media (min-width: 1400px) { .hero-scene { margin-right: -56px; } }
.scene-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.scene-chips { list-style: none; margin: 0; padding: 0; }
.scene-chip {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px 6px 8px;
  border-radius: 999px;
  background: rgba(8, 20, 35, .72);
  border: 1px solid rgba(120, 180, 255, .24);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .8);
  font-size: 12.5px;
  font-weight: 600;
  color: #e6eef8;
  white-space: nowrap;
  transform: translate(-100%, -50%);
  opacity: 0;
  transition: opacity .6s var(--ease), border-color .3s;
}
.scene-chip.is-placed { opacity: 1; }
.scene-chip[data-side="right"] { transform: translate(0, -50%); }
.scene-chip .ico { width: 15px; height: 15px; color: var(--blue-300); }
.scene-chip[data-node="energy"] .ico,
.scene-chip[data-node="hvac"] .ico { color: var(--amber-400); }
.chip-value { font-family: var(--font-mono); font-size: 11px; font-weight: 500; color: var(--blue-300); }
.scene-chip.is-hot { border-color: rgba(140, 194, 255, .7); }
.hero-scene.is-compact .chip-value { display: none; }

/* Principle rail */
.principle {
  position: relative;
  list-style: none;
  margin: 36px 0 0;
  padding: 26px 0 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  border-top: 1px solid var(--line);
}
.principle::before {
  content: "";
  position: absolute;
  left: 22px;
  right: 0;
  top: 48px;
  height: 1px;
  background: linear-gradient(90deg, rgba(90, 164, 255, .08), rgba(90, 164, 255, .45) 50%, rgba(90, 164, 255, .08));
}
.principle::after {
  content: "";
  position: absolute;
  top: 47px;
  left: 0;
  width: 140px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, transparent, #bfe0ff, transparent);
  filter: drop-shadow(0 0 6px rgba(140, 194, 255, .9));
  animation: comet 6s linear infinite;
}
@keyframes comet { from { left: -140px; } to { left: 100%; } }
.principle li { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.pr-node {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--night-850);
  border: 1px solid var(--line-2);
  color: var(--blue-300);
}
.pr-node .ico { width: 19px; height: 19px; }
.principle li.is-core .pr-node { background: var(--blue-500); border-color: transparent; color: #fff; box-shadow: 0 0 0 6px rgba(47, 123, 255, .16), 0 0 32px rgba(47, 123, 255, .6); }
.pr-text { min-width: 0; }
.pr-name { display: block; font-weight: 700; font-size: 15px; letter-spacing: -.01em; }
.pr-desc { display: block; margin-top: 2px; font-size: 13px; line-height: 1.4; color: var(--fg-muted); }

/* ==========================================================================
   03 — Problem
   ========================================================================== */
.problem { padding: var(--section-y) 0; }
.fragments { margin: 0 0 clamp(56px, 7vw, 100px); }
.frag-stage {
  position: relative;
  aspect-ratio: 1000 / 560;
  border-radius: 26px;
  border: 1px solid var(--line);
  background:
    radial-gradient(ellipse 46% 60% at 50% 55%, rgba(233, 238, 244, .9), transparent 70%),
    linear-gradient(180deg, #fbfcfd, #f4f6f9);
  overflow: hidden;
}
.frag-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(10, 20, 34, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(10, 20, 34, .045) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.frag-links { position: absolute; inset: 0; width: 100%; height: 100%; }
.frag-links path { fill: none; stroke: #aebbc9; stroke-width: 1.4; stroke-dasharray: 5 6; vector-effect: non-scaling-stroke; }
.frag-links circle { fill: #fff; stroke: #aebbc9; stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.ghost { position: absolute; left: 50%; top: 50%; width: 27%; transform: translate(-50%, -50%); }
.ghost-svg { width: 100%; height: auto; overflow: visible; }
.ghost-tag {
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translate(-50%, 6px);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--fg-dim);
  text-align: center;
  white-space: nowrap;
  line-height: 1.5;
}
.ghost-tag b { color: #c2410c; font-weight: 600; }
.frag {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 1;
  width: clamp(150px, 17%, 206px);
  transform: translate(-50%, -50%);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 11px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 13px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 14px 30px -20px rgba(10, 20, 34, .4);
}
.frag-ico { grid-row: span 2; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: var(--paper); color: var(--fg-2); }
.frag-ico .ico { width: 18px; height: 18px; }
.frag-name { font-weight: 700; font-size: 14px; letter-spacing: -.01em; }
.frag-line { font-family: var(--font-mono); font-size: 10.5px; color: var(--fg-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.frag-bars { display: flex; gap: 3px; align-items: flex-end; height: 15px; }
.frag-bars i { width: 7px; height: var(--h); border-radius: 1px; background: #c5d0dc; }

.problem-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 44px; }
.problem-list li { padding: 26px 0 34px; border-top: 1px solid var(--line); }
.pl-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; color: var(--fg-dim); }
.pl-idx { font-family: var(--font-mono); font-size: 12px; }
.pl-top .ico { width: 22px; height: 22px; color: var(--fg-2); }
.problem-list h3 { font-size: 21px; letter-spacing: -.025em; margin-bottom: 8px; }
.problem-list p { margin: 0; color: var(--fg-muted); font-size: 16px; line-height: 1.55; max-width: 34ch; }
.statement-break {
  color: var(--fg-muted);
  background-image: repeating-linear-gradient(90deg, #c2410c 0 14px, transparent 14px 22px);
  background-size: 100% 3px;
  background-position: 0 92%;
  background-repeat: no-repeat;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ==========================================================================
   04 — Core idea
   ========================================================================== */
.core { padding: var(--section-y) 0; overflow: hidden; }
.core::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(28, 98, 230, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(28, 98, 230, .05) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000 70%);
  mask-image: linear-gradient(90deg, transparent 20%, #000 70%);
  pointer-events: none;
}
.core-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.core h2 { max-width: 13ch; }
.not-stack { margin: 40px 0 34px; }
.not-stack p { margin: 0; font-size: clamp(24px, 2.35vw, 33px); line-height: 1.22; letter-spacing: -.035em; font-weight: 700; }
.ns-lead { color: var(--fg-muted); }
.not-stack s { position: relative; text-decoration: none; color: var(--fg-dim); white-space: nowrap; }
.not-stack s::after {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  top: 55%;
  height: 3px;
  border-radius: 2px;
  background: #c2410c;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .7s var(--ease);
}
.not-stack .ns-line:nth-of-type(2) s::after { transition-delay: .35s; }
.not-stack .ns-line:nth-of-type(3) s::after { transition-delay: .7s; }
.not-stack.visible s::after { transform: scaleX(1); }
.ns-is { margin-top: 14px !important; color: var(--fg); }
.ns-is strong { color: var(--accent); font-weight: 800; }
.core-text { font-size: 18px; line-height: 1.6; color: var(--fg-muted); max-width: 530px; margin: 0 0 14px; }
.core-em { color: var(--fg); font-weight: 650; }

.drawing { position: relative; margin: 0; }
.drawing-svg { width: 100%; height: auto; overflow: visible; }
.callouts { list-style: none; margin: 0; padding: 0; }
.callouts li {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(243, 245, 248, .92);
  border: 1px solid rgba(28, 98, 230, .22);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue-700);
  white-space: nowrap;
  transform: translate(0, -50%);
  opacity: 0;
  transition: opacity .6s var(--ease);
}
.callouts li[data-side="left"] { transform: translate(-100%, -50%); }
.drawing.visible .callouts li.is-placed { opacity: 1; }

/* SVG: section drawing */
.sd-grid { stroke: rgba(10, 20, 34, .05); stroke-width: 1; }
.sd-ground { stroke: var(--ink); stroke-width: 1.6; }
.sd-hatch { stroke: rgba(10, 20, 34, .22); stroke-width: 1; }
.sd-wall { fill: none; stroke: rgba(10, 20, 34, .72); stroke-width: 1.6; }
.sd-slab { fill: rgba(10, 20, 34, .78); }
.sd-thin { fill: none; stroke: rgba(10, 20, 34, .35); stroke-width: 1; }
.sd-glass { fill: rgba(28, 98, 230, .06); stroke: rgba(28, 98, 230, .35); stroke-width: 1; }
.sd-text { font-family: var(--font-mono); font-size: 10px; fill: rgba(10, 20, 34, .5); letter-spacing: .06em; }
.sd-pipe-w { stroke: #1aa3de; stroke-width: 2.4; fill: none; }
.sd-pipe-h { stroke: #f26b3a; stroke-width: 2.4; fill: none; }
.sd-equip { fill: #fff; stroke: rgba(10, 20, 34, .7); stroke-width: 1.4; }
.sd-solar { fill: rgba(28, 98, 230, .18); stroke: var(--blue-600); stroke-width: 1.2; }
.sd-sensor { fill: var(--blue-500); }
.sd-sensor-ring { fill: none; stroke: var(--blue-500); stroke-width: 1.2; transform-box: fill-box; transform-origin: center; animation: ping 2.8s var(--ease) infinite; }
.sd-person { fill: none; stroke: rgba(10, 20, 34, .7); stroke-width: 1.4; stroke-linecap: round; }
.sd-doc { fill: #fff; stroke: rgba(10, 20, 34, .7); stroke-width: 1.3; }
.sd-lead { fill: none; stroke: rgba(28, 98, 230, .55); stroke-width: 1; stroke-dasharray: 3 3; }
.sd-dot { fill: var(--blue-600); }
.sd-hist { stroke: rgba(10, 20, 34, .5); stroke-width: 1.2; }
.sd-hist-live { stroke: var(--blue-500); stroke-width: 2; }
.sd-lift { fill: none; stroke: rgba(10, 20, 34, .4); stroke-width: 1; stroke-dasharray: 4 3; }
.sd-ico { fill: none; stroke: rgba(10, 20, 34, .72); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sd-elev { fill: none; stroke: rgba(10, 20, 34, .55); stroke-width: 1.2; }
.sd-cabin { fill: rgba(10, 20, 34, .12); stroke: rgba(10, 20, 34, .55); stroke-width: 1.2; }
@keyframes ping { 0% { transform: scale(.6); opacity: .9; } 80%, 100% { transform: scale(2.1); opacity: 0; } }

/* ==========================================================================
   05 — Building Graph
   ========================================================================== */
.graph-section { padding: var(--section-y) 0; overflow: hidden; }
.graph-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(760px 520px at 66% 55%, rgba(47, 123, 255, .16), transparent 70%),
    radial-gradient(500px 300px at 20% 30%, rgba(47, 123, 255, .06), transparent 70%);
}
.graph-section .wrap { position: relative; }
.graph-section h2 { max-width: 15ch; }
.graph-layout { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: 40px; align-items: center; }
.gc-card { border: 1px solid var(--line); border-radius: 18px; padding: 22px 24px; background: rgba(12, 26, 44, .6); }
.gc-label {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.gc-raw { margin: 0; font-family: var(--font-mono); font-size: 17px; color: var(--fg-2); }
.gc-raw-id { color: #fff; }
.gc-raw-val { display: inline-block; min-width: 1.6em; padding: 0 6px; border-radius: 4px; background: rgba(255, 181, 71, .14); color: var(--amber-400); text-align: center; }
.gc-context { position: relative; margin-top: 14px; border-color: rgba(90, 164, 255, .38); background: linear-gradient(180deg, rgba(47, 123, 255, .14), rgba(47, 123, 255, .03)); box-shadow: 0 30px 70px -40px rgba(47, 123, 255, .6); }
.gc-context .gc-label { color: var(--blue-300); }
.gc-story { margin: 0; font-size: clamp(19px, 1.65vw, 23px); line-height: 1.5; letter-spacing: -.015em; color: var(--fg-muted); font-weight: 500; }
.clause {
  color: var(--fg-dim);
  background-image: linear-gradient(var(--blue-400), var(--blue-400));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 2px;
  transition: color .45s, background-size .7s var(--ease);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.clause.is-done { color: var(--fg-2); }
.clause.is-on { color: #fff; background-size: 100% 2px; }
.gc-replay {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  padding: 6px 12px 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  color: var(--fg-muted);
  cursor: pointer;
  transition: color .2s, border-color .2s;
}
.gc-replay .ico { width: 15px; height: 15px; }
.gc-replay:hover { color: #fff; border-color: var(--blue-400); }
.graph { margin: 0; }
.graph-svg { width: 100%; height: auto; overflow: visible; }
.graph-closing { margin: clamp(40px, 5vw, 72px) auto 0; text-align: center; font-size: clamp(24px, 2.6vw, 38px); line-height: 1.15; letter-spacing: -.035em; font-weight: 700; max-width: 26ch; }
.graph-closing .h-accent { background: linear-gradient(92deg, #a9d2ff, #5aa4ff); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* SVG: graph */
.g-spoke { stroke: rgba(120, 170, 230, .16); stroke-width: 1; stroke-dasharray: 2 5; fill: none; }
.g-edge { stroke: rgba(120, 170, 230, .2); stroke-width: 1.1; fill: none; transition: stroke .5s, stroke-width .5s, opacity .5s; }
.g-edge.is-on { stroke: #7cb8ff; stroke-width: 2.4; filter: url(#g-glow); }
.g-edge.is-flow { stroke-dasharray: 6 10; animation: dashflow 1.2s linear infinite; }
.g-dim .g-edge:not(.is-on):not(.is-hover) { opacity: .35; }
.g-edge.is-hover { stroke: rgba(160, 205, 255, .7); stroke-width: 1.6; }
@keyframes dashflow { to { stroke-dashoffset: -32; } }
.g-node { cursor: default; }
.g-node .n-halo { fill: rgba(90, 164, 255, .12); transform-box: fill-box; transform-origin: center; transition: transform .5s var(--ease), fill .5s; transform: scale(.6); }
.g-node .n-dot { fill: #0b1828; stroke: #5aa4ff; stroke-width: 1.6; transition: fill .4s; }
.g-node.is-on .n-dot, .g-node.is-hover .n-dot { fill: #5aa4ff; }
.g-node.is-on .n-halo { transform: scale(1); fill: rgba(90, 164, 255, .22); }
.g-label { font-family: var(--font-sans); font-size: 16px; font-weight: 700; fill: #d6e2ee; letter-spacing: -.01em; }
.g-node.is-on .g-label { fill: #fff; }
.g-inst rect { fill: rgba(47, 123, 255, .16); stroke: rgba(90, 164, 255, .55); stroke-width: 1; }
.g-inst text { font-family: var(--font-mono); font-size: 12.5px; fill: #bfe0ff; }
.g-inst { opacity: 0; transition: opacity .5s var(--ease); }
.g-inst.is-on { opacity: 1; }
.g-core-hex { fill: #0d2240; stroke: #5aa4ff; stroke-width: 1.8; }
.g-core-ring { fill: none; stroke: rgba(90, 164, 255, .35); stroke-width: 1; stroke-dasharray: 3 6; transform-box: fill-box; transform-origin: center; animation: spin 40s linear infinite; }
.g-core-logo { color: #ffffff; --logo-top: #5aa4ff; }
.g-core-label { font-family: var(--font-sans); font-size: 17px; font-weight: 800; fill: #fff; text-anchor: middle; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ==========================================================================
   06 — Architecture
   ========================================================================== */
.arch { padding: var(--section-y) 0; }
.arch-stack { list-style: none; margin: 0; padding: 0; position: relative; }
.arch-stack::before {
  content: "";
  position: absolute;
  left: 118px;
  top: 60px;
  bottom: 60px;
  width: 2px;
  background: linear-gradient(to top, rgba(28, 98, 230, .12), rgba(28, 98, 230, .45));
}
.arch-stack::after {
  content: "";
  position: absolute;
  left: 115px;
  width: 8px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(to top, transparent, var(--blue-500));
  filter: drop-shadow(0 0 6px rgba(47, 123, 255, .8));
  animation: rise 3.6s linear infinite;
}
@keyframes rise { from { bottom: 50px; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } to { bottom: calc(100% - 70px); opacity: 0; } }
.arch-row {
  position: relative;
  display: grid;
  grid-template-columns: 236px minmax(200px, 290px) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  margin-bottom: 12px;
  padding: 10px 24px 10px 0;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: #fff;
  transition: box-shadow .3s, border-color .3s, transform .3s var(--ease);
}
.arch-row:hover { border-color: var(--line-2); box-shadow: 0 20px 40px -30px rgba(10, 20, 34, .4); }
.arch-row-core {
  background: linear-gradient(95deg, #1753d3 0%, #2f7bff 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 30px 60px -30px rgba(28, 98, 230, .7);
}
.arch-row-core:hover { border-color: transparent; box-shadow: 0 34px 70px -30px rgba(28, 98, 230, .85); }
.arch-slab { position: relative; z-index: 1; padding: 0 8px; }
.arch-slab svg { width: 100%; height: auto; overflow: visible; }
.arch-num { font-family: var(--font-mono); font-size: 12px; color: var(--accent); letter-spacing: .08em; }
.arch-row-core .arch-num { color: #cfe4ff; }
.arch-title h3 { font-size: 23px; letter-spacing: -.03em; margin: 4px 0 3px; }
.arch-title p { margin: 0; color: var(--fg-muted); font-size: 15px; line-height: 1.4; }
.arch-row-core .arch-title p { color: #d7e7ff; }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 7px 12px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; color: var(--fg-2); line-height: 1.2; }
.arch-row-core .tags li { background: rgba(255, 255, 255, .13); border-color: rgba(255, 255, 255, .3); color: #fff; }
.tags-chain { gap: 8px 20px; }
.tags-chain li { position: relative; }
.tags-chain li:not(:last-child)::after { content: "→"; position: absolute; right: -16px; top: 50%; transform: translateY(-52%); color: rgba(255, 255, 255, .7); font-weight: 400; }
.arch-final {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin: clamp(44px, 5vw, 72px) 0 0;
  font-size: clamp(28px, 3.3vw, 48px);
  line-height: 1.1;
  letter-spacing: -.04em;
  font-weight: 700;
}
.arch-final .ico { width: 1em; height: 1em; color: var(--accent); stroke-width: 1.8; }

/* SVG: slabs (shared by architecture, interfaces and expansion steps) */
.sl-top { fill: #ffffff; stroke: #b9c7d6; stroke-width: 1; }
.sl-left { fill: #dbe3ec; stroke: #b9c7d6; stroke-width: 1; }
.sl-right { fill: #ebf0f5; stroke: #b9c7d6; stroke-width: 1; }
.slab-blue .sl-top { fill: #5b9dff; stroke: #cfe2ff; }
.slab-blue .sl-left { fill: #1446b0; stroke: #3f7cf0; }
.slab-blue .sl-right { fill: #1d5ad6; stroke: #3f7cf0; }
.slab-night .sl-top { fill: #12294a; stroke: #3f7cf0; }
.slab-night .sl-left { fill: #0a1628; stroke: #2b5aa8; }
.slab-night .sl-right { fill: #0d1d33; stroke: #2b5aa8; }
.dec-box-top { fill: #fff; stroke: #aab9ca; stroke-width: .8; }
.dec-box-left { fill: #cfd9e5; stroke: #aab9ca; stroke-width: .8; }
.dec-box-right { fill: #e4eaf1; stroke: #aab9ca; stroke-width: .8; }
.dec-win { fill: #a9bdd4; }
.dec-win-line { stroke: #9fb3c9; stroke-width: 1; vector-effect: non-scaling-stroke; }
.dec-bar-top { fill: #8cc2ff; }
.dec-bar-left { fill: #2f7bff; }
.dec-bar-right { fill: #5aa4ff; }
.dec-wave { fill: none; stroke: #2f7bff; stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.dec-edge { stroke: rgba(255, 255, 255, .8); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.dec-node { fill: #fff; }
.dec-node-hot { fill: #ffd58a; }
.dec-ring { fill: none; stroke: #2f7bff; stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.dec-ring-dash { fill: none; stroke: #8cc2ff; stroke-width: 1.2; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
.dec-spark { fill: #2f7bff; }
.dec-panel { fill: #fff; stroke: #9fb3c9; stroke-width: .8; vector-effect: non-scaling-stroke; }
.dec-panel-line { stroke: #c3d1df; stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.dec-panel-accent { fill: #2f7bff; }
.dec-loop { fill: none; stroke: #f59e0b; stroke-width: 1.6; stroke-dasharray: 5 3; vector-effect: non-scaling-stroke; animation: dashflow 1.6s linear infinite; }
.dec-loop-dot { fill: #f59e0b; }

/* ==========================================================================
   07 — Scenario: water leak
   ========================================================================== */
.scenario { padding: var(--section-y) 0; }
.scenario h2 { max-width: 19ch; }
.console {
  border-radius: 24px;
  border: 1px solid var(--line-2);
  background: linear-gradient(180deg, #0b1829, #08121f);
  box-shadow: 0 50px 110px -50px rgba(0, 0, 0, .8);
  overflow: hidden;
}
.console-bar {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 13px 18px 13px 20px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--fg-muted);
  background: rgba(255, 255, 255, .015);
}
.console-live { display: inline-flex; align-items: center; gap: 8px; text-transform: uppercase; letter-spacing: .1em; font-size: 11.5px; }
.console-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--alert); box-shadow: 0 0 0 4px rgba(255, 93, 93, .16); animation: blink 1.6s ease-in-out infinite; }
.console[data-phase="4"] .console-live i { background: var(--ok); box-shadow: 0 0 0 4px rgba(34, 195, 138, .16); animation: none; }
@keyframes blink { 50% { opacity: .35; } }
.console-title { color: var(--fg-2); }
.console-clock { margin-left: auto; font-size: 15px; color: #fff; font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.console-replay {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: transparent;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--fg-2);
  cursor: pointer;
}
.console-replay .ico { width: 15px; height: 15px; }
.console-replay:hover { border-color: var(--blue-400); color: #fff; }
.console-body { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
.console-plan { position: relative; padding: 22px 24px 18px; border-right: 1px solid var(--line); }
.plan-svg { width: 100%; height: auto; margin-top: 14px; }
.incident-card {
  display: grid;
  grid-template-columns: auto auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  align-items: center;
  max-width: 420px;
  padding: 12px 16px 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(56, 189, 248, .35);
  background: rgba(56, 189, 248, .07);
  opacity: .3;
  transition: opacity .5s, border-color .5s, background .5s;
}
.console[data-phase]:not([data-phase="0"]) .incident-card { opacity: 1; }
.console[data-phase="4"] .incident-card { border-color: rgba(34, 195, 138, .45); background: rgba(34, 195, 138, .08); }
.incident-ico { grid-row: span 2; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: rgba(56, 189, 248, .16); color: var(--water); }
.console[data-phase="4"] .incident-ico { background: rgba(34, 195, 138, .16); color: var(--ok); }
.incident-time { grid-row: span 2; font-family: var(--font-mono); font-size: 22px; color: #fff; font-weight: 500; }
.incident-title { font-weight: 700; font-size: 15px; }
.incident-sub { font-size: 13px; color: var(--fg-muted); }
.console-facts { padding: 22px 26px 18px; }
.facts-title { margin: 0 0 8px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-300); }
.facts { margin: 0; }
.fact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  opacity: .28;
  transition: opacity .45s;
}
.fact:last-child { border-bottom: 0; }
.fact dt { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--fg-muted); min-width: 0; }
.fact dt .ico { width: 17px; height: 17px; color: var(--blue-300); }
.fact dd { margin: 0; font-weight: 700; font-size: 14px; color: #fff; text-align: right; }
.fact.is-on { opacity: 1; }
.fact.is-on dd { animation: resolve .6s var(--ease); }
@keyframes resolve { from { opacity: 0; transform: translateX(8px); filter: blur(3px); } to { opacity: 1; transform: none; filter: none; } }
.flow {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 20px 24px 24px;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
  border-top: 1px solid var(--line);
}
.flow::before { content: ""; position: absolute; left: 30px; right: 30px; top: 33px; height: 2px; background: var(--line-2); }
.flow::after { content: ""; position: absolute; left: 30px; top: 33px; height: 2px; width: calc((100% - 60px) * var(--p, 0)); background: linear-gradient(90deg, var(--blue-500), var(--blue-300)); transition: width .8s var(--ease); }
.flow li { position: relative; z-index: 1; padding-top: 26px; opacity: .35; transition: opacity .45s; }
.flow li.is-on { opacity: 1; }
.flow-dot { position: absolute; top: 6px; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--night-850); border: 2px solid var(--line-2); transition: background .4s, border-color .4s, box-shadow .4s; }
.flow li.is-on .flow-dot { background: var(--blue-400); border-color: var(--blue-400); box-shadow: 0 0 0 5px rgba(90, 164, 255, .18); }
.flow li.is-ok .flow-dot { background: var(--ok); border-color: var(--ok); box-shadow: 0 0 0 5px rgba(34, 195, 138, .18); }
.flow-name { display: block; font-weight: 700; font-size: 14px; line-height: 1.3; letter-spacing: -.01em; }
.flow-meta { display: block; margin-top: 3px; font-family: var(--font-mono); font-size: 11.5px; color: var(--fg-muted); }
.chain {
  list-style: none;
  margin: clamp(40px, 5vw, 64px) 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 0;
  font-size: clamp(20px, 2.3vw, 32px);
  font-weight: 700;
  letter-spacing: -.03em;
}
.chain li { display: inline-flex; align-items: center; color: var(--fg-2); }
.chain li:not(:last-child)::after { content: "→"; margin: 0 16px; color: var(--fg-dim); font-weight: 400; }
.chain-last { color: var(--blue-400) !important; }

/* SVG: floor plan */
.pl-floor { fill: rgba(255, 255, 255, .015); stroke: rgba(148, 190, 235, .42); stroke-width: 2; }
.pl-wall { fill: none; stroke: rgba(148, 190, 235, .3); stroke-width: 1.4; }
.pl-unit { fill: rgba(255, 255, 255, .01); stroke: rgba(148, 190, 235, .22); stroke-width: 1; transition: fill .6s, stroke .6s; }
.pl-unit.is-risk { fill: rgba(255, 181, 71, .055); stroke: rgba(255, 181, 71, .75); }
.pl-mech { fill: rgba(56, 189, 248, .04); stroke: rgba(148, 190, 235, .35); stroke-width: 1.2; }
.pl-core { fill: rgba(148, 190, 235, .06); stroke: rgba(148, 190, 235, .3); stroke-width: 1; }
.pl-label { font-family: var(--font-mono); font-size: 18px; fill: rgba(202, 214, 227, .75); }
.pl-label-sm { font-family: var(--font-mono); font-size: 14px; fill: rgba(154, 171, 190, .8); letter-spacing: .06em; }
.pl-pipe { fill: none; stroke: rgba(56, 189, 248, .55); stroke-width: 3; }
.pl-branch { fill: none; stroke: rgba(56, 189, 248, .35); stroke-width: 2; }
.pl-flow { fill: none; stroke: #7dd3fc; stroke-width: 3; stroke-dasharray: 10 22; animation: dashflow 1.4s linear infinite; }
.console[data-phase="4"] .pl-flow, .console[data-phase="0"] .pl-flow { opacity: .35; }
.pl-valve { fill: #0b1829; stroke: #7dd3fc; stroke-width: 2; }
.pl-leak { opacity: 0; transition: opacity .4s; }
.console[data-phase]:not([data-phase="0"]):not([data-phase="4"]) .pl-leak { opacity: 1; }
.pl-leak-core { fill: var(--water); }
.pl-leak-ring { fill: none; stroke: var(--water); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: ping 2s var(--ease) infinite; }
.pl-leak-ring:nth-of-type(2) { animation-delay: .7s; }
.pl-ok { opacity: 0; transition: opacity .5s; }
.console[data-phase="4"] .pl-ok { opacity: 1; }
.pl-ok circle { fill: var(--ok); }
.pl-ok path { fill: none; stroke: #04101d; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.pl-tech { opacity: 0; transition: opacity .4s; }
.console[data-phase="3"] .pl-tech, .console[data-phase="4"] .pl-tech { opacity: 1; }
.pl-tech circle { fill: var(--amber-400); }
.pl-tech-halo { fill: rgba(255, 181, 71, .2) !important; }
.pl-tech-path { fill: none; stroke: rgba(255, 181, 71, .5); stroke-width: 2; stroke-dasharray: 3 6; opacity: 0; transition: opacity .4s; }
.console[data-phase="3"] .pl-tech-path { opacity: 1; }
.pl-alert { opacity: 0; transition: opacity .5s; }
.console[data-phase="2"] .pl-alert, .console[data-phase="3"] .pl-alert { opacity: 1; }
.pl-alert text { font-family: var(--font-mono); font-size: 15px; fill: var(--amber-300); }

/* ==========================================================================
   08 — Energy intelligence
   ========================================================================== */
.energy { padding: var(--section-y) 0; }
.energy h2 { max-width: 15ch; }
.ui { font-family: var(--font-sans); }
.energy-app {
  border-radius: 22px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 60px 110px -60px rgba(10, 20, 34, .45), 0 2px 4px rgba(10, 20, 34, .03);
  overflow: hidden;
}
.ea-bar { display: flex; align-items: center; gap: 16px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.ea-title { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 15px; letter-spacing: -.01em; }
.ea-title .ico { width: 18px; height: 18px; color: var(--amber-500); }
.ea-seg { margin-left: auto; display: flex; padding: 3px; border-radius: 9px; background: var(--paper); }
.ea-seg span { padding: 5px 11px; border-radius: 7px; font-size: 12.5px; font-weight: 600; color: var(--fg-muted); }
.ea-seg span.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(10, 20, 34, .12); }
.ea-live { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: 12px; color: #0f8a5f; }
.ea-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(34, 195, 138, .2); animation: blink 1.8s ease-in-out infinite; }
.ea-grid { display: grid; grid-template-columns: 238px minmax(0, 1fr) 262px; }
.ea-h { display: flex; align-items: center; gap: 7px; margin: 0 0 12px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-muted); }
.ea-h .ico { width: 15px; height: 15px; color: var(--blue-600); }
.ea-sources { padding: 18px 14px 18px 16px; border-right: 1px solid var(--line); background: #fbfcfd; }
.ea-sources ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.ea-sources li {
  position: relative;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  padding: 9px 10px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--fg-2);
}
.ea-sources li .ico { width: 18px; height: 18px; color: var(--c); }
.ea-sources li b { font-family: var(--font-mono); font-size: 11.5px; font-weight: 500; color: var(--fg-muted); }
.ea-sources li::after {
  content: "";
  position: absolute;
  right: -15px;
  top: 50%;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-radius: 50%;
  background: var(--c);
  opacity: 0;
  animation: feed 3s var(--ease) infinite;
  animation-delay: calc(var(--d, 0) * 1s);
}
.ea-sources li:nth-child(1) { --d: 0; } .ea-sources li:nth-child(2) { --d: .4; } .ea-sources li:nth-child(3) { --d: .8; }
.ea-sources li:nth-child(4) { --d: 1.2; } .ea-sources li:nth-child(5) { --d: 1.6; } .ea-sources li:nth-child(6) { --d: 2; }
.ea-sources li.ea-total::after { display: none; }
@keyframes feed { 0% { opacity: 0; transform: translateX(-10px); } 30% { opacity: 1; } 60%, 100% { opacity: 0; transform: translateX(14px); } }
.ea-total { margin-top: 8px; background: var(--paper); color: var(--ink) !important; }
.ea-total span { font-weight: 700; }
.ea-total b { color: var(--ink) !important; font-weight: 600 !important; }
.ea-main { padding: 18px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; align-content: start; background: #fff; }
.w { min-width: 0; padding: 14px 14px 13px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.w-h { margin: 0; font-size: 12.5px; font-weight: 650; color: var(--fg-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.w-h small { font-size: 11.5px; font-weight: 500; color: var(--fg-dim); margin-left: 4px; }
.w-num { margin: 8px 0 0; font-size: 28px; line-height: 1; font-weight: 800; letter-spacing: -.035em; color: var(--ink); font-variant-numeric: tabular-nums; }
.w-num small { display: block; margin-top: 6px; font-size: 11.5px; font-weight: 600; letter-spacing: 0; color: var(--fg-muted); }
.w-spark { width: 100%; height: 30px; margin-top: 10px; overflow: visible; }
.w-delta { margin: 10px 0 0; font-size: 12px; font-weight: 600; }
.w-delta.down { color: #0f8a5f; }
.w-wide { grid-column: span 4; padding-bottom: 12px; }
.w-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.w-legend { display: flex; gap: 14px; margin: 0; font-size: 12px; color: var(--fg-muted); }
.lg { display: inline-flex; align-items: center; gap: 6px; }
.lg::before { content: ""; width: 14px; height: 3px; border-radius: 2px; background: var(--blue-500); }
.lg-solar::before { background: var(--c-solar); }
.lg-band::before { height: 9px; background: rgba(47, 123, 255, .14); border: 1px dashed rgba(47, 123, 255, .5); }
.w-chart { width: 100%; height: 190px; margin-top: 10px; overflow: visible; }
.w-axis { display: flex; justify-content: space-between; margin-top: 6px; font-family: var(--font-mono); font-size: 11px; color: var(--fg-dim); }
.w-peak { margin: 8px 0 0; font-size: 12.5px; color: var(--fg-muted); }
.w-peak b { color: var(--ink); margin-right: 4px; }
.w-compare, .w-anom { grid-column: span 2; }
.bars { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 9px; }
.bars li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; font-size: 12.5px; font-weight: 600; color: var(--fg-2); }
.bars li b { font-family: var(--font-mono); font-weight: 500; font-size: 12px; }
.bars li::after { content: ""; grid-column: 1 / -1; height: 6px; border-radius: 6px; width: var(--v); background: #c6d3e2; }
.bars li.me::after { background: var(--blue-500); }
.bars li.warn::after { background: #f5a524; }
.anoms { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.anoms li { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 9px; background: var(--paper); font-size: 12.5px; font-weight: 600; color: var(--fg-2); }
.anoms time { margin-left: auto; font-family: var(--font-mono); font-size: 11px; color: var(--fg-dim); font-weight: 500; }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dot-heat { background: var(--c-heat); }
.dot-water { background: var(--c-water); }
.dot-elec { background: var(--c-elec); }
.ea-insights { padding: 18px 16px; border-left: 1px solid var(--line); background: #fbfcfd; }
.ea-insights ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ea-insights li { padding: 12px; border-radius: 12px; border: 1px solid var(--line); background: #fff; box-shadow: 0 8px 20px -18px rgba(10, 20, 34, .5); }
.ins-chart { width: 100%; height: 34px; margin-bottom: 9px; overflow: visible; }
.ea-insights p { margin: 0; font-size: 13.5px; line-height: 1.4; font-weight: 650; color: var(--ink); }
.energy-foot { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.values { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.values li { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line); background: #fff; font-weight: 700; font-size: 15px; letter-spacing: -.01em; }
.values .ico { width: 22px; height: 22px; color: var(--blue-600); }

/* SVG: charts */
.ch-band { fill: rgba(47, 123, 255, .08); stroke: rgba(47, 123, 255, .35); stroke-width: 1; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
.ch-area { fill: url(#ch-grad-blue); }
.ch-line { fill: none; stroke: var(--blue-500); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.ch-solar-area { fill: rgba(244, 172, 27, .16); }
.ch-solar { fill: none; stroke: var(--c-solar); stroke-width: 2; vector-effect: non-scaling-stroke; }
.ch-grid { stroke: rgba(10, 20, 34, .06); stroke-width: 1; vector-effect: non-scaling-stroke; }
.ch-now { stroke: rgba(10, 20, 34, .3); stroke-width: 1; stroke-dasharray: 2 3; vector-effect: non-scaling-stroke; }
.ch-peak { fill: var(--ink); }
.ch-anom { fill: rgba(242, 107, 58, .1); stroke: rgba(242, 107, 58, .5); stroke-width: 1; stroke-dasharray: 2 2; vector-effect: non-scaling-stroke; }
.ch-anom-line { fill: none; stroke: var(--c-heat); stroke-width: 2.2; vector-effect: non-scaling-stroke; }
.ch-spark { fill: none; stroke: var(--blue-500); stroke-width: 1.8; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.ch-spark-solar { stroke: var(--c-solar); }
.ch-spark-ok { stroke: #14a978; }
.ch-bar { fill: #c9d6e4; }
.ch-bar-solar { fill: var(--c-solar); }
.ch-ins-band { fill: rgba(10, 20, 34, .05); }
.ch-ins-line { fill: none; stroke: #8795a6; stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.ch-ins-hot { fill: none; stroke: var(--c-heat); stroke-width: 2; vector-effect: non-scaling-stroke; }
.ch-ins-dot { fill: var(--c-heat); }
.ch-draw { stroke-dasharray: var(--len, 1200); stroke-dashoffset: var(--len, 1200); transition: stroke-dashoffset 1.8s var(--ease); }
.visible .ch-draw, .ch-draw.is-drawn { stroke-dashoffset: 0; }

/* ==========================================================================
   09 — Digital twin
   ========================================================================== */
.twin-section { padding: var(--section-y) 0; }
.twin-section .section-head { max-width: 760px; }
.twin-layout { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: 48px; }
.twin-steps { list-style: none; margin: 0; padding: 0 0 26vh; }
.twin-step {
  position: relative;
  min-height: 46vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 30px;
  border-left: 1px solid var(--line);
  opacity: .3;
  transition: opacity .5s var(--ease);
}
.twin-step::before {
  content: "";
  position: absolute;
  left: -2px;
  top: 50%;
  width: 3px;
  height: 0;
  border-radius: 3px;
  background: var(--blue-400);
  transform: translateY(-50%);
  transition: height .5s var(--ease);
}
.twin-step.is-active { opacity: 1; }
.twin-step.is-active::before { height: 120px; box-shadow: 0 0 16px rgba(90, 164, 255, .8); }
.ts-num { font-family: var(--font-mono); font-size: 13px; color: var(--accent); }
.twin-step h3 { margin: 8px 0 10px; font-size: clamp(26px, 2.5vw, 38px); letter-spacing: -.035em; }
.ts-items { margin: 0; font-size: 18px; color: var(--fg-2); }
.ts-note { margin: 14px 0 0; font-family: var(--font-mono); font-size: 12.5px; color: var(--amber-300); letter-spacing: .02em; }
.twin-sticky { position: relative; }
.twin {
  position: sticky;
  top: calc(var(--header-h) + 4vh);
  height: min(calc(100vh - var(--header-h) - 12vh), 720px);
  margin: 0;
  border-radius: 26px;
  border: 1px solid var(--line);
  background:
    radial-gradient(70% 60% at 50% 62%, rgba(47, 123, 255, .14), transparent 70%),
    linear-gradient(180deg, #081322, #060e19);
  overflow: hidden;
}
.twin-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.twin-tags { list-style: none; margin: 0; padding: 0; }
.twin-tags li {
  position: absolute;
  z-index: 2;
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(8, 20, 35, .8);
  border: 1px solid rgba(120, 180, 255, .28);
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: #d6e6f7;
  white-space: nowrap;
  transform: translate(-50%, -50%) scale(.96);
  opacity: 0;
  transition: opacity .5s var(--ease), transform .5s var(--ease);
  pointer-events: none;
}
.twin-tags li[data-tag="parcel"] { border-color: rgba(255, 181, 71, .5); color: var(--amber-300); }
.twin-tags li.live { color: #bfe8ff; border-color: rgba(56, 189, 248, .45); }
.twin-tags li.layer { font-family: var(--font-sans); font-size: 12.5px; font-weight: 700; color: #fff; background: rgba(47, 123, 255, .22); border-color: rgba(140, 194, 255, .55); }
.twin.s1 [data-min="1"], .twin.s2 [data-min="2"], .twin.s3 [data-min="3"], .twin.s4 [data-min="4"], .twin.s5 [data-min="5"] { opacity: 1; transform: translate(-50%, -50%); }
.twin.s3 [data-tag="parcel"], .twin.s4 [data-tag="height"] { opacity: 0 !important; }
.twin-progress { position: absolute; left: 22px; bottom: 20px; display: flex; gap: 6px; }
.twin-progress span { width: 22px; height: 3px; border-radius: 3px; background: rgba(148, 190, 235, .2); transition: background .4s; }
.twin.s1 .twin-progress span:nth-child(1), .twin.s2 .twin-progress span:nth-child(2), .twin.s3 .twin-progress span:nth-child(3), .twin.s4 .twin-progress span:nth-child(4), .twin.s5 .twin-progress span:nth-child(5) { background: var(--blue-400); }
.twin-statement { margin: clamp(48px, 6vw, 88px) 0 0; font-size: clamp(32px, 4.6vw, 68px); font-weight: 700; letter-spacing: -.045em; line-height: 1.05; }
.twin-statement span { display: inline-block; margin-right: .18em; }

/* Twin stage groups */
.tw-g { opacity: 0; transition: opacity .8s var(--ease); }
.twin.s1 .tw-1, .twin.s2 .tw-2, .twin.s3 .tw-3, .twin.s4 .tw-4, .twin.s5 .tw-5 { opacity: 1; }
.twin.s5 .tw-wire-only { opacity: 0; }
.tw-grid { stroke: rgba(90, 164, 255, .09); stroke-width: 1; vector-effect: non-scaling-stroke; }
.tw-parcel { fill: rgba(255, 181, 71, .06); stroke: var(--amber-400); stroke-width: 1.6; stroke-dasharray: 6 5; vector-effect: non-scaling-stroke; }
.tw-parcel-n { fill: none; stroke: rgba(255, 181, 71, .3); stroke-width: 1; stroke-dasharray: 3 5; vector-effect: non-scaling-stroke; }
.tw-road { fill: rgba(148, 190, 235, .05); stroke: rgba(148, 190, 235, .18); stroke-width: 1; vector-effect: non-scaling-stroke; }
.tw-road-mark { stroke: rgba(148, 190, 235, .25); stroke-width: 1; stroke-dasharray: 6 8; vector-effect: non-scaling-stroke; }
.tw-dim { stroke: rgba(191, 224, 255, .6); stroke-width: 1; vector-effect: non-scaling-stroke; }
.tw-dim, .tw-lead-parcel, .tw-lead-height { transition: opacity .5s var(--ease); }
.twin.s3 .tw-lead-parcel, .twin.s4 .tw-dim, .twin.s4 .tw-lead-height { opacity: 0; }
.tw-riser-w { stroke: #38bdf8; stroke-width: 2.4; vector-effect: non-scaling-stroke; }
.tw-riser-h { stroke: #f26b3a; stroke-width: 2.4; vector-effect: non-scaling-stroke; }
.tw-riser-e { stroke: #ffd58a; stroke-width: 1.6; stroke-dasharray: 4 3; vector-effect: non-scaling-stroke; }
.tw-sensor { fill: #bfe8ff; }
.tw-sensor-ring { fill: none; stroke: #7dd3fc; stroke-width: 1.2; vector-effect: non-scaling-stroke; transform-box: fill-box; transform-origin: center; animation: ping 2.6s var(--ease) infinite; }

/* Isometric building (shared) */
.bld-face-l { fill: url(#bld-night-l); }
.bld-face-r { fill: url(#bld-night-r); }
.bld-top { fill: #1b3452; }
.bld-edge { fill: none; stroke: rgba(140, 194, 255, .28); stroke-width: 1; vector-effect: non-scaling-stroke; }
.bld-slab { stroke: rgba(160, 200, 240, .16); stroke-width: 1; vector-effect: non-scaling-stroke; }
.bld-bal-top { fill: #2a4462; }
.bld-bal-front { fill: #152a44; }
.bld-bal-glass { fill: rgba(170, 210, 255, .07); stroke: rgba(190, 220, 255, .22); stroke-width: .8; vector-effect: non-scaling-stroke; }
.win { fill: #0a1624; }
.win.warm { fill: #ffc878; fill-opacity: var(--o, .8); }
.win.cool { fill: #d2e6ff; fill-opacity: var(--o, .5); }
.win.retail { fill: #ffd9a0; fill-opacity: .85; }
.bld-solar { fill: #16335c; stroke: rgba(140, 194, 255, .55); stroke-width: .8; vector-effect: non-scaling-stroke; }
.bld-hvac { fill: #213a58; stroke: rgba(140, 194, 255, .4); stroke-width: .8; vector-effect: non-scaling-stroke; }

.wire-face { fill: rgba(47, 123, 255, .045); }
.wire-edge { fill: none; stroke: rgba(140, 194, 255, .9); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.wire-hidden { fill: none; stroke: rgba(140, 194, 255, .28); stroke-width: 1; stroke-dasharray: 3 4; vector-effect: non-scaling-stroke; }
.wire-floor { stroke: rgba(90, 164, 255, .38); stroke-width: 1; vector-effect: non-scaling-stroke; }
.wire-win { fill: none; stroke: rgba(90, 164, 255, .16); stroke-width: .8; vector-effect: non-scaling-stroke; }
.wire-box { fill: rgba(47, 123, 255, .08); stroke: rgba(140, 194, 255, .7); stroke-width: 1; vector-effect: non-scaling-stroke; }
.wire-plate { fill: rgba(47, 123, 255, .025); stroke: rgba(90, 164, 255, .14); stroke-width: .8; vector-effect: non-scaling-stroke; }

.ghost-edge { fill: none; stroke: #9aa9b9; stroke-width: 1.3; stroke-dasharray: 5 5; vector-effect: non-scaling-stroke; }
.ghost-floor { stroke: #c3cdd8; stroke-width: 1; stroke-dasharray: 3 6; vector-effect: non-scaling-stroke; }
.ghost-face { fill: rgba(255, 255, 255, .5); }

.day-face-l { fill: #d7e0ea; }
.day-face-r { fill: #edf2f7; }
.day-top { fill: #ffffff; }
.day-edge { fill: none; stroke: #b2c1d1; stroke-width: 1; vector-effect: non-scaling-stroke; }
.day-win { fill: #9fb7d2; }
.day-win-l { fill: #8aa6c6; }
.day-slab { stroke: rgba(255, 255, 255, .9); stroke-width: 1.2; vector-effect: non-scaling-stroke; }

/* Hero scene specifics */
.hs-grid { stroke: rgba(90, 164, 255, .11); stroke-width: 1; vector-effect: non-scaling-stroke; }
.hs-scan { fill: url(#hs-scan-fill); stroke: rgba(160, 210, 255, .95); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.hs-scan-glow { fill: none; stroke: rgba(90, 164, 255, .55); stroke-width: 6; vector-effect: non-scaling-stroke; filter: url(#hs-blur); }
.hs-lead { fill: none; stroke: rgba(140, 194, 255, .45); stroke-width: 1; vector-effect: non-scaling-stroke; }
.hs-lead-flow { fill: none; stroke: rgba(210, 232, 255, .95); stroke-width: 1.4; stroke-dasharray: 2 14; vector-effect: non-scaling-stroke; animation: dashflow 2.4s linear infinite; }
.hs-node { fill: #cfe6ff; }
.hs-node-halo { fill: rgba(90, 164, 255, .28); transform-box: fill-box; transform-origin: center; animation: breathe 3.2s ease-in-out infinite; }
.hs-ai-ring { fill: none; stroke: rgba(140, 194, 255, .5); stroke-width: 1; vector-effect: non-scaling-stroke; transform-box: fill-box; transform-origin: center; animation: breathe 4s ease-in-out infinite; }
.hs-ai-core { fill: url(#hs-ai-grad); }
.hs-ai-link { stroke: rgba(140, 194, 255, .45); stroke-width: 1; stroke-dasharray: 2 4; vector-effect: non-scaling-stroke; }
@keyframes breathe { 0%, 100% { transform: scale(.8); opacity: .6; } 50% { transform: scale(1.25); opacity: 1; } }

/* ==========================================================================
   10 — People + building
   ========================================================================== */
.people { padding: var(--section-y) 0; }
.connections { list-style: none; margin: 0 0 36px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.connections li { display: inline-flex; align-items: center; gap: 9px; padding: 9px 15px 9px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-2); font-size: 14px; font-weight: 650; color: var(--fg-2); }
.connections .ico { width: 17px; height: 17px; color: var(--accent); }
.lanes-wrap { border: 1px solid var(--line); border-radius: 24px; padding: 22px 24px 26px; background: linear-gradient(180deg, #fbfcfd, #f4f6f9); }
.lanes-head { margin-bottom: 16px; }
.lanes-title { display: flex; align-items: center; gap: 12px; margin: 0; font-weight: 700; font-size: 16px; letter-spacing: -.01em; }
.lanes-flag { padding: 4px 9px; border-radius: 6px; background: #fdecec; color: #c2410c; font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.lanes {
  position: relative;
  display: grid;
  grid-template-columns: 152px repeat(8, minmax(0, 1fr));
  grid-template-rows: repeat(4, 132px);
  column-gap: 10px;
  background-image: linear-gradient(var(--line) 1px, transparent 1px);
  background-size: 100% 132px;
}
.lane-label { grid-column: 1; grid-row: var(--row); display: flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 700; color: var(--fg-2); }
.lane-label .ico { width: 18px; height: 18px; color: var(--accent); }
.lane-steps { grid-column: 2 / -1; grid-row: 1 / -1; display: grid; grid-template-columns: subgrid; grid-template-rows: subgrid; list-style: none; margin: 0; padding: 0; }
.lane-card {
  position: relative;
  z-index: 1;
  grid-row: var(--row);
  grid-column: var(--col);
  align-self: center;
  padding: 10px 11px 11px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 10px 22px -18px rgba(10, 20, 34, .45);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
  transition-delay: calc(var(--col) * 180ms);
}
.lanes-wrap.visible .lane-card { opacity: 1; transform: none; }
.lane-who { display: none; }
.lane-card time { font-family: var(--font-mono); font-size: 11.5px; color: var(--accent); }
.lane-card b { display: block; margin: 3px 0 3px; font-size: 13.5px; line-height: 1.25; letter-spacing: -.01em; }
.lane-card > span:not(.lane-who) { display: block; font-size: 12px; line-height: 1.35; color: var(--fg-muted); }
.lane-msg { background: #eef5ff; border-color: #cfe0fb; }
.lane-last { background: var(--ink); border-color: var(--ink); color: #fff; }
.lane-last time { color: var(--blue-300); }
.lane-last > span:not(.lane-who) { color: #b9c6d6; }
.lanes-links { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; opacity: 0; transition: opacity .8s var(--ease) 1.5s; }
.lanes-wrap.visible .lanes-links { opacity: 1; }
.lanes-links path { fill: none; stroke: rgba(28, 98, 230, .45); stroke-width: 1.4; stroke-dasharray: 4 4; }
.lanes-links circle { fill: var(--blue-600); }

/* ==========================================================================
   11 — Resident experience
   ========================================================================== */
.residents { padding: var(--section-y) 0; overflow: hidden; }
.residents::before { content: ""; position: absolute; left: 50%; top: 42%; width: 900px; height: 700px; transform: translate(-50%, 0); background: radial-gradient(closest-side, rgba(255, 190, 110, .2), transparent); pointer-events: none; }
.residents h2 { max-width: 15ch; }
.res-layout { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; }
.res-features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.res-features li {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid #ebe4d9;
  background: rgba(255, 255, 255, .72);
  transition: background .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.res-features li:hover, .res-features li.is-hot { background: #fff; border-color: #d7cbb9; transform: translateY(-2px); box-shadow: 0 16px 30px -22px rgba(80, 50, 10, .4); }
.res-features li > .ico { width: 46px; height: 46px; padding: 12px; border-radius: 13px; background: #fff; color: var(--blue-600); box-shadow: 0 6px 16px -10px rgba(10, 20, 34, .35); }
.res-features h3 { margin: 2px 0 4px; font-size: 16.5px; letter-spacing: -.02em; }
.res-features p { margin: 0; font-size: 14px; line-height: 1.45; color: var(--fg-muted); }
.phone-stage { position: relative; padding: 24px 0 24px 252px; }
.phone {
  position: relative;
  width: 300px;
  height: 624px;
  padding: 10px;
  border-radius: 48px;
  background: linear-gradient(160deg, #1b2533, #0b121c);
  box-shadow: 0 60px 100px -40px rgba(40, 30, 20, .55), 0 0 0 1.5px #2e3a4a inset, 0 0 0 6px rgba(255, 255, 255, .5);
}
.ph-screen { position: relative; height: 100%; display: flex; flex-direction: column; overflow: hidden; border-radius: 39px; background: #f3f5f8; color: var(--ink); padding: 12px 14px 0; }
.ph-status { display: flex; justify-content: space-between; align-items: center; padding: 2px 10px 8px; font-size: 12px; font-weight: 700; }
.ph-sig { display: flex; gap: 2px; align-items: flex-end; }
.ph-sig i { width: 3px; background: var(--ink); border-radius: 1px; }
.ph-sig i:nth-child(1) { height: 5px; } .ph-sig i:nth-child(2) { height: 7px; } .ph-sig i:nth-child(3) { height: 9px; }
.ph-top { display: flex; justify-content: space-between; align-items: flex-start; padding: 4px 4px 10px; }
.ph-h { margin: 0; font-size: 21px; font-weight: 800; letter-spacing: -.03em; }
.ph-sub { margin: 0; font-size: 12px; color: var(--fg-muted); font-weight: 600; }
.ph-bell { position: relative; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(10, 20, 34, .08); }
.ph-bell .ico { width: 17px; height: 17px; }
.ph-bell i { position: absolute; top: 7px; right: 8px; width: 7px; height: 7px; border-radius: 50%; background: #ef4444; border: 1.5px solid #fff; }
.ph-apt { position: relative; height: 118px; border-radius: 16px; overflow: hidden; background: linear-gradient(160deg, #cfe2f6 0%, #eef4fa 60%, #f8e9d6 100%); }
.ph-apt-art { position: absolute; right: -6px; bottom: -14px; width: 70%; height: auto; }
.ph-apt p { position: absolute; left: 12px; bottom: 10px; margin: 0; display: grid; font-size: 12px; color: var(--fg-2); }
.ph-apt p b { font-size: 15px; color: var(--ink); letter-spacing: -.02em; }
.ph-balance { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; padding: 12px 14px; border-radius: 16px; background: #fff; box-shadow: 0 4px 14px -8px rgba(10, 20, 34, .25); }
.ph-mini { margin: 0; font-size: 10.5px; color: var(--fg-muted); font-weight: 600; }
.ph-amount { margin: 1px 0; font-size: 22px; font-weight: 800; letter-spacing: -.03em; }
.ph-pay { padding: 8px 16px; border-radius: 10px; background: var(--blue-600); color: #fff; font-size: 13px; font-weight: 700; }
.ph-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.ph-grid span { position: relative; display: grid; justify-items: center; gap: 5px; padding: 11px 4px 9px; border-radius: 14px; background: #fff; font-size: 10.5px; font-weight: 700; text-align: center; line-height: 1.2; box-shadow: 0 2px 8px -6px rgba(10, 20, 34, .3); transition: box-shadow .25s, transform .25s var(--ease); }
.ph-grid .ico { width: 20px; height: 20px; color: var(--blue-600); }
.ph-badge { position: absolute; top: 6px; right: 14px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: #ef4444; color: #fff; font-size: 10px; font-style: normal; line-height: 16px; }
.ph-nav { display: flex; justify-content: space-around; margin-top: auto; padding: 10px 0 18px; border-top: 1px solid #e3e8ee; background: #fff; margin-inline: -14px; }
.ph-nav span { display: grid; justify-items: center; gap: 3px; font-size: 9.5px; font-weight: 700; color: var(--fg-dim); }
.ph-nav span.on { color: var(--blue-600); }
.ph-nav .ico { width: 18px; height: 18px; }
[data-part].is-hot { box-shadow: 0 0 0 2px var(--blue-500), 0 8px 20px -8px rgba(47, 123, 255, .6) !important; transform: translateY(-1px); }
.ph-apt.is-hot, .ph-balance.is-hot { transform: none; }
.toast {
  position: absolute;
  z-index: 3;
  width: 232px;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 10px;
  padding: 11px 12px;
  border-radius: 15px;
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid #ebe4d9;
  box-shadow: 0 20px 40px -22px rgba(60, 40, 10, .5);
  color: var(--ink);
  font-size: 12px;
  line-height: 1.35;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.toast .ico { width: 32px; height: 32px; padding: 7px; border-radius: 10px; background: #eef5ff; color: var(--blue-600); }
.toast b { display: block; font-size: 12.5px; }
.toast span { color: var(--fg-muted); }
.toast-1 { left: 0; top: 78px; }
.toast-2 { left: 30px; top: 276px; }
.toast-3 { left: 0; top: 474px; }
.phone-stage.visible .toast { opacity: 1; transform: none; }
.phone-stage.visible .toast-2 { transition-delay: .35s; }
.phone-stage.visible .toast-3 { transition-delay: .7s; }

/* ==========================================================================
   12 — Property management
   ========================================================================== */
.operators { padding: var(--section-y) 0; overflow: hidden; }
.operators::before { content: ""; position: absolute; left: 50%; top: 32%; width: 1300px; height: 700px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(47, 123, 255, .16), transparent); pointer-events: none; }
.operators .wrap { position: relative; }
.workspace {
  display: grid;
  grid-template-columns: 212px minmax(0, 1fr);
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 70px 130px -50px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .08);
  --fg: var(--ink);
  --fg-2: #293646;
  --line: #e3e8ee;
  --fg-muted: #586577;
  --fg-dim: #7f8d9e;
}
.wk-side { display: flex; flex-direction: column; gap: 14px; padding: 18px 12px; background: #0b1624; color: #aebdcd; --logo-top: var(--blue-400); }
.wk-brand { display: flex; align-items: center; gap: 9px; margin: 2px 8px 6px; font-weight: 800; font-size: 15px; color: #fff; }
.wk-brand .brand-mark { width: 22px; height: 22px; color: #fff; }
.wk-side ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.wk-side li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; font-size: 13px; font-weight: 600; }
.wk-side li .ico { width: 16px; height: 16px; }
.wk-side li.on { background: rgba(90, 164, 255, .15); color: #fff; }
.wk-user { display: flex; align-items: center; gap: 10px; margin: auto 0 0; padding: 12px 8px 2px; border-top: 1px solid rgba(148, 190, 235, .12); font-size: 11.5px; }
.wk-user b { display: block; font-size: 12.5px; color: #fff; }
.wk-avatar { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, #f5b56b, #d97745); color: #fff; font-size: 11px; font-weight: 800; }
.wk-main { min-width: 0; padding: 20px 22px 22px; }
.wk-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.wk-h { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -.03em; }
.wk-tabs { display: flex; gap: 6px; margin: 0; }
.wk-tabs span { padding: 6px 10px; border-radius: 8px; font-size: 12.5px; font-weight: 600; color: var(--fg-muted); }
.wk-tabs span.on { background: #eef4ff; color: var(--blue-600); }
.wk-tabs i { font-style: normal; font-size: 11px; margin-left: 3px; padding: 1px 6px; border-radius: 6px; background: rgba(10, 20, 34, .06); }
.wk-kpis { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin: 16px 0; }
.wk-kpis p { margin: 0; padding: 10px 12px; border-radius: 11px; border: 1px solid var(--line); font-size: 11.5px; font-weight: 600; color: var(--fg-muted); }
.wk-kpis b { display: block; font-size: 21px; font-weight: 800; letter-spacing: -.03em; color: var(--ink); }
.wk-kpis .crit b { color: #d13438; }
.wk-table { border: 1px solid var(--line); border-radius: 13px; overflow: hidden; }
.wk-tr { display: grid; grid-template-columns: 2fr 1fr .6fr .9fr .8fr 1.3fr 1.25fr; gap: 10px; align-items: center; padding: 9px 14px; border-top: 1px solid var(--line); font-size: 12.5px; font-weight: 600; color: var(--fg-2); }
.wk-th { border-top: 0; background: #f7f9fb; font-size: 11px; color: var(--fg-muted); }
.wk-tr.sel { background: #f1f6ff; box-shadow: inset 3px 0 0 var(--blue-500); }
.wk-b { display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 10px; align-items: center; }
.wk-b b { font-size: 13px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wk-b em { font-style: normal; font-size: 11px; color: var(--fg-dim); }
.wk-th-img { grid-row: span 2; width: 34px; height: 34px; border-radius: 9px; background: linear-gradient(180deg, #cfdef0 0 45%, #9fb7d2 45% 100%); position: relative; overflow: hidden; }
.wk-th-img::after { content: ""; position: absolute; left: 9px; bottom: 0; width: 16px; height: 24px; background: repeating-linear-gradient(0deg, #f7fafc 0 3px, #7f9bbd 3px 5px); border-radius: 2px 2px 0 0; }
.wk-spark { display: flex; align-items: flex-end; gap: 2px; height: 22px; }
.wk-spark i { flex: 1; min-width: 2px; border-radius: 1px; background: #8fb6ea; }
.st { display: inline-block; padding: 3px 8px; border-radius: 999px; font-style: normal; font-size: 11px; font-weight: 700; white-space: nowrap; }
.st-ok { background: #e3f6ee; color: #0f7a55; }
.st-crit { background: #fdeaea; color: #c62828; }
.st-warn { background: #fff2dc; color: #a15c00; }
.st-info { background: #e8f1ff; color: #1c62e6; }
.ops-foot { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 56px; margin-top: 64px; }
.mini-h { margin: 0 0 16px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-muted); }
.areas { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
.areas li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 650; font-size: 15px; color: var(--fg-2); }
.areas .ico { width: 19px; height: 19px; color: var(--accent); }
.drill { list-style: none; margin: 0; padding: 0; position: relative; }
.drill::before { content: ""; position: absolute; left: 7px; top: 14px; bottom: 14px; width: 1px; background: var(--line-2); }
.drill li { position: relative; display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 14px; align-items: baseline; padding: 8px 0 8px 32px; transition: opacity .3s; }
.drill li::before { content: ""; position: absolute; left: 2px; top: 50%; width: 11px; height: 11px; margin-top: -5.5px; border-radius: 50%; background: var(--night-900); border: 1.5px solid var(--line-2); transition: background .3s, border-color .3s, box-shadow .3s; }
.drill li b { font-size: 16px; letter-spacing: -.01em; color: var(--fg-2); transition: color .3s; }
.drill li span { font-family: var(--font-mono); font-size: 12.5px; color: var(--fg-dim); transition: color .3s; }
.drill li.is-on::before { background: var(--blue-400); border-color: var(--blue-400); box-shadow: 0 0 0 5px rgba(90, 164, 255, .18); }
.drill li.is-on b { color: #fff; }
.drill li.is-on span { color: var(--blue-300); }
.drill li.is-past::before { background: rgba(90, 164, 255, .45); border-color: transparent; }
.drill-closing { margin: 24px 0 0; font-size: clamp(22px, 2.2vw, 30px); font-weight: 700; letter-spacing: -.03em; line-height: 1.15; }

/* ==========================================================================
   13 — Interfaces
   ========================================================================== */
.interfaces { padding: var(--section-y) 0; overflow: hidden; }
.interfaces h2 { max-width: 15ch; }
.triple { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; margin: 24px 0 14px; font-family: var(--font-mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-2); }
.triple span { display: inline-flex; align-items: center; gap: 9px; }
.triple span::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--blue-500); transform: rotate(45deg); }
.ifaces { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, 330px) minmax(0, 1fr); grid-template-rows: repeat(3, auto); gap: 18px 60px; align-items: center; }
.iface {
  position: relative;
  grid-row: var(--i);
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 16px;
  align-items: center;
  padding: 16px 18px 16px 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 16px 34px -28px rgba(10, 20, 34, .45);
}
.iface[data-side="l"] { grid-column: 1; }
.iface[data-side="r"] { grid-column: 3; }
.iface::after { content: ""; position: absolute; top: 50%; width: 60px; height: 1px; background-image: linear-gradient(90deg, var(--blue-500) 50%, transparent 50%); background-size: 8px 1px; }
.iface[data-side="l"]::after { left: 100%; }
.iface[data-side="r"]::after { right: 100%; }
.iface::before { content: ""; position: absolute; top: 50%; width: 7px; height: 7px; margin-top: -3px; border-radius: 50%; background: var(--blue-500); }
.iface[data-side="l"]::before { right: -4px; }
.iface[data-side="r"]::before { left: -4px; }
.iface h3 { display: flex; align-items: center; gap: 8px; align-self: end; font-size: 16.5px; letter-spacing: -.02em; }
.iface h3 .ico { width: 18px; height: 18px; color: var(--accent); }
.iface p { align-self: start; margin: 4px 0 0; font-size: 14px; line-height: 1.45; color: var(--fg-muted); }
.if-art { grid-row: span 2; position: relative; height: 70px; border-radius: 11px; border: 1px solid var(--line); background: #f4f7fa; overflow: hidden; }
.if-art i { position: absolute; display: block; }
.if-admin i:nth-child(1) { left: 0; top: 0; bottom: 0; width: 22px; background: #0b1624; }
.if-admin i:nth-child(2) { left: 30px; top: 9px; width: 34px; height: 5px; border-radius: 3px; background: #0a1422; }
.if-admin i:nth-child(3) { left: 30px; top: 22px; right: 8px; height: 16px; border-radius: 4px; background: linear-gradient(90deg, #dbe6f3 0 30%, transparent 30% 35%, #dbe6f3 35% 65%, transparent 65% 70%, #dbe6f3 70%); }
.if-admin i:nth-child(4) { left: 30px; top: 44px; right: 8px; bottom: 8px; border-radius: 4px; background: repeating-linear-gradient(180deg, #e6edf5 0 3px, transparent 3px 7px); }
.if-portal i:nth-child(1) { left: 8px; right: 8px; top: 8px; height: 26px; border-radius: 6px; background: linear-gradient(135deg, #cfe2f6, #f7e6cf); }
.if-portal i:nth-child(2) { left: 8px; top: 40px; width: 40px; height: 8px; border-radius: 3px; background: #0a1422; }
.if-portal i:nth-child(3) { right: 8px; top: 40px; width: 28px; height: 14px; border-radius: 4px; background: var(--blue-600); }
.if-mobile i:nth-child(1) { left: 50%; top: 6px; bottom: -10px; width: 42px; margin-left: -21px; border-radius: 9px; background: #0d1520; }
.if-mobile i:nth-child(2) { left: 50%; top: 10px; bottom: -6px; width: 36px; margin-left: -18px; border-radius: 6px; background: repeating-linear-gradient(180deg, #fff 0 9px, #eaf1f9 9px 12px); }
.if-wp i:nth-child(1) { left: 0; right: 0; top: 0; height: 12px; background: #e3e9f0; }
.if-wp i:nth-child(2) { left: 8px; top: 20px; width: 44px; height: 6px; border-radius: 3px; background: #0a1422; }
.if-wp i:nth-child(3) { left: 8px; right: 8px; top: 34px; bottom: 8px; border-radius: 6px; border: 1.5px dashed var(--blue-500); background: rgba(47, 123, 255, .07); }
.if-iot i:nth-child(1) { left: 12px; top: 18px; width: 22px; height: 34px; border-radius: 5px; background: #fff; border: 1px solid #b9c7d6; }
.if-iot i:nth-child(2) { left: 42px; top: 24px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--blue-500); }
.if-iot i:nth-child(3) { left: 70px; top: 14px; width: 22px; height: 40px; border-radius: 5px; background: #fff; border: 1px solid #b9c7d6; box-shadow: inset 0 -12px 0 #ffd58a; }
.if-api i { left: 10px; height: 6px; border-radius: 3px; background: #c8d5e3; }
.if-api i:nth-child(1) { top: 12px; width: 50px; background: var(--blue-500); }
.if-api i:nth-child(2) { top: 26px; width: 70px; left: 20px; }
.if-api i:nth-child(3) { top: 40px; width: 44px; left: 20px; }
.if-api i:nth-child(4) { top: 54px; width: 30px; }
.if-core { grid-column: 2; grid-row: 1 / 4; position: relative; text-align: center; padding: 10px 0; }
.if-core::before { content: ""; position: absolute; left: 50%; top: 42%; width: 360px; height: 360px; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(47, 123, 255, .18), transparent); pointer-events: none; }
.if-core-svg { position: relative; width: 100%; height: auto; overflow: visible; }
.if-core-name { position: relative; display: inline-flex; align-items: center; gap: 9px; margin: 6px 0 2px; font-size: 20px; font-weight: 800; letter-spacing: -.03em; }
.if-core-sub { position: relative; margin: 0; font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-muted); }

/* ==========================================================================
   14 — Integrations
   ========================================================================== */
.integrations { padding: var(--section-y) 0; overflow: hidden; }
.integrations::before { content: ""; position: absolute; left: 50%; top: 58%; width: 1400px; height: 420px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(47, 123, 255, .14), transparent); pointer-events: none; }
.integrations .wrap { position: relative; }
.bus { position: relative; }
.bus-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.bus-row li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 112px;
  padding: 18px 12px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(14, 30, 50, .7);
  text-align: center;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.3;
  transition: border-color .3s, background .3s, transform .3s var(--ease);
}
.bus-row li:hover { border-color: rgba(90, 164, 255, .55); background: rgba(20, 42, 70, .85); transform: translateY(-2px); }
.bus-row li .ico { width: 26px; height: 26px; color: var(--blue-300); }
.bus-top li::after, .bus-bottom li::before {
  content: "";
  position: absolute;
  left: 50%;
  width: 1px;
  height: 38px;
  background: linear-gradient(var(--c1, rgba(90, 164, 255, .1)), var(--c2, rgba(90, 164, 255, .75)));
}
.bus-top li::after { top: 100%; }
.bus-bottom li::before { bottom: 100%; --c1: rgba(90, 164, 255, .75); --c2: rgba(90, 164, 255, .1); }
.bus-line { position: relative; height: 76px; display: grid; place-items: center; }
.bus-line::before { content: ""; position: absolute; left: 4%; right: 4%; top: 50%; height: 2px; margin-top: -1px; background: linear-gradient(90deg, transparent, var(--blue-400) 15%, var(--blue-300) 50%, var(--blue-400) 85%, transparent); box-shadow: 0 0 18px rgba(90, 164, 255, .6); }
.bus-line::after { content: ""; position: absolute; top: 50%; left: 8%; width: 90px; height: 4px; margin-top: -2px; border-radius: 4px; background: linear-gradient(90deg, transparent, #fff, transparent); filter: drop-shadow(0 0 6px #8cc2ff); animation: busflow 5s var(--ease) infinite; }
@keyframes busflow { from { left: 6%; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } to { left: 88%; opacity: 0; } }
.bus-name { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 9px; padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(90, 164, 255, .45); background: var(--night-900); font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #dcecff; box-shadow: 0 0 30px rgba(47, 123, 255, .35); }
.bus-name .brand-mark { width: 18px; height: 18px; color: #fff; }
.statement-dark { max-width: 30ch; }

/* ==========================================================================
   15 — Start small, expand
   ========================================================================== */
.expand { padding: var(--section-y) 0; }
.steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 258px; height: 1px; background: var(--line-2); }
.step { position: relative; }
.step-art { position: relative; height: 258px; display: flex; align-items: flex-end; justify-content: center; }
.step-art svg { width: 86%; height: auto; max-height: 100%; overflow: visible; }
.step-art::after { content: ""; position: absolute; left: 0; bottom: -5px; width: 9px; height: 9px; border-radius: 50%; background: var(--paper); border: 2px solid var(--blue-500); }
.step-last .step-art::after { background: var(--blue-500); box-shadow: 0 0 0 5px rgba(47, 123, 255, .15); }
.step-num { margin: 26px 0 6px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.step h3 { margin: 0 0 6px; font-size: 30px; letter-spacing: -.04em; }
.step-lead { margin: 0 0 16px; font-size: 16px; color: var(--fg-muted); }
.step-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.step-tags li { padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 13px; font-weight: 650; color: var(--fg-2); }
.step-loop { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; counter-reset: loop; }
.step-loop li { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 650; color: var(--fg-2); }
.step-loop li::before { counter-increment: loop; content: counter(loop); width: 20px; height: 20px; flex: none; display: grid; place-items: center; border-radius: 50%; background: #fff; border: 1px solid var(--line-2); font-family: var(--font-mono); font-size: 10.5px; color: var(--accent); }
.step-loop li:last-child::after { content: "↺"; color: var(--amber-500); font-weight: 700; }

/* ==========================================================================
   16 — Why now
   ========================================================================== */
.why { padding: var(--section-y) 0; }
.why-title { font-size: clamp(56px, 8.4vw, 128px); letter-spacing: -.06em; line-height: .95; max-width: none; }
.why-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.why-list li { padding: 30px 28px 34px; border-left: 1px solid var(--line); }
.why-list li:first-child { padding-left: 0; border-left: 0; }
.why-num { font-family: var(--font-mono); font-size: 13px; color: var(--fg-dim); }
.why-list .ico { width: 30px; height: 30px; margin: 22px 0 18px; color: var(--blue-300); stroke-width: 1.4; }
.why-list li:nth-child(2) .ico { color: var(--amber-400); }
.why-list h3 { margin-bottom: 10px; font-size: 21px; letter-spacing: -.025em; line-height: 1.2; }
.why-list p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--fg-muted); }
.why-key { margin-top: clamp(56px, 7vw, 96px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.why-key p { margin: 0; font-size: clamp(32px, 4.5vw, 66px); line-height: 1.04; letter-spacing: -.045em; font-weight: 700; max-width: 27ch; }
.why-key-accent { padding-bottom: .1em; margin-top: 10px !important; background: linear-gradient(92deg, #a9d2ff, #5aa4ff 55%, #4f8dff); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ==========================================================================
   17 — Proof
   ========================================================================== */
.proof { padding: var(--section-y) 0; }
.proof-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); grid-template-areas: "copy map" "found found"; gap: 40px 56px; align-items: center; }
.proof-copy { grid-area: copy; }
.proof-copy h2 { max-width: 12ch; }
.proof-lead { margin: 26px 0 0; font-size: 20px; line-height: 1.5; color: var(--fg-muted); max-width: 30ch; }
.proof-lead strong { color: var(--fg); }
.proof-nums { display: flex; flex-wrap: wrap; gap: 20px 44px; margin-top: 40px; }
.proof-nums p { margin: 0; }
.proof-nums b { display: block; font-size: clamp(52px, 5.4vw, 84px); line-height: .95; font-weight: 800; letter-spacing: -.06em; }
.proof-nums p:first-child b { color: var(--accent); }
.proof-nums span { display: block; margin-top: 8px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-muted); }
.map { grid-area: map; position: relative; margin: 0; }
.map-svg { width: 100%; height: auto; overflow: visible; }
.map-land { stroke: #c9d3de; stroke-width: 2.1; stroke-linecap: round; fill: none; }
.map-hl { stroke: var(--blue-500); stroke-width: 2.8; stroke-linecap: round; fill: none; }
.map-hl-ua { stroke: #3d86ff; }
.map-glow { fill: rgba(47, 123, 255, .12); }
.map-pin { position: absolute; display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: 0 16px 30px -18px rgba(10, 20, 34, .45); font-weight: 700; font-size: 14px; white-space: nowrap; transform: translate(-50%, calc(-100% - 40px)); }
.map-pin b { display: grid; place-items: center; min-width: 38px; height: 38px; padding: 0 8px; border-radius: 10px; background: var(--blue-600); color: #fff; font-size: 20px; letter-spacing: -.03em; }
.map-pin::after { content: ""; position: absolute; left: 50%; top: 100%; width: 1px; height: 40px; background: var(--blue-600); }
.map-pin::before { content: ""; position: absolute; left: 50%; top: calc(100% + 40px); width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--blue-600); box-shadow: 0 0 0 5px rgba(28, 98, 230, .18); }
.map-pin[data-pin="ua"] { transform: translate(-50%, 40px); }
.map-pin[data-pin="ua"]::after { top: auto; bottom: 100%; }
.map-pin[data-pin="ua"]::before { top: auto; bottom: calc(100% + 40px); margin: 0 0 -5px -5px; }
.foundation { grid-area: found; padding-top: 12px; }
.found-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 32px; }
.found-list li { display: flex; align-items: center; gap: 12px; padding: 15px 0; border-bottom: 1px solid var(--line); font-weight: 650; font-size: 15.5px; color: var(--fg-2); }
.found-list li .ico { width: 19px; height: 19px; color: var(--accent); }
.found-list li::after { content: "✓"; margin-left: auto; width: 22px; height: 22px; flex: none; display: grid; place-items: center; border-radius: 50%; background: #e3f6ee; color: #0f7a55; font-size: 12px; font-weight: 800; }

/* ==========================================================================
   18 — Solutions
   ========================================================================== */
.solutions { padding: var(--section-y) 0; }
.solutions .section-head { margin-bottom: 40px; }
.tab-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.tab-list button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 17px 11px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: transparent;
  font-size: 15px;
  font-weight: 650;
  color: var(--fg-muted);
  cursor: pointer;
  transition: background .25s, color .25s, border-color .25s;
}
.tab-list button .ico { width: 18px; height: 18px; }
.tab-list button:hover { color: var(--fg); border-color: rgba(90, 164, 255, .5); }
.tab-list button[aria-selected="true"] { background: var(--blue-500); border-color: transparent; color: #fff; box-shadow: 0 12px 28px -14px rgba(47, 123, 255, .9); }
.tab-panel { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; min-height: 380px; }
.tab-panel[hidden] { display: none; }
.tab-panel.is-entering .tp-copy, .tab-panel.is-entering .tp-art { animation: panelIn .5s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.tp-copy h3 { margin-bottom: 24px; font-size: clamp(30px, 3.2vw, 46px); letter-spacing: -.04em; }
.tp-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
.tp-list li { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 17px; font-weight: 650; color: var(--fg-2); }
.tp-list li::before { content: ""; width: 8px; height: 8px; flex: none; border-radius: 2px; background: var(--blue-400); transform: rotate(45deg); }
.tp-art { position: relative; display: grid; place-items: center; min-height: 360px; padding: 36px; border-radius: 24px; border: 1px solid var(--line); background: radial-gradient(70% 70% at 50% 40%, rgba(47, 123, 255, .2), transparent 70%), rgba(10, 24, 40, .6); overflow: hidden; }
.tp-art::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(148, 190, 235, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(148, 190, 235, .06) 1px, transparent 1px); background-size: 28px 28px; }
.mini-card { position: relative; width: min(440px, 100%); padding: 18px 18px 16px; border-radius: 18px; background: #fff; color: var(--ink); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); --fg: var(--ink); --fg-2: #293646; --line: #e3e8ee; --fg-muted: #586577; }
.mc-h { margin: 0 0 14px; font-weight: 800; font-size: 15px; letter-spacing: -.02em; }
.mc-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
.mc-kpis span { padding: 9px 10px; border-radius: 10px; border: 1px solid var(--line); font-size: 11px; font-weight: 600; color: var(--fg-muted); line-height: 1.3; }
.mc-kpis b { display: block; font-size: 19px; font-weight: 800; letter-spacing: -.03em; color: var(--ink); }
.mc-kpis .crit b { color: #d13438; }
.mc-rows { list-style: none; margin: 0; padding: 0; }
.mc-rows li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 2px; border-top: 1px solid var(--line); font-size: 13px; font-weight: 650; }
.mc-rows li b { font-family: var(--font-mono); font-size: 12.5px; font-weight: 500; }
.mc-chart { width: 100%; height: 110px; margin-bottom: 12px; overflow: visible; }
.mc-check { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.mc-check li { position: relative; display: grid; gap: 2px; padding: 11px 12px 11px 42px; border-radius: 12px; border: 1px solid var(--line); font-size: 13.5px; font-weight: 700; }
.mc-check li span { font-family: var(--font-mono); font-size: 11.5px; font-weight: 500; color: var(--fg-muted); }
.mc-check li::before { content: ""; position: absolute; left: 12px; top: 50%; width: 20px; height: 20px; margin-top: -10px; border-radius: 50%; border: 1.5px dashed #b9c7d6; }
.mc-check li.done::before { content: "✓"; display: grid; place-items: center; border: 0; background: #e3f6ee; color: #0f7a55; font-size: 11px; font-weight: 800; }
.mc-balance { display: flex; align-items: center; gap: 12px; padding: 14px; margin-bottom: 10px; border-radius: 14px; background: #f3f6fa; font-size: 12px; font-weight: 600; color: var(--fg-muted); }
.mc-balance b { font-size: 22px; font-weight: 800; letter-spacing: -.03em; color: var(--ink); }
.mc-balance i { margin-left: auto; padding: 7px 14px; border-radius: 9px; background: var(--blue-600); color: #fff; font-style: normal; font-weight: 700; font-size: 12.5px; }
.mini-phone { width: min(360px, 100%); border-radius: 28px; border: 8px solid #111a26; }
.mc-line { fill: none; stroke: var(--blue-500); stroke-width: 2; vector-effect: non-scaling-stroke; }
.mc-area { fill: rgba(47, 123, 255, .1); }
.mc-bar { fill: #d2dde9; }
.mc-bar-hot { fill: var(--blue-500); }
.mc-grid { stroke: rgba(10, 20, 34, .07); stroke-width: 1; vector-effect: non-scaling-stroke; }
.mc-limit { stroke: #f26b3a; stroke-width: 1; stroke-dasharray: 4 4; vector-effect: non-scaling-stroke; }

/* ==========================================================================
   19 — Team
   ========================================================================== */
.team { padding: var(--section-y) 0; }
.team h2 { max-width: 19ch; }
.lineage { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.5fr) auto minmax(0, 1fr); gap: 12px; align-items: stretch; }
.team-nums { display: grid; margin-top: auto; padding-top: 18px; }
.team-nums p { margin: 0; padding: 12px 0; border-top: 1px solid var(--line-2); }
.team-nums b { display: block; font-size: clamp(30px, 2.6vw, 38px); line-height: 1; font-weight: 800; letter-spacing: -.045em; }
.team-nums span { display: block; margin-top: 5px; font-size: 13.5px; font-weight: 600; color: var(--fg-muted); }
.lin-art { width: 100%; height: 170px; margin: -4px 0 12px; overflow: visible; }
.lin-card { display: flex; flex-direction: column; padding: 24px; border-radius: 20px; border: 1px solid var(--line); background: var(--paper); }
.lin-kicker { margin: 0; font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-dim); }
.lin-name { display: flex; align-items: center; gap: 10px; margin: 10px 0 8px; font-size: 24px; font-weight: 800; letter-spacing: -.035em; line-height: 1.1; }
.lin-name .ico { width: 24px; height: 24px; color: #d9652b; }
.lin-desc { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--fg-muted); }
.lin-resto { background: #fff; box-shadow: 0 30px 60px -40px rgba(10, 20, 34, .4); }
.lin-areas { list-style: none; margin: 18px 0 0; padding: 0; flex: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(46px, 1fr); gap: 8px; }
.lin-areas li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #fcf8f4; border: 1px solid #f1e7dc; font-size: 13.5px; font-weight: 650; line-height: 1.25; color: var(--fg-2); }
.lin-areas .ico { width: 17px; height: 17px; color: #d9652b; }
.lin-unitmax { background: var(--night-900); border-color: var(--night-900); color: #f2f6fb; --logo-top: var(--blue-400); }
.lin-unitmax .lin-kicker { color: var(--blue-300); }
.lin-unitmax .lin-desc { color: #c3cfdc; font-size: 16px; font-weight: 600; margin-top: auto; }
.lin-unitmax .brand-mark { color: #fff; }
.lin-arrow { display: grid; place-items: center; color: var(--fg-dim); }
.lin-arrow .ico { width: 22px; height: 22px; }

/* ==========================================================================
   20 — Vision
   ========================================================================== */
.vision { position: relative; min-height: 100vh; padding: clamp(120px, 14vw, 200px) 0 0; overflow: hidden; display: flex; flex-direction: column; }
.vision-glow { position: absolute; inset: 0; background: radial-gradient(900px 520px at 72% 100%, rgba(47, 123, 255, .16), transparent 70%), radial-gradient(700px 300px at 72% 104%, rgba(255, 181, 71, .12), transparent 70%); opacity: .4; transition: opacity 2.4s var(--ease); }
.vision.is-lit .vision-glow { opacity: 1; }
.vision-inner { position: relative; z-index: 2; }
.vision-lines { display: flex; flex-direction: column; gap: 18px; font-size: clamp(30px, 4.3vw, 62px); line-height: 1.08; letter-spacing: -.045em; font-weight: 700; max-width: none; }
.vl { display: flex; align-items: center; gap: 22px; opacity: 0; transform: translateY(18px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.vl-ico { width: 60px; height: 60px; flex: none; display: grid; place-items: center; border-radius: 17px; border: 1px solid var(--line-2); color: var(--fg-muted); }
.vl-ico .ico { width: 26px; height: 26px; stroke-width: 1.4; }
.vision.is-in .vl:nth-child(1) { opacity: .5; transform: none; }
.vision.is-in .vl:nth-child(2) { opacity: .5; transform: none; transition-delay: .9s; }
.vision.is-in .vl:nth-child(3) { opacity: 1; transform: none; transition-delay: 1.8s; }
.vl-strong .vl-ico { color: var(--amber-400); border-color: rgba(255, 181, 71, .45); }
.vision-final {
  margin: clamp(48px, 6vw, 88px) 0 0;
  padding-bottom: .12em;
  font-size: clamp(52px, 7.6vw, 124px);
  line-height: .95;
  font-weight: 800;
  letter-spacing: -.06em;
  background: linear-gradient(92deg, #ffffff 0%, #bfe0ff 45%, #5aa4ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1.2s var(--ease) 2.9s, transform 1.2s var(--ease) 2.9s;
}
.vision.is-in .vision-final { opacity: 1; transform: none; }
.vision-scene { position: relative; z-index: 1; height: clamp(300px, 36vw, 520px); margin-top: -40px; pointer-events: none; }
.vision-svg { position: absolute; right: 2%; bottom: 0; width: min(62%, 780px); height: 100%; overflow: visible; }
.vision-svg .win.warm, .vision-svg .win.cool, .vision-svg .win.retail { fill-opacity: .04; transition: fill-opacity .7s var(--ease); transition-delay: calc(var(--f, 0) * 110ms + 400ms); }
.vision.is-lit .vision-svg .win.warm, .vision.is-lit .vision-svg .win.cool { fill-opacity: var(--o, .8); }
.vision.is-lit .vision-svg .win.retail { fill-opacity: .85; }
.vision-svg .v-wire { opacity: 0; transition: opacity 1.4s var(--ease) 1.6s; }
.vision.is-lit .vision-svg .v-wire { opacity: 1; }

/* ==========================================================================
   21 — CTA
   ========================================================================== */
.cta { padding: clamp(96px, 11vw, 150px) 0 clamp(96px, 11vw, 150px); border-top: 1px solid rgba(148, 190, 235, .08); background: radial-gradient(900px 500px at 20% 0%, rgba(47, 123, 255, .1), transparent 70%), var(--night-950); }
.cta-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; align-items: center; }
.cta h2 { font-size: clamp(36px, 4.6vw, 66px); max-width: 14ch; }
.cta-text { margin: 22px 0 0; font-size: 18px; line-height: 1.6; color: var(--fg-muted); max-width: 520px; }
.cta-text + .cta-text { margin-top: 12px; }
.cta-card { padding: 28px; border-radius: 24px; border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(47, 123, 255, .12), rgba(47, 123, 255, .02)); box-shadow: 0 40px 90px -50px rgba(47, 123, 255, .6); }
.cta-starts { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; }
.cta-starts li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .025); font-weight: 700; font-size: 16px; }
.cta-starts .ico { width: 20px; height: 20px; color: var(--blue-300); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-actions .btn { flex: 1 1 200px; }
.cta-small { margin: 18px 0 0; font-size: 13.5px; color: var(--fg-dim); }

/* ==========================================================================
   22 — Footer
   ========================================================================== */
.site-footer { padding: 72px 0 28px; background: #02050a; color: #c9d5e2; --fg: #f2f6fb; --logo-top: var(--blue-400); }
.footer-top { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2fr); gap: 48px; }
.footer-brand .brand { color: #fff; }
.footer-brand p { margin: 16px 0 0; max-width: 260px; font-size: 14.5px; color: #8596aa; }
.footer-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.fc-h { margin: 0 0 16px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: #6f8298; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer-cols a { font-size: 14.5px; color: #c9d5e2; transition: color .2s; }
.footer-cols a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 64px; padding-top: 22px; border-top: 1px solid rgba(148, 190, 235, .1); font-size: 13px; color: #6f8298; }
.footer-bottom p { margin: 0; }
.footer-legal a + a { margin-left: 22px; }
.footer-legal a:hover { color: #fff; }

/* ==========================================================================
   Reveal
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.visible { opacity: 1; transform: none; }
.problem-list li.reveal:nth-child(3n+2), .values li.reveal:nth-child(2), .why-list li.reveal:nth-child(2) { transition-delay: .1s; }
.problem-list li.reveal:nth-child(3n+3), .values li.reveal:nth-child(3), .why-list li.reveal:nth-child(3) { transition-delay: .2s; }
.values li.reveal:nth-child(4), .why-list li.reveal:nth-child(4) { transition-delay: .3s; }
.step.reveal { transition-delay: calc((var(--s) - 1) * 120ms); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1439px) {
  .lanes { grid-template-columns: 124px repeat(8, minmax(0, 1fr)); grid-template-rows: repeat(4, 156px); background-size: 100% 156px; column-gap: 8px; }
  .lane-card { padding: 9px 9px 10px; }
  .lane-card b { font-size: 12.5px; }
}

@media (max-width: 1279px) {
  :root { --gutter: 28px; }
  .header-link { display: none; }
  .ea-grid { grid-template-columns: 220px minmax(0, 1fr); }
  .ea-insights { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); }
  .ea-insights ul { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .arch-row { grid-template-columns: 200px minmax(180px, 250px) minmax(0, 1fr); gap: 22px; }
  .arch-stack::before { left: 100px; }
  .arch-stack::after { left: 97px; }
  .phone-stage { padding-left: 236px; }
  .toast { width: 220px; }
  .lineage { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.6fr); }
  .lineage .lin-arrow:nth-of-type(2) { display: none; }
  .lin-unitmax { grid-column: 1 / -1; display: grid; grid-template-columns: 150px minmax(0, 1fr); column-gap: 28px; align-content: center; }
  .lin-art { grid-row: 1 / span 3; width: 150px; height: 130px; margin: 0; }
  .lin-unitmax .lin-name { margin: 4px 0; }
  .lin-unitmax .lin-desc { margin-top: 0; }
}

@media (max-width: 1099px) {
  :root { --header-h: 66px; }
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin: 0;
    padding: 16px var(--gutter) 28px;
    background: rgba(6, 13, 23, .97);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(148, 190, 235, .12);
    color: #f2f6fb;
    bottom: 0;
    overflow-y: auto;
  }
  .site-header.is-open .main-nav { display: flex; }
  .site-header.is-open { background: rgba(6, 13, 23, .97); color: #f2f6fb; --fg: #f2f6fb; --logo-top: var(--blue-400); --line-2: rgba(148, 190, 235, .28); }
  .main-nav > a { padding: 14px 4px; font-size: 18px; border-bottom: 1px solid rgba(148, 190, 235, .1); border-radius: 0; opacity: .9; }
  .main-nav > a.is-active::after { left: auto; right: 8px; top: 50%; bottom: auto; margin: -2px 0 0; }
  .nav-panel-actions { display: grid; gap: 10px; margin-top: 18px; }
  .nav-panel-actions .btn { width: 100%; }
  .header-actions { margin-left: auto; }
  .menu-toggle { display: block; margin-left: 0; }

  .hero-scene { margin: 0 -20px 0 -12px; }
  .principle { gap: 12px; }

  .head-split { grid-template-columns: minmax(0, 1fr); align-items: start; gap: 24px; }
  .graph-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .g-label { font-size: 20px; }
  .graph-compare { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 14px; align-items: stretch; }
  .gc-context { margin-top: 0; }
  .core-grid { grid-template-columns: minmax(0, 1fr); }
  .drawing { max-width: 640px; margin: 0 auto; width: 100%; }
  .console-body { grid-template-columns: minmax(0, 1fr); }
  .console-plan { border-right: 0; border-bottom: 1px solid var(--line); }
  .flow { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 20px; }
  .flow::before, .flow::after { display: none; }
  .ea-grid { grid-template-columns: minmax(0, 1fr); }
  .ea-sources { border-right: 0; border-bottom: 1px solid var(--line); }
  .ea-sources ul { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ea-sources li::after { display: none; }
  .ea-total { margin-top: 0; grid-column: span 2; }
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .twin-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .twin-sticky { order: -1; position: sticky; top: var(--header-h); z-index: 3; padding: 10px 0 12px; background: var(--night-900); }
  .twin { position: relative; top: 0; height: 44vh; min-height: 300px; }
  .twin-steps { padding-bottom: 8vh; }
  .twin-step { min-height: 38vh; }

  .lanes { display: block; background: none; }
  .lane-label { display: none; }
  .lane-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .lane-card { grid-row: auto; grid-column: auto; transition-delay: calc(var(--col) * 90ms); }
  .lane-who { display: inline-block; margin-bottom: 6px; padding: 2px 7px; border-radius: 5px; background: var(--paper-2); font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-muted); }
  .lane-last .lane-who { background: rgba(255, 255, 255, .12); color: #cfe0f5; }
  .lanes-links { display: none; }

  .res-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .phone-stage { grid-row: 1; justify-self: center; padding: 8px 0 20px; }
  .toast { display: none; }

  .workspace { grid-template-columns: minmax(0, 1fr); }
  .wk-side { display: none; }
  .wk-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ops-foot { grid-template-columns: minmax(0, 1fr); gap: 48px; }

  .ifaces { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .if-core { grid-column: 1 / -1; grid-row: 1; max-width: 340px; margin: 0 auto 24px; }
  .iface[data-side="l"], .iface[data-side="r"] { grid-column: auto; grid-row: auto; }
  .iface::before, .iface::after { display: none; }

  .bus-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bus-top li:nth-child(-n+3)::after, .bus-bottom li:nth-child(n+4)::before { display: none; }

  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 56px; }
  .steps::before { display: none; }
  .step-art { border-bottom: 1px solid var(--line-2); }

  .why-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-list li:nth-child(3) { padding-left: 0; border-left: 0; }
  .why-list li:nth-child(n+3) { border-top: 1px solid var(--line); }

  .proof-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "map" "found"; }
  .found-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tab-panel { grid-template-columns: minmax(0, 1fr); gap: 32px; }

  .cta-inner { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .footer-top { grid-template-columns: minmax(0, 1fr); }
  .vision-svg { width: min(88%, 680px); right: 50%; transform: translateX(50%); }
}

@media (max-width: 899px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .hero h1 { max-width: 14ch; font-size: clamp(44px, 7.2vw, 72px); }
  .hero-scene { margin: 0 -8px; }
}

@media (max-width: 767px) {
  :root { --gutter: 20px; --header-h: 62px; }
  body { font-size: 15.5px; }
  .header-actions .btn-sm { display: none; }
  h2 { font-size: clamp(32px, 8.6vw, 44px); }
  .head-copy { font-size: 16.5px; }
  .eyebrow { font-size: 10.5px; letter-spacing: .08em; margin-bottom: 18px; }

  .hero { padding-top: calc(var(--header-h) + 36px); }
  .hero h1 { font-size: clamp(40px, 11.4vw, 56px); }
  .hero-lead { font-size: 17px; margin-top: 22px; }
  .hero-sub { font-size: 15px; }
  .hero-actions .btn-lg { flex: 1 1 100%; }
  .hero-actions .btn-text { padding: 0; }
  .proof-strip { font-size: 11px; }
  .hero-scene { margin: 6px -12px 0; }
  .scene-chip { padding: 4px 8px 4px 6px; font-size: 11px; gap: 4px; }
  .callouts li { font-size: 9.5px; letter-spacing: .05em; padding: 2px 5px; }
  .pl-hide-sm { display: none; }
  .twin-tags [data-tag="parcel"], .twin-tags [data-tag="height"], .twin-tags [data-tag="systems"] { display: none; }
  .tw-lead-parcel, .tw-lead-height, .tw-lead-systems { display: none; }
  .scene-chip .ico { width: 13px; height: 13px; }
  .principle { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; padding-top: 20px; margin-top: 20px; }
  .principle::before { top: 41px; left: 10%; right: 10%; }
  .principle::after { top: 40px; }
  .principle li { flex-direction: column; align-items: center; text-align: center; gap: 8px; }
  .pr-node { width: 40px; height: 40px; }
  .pr-name { font-size: 11.5px; line-height: 1.25; }
  .pr-desc { display: none; }

  .frag-stage { aspect-ratio: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 18px 14px 16px; }
  .frag-links { display: none; }
  .ghost { position: relative; left: auto; top: auto; transform: none; grid-column: 1 / -1; width: 58%; margin: 0 auto 48px; }
  .frag { position: relative; left: auto; top: auto; transform: none; width: auto; padding: 10px; column-gap: 9px; }
  .frag-ico { width: 30px; height: 30px; }
  .frag-name { font-size: 13px; }
  .frag-line { font-size: 10px; }
  .problem-list { grid-template-columns: minmax(0, 1fr); }
  .problem-list li { padding: 22px 0 24px; }
  .pl-top { margin-bottom: 12px; }

  .not-stack { margin: 30px 0 26px; }

  .graph-compare { grid-template-columns: minmax(0, 1fr); }
  .gc-card { padding: 18px; }
  .gc-story { font-size: 18px; }
  .graph { margin: 0 -12px; }
  .g-label { font-size: 31px; }
  .g-core-label { font-size: 28px; }
  .g-inst { display: none; }
  .pl-label { font-size: 30px; }
  .pl-label-sm { font-size: 20px; }
  .pl-alert { display: none; }

  .arch-stack::before, .arch-stack::after { display: none; }
  .arch-row { grid-template-columns: 92px minmax(0, 1fr); gap: 4px 14px; padding: 14px 14px 16px 6px; }
  .arch-slab { grid-row: span 2; padding: 0; align-self: start; }
  .arch-title h3 { font-size: 19px; }
  .arch-title p { font-size: 13.5px; }
  .tags { gap: 6px; }
  .tags li { font-size: 12px; padding: 5px 9px; }
  .tags-chain { gap: 6px 16px; }
  .tags-chain li:not(:last-child)::after { right: -13px; }

  .console-bar { flex-wrap: wrap; gap: 8px 12px; padding: 12px 14px; }
  .console-title { order: 3; width: 100%; }
  .console-plan, .console-facts { padding: 16px; }
  .incident-time { font-size: 18px; }
  .fact { grid-template-columns: minmax(0, 1fr); gap: 3px; padding: 9px 0; }
  .fact dd { text-align: left; padding-left: 27px; }
  .flow { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 16px 16px 18px; }
  .flow li { padding: 8px 0 8px 30px; }
  .flow-dot { top: 11px; }
  .flow-name, .flow-meta { display: inline; }
  .flow-meta { margin-left: 8px; }
  .chain { font-size: 19px; }
  .chain li:not(:last-child)::after { margin: 0 9px; }

  .ea-bar { flex-wrap: wrap; gap: 10px; padding: 12px 14px; }
  .ea-seg { order: 3; margin-left: 0; }
  .ea-live { margin-left: auto; }
  .ea-sources { padding: 14px; }
  .ea-sources ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 8px; }
  .ea-sources li { padding: 7px 4px; font-size: 12.5px; grid-template-columns: 18px minmax(0, 1fr); }
  .ea-sources li b { grid-column: 2; }
  .ea-total { grid-column: 1 / -1; padding: 9px 10px !important; }
  .ea-main { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 12px; gap: 10px; }
  .w-wide, .w-compare, .w-anom { grid-column: 1 / -1; }
  .w-num { font-size: 24px; }
  .w-chart { height: 150px; }
  .ea-insights { padding: 14px; }
  .ea-insights ul { grid-template-columns: minmax(0, 1fr); }
  .values { grid-template-columns: minmax(0, 1fr); }

  .twin { height: 40vh; min-height: 260px; border-radius: 20px; }
  .twin-tags li { font-size: 10px; padding: 3px 7px; }
  .twin-tags li.layer { font-size: 11px; }
  .twin-step { min-height: 42vh; padding-left: 20px; }
  .ts-items { font-size: 16px; }

  .lanes-wrap { padding: 16px 14px 18px; border-radius: 20px; }
  .lanes-title { flex-wrap: wrap; font-size: 15px; gap: 8px; }
  .lane-steps { grid-template-columns: minmax(0, 1fr); }

  .res-features { grid-template-columns: minmax(0, 1fr); }
  .phone-stage { padding: 12px 0 20px; }
  .phone { width: 280px; height: 584px; }
  .toast { display: none; }

  .wk-main { padding: 14px; }
  .wk-tabs { display: none; }
  .wk-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wk-tr { grid-template-columns: minmax(0, 1.35fr) .55fr minmax(0, 1.25fr); gap: 8px; padding: 9px 10px; }
  .wk-tr > span:nth-child(2), .wk-tr > span:nth-child(3), .wk-tr > span:nth-child(5), .wk-tr > span:nth-child(6) { display: none; }
  .areas { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
  .areas li { font-size: 14px; gap: 9px; }
  .drill li { grid-template-columns: 96px minmax(0, 1fr); }

  .ifaces { grid-template-columns: minmax(0, 1fr); }
  .iface { grid-template-columns: 84px minmax(0, 1fr); }
  .if-art { height: 60px; }

  .bus-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .bus-row li { min-height: 96px; font-size: 13px; }
  .bus-top li::after, .bus-bottom li::before { display: none; }
  .bus-top li:nth-child(n+5)::after, .bus-bottom li:nth-child(-n+2)::before { display: block; }
  .bus-name { font-size: 10.5px; padding: 7px 12px; }

  .steps { grid-template-columns: minmax(0, 1fr); row-gap: 48px; }
  .step-art { height: 210px; }

  .why-list { grid-template-columns: minmax(0, 1fr); }
  .why-list li { padding: 24px 0 26px !important; border-left: 0 !important; border-top: 1px solid var(--line); }
  .why-list li:first-child { border-top: 0; }

  .proof-nums { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0 22px; }
  .proof-nums b { font-size: 46px; }
  .proof-nums span { font-size: 10.5px; letter-spacing: .06em; }
  .found-list { grid-template-columns: minmax(0, 1fr); }
  .map-pin { font-size: 12.5px; padding: 6px 10px 6px 6px; }
  .map-pin b { min-width: 32px; height: 32px; font-size: 17px; }

  .tab-list { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 6px; scrollbar-width: none; }
  .tab-list::-webkit-scrollbar { display: none; }
  .tab-list button { flex: none; font-size: 14px; }
  .tp-list { grid-template-columns: minmax(0, 1fr); }
  .tp-art { padding: 20px 14px; min-height: 0; }

  .lin-unitmax { grid-template-columns: 110px minmax(0, 1fr); column-gap: 18px; }
  .lin-art { width: 110px; height: 100px; }
  .lineage { grid-template-columns: minmax(0, 1fr); }
  .lineage .lin-arrow { transform: rotate(90deg); padding: 2px 0; }
  .lineage .lin-arrow:nth-of-type(2) { display: grid; }
  .lin-areas { grid-auto-rows: auto; }
  .lin-areas li { padding: 10px; font-size: 13px; }

  .vision { min-height: 0; padding-top: 110px; }
  .vl { gap: 14px; }
  .vl-ico { width: 44px; height: 44px; border-radius: 13px; }
  .vl-ico .ico { width: 20px; height: 20px; }
  .vision-scene { height: 300px; margin-top: 10px; }
  .vision-svg { width: 100%; }

  .cta-card { padding: 20px; }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 400px) {
  :root { --gutter: 16px; }
  .hero h1 { font-size: 39px; }
  .frag-line { display: none; }
  .phone { transform: scale(.94); transform-origin: top center; margin-bottom: -36px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
}
