:root {
  color-scheme: dark;
  --bg: #0f0c10;
  --bg-strong: #0d0f10;
  --surface: #111416;
  --surface-raised: #171a1d;
  --surface-muted: #1d2024;
  --ink: #f5f1ea;
  --ink-muted: #aaa39a;
  --ink-dim: #706c66;
  --accent: #ff6a3d;
  --accent-strong: #ff4f17;
  --accent-soft: #ffb18f;
  --accent-text: #17100d;
  --cyan: #55d8ff;
  --green: #89e66f;
  --violet: #b89cff;
  --yellow: #ffd166;
  --focus-ring: #ffd9c9;
  --line: rgba(245, 241, 234, 0.14);
  --line-strong: rgba(245, 241, 234, 0.22);
  --guide: rgba(245, 241, 234, 0.075);
  --shadow: 0 32px 80px rgba(0, 0, 0, 0.48);
  --shadow-soft: 0 20px 54px rgba(0, 0, 0, 0.32);
  --nav-bg: rgba(9, 10, 11, 0.82);
  --grid-dot: rgba(245, 241, 234, 0.07);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --container: 1180px;
  --container-width: min(var(--container), 90vw);
  --container-gutter: calc((100% - var(--container-width)) / 2);
  --grid-column-width: min(98.333333px, 7.5vw);
  --font-sans: "Tanker", "Arial Black", sans-serif;
  --font-body: "Satoshi", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: var(--font-sans);
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #f7f2ea;
  --bg-strong: #ffffff;
  --surface: #fffaf2;
  --surface-raised: #ffffff;
  --surface-muted: #ebe3d8;
  --ink: #171412;
  --ink-muted: #615b55;
  --ink-dim: #8a8178;
  --line: rgba(23, 20, 18, 0.12);
  --line-strong: rgba(23, 20, 18, 0.2);
  --guide: rgba(23, 20, 18, 0.08);
  --shadow: 0 30px 70px rgba(48, 38, 29, 0.18);
  --shadow-soft: 0 18px 40px rgba(48, 38, 29, 0.12);
  --nav-bg: rgba(247, 242, 234, 0.84);
  --grid-dot: rgba(23, 20, 18, 0.07);
  --focus-ring: #9a3f1f;
}

* {
  box-sizing: border-box;
  /* scrollbar-width: thin; */
  scrollbar-color: rgba(255, 255, 255, 0.26) transparent;
}

*::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

*::-webkit-scrollbar-track {
  background: transparent;
}

*::-webkit-scrollbar-thumb {
  border: 3px solid transparent;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  background-clip: padding-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  overflow-wrap: normal;
  text-wrap: balance;
  word-break: normal;
}

p {
  font-size: 0.9375rem;
  line-height: 1.65;
}

:where(a, button) {
  transition:
    color 0.22s ease,
    background-color 0.22s ease,
    border-color 0.22s ease,
    transform 0.22s ease,
    box-shadow 0.22s ease,
    opacity 0.22s ease;
}

:where(a, button):focus-visible,
:where(input, select, textarea):focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 3px;
}

.page {
  min-height: 100vh;
  overflow: hidden;
  position: relative;
}

.page::before,
.page::after {
  content: "";
  position: absolute;
  inset: var(--grid-start, 780px) 0 0;
  z-index: 0;
  opacity: 0.5;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.28) 62%, transparent 100%);
}

.page::before {
  background-image:
    linear-gradient(var(--guide) 1px, transparent 1px),
    radial-gradient(circle, var(--grid-dot) 1px, transparent 1px);
  background-size: 100% 96px, 18px 18px;
}

.page::after {
  left: calc(var(--container-gutter) - var(--container-width));
  right: 0;
  background-image: linear-gradient(90deg, var(--guide) 1px, transparent 1px);
  background-size: var(--grid-column-width) 100%;
}

main {
  position: relative;
}

.container {
  width: var(--container-width);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--nav-bg);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.nav.nav--hidden {
  transform: translateY(-110%);
  opacity: 0;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.06rem;
}

.logo img {
  width: 156px;
  height: auto;
  max-height: 34px;
  object-fit: contain;
}

.logo--full-color {
  padding: 0;
  border: 0;
  background: transparent;
  /* filter: drop-shadow(0 1px 1px rgba(255, 255, 255, 0.24)) drop-shadow(0 8px 18px rgba(0, 0, 0, 0.24)); */
}

html[data-theme="light"] .logo--full-color {
  filter: none;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--ink-muted);
  font-family: var(--font-sans);
  font-size: 0.92rem;
}

.nav__links a {
  position: relative;
  padding: 8px 0;
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.nav__links a:hover,
.nav__links a:focus-visible {
  color: var(--ink);
}

.nav__links a:hover::after,
.nav__links a:focus-visible::after {
  transform: scaleX(1);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-text);
  box-shadow: 0 14px 32px rgba(255, 106, 61, 0.25);
  cursor: pointer;
  font-weight: 500;
  text-align: center;
}

.button:not(.button--icon) {
  position: relative;
  overflow: hidden;
  font-family: var(--font-display);
  letter-spacing: 0.025em;
  isolation: isolate;
}

.button:not(.button--icon)::before {
  content: "";
  position: absolute;
  inset: -45% auto -45% -70%;
  z-index: 1;
  width: 54%;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.16) 32%, rgba(255, 255, 255, 0.68) 50%, rgba(255, 255, 255, 0.16) 68%, transparent 100%);
  filter: blur(0.5px);
  transform: translateX(-120%) skewX(-18deg);
}

.button:hover,
.button:focus-visible {
  background: var(--accent-strong);
  transform: translateY(-2px);
}

.button:not(.button--icon):hover::before,
.button:not(.button--icon):focus-visible::before {
  animation: buttonSheen 0.76s cubic-bezier(0.22, 1, 0.36, 1);
}

.button:active {
  transform: translateY(0);
}

.button:disabled {
  opacity: 0.68;
  cursor: wait;
  transform: none;
  box-shadow: none;
}

.button--ghost {
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink);
  border-color: var(--line);
  box-shadow: none;
}

.button--ghost:hover,
.button--ghost:focus-visible {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--line-strong);
}

html[data-theme="light"] .button--ghost {
  background: rgba(23, 20, 18, 0.03);
}

html[data-theme="light"] .button--ghost:hover,
html[data-theme="light"] .button--ghost:focus-visible {
  background: rgba(23, 20, 18, 0.08);
}

.button--icon {
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  box-shadow: none;
}

.button--icon:hover,
.button--icon:focus-visible {
  background: rgba(255, 255, 255, 0.09);
  color: var(--ink);
  border-color: var(--line-strong);
}

.button--light {
  background: var(--ink);
  color: var(--accent-text);
  box-shadow: none;
}

.button--light:hover,
.button--light:focus-visible {
  background: #ffffff;
}

.button--ghost-on-orange {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: none;
}

.button--ghost-on-orange:hover,
.button--ghost-on-orange:focus-visible {
  background: rgba(255, 255, 255, 0.2);
}

.nav__menu-btn {
  display: none;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 25;
  display: grid;
  place-items: center;
  padding: 84px 24px 32px;
  background: rgba(8, 9, 10, 0.94);
  backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu__panel {
  display: grid;
  justify-items: center;
  gap: 20px;
  transform: translateY(18px);
  transition: transform 0.28s ease;
}

.mobile-menu.is-open .mobile-menu__panel {
  transform: translateY(0);
}

.mobile-menu__panel a {
  font-family: var(--font-sans);
  font-size: 2.2rem;
}

.mobile-menu__panel a:hover,
.mobile-menu__panel a:focus-visible {
  color: var(--accent);
}

.mobile-menu__close {
  position: absolute;
  top: 18px;
  right: 18px;
}

.mobile-menu__cta {
  margin-top: 12px;
}

.hero {
  position: relative;
  padding: 34px 0 92px;
}

.hero__signal {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
  -webkit-mask-image: linear-gradient(to bottom, #000 0, rgba(0, 0, 0, 0.86) calc(100% - 260px), transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0, rgba(0, 0, 0, 0.86) calc(100% - 260px), transparent 100%);
}

.hero__inner {
  width: min(1700px, 94vw);
  display: grid;
  grid-template-columns: minmax(480px, 1.02fr) minmax(560px, 0.98fr);
  align-items: center;
  gap: 44px;
  padding: 70px;
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(90deg, rgba(12, 13, 14, 0.05), rgba(12, 13, 14, 0.18)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.07) 0, rgba(255, 255, 255, 0.07) 1px, transparent 1px, transparent 12px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.055) 0, rgba(255, 255, 255, 0.055) 1px, transparent 1px, transparent 12px),
    var(--accent-strong);
  color: #fff8f0;
  box-shadow: var(--shadow);
  transform-origin: 50% 50%;
}

