:root {
  --bg: #f5f8fc;
  --surface-app: #f6f8fb;
  --panel: #ffffff;
  --border: #d8e1ee;
  --heading: #061524;
  --text-main: #071426;
  --sidebar: #04162b;
  --active: #0b3e70;
  --tile-orbit: #071523;
  --tile-orbit-2: #0b263c;
  --tile-orbit-3: #04111f;
  --flow-blue: #2a96ff;
  --flow-cyan: #48c7c0;
  --flow-green: #8fda58;
  --muted: rgba(7, 20, 38, 0.66);
  --muted-on-dark: rgba(245, 248, 252, 0.7);
  --shadow: 0 24px 80px rgba(4, 22, 43, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-main);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--flow-cyan);
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  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: 16px;
  z-index: 100;
  transform: translateY(-200vh);
  background: var(--panel);
  color: var(--heading);
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 50;
  width: min(calc(100% - 48px), 1280px);
  display: grid;
  grid-template-columns: minmax(168px, auto) minmax(360px, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border: 1px solid rgba(241, 247, 255, 0.14);
  border-radius: 999px;
  background: rgba(4, 22, 43, 0.84);
  box-shadow:
    0 22px 80px rgba(4, 17, 31, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: translateX(-50%);
  backdrop-filter: blur(14px) saturate(1.08);
  -webkit-backdrop-filter: blur(14px) saturate(1.08);
  transition:
    background 240ms ease,
    box-shadow 240ms ease,
    border-color 240ms ease,
    transform 240ms ease;
}

.ios-nav.is-scrolled {
  border-color: rgba(241, 247, 255, 0.2);
  background: rgba(4, 22, 43, 0.92);
  box-shadow:
    0 26px 90px rgba(4, 17, 31, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: translateX(-50%) translateY(-3px);
}

.brand {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(241, 247, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  padding: 0 16px;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.brand:hover {
  border-color: rgba(72, 199, 192, 0.32);
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-1px);
}

.brand img {
  width: 154px;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-self: center;
  gap: 4px;
  width: fit-content;
  min-width: 0;
  border: 1px solid rgba(241, 247, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  padding: 4px;
  color: rgba(245, 248, 252, 0.72);
  font-size: 13px;
  font-weight: 800;
}

.nav-island a,
.nav-ghost,
.nav-cta {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  transition:
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.nav-island a {
  padding: 0 16px;
  color: rgba(241, 247, 255, 0.72);
}

.nav-island a:hover,
.nav-island a.is-active {
  color: var(--heading);
  background: rgba(241, 247, 255, 0.94);
  box-shadow: 0 8px 24px rgba(4, 17, 31, 0.18);
}

.nav-island a:focus-visible,
.nav-ghost:focus-visible,
.nav-cta:focus-visible,
.menu-button:focus-visible {
  outline: 3px solid rgba(72, 199, 192, 0.52);
  outline-offset: 3px;
}

.nav-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-ghost {
  border: 1px solid rgba(241, 247, 255, 0.12);
  background: rgba(255, 255, 255, 0.055);
  color: rgba(241, 247, 255, 0.78);
  font-size: 13px;
  font-weight: 900;
  padding: 0 14px;
}

.nav-ghost:hover,
.nav-ghost.is-active {
  border-color: rgba(72, 199, 192, 0.28);
  background: rgba(72, 199, 192, 0.12);
  color: var(--panel);
}

.nav-cta {
  border: 1px solid rgba(241, 247, 255, 0.7);
  background: var(--panel);
  color: var(--heading);
  box-shadow: 0 12px 32px rgba(42, 150, 255, 0.18);
  font-size: 13px;
  font-weight: 950;
  padding: 0 18px;
}

.nav-cta:hover,
.nav-cta.is-active {
  border-color: rgba(72, 199, 192, 0.72);
  background: linear-gradient(135deg, var(--flow-blue), var(--flow-cyan));
  color: var(--panel);
  transform: translateY(-1px);
}

.menu-button {
  display: none;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(241, 247, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--panel);
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
  transition:
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.menu-button:hover {
  border-color: rgba(72, 199, 192, 0.32);
  background: rgba(255, 255, 255, 0.11);
}

.menu-button span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  margin: 3px auto;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.menu-button[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.menu-button[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-button[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(520px, 0.78fr) minmax(0, 1.22fr);
  gap: 42px;
  align-items: center;
  padding: 132px 72px 72px;
  background: linear-gradient(135deg, var(--tile-orbit-3), var(--sidebar) 58%, var(--tile-orbit-2));
  color: var(--panel);
}

.hero-flow {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-flow::before,
.hero-flow::after {
  content: "";
  position: absolute;
  inset: -24%;
  opacity: 0.68;
  will-change: transform, opacity;
}

.hero-flow::before {
  background:
    linear-gradient(115deg, transparent 0 28%, rgba(42, 150, 255, 0.16) 29%, transparent 32% 52%, rgba(72, 199, 192, 0.13) 53%, transparent 56% 100%),
    repeating-linear-gradient(115deg, rgba(245, 248, 252, 0.05) 0 1px, transparent 1px 72px);
  transform: translate3d(-3%, 1%, 0) rotate(-2deg);
  animation: hero-flow-drift 22s ease-in-out infinite alternate;
}

.hero-flow::after {
  background:
    linear-gradient(90deg, transparent 0 18%, rgba(42, 150, 255, 0.18) 30%, transparent 44% 100%),
    linear-gradient(145deg, transparent 0 46%, rgba(72, 199, 192, 0.16) 50%, transparent 56% 100%),
    repeating-linear-gradient(90deg, transparent 0 118px, rgba(143, 218, 88, 0.08) 119px, transparent 121px);
  transform: translate3d(5%, -2%, 0) scale(1.04);
  animation: hero-flow-pulse 18s ease-in-out infinite alternate;
}

.hero-copy {
  position: relative;
  z-index: 1;
  grid-column: 1;
  min-width: 0;
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--flow-cyan);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--heading);
  font-family: Manrope, Inter, sans-serif;
  line-height: 1.04;
}

.hero h1 {
  color: var(--panel);
  font-size: 68px;
}

.hero-lead {
  max-width: 680px;
  margin: 26px 0 0;
  color: var(--muted-on-dark);
  font-size: 21px;
  line-height: 1.65;
}

.hero-actions {
  width: min(100%, 430px);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 14px 22px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--flow-blue);
  color: var(--panel);
}

.button.primary:hover {
  background: var(--active);
}

.button.secondary {
  color: var(--panel);
  border-color: rgba(245, 248, 252, 0.34);
}

.button.secondary:hover {
  border-color: var(--flow-cyan);
  color: var(--flow-cyan);
}

.channel-list {
  width: 100%;
  max-width: 430px;
  margin: 18px 0 0;
}

.channel-marquee {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(216, 225, 238, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.channel-symbols {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.channel-track {
  width: max-content;
  display: flex;
  gap: 0;
  padding: 10px 0;
  animation: channel-marquee 18s linear infinite;
}

.channel-marquee:hover .channel-track {
  animation-play-state: paused;
}

.channel-set {
  display: flex;
  gap: 12px;
  padding-left: 12px;
}

.channel-item {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(216, 225, 238, 0.16);
  border-radius: 999px;
  padding: 10px 18px 10px 14px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(245, 248, 252, 0.9);
  font-size: 15px;
  font-weight: 900;
  white-space: nowrap;
}

.channel-item svg {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  border: 1px solid rgba(216, 225, 238, 0.14);
  border-radius: 12px;
  padding: 7px;
  background: rgba(255, 255, 255, 0.055);
}

.channel-item.whatsapp svg {
  color: var(--flow-green);
}

.channel-item.email svg {
  color: var(--flow-blue);
}

.channel-item.webchat svg {
  color: var(--flow-cyan);
}

.channel-item.bot svg {
  color: var(--panel);
}

@keyframes channel-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes hero-flow-drift {
  from {
    transform: translate3d(-4%, 1%, 0) rotate(-2deg);
  }

  to {
    transform: translate3d(4%, -2%, 0) rotate(2deg);
  }
}

@keyframes hero-flow-pulse {
  from {
    opacity: 0.46;
    transform: translate3d(5%, -2%, 0) scale(1.02);
  }

  to {
    opacity: 0.78;
    transform: translate3d(-2%, 2%, 0) scale(1.08);
  }
}

@keyframes hero-video-glow {
  from {
    opacity: 0.52;
    transform: translate3d(-1.4%, 0, 0) scale(0.99);
  }

  to {
    opacity: 0.9;
    transform: translate3d(1.4%, 0, 0) scale(1.01);
  }
}

.hero-media {
  position: relative;
  z-index: 1;
  grid-column: 2;
  min-width: 0;
  width: 100%;
  border: 1px solid rgba(216, 225, 238, 0.34);
  border-radius: 16px;
  padding: 0;
  background: transparent;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.28);
  overflow: visible;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -1;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(42, 150, 255, 0.54), rgba(72, 199, 192, 0.36), rgba(143, 218, 88, 0.22), rgba(42, 150, 255, 0.4));
  opacity: 0.62;
  transform: translate3d(0, 0, 0);
  animation: hero-video-glow 4.8s ease-in-out infinite alternate;
}

.hero-media video {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  min-width: 0;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 15px;
  background: var(--tile-orbit);
}

.section {
  scroll-margin-top: 128px;
  padding: 112px 72px;
}

.story-module {
  display: grid;
  gap: 42px;
  background: linear-gradient(180deg, var(--surface-app) 0%, #f1f6fb 100%);
  border-bottom: 1px solid rgba(216, 225, 238, 0.8);
}

.story-module .section-heading {
  margin-bottom: 0;
}

.section-heading {
  max-width: 900px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-heading h2,
.flow-copy h2,
.human-copy h2 {
  font-size: 58px;
}

.section-heading p:not(.eyebrow),
.flow-copy p,
.human-copy > p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.intro-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  grid-auto-rows: 520px;
  gap: 36px;
}

.intro-card,
.module-card {
  min-height: 220px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--panel);
  box-shadow: 0 16px 50px rgba(4, 22, 43, 0.06);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.intro-card {
  position: relative;
  min-height: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: visible;
}

.module-card {
  padding: 28px;
  overflow: hidden;
}

.intro-card:hover,
.intro-card.is-open {
  border-color: rgba(42, 150, 255, 0.28);
  box-shadow: 0 20px 70px rgba(4, 22, 43, 0.1);
}

.intro-card:nth-child(1)::after,
.intro-card:nth-child(2)::after {
  content: "";
  position: absolute;
  top: 68px;
  right: -31px;
  z-index: 3;
  width: 44px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(42, 150, 255, 0.24), rgba(72, 199, 192, 0.86));
  opacity: 0.58;
  pointer-events: none;
  transition: opacity 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.intro-card:nth-child(1)::before,
.intro-card:nth-child(2)::before {
  content: "";
  position: absolute;
  top: 63px;
  right: -32px;
  z-index: 4;
  width: 10px;
  height: 10px;
  border-top: 2px solid rgba(72, 199, 192, 0.78);
  border-right: 2px solid rgba(72, 199, 192, 0.78);
  transform: rotate(45deg);
  pointer-events: none;
  transition: border-color 180ms ease, filter 180ms ease;
}

.intro-card.is-open:nth-child(1)::after,
.intro-card.is-open:nth-child(2)::after {
  background: linear-gradient(90deg, var(--flow-blue), var(--flow-cyan));
  box-shadow: 0 0 18px rgba(72, 199, 192, 0.24);
  opacity: 1;
}

.intro-card.is-open:nth-child(1)::before,
.intro-card.is-open:nth-child(2)::before {
  border-color: var(--flow-cyan);
  filter: drop-shadow(0 0 8px rgba(72, 199, 192, 0.34));
}

.intro-card-toggle {
  position: relative;
  width: 100%;
  min-height: 190px;
  display: grid;
  align-content: start;
  gap: 14px;
  border: 0;
  background: transparent;
  color: var(--text-main);
  padding: 28px;
  text-align: left;
  cursor: pointer;
}

.intro-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.intro-card-kicker {
  color: var(--flow-blue);
  font-size: 14px;
  font-weight: 900;
}

.intro-card-action {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-app);
  color: var(--active);
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.intro-action-open {
  display: none;
}

.intro-card.is-open .intro-action-more {
  display: none;
}

.intro-card.is-open .intro-action-open {
  display: inline;
}

.intro-card.is-open .intro-card-action {
  border-color: rgba(72, 199, 192, 0.32);
  background: rgba(72, 199, 192, 0.12);
  color: var(--active);
}

.intro-card-toggle strong,
.module-card h3 {
  color: var(--heading);
  font-family: Manrope, Inter, sans-serif;
  font-size: 24px;
  line-height: 1.1;
}

.intro-card-toggle small,
.module-card p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.intro-card-toggle small {
  margin: 0;
}

.intro-simulation {
  margin-top: auto;
  padding: 0 20px 22px;
  transition: opacity 180ms ease, filter 180ms ease, transform 180ms ease;
}

.intro-card:not(.is-open) .intro-simulation {
  opacity: 0.38;
  filter: saturate(0.55);
  transform: translateY(4px);
  pointer-events: none;
}

.sim-window {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface-app);
  padding: 16px;
}

.sim-topbar,
.sim-route,
.sim-client-head,
.sim-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.sim-topbar span,
.sim-route span {
  border-radius: 999px;
  padding: 7px 10px;
  background: var(--panel);
  color: var(--active);
  font-size: 12px;
  font-weight: 900;
}

.sim-message {
  margin: 14px 0;
  border-radius: 12px;
  background: var(--panel);
  padding: 14px;
}

.sim-message strong,
.sim-client-head span,
.sim-action-row span {
  color: var(--heading);
  font-weight: 900;
}

.sim-message p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.sim-route {
  flex-wrap: wrap;
}

.sim-client-head {
  border-bottom: 1px solid var(--border);
  padding-bottom: 14px;
}

.sim-client-head strong {
  color: var(--active);
  font-size: 12px;
}

.sim-facts {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
}

.sim-facts div,
.sim-action-row {
  border-radius: 10px;
  background: var(--panel);
  padding: 12px;
}

.sim-facts dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.sim-facts dd {
  margin: 4px 0 0;
  color: var(--heading);
  font-weight: 900;
}

.action-sim {
  display: grid;
  gap: 10px;
}

.sim-action-row strong {
  color: var(--muted);
  font-size: 12px;
}

.sim-action-row.active {
  background: rgba(42, 150, 255, 0.1);
  outline: 1px solid rgba(42, 150, 255, 0.22);
}

.sim-action-row.active strong {
  color: var(--active);
}

.intro-bridge {
  max-width: 780px;
  display: grid;
  justify-items: center;
  gap: 14px;
  margin: 0 auto;
  text-align: center;
}

.intro-bridge::before {
  content: "";
  width: 2px;
  height: 44px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(42, 150, 255, 0.18), var(--flow-cyan));
}

.intro-bridge span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.bridge-link {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(42, 150, 255, 0.22);
  border-radius: 999px;
  background: var(--panel);
  color: var(--active);
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 16px 44px rgba(4, 22, 43, 0.08);
}

.bridge-link::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.flow-section {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: 40px;
  align-items: start;
  background: transparent;
}

.narrative-guide {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 30px;
  border: 1px solid rgba(216, 225, 238, 0.72);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.5);
}

.flow-copy {
  position: sticky;
  top: 116px;
}

.narrative-copy {
  display: grid;
  gap: 22px;
}

.story-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.story-control {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--panel);
  color: var(--heading);
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.story-control:hover {
  transform: translateY(-2px);
  border-color: rgba(42, 150, 255, 0.32);
}

.story-control.primary {
  background: var(--active);
  color: var(--panel);
  border-color: var(--active);
}

.story-stage {
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--panel);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.story-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-bottom: 1px solid var(--border);
  background: var(--surface-app);
}

.story-step {
  min-height: 84px;
  display: grid;
  align-content: center;
  gap: 6px;
  border: 0;
  border-right: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  padding: 16px;
  text-align: left;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease;
}

.story-step:last-child {
  border-right: 0;
}

.story-step span {
  color: var(--flow-blue);
  font-size: 12px;
  font-weight: 900;
}

.story-step strong {
  color: inherit;
  font-size: 15px;
}

.story-step.is-active {
  background: var(--panel);
  color: var(--heading);
  box-shadow: inset 0 -3px 0 var(--flow-cyan);
}

.story-scenes {
  min-height: 460px;
}

.story-scene {
  min-height: 460px;
  display: none;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 28px;
  align-items: stretch;
  padding: 28px;
}

.story-scene.is-active {
  display: grid;
}

.story-scene-copy {
  display: grid;
  align-content: center;
  gap: 16px;
}

.story-scene-copy > span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(42, 150, 255, 0.1);
  color: var(--flow-blue);
  font-weight: 900;
}

.story-scene-copy h3 {
  font-size: 34px;
}

.story-scene-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.story-link {
  width: max-content;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--active);
  color: var(--panel);
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 900;
}

.story-ui {
  min-width: 0;
  align-self: stretch;
  display: grid;
  align-content: center;
  gap: 14px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(180deg, var(--surface-app), #ffffff);
  padding: 22px;
}

.story-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.story-toolbar span,
.story-client-head span {
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--panel);
  color: var(--active);
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 900;
}

.story-message {
  border-radius: 14px;
  background: var(--panel);
  padding: 18px;
  box-shadow: 0 12px 30px rgba(4, 22, 43, 0.06);
}

.story-message strong,
.story-client-head strong,
.story-assignment strong,
.story-task strong,
.timeline-event strong {
  color: var(--heading);
}

.story-message p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.story-status-line {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--active);
  font-size: 13px;
  font-weight: 900;
}

.story-status-line span {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--flow-green);
  box-shadow: 0 0 0 6px rgba(143, 218, 88, 0.18);
}

