:root {
  --blue-950: #071f47;
  --blue-900: #0a2b5f;
  --blue-800: #0f3f84;
  --blue-700: #1657b8;
  --blue-600: #2876e8;
  --blue-500: #4695ff;
  --blue-300: #a7d0ff;
  --blue-200: #cde4ff;
  --blue-100: #e9f3ff;
  --blue-50: #f5f9ff;
  --white: #ffffff;
  --ink: #10213c;
  --muted: #586b84;
  --line: #dce9f7;
  --success: #20a36a;
  --signal: #74e0b4;
  --shadow-soft: 0 8px 24px rgba(24, 84, 158, 0.09);
  --shadow-stage: 0 20px 48px rgba(18, 70, 143, 0.15);
  --radius-sm: 10px;
  --radius-md: 14px;
  --container: 1240px;
  --header-height: 76px;
  --space-2xs: 4px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;
  --space-section: clamp(72px, 8vw, 112px);
  --space-section-tight: clamp(48px, 6vw, 72px);
  --space-section-heading: clamp(40px, 5vw, 64px);
  --font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-body: 1rem;
  --text-lead: 1.125rem;
  --text-display: clamp(3rem, calc(3.4vw + 0.8rem), 4.75rem);
  --text-section: clamp(2.25rem, 4.7vw, 4.4rem);
  --z-content: 1;
  --z-raised: 2;
  --z-header: 50;
  --z-skip-link: 100;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: 1.55;
  font-kerning: normal;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-kerning: normal;
}

body.menu-open {
  overflow: hidden;
}

button,
a {
  font: inherit;
}

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

button {
  color: inherit;
}

svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.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;
  top: 12px;
  left: 12px;
  z-index: var(--z-skip-link);
  transform: translateY(-160%);
  border-radius: 8px;
  background: var(--blue-900);
  color: var(--white);
  padding: 10px 16px;
  font-weight: 700;
  transition: transform 180ms ease;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-header);
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  transition: background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.site-header.scrolled {
  border-bottom-color: rgba(15, 63, 132, 0.08);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 4px 12px rgba(18, 70, 143, 0.05);
  backdrop-filter: blur(14px);
}

.nav-shell {
  width: min(calc(100% - 40px), var(--container));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3125rem;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.brand-logo {
  width: 31px;
  height: 31px;
  display: block;
  flex: 0 0 auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-left: auto;
}

.main-nav a,
.footer-links a {
  position: relative;
  color: #405570;
  font-size: var(--text-sm);
  font-weight: 600;
  transition: color 180ms ease;
}

.main-nav a::after,
.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -5px;
  height: 2px;
  border-radius: 2px;
  background: var(--blue-700);
  transition: right 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.main-nav a:hover,
.footer-links a:hover { color: var(--blue-800); }
.main-nav a:hover::after,
.footer-links a:hover::after { right: 0; }
.main-nav a[aria-current="true"] { color: var(--blue-800); }
.main-nav a[aria-current="true"]::after { right: 0; }

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  border-radius: 10px;
  background: var(--blue-700);
  color: var(--white);
  padding: 0 22px;
  font-size: var(--text-sm);
  font-weight: 700;
  box-shadow: 0 6px 8px rgba(22, 87, 184, 0.2);
  transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1), background-color 180ms ease, box-shadow 180ms ease;
}

.button svg { width: 20px; height: 20px; transition: transform 180ms ease; }
.button:hover { transform: translateY(-2px); background: var(--blue-800); box-shadow: 0 8px 8px rgba(40, 118, 232, 0.18); }
.button:hover svg { transform: translateX(3px); }
.button:active { transform: translateY(0); }

.button-small {
  min-height: 42px;
  border-radius: 9px;
  padding: 0 18px;
  font-size: 0.8125rem;
}

:focus-visible {
  outline: 3px solid rgba(70, 149, 255, 0.45);
  outline-offset: 4px;
}

.menu-toggle {
  display: none;
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
}

.menu-icon-close {
  display: none;
}

.menu-toggle[aria-expanded="true"] .menu-icon-open {
  display: none;
}

.menu-toggle[aria-expanded="true"] .menu-icon-close {
  display: block;
}

.hero {
  position: relative;
  min-height: auto;
  overflow: hidden;
  padding: clamp(116px, 13vh, 152px) 20px var(--space-section-tight);
  background:
    linear-gradient(
      105deg,
      var(--white) 0%,
      var(--white) 28%,
      #f8fbff 50%,
      var(--blue-50) 74%,
      var(--blue-100) 100%
    );
}

.hero-layout {
  position: relative;
  z-index: var(--z-raised);
  width: min(100%, 1400px);
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(420px, 470px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 3vw, 48px);
  margin: 0 auto;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: left;
}

.hero h1 {
  max-width: 620px;
  margin: 0 0 24px;
  color: var(--blue-950);
  font-size: var(--text-display);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.hero h1 > span {
  color: var(--blue-600);
}

.hero-copy > p {
  max-width: 51ch;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.0625rem, 1.4vw, 1.1875rem);
  line-height: 1.65;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 28px;
  margin-top: 32px;
}

.hero-contact-note {
  margin: 16px 0 0 !important;
  color: #526984 !important;
  font-size: var(--text-xs) !important;
  line-height: 1.5 !important;
}

.hero-contact-note a,
.privacy-note a {
  color: var(--blue-800);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--blue-300);
  text-underline-offset: 3px;
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  color: var(--blue-900);
  font-size: var(--text-sm);
  font-weight: 700;
}

.text-link svg { width: 18px; height: 18px; transition: transform 180ms ease; }
.text-link:hover svg { transform: translateY(3px); }

.product-stage {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: none;
  justify-self: start;
  margin: 0;
  padding: 0;
  transform: none;
  transform-origin: left center;
}

.product-frame {
  position: relative;
  z-index: 2;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow-stage);
  transform-origin: 50% 100%;
}

.product-frame picture { display: block; }
.product-screenshot {
  width: 100%;
  height: auto;
  display: block;
}

.app-window {
  position: relative;
  z-index: 2;
  height: 570px;
  overflow: hidden;
  border: 1px solid #d9e7f6;
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow-stage);
  transform-origin: 50% 100%;
}

.app-topbar {
  height: 53px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid #eaf0f6;
  padding: 0 18px;
}

.window-dots { display: flex; gap: 6px; }
.window-dots span { width: 8px; height: 8px; border-radius: 50%; background: #d6e1ec; }
.window-dots span:first-child { background: #8dbff7; }

.app-search {
  width: 230px;
  height: 30px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 7px;
  background: #f5f8fc;
  color: #8a9aaf;
  padding: 0 10px;
  font-size: 9px;
}

.app-search svg { width: 13px; height: 13px; }
.user-avatar { justify-self: end; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--blue-100); color: var(--blue-700); font-size: 8px; font-weight: 800; }

.app-body {
  height: calc(100% - 53px);
  display: grid;
  grid-template-columns: 58px 230px minmax(330px, 1fr) 188px;
}

.app-sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  border-right: 1px solid #e7eef6;
  background: #f7faff;
  padding-top: 15px;
}