@supports (animation-timeline: scroll(root block)) and (animation-range: 0 1100px) and (scale: 1) {
  .hero__inner {
    animation: heroInnerScrollScale 1ms linear both;
    animation-timeline: scroll(root block);
    animation-range: 0 1100px;
    will-change: scale;
  }
}

.hero__inner::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(to top, rgba(255, 215, 162, 0.32), transparent);
  border-radius: var(--radius-lg);
  pointer-events: none;
}

.hero__copy,
.hero__visual {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.hero__visual {
  min-height: 460px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 0 14px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(255, 79, 23, 0.94), rgba(255, 106, 61, 0.94)),
    var(--accent);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  line-height: 1.35;
  text-transform: uppercase;
  box-shadow: 0 12px 26px rgba(255, 79, 23, 0.18);
}

.hero .eyebrow,
.cta .eyebrow {
  border-color: rgba(255, 79, 23, 0.62);
  background: rgba(34, 18, 12, 0.46);
  color: var(--accent-strong);
  backdrop-filter: blur(10px);
}

.hero h1 {
  max-width: none;
  font-family: var(--font-display);
  font-size: clamp(3.8rem, 4.4vw, 4.55rem);
  line-height: 0.98;
  overflow-wrap: normal;
  word-break: normal;
}

.lede {
  max-width: 62ch;
  margin: 24px 0 0;
  color: var(--ink-muted);
  font-size: 1.02rem;
}

.hero .lede {
  max-width: 66ch;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.hero .lede + .lede {
  margin-top: 14px;
}

.hero-checklist {
  max-width: 66ch;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 22px;
  row-gap: 14px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.hero-checklist li {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 11px;
  row-gap: 0px;
  align-items: start;
  min-width: 0;
  min-height: 42px;
  padding: 0;
}

.hero-checklist__icon {
  grid-row: 1 / 3;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  align-self: start;
  color: var(--green);
  filter: drop-shadow(0 0 10px rgba(137, 230, 111, 0.28));
}

.hero-checklist__icon svg {
  width: 22px;
  height: 22px;
}

.hero-checklist__icon path {
  stroke: currentColor;
  stroke-width: 2.55;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 20;
  stroke-dashoffset: 20;
  animation: checkmarkDraw 0.48s 0.28s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

html.has-gsap .hero-checklist__icon path {
  animation: none;
}

.hero-checklist li > span:not(.hero-checklist__icon),
.hero-checklist strong {
  grid-column: 2;
  min-width: 0;
}

.hero-checklist li > span:not(.hero-checklist__icon) {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.76rem;
  line-height: 1.1;
}

.hero-checklist strong {
  margin-top: -2px;
  color: #ffffff;
  font-size: 0.96rem;
  line-height: 1.08;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero__actions .button:first-child {
  background: #fff8f0;
  color: #21120c;
  box-shadow: none;
}

.hero__actions .button:first-child:hover,
.hero__actions .button:first-child:focus-visible {
  background: #ffffff;
}

.hero__actions .button--ghost {
  color: #ffffff;
  background: rgba(18, 12, 9, 0.18);
  border-color: rgba(255, 255, 255, 0.34);
}

.hero__stats {
  position: relative;
  z-index: 2;
  width: min(980px, calc(100% - 72px));
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: -54px auto 0;
  padding: 10px;
  border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 22px 54px rgba(39, 13, 3, 0.22);
  backdrop-filter: blur(14px);
}

.hero__stats div {
  min-height: 128px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: rgba(21, 11, 8, 0.58);
}

.hero__stats strong {
  display: block;
  color: #ffffff;
  font-size: 1.38rem;
}

.hero__stats span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.88rem;
  line-height: 1.45;
}

.hero__visual {
  display: grid;
  gap: 14px;
}

.command-window,
.agent-workspace,
.system-map,
.execution-panel {
  border: 1px solid var(--line);
  background: rgba(13, 15, 16, 0.88);
  color: var(--ink);
  box-shadow: var(--shadow-soft);
}

.command-window {
  min-height: 460px;
  overflow: hidden;
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  width: 110%;
  border-radius: var(--radius-lg);
  transform: perspective(1200px) rotateY(-12deg) rotateX(2deg);
  transform-origin: center;
}

.window-bar,
.workspace-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
  color: var(--ink-muted);
  font-size: 0.82rem;
}

.window-bar strong {
  margin-left: auto;
  color: var(--green);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.window-title {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.window-title img {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  opacity: 0.92;
}

.window-title [data-workflow-title] {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.workflow-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1;
}

[data-workflow-status] {
  font-family: var(--font-sans);
}

.workflow-status__play {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(137, 230, 111, 0.1);
  box-shadow: 0 0 0 1px rgba(137, 230, 111, 0.22);
}

.workflow-status__play::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 2px;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 6px solid var(--green);
}

.workflow-status__play::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid rgba(137, 230, 111, 0.3);
  border-radius: inherit;
  animation: statusBreath 1.8s ease-in-out infinite;
}

.window-dot,
.window-dots span {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.command-window__body {
  position: relative;
  min-height: 418px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 106, 61, 0.18), transparent 34%),
    #0c0e0f;
  background-size: auto;
}

.mission-canvas,
#system-map-canvas,
#cta-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.command-window__automation-context {
  position: absolute;
  top: 18px;
  left: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(12, 14, 15, 0.72);
  color: rgba(255, 255, 255, 0.76);
  font-family: var(--font-sans);
  font-size: 0.66rem;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transform: translateX(-50%);
  pointer-events: none;
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

.command-window__automation-context::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(137, 230, 111, 0.12), 0 0 18px rgba(137, 230, 111, 0.35);
}

#main-bottom-particles-canvas {
  position: absolute;
  inset: auto 0 0;
  z-index: 0;
  width: 100%;
  height: 1200px;
  pointer-events: none;
  opacity: 0.82;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, rgba(0, 0, 0, 0.86) 260px, #000 420px);
  mask-image: linear-gradient(to bottom, transparent 0, rgba(0, 0, 0, 0.86) 260px, #000 420px);
}

.command-window__node {
  position: absolute;
  z-index: 1;
  width: 188px;
  min-height: 116px;
  display: grid;
  align-content: start;
  gap: 7px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
  background: rgba(17, 20, 22, 0.86);
  backdrop-filter: blur(10px);
}

.workflow-node__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.workflow-service-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 124px;
  min-height: 28px;
  padding: 4px 8px 4px 5px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.workflow-service-badge::before {
  content: attr(data-logo);
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.11);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0;
}