.story-client-head,
.story-assignment,
.story-task,
.timeline-event {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.story-facts {
  display: grid;
  gap: 10px;
  margin: 0;
}

.story-facts div,
.story-assignment,
.story-task,
.timeline-event {
  border-radius: 12px;
  background: var(--panel);
  padding: 14px;
}

.story-facts dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.story-facts dd {
  margin: 4px 0 0;
  color: var(--heading);
  font-weight: 900;
}

.story-assignment span,
.story-task span,
.timeline-event span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.story-assignment.active,
.story-task.active,
.timeline-event.active {
  outline: 1px solid rgba(42, 150, 255, 0.24);
  background: rgba(42, 150, 255, 0.09);
}

.timeline-story {
  position: relative;
}

.timeline-event {
  position: relative;
}

.modules-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(246, 248, 251, 0.82)),
    var(--bg);
}

.evidence-heading {
  margin-bottom: 40px;
}

.live-demo-stage {
  position: relative;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 0 78px;
  isolation: isolate;
}

.live-demo-stage::before,
.live-demo-stage::after {
  content: "";
  position: absolute;
  left: 50%;
  pointer-events: none;
}

.live-demo-stage::before {
  bottom: 16px;
  z-index: 0;
  width: min(74%, 980px);
  height: 28px;
  border: 1px solid rgba(216, 225, 238, 0.82);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(216, 225, 238, 0.56)),
    radial-gradient(ellipse at center, rgba(4, 22, 43, 0.2), transparent 68%);
  box-shadow:
    0 24px 46px rgba(4, 22, 43, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.76);
  transform: translateX(-50%);
}