.mini-brand { width: 28px; height: 28px; display: block; margin-bottom: 9px; }
.side-icon { width: 34px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 8px; background: transparent; color: #7890ae; cursor: default; }
.side-icon svg { width: 17px; height: 17px; }
.side-icon.active { background: #e5f1ff; color: var(--blue-600); }

.inbox-list { border-right: 1px solid #e7eef6; background: var(--white); }
.inbox-heading { height: 65px; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; }
.inbox-heading div { display: flex; flex-direction: column; gap: 2px; }
.inbox-heading span { color: #8b9aab; font-size: 8px; }
.inbox-heading strong { font-size: 13px; }
.inbox-heading button { width: 26px; height: 26px; border: 0; border-radius: 7px; background: var(--blue-600); color: white; }
.inbox-tabs { display: flex; gap: 12px; border-bottom: 1px solid #edf2f8; padding: 0 13px 9px; color: #91a0b2; font-size: 7px; font-weight: 700; }
.inbox-tabs .active { color: var(--blue-600); }

.contact-row { min-height: 67px; display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 8px; border-bottom: 1px solid #f0f4f8; padding: 0 11px; }
.contact-row.active { position: relative; background: #f1f7ff; }
.contact-row.active::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 3px; background: var(--blue-600); }
.contact-avatar { width: 30px; height: 30px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 50%; font-size: 8px; font-weight: 800; }
.avatar-blue { background: #d8eaff; color: #236dcc; }
.avatar-green { background: #d8f3e6; color: #24845b; }
.avatar-purple { background: #ebe3ff; color: #7552c7; }
.avatar-orange { background: #ffead4; color: #b86a25; }
.contact-copy { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.contact-copy strong { overflow: hidden; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.contact-copy span { overflow: hidden; color: #8291a4; font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }
.contact-meta { align-self: stretch; display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 8px; }
.contact-meta time { color: #99a8b9; font-size: 6px; }
.contact-meta b { width: 14px; height: 14px; display: grid; place-items: center; border-radius: 50%; background: var(--blue-600); color: white; font-size: 6px; }
.contact-meta em { width: 9px; height: 5px; border-bottom: 1.5px solid var(--blue-600); border-right: 1.5px solid var(--blue-600); transform: rotate(45deg); }

.chat-panel { position: relative; min-width: 0; background: #f7faff; }
.chat-header { height: 65px; display: flex; align-items: center; gap: 9px; border-bottom: 1px solid #e7eef6; background: white; padding: 0 15px; }
.chat-header > div:nth-child(2) { display: flex; flex-direction: column; gap: 3px; }
.chat-header strong { font-size: 10px; }
.chat-header span { display: flex; align-items: center; gap: 4px; color: #8393a7; font-size: 7px; }
.chat-header span i { width: 5px; height: 5px; border-radius: 50%; background: var(--success); }
.chat-header button { margin-left: auto; border: 0; background: transparent; color: #8393a7; }
.chat-messages { display: flex; flex-direction: column; align-items: flex-start; height: calc(100% - 118px); padding: 24px 20px; }
.message { max-width: 72%; border-radius: 10px 10px 10px 3px; background: white; color: #40536c; padding: 10px 12px; font-size: 8px; line-height: 1.55; box-shadow: 0 4px 8px rgba(28, 64, 105, 0.05); }
.message.sent { align-self: flex-end; border-radius: 10px 10px 3px 10px; background: var(--blue-600); color: white; }
.message.short { margin-top: 12px; }
.message-time { margin: 5px 2px 12px; color: #9aa8b8; font-size: 6px; }
.message-time.align-right { align-self: flex-end; }
.typing { display: flex; gap: 3px; margin-top: 9px; border-radius: 10px; background: white; padding: 9px 12px; }
.typing span { width: 4px; height: 4px; border-radius: 50%; background: #9aabc0; animation: typing 1.2s infinite ease-in-out; }
.typing span:nth-child(2) { animation-delay: 120ms; }
.typing span:nth-child(3) { animation-delay: 240ms; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .55; } 30% { transform: translateY(-3px); opacity: 1; } }
.chat-compose { position: absolute; left: 14px; right: 14px; bottom: 10px; height: 40px; display: flex; align-items: center; gap: 10px; border: 1px solid #e0e9f3; border-radius: 9px; background: white; color: #9aa8b8; padding: 0 8px 0 12px; font-size: 7px; }
.chat-compose button { border: 0; background: transparent; color: #7f91a8; }
.chat-compose .send-button { width: 26px; height: 26px; display: grid; place-items: center; margin-left: auto; border-radius: 7px; background: var(--blue-600); color: white; font-size: 9px; }

.contact-panel { display: flex; flex-direction: column; align-items: center; border-left: 1px solid #e7eef6; background: white; padding: 24px 16px; }
.profile-avatar { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; font-size: 11px; font-weight: 800; }
.contact-panel > strong { margin-top: 9px; font-size: 10px; }
.contact-panel > span { margin-top: 4px; color: #8797aa; font-size: 7px; }
.profile-divider { width: 100%; height: 1px; margin: 18px 0; background: #edf2f7; }
.detail-label { align-self: flex-start; margin: 11px 0 7px; color: #98a6b6; font-size: 7px; font-weight: 700; }
.agent-chip { width: 100%; display: flex; align-items: center; gap: 7px; }
.agent-chip i { width: 23px; height: 23px; display: grid; place-items: center; border-radius: 50%; background: var(--blue-100); color: var(--blue-700); font-size: 6px; font-style: normal; font-weight: 800; }
.agent-chip span, .team-line { color: #3e5169; font-size: 8px; }
.tags { width: 100%; display: flex; flex-wrap: wrap; gap: 5px; }
.tags span { border-radius: 999px; background: #eaf4ff; color: #2a6dbb; padding: 4px 7px; font-size: 6px; font-weight: 700; }
.tags span:last-child { background: #e8f7ef; color: #27805c; }
.team-line { align-self: flex-start; display: flex; align-items: center; gap: 6px; }
.team-line i { width: 7px; height: 7px; border-radius: 2px; background: var(--blue-500); }

.floating-note {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--blue-200);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  padding: 12px 14px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
}

.floating-note > span:last-child { display: flex; flex-direction: column; gap: 3px; color: #77889e; font-size: 8px; }
.floating-note strong { color: var(--ink); font-size: 10px; }
.note-team { top: 56px; left: 0; }
.note-campaign { right: 0; bottom: 70px; }
.avatar-stack { display: flex; }
.avatar-stack i { width: 28px; height: 28px; display: grid; place-items: center; margin-left: -7px; border: 2px solid white; border-radius: 50%; background: #ddecff; color: var(--blue-700); font-size: 7px; font-style: normal; font-weight: 800; }
.avatar-stack i:first-child { margin-left: 0; }
.avatar-stack i:nth-child(2) { background: #e4f6eb; color: #267956; }
.avatar-stack i:nth-child(3) { background: var(--blue-600); color: white; }
.mini-icon { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; background: var(--blue-100); color: var(--blue-700); }
.mini-icon svg { width: 16px; height: 16px; }

.stage-orbit { position: absolute; border: 1px solid rgba(70, 149, 255, 0.13); border-radius: 50%; pointer-events: none; }
.orbit-one { width: 570px; height: 570px; left: -90px; top: -10px; }
.orbit-two { width: 400px; height: 400px; right: -30px; top: 80px; }

.section {
  padding: var(--space-section) max(20px, calc((100vw - var(--container)) / 2));
}

.operational-proof {
  display: grid;
  grid-template-columns: minmax(260px, .8fr) minmax(0, 1.6fr);
  gap: clamp(48px, 7vw, 104px);
  align-items: center;
  background: var(--blue-950);
  color: var(--white);
  padding: clamp(48px, 6vw, 72px) max(20px, calc((100vw - var(--container)) / 2));
}

.operational-proof-intro h2 {
  max-width: 420px;
  margin: 0;
  color: var(--white);
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.operational-proof-intro p {
  max-width: 46ch;
  margin: 18px 0 0;
  color: #c5d7ec;
  font-size: 0.9375rem;
  line-height: 1.65;
}

.proof-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.proof-points article {
  position: relative;
  min-width: 0;
  display: flex;
  gap: 14px;
  padding: 8px clamp(18px, 2.5vw, 32px);
}

.proof-points article:first-child {
  padding-left: 0;
}

.proof-points article + article::before {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 0;
  width: 1px;
  background: rgba(167, 208, 255, .2);
}

.proof-points article > svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  color: var(--signal);
}

.proof-points h3 {
  margin: 0;
  color: var(--white);
  font-size: 0.9375rem;
  line-height: 1.35;
}

.proof-points p {
  margin: 8px 0 0;
  color: #afc6df;
  font-size: var(--text-xs);
  line-height: 1.55;
}

.section-heading {
  max-width: 760px;
  margin-bottom: var(--space-section-heading);
}

.section-label {
  margin: 0 0 18px;
  color: var(--blue-600);
  font-size: 0.8125rem;
  font-weight: 800;
}

.section h2 {
  margin: 0;
  color: var(--blue-950);
  font-size: var(--text-section);
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.section-heading > p:last-child,
.workflow-intro > p:last-child,
.benefit-copy > p {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.75;
  text-wrap: pretty;
}

.resources .section-heading {
  width: 100%;
  max-width: 960px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-inline: auto;
  text-align: center;
}

.resources .section-heading h2 {
  max-width: 820px;
  font-size: clamp(2.25rem, 4.4vw, 4.1rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
}

.resources .section-heading > p:last-child {
  width: 100%;
  max-width: 760px;
  margin: var(--space-lg) 0 0;
  line-height: 1.65;
  text-align: center;
}

.resources { background: white; }
.feature-explorer { display: grid; grid-template-columns: minmax(340px, .72fr) minmax(560px, 1.28fr); gap: clamp(32px, 4vw, 48px); align-items: stretch; }
.feature-picker { display: none; }
.feature-list { display: flex; flex-direction: column; }
.feature-tab { width: 100%; min-height: 96px; display: grid; grid-template-columns: 44px minmax(0, 1fr) 40px; align-items: center; gap: 16px; border: 0; border-top: 1px solid var(--line); background: transparent; padding: 12px; text-align: left; cursor: pointer; transition: background-color 180ms ease; }
.feature-tab:last-child { border-bottom: 1px solid var(--line); }
.feature-tab:hover { background: var(--blue-50); }
.feature-tab-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: #eef5fd; color: #6b819c; transition: background-color 180ms ease, color 180ms ease; }
.feature-tab-icon svg { width: 20px; height: 20px; }
.feature-tab-copy { display: flex; flex-direction: column; gap: 8px; }
.feature-tab-copy strong { color: #46607f; font-size: clamp(1.2rem, 1.7vw, 1.5rem); letter-spacing: -0.02em; transition: color 180ms ease; }
.feature-tab-copy small { color: #536a86; font-size: var(--text-sm); line-height: 1.45; }
.feature-arrow { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: #5c728d; transition: background-color 180ms ease, color 180ms ease, transform 180ms ease; }
.feature-arrow svg { width: 19px; height: 19px; }
.feature-tab:hover .feature-arrow { transform: translate(2px, -2px); }
.feature-tab.active .feature-tab-copy strong { color: var(--blue-700); }
.feature-tab.active { background: var(--blue-50); }
.feature-tab.active .feature-tab-icon { background: var(--blue-600); color: white; }
.feature-tab.active .feature-arrow { background: var(--blue-600); color: white; transform: translate(2px, -2px); }

.feature-preview { position: relative; min-height: 768px; display: flex; flex-direction: column; overflow: hidden; border-radius: 16px; background: var(--blue-50); padding: clamp(32px, 4vw, 52px); }
.preview-topline { position: relative; z-index: var(--z-raised); display: flex; align-items: center; gap: 12px; color: var(--blue-700); font-size: 0.8125rem; font-weight: 800; }
.preview-icon { width: 44px; height: 44px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 10px; background: var(--blue-600); color: white; }
.preview-icon svg { width: 22px; height: 22px; }
.feature-preview h3 { position: relative; z-index: var(--z-raised); max-width: 620px; margin: 28px 0 16px; color: var(--blue-950); font-size: clamp(2rem, 3vw, 2.8rem); line-height: 1.12; letter-spacing: -0.025em; text-wrap: balance; }
.feature-preview > p { position: relative; z-index: var(--z-raised); max-width: 620px; margin: 0; color: #465f7c; font-size: var(--text-body); line-height: 1.65; }
.feature-preview ul { position: relative; z-index: var(--z-raised); display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; padding: 0; list-style: none; }
.feature-preview li { border: 1px solid var(--blue-200); border-radius: 999px; background: white; color: #3f5d7e; padding: 8px 12px; font-size: var(--text-xs); font-weight: 700; }
.preview-art { position: relative; z-index: var(--z-content); width: 100%; height: 300px; flex: 0 0 auto; margin-top: auto; padding-top: 32px; }
.preview-art[data-preview-art="appointments"] { height: 320px; }
.schedule-panel { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(150px, .72fr) minmax(0, 1.85fr); overflow: hidden; border: 1px solid #dbe4ee; border-radius: 12px; background: #fff; color: #102b4c; }
.schedule-upcoming { min-width: 0; border-right: 1px solid #dfe7f0; padding: 16px 14px; }
.schedule-kicker { display: flex; align-items: center; justify-content: space-between; color: #0066d8; font-size: 9px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.schedule-kicker b { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: #edf5ff; color: #0066d8; font-size: 10px; }
.schedule-upcoming > strong { display: block; margin-top: -2px; color: #091b33; font-size: 13px; line-height: 1.25; }
.schedule-upcoming-list { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.schedule-upcoming-item { display: grid; grid-template-columns: 6px minmax(0, 1fr) 18px; gap: 7px; align-items: start; border-radius: 7px; padding: 7px 4px; }
.schedule-upcoming-item.active { background: #f3f8ff; }
.schedule-upcoming-item > i { width: 5px; height: 5px; margin-top: 5px; border-radius: 50%; background: #1e72eb; }
.schedule-upcoming-item > span { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.schedule-upcoming-item > span b { overflow: hidden; color: #0066d8; font-size: 8px; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.schedule-upcoming-item > span strong { overflow: hidden; color: #172c47; font-size: 10px; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.schedule-upcoming-item > span small { overflow: hidden; color: #60758d; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.schedule-upcoming-item em { color: #00a76f; line-height: 0; }
.schedule-upcoming-item em svg { width: 14px; height: 14px; }
.schedule-calendar { min-width: 0; display: flex; flex-direction: column; }
.schedule-toolbar { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-bottom: 1px solid #dfe7f0; padding: 8px 12px; }
.schedule-view { display: flex; align-items: center; border-radius: 7px; background: #f0f5fb; padding: 3px; color: #38516d; font-size: 9px; }
.schedule-view span, .schedule-view b { min-height: 28px; display: grid; place-items: center; border-radius: 5px; padding: 0 8px; }
.schedule-view b { background: #fff; color: #0066d8; box-shadow: 0 2px 5px rgba(26, 63, 105, .1); }
.schedule-range { display: flex; align-items: center; gap: 7px; color: #091b33; font-size: 9px; }
.schedule-range button { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid #d9e3ee; border-radius: 6px; background: #fff; color: #173653; padding: 0; pointer-events: none; }
.schedule-range button svg { width: 13px; height: 13px; }
.schedule-days { height: 52px; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-bottom: 1px solid #dfe7f0; }
.schedule-days > span { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border-left: 1px solid #edf1f6; color: #294965; }
.schedule-days small { font-size: 8px; }
.schedule-days b { font-size: 10px; }
.schedule-days .today small { color: #0066d8; font-weight: 800; }
.schedule-days .today b { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: #0872c9; color: #fff; }
.schedule-grid { min-height: 0; display: grid; grid-template-columns: 36px minmax(0, 1fr); flex: 1; }
.schedule-times { display: grid; grid-template-rows: repeat(4, 1fr); border-right: 1px solid #e5ebf2; color: #7990aa; font-size: 7px; }
.schedule-times span { display: flex; align-items: flex-start; justify-content: flex-end; border-bottom: 1px solid #edf1f6; padding: 5px 5px 0 0; }
.schedule-slots { position: relative; background-image: linear-gradient(to bottom, transparent calc(25% - 1px), #edf1f6 calc(25% - 1px), #edf1f6 25%, transparent 25%); background-size: 100% 25%; }
.schedule-slots::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(to right, transparent calc(14.285% - 1px), #edf1f6 calc(14.285% - 1px), #edf1f6 14.285%, transparent 14.285%); background-size: 14.285% 100%; }
.schedule-now { position: absolute; z-index: 1; top: 64%; left: 0; right: 0; height: 1px; background: #1d74e8; }
.schedule-now::before { content: ""; position: absolute; left: -3px; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: #1d74e8; }
.schedule-event { position: absolute; z-index: 2; top: 50%; right: 1%; width: 13.5%; min-width: 54px; border-radius: 5px; background: #e1efff; color: #075bbd; padding: 6px; box-shadow: inset 0 0 0 1px #a9d0ff; }
.schedule-event b, .schedule-event span { display: block; overflow: hidden; font-size: 7px; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.schedule-event span { margin-top: 2px; color: #244b75; }
.campaign-report { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 12px; color: #111827; }
.campaign-progress-summary { padding: 20px; border: 1px solid #dfe5ec; border-radius: 10px; background: #f8fafc; }
.campaign-progress-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.campaign-progress-heading strong { color: #0872c9; font-size: 32px; line-height: 1; letter-spacing: -0.035em; }
.campaign-progress-heading span { color: #343a45; font-size: 13px; font-weight: 700; white-space: nowrap; }
.campaign-progress-bar { height: 10px; margin-top: 16px; overflow: hidden; border-radius: 999px; background: #dce8f4; }
.campaign-progress-bar i { display: block; width: 100%; height: 100%; border-radius: inherit; background: #0872c9; }
.campaign-metrics { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; flex: 1; }
.campaign-metric { display: flex; min-width: 0; flex-direction: column; justify-content: center; gap: 8px; padding: 12px; border: 1px solid #dfe5ec; border-radius: 9px; background: #fff; }
.campaign-metric span { overflow: hidden; color: #526174; font-size: 11px; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.campaign-metric strong { color: #10151c; font-size: 22px; line-height: 1; letter-spacing: -0.02em; }
.campaign-report,
.schedule-panel,
.operation-panel,
.assignment-notification { font-variant-numeric: tabular-nums; }
.campaign-metric.is-failure strong { color: #d62235; }
.campaign-metric.is-uncertain strong { color: #c46a00; }
.assignment-card, .labels-directory, .teams-directory, .private-notes-panel, .attributes-panel { position: absolute; inset: 0; border: 1px solid #dbe4ee; border-radius: 12px; background: #fff; padding: 20px; color: var(--blue-950); }
.assignment-card-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid #e8edf3; font-size: 14px; font-weight: 800; }
.assignment-card-head b { border-radius: 999px; background: #eef4fa; color: #56708e; padding: 6px 10px; font-size: 11px; }
.assignment-card-head b { background: #e6f7ef; color: #247a56; }
.system-select { height: 92px; display: grid; grid-template-columns: 48px minmax(0, 1fr) 24px; align-items: center; gap: 12px; margin-top: 20px; border: 1px solid #dbe4ee; border-radius: 10px; padding: 12px 16px; }
.system-avatar { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--blue-100); color: var(--blue-700); font-size: 12px; font-style: normal; font-weight: 800; }
.system-select > span { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.system-select strong { overflow: hidden; color: #213c5c; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.system-select small { color: #63758b; font-size: 11px; }
.system-select > b { display: grid; place-items: center; color: #6e8095; text-align: right; }
.system-select > b svg { width: 18px; height: 18px; }
.assignment-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; color: #58708b; font-size: 12px; font-weight: 700; }
.assignment-meta span { display: flex; align-items: center; gap: 7px; }
.assignment-meta span i { width: 7px; height: 7px; border-radius: 50%; background: #25a66a; box-shadow: 0 0 0 3px rgba(37, 166, 106, .12); }
.assignment-meta small { color: #7a8ba0; font-size: 11px; }
.resource-directory-head { height: 28px; display: flex; align-items: center; justify-content: space-between; color: #203b5b; font-size: 13px; font-weight: 800; }
.resource-directory-head b { display: inline-flex; align-items: center; gap: 4px; color: var(--blue-600); font-size: 11px; }
.resource-directory-head b svg { width: 14px; height: 14px; }
.label-directory-list { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; }
.label-directory-row { height: 44px; display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; align-items: center; gap: 8px; border-radius: 8px; padding: 0 12px; }
.label-directory-row.active { background: #fff0f7; box-shadow: inset 0 0 0 1px #ffc1dd; }
.label-directory-row strong { overflow: hidden; color: #253e5d; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.label-directory-row small { color: #526a87; font-size: 10px; white-space: nowrap; }
.label-dot { width: 8px; height: 8px; border-radius: 50%; background: #f23891; }
.label-dot.is-green { background: #16af7b; }
.label-dot.is-orange { background: #f19512; }
.label-dot.is-blue { background: #2e79ed; }
.directory-add { height: 40px; display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 8px; border: 1px dashed #b9cce0; border-radius: 8px; color: #4d6683; font-size: 11px; font-weight: 700; }
.directory-add svg { width: 15px; height: 15px; }
.team-directory-list { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.team-directory-row { height: 64px; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 12px; border-radius: 9px; padding: 0 12px; }
.team-directory-row.active { background: #f1efff; box-shadow: inset 0 0 0 1px #d9d1ff; }
.team-directory-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 8px; background: #dcecff; color: #1767ca; line-height: 0; }
.team-directory-icon svg { width: 20px; height: 20px; }
.team-directory-icon.is-sales { background: #dcf8ed; color: #16855f; }
.team-directory-icon.is-billing { background: #fff0c9; color: #c17400; }
.team-directory-row > span:not(.team-directory-icon) { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.team-directory-row strong { overflow: hidden; color: #203b5b; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.team-directory-row small { color: #61758d; font-size: 10px; }
.team-directory-row > b { border-radius: 999px; padding: 6px 8px; font-size: 9px; white-space: nowrap; }
.team-directory-row > b.is-blue { background: #dcecff; color: #1767ca; }
.team-directory-row > b.is-green { background: #dcf8ed; color: #16855f; }
.team-directory-row > b.is-orange { background: #fff0c9; color: #c17400; }
.preview-art[data-preview-art="notes"] { height: 340px; }
.private-notes-panel { padding: 20px; }
.private-contact-head { height: 58px; display: grid; grid-template-columns: 46px 1fr; align-items: center; gap: 12px; border-bottom: 1px solid #e8edf3; padding-bottom: 10px; }
.private-contact-head > i { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: #e1edff; color: #1767ca; font-size: 12px; font-style: normal; font-weight: 800; }
.private-contact-head > span { display: flex; flex-direction: column; gap: 1px; }
.private-contact-head strong { color: #203b5b; font-size: 15px; }
.private-contact-head small { color: #5f738b; font-size: 12px; }
.customer-message { min-height: 50px; display: flex; align-items: center; gap: 10px; margin: 10px 0; border-radius: 8px; background: #f1f5f9; padding: 10px 14px; font-size: 13px; }
.customer-message b { color: #4f6783; font-size: 12px; }
.customer-message span { overflow: hidden; color: #263f5d; text-overflow: ellipsis; white-space: nowrap; }
.private-note-card { border: 1px solid #f0c64d; border-radius: 9px; background: #fffae9; padding: 12px 14px; }
.private-note-card > div { display: flex; align-items: center; gap: 8px; color: #b96800; }
.private-note-card > div strong { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; }
.private-note-card > div strong svg { width: 15px; height: 15px; }
.private-note-card > div small { font-size: 12px; }
.private-note-card p { margin: 10px 0 8px; color: #263f5d; font-size: 14px; line-height: 1.45; }
.private-note-card p b { color: #0669dd; }
.private-note-card > small { display: block; color: #60758e; font-size: 11px; }
.private-note-input { height: 46px; display: flex; align-items: center; gap: 10px; margin-top: 10px; border: 1px solid #f0c64d; border-radius: 8px; background: #fffcf0; padding: 0 12px; font-size: 12px; }
.private-note-input b { display: inline-flex; align-items: center; gap: 5px; border-radius: 999px; background: #fff1bb; color: #955500; padding: 5px 8px; font-size: 11px; }
.private-note-input b svg { width: 13px; height: 13px; }
.private-note-input span { color: #647890; }
.attribute-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 16px; }
.attribute-columns section { min-width: 0; }
.attribute-columns section + section { border-left: 1px solid #e4eaf1; padding-left: 24px; }
.attribute-columns section > strong { display: block; margin-bottom: 8px; color: #1767ca; font-size: 12px; }
.attribute-columns section > div { height: 56px; display: flex; flex-direction: column; justify-content: center; gap: 4px; border-bottom: 1px solid #e8edf3; }
.attribute-columns section > div:last-child { border-bottom: 0; }
.attribute-columns span { color: #687b92; font-size: 10px; }
.attribute-columns b { overflow: hidden; color: #263f5d; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.flow-canvas-mini { position: absolute; inset: 0; overflow: hidden; border: 1px solid #dbe4ee; border-radius: 12px; background-color: #f8fbff; background-image: radial-gradient(circle, #bdd1e8 1px, transparent 1.2px); background-size: 18px 18px; color: #173654; }
.flow-canvas-title { position: absolute; z-index: 3; top: 12px; left: 16px; right: 16px; display: flex; align-items: center; justify-content: space-between; font-size: 12px; font-weight: 800; }
.flow-canvas-title span { display: flex; align-items: center; gap: 6px; }
.flow-canvas-title span i { width: 6px; height: 6px; border-radius: 50%; background: #25a66a; }
.flow-canvas-title > b { border-radius: 999px; background: #e6f7ef; color: #247a56; padding: 6px 8px; font-size: 10px; }
.flow-links { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.flow-links path { fill: none; stroke: #9eb4cd; stroke-width: 1.5; stroke-linecap: round; stroke-dasharray: 3 4; animation: flow-route 1.6s linear infinite; vector-effect: non-scaling-stroke; }
@keyframes flow-route { to { stroke-dashoffset: -14; } }
.flow-node { position: absolute; z-index: 2; min-width: 0; border: 1px solid #d7e0ea; border-radius: 8px; background: #fff; }
.flow-node::before, .flow-node.has-output::after { content: ""; position: absolute; z-index: 3; top: 50%; width: 6px; height: 6px; border: 1.5px solid #aebed0; border-radius: 50%; background: #fff; transform: translateY(-50%); }
.flow-node::before { left: -4px; }
.flow-node.has-output::after { right: -4px; }
.flow-node strong { display: block; overflow: hidden; border-radius: 7px 7px 0 0; background: #465970; color: #fff; padding: 8px 10px; font-size: 10px; line-height: 1; text-overflow: ellipsis; white-space: nowrap; }
.flow-node small { display: block; overflow: hidden; color: #4c6179; padding: 9px 10px; font-size: 9px; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.flow-start { left: 2%; top: 112px; width: 18%; }
.flow-menu { left: 25%; top: 64px; width: 24%; }
.flow-message { left: 57%; top: 52px; width: 22%; }
.flow-question { left: 57%; top: 178px; width: 22%; }
.flow-end { left: 84%; top: 116px; width: 14%; }
.flow-menu strong, .flow-question strong { background: #9846ed; }
.flow-message strong { background: #0872c9; }
.flow-end strong { background: #c52a33; }

.workflow { overflow: hidden; background: var(--blue-50); }
.workflow-intro { max-width: 820px; margin: 0 auto var(--space-3xl); text-align: center; }
.workflow-intro > p:last-child { margin-left: auto; margin-right: auto; }
.workflow-track { position: relative; width: min(1120px, 100%); margin: 0 auto; }
.workflow-line { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; transform: translateX(-50%); background: #dbe9f8; }
.workflow-line span { display: block; width: 100%; height: 0; background: var(--blue-500); }
.workflow-step { position: relative; display: grid; grid-template-columns: 1fr 64px 1fr; align-items: center; min-height: 280px; }
.workflow-step .step-marker { grid-column: 2; grid-row: 1; display: grid; place-items: center; }
.step-marker span { position: relative; z-index: var(--z-raised); width: 44px; height: 44px; display: grid; place-items: center; border: 8px solid var(--blue-50); border-radius: 50%; background: var(--blue-700); color: white; font-size: 13px; font-weight: 800; box-sizing: content-box; }
.step-copy { grid-column: 1; grid-row: 1; padding-right: 32px; text-align: right; }
.step-copy strong { display: block; color: var(--blue-950); font-family: var(--font-sans); font-size: clamp(1.55rem, 2.2vw, 2rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.16; text-wrap: balance; }
.step-copy p { max-width: 46ch; margin: 12px 0 0 auto; color: #4c627e; font-size: var(--text-body); line-height: 1.65; }
.step-art { grid-column: 3; grid-row: 1; justify-self: start; margin-left: 32px; }
.workflow-step.reverse .step-copy { grid-column: 3; padding: 0 0 0 32px; text-align: left; }
.workflow-step.reverse .step-copy p { margin-left: 0; }
.workflow-step.reverse .step-art { grid-column: 1; justify-self: end; margin: 0 32px 0 0; }
.art-message { min-width: 280px; border-radius: 12px 12px 3px 12px; background: var(--blue-700); color: white; padding: 20px 22px; box-shadow: 0 8px 8px rgba(22, 87, 184, .15); }
.art-message span { display: block; font-size: 15px; font-weight: 600; }
.art-message i { display: block; margin-top: 8px; color: white; font-size: 11px; font-style: normal; text-align: right; }
.art-tags { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.art-tags span { border-radius: 999px; background: white; color: #3d608a; padding: 12px 16px; font-size: 13px; font-weight: 700; box-shadow: 0 5px 8px rgba(44, 84, 130, .08); }
.art-tags span:nth-child(2) { margin-right: 32px; background: var(--blue-700); color: white; }
.art-agent { min-width: 320px; display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 12px; border-radius: 12px; background: white; padding: 16px; box-shadow: 0 6px 8px rgba(44, 84, 130, .09); }
.art-agent i { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--blue-100); color: var(--blue-700); font-size: 12px; font-style: normal; font-weight: 800; }
.art-agent .agent-avatar svg { width: 20px; height: 20px; }
.art-agent > span { display: flex; flex-direction: column; gap: 4px; color: #304966; font-size: 14px; font-weight: 800; }
.art-agent small { color: #71849b; font-size: 10px; font-weight: 500; }
.art-agent b { border-radius: 999px; background: #e5f7ee; color: #20734f; padding: 6px 8px; font-size: 10px; }
.journey-canvas { min-width: 420px; min-height: 146px; display: flex; align-items: center; justify-content: center; gap: 12px; overflow: hidden; border: 1px solid #dbe4ee; border-radius: 12px; background-color: #f8fbff; background-image: radial-gradient(circle, #bdd1e8 1px, transparent 1.2px); background-size: 18px 18px; padding: 22px; }
.journey-status { position: absolute; top: 12px; left: 16px; right: 16px; display: flex; align-items: center; justify-content: space-between; color: #173654; font-size: 11px; font-weight: 800; }
.journey-status span { display: flex; align-items: center; gap: 6px; }
.journey-status span i { width: 6px; height: 6px; border-radius: 50%; background: #25a66a; }
.journey-status b { border-radius: 999px; background: #e6f7ef; color: #247a56; padding: 5px 8px; font-size: 9px; }
.journey-builder { position: relative; min-height: 178px; padding-top: 48px; }
.journey-route { display: flex; align-items: center; justify-content: center; gap: 8px; }
.journey-route > svg, .journey-connector { width: 18px; height: 18px; flex: 0 0 auto; color: #7890aa; }
.journey-node { position: relative; display: block; width: 126px; border: 1px solid #d7e0ea; border-radius: 8px; background: white; }
.journey-node::before, .journey-node::after { content: ""; position: absolute; z-index: 2; top: 50%; width: 6px; height: 6px; border: 1.5px solid #aebed0; border-radius: 50%; background: white; transform: translateY(-50%); }
.journey-node::before { left: -4px; }
.journey-node::after { right: -4px; }
.journey-node b { display: block; overflow: hidden; border-radius: 7px 7px 0 0; background: #465970; color: white; padding: 8px 10px; font-size: 10px; line-height: 1; text-overflow: ellipsis; white-space: nowrap; }
.journey-node small { display: block; overflow: hidden; color: #4c6179; padding: 9px 10px; font-size: 9px; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.journey-node.node-message b { background: #0872c9; }
.journey-node.node-route b, .journey-node.node-question b { background: #9846ed; }
.journey-node.node-team b { background: #14754f; }
.journey-builder .journey-node { width: 112px; }
.incoming-message { min-width: 190px; display: flex; align-items: center; gap: 10px; border-radius: 10px 10px 3px 10px; background: var(--blue-700); color: white; padding: 14px; box-shadow: 0 6px 8px rgba(22, 87, 184, .14); }
.incoming-message > svg { width: 22px; height: 22px; flex: 0 0 auto; }
.incoming-message span { display: flex; flex-direction: column; gap: 4px; }
.incoming-message b { font-size: 11px; }
.incoming-message small { color: white; font-size: 9px; }
.journey-routing .journey-node { width: 150px; }
.journey-handoff { min-width: 500px; }
.journey-handoff .journey-node { width: 142px; flex: 0 0 auto; }
.journey-handoff .art-agent { min-width: 285px; box-shadow: none; }
.art-flow { min-width: 400px; min-height: 184px; display: block; border-radius: 12px; background: white; padding: 16px 18px 18px; box-shadow: 0 6px 8px rgba(44, 84, 130, .09); }
.flow-mini-status { display: flex; align-items: center; gap: 7px; color: #536b87; font-size: 11px; font-weight: 800; }
.flow-mini-status svg { width: 15px; height: 15px; color: var(--blue-600); }
.flow-mini-status b { width: 7px; height: 7px; margin-left: auto; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgba(32, 163, 106, .12); }
.flow-mini-main { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 16px; }
.flow-mini-node { min-height: 38px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border-radius: 7px; padding: 0 10px; color: white; font-size: 10px; font-weight: 800; white-space: nowrap; }
.flow-mini-node svg { width: 14px; height: 14px; }
.flow-mini-node.is-start { background: #465970; }
.flow-mini-node.is-message { background: #0872c9; }
.flow-mini-node.is-route { background: #844ad8; }
.flow-mini-arrow { width: 16px; height: 16px; flex: 0 0 auto; color: #7890aa; }
.flow-mini-outcomes { position: relative; width: 210px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 28px 0 0 auto; }
.flow-mini-outcomes::before { content: ""; position: absolute; top: -15px; left: 24%; right: 24%; height: 1px; background: #b8c9db; }
.flow-mini-outcomes::after { content: ""; position: absolute; top: -28px; left: 50%; width: 1px; height: 14px; background: #b8c9db; }
.flow-mini-outcomes .flow-mini-node::before { content: ""; position: absolute; top: -15px; left: 50%; width: 1px; height: 15px; background: #b8c9db; transform: translateX(-50%); }
.flow-mini-node.is-team { position: relative; background: #14754f; }
.flow-mini-node.is-auto { position: relative; background: #a95600; }

/* The process story uses product states instead of repeating editor nodes. */
.workflow-line { top: 34px; bottom: 34px; }
.workflow-step { grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr); min-height: 286px; }
.step-marker span { display: grid; place-items: center; box-sizing: content-box; }
.step-marker svg { width: 20px; height: 20px; }
.step-label { display: block; margin-bottom: 10px; color: var(--blue-600); font-size: 13px; font-weight: 800; }
.step-copy strong { font-size: clamp(1.45rem, 2.1vw, 1.9rem); }
.step-art { min-width: 420px; min-height: 184px; display: flex; align-items: center; justify-content: center; overflow: hidden; border: 1px solid #dbe4ee; border-radius: 12px; background: #f8fbff; padding: 20px; }
.connection-panel, .operation-panel, .routing-panel, .context-panel { width: 100%; color: #173654; }
.operation-panel { height: 100%; display: flex; flex-direction: column; }
.connection-art { min-height: 78px; border: 0; background: transparent; padding: 0; overflow: visible; }
.connection-panel { min-height: 50px; display: flex; align-items: center; border: 1px solid #dbe4ee; border-radius: 9px; background: #fff; padding: 0 14px 0 16px; }
.connection-system-row { width: 100%; display: grid; grid-template-columns: minmax(0, 1.3fr) auto auto minmax(0, 1.1fr) auto; align-items: center; gap: 12px; }
.connection-name { overflow: hidden; color: #10213c; font-size: 11px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.connection-provider, .connection-status { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; white-space: nowrap; }
.connection-provider { background: #f0f3f9; color: #526783; padding: 5px 9px; font-size: 10px; font-weight: 800; }
.connection-status { gap: 6px; border: 1px solid #b7efd6; background: #f2fff9; color: #087a53; padding: 4px 9px; font-size: 10px; font-weight: 800; }
.connection-status i { width: 6px; height: 6px; border-radius: 50%; background: #18b979; }
.connection-admin { overflow: hidden; color: #5c708b; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.connection-actions { display: inline-flex; align-items: center; justify-content: flex-end; gap: 16px; color: #71859e; }
.connection-actions svg { width: 16px; height: 16px; stroke-width: 1.55; }
.routing-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #2d4968; font-size: 11px; font-weight: 800; }
.routing-header span { display: flex; align-items: center; gap: 7px; }
.routing-header b { border-radius: 999px; background: #e6f7ef; color: #247a56; padding: 5px 8px; font-size: 9px; }
.operation-title { color: #10213c; font-size: 13px; font-weight: 800; }
.operation-divider { height: 1px; margin: 9px 0 10px; background: #e5edf5; }
.operation-table { overflow: hidden; border: 1px solid #dbe4ee; border-radius: 8px; background: #fff; }
.operation-table-head, .operation-team-row { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) 44px; align-items: center; }
.operation-table-head { min-height: 27px; border-bottom: 1px solid #dbe4ee; background: #f7fafc; padding: 0 12px; color: #244a72; font-size: 8px; font-weight: 800; letter-spacing: .035em; text-transform: uppercase; }
.operation-table-head span:last-child { text-align: right; }
.operation-team-row { min-height: 53px; padding: 7px 12px; }
.operation-team-row + .operation-team-row { border-top: 1px solid #edf1f5; }
.operation-team-row.is-highlighted { background: #f8fbff; }
.operation-team-main { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 1px; }
.operation-team-main strong { overflow: hidden; color: #183754; font-size: 10.5px; text-overflow: ellipsis; white-space: nowrap; }
.operation-team-main small { overflow: hidden; color: #637b96; font-size: 8.5px; text-overflow: ellipsis; white-space: nowrap; }
.operation-team-main > b { max-width: 100%; overflow: hidden; border-radius: 999px; background: #f2f5f9; color: #5a7089; padding: 3px 6px; font-size: 7.5px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.operation-team-main > b.is-active { background: #e4f0ff; color: #0869d2; }
.operation-members { min-width: 0; overflow: hidden; color: #1e456d; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.operation-actions { display: inline-flex; align-items: center; justify-content: flex-end; gap: 10px; color: #7890aa; }
.operation-actions svg { width: 14px; height: 14px; stroke-width: 1.55; }
.operation-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; color: #637b96; font-size: 9px; }
.operation-pagination { display: inline-flex; align-items: center; gap: 4px; }
.operation-pagination > i, .operation-pagination > b { width: 24px; height: 24px; display: grid; place-items: center; border: 1px solid #e7eef5; border-radius: 6px; background: #fff; color: #a3b2c1; }
.operation-pagination > i svg { width: 12px; height: 12px; }
.operation-pagination > b { border-color: var(--blue-700); background: var(--blue-700); color: #fff; font-size: 10px; }
.routing-header { margin-bottom: 18px; }
.routing-node-canvas { min-width: 0; display: flex; align-items: center; gap: 6px; overflow: hidden; border: 1px solid #dbe4ee; border-radius: 9px; background-color: #f8fbff; background-image: radial-gradient(circle, #bdd1e8 1px, transparent 1.2px); background-size: 16px 16px; padding: 10px 8px 9px; }
.routing-flow-node { position: relative; top: auto; left: auto; width: auto; min-width: 0; flex: 1 1 0; }
.routing-flow-node strong { padding: 7px 7px; font-size: 8px; }
.routing-flow-node small { padding: 7px 7px; font-size: 7px; }
.routing-message strong { background: #0872c9; }
.routing-question strong { background: #9846ed; }
.routing-team strong { background: #14754f; }
.route-arrow { width: 18px; height: 18px; color: #7890aa; }
.routing-result { display: flex; align-items: center; gap: 6px; margin: 16px auto 0; border-radius: 999px; background: #e6f7ef; color: #247a56; padding: 7px 10px; font-size: 9px; font-weight: 700; }
.routing-result svg { width: 14px; height: 14px; }
.routing-result b { margin-left: auto; font-size: 9px; }
.assignment-notification { width: min(100%, 360px); display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; align-items: start; gap: 8px 10px; border: 1px solid #dbe4ee; border-radius: 6px; background: #fff; padding: 12px; box-shadow: 0 4px 8px rgba(33, 75, 120, .08); }
.notification-avatar { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: #eef5ff; color: #1767ca; font-size: 9px; font-weight: 800; }
.notification-copy { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.notification-copy strong { overflow: hidden; color: #10213c; font-size: 11px; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.notification-copy small { overflow: hidden; color: #526a87; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.notification-time { color: #1767ca; font-size: 9px; font-style: normal; white-space: nowrap; }
.notification-actions { grid-column: 2 / -1; display: flex; align-items: center; gap: 6px; }
.notification-button { min-height: 24px; display: inline-flex; align-items: center; gap: 5px; border: 1px solid #dbe4ee; border-radius: 6px; padding: 0 9px; font-size: 9px; font-weight: 800; white-space: nowrap; }
.notification-button svg { width: 12px; height: 12px; stroke-width: 1.8; }
.notification-open { border-color: #0869d2; background: #0869d2; color: #fff; }
.notification-clear { background: #fff; color: #274765; }

.benefits { background: white; }
.benefit-panel { position: relative; min-height: 620px; display: grid; grid-template-columns: 1.04fr .96fr; gap: clamp(50px, 8vw, 110px); align-items: center; overflow: hidden; border-radius: 16px; background: var(--blue-900); color: white; padding: clamp(42px, 7vw, 88px); }
.benefit-copy, .benefit-list { position: relative; z-index: 2; }
.section-label-light { color: var(--blue-300); }
.benefit-copy h2 { color: white; font-size: clamp(2.25rem, 4vw, 3.9rem); letter-spacing: -0.025em; }
.benefit-copy > p { color: #c5d4e7; }
.button-white { margin-top: 32px; background: white; color: var(--blue-900); box-shadow: none; }
.button-white:hover { background: var(--blue-100); color: var(--blue-950); box-shadow: none; }
.benefit-list { display: flex; flex-direction: column; }
.benefit-item { display: grid; grid-template-columns: 44px 1fr; gap: 20px; border-top: 1px solid rgba(255, 255, 255, .16); padding: 28px 0; }
.benefit-item:last-child { border-bottom: 1px solid rgba(255, 255, 255, .16); }
.benefit-item > span { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: rgba(167, 208, 255, .12); color: var(--blue-300); }
.benefit-item > span svg { width: 20px; height: 20px; }
.benefit-item strong { display: block; color: white; font-size: 1.125rem; }
.benefit-item p { margin: 8px 0 0; color: #c5d4e7; font-size: var(--text-body); line-height: 1.65; }

.faq {
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(520px, 1.28fr);
  gap: clamp(52px, 8vw, 112px);
  align-items: start;
  background: var(--white);
}

.faq-intro {
  max-width: 500px;
}

.faq-intro h2 {
  font-size: clamp(2.4rem, 4.2vw, 4rem);
  letter-spacing: -0.025em;
}

.faq-intro p {
  max-width: 46ch;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  line-height: 1.7;
  text-wrap: pretty;
}

.faq-list {
  border-bottom: 1px solid var(--line);
}

.faq-list details {
  border-top: 1px solid var(--line);
}

.faq-list details > p {
  display: block;
  max-height: 0;
  visibility: hidden;
  overflow: hidden;
  margin: 0 56px 0 0;
  opacity: 0;
  pointer-events: none;
  transition:
    max-height 380ms cubic-bezier(0.22, 1, 0.36, 1),
    margin-bottom 380ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 220ms ease,
    visibility 0s linear 380ms;
}

.faq-list details[open] > p,
.faq-list details[data-faq-state="open"] > p {
  max-height: 24rem;
  visibility: visible;
  margin-bottom: 24px;
  opacity: 1;
  pointer-events: auto;
  transition-delay: 0s;
}

.faq-list details[data-faq-state="closed"] > p {
  max-height: 0;
  visibility: hidden;
  margin-bottom: 0;
  opacity: 0;
  pointer-events: none;
  transition-delay: 0s;
}

.faq-list summary {
  position: relative;
  min-height: 78px;
  display: flex;
  align-items: center;
  padding: 20px 56px 20px 0;
  color: var(--blue-950);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
  text-wrap: pretty;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::before,
.faq-list summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 4px;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--blue-700);
  transform: translateY(-50%);
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-list summary::after {
  transform: translateY(-50%) rotate(90deg);
}

.faq-list details[open] summary::after,
.faq-list details[data-faq-state="open"] summary::after {
  transform: translateY(-50%) rotate(0deg);
}

.faq-list details[data-faq-state="closed"] summary::after {
  transform: translateY(-50%) rotate(90deg);
}

.faq-list details[open] summary,
.faq-list details[data-faq-state="open"] summary {
  color: var(--blue-700);
}

.faq-list details[data-faq-state="closed"] summary {
  color: var(--blue-950);
}

.faq-list details p {
  max-width: 68ch;
  color: var(--muted);
  font-size: var(--text-body);
  line-height: 1.75;
  text-wrap: pretty;
}

.final-cta {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  gap: clamp(52px, 9vw, 120px);
  align-items: center;
  overflow: hidden;
  background: var(--blue-50);
  text-align: left;
}

.final-cta-copy h2 {
  max-width: 700px;
  font-size: clamp(2.35rem, 5vw, 4.75rem);
  letter-spacing: -0.025em;
}

.final-cta-copy > p {
  max-width: 58ch;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.75;
  text-wrap: pretty;
}

.final-cta-copy .privacy-note {
  max-width: 54ch;
  margin-top: 16px;
  color: #526984;
  font-size: var(--text-xs);
  line-height: 1.6;
}

.button-large { min-height: 58px; margin-top: 36px; padding: 0 28px; }
.contact-options {
  display: grid;
  gap: 40px;
}

.contact-form-card {
  border: 1px solid var(--blue-200);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.78);
  padding: clamp(24px, 3vw, 34px);
  box-shadow: var(--shadow-soft);
}

.contact-form-kicker {
  display: block;
  color: var(--blue-700);
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-form-card h3 {
  margin: 12px 0 0;
  color: var(--blue-950);
  font-size: clamp(1.65rem, 2.5vw, 2.25rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.contact-form-card > p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: var(--text-sm);
  line-height: 1.65;
}

.contact-form {
  display: grid;
  gap: 15px;
  margin-top: 24px;
}

.form-field {
  display: grid;
  gap: 7px;
}

.form-field label {
  color: var(--blue-950);
  font-size: var(--text-xs);
  font-weight: 800;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid #b8cbe2;
  border-radius: 9px;
  background: var(--white);
  color: var(--ink);
  padding: 11px 13px;
  font: inherit;
  font-size: var(--text-sm);
  line-height: 1.45;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.form-field textarea {
  min-height: 104px;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #8b9bb0;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(70, 149, 255, 0.16);
  outline: none;
}

.contact-consent {
  display: grid;
  grid-template-columns: 17px minmax(0, 1fr);
  align-items: start;
  gap: 9px;
  color: #526984;
  font-size: var(--text-xs);
  line-height: 1.55;
}

.contact-consent input {
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  accent-color: var(--blue-700);
}

.contact-consent a {
  color: var(--blue-800);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--blue-300);
  text-underline-offset: 3px;
}

.contact-submit {
  width: 100%;
  margin-top: 2px;
}

.contact-submit[disabled] {
  cursor: wait;
  opacity: 0.65;
  transform: none;
}

.contact-form-status {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-size: var(--text-xs);
  font-weight: 700;
  line-height: 1.5;
}

.contact-form-status.success {
  color: #19784e;
}

.contact-form-status.error {
  color: #a13737;
}

.contact-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.contact-path {
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-path li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 18px;
  border-top: 1px solid var(--blue-200);
  padding: 24px 0;
}

.contact-path li:last-child {
  border-bottom: 1px solid var(--blue-200);
}

.contact-path li > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue-900);
  color: var(--white);
  font-size: var(--text-xs);
  font-weight: 800;
}

.contact-path strong {
  display: block;
  color: var(--blue-950);
  font-size: 1.0625rem;
}

.contact-path p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: var(--text-sm);
  line-height: 1.6;
}

.site-footer { width: min(calc(100% - 40px), var(--container)); display: grid; grid-template-columns: minmax(180px, .8fr) minmax(260px, 1fr) minmax(380px, auto); gap: 40px; align-items: start; margin: 0 auto; padding: 64px 0 26px; }
.site-footer > p { max-width: 400px; margin: 0; color: var(--muted); font-size: 0.8125rem; line-height: 1.7; }
.footer-links { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 16px 24px; }
.footer-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; border-top: 1px solid var(--line); margin-top: 26px; padding-top: 24px; color: #536a86; font-size: 0.6875rem; }

.footer-links a[aria-current="page"] {
  color: var(--blue-800);
}

.legal-page {
  background: var(--blue-50);
}

.legal-header .legal-back {
  color: var(--blue-800);
  font-size: var(--text-sm);
  font-weight: 700;
}

.legal-header .legal-back:hover {
  color: var(--blue-600);
}

.legal-main {
  width: min(calc(100% - 40px), 1120px);
  margin: 0 auto;
  padding: calc(var(--header-height) + clamp(64px, 8vw, 104px)) 0 var(--space-section);
}

.legal-hero {
  max-width: 860px;
  padding-bottom: clamp(48px, 6vw, 72px);
}

.legal-label {
  margin: 0 0 18px;
  color: var(--blue-700);
  font-size: var(--text-sm);
  font-weight: 700;
}

.legal-hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--blue-950);
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: .98;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.legal-hero > p:not(.legal-label) {
  max-width: 66ch;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  line-height: 1.75;
  text-wrap: pretty;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 28px;
  color: #6a7d94;
  font-size: var(--text-xs);
  font-weight: 600;
}

.legal-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: clamp(48px, 8vw, 96px);
  align-items: start;
}

.legal-summary {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  padding-top: 22px;
  border-top: 2px solid var(--blue-600);
}

.legal-summary strong {
  display: block;
  color: var(--blue-950);
  font-size: 0.9375rem;
}

.legal-summary p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: var(--text-xs);
  line-height: 1.7;
}

.legal-content {
  max-width: 760px;
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--radius-md);
  background: var(--white);
}

.legal-section {
  scroll-margin-top: calc(var(--header-height) + 24px);
  padding: 0 0 40px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
}

.legal-section:last-child {
  padding-bottom: 0;
  border-bottom: 0;
  margin-bottom: 0;
}

.legal-section h2 {
  margin: 0 0 18px;
  color: var(--blue-950);
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  line-height: 1.25;
  letter-spacing: -.015em;
  text-wrap: balance;
}

.legal-section p,
.legal-section li {
  color: #405570;
  font-size: var(--text-body);
  line-height: 1.8;
}

.legal-section p {
  margin: 14px 0 0;
  text-wrap: pretty;
}

.legal-section ul {
  margin: 18px 0 0;
  padding-left: 22px;
}

.legal-section li + li {
  margin-top: 9px;
}

.legal-section a {
  color: var(--blue-700);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--blue-300);
  text-underline-offset: 3px;
}

.legal-callout {
  margin-top: 24px;
  padding: 22px 24px;
  border-radius: var(--radius-sm);
  background: var(--blue-50);
}

.legal-callout strong {
  color: var(--blue-950);
}

.legal-callout p {
  margin-top: 8px;
}

.legal-footer {
  border-top: 1px solid var(--line);
}

/* Responsive hardening: keep grid and flex children from creating a second layout width. */
img,
picture,
video,
canvas {
  max-width: 100%;
}

.hero-layout,
.feature-explorer,
.workflow-track,
.workflow-step,
.benefit-panel,
.faq,
.final-cta,
.legal-layout,
.site-footer,
.legal-summary,
.legal-content,
.feature-preview,
.feature-list,
.step-art,
.benefit-copy,
.benefit-list {
  min-width: 0;
}

.legal-content {
  width: 100%;
  overflow-wrap: anywhere;
}

.legal-section a,
.legal-callout a {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.label-directory-row {
  grid-template-columns: 12px minmax(0, 1fr) minmax(0, auto);
}

.label-directory-row strong,
.label-directory-row small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 980px) {
  .nav-shell { gap: 22px; }
  .main-nav { gap: 22px; }
  .hero {
    min-height: auto;
    padding-top: 126px;
    background:
      linear-gradient(
        180deg,
        var(--white) 0%,
        var(--white) 48%,
        #f8fbff 70%,
        var(--blue-50) 100%
      );
  }
  .hero-layout { width: min(calc(100% - 20px), 800px); min-height: 0; grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .hero-copy { max-width: 720px; }
  .hero h1 { max-width: 720px; }
  .product-stage { width: 100%; justify-self: stretch; margin: 0; transform: none; }
  .product-frame { aspect-ratio: 16 / 9; }
  .operational-proof { grid-template-columns: 1fr; gap: 40px; }
  .proof-points article { padding-inline: 24px; }
  .app-body { grid-template-columns: 52px 210px minmax(310px, 1fr); }
  .contact-panel { display: none; }
  .resources .section-heading { max-width: 760px; }
  .resources .section-heading h2 { max-width: 720px; line-height: 1.08; }
  .resources .section-heading > p:last-child { max-width: 650px; }
  .feature-explorer { grid-template-columns: 1fr; }
  .feature-list { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .feature-list::-webkit-scrollbar { display: none; }
  .feature-tab { min-width: 280px; border-bottom: 1px solid var(--line); scroll-snap-align: start; }
  .feature-preview { min-height: 780px; }
  .benefit-panel { grid-template-columns: 1fr; }
  .benefit-copy { max-width: 700px; }
  .faq { grid-template-columns: 1fr; gap: 48px; }
  .faq-intro { max-width: 680px; }
  .final-cta { grid-template-columns: 1fr; gap: 48px; }
  .final-cta-copy { max-width: 760px; }
  .site-footer { grid-template-columns: 1fr auto; }
  .site-footer > p { grid-column: 1 / -1; grid-row: 2; }
  .legal-layout { grid-template-columns: 1fr; gap: 36px; }
  .legal-summary { position: static; max-width: 680px; }
}

@media (max-width: 760px) {
  :root { --header-height: 68px; }
  html { scroll-padding-top: calc(var(--header-height) + 16px); }
  .site-header { height: calc(var(--header-height) + env(safe-area-inset-top)); }
  .nav-shell { width: min(calc(100% - 32px), var(--container)); }
  .nav-shell { min-width: 0; height: var(--header-height); gap: 12px; }
  .menu-toggle { position: relative; z-index: 3; width: 44px; height: 44px; display: grid; flex: 0 0 44px; place-content: center; gap: 6px; margin-left: auto; border: 0; border-radius: 9px; background: var(--blue-50); }
  .main-nav { position: fixed; inset: 0; z-index: 2; width: auto; height: 100dvh; min-height: 100svh; max-height: none; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 26px; visibility: hidden; overflow-y: auto; overscroll-behavior: contain; background: var(--white); padding: calc(var(--header-height) + env(safe-area-inset-top) + 24px) max(24px, env(safe-area-inset-right)) max(32px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left)); opacity: 0; transform: translateY(-16px); transition: opacity 180ms ease, transform 220ms ease, visibility 0s 220ms; }
  .main-nav.open { visibility: visible; opacity: 1; transform: translateY(0); transition-delay: 0s; }
  .main-nav a { min-height: 44px; display: flex; align-items: center; font-size: 1.7rem; letter-spacing: -.03em; }
  .nav-cta { display: none; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .hero-actions .button { width: min(100%, 330px); }
  .product-stage { width: 100%; margin: 0; padding: 0; transform: none; }
  .product-frame { width: calc(100% + 16px); margin-inline: -8px; aspect-ratio: 16 / 9; }
  .hero-contact-note { font-size: 0.8125rem !important; }
  .operational-proof { padding-block: 48px; }
  .proof-points { grid-template-columns: 1fr; }
  .proof-points article,
  .proof-points article:first-child { padding: 20px 0; }
  .proof-points article + article::before { top: 0; right: 0; bottom: auto; width: auto; height: 1px; }
  .proof-points p { font-size: var(--text-sm); }
  .app-window { height: 540px; }
  .floating-note { display: none; }
  .section { padding-inline: 20px; }
  .section-heading { margin-bottom: 40px; }
  .feature-picker { display: block; }
  .feature-picker label { display: block; margin-bottom: 10px; color: var(--blue-950); font-size: var(--text-sm); font-weight: 800; }
  .feature-select-shell { position: relative; }
  .feature-select-shell select { width: 100%; min-height: 52px; appearance: none; border: 1px solid var(--blue-200); border-radius: 10px; background: var(--white); color: var(--blue-950); padding: 0 48px 0 16px; font: inherit; font-size: var(--text-body); font-weight: 700; }
  .feature-select-shell > svg { position: absolute; top: 50%; right: 16px; width: 19px; height: 19px; color: var(--blue-700); transform: translateY(-50%); pointer-events: none; }
  .feature-list { display: none; }
  .feature-preview { min-height: 650px; padding: 30px 22px; }
  .preview-art { height: 280px; }
  .preview-art[data-preview-art="appointments"] { height: 340px; }
  .schedule-panel { grid-template-columns: 1fr; grid-template-rows: 110px minmax(0, 1fr); }
  .schedule-upcoming { border-right: 0; border-bottom: 1px solid #dfe7f0; padding: 12px; }
  .schedule-upcoming > strong { font-size: 12px; }
  .schedule-upcoming-list { margin-top: 8px; }
  .schedule-upcoming-item { grid-template-columns: 6px minmax(0, 1fr) 18px; padding-block: 4px; }
  .schedule-upcoming-item + .schedule-upcoming-item { display: none; }
  .workflow-intro { margin-bottom: 48px; }
  .workflow-line { left: 26px; transform: none; }
  .workflow-step, .workflow-step.reverse { min-height: 0; display: grid; grid-template-columns: 52px 1fr; align-content: start; padding: 32px 0; }
  .workflow-step .step-marker, .workflow-step.reverse .step-marker { grid-column: 1; grid-row: 1 / span 2; align-self: center; }
  .workflow-step .step-copy, .workflow-step.reverse .step-copy { grid-column: 2; grid-row: 1; padding: 0; text-align: left; }
  .step-copy p { margin-left: 0; font-size: var(--text-body); }
  .workflow-step .step-art, .workflow-step.reverse .step-art { grid-column: 2; grid-row: 2; justify-self: start; margin: 24px 0 0; }
  .benefit-panel { min-height: 0; padding: 44px 26px; }
  .faq { gap: 36px; }
  .faq-list summary { min-height: 72px; padding-right: 44px; font-size: 1.05rem; }
  .faq-list summary::before,
  .faq-list summary::after { right: 2px; width: 18px; }
  .faq-list details p { margin-right: 36px; font-size: var(--text-body); }
  .final-cta { gap: 40px; }
  .contact-path li { grid-template-columns: 38px minmax(0, 1fr); gap: 14px; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer > p, .footer-links, .footer-bottom { grid-column: 1; }
  .site-footer > p { grid-row: auto; }
  .footer-links { justify-content: flex-start; }
  .footer-bottom { flex-direction: column; gap: 8px; font-size: var(--text-xs); }
  .legal-main { width: min(calc(100% - 32px), 1120px); padding-top: calc(var(--header-height) + 52px); }
  .legal-hero { padding-bottom: 44px; }
  .legal-hero h1 { font-size: clamp(2.75rem, 14vw, 4rem); }
  .legal-content { padding: 28px 22px; }
  .legal-section { padding-bottom: 32px; margin-bottom: 32px; }
}

@media (max-width: 480px) {
  .section { padding-inline: 16px; }
  .operational-proof { padding-inline: 16px; }
  .feature-preview { padding-inline: 18px; }
  .feature-preview h3 { font-size: clamp(1.75rem, 8.5vw, 2.25rem); }
  .feature-preview li { padding-inline: 9px; }
  .operation-team-row { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 10px; padding: 10px; }
  .operation-team-main { grid-column: 1; }
  .operation-members { grid-column: 1; grid-row: 2; }
  .operation-actions { grid-column: 2; grid-row: 1 / span 2; }
  .campaign-progress-heading { align-items: flex-start; gap: 8px; }
  .campaign-progress-heading span { white-space: normal; text-align: right; }
  .journey-handoff { width: 100%; min-width: 0; }
  .hero-copy > p { font-size: 1.0625rem; }
  .hero h1 { font-size: clamp(2.75rem, 13vw, 3.5rem); }
  .feature-preview { min-height: 680px; }
  .preview-art { height: 300px; }
  .preview-art[data-preview-art="notes"] { height: 320px; }
  .preview-art[data-preview-art="appointments"] { height: 340px; }
  .schedule-toolbar { padding-inline: 8px; }
  .schedule-view span:first-child, .schedule-view span:last-child { display: none; }
  .schedule-range { gap: 4px; }
  .schedule-range button { width: 24px; height: 24px; }
  .campaign-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .campaign-metric { min-height: 80px; padding: 10px; }
  .campaign-metric span { font-size: 10px; }
  .campaign-metric strong { font-size: 20px; }
  .labels-directory, .teams-directory, .private-notes-panel, .attributes-panel { padding: 16px; }
  .system-select { grid-template-columns: 44px minmax(0, 1fr) 20px; gap: 8px; padding: 10px; }
  .system-avatar { width: 42px; height: 42px; }
  .label-directory-row { padding-inline: 8px; }
  .team-directory-row { grid-template-columns: 40px minmax(0, 1fr) auto; gap: 8px; padding-inline: 8px; }
  .team-directory-icon { width: 36px; height: 36px; }
  .attribute-columns { gap: 12px; }
  .attribute-columns section + section { padding-left: 12px; }
  .flow-node strong { padding-inline: 6px; font-size: 9px; }
  .flow-node small { padding-inline: 6px; font-size: 8px; }
  .art-message, .art-agent, .art-flow, .journey-canvas { min-width: 0; width: 100%; }
  .journey-canvas { min-height: 150px; gap: 7px; padding: 16px 10px; }
  .journey-builder { min-height: 190px; padding: 48px 4px 16px; }
  .journey-builder .journey-route { width: 100%; gap: 2px; }
  .journey-builder .journey-route > svg { width: 10px; }
  .journey-builder .journey-node { width: 27%; flex: 0 1 27%; }
  .journey-route > svg, .journey-connector { width: 13px; height: 13px; }
  .journey-node { width: 112px; }
  .journey-node b { padding-inline: 7px; font-size: 9px; }
  .journey-node small { padding-inline: 7px; font-size: 8px; }
  .incoming-message { min-width: 0; flex: 1; padding: 12px 9px; }
  .journey-entry .journey-node { flex: 0 0 38%; }
  .journey-routing .journey-node { width: 44%; }
  .journey-handoff { align-items: stretch; flex-direction: column; padding: 14px; }
  .journey-handoff .journey-node { width: 145px; align-self: flex-start; }
  .journey-handoff > .journey-connector { margin: -3px 0 -3px 62px; transform: rotate(90deg); }
  .journey-handoff .art-agent { min-width: 0; width: 100%; }
  .art-flow { min-height: 210px; padding: 14px; }
  .flow-mini-main { gap: 4px; }
  .flow-mini-node { min-height: 36px; gap: 4px; padding-inline: 6px; font-size: 9px; }
  .flow-mini-node svg { width: 12px; height: 12px; }
  .flow-mini-arrow { width: 12px; height: 12px; }
  .flow-mini-outcomes { width: 190px; }
  .benefit-item { grid-template-columns: 40px 1fr; gap: 12px; }
  .footer-links { flex-wrap: wrap; }
}

@media (max-width: 760px) {
  .workflow-step:not(.reverse) .step-art,
  .workflow-step.reverse .step-art {
    width: 100%;
    min-width: 0;
    margin: 24px 0 0;
  }
}

@media (max-width: 980px) {
  .workflow-step { grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr); }
  .step-art { min-width: 0; width: 100%; padding: 16px; }
  .workflow-step:not(.reverse) .step-art { margin-left: 24px; }
  .workflow-step.reverse .step-art { margin-right: 24px; }
}

@media (max-width: 760px) {
  .workflow-line { top: 34px; bottom: 34px; left: 26px; transform: none; }
  .workflow-step, .workflow-step.reverse { min-height: 0; display: grid; grid-template-columns: 52px minmax(0, 1fr); align-content: start; padding: 32px 0; }
  .workflow-step .step-marker, .workflow-step.reverse .step-marker { grid-column: 1; grid-row: 1 / span 2; align-self: center; }
  .workflow-step .step-copy, .workflow-step.reverse .step-copy { grid-column: 2; grid-row: 1; padding: 0; text-align: left; }
  .workflow-step .step-art, .workflow-step.reverse .step-art { grid-column: 2; grid-row: 2; justify-self: start; width: 100%; min-width: 0; margin: 24px 0 0; }
  .step-copy p { margin-left: 0; font-size: var(--text-body); }
  .step-art { min-height: 184px; }
}

@media (max-width: 480px) {
  .step-art { padding: 14px 12px; }
}

@media (max-width: 980px) {
  .connection-art { width: 100%; min-width: 0; min-height: 78px; margin-left: 24px !important; padding: 0; }
}

@media (max-width: 760px) {
  .connection-art,
  .workflow-step.reverse .connection-art { width: 100%; min-height: 74px; margin: 24px 0 0 !important; padding: 0; }
  .connection-panel { min-height: 64px; padding: 8px 12px; }
  .connection-system-row { grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; }
  .connection-name { grid-column: 1; grid-row: 1; }
  .connection-provider { grid-column: 2; grid-row: 1; }
  .connection-status { grid-column: 3; grid-row: 1; }
  .connection-admin { grid-column: 1 / span 2; grid-row: 2; }
  .connection-actions { grid-column: 3; grid-row: 2; gap: 10px; }
}

@media (max-width: 480px) {
  .connection-panel { min-height: 72px; padding-inline: 10px; }
  .connection-system-row { gap: 6px; }
  .connection-provider, .connection-status { padding-inline: 7px; font-size: 9px; }
  .connection-status { gap: 4px; }
  .connection-admin { font-size: 9px; }
  .connection-actions { gap: 8px; }
  .connection-actions svg { width: 15px; height: 15px; }
}

.operation-art { min-height: 236px; align-items: stretch; padding: 14px; }

@media (max-width: 480px) {
  .routing-node-canvas { gap: 4px; padding: 10px 5px 7px; }
  .routing-flow-node strong { padding-inline: 6px; font-size: 8px; }
  .routing-flow-node small { padding-inline: 6px; font-size: 7px; }
  .route-arrow { width: 14px; height: 14px; }
}

@media (max-width: 760px) {
  .workflow-step:not(.reverse) .step-art,
  .workflow-step.reverse .step-art {
    width: 100%;
    min-width: 0;
    margin: 24px 0 0;
  }
}

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

  .faq-list details > p {
    transition-delay: 0s !important;
  }
}