.workflow-service-badge[data-service="google"]::before,
.workflow-service-badge[data-service="calendar"]::before {
  background:
    linear-gradient(#4285f4 0 26%, transparent 26%),
    linear-gradient(90deg, #34a853 0 34%, #fbbc04 34% 67%, #ea4335 67%);
  color: #ffffff;
}

.workflow-service-badge[data-service="slack"]::before,
.workflow-service-badge[data-service="teams"]::before,
.workflow-service-badge[data-service="chat"]::before {
  background: linear-gradient(135deg, #36c5f0, #611f69 54%, #ecb22e);
}

.workflow-service-badge[data-service="email"]::before {
  background: linear-gradient(135deg, #ea4335, #fbbc04 48%, #4285f4);
}

.workflow-service-badge[data-service="crm"]::before {
  background: linear-gradient(135deg, #00a1e0, #2f72ff);
}

.workflow-service-badge[data-service="docs"]::before,
.workflow-service-badge[data-service="drive"]::before,
.workflow-service-badge[data-service="kb"]::before {
  background: linear-gradient(135deg, #4285f4, #34a853);
}

.workflow-service-badge[data-service="github"]::before,
.workflow-service-badge[data-service="code"]::before {
  background: linear-gradient(135deg, #24292f, #57606a);
}

.workflow-service-badge[data-service="human"]::before {
  background: linear-gradient(135deg, #ffd166, #ff6a3d);
  color: #20100a;
}

.workflow-service-badge[data-service="finance"]::before,
.workflow-service-badge[data-service="tasks"]::before,
.workflow-service-badge[data-service="ticket"]::before,
.workflow-service-badge[data-service="security"]::before,
.workflow-service-badge[data-service="analytics"]::before {
  background: linear-gradient(135deg, #ff6a3d, #b89cff);
}

.workflow-node__check {
  position: relative;
  display: grid;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: rgba(137, 230, 111, 0.14);
  box-shadow: 0 0 0 1px rgba(137, 230, 111, 0.32), 0 0 18px rgba(137, 230, 111, 0.18);
  opacity: 0;
  transform: scale(0.58);
  transition: opacity 0.28s ease, transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.workflow-node__check svg {
  width: 15px;
  height: 15px;
}

.workflow-node__check path {
  stroke: var(--green);
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 20;
  stroke-dashoffset: 20;
  transition: stroke-dashoffset 0.34s 0.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.command-window__node.is-step-complete .workflow-node__check {
  opacity: 1;
  transform: scale(1);
}

.command-window__node.is-step-complete .workflow-node__check path {
  stroke-dashoffset: 0;
}

.workflow-node__label {
  display: block;
  color: var(--ink-muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.command-window__node strong {
  display: block;
  margin-top: 6px;
  font-size: 0.98rem;
  line-height: 1.25;
}

.window-bar [data-workflow-title],
.workflow-service-badge,
.workflow-node__label,
.command-window__node strong {
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.hero__visual.is-workflow-changing .window-bar [data-workflow-title],
.hero__visual.is-workflow-changing .workflow-service-badge,
.hero__visual.is-workflow-changing .workflow-node__label,
.hero__visual.is-workflow-changing .command-window__node strong {
  opacity: 0;
  transform: translateY(6px);
}

.command-window__node--in {
  top: 58px;
  left: 28px;
}

.command-window__node--core {
  top: 170px;
  left: 50%;
  transform: translateX(-50%);
  border-color: rgba(255, 106, 61, 0.58);
  box-shadow: 0 0 0 1px rgba(255, 106, 61, 0.18), 0 18px 48px rgba(255, 106, 61, 0.16);
}

.command-window__node--review {
  top: 58px;
  right: 28px;
  border-color: rgba(255, 209, 102, 0.5);
  box-shadow: 0 0 0 1px rgba(255, 209, 102, 0.14), 0 18px 46px rgba(255, 209, 102, 0.1);
}

.command-window__node--out {
  right: 28px;
  bottom: 24px;
  border-color: rgba(137, 230, 111, 0.48);
  box-shadow: 0 0 0 1px rgba(137, 230, 111, 0.12), 0 18px 46px rgba(137, 230, 111, 0.1);
}

.hero-workflow-controls {
  display: inline-flex;
  align-items: center;
  justify-self: center;
  gap: 10px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(34, 18, 12, 0.48);
  color: rgba(255, 255, 255, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  margin-top: auto;
  margin-bottom: -24px;
}

.hero-workflow-controls .button {
  width: 42px;
  height: 42px;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(21, 11, 8, 0.56);
  color: #ffffff;
  font-size: 1.28rem;
}

.hero-workflow-controls .button svg {
  width: 18px;
  height: 18px;
}

.hero-workflow-controls .button path {
  stroke: currentColor;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-workflow-controls span {
  min-width: 52px;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

section {
  padding: 86px 0;
  position: relative;
}

.section__header {
  display: grid;
  gap: 18px;
}

.section__header h2 {
  font-family: var(--font-display);
  max-width: 22ch;
  font-size: clamp(2.55rem, 4vw, 3.25rem);
  line-height: 0.98;
  overflow-wrap: normal;
  word-break: normal;
}

.section__header p:not(.eyebrow) {
  max-width: 64ch;
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.96rem;
}

.section__header--center {
  justify-items: center;
  text-align: center;
}

.section__header--center h2 {
  max-width: 22ch;
}

.section__header--center p:not(.eyebrow) {
  max-width: 72ch;
}

.section__header--split {
  grid-template-columns: minmax(0, 0.98fr) minmax(280px, 0.72fr);
  align-items: end;
  justify-content: space-between;
}

.section__header--split h2 {
  max-width: 26ch;
}

.section__copy {
  display: grid;
  gap: 14px;
  max-width: 64ch;
  color: var(--ink-muted);
  font-size: 0.96rem;
}

.section__copy p {
  margin: 0;
}

.section-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.section-points--overview {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.section-points article {
  position: relative;
  min-height: 142px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
}

html[data-theme="light"] .section-points article {
  background: rgba(255, 255, 255, 0.74);
}

.section-point__heading {
  display: flex;
  align-items: center;
  gap: 11px;
}

.section-point__icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 106, 61, 0.3);
  border-radius: var(--radius-sm);
  background: rgba(255, 106, 61, 0.11);
  color: var(--accent-soft);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

html[data-theme="light"] .section-point__icon {
  color: var(--accent);
  background: rgba(255, 106, 61, 0.1);
}

.section-point__icon svg {
  width: 19px;
  height: 19px;
}

.section-point__icon path,
.section-point__icon rect,
.section-point__icon circle {
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.section-point__label {
  display: block;
  color: var(--accent);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-points p {
  margin: 12px 0 0;
  color: var(--ink-muted);
  font-size: 0.88rem;
}

.system-map {
  position: relative;
  min-height: 360px;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(240px, 0.72fr) minmax(220px, 1fr);
  align-items: center;
  gap: 52px;
  margin-top: 42px;
  padding: 40px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 106, 61, 0.13), transparent 34%),
    rgba(13, 15, 16, 0.92);
  background-size: auto;
}

html[data-theme="light"] .system-map,
html[data-theme="light"] .command-window,
html[data-theme="light"] .agent-workspace,
html[data-theme="light"] .execution-panel {
  background-color: #121416;
  color: #f5f1ea;
}

.system-column {
  display: grid;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.system-column__label {
  margin: 0 0 2px;
  color: var(--ink-muted);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.system-pill {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 54px;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  background: rgba(25, 27, 28, 0.92);
  color: #f5f1ea;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

.system-pill__icon {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  color: #111416;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0;
}

.system-pill__icon img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.system-pill__icon--crm {
  background: rgba(85, 216, 255, 0.92);
}

.system-pill__icon--response {
  background: rgba(255, 177, 143, 0.94);
}

.system-pill__icon--audit {
  background: rgba(137, 230, 111, 0.92);
}

.system-core {
  width: min(180px, 100%);
  display: grid;
  justify-self: center;
  place-items: center;
  align-content: center;
  gap: 12px;
  position: relative;
  z-index: 1;
  padding: 16px;
  margin-top: 34px;
  border-radius: 28px;
  text-align: center;
  border: 1px solid rgba(255, 106, 61, 0.32);
  background: radial-gradient(circle, transparent 58%, rgba(255, 106, 61, 0.08) 100%);
}

.system-core__logo {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background: rgba(255, 106, 61, 0.18);
}

.system-core__logo img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.system-core p {
  margin: 0;
  position: relative;
  z-index: 1;
  color: var(--accent-soft);
  font-size: 0.75rem;
  font-family: var(--font-display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.system-core strong {
  max-width: 20ch;
  position: relative;
  z-index: 1;
  font-size: 1rem;
  line-height: 1.12;
}

.agent-demo {
  padding-top: 94px;
}

.demo-journey {
  margin-top: 34px;
  display: grid;
  gap: 14px;
}

.demo-journey__label {
  margin: 0;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.demo-journey__sentence {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 1.28rem;
  line-height: 1.35;
}

.journey-select {
  min-width: 260px;
  min-height: 42px;
  max-width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.045);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.journey-select:hover,
.journey-select:focus-visible {
  border-color: var(--line-strong);
  color: var(--accent);
  background: rgba(255, 255, 255, 0.065);
}

.journey-select option {
  background: var(--surface);
  color: var(--ink);
}

.demo-journey .ss-main {
  --ss-primary-color: var(--accent);
  --ss-bg-color: rgba(255, 255, 255, 0.045);
  --ss-font-color: var(--ink);
  --ss-font-placeholder-color: var(--ink-muted);
  --ss-border-color: var(--line);
  --ss-border-radius: var(--radius-md);
  --ss-spacing-l: 0;
  --ss-spacing-m: 0;
  --ss-spacing-s: 0;
  width: auto;
  min-width: 260px;
  min-height: 48px;
  overflow: hidden;
  padding: 0 12px 0 14px;
  border-color: var(--ss-border-color);
  border-radius: var(--radius-md);
  background: var(--ss-bg-color);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

.demo-journey .ss-main:hover,
.demo-journey .ss-main:focus,
.demo-journey .ss-main.ss-open-below,
.demo-journey .ss-main.ss-open-above {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.065);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.demo-journey .ss-main.ss-open-below {
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.demo-journey .ss-main[aria-expanded="true"].ss-dir-below {
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.demo-journey .ss-main.ss-open-above {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.demo-journey .ss-main[aria-expanded="true"].ss-dir-above {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.demo-journey .ss-main .ss-values {
  min-width: 0;
  min-height: 46px;
  align-items: center;
  gap: 10px;
}

.demo-journey .ss-main .ss-values .ss-single {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: var(--ink);
  text-overflow: ellipsis;
  transition: color 0.18s ease;
}

.demo-journey .ss-main:hover .ss-values .ss-single,
.demo-journey .ss-main:focus .ss-values .ss-single,
.demo-journey .ss-main.ss-open-below .ss-values .ss-single,
.demo-journey .ss-main.ss-open-above .ss-values .ss-single {
  color: var(--accent);
}

.journey-select-option {
  display: inline-flex;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  align-items: center;
  gap: 8px;
  font-size: 0.94rem;
  line-height: 1.15;
}

.journey-select-option img,
.journey-select-option svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.journey-select-option svg {
  fill: none;
}

.journey-select-option path,
.journey-select-option rect,
.journey-select-option circle {
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.journey-select-option span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.demo-journey .ss-main .ss-arrow {
  flex: 0 0 auto;
  margin-left: 10px;
  color: color-mix(in srgb, var(--ss-primary-color) 74%, var(--ink));
}

.demo-journey .ss-main .ss-arrow path {
  stroke: currentColor;
}

.ss-content {
  --ss-primary-color: var(--accent);
  --ss-bg-color: color-mix(in srgb, var(--surface-raised) 92%, transparent);
  --ss-font-color: var(--ink);
  --ss-border-color: rgba(255, 255, 255, 0.14);
  overflow: hidden;
  border-color: var(--ss-border-color);
  border-radius: var(--radius-md);
  background: var(--ss-bg-color);
  color: var(--ink);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
  transform-origin: top center;
  animation: selectMenuIn 0.18s cubic-bezier(0.22, 1, 0.36, 1);
}

.ss-content.ss-open-below {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.ss-content.journey-select.ss-open.ss-dir-below {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom-right-radius: var(--radius-md);
  border-bottom-left-radius: var(--radius-md);
}

.ss-content.ss-open-above {
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.ss-content.journey-select.ss-open.ss-dir-above {
  border-top-left-radius: var(--radius-md);
  border-top-right-radius: var(--radius-md);
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.ss-content .ss-list {
  padding: 6px;
}

.ss-content .ss-list .ss-option {
  min-height: 38px;
  display: flex;
  align-items: center;
  margin: 2px 0;
  padding: 9px 10px;
  border-left: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: transparent;
  background-color: transparent;
  color: var(--ink-muted);
  font-size: 0.94rem;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.ss-content .ss-list .ss-option:hover,
.ss-content .ss-list .ss-option.ss-highlighted {
  border-left-color: color-mix(in srgb, var(--accent) 38%, transparent);
  background: transparent;
  background-color: transparent;
  color: var(--accent);
}

.ss-content .ss-list .ss-option.ss-selected,
.ss-content .ss-list .ss-option:not(.ss-disabled).ss-selected {
  background: transparent;
  background-color: transparent;
  color: var(--ink);
  font-weight: 700;
}

.ss-content .ss-list .ss-option:not(.ss-disabled).ss-selected:hover,
.ss-content .ss-list .ss-option:not(.ss-disabled).ss-selected.ss-highlighted {
  color: var(--accent);
}

.ss-content.journey-select .ss-list .ss-option,
.ss-content.journey-select .ss-list .ss-option:not(.ss-disabled),
.ss-content.journey-select .ss-list .ss-option:not(.ss-disabled).ss-selected,
.ss-content.journey-select .ss-list .ss-option:not(.ss-disabled):hover,
.ss-content.journey-select .ss-list .ss-option:not(.ss-disabled).ss-highlighted {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
}

.ss-content.journey-select .ss-list .ss-option:not(.ss-disabled):hover,
.ss-content.journey-select .ss-list .ss-option:not(.ss-disabled).ss-highlighted,
.ss-content.journey-select .ss-list .ss-option:not(.ss-disabled).ss-selected:hover,
.ss-content.journey-select .ss-list .ss-option:not(.ss-disabled).ss-selected.ss-highlighted {
  color: var(--accent) !important;
}

.demo-experience {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.42fr);
  align-items: stretch;
  gap: 18px;
  margin-top: 18px;
}

.agent-workspace {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: rgba(12, 14, 15, 0.94);
  box-shadow: 0 26px 72px rgba(0, 0, 0, 0.3);
}

.workspace-chrome {
  min-height: 56px;
  gap: 16px;
  align-items: center;
  overflow-x: auto;
}

.workspace-chrome__title {
  min-width: 0;
  overflow: hidden;
  color: var(--ink-muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.window-dots {
  display: flex;
  gap: 7px;
  flex: 0 0 auto;
}

.workspace-body {
  --channel: var(--accent);
  --channel-soft: rgba(255, 106, 61, 0.16);
  --channel-line: rgba(255, 255, 255, 0.12);
  --workspace-bg: #0f1113;
  --rail-bg: #0c0d0f;
  --sidebar-bg: #121417;
  --chat-bg: #101214;
  --chat-header-bg: #15181b;
  --human-bubble: #1d2125;
  --agent-bubble: rgba(255, 106, 61, 0.12);
  --system-bubble: rgba(85, 216, 255, 0.07);
  --process-bg: #101315;
  --avatar-bg: linear-gradient(135deg, #ffb18f, #ff6a3d);
  --channel-glow: rgba(255, 106, 61, 0.14);
  --chat-text: #f5f1ea;
  --chat-muted: #aaa39a;
  --chat-row-hover: rgba(255, 255, 255, 0.05);
  --composer-bg: rgba(255, 255, 255, 0.07);
  --skeleton-base: rgba(255, 255, 255, 0.11);
  --skeleton-highlight: rgba(255, 255, 255, 0.2);
  /* height: min(580px, calc(100vh - 140px)); */
  height: calc(100% - 56px);
  min-height: 360px;
  display: grid;
  grid-template-columns: 64px 228px minmax(0, 1fr);
  background:
    radial-gradient(circle at 18% 0%, var(--channel-glow), transparent 34%),
    linear-gradient(135deg, var(--workspace-bg), #0b0d0e 72%);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.workspace-body.is-switching {
  opacity: 0.25;
  transform: translateX(14px);
}

.workspace-app-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 14px 10px;
  border-right: 1px solid var(--channel-line);
  background: var(--rail-bg);
}

.workspace-app-rail__item {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--chat-muted);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0;
}

.workspace-app-rail__item.is-active {
  background: var(--channel-soft);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--channel) 40%, transparent);
}

.workspace-app-rail__item img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.workspace-app-rail__item.is-obfuscated {
  overflow: hidden;
  color: transparent;
}

.workspace-app-rail__item.is-obfuscated::before {
  content: "";
  width: 22px;
  height: 22px;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--skeleton-base), var(--skeleton-highlight), var(--skeleton-base));
  background-size: 180% 100%;
  /* animation: skeletonSheen 1.8s ease-in-out infinite; */
}

.workspace-app-rail__item.is-obfuscated-2::before {
  width: 25px;
  height: 18px;
}

.workspace-app-rail__item.is-obfuscated-3::before {
  width: 18px;
  height: 18px;
  border-radius: 50%;
}

.workspace-sidebar {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 0;
  overflow-y: auto;
  padding: 18px;
  border-right: 1px solid var(--channel-line);
  background: var(--sidebar-bg);
  color: var(--chat-text);
}

.workspace-sidebar__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.workspace-sidebar__logo {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--channel) 32%, transparent);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.9);
}

.workspace-sidebar__logo img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.workspace-sidebar p {
  margin: 0;
  color: var(--chat-muted);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.workspace-sidebar strong {
  font-size: 1.2rem;
  line-height: 1.12;
}

.workspace-sidebar > span {
  width: fit-content;
  padding: 6px 10px;
  border: 1px solid color-mix(in srgb, var(--channel) 36%, transparent);
  border-radius: 999px;
  color: var(--chat-text);
  background: var(--channel-soft);
  font-size: 0.78rem;
}

.workspace-sidebar__channels {
  display: grid;
  gap: 3px;
  margin-top: 6px;
}

.workspace-sidebar__section-label {
  display: block;
  margin: 2px 0 5px;
  color: var(--chat-muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.workspace-sidebar__channel {
  display: flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 10px;
  border-radius: 7px;
  color: var(--chat-muted);
  font-size: 0.86rem;
}

.workspace-sidebar__channel.is-active {
  background: var(--channel-soft);
  color: var(--chat-text);
}

.workspace-sidebar__channel.is-obfuscated {
  overflow: hidden;
  color: transparent;
}

.workspace-sidebar__channel.is-obfuscated::before {
  content: "";
  display: block;
  width: 72%;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--skeleton-base), var(--skeleton-highlight), var(--skeleton-base));
  background-size: 180% 100%;
  /* animation: skeletonSheen 1.8s ease-in-out infinite; */
}

.workspace-sidebar__channel.is-obfuscated-2::before {
  width: 58%;
}

.workspace-sidebar__channel.is-obfuscated-3::before {
  width: 82%;
}

.workspace-sidebar__channel.is-obfuscated-4::before {
  width: 66%;
}

.chat-surface {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  border-right: 1px solid var(--channel-line);
  background: var(--chat-bg);
  color: var(--chat-text);
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--channel-line);
  background: var(--chat-header-bg);
}

.chat-header p {
  margin: 0;
  color: var(--chat-text);
  font-size: 1rem;
  font-weight: 700;
}

.channel-slack .chat-header p::before,
.channel-discord .chat-header p::before {
  content: "# ";
  color: var(--channel);
}

.chat-header span {
  display: block;
  margin-top: 4px;
  color: var(--chat-muted);
  font-size: 0.82rem;
}

.chat-header strong {
  flex: 0 0 auto;
  padding: 6px 10px;
  border: 1px solid color-mix(in srgb, var(--channel) 42%, transparent);
  border-radius: 999px;
  color: var(--chat-text);
  background: var(--channel-soft);
  font-size: 0.76rem;
}

.chat-stream {
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 22px;
  overflow-y: auto;
}

.message {
  width: min(94%, 680px);
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  padding: 8px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  animation: messageIn 0.38s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.message--user,
.message--agent {
  align-self: flex-start;
}

.message__avatar {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: var(--avatar-bg);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.24);
  overflow: hidden;
}

.message__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.message--agent .message__avatar img,
.message--handoff .message__avatar img,
.message--system .message__avatar img {
  width: 70%;
  height: 70%;
  object-fit: contain;
}

.message__content {
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 14px;
  background: var(--human-bubble);
}

.message--agent .message__content {
  border-color: color-mix(in srgb, var(--channel) 34%, transparent);
  background: var(--agent-bubble);
}

.message--system,
.message--handoff {
  width: min(96%, 680px);
  align-self: center;
}

.message--system .message__content,
.message--handoff .message__content {
  border-style: dashed;
  background: var(--system-bubble);
}

.channel-slack .message,
.channel-discord .message {
  padding: 7px 14px;
  width: 100%;
}

.channel-slack .message:hover,
.channel-discord .message:hover {
  background: var(--chat-row-hover);
}

.channel-slack .message__content,
.channel-discord .message__content {
  padding: 0;
  border-color: transparent;
  background: transparent;
}

.channel-slack .message--agent .message__content,
.channel-slack .message--system .message__content,
.channel-slack .message--handoff .message__content {
  padding: 10px 12px;
  border-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: var(--agent-bubble);
}

.channel-slack .message__avatar {
  border-radius: 9px;
}

.channel-teams .message {
  width: min(92%, 640px);
}

.channel-teams .message__content {
  border-color: #e1dfdd;
  border-radius: 5px 16px 16px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.channel-google .message__content {
  border-color: #dadce0;
  border-radius: 18px;
}

.channel-discord .message {
  width: min(96%, 680px);
}

.channel-discord .message__content {
  padding: 3px 0 8px;
  border-color: transparent;
  background: transparent;
}

.channel-discord .message--agent .message__content,
.channel-discord .message--system .message__content,
.channel-discord .message--handoff .message__content {
  padding: 10px 12px;
  border-color: color-mix(in srgb, var(--channel) 28%, transparent);
  border-radius: 10px;
  background: var(--agent-bubble);
}

.channel-discord .workspace-app-rail__item {
  border-radius: 50%;
}

.channel-discord .workspace-app-rail__item.is-active {
  border-radius: 15px;
}

.channel-discord .workspace-sidebar__logo,
.channel-discord .message__avatar {
  border-radius: 50%;
}

.channel-slack .workspace-sidebar__channel.is-active {
  background: rgba(255, 255, 255, 0.16);
}

.channel-slack .chat-header {
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.08);
}

.channel-teams .workspace-app-rail__item,
.channel-google .workspace-app-rail__item {
  background: #ffffff;
  color: var(--chat-muted);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.channel-teams .workspace-app-rail__item.is-active {
  background: #6264a7;
  color: #ffffff;
}

.channel-google .workspace-app-rail__item.is-active {
  background: #e8f0fe;
  color: #1a73e8;
}

.channel-teams .workspace-app-rail__item:first-child.is-active,
.channel-google .workspace-app-rail__item:first-child.is-active {
  background: var(--channel);
}

.channel-teams .workspace-sidebar__channel.is-active,
.channel-google .workspace-sidebar__channel.is-active {
  font-weight: 700;
}

.channel-teams .process-step,
.channel-google .process-step {
  border-color: var(--channel-line);
  background: #ffffff;
}

.channel-teams .process-step.is-active,
.channel-google .process-step.is-active {
  background: var(--agent-bubble);
}

.channel-teams .process-step.is-complete,
.channel-google .process-step.is-complete {
  background: #ffffff;
}

.message__meta {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  color: var(--chat-muted);
  font-size: 0.76rem;
}

.message__meta strong {
  color: var(--chat-text);
  font-size: 0.82rem;
}

.message p {
  margin: 0;
  color: var(--chat-text);
  line-height: 1.52;
}

.typing {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--chat-muted);
  font-size: 0.76rem;
}

.typing__label {
  white-space: nowrap;
}

.typing__dots {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  background: var(--agent-bubble);
}

.chat-composer {
  margin: 0 20px 18px;
  padding: 12px 14px;
  border: 1px solid var(--channel-line);
  border-radius: 10px;
  background: var(--composer-bg);
  color: var(--chat-muted);
  font-size: 0.88rem;
}

.typing__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffffff;
  animation: typingPulse 1s ease-in-out infinite;
}

.typing__dot:nth-child(2) {
  animation-delay: 0.15s;
}

.typing__dot:nth-child(3) {
  animation-delay: 0.3s;
}

.workflow-story {
  --channel: var(--accent);
  --channel-soft: rgba(255, 106, 61, 0.13);
  --channel-line: var(--line);
  --chat-text: var(--ink);
  --chat-muted: var(--ink-muted);
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 18% 0%, color-mix(in srgb, var(--channel) 20%, transparent), transparent 32%),
    rgba(255, 255, 255, 0.035);
  box-shadow: var(--shadow-soft);
}

.workflow-story__header {
  display: grid;
  gap: 10px;
}

.workflow-story__header .eyebrow {
  width: fit-content;
}

.workflow-story__header h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.85rem;
  line-height: 1;
}

.workflow-story__header p:not(.eyebrow) {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.workflow-story__header > span {
  width: fit-content;
  padding: 6px 10px;
  border: 1px solid color-mix(in srgb, var(--channel) 34%, transparent);
  border-radius: 999px;
  color: var(--ink);
  background: var(--channel-soft);
  font-size: 0.76rem;
}

.process-steps,
.task-ledger {
  position: relative;
  z-index: 1;
}

.process-steps {
  display: grid;
  gap: 12px;
  counter-reset: story-step;
}

.process-step {
  counter-increment: story-step;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius-md);
  background: rgba(12, 14, 15, 0.9);
  color: var(--chat-muted);
}

.process-step__dot {
  width: 12px;
  height: 12px;
  margin-top: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.workflow-story .process-step {
  align-items: start;
  border-color: color-mix(in srgb, var(--channel) 16%, var(--line));
  background: rgba(255, 255, 255, 0.045);
}

.workflow-story .process-step__dot {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  margin-top: 0;
  background: var(--channel-soft);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
}

.workflow-story .process-step__dot::before {
  content: counter(story-step);
}

.workflow-story .process-step.is-complete .process-step__dot {
  background: rgba(137, 230, 111, 0.18);
  color: var(--green);
}

.workflow-story .task-ledger {
  margin-top: 0;
  padding-top: 4px;
}

.process-step.is-active {
  border-color: color-mix(in srgb, var(--channel) 48%, transparent);
  color: var(--chat-text);
  box-shadow: 0 0 0 1px var(--channel-soft);
}

.process-step.is-complete {
  border-color: rgba(137, 230, 111, 0.24);
}

.process-step.is-complete .process-step__dot {
  background: var(--green);
}

.process-step.is-active .process-step__dot {
  background: var(--channel);
  animation: dotPulse 1.8s ease-in-out infinite;
}

.process-step strong {
  display: block;
  margin-bottom: 4px;
  color: var(--chat-text);
  font-size: 0.92rem;
}

.process-step p {
  margin: 0;
  font-size: 0.76rem;
  line-height: 1.45;
}

.task-ledger {
  display: grid;
  gap: 9px;
  margin-top: 20px;
}

.ledger-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--chat-muted);
  font-size: 0.78rem;
}

.ledger-row strong {
  color: var(--chat-text);
  font-weight: 600;
}

.ledger-row span:last-child {
  color: var(--green);
}

.channel-slack {
  --channel: #e01e5a;
  --channel-soft: rgba(74, 21, 75, 0.72);
  --channel-line: rgba(255, 255, 255, 0.12);
  --workspace-bg: #1d1c1d;
  --rail-bg: #211026;
  --sidebar-bg: #3f0e40;
  --chat-bg: #1d1c1d;
  --chat-header-bg: #1d1c1d;
  --human-bubble: transparent;
  --agent-bubble: rgba(74, 21, 75, 0.38);
  --system-bubble: rgba(29, 155, 209, 0.12);
  --process-bg: #181719;
  --chat-text: #f8f8f8;
  --chat-muted: #b7adb8;
  --chat-row-hover: rgba(255, 255, 255, 0.06);
  --composer-bg: #222529;
  --avatar-bg: linear-gradient(135deg, #36c5f0, #e01e5a);
  --channel-glow: rgba(224, 30, 90, 0.16);
}

.channel-teams {
  --channel: #6264a7;
  --channel-soft: rgba(98, 100, 167, 0.14);
  --channel-line: #e1dfdd;
  --workspace-bg: #f5f5f7;
  --rail-bg: #ebebf2;
  --sidebar-bg: #f3f2f1;
  --chat-bg: #ffffff;
  --chat-header-bg: #ffffff;
  --human-bubble: #f5f5f5;
  --agent-bubble: #f0f0ff;
  --system-bubble: #f7f7fb;
  --process-bg: #fafafa;
  --chat-text: #242424;
  --chat-muted: #616161;
  --chat-row-hover: #f5f5f5;
  --composer-bg: #ffffff;
  --avatar-bg: linear-gradient(135deg, #8b8cc7, #6264a7);
  --channel-glow: rgba(98, 100, 167, 0.08);
  --skeleton-base: rgba(36, 36, 36, 0.09);
  --skeleton-highlight: rgba(36, 36, 36, 0.18);
}

.channel-google {
  --channel: #1a73e8;
  --channel-soft: rgba(26, 115, 232, 0.12);
  --channel-line: #dadce0;
  --workspace-bg: #ffffff;
  --rail-bg: #f8fafd;
  --sidebar-bg: #f8fafd;
  --chat-bg: #ffffff;
  --chat-header-bg: #ffffff;
  --human-bubble: #f1f3f4;
  --agent-bubble: #e8f0fe;
  --system-bubble: #e6f4ea;
  --process-bg: #f8fafd;
  --chat-text: #202124;
  --chat-muted: #5f6368;
  --chat-row-hover: #f1f3f4;
  --composer-bg: #f1f3f4;
  --avatar-bg: linear-gradient(135deg, #34a853, #1a73e8);
  --channel-glow: rgba(26, 115, 232, 0.08);
  --skeleton-base: rgba(32, 33, 36, 0.09);
  --skeleton-highlight: rgba(32, 33, 36, 0.17);
}

.channel-discord {
  --channel: #5865f2;
  --channel-soft: rgba(88, 101, 242, 0.22);
  --channel-line: rgba(255, 255, 255, 0.08);
  --workspace-bg: #1e1f22;
  --rail-bg: #1e1f22;
  --sidebar-bg: #2b2d31;
  --chat-bg: #313338;
  --chat-header-bg: #2b2d31;
  --human-bubble: transparent;
  --agent-bubble: rgba(88, 101, 242, 0.24);
  --system-bubble: rgba(88, 101, 242, 0.12);
  --process-bg: #25272d;
  --chat-text: #f2f3f5;
  --chat-muted: #b5bac1;
  --chat-row-hover: rgba(255, 255, 255, 0.045);
  --composer-bg: #383a40;
  --avatar-bg: linear-gradient(135deg, #5865f2, #eb459e);
  --channel-glow: rgba(88, 101, 242, 0.18);
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 92px;
}

.workflow-step {
  position: relative;
  min-height: 264px;
  isolation: isolate;
}

.workflow-step__number {
  position: absolute;
  top: -44px;
  right: 18px;
  z-index: 0;
  color: rgba(255, 106, 61, 1);
  font-family: var(--font-sans);
  font-size: clamp(5.9rem, 8vw, 8.2rem);
  line-height: 0.78;
  letter-spacing: 0;
  pointer-events: none;
  will-change: transform;
}

html[data-theme="light"] .workflow-step__number {
  color: rgba(255, 106, 61, 0.2);
}

.workflow-card {
  position: relative;
  z-index: 1;
  height: 100%;
  overflow: hidden;
  min-height: 264px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
}

html[data-theme="light"] .workflow-card {
  background: rgba(255, 255, 255, 0.78);
}

.outcome-card__kicker span:last-child {
  display: block;
  color: var(--accent);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.workflow-card h3 {
  position: relative;
  z-index: 1;
  margin-top: 86px;
  font-size: 1.35rem;
  line-height: 1.1;
}

.workflow-card p {
  position: relative;
  z-index: 1;
  margin: 16px 0 0;
  color: var(--ink-muted);
  font-size: 0.88rem;
}

.execution-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  margin-top: 34px;
  padding: 30px;
  border-radius: var(--radius-lg);
  background-size: 36px 36px;
}

.execution-panel h3 {
  font-family: var(--font-display);
  font-size: 2.1rem;
}

.execution-panel p:not(.eyebrow) {
  color: var(--ink-muted);
}

.execution-terminal {
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.32);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.84rem;
}

.execution-terminal p {
  margin: 0;
  color: #e4e0d8;
  line-height: 1.55;
}

.execution-terminal span {
  display: inline-block;
  min-width: 58px;
  color: var(--accent-soft);
}

.integrations__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 42px;
}

.integration-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 58px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.035);
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

html[data-theme="light"] .integration-chip {
  background: rgba(255, 255, 255, 0.74);
}

.integration-chip img {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.integration-chip__label {
  flex: 1;
  min-width: 0;
}

.integration-chip::after {
  content: "+";
  display: grid;
  font-weight: bold;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  color: #21100a;
  background:
    linear-gradient(90deg, rgba(255, 79, 23, 0.94), rgba(255, 106, 61, 0.94)),
    var(--accent);
  box-shadow: 0 10px 22px rgba(255, 79, 23, 0.18);
}

.integration-chip:hover,
.integration-chip:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 106, 61, 0.4);
  box-shadow: var(--shadow-soft);
}

html[data-theme="dark"] .integration-chip--invert-dark img {
  filter: brightness(0) invert(1);
}

.outcome-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 42px;
}

.outcome-grid article {
  /* min-height: 278px; */
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
}

html[data-theme="light"] .outcome-grid article {
  background: rgba(255, 255, 255, 0.78);
}

.outcome-grid h3 {
  margin: 32px 0 0;
  font-size: 1.6rem;
  line-height: 1.08;
  font-family: var(--font-display);
}

.outcome-card__kicker {
  display: flex;
  align-items: center;
  gap: 10px;
}

.outcome-card__icon {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 106, 61, 0.3);
  border-radius: var(--radius-sm);
  background: rgba(255, 106, 61, 0.11);
  color: var(--accent-soft);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

html[data-theme="light"] .outcome-card__icon {
  background: rgba(255, 106, 61, 0.1);
  color: var(--accent);
}

.outcome-card__icon svg {
  width: 17px;
  height: 17px;
}

.outcome-card__icon path,
.outcome-card__icon circle,
.outcome-card__icon ellipse {
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.outcome-grid p {
  margin: 18px 0 0;
  color: var(--ink-muted);
}

.cta {
  padding-bottom: 104px;
}

.cta__inner {
  position: relative;
  width: min(1700px, 94vw);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: clamp(34px, 5vw, 76px);
  align-items: center;
  overflow: hidden;
  padding: clamp(50px, 5vw, 78px);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(90deg, rgba(255, 79, 23, 0.94), rgba(255, 106, 61, 0.94)),
    var(--accent);
  color: #ffffff;
  box-shadow: var(--shadow);
  transform-origin: 50% 50%;
}

.cta__inner > div {
  position: relative;
  z-index: 1;
}

.cta h2 {
  max-width: 34ch;
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 3.8vw, 4.35rem);
  line-height: 0.98;
}

.cta p:not(.eyebrow) {
  max-width: 78ch;
  color: rgba(255, 255, 255, 0.82);
}

.cta__actions {
  display: grid;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.footer {
  padding: 18px 0 22px;
  border-top: 1px solid var(--line);
  background: rgba(8, 9, 10, 0.48);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 42px;
}

.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.footer__brand .logo img {
  width: 136px;
  max-height: 30px;
}

.footer__meta {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.78rem;
  line-height: 1.35;
  white-space: nowrap;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  color: var(--ink-muted);
  font-size: 0.78rem;
}

.footer__links a {
  padding: 7px 9px;
  border-radius: 999px;
  line-height: 1;
}

.footer__links a:hover,
.footer__links a:focus-visible {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
}

.integration-dialog,
.demo-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 32px 20px;
  background: rgba(6, 7, 8, 0.78);
  backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.demo-modal {
  z-index: 55;
}

.integration-dialog.is-open,
.demo-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.integration-dialog__panel,
.demo-modal__panel {
  width: min(780px, 100%);
  max-height: min(88vh, 850px);
  overflow: auto;
  position: relative;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(23, 23, 23, 0.75);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(18px) scale(0.985);
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.24s ease;
}

.integration-dialog__panel {
  width: min(940px, 100%);
  padding: 0;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 106, 61, 0.2), transparent 34%),
    linear-gradient(145deg, rgba(26, 25, 24, 0.96), rgba(14, 15, 16, 0.94));
}

.integration-dialog.is-open .integration-dialog__panel,
.demo-modal.is-open .demo-modal__panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.integration-dialog__close,
.demo-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.integration-dialog__close:hover,
.integration-dialog__close:focus-visible,
.demo-modal__close:hover,
.demo-modal__close:focus-visible {
  background: rgba(255, 255, 255, 0.08);
}

.integration-dialog__eyebrow,
.demo-modal__eyebrow {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 12px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(255, 79, 23, 0.94), rgba(255, 106, 61, 0.94)),
    var(--accent);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  box-shadow: 0 12px 26px rgba(255, 79, 23, 0.18);
}

.integration-dialog__header {
  padding: 34px 36px 28px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 106, 61, 0.1), transparent 52%),
    rgba(255, 255, 255, 0.025);
}

.integration-dialog__heading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  padding-right: 44px;
}

.integration-dialog__app-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
}

.integration-dialog__app-icon img {
  width: 31px;
  height: 31px;
  object-fit: contain;
}

.demo-modal__intro h3 {
  padding-right: 44px;
  font-family: var(--font-display);
  font-size: 2.6rem;
}

.integration-dialog h3 {
  padding-right: 0;
  max-width: 15ch;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 6vw, 3.8rem);
  line-height: 0.9;
}

.integration-dialog__summary,
.demo-modal__intro p:last-child,
.demo-form__note,
.demo-form__status,
.demo-form__success p {
  color: var(--ink-muted);
}

.integration-dialog__summary {
  max-width: 68ch;
  margin: 18px 0 0;
  font-size: 0.98rem;
  line-height: 1.65;
}

.integration-dialog__overview,
.integration-dialog__content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.integration-dialog__overview {
  padding: 18px 36px 0;
}

.integration-dialog__content {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 16px 36px 36px;
}

.integration-dialog__meta-card,
.integration-dialog__section,
.demo-form__success {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
}

.integration-dialog__meta-card,
.integration-dialog__section {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.integration-dialog__meta-card {
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.022)),
    rgba(255, 255, 255, 0.035);
}

.integration-dialog__meta-card span {
  display: block;
  color: var(--accent-soft);
  font-size: 0.74rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.integration-dialog__meta-card p {
  margin: 10px 0 0;
  color: var(--ink);
  font-size: 0.96rem;
  line-height: 1.5;
}

.integration-dialog__section {
  padding: 22px;
}

.demo-form__success {
  padding: 18px;
}

.integration-dialog__section h4 {
  margin: 8px 0 18px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1;
}

.integration-dialog__section-label {
  display: inline-flex;
  width: fit-content;
  padding: 5px 9px;
  border: 1px solid rgba(255, 106, 61, 0.26);
  border-radius: 999px;
  background: rgba(255, 106, 61, 0.11);
  color: var(--accent-soft);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.integration-dialog__section ul,
.integration-dialog__section ol {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  color: var(--ink-muted);
  line-height: 1.55;
  list-style: none;
}

.integration-dialog__section li {
  margin: 0;
}

.integration-dialog__section--capabilities li,
.integration-dialog__section--workflows li {
  display: grid;
  align-items: start;
  gap: 11px;
}

.integration-dialog__section--capabilities li {
  grid-template-columns: auto 1fr;
}

.integration-dialog__section--capabilities li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 0.58em;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 106, 61, 0.12);
}

.integration-dialog__section--workflows ol {
  counter-reset: integration-workflow;
}

.integration-dialog__section--workflows li {
  grid-template-columns: 22px 1fr;
  counter-increment: integration-workflow;
}

.integration-dialog__section--workflows li::before {
  content: counter(integration-workflow);
  display: block;
  width: auto;
  height: auto;
  margin-top: -0.02em;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--accent);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.45;
}

.demo-form {
  margin-top: 28px;
}

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

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

.demo-form__field span {
  color: var(--ink);
  font-size: 0.86rem;
}

.demo-form__field input,
.demo-form__field select,
.demo-form__field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.07);
  color: var(--ink);
  resize: vertical;
}

html[data-theme="light"] .demo-form__field input,
html[data-theme="light"] .demo-form__field select,
html[data-theme="light"] .demo-form__field textarea {
  background: rgba(255, 255, 255, 0.9);
}

.demo-form__field select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ink-muted) 50%),
    linear-gradient(135deg, var(--ink-muted) 50%, transparent 50%);
  background-position:
    calc(100% - 22px) calc(50% - 3px),
    calc(100% - 16px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 42px;
}

.demo-form__field select option {
  background: var(--bg-strong);
  color: var(--ink);
}

.demo-form__field input::placeholder,
.demo-form__field textarea::placeholder {
  color: var(--ink-muted);
}

.demo-form__field--full {
  grid-column: 1 / -1;
}

.demo-form__actions {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-top: 22px;
}

.demo-form__status {
  min-height: 1.4em;
  margin: 0;
}

.demo-form__status.is-error {
  color: #ff9d7a;
}

.demo-form__note {
  margin: 6px 0 0;
  font-size: 0.86rem;
}

.demo-form__success {
  margin-top: 24px;
}

.demo-form__success h4 {
  font-size: 1.35rem;
}

.simple-page {
  min-height: 100vh;
}

.simple-page__content {
  max-width: 820px;
  padding: 80px 0;
}

.simple-page__title {
  font-family: var(--font-display);
  font-size: 3.2rem;
}

.text-word {
  display: inline-block;
  transform-origin: 50% 100%;
  overflow-wrap: normal;
  word-break: normal;
  will-change: transform, opacity;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

html.has-gsap [data-reveal] {
  opacity: 1;
  transform: none;
  transition: none;
}

@keyframes heroInnerScrollScale {
  0% {
    scale: 1;
  }
  100% {
    scale: 0.855;
  }
}

@keyframes checkmarkDraw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes statusBreath {
  0%,
  100% {
    opacity: 0;
    transform: scale(0.72);
  }
  45% {
    opacity: 1;
    transform: scale(1.22);
  }
}

@keyframes messageIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes typingPulse {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.38;
  }
  50% {
    transform: translateY(-3px);
    opacity: 1;
  }
}

@keyframes dotPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 106, 61, 0.38);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(255, 106, 61, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 106, 61, 0);
  }
}

@keyframes skeletonSheen {
  0% {
    background-position: 120% 0;
  }
  100% {
    background-position: -80% 0;
  }
}

@keyframes buttonSheen {
  from {
    transform: translateX(-120%) skewX(-18deg);
  }
  to {
    transform: translateX(440%) skewX(-18deg);
  }
}

@media (max-width: 1120px) {
  .hero__inner {
    grid-template-columns: 1fr;
    padding: 54px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: 3.7rem;
  }

  .command-window {
    transform: none;
  }

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

  .workspace-body {
    grid-template-columns: 56px 190px minmax(0, 1fr);
  }

  .process-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workflow-grid,
  .integrations__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 999px) {
  .nav__links,
  .nav__demo {
    display: none;
  }

  .nav__menu-btn {
    display: inline-flex;
  }

  section {
    padding: 70px 0;
  }

  .section__header--split,
  .system-map,
  .execution-panel,
  .cta__inner {
    grid-template-columns: 1fr;
  }

  .section__header h2,
  .cta h2 {
    max-width: 100%;
    font-size: 2.25rem;
  }

  .system-core {
    width: min(300px, 100%);
    justify-self: center;
  }

  .outcome-grid {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    display: grid;
    gap: 10px;
  }

  .footer__brand {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
  }

  .footer__meta {
    white-space: normal;
  }

  .footer__links {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  :root {
    --container-width: min(calc(100% - 32px), var(--container));
    --container-gutter: 16px;
    --grid-column-width: calc(16.666667vw - 5.333333px);
  }

  body {
    background: var(--bg);
  }

  .hero {
    padding-top: 18px;
    padding-bottom: 72px;
  }

  .hero__inner {
    width: auto;
    margin-inline: 16px;
    min-height: auto;
    padding: 36px 20px 22px;
    gap: 34px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: 2rem;
    overflow-wrap: anywhere;
  }

  .hero__copy,
  .hero__visual,
  .hero__stats,
  .command-window {
    width: 100%;
    max-width: calc(100vw - 72px);
  }

  .hero__visual {
    min-height: auto;
    padding-bottom: 36px;
  }

  .lede {
    font-size: 1rem;
  }

  .demo-journey {
    justify-items: start;
  }

  .demo-journey__sentence {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-items: start;
    gap: 8px;
    width: 100%;
    text-align: left;
    font-size: 1.05rem;
    line-height: 1.35;
  }

  .demo-journey__sentence > span {
    display: block;
  }

  .demo-journey .ss-main,
  .demo-journey__sentence .journey-select {
    width: 100%;
    min-width: 0;
    max-width: 360px;
  }

  .hero-checklist {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero__stats {
    grid-template-columns: 1fr;
  }

  .hero__stats div {
    min-height: auto;
  }

  .command-window {
    position: relative;
    inset: auto;
    min-height: 476px;
  }

  .command-window__body {
    min-height: 438px;
  }

  .command-window__node {
    width: auto;
    min-height: 82px;
    gap: 4px;
    padding: 10px 12px;
  }

  .workflow-service-badge {
    min-height: 24px;
    max-width: 118px;
    font-size: 0.62rem;
  }

  .workflow-service-badge::before {
    width: 18px;
    height: 18px;
  }

  .workflow-node__check {
    width: 18px;
    height: 18px;
  }

  .workflow-node__check svg {
    width: 12px;
    height: 12px;
  }

  .workflow-node__label {
    font-size: 0.6rem;
  }

  .command-window__node strong {
    margin-top: 2px;
    font-size: 0.86rem;
    line-height: 1.18;
  }

  .command-window__automation-context {
    top: 16px;
    left: 16px;
    max-width: calc(100% - 32px);
    font-size: 0.58rem;
    transform: none;
  }

  .command-window__node--in {
    top: 50px;
    left: 16px;
    right: 16px;
  }

  .command-window__node--core {
    top: 142px;
    left: 16px;
    right: 16px;
    transform: none;
  }

  .command-window__node--review {
    top: 234px;
    left: 16px;
    right: 16px;
  }

  .command-window__node--out {
    top: 326px;
    left: 16px;
    right: 16px;
    bottom: auto;
  }

  .hero-workflow-controls {
    position: absolute;
    bottom: 26px;
    left: 50%;
    z-index: 3;
    margin: 0;
    transform: translateX(-50%);
  }

  .section__header h2,
  .cta h2,
  .execution-panel h3,
  .simple-page__title {
    font-size: 1.92rem;
  }

  .execution-terminal span {
    display: block;
    min-width: 0;
  }

  .system-map {
    padding: 20px;
  }

  .workspace-body {
    height: auto;
    max-height: none;
    grid-template-columns: 1fr;
  }

  .workspace-app-rail {
    display: none;
  }

  .workspace-sidebar,
  .chat-surface {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .workspace-sidebar {
    grid-template-columns: 1fr auto;
  }

  .workspace-sidebar__channels {
    grid-column: 1 / -1;
  }

  .workspace-sidebar__channel.is-obfuscated {
    display: none;
  }

  .chat-stream {
    height: 400px;
    max-height: 55vh;
  }

  .message {
    width: 100%;
  }

  .process-steps,
  .workflow-grid {
    grid-template-columns: 1fr;
  }

  .integrations__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .integration-chip {
    gap: 8px;
    min-height: 54px;
    padding: 10px;
  }

  .integration-chip img {
    width: 18px;
    height: 18px;
  }

  .integration-chip::after {
    width: 22px;
    height: 22px;
  }

  .workflow-step,
  .workflow-card,
  .outcome-grid article {
    min-height: auto;
  }

  .workflow-card h3 {
    margin-top: 72px;
  }

  .outcome-grid h3 {
    margin-top: 28px;
  }

  .cta__inner {
    padding: 34px 20px;
  }

  .integration-dialog,
  .demo-modal {
    align-items: end;
    padding: 16px;
  }

  .integration-dialog__panel,
  .demo-modal__panel {
    max-height: min(90vh, 920px);
    padding: 24px 20px;
  }

  .integration-dialog__panel {
    padding: 0;
  }

  .integration-dialog__header {
    padding: 26px 20px 22px;
  }

  .integration-dialog__heading {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-right: 44px;
  }

  .integration-dialog__app-icon {
    width: 52px;
    height: 52px;
  }

  .integration-dialog h3,
  .demo-modal__intro h3 {
    font-size: 2rem;
  }

  .integration-dialog__overview,
  .integration-dialog__content,
  .demo-form__grid {
    grid-template-columns: 1fr;
  }

  .integration-dialog__overview {
    padding: 16px 20px 0;
  }

  .integration-dialog__content {
    padding: 16px 20px 22px;
  }

  .demo-form__field--full {
    grid-column: auto;
  }

  .demo-form__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .demo-form__actions .button {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: 1.82rem;
  }

  .hero__stats {
    max-width: 302px;
  }
}

@media (max-width: 460px) {
  .journey-select {
    width: 100%;
  }

  .hero__actions .button {
    width: 100%;
  }

  .chat-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .workspace-sidebar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 359.98px) {
  .integrations__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 339.98px) {
  .hero-checklist {
    grid-template-columns: 1fr;
  }
}

.glassEffectFilter {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.has-frostedGlass {
  background: rgb(255 255 255 / 5%);
  -webkit-backdrop-filter: blur(14px) saturate(125%);
  backdrop-filter: blur(14px) saturate(125%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 8%),
    0 18px 40px rgb(0 0 0 / 14%);
}

html[data-theme] .has-frostedGlass.has-frostedGlass {
  background: rgb(255 255 255 / 5%);
}

html[data-theme="light"] .has-frostedGlass.has-frostedGlass {
  background: rgb(255 255 255 / 62%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 78%),
    0 18px 40px rgb(48 38 29 / 12%);
}

@supports not ((backdrop-filter: blur(2px)) or (-webkit-backdrop-filter: blur(2px))) {
  .has-frostedGlass {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

.has-glassEffect {
  position: relative;
  isolation: isolate;
  background: transparent;
  overflow: hidden;
}

html[data-theme] .has-glassEffect {
  background: transparent;
}

.has-glassEffect::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  background-color: rgb(255 255 255 / 4%);
  box-shadow:
    inset 0 0 0 1px rgb(255 255 255 / 5%),
    inset 0 0 2px 1px rgb(255 255 255 / 5%);
}

.has-glassEffect::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  border-radius: inherit;
  pointer-events: none;
  -webkit-backdrop-filter: blur(0);
  backdrop-filter: blur(0);
  -webkit-filter: url(#glass-distortion);
  filter: url(#glass-distortion);
}

@supports not ((backdrop-filter: blur(2px)) or (-webkit-backdrop-filter: blur(2px))) {
  .has-glassEffect::before,
  .has-glassEffect::after {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .has-glassEffect::after {
    background: linear-gradient(
      145deg,
      rgb(255 255 255 / 12%) 0%,
      rgb(255 255 255 / 4%) 100%
    );
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .hero__inner,
  .cta__inner {
    animation: none !important;
    scale: 1;
  }
}