.live-demo-stage::after {
  bottom: 42px;
  z-index: 1;
  width: min(22vw, 240px);
  height: 64px;
  border: 1px solid rgba(216, 225, 238, 0.82);
  border-bottom: 0;
  border-radius: 16px 16px 0 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.82), rgba(216, 225, 238, 0.88) 46%, rgba(255, 255, 255, 0.7)),
    linear-gradient(180deg, rgba(42, 150, 255, 0.1), transparent 64%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 18px 36px rgba(4, 22, 43, 0.12);
  clip-path: polygon(12% 0, 88% 0, 100% 100%, 0 100%);
  transform: translateX(-50%);
}

.live-demo-shell {
  position: relative;
  z-index: 2;
  max-width: 1360px;
  min-height: 760px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  border: 1px solid rgba(216, 225, 238, 0.92);
  border-radius: 24px;
  background: var(--panel);
  box-shadow: 0 30px 100px rgba(4, 22, 43, 0.18);
  overflow: hidden;
}

.live-demo-shell::after {
  content: "";
  position: absolute;
  right: clamp(48px, 8vw, 160px);
  bottom: 0;
  left: clamp(48px, 8vw, 160px);
  z-index: 3;
  height: 10px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.9) 18%, rgba(42, 150, 255, 0.22) 50%, rgba(255, 255, 255, 0.78) 82%, transparent);
  opacity: 0.84;
  pointer-events: none;
}

.demo-sidebar {
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 24px;
  background:
    radial-gradient(circle at 20% 0%, rgba(42, 150, 255, 0.24), transparent 30%),
    linear-gradient(180deg, var(--sidebar), var(--tile-orbit-3));
  color: var(--muted-on-dark);
}

.demo-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.demo-brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(72, 199, 192, 0.32);
  border-radius: 14px;
  background: linear-gradient(145deg, var(--flow-blue), var(--flow-cyan));
  color: var(--panel);
  font-weight: 950;
}

.demo-brand strong {
  display: block;
  color: var(--panel);
  font-size: 22px;
}

.demo-brand small,
.demo-sidebar-card small {
  display: block;
  margin-top: 2px;
  color: rgba(245, 248, 252, 0.6);
  font-size: 12px;
}

.demo-nav {
  display: grid;
  gap: 8px;
}

.demo-tab {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: rgba(245, 248, 252, 0.72);
  padding: 0 12px;
  text-align: left;
  cursor: pointer;
  font-size: 14px;
  font-weight: 850;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.demo-tab span {
  width: 28px;
  color: rgba(72, 199, 192, 0.78);
  font-size: 12px;
}

.demo-tab:hover,
.demo-tab.is-active {
  border-color: rgba(72, 199, 192, 0.24);
  background: rgba(11, 62, 112, 0.76);
  color: var(--panel);
}

.demo-tab.is-active {
  box-shadow: inset 3px 0 0 var(--flow-cyan);
}

.demo-sidebar-card {
  margin-top: auto;
  border: 1px solid rgba(216, 225, 238, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
  padding: 18px;
}

.demo-sidebar-card span {
  color: rgba(143, 218, 88, 0.9);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.demo-sidebar-card strong {
  display: block;
  margin-top: 8px;
  color: var(--panel);
  font-size: 20px;
}

.demo-workspace {
  min-width: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--surface-app);
}

.demo-topbar {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.88);
  padding: 18px 22px;
}

.demo-search {
  min-height: 44px;
  min-width: 260px;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--panel);
  padding: 0 14px;
}

.demo-search span {
  width: 11px;
  height: 11px;
  border: 2px solid var(--active);
  border-radius: 50%;
  box-shadow: 6px 6px 0 -4px var(--active);
}

.demo-search p {
  margin: 0;
  color: rgba(7, 20, 38, 0.52);
  font-size: 14px;
  font-weight: 700;
}

.demo-topbar-actions,
.demo-filter-row,
.demo-chat-actions,
.demo-doc-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.demo-chip,
.demo-live-pill,
.demo-filter-row span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--panel);
  color: var(--muted);
  padding: 0 12px;
  font-size: 12px;
  font-weight: 900;
}

.demo-chip.active,
.demo-live-pill,
.demo-filter-row span.active {
  border-color: rgba(72, 199, 192, 0.32);
  background: rgba(72, 199, 192, 0.12);
  color: var(--active);
}

.demo-screens {
  min-width: 0;
  padding: 22px;
}

.demo-screen {
  display: none;
}

.demo-screen.is-active {
  display: block;
  animation: demo-screen-in 220ms ease both;
}

.demo-screen[hidden] {
  display: none !important;
}

@keyframes demo-screen-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.demo-screen-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.demo-kicker {
  color: var(--flow-blue);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.demo-screen-head h3 {
  margin: 8px 0 6px;
  color: var(--heading);
  font-family: Manrope, Inter, sans-serif;
  font-size: 34px;
  line-height: 1.05;
}

.demo-screen-head p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.demo-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.demo-metric,
.demo-chart-card,
.demo-status-card,
.demo-conversations,
.demo-chat-panel,
.demo-context-panel,
.demo-client-list,
.demo-client-profile,
.demo-activity-summary article,
.demo-task-card,
.demo-doc-table,
.demo-doc-detail,
.demo-history-stats article,
.demo-history-timeline {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--panel);
  box-shadow: 0 14px 40px rgba(4, 22, 43, 0.06);
}

.demo-metric {
  padding: 18px;
}

.demo-metric span,
.demo-status-card span,
.demo-document-preview span,
.demo-client-summary span,
.demo-doc-detail span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.demo-metric strong {
  display: block;
  margin-top: 10px;
  color: var(--heading);
  font-size: 34px;
  line-height: 1;
}

.demo-metric small,
.demo-status-card small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.45;
}

.demo-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
  gap: 16px;
}

.demo-chart-card,
.demo-status-card {
  padding: 20px;
}

.demo-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.demo-card-head strong {
  color: var(--heading);
}

.demo-card-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.demo-bars {
  height: 220px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: end;
  gap: 14px;
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(216, 225, 238, 0.32) 1px, transparent 1px) 0 0 / 100% 25%,
    var(--surface-app);
  padding: 20px;
}

.demo-bars span {
  height: var(--bar);
  border-radius: 12px 12px 4px 4px;
  background: linear-gradient(180deg, var(--flow-blue), var(--flow-cyan));
}

.demo-chart-labels {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.demo-alert-row {
  min-height: 58px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border);
}

.demo-alert-row span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(42, 150, 255, 0.12);
  color: var(--active);
  font-weight: 950;
}

.demo-alert-row p {
  margin: 0;
  color: var(--text-main);
  font-weight: 760;
}

.demo-alert-row.danger span {
  background: rgba(241, 188, 104, 0.2);
  color: #77510f;
}

.demo-alert-row.green span {
  background: rgba(143, 218, 88, 0.22);
  color: #315f0c;
}

.demo-messages-layout {
  display: grid;
  grid-template-columns: 284px minmax(360px, 1fr) 294px;
  gap: 16px;
  align-items: stretch;
}

.demo-conversations,
.demo-context-panel {
  padding: 16px;
}

.demo-conversations {
  display: grid;
  align-content: start;
  gap: 10px;
}

.demo-filter-row {
  margin-bottom: 6px;
}

.demo-conversation {
  width: 100%;
  min-height: 76px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--panel);
  padding: 12px;
  text-align: left;
  cursor: pointer;
}

.demo-conversation.is-selected {
  border-color: rgba(42, 150, 255, 0.35);
  background: rgba(42, 150, 255, 0.08);
}

.demo-channel {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--heading);
  font-size: 11px;
  font-weight: 950;
}

.demo-channel.wa {
  background: rgba(143, 218, 88, 0.28);
}

.demo-channel.em {
  background: rgba(42, 150, 255, 0.17);
}

.demo-channel.wc {
  background: rgba(72, 199, 192, 0.22);
}

.demo-conversation strong,
.demo-client-row strong {
  display: block;
  color: var(--heading);
  font-size: 14px;
}

.demo-conversation p {
  margin: 4px 0 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.demo-conversation small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.demo-chat-panel {
  min-width: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
}

.demo-chat-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--border);
  padding: 18px;
}

.demo-chat-head strong {
  display: block;
  color: var(--heading);
  font-size: 18px;
}

.demo-chat-head span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.demo-secondary-action,
.demo-take-case {
  min-height: 38px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--panel);
  color: var(--active);
  padding: 0 13px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
}

.demo-take-case {
  border-color: transparent;
  background: linear-gradient(135deg, var(--flow-blue), var(--flow-cyan));
  color: var(--panel);
  box-shadow: 0 12px 24px rgba(42, 150, 255, 0.2);
}

.demo-take-case.is-taken {
  background: linear-gradient(135deg, var(--active), var(--tile-orbit-2));
}

.demo-chat-thread {
  display: grid;
  align-content: start;
  gap: 14px;
  background:
    linear-gradient(180deg, rgba(246, 248, 251, 0.95), rgba(255, 255, 255, 0.8)),
    var(--surface-app);
  padding: 18px;
}

.demo-message {
  max-width: 78%;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--panel);
  padding: 12px 14px;
}

.demo-message span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.demo-message p {
  margin: 5px 0 0;
  color: var(--text-main);
  font-size: 14px;
  line-height: 1.55;
}

.demo-message.outbound {
  justify-self: end;
  border-color: rgba(42, 150, 255, 0.22);
  background: rgba(42, 150, 255, 0.1);
}

.demo-message.system {
  max-width: 86%;
  justify-self: center;
  border-style: dashed;
  background: rgba(72, 199, 192, 0.11);
}

.demo-reply-box {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid var(--border);
  background: var(--panel);
  padding: 16px 18px;
}

.demo-reply-box p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.demo-reply-box span {
  white-space: nowrap;
  color: var(--active);
  font-size: 12px;
  font-weight: 900;
}

.demo-context-panel {
  display: grid;
  align-content: start;
  gap: 14px;
}

.demo-client-summary,
.demo-document-preview,
.demo-mini-timeline {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface-app);
  padding: 16px;
}

.demo-client-summary strong,
.demo-document-preview strong,
.demo-status-card strong,
.demo-doc-detail strong {
  display: block;
  margin-top: 8px;
  color: var(--heading);
  font-size: 20px;
}

.demo-client-summary p,
.demo-document-preview p,
.demo-doc-detail p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.demo-mini-timeline {
  display: grid;
  gap: 9px;
}

.demo-mini-timeline span {
  color: var(--text-main);
  font-size: 12px;
  font-weight: 800;
}

.demo-client-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 16px;
}

.demo-client-list {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 16px;
}

.demo-client-row {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--panel);
  padding: 16px;
}

.demo-client-row.is-selected {
  border-color: rgba(72, 199, 192, 0.34);
  background: rgba(72, 199, 192, 0.1);
}

.demo-client-row span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.demo-client-profile {
  padding: 22px;
}

.demo-profile-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.demo-profile-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.demo-profile-head h3 {
  margin: 6px 0 0;
  color: var(--heading);
  font-size: 34px;
}

.demo-profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.demo-profile-grid div,
.demo-profile-note {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface-app);
  padding: 16px;
}

.demo-profile-grid dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.demo-profile-grid dd {
  margin: 8px 0 0;
  color: var(--heading);
  font-weight: 900;
}

.demo-profile-note {
  margin-top: 12px;
}

.demo-profile-note strong {
  color: var(--heading);
}

.demo-profile-note p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.demo-activity-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.demo-activity-summary article {
  padding: 18px;
}

.demo-activity-summary span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.demo-activity-summary strong {
  display: block;
  margin-top: 8px;
  color: var(--heading);
  font-size: 32px;
}

.demo-activity-lanes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.demo-task-card {
  min-height: 210px;
  padding: 22px;
}

.demo-task-card.active {
  border-color: rgba(42, 150, 255, 0.3);
  background:
    linear-gradient(145deg, rgba(42, 150, 255, 0.11), rgba(72, 199, 192, 0.1)),
    var(--panel);
}

.demo-task-card span {
  color: var(--flow-blue);
  font-size: 12px;
  font-weight: 950;
}

.demo-task-card h4 {
  margin: 16px 0 8px;
  color: var(--heading);
  font-size: 22px;
}

.demo-task-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.demo-doc-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 16px;
}

.demo-doc-table {
  overflow: hidden;
}

.demo-doc-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.82fr 0.74fr;
  gap: 12px;
  border-top: 1px solid var(--border);
  padding: 17px 18px;
  color: var(--text-main);
  font-size: 14px;
  font-weight: 760;
}

.demo-doc-row:first-child {
  border-top: 0;
}

.demo-doc-head {
  background: var(--surface-app);
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.demo-doc-row.is-selected {
  background: rgba(42, 150, 255, 0.08);
}

.demo-doc-detail {
  padding: 20px;
}

.demo-doc-actions {
  margin-top: 18px;
}

.demo-history-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 16px;
}

.demo-history-stats {
  display: grid;
  gap: 12px;
}

.demo-history-stats article {
  padding: 18px;
}

.demo-history-stats strong {
  display: block;
  color: var(--heading);
  font-size: 32px;
}

.demo-history-stats span {
  color: var(--muted);
  font-weight: 850;
}

.demo-history-timeline {
  padding: 20px;
}

.demo-history-timeline article {
  position: relative;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 16px;
  border-left: 2px solid var(--border);
  padding: 0 0 26px 20px;
}

.demo-history-timeline article:last-child {
  padding-bottom: 0;
}

.demo-history-timeline article::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--flow-blue);
}

.demo-history-timeline article.active::before {
  background: var(--flow-green);
  box-shadow: 0 0 0 6px rgba(143, 218, 88, 0.16);
}

.demo-history-timeline span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
}

.demo-history-timeline strong {
  color: var(--heading);
}

.demo-history-timeline p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.about-section {
  position: relative;
  overflow: hidden;
  scroll-margin-top: 128px;
  background:
    linear-gradient(180deg, rgba(4, 17, 31, 0.03), rgba(42, 150, 255, 0.08) 52%, rgba(245, 248, 252, 0.96)),
    var(--bg);
  border-block: 1px solid rgba(216, 225, 238, 0.78);
}

.about-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(42, 150, 255, 0.2), transparent 29%),
    radial-gradient(circle at 82% 72%, rgba(72, 199, 192, 0.16), transparent 31%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.4), transparent 42%);
  pointer-events: none;
}

.about-shell {
  position: relative;
  z-index: 1;
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(340px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(28px, 3.2vw, 48px);
  align-items: stretch;
  border: 1px solid rgba(216, 225, 238, 0.9);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(246, 248, 251, 0.9)),
    var(--panel);
  box-shadow: 0 32px 100px rgba(4, 22, 43, 0.1);
  padding: clamp(20px, 2.6vw, 36px);
}

.about-media {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid rgba(216, 225, 238, 0.92);
  border-radius: 28px;
  background: var(--tile-orbit-2);
  box-shadow: 0 34px 100px rgba(4, 22, 43, 0.14);
}

.about-media > img {
  width: 100%;
  height: 100%;
  min-height: 680px;
  object-fit: cover;
  object-position: 47% center;
  filter: saturate(0.98) contrast(1.02);
}

.about-brand-card {
  position: absolute;
  top: 22px;
  left: 22px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100% - 44px);
  border: 1px solid rgba(241, 247, 255, 0.18);
  border-radius: 16px;
  background: rgba(4, 22, 43, 0.86);
  box-shadow: 0 18px 54px rgba(4, 22, 43, 0.16);
  backdrop-filter: blur(18px);
  padding: 10px 14px 10px 12px;
}

.about-brand-card img {
  display: block;
  width: auto;
  height: 28px;
  max-width: 150px;
  object-fit: contain;
}

.about-brand-card div {
  display: grid;
  gap: 2px;
}

.about-brand-card strong {
  color: #f1f7ff;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
}

.about-brand-card span {
  color: rgba(241, 247, 255, 0.68);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.03em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.about-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(4, 17, 31, 0.72));
  pointer-events: none;
}

.about-origin {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid rgba(245, 248, 252, 0.22);
  border-radius: 18px;
  background: rgba(4, 22, 43, 0.62);
  color: var(--panel);
  padding: 16px 18px;
  backdrop-filter: blur(16px);
}

.about-origin span {
  color: rgba(245, 248, 252, 0.72);
  font-size: 13px;
  font-weight: 800;
}

.about-origin strong {
  font-family: Manrope, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
}

.about-copy {
  display: grid;
  gap: 18px;
}

.about-copy-panel {
  align-self: stretch;
  border: 1px solid rgba(216, 225, 238, 0.8);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 255, 0.9)),
    var(--panel);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
  padding: clamp(28px, 3.2vw, 48px);
  align-content: center;
}

.about-copy h2 {
  max-width: 760px;
  margin: 0;
  color: var(--heading);
  font-size: clamp(34px, 3.45vw, 52px);
  line-height: 1.04;
}

.about-text {
  display: grid;
  gap: 14px;
  max-width: 780px;
  border-top: 1px solid rgba(216, 225, 238, 0.92);
  padding-top: 20px;
}

.about-text p {
  margin: 0;
  color: rgba(7, 20, 38, 0.72);
  font-size: 16px;
  line-height: 1.68;
}

.human-section {
  --human-progress: 1;
  --human-banner-scale: 1;
  --human-banner-y: 0px;
  --human-image-scale: 1.08;
  --human-image-x: 0%;
  --human-overlay-opacity: 0.92;
  --human-glass-opacity: 1;
  --human-copy-opacity: 1;
  --human-copy-x: 0px;
  --human-copy-y: 0px;
  --human-copy-scale: 1;
  --human-copy-body-opacity: 1;
  --human-copy-points-opacity: 1;
  --human-form-opacity: 1;
  --human-form-x: 0px;
  --human-form-y: 0px;
  --human-form-scale: 1;
  padding: 112px 72px;
  background: var(--surface-app);
}

.human-section[data-human-scroll] {
  min-height: 210vh;
  padding: 0 0 120px;
  background: linear-gradient(180deg, var(--surface-app) 0%, var(--surface-app) 78%, #e9eff4 100%);
}

.human-banner {
  position: relative;
  max-width: 1360px;
  min-height: 720px;
  margin: 0 auto;
  display: grid;
  align-items: stretch;
  border: 1px solid rgba(216, 225, 238, 0.8);
  border-radius: 24px;
  background: var(--tile-orbit);
  box-shadow: 0 30px 100px rgba(4, 22, 43, 0.16);
  overflow: hidden;
  isolation: isolate;
}

.human-section[data-human-scroll] .human-banner {
  position: sticky;
  top: 76px;
  width: 100%;
  max-width: none;
  min-height: calc(100vh - 76px);
  border-radius: 24px;
  contain: paint;
  transform-origin: top center;
}

.human-section.is-scroll-ready .human-banner {
  transform: translateY(var(--human-banner-y, 0px)) scale(var(--human-banner-scale, 1));
  will-change: transform;
  transition: box-shadow 180ms ease;
}

.human-section.is-form-focus-locked .human-banner {
  box-shadow: 0 38px 120px rgba(4, 22, 43, 0.24);
}

.human-banner picture {
  position: absolute;
  inset: 0;
  z-index: -3;
  display: block;
  width: 100%;
  height: 100%;
}

.human-banner img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  filter: saturate(0.98) brightness(0.76);
}

.human-section.is-scroll-ready .human-banner img {
  transform: scale(var(--human-image-scale, 1.08)) translateX(var(--human-image-x, 0%));
  will-change: transform;
}

.human-banner::before,
.human-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.human-banner::before {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(4, 22, 43, 0.72) 0%, rgba(4, 22, 43, 0.56) 32%, rgba(4, 22, 43, 0.16) 62%, rgba(4, 22, 43, 0.02) 100%),
    linear-gradient(0deg, rgba(4, 22, 43, 0.38), transparent 55%);
}

.human-section.is-scroll-ready .human-banner::before {
  opacity: var(--human-overlay-opacity, 0.92);
}

.human-banner::after {
  z-index: -1;
  width: 52%;
  background: linear-gradient(90deg, rgba(245, 248, 252, 0.2), rgba(245, 248, 252, 0.06), transparent);
  mask-image: linear-gradient(90deg, #000 0%, #000 68%, transparent 100%);
}

.human-section.is-scroll-ready .human-banner::after {
  opacity: var(--human-glass-opacity, 1);
}

.human-layout {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 440px);
  gap: 42px;
  align-items: end;
  padding: 66px;
}

.human-copy {
  max-width: 720px;
  color: var(--panel);
  transform-origin: left top;
}

.human-section.is-scroll-ready .human-copy {
  opacity: var(--human-copy-opacity, 1);
  transform: translate(var(--human-copy-x, 0px), var(--human-copy-y, 0px)) scale(var(--human-copy-scale, 1));
  will-change: opacity, transform;
}

.human-section.is-copy-compact .human-copy {
  grid-column: 2;
  grid-row: 1;
  z-index: 2;
  align-self: center;
  max-width: 460px;
  pointer-events: none;
}

.human-section.is-copy-compact .human-layout {
  grid-template-columns: minmax(380px, 440px) minmax(300px, 460px) minmax(0, 1fr);
  gap: clamp(24px, 2.8vw, 56px);
  align-items: center;
  padding: clamp(52px, 5.2vw, 104px);
}

.human-copy h2 {
  max-width: 680px;
  color: var(--panel);
}

.human-section.is-copy-compact .human-copy h2 {
  max-width: 460px;
  font-size: clamp(40px, 2.55vw, 52px);
  line-height: 1.03;
  text-shadow: 0 12px 36px rgba(4, 22, 43, 0.44);
}

.human-copy > p {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(245, 248, 252, 0.82);
}

.human-section.is-scroll-ready .human-copy > p {
  opacity: var(--human-copy-body-opacity, 1);
}

.human-section.is-copy-compact .human-copy > p,
.human-section.is-copy-compact .human-points {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.human-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.human-section.is-scroll-ready .human-points {
  opacity: var(--human-copy-points-opacity, 1);
}

.human-points span {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(245, 248, 252, 0.28);
  border-radius: 999px;
  background: rgba(245, 248, 252, 0.12);
  color: rgba(245, 248, 252, 0.9);
  padding: 0 14px;
  font-size: 12px;
  font-weight: 900;
}

.demo-form {
  display: grid;
  gap: 12px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--panel);
  box-shadow: 0 18px 60px rgba(4, 22, 43, 0.08);
}

.human-form {
  align-self: center;
  border-color: rgba(245, 248, 252, 0.34);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 24px 70px rgba(4, 22, 43, 0.28);
  scroll-margin-top: 128px;
}

.human-section.is-copy-compact .human-form {
  grid-column: 1;
  grid-row: 1;
  justify-self: stretch;
  align-self: center;
  max-width: 440px;
}

.human-section.is-scroll-ready .human-form {
  opacity: var(--human-form-opacity, 0.18);
  transform: translate(var(--human-form-x, 0px), var(--human-form-y, 92px)) scale(var(--human-form-scale, 0.94));
  transition:
    opacity 260ms ease,
    transform 280ms ease;
  will-change: opacity, transform;
}

.human-section.is-scroll-ready:not(.is-form-revealed) .human-form {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.human-section.is-scroll-ready.is-form-revealed:not(.is-form-focus-locked) .human-form {
  cursor: pointer;
}

.human-section.is-form-focus-locked .human-form {
  border-color: rgba(42, 150, 255, 0.28);
}

.form-intro {
  display: grid;
  gap: 6px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
}

.form-intro span {
  color: var(--flow-blue);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.form-intro h3 {
  margin: 0;
  color: var(--heading);
  font-family: Manrope, Inter, sans-serif;
  font-size: 28px;
  line-height: 1.05;
}

.form-intro p,
.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.form-note {
  border: 1px solid rgba(72, 199, 192, 0.25);
  border-radius: 12px;
  background: rgba(72, 199, 192, 0.09);
  padding: 12px;
  font-weight: 800;
}

.form-honeypot {
  position: absolute !important;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.lead-form-status {
  min-height: 1.5rem;
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
}

.lead-form-status[data-kind="success"] {
  color: #86efac;
}

.lead-form-status[data-kind="error"] {
  color: #fecaca;
}

.demo-form button[disabled] {
  cursor: wait;
  opacity: 0.68;
}

.consent-banner {
  position: fixed;
  z-index: 2147482990;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  display: flex;
  max-width: 58rem;
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid rgba(194, 207, 224, 0.8);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.98);
  padding: 1rem;
  color: var(--text-main);
  box-shadow: 0 1.5rem 4rem rgba(4, 22, 43, 0.24);
}

.consent-banner p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
}

.consent-banner a {
  color: var(--flow-blue);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.consent-banner__actions {
  display: flex;
  flex: 0 0 auto;
  gap: 0.5rem;
}

.consent-banner button {
  min-height: 2.75rem;
  border: 1px solid var(--border-strong);
  border-radius: 0.75rem;
  background: var(--surface-card);
  padding: 0.65rem 0.9rem;
  color: var(--heading);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 850;
  cursor: pointer;
}

.consent-banner button[data-consent="accept"] {
  border-color: var(--flow-blue);
  background: var(--flow-blue);
  color: #fff;
}

@media (max-width: 640px) {
  .consent-banner {
    align-items: stretch;
    flex-direction: column;
    right: 0.75rem;
    bottom: 0.75rem;
    left: 0.75rem;
    max-height: min(42vh, 12rem);
    gap: 0.7rem;
    overflow-y: auto;
    border-radius: 0.875rem;
    padding: 0.75rem;
  }

  .consent-banner p {
    font-size: 0.8rem;
    line-height: 1.35;
  }

  .consent-banner__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
  }

  .consent-banner button {
    min-height: 2.5rem;
    padding: 0.55rem 0.6rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 360px) {
  .consent-banner__actions {
    grid-template-columns: 1fr;
  }
}

.demo-form label {
  display: grid;
  gap: 8px;
  font-weight: 900;
  color: var(--heading);
}

.demo-form input,
.demo-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-app);
  color: var(--text-main);
  padding: 11px 14px;
}

.demo-form input::placeholder,
.demo-form textarea::placeholder {
  color: rgba(7, 20, 38, 0.46);
  font-size: 14px;
  font-weight: 760;
}

.demo-form textarea {
  height: 92px;
  resize: vertical;
}

.site-footer {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(216, 225, 238, 0.14);
  background:
    linear-gradient(135deg, rgba(42, 150, 255, 0.12), transparent 34%),
    linear-gradient(215deg, rgba(72, 199, 192, 0.1), transparent 36%),
    var(--tile-orbit-3);
  color: var(--muted-on-dark);
  box-shadow: 0 -34px 90px rgba(4, 22, 43, 0.14);
}

.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -78px;
  height: 78px;
  background: linear-gradient(180deg, rgba(245, 248, 252, 0), rgba(233, 239, 244, 0.92));
  pointer-events: none;
}

.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent, rgba(245, 248, 252, 0.08), transparent),
    repeating-linear-gradient(90deg, rgba(245, 248, 252, 0.035) 0 1px, transparent 1px 120px);
  opacity: 0.32;
  pointer-events: none;
}

.footer-flow,
.footer-shell,
.footer-bottom {
  position: relative;
  z-index: 1;
}

.footer-logo-symbols {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.footer-flow {
  overflow: hidden;
  border-bottom: 1px solid rgba(216, 225, 238, 0.12);
  background:
    linear-gradient(90deg, rgba(42, 150, 255, 0.08), rgba(72, 199, 192, 0.05), rgba(143, 218, 88, 0.06)),
    rgba(255, 255, 255, 0.035);
}

.footer-flow-track {
  width: max-content;
  display: flex;
  animation: channel-marquee 24s linear infinite;
}

.footer-flow:hover .footer-flow-track {
  animation-play-state: paused;
}

.footer-flow-set {
  display: flex;
  gap: 10px;
  padding: 16px 0 16px 12px;
}

.footer-flow-item {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(216, 225, 238, 0.16);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035)),
    rgba(4, 22, 43, 0.42);
  color: rgba(245, 248, 252, 0.88);
  padding: 0 17px 0 10px;
  font-family: Manrope, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 16px 34px rgba(0, 0, 0, 0.12);
}

.footer-flow-item svg {
  width: 27px;
  height: 27px;
  flex: 0 0 auto;
  border: 1px solid rgba(216, 225, 238, 0.13);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.07);
  padding: 5px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-flow-item--blue svg {
  color: var(--flow-blue);
}

.footer-flow-item--cyan svg {
  color: var(--flow-cyan);
}

.footer-flow-item--green svg {
  color: var(--flow-green);
}

.footer-shell {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 370px) minmax(420px, 1fr) minmax(250px, 340px);
  gap: clamp(30px, 4vw, 64px);
  align-items: start;
  padding: 58px 72px 42px;
}

.footer-brand-panel {
  display: grid;
  gap: 20px;
}

.footer-brand-panel img {
  width: 178px;
}

.footer-brand-panel p,
.footer-status p,
.footer-bottom p {
  margin: 0;
}

.footer-brand-panel p {
  max-width: 360px;
  color: rgba(245, 248, 252, 0.78);
  line-height: 1.7;
}

.footer-demo-link {
  width: fit-content;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(72, 199, 192, 0.34);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--flow-blue), var(--flow-cyan));
  color: var(--panel);
  padding: 0 20px;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 18px 44px rgba(42, 150, 255, 0.24);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.footer-demo-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 54px rgba(42, 150, 255, 0.32);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.footer-nav div {
  display: grid;
  gap: 12px;
}

.footer-nav strong,
.footer-status span {
  color: var(--panel);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.footer-nav a {
  color: rgba(245, 248, 252, 0.66);
  font-size: 14px;
  font-weight: 780;
  transition: color 160ms ease, transform 160ms ease;
}

.footer-nav a[href^="mailto:"],
.footer-nav a[href*="linkedin.com"] {
  color: rgba(245, 248, 252, 0.86);
}

.footer-nav a:hover {
  color: var(--panel);
  transform: translateX(3px);
}

.footer-status {
  display: grid;
  gap: 18px;
  border-left: 1px solid rgba(216, 225, 238, 0.14);
  padding-left: 24px;
}

.footer-status p {
  color: rgba(245, 248, 252, 0.74);
  line-height: 1.65;
}

.footer-signal {
  display: grid;
  grid-template-columns: 1fr 0.72fr 0.52fr 0.88fr;
  gap: 8px;
  align-items: center;
}

.footer-signal i {
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--flow-blue), var(--flow-cyan), var(--flow-green));
  opacity: 0.76;
  transform-origin: left center;
  animation: footer-signal-pulse 2.8s ease-in-out infinite;
}

.footer-signal i:nth-child(2) {
  animation-delay: 180ms;
}

.footer-signal i:nth-child(3) {
  animation-delay: 360ms;
}

.footer-signal i:nth-child(4) {
  animation-delay: 540ms;
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(216, 225, 238, 0.12);
  padding: 22px 72px 28px;
}

.footer-bottom p,
.footer-bottom span {
  color: rgba(245, 248, 252, 0.56);
  font-size: 13px;
  font-weight: 760;
}

@keyframes footer-signal-pulse {
  0%,
  100% {
    opacity: 0.48;
    transform: scaleX(0.72);
  }

  50% {
    opacity: 1;
    transform: scaleX(1);
  }
}

@media (max-width: 1500px) {
  .hero {
    grid-template-columns: minmax(500px, 0.74fr) minmax(0, 1fr);
    gap: 40px;
    padding-left: 52px;
    padding-right: 52px;
  }

  .hero h1 {
    font-size: 60px;
  }

  .hero-lead {
    max-width: 600px;
    font-size: 20px;
  }
}

@media (max-width: 1180px) {
  .hero,
  .section,
  .human-section {
    padding-left: 40px;
    padding-right: 40px;
  }

  .site-header {
    width: min(calc(100% - 36px), 1040px);
    grid-template-columns: auto minmax(300px, 1fr) auto;
  }

  .brand img {
    width: 142px;
  }

  .nav-island a {
    padding: 0 12px;
  }

  .nav-ghost {
    display: none;
  }

  .footer-shell {
    grid-template-columns: minmax(260px, 1fr) minmax(320px, 1fr);
    padding-left: 40px;
    padding-right: 40px;
  }

  .footer-nav {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    padding-left: 40px;
    padding-right: 40px;
  }

  .about-shell {
    grid-template-columns: 1fr;
  }

  .about-media,
  .about-media > img {
    min-height: 520px;
  }

  .hero,
  .flow-section {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .hero-media,
  .channel-list {
    grid-column: auto;
    grid-row: auto;
  }

  .hero-media {
    max-width: 920px;
  }

  .flow-copy {
    position: static;
  }

  .live-demo-stage {
    padding-bottom: 58px;
  }

  .live-demo-stage::before {
    width: min(82%, 760px);
    height: 22px;
  }

  .live-demo-stage::after {
    bottom: 34px;
    width: min(28vw, 210px);
    height: 48px;
  }

  .live-demo-shell {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .demo-sidebar {
    display: flex;
    flex-direction: row;
    align-items: center;
    overflow-x: auto;
  }

  .demo-brand {
    min-width: 190px;
  }

  .demo-nav {
    display: flex;
    flex: 1;
    overflow-x: auto;
  }

  .demo-tab {
    min-width: 142px;
  }

  .demo-sidebar-card {
    min-width: 210px;
    margin-top: 0;
  }

  .demo-metric-grid,
  .demo-activity-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .demo-dashboard-grid,
  .demo-client-layout,
  .demo-doc-layout,
  .demo-history-layout {
    grid-template-columns: 1fr;
  }

  .demo-messages-layout {
    grid-template-columns: minmax(250px, 0.75fr) minmax(0, 1fr);
  }

  .demo-context-panel {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 901px) and (max-height: 820px) {
  .human-section[data-human-scroll] {
    min-height: auto;
    padding: 72px 40px 96px;
  }

  .human-section[data-human-scroll] .human-banner {
    position: relative;
    top: auto;
    width: 100%;
    max-width: 1360px;
    min-height: auto;
    transform: none;
  }

  .human-section[data-human-scroll] .human-layout {
    grid-template-columns: minmax(0, 0.95fr) minmax(340px, 420px);
    align-items: center;
    gap: 32px;
    padding: 40px;
  }

  .human-section[data-human-scroll] .human-copy {
    grid-column: auto;
    grid-row: auto;
    align-self: center;
    max-width: 640px;
    pointer-events: auto;
  }

  .human-section[data-human-scroll] .human-copy h2 {
    max-width: 620px;
    font-size: clamp(34px, 3.2vw, 46px);
    line-height: 1.05;
  }

  .human-section[data-human-scroll] .human-copy > p {
    margin-top: 16px;
  }

  .human-section[data-human-scroll] .human-points {
    margin-top: 20px;
  }

  .human-section[data-human-scroll] .human-form {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }
}

@media (max-width: 900px) {
  .human-section[data-human-scroll] {
    min-height: auto;
    padding: 72px 18px;
  }

  .human-section[data-human-scroll] .human-banner {
    position: relative;
    top: auto;
    width: 100%;
    max-width: 1360px;
    min-height: 820px;
    border-radius: 24px;
    transform: none;
  }

  .human-section.is-scroll-ready .human-banner,
  .human-section.is-scroll-ready .human-copy,
  .human-section.is-scroll-ready .human-form {
    opacity: 1;
    transform: none;
  }

  .human-section.is-scroll-ready .human-banner img {
    transform: none;
    filter: saturate(0.98) brightness(0.76);
  }

  .about-section {
    padding-top: 84px;
    padding-bottom: 84px;
  }

  .about-copy h2 {
    font-size: 42px;
  }

  .hero h1 {
    font-size: 54px;
  }

  .section-heading h2,
  .flow-copy h2,
  .human-copy h2 {
    font-size: 42px;
  }

  .human-banner {
    min-height: 820px;
  }

  .human-layout {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 52px;
  }

  .intro-grid,
  .demo-activity-lanes,
  .demo-messages-layout {
    grid-template-columns: 1fr;
  }

  .demo-screen-head h3,
  .demo-profile-head h3 {
    font-size: 30px;
  }

  .demo-context-panel {
    grid-template-columns: 1fr;
  }

  .intro-grid {
    gap: 34px;
  }

  .story-controls {
    margin-bottom: 4px;
  }

  .story-steps {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .story-step {
    min-width: 150px;
    scroll-snap-align: start;
  }

  .story-scene {
    grid-template-columns: 1fr;
  }

  .story-scene-copy {
    align-content: start;
  }

  .intro-card:nth-child(1)::after,
  .intro-card:nth-child(2)::after {
    top: auto;
    right: auto;
    bottom: -31px;
    left: 50%;
    width: 2px;
    height: 28px;
    transform: translateX(-50%);
    background: linear-gradient(180deg, rgba(42, 150, 255, 0.24), rgba(72, 199, 192, 0.86));
  }

  .intro-card:nth-child(1)::before,
  .intro-card:nth-child(2)::before {
    top: auto;
    right: auto;
    bottom: -32px;
    left: calc(50% - 5px);
    transform: rotate(135deg);
  }

  .demo-chat-head,
  .demo-reply-box {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .site-header {
    top: 14px;
    width: calc(100% - 28px);
    grid-template-columns: 1fr auto;
    gap: 8px;
    border-radius: 30px;
    padding: 7px;
  }

  .ios-nav.is-scrolled {
    transform: translateX(-50%) translateY(-2px);
  }

  .brand {
    min-height: 50px;
    justify-content: flex-start;
    padding: 0 14px;
  }

  .brand img {
    width: 132px;
  }

  .main-nav,
  .nav-actions {
    display: none;
  }

  .menu-button {
    display: grid;
  }

  .ios-mobile-nav {
    position: fixed;
    left: 14px;
    right: 14px;
    top: 86px;
    display: grid;
    gap: 8px;
    border: 1px solid rgba(241, 247, 255, 0.14);
    border-radius: 30px;
    background: rgba(4, 22, 43, 0.92);
    box-shadow:
      0 28px 90px rgba(4, 17, 31, 0.46),
      inset 0 1px 0 rgba(255, 255, 255, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.98);
    transform-origin: top center;
    pointer-events: none;
    padding: 10px;
    backdrop-filter: blur(14px) saturate(1.08);
    -webkit-backdrop-filter: blur(14px) saturate(1.08);
    transition:
      opacity 180ms ease,
      visibility 180ms ease,
      transform 180ms ease;
  }

  .ios-mobile-nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  .mobile-nav-head {
    display: grid;
    gap: 6px;
    border: 1px solid rgba(241, 247, 255, 0.1);
    border-radius: 22px;
    background:
      radial-gradient(circle at 16% 0%, rgba(72, 199, 192, 0.18), transparent 34%),
      rgba(255, 255, 255, 0.06);
    padding: 16px;
  }

  .mobile-nav-head span {
    color: var(--flow-cyan);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: 0.03em;
    text-transform: uppercase;
  }

  .mobile-nav-head strong {
    max-width: 260px;
    color: var(--panel);
    font-family: Manrope, Inter, sans-serif;
    font-size: 18px;
    line-height: 1.14;
  }

  .ios-mobile-nav a {
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid rgba(241, 247, 255, 0.08);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.045);
    color: var(--panel);
    font-weight: 900;
    padding: 0 16px;
    transition:
      background 160ms ease,
      border-color 160ms ease,
      color 160ms ease;
  }

  .ios-mobile-nav a:hover,
  .ios-mobile-nav a.is-active {
    border-color: rgba(72, 199, 192, 0.32);
    background: rgba(72, 199, 192, 0.12);
    color: var(--panel);
  }

  .ios-mobile-nav .mobile-nav-cta {
    border-color: rgba(42, 150, 255, 0.6);
    background: linear-gradient(135deg, var(--flow-blue), var(--flow-cyan));
    box-shadow: 0 18px 44px rgba(42, 150, 255, 0.24);
    color: var(--panel);
    justify-content: center;
  }

  .hero {
    min-height: auto;
    padding: 112px 18px 56px;
    gap: 34px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-lead {
    font-size: 18px;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .channel-list {
    max-width: 100%;
  }

  .channel-item {
    min-height: 52px;
  }

  .section,
  .human-section {
    padding: 72px 18px;
  }

  .live-demo-stage {
    padding-bottom: 36px;
  }

  .live-demo-stage::before {
    bottom: 10px;
    width: 86%;
    height: 16px;
  }

  .live-demo-stage::after,
  .live-demo-shell::after {
    display: none;
  }

  .about-section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .about-shell {
    gap: 30px;
  }

  .about-media,
  .about-media > img {
    min-height: 380px;
    border-radius: 18px;
  }

  .about-media > img {
    object-position: 50% center;
  }

  .about-brand-card {
    top: 14px;
    left: 14px;
    max-width: calc(100% - 28px);
    border-radius: 14px;
    padding: 9px 11px;
  }

  .about-brand-card img {
    height: 24px;
    max-width: 128px;
  }

  .about-brand-card span {
    font-size: 11px;
  }

  .about-origin {
    left: 14px;
    right: 14px;
    bottom: 14px;
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    border-radius: 14px;
    padding: 14px;
  }

  .about-copy h2 {
    font-size: 34px;
  }

  .about-text p {
    font-size: 16px;
  }

  .section-heading {
    margin-bottom: 30px;
    text-align: left;
  }

  .section-heading h2,
  .flow-copy h2,
  .human-copy h2 {
    font-size: 34px;
  }

  .story-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .story-stage {
    border-radius: 14px;
  }

  .narrative-guide {
    padding: 16px;
    border-radius: 18px;
  }

  .story-scenes {
    min-height: 0;
  }

  .story-scene {
    min-height: 0;
    gap: 20px;
    padding: 18px;
  }

  .story-scene-copy h3 {
    font-size: 28px;
  }

  .story-ui {
    padding: 16px;
  }

  .story-client-head,
  .story-assignment,
  .story-task,
  .timeline-event {
    align-items: flex-start;
    flex-direction: column;
  }

  .live-demo-shell {
    border-radius: 16px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .demo-sidebar {
    gap: 14px;
    min-width: 0;
    overflow-x: hidden;
    padding: 16px;
  }

  .demo-nav {
    min-width: 0;
    scrollbar-width: none;
  }

  .demo-nav::-webkit-scrollbar {
    display: none;
  }

  .demo-brand {
    min-width: 160px;
  }

  .demo-brand strong {
    font-size: 19px;
  }

  .demo-tab {
    min-width: 126px;
    min-height: 44px;
  }

  .demo-sidebar-card {
    display: none;
  }

  .demo-topbar,
  .demo-screen-head,
  .demo-profile-head {
    align-items: stretch;
    flex-direction: column;
  }

  .demo-topbar,
  .demo-screens {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .demo-topbar {
    padding: 14px;
  }

  .demo-search {
    min-width: 0;
    width: 100%;
  }

  .demo-search p {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .demo-screens {
    padding: 14px;
  }

  .demo-workspace {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: hidden;
  }

  .demo-screen.is-active,
  .demo-messages-layout,
  .demo-chat-panel,
  .demo-context-panel {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: hidden;
  }

  .demo-screen-head h3,
  .demo-profile-head h3 {
    font-size: 26px;
  }

  .demo-metric-grid,
  .demo-activity-summary,
  .demo-profile-grid,
  .demo-dashboard-grid,
  .demo-client-layout,
  .demo-doc-layout,
  .demo-history-layout,
  .demo-doc-row {
    grid-template-columns: 1fr;
  }

  .demo-messages-layout,
  .demo-context-panel,
  .demo-activity-lanes {
    grid-template-columns: 1fr;
  }

  .demo-conversations,
  .demo-chat-panel,
  .demo-context-panel,
  .demo-client-list,
  .demo-client-profile,
  .demo-doc-detail,
  .demo-history-timeline {
    border-radius: 14px;
  }

  .demo-chat-actions,
  .demo-doc-actions {
    width: 100%;
  }

  .demo-secondary-action,
  .demo-take-case {
    min-height: 44px;
  }

  .demo-message {
    max-width: 100%;
  }

  .demo-history-timeline article {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .human-banner {
    min-height: 640px;
    align-items: end;
    border-radius: 18px;
  }

  .human-section[data-human-scroll] .human-banner {
    min-height: 640px;
    border-radius: 18px;
  }

  .human-banner img {
    object-position: 62% center;
  }

  .human-banner::before {
    background:
      linear-gradient(0deg, rgba(4, 22, 43, 0.82) 0%, rgba(4, 22, 43, 0.68) 45%, rgba(4, 22, 43, 0.16) 100%),
      linear-gradient(90deg, rgba(4, 22, 43, 0.52), rgba(4, 22, 43, 0.08));
  }

  .human-banner::after {
    inset: auto 0 0;
    width: 100%;
    height: 78%;
    background: linear-gradient(0deg, rgba(245, 248, 252, 0.14), rgba(245, 248, 252, 0.04), transparent);
    mask-image: linear-gradient(0deg, #000 0%, #000 74%, transparent 100%);
  }

  .human-layout {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px;
  }

  .form-intro h3 {
    font-size: 26px;
  }

  .human-points {
    display: grid;
  }

  .human-points span,
  .human-form .button {
    width: 100%;
    justify-content: center;
  }

  .footer-shell {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 42px 18px 32px;
  }

  .footer-brand-panel {
    justify-items: start;
  }

  .footer-nav {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .footer-status {
    border-left: 0;
    border-top: 1px solid rgba(216, 225, 238, 0.14);
    padding: 24px 0 0;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    padding: 20px 18px 26px;
  }

  .footer-flow-set {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .footer-flow-item {
    min-height: 42px;
    padding-right: 14px;
    font-size: 11px;
  }

  .footer-flow-item svg {
    width: 24px;
    height: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .channel-track {
    animation: none;
    transform: none;
  }

  .hero-flow::before,
  .hero-flow::after,
  .hero-media::before {
    animation: none;
    transform: none;
  }

  .footer-flow-track,
  .footer-signal i {
    animation: none;
    transform: none;
  }
}
