/*
 * Terncall homepage — warm white, ink, one blue action color.
 * Unslop craft pass inspired by Damir Sokolovsky (@heydamir),
 * https://heydamir.design/unslop — CC BY 4.0.
 * Existing Terncall brand, content, section order and interaction hooks retained.
 */

@font-face {
  font-family: Manrope;
  src: url('/fonts/Manrope-Variable.ttf') format('truetype');
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --cream: #fcf9f8;
  --ink: #0f1e2e;
  --muted: #65717d;
  --line: #e4e6e8;
  --blue: #2a66ff;
  --gutter: 24px;
  font-family: Manrope,-apple-system,BlinkMacSystemFont,'PingFang SC','Microsoft YaHei',sans-serif;
  color: var(--ink);
  background: var(--cream);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  scroll-padding-top: 108px;
  --surface: #ffffff;
  --raised: #f3f4f4;
  --secondary: #52606c;
  --ease: cubic-bezier(.22,1,.36,1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 0;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0;
}

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

button,input,textarea {
  font: inherit;
}

button,a,summary {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

button {
  color: inherit;
}

h1,h2,h3,p {
  margin: 0;
}

a:focus-visible,button:focus-visible,summary:focus-visible,textarea:focus-visible,[tabindex="0"]:focus-visible {
  outline: 3px solid #2a66ff;
  outline-offset: 4px;
}

[hidden] {
  display: none!important;
}

.wrap {
  width: calc(100% - var(--gutter)*2);
  max-width: 1184px;
  margin-inline: auto;
}

.icon-library {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.icon {
  display: block;
  width: 24px;
  height: 24px;
  flex: none;
}

.icon-inline {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

.icon-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.icon-label {
  min-width: 0;
}

.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;
}

.mobile-only {
  display: none;
}

h1,h2,h3 {
  font-weight: 500;
}

h1,h2 {
  letter-spacing: -.02em;
  line-height: 1.16;
  text-wrap: balance;
}

h1 {
  font-size: 64px;
}

h2 {
  font-size: 48px;
}

h3 {
  font-size: 24px;
  line-height: 32px;
  letter-spacing: 0;
}

h1 strong,.section-heading strong {
  font-weight: inherit;
  background: none;
  color: var(--ink);
  -webkit-text-fill-color: currentColor;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 0;
  border: 1px solid transparent;
  border-radius: 8px;
  white-space: nowrap;
  transition: background-color 140ms var(--ease),border-color 140ms var(--ease),color 140ms var(--ease);
}

.primary {
  color: white;
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: none;
}

.primary:hover {
  background: #2252cc;
  border-color: #2252cc;
}

.secondary {
  background: white;
  color: var(--secondary);
  border-color: var(--line);
  box-shadow: none;
}

.secondary:hover {
  background: #f3f3f3;
}

.text-link {
  font-size: 14px;
  color: var(--blue);
  line-height: 20px;
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 16px;
  left: var(--gutter);
  right: var(--gutter);
  max-width: 1184px;
  min-height: 64px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 8px 16px;
  background: var(--cream);
  border: 1px solid #e5e2df;
  border-radius: 12px;
  box-shadow: 0 1px 2px #0f1e2e0a;
  border-color: #e5e3e1;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
  color: var(--ink);
}

.wordmark>.icon {
  width: 28px;
  height: 28px;
  flex-basis: 28px;
}

.desktop-nav {
  display: flex;
  justify-content: flex-start;
  margin-left: 40px;
  align-items: center;
  gap: 24px;
  flex: 1;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}

.desktop-nav>a {
  padding-block: 12px;
  white-space: nowrap;
}

.desktop-nav>a:hover,.login-link:hover {
  color: var(--secondary);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown summary {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  list-style: none;
  padding-block: 12px;
  white-space: nowrap;
  min-height: 40px;
}

.nav-dropdown summary::-webkit-details-marker {
  display: none;
}

.nav-chevron {
  width: 16px;
  height: 16px;
  flex-basis: 16px;
  transition: transform 140ms var(--ease);
}

.nav-dropdown[open] .nav-chevron {
  transform: rotate(180deg);
}

.dropdown-panel {
  position: absolute;
  left: -20px;
  top: calc(100% + 16px);
  width: 352px;
  padding: 20px;
  background: var(--cream);
  border: 1px solid #e5e2df;
  border-radius: 12px;
  box-shadow: 0 8px 24px #0f1e2e0f;
  transform-origin: top;
  overflow: hidden;
  border-color: var(--line);
}

.dropdown-panel:before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -20px;
  height: 20px;
}

.menu-heading {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  margin: 0 0 12px;
}

.dropdown-panel a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 8px;
  border-radius: 8px;
  font-size: 14px;
  min-height: 44px;
}

.dropdown-panel a:hover {
  background: #f1ede9;
}

.dropdown-panel a>.icon {
  width: 20px;
  height: 20px;
  flex-basis: 20px;
}

.dropdown-panel small {
  display: block;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--muted);
  margin-top: 4px;
}

.dropdown-panel.compact {
  left: auto;
  right: -20px;
  width: 232px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.login-link {
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  margin-right: 0;
  color: var(--secondary);
}

.site-header .button {
  min-height: 40px;
  padding: 8px 16px;
}

.nav-shade {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: #0f1e2e26;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms var(--ease);
}

.site-header:has(.nav-dropdown[open])+.nav-shade,.site-header.menu-open+.nav-shade {
  opacity: 1;
  pointer-events: auto;
}

.menu-toggle,.mobile-nav {
  display: none;
}

.nav-dropdown[open]>summary {
  color: var(--blue);
}

.nav-dropdown:has(>.product-menu) {
  position: static;
}

.product-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%);
  width: 820px;
  max-width: calc(100vw - 48px);
  display: grid;
  grid-template-columns: 2fr 1fr;
  column-gap: 24px;
  padding: 24px 24px 0;
  border-radius: 12px;
}

.menu-main {
  min-width: 0;
}

.menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 16px;
}

.product-menu .menu-heading {
  font-size: 12px;
  line-height: 20px;
  color: var(--ink);
  margin: 0 0 12px;
}

.product-menu a,.scenario-menu a {
  align-items: flex-start;
  gap: 8px;
  padding: 8px 4px 12px;
  line-height: 20px;
  font-weight: 500;
}

.product-menu a small,.scenario-menu a small {
  font-size: 12px;
  line-height: 20px;
  margin-top: 4px;
  color: var(--muted);
  font-weight: 400;
}

.menu-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 24px;
  height: 24px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
  color: var(--muted);
}

.menu-icon>.icon {
  width: 16px;
  height: 16px;
  flex-basis: 16px;
}

.menu-icon.violet {
  color: var(--muted);
  border-color: var(--line);
  background: var(--surface);
}

.menu-icon.amber {
  color: var(--muted);
  border-color: var(--line);
  background: var(--surface);
}

.menu-icon.green {
  color: var(--muted);
  border-color: var(--line);
  background: var(--surface);
}

.menu-icon.blue {
  color: var(--muted);
  border-color: var(--line);
  background: var(--surface);
}

.menu-icon.coral {
  color: var(--muted);
  border-color: var(--line);
  background: var(--surface);
}

.menu-icon.teal {
  color: var(--muted);
  border-color: var(--line);
  background: var(--surface);
}

.menu-aside {
  border-left: 1px solid #e6e4e1;
  padding-left: 24px;
}

.product-menu .menu-note {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border: 1px solid #e5e2df;
  background: white;
  border-radius: 8px;
  padding: 12px 12px;
  margin-top: 4px;
  font-size: 12px;
}

.product-menu .menu-note small {
  color: var(--secondary);
  font-weight: 500;
  margin: 0;
}

.product-menu .menu-overview {
  grid-column: 1/-1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 8px;
  border-top: 1px solid #e6e4e1;
  border-radius: 8px 8px 0 0;
  margin-top: 16px;
  font-size: 14px;
}

.product-menu a:hover,.scenario-menu a:hover {
  background: #f2efec;
}

.scenario-menu {
  width: 332px;
  top: calc(100% + 16px);
}

.hero {
  padding: 144px 0 0;
  overflow: clip;
}

.hero-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: calc(100% - var(--gutter)*2);
  max-width: 1184px;
  margin: auto;
  text-align: center;
}

.hero h1 {
  position: relative;
  z-index: 1;
  line-height: 1.125;
  margin-bottom: 24px;
  font-weight: 500;
}

.hero h1 strong {
  display: inline-block;
  padding-bottom: 0;
  margin-bottom: 0;
}

.hero-description {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin-bottom: 24px;
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  letter-spacing: 0;
  text-wrap: pretty;
  color: var(--secondary);
}

.hero-description>span {
  display: block;
}

.keep-together {
  white-space: nowrap;
}

.hero-actions {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.hero-caption {
  position: relative;
  z-index: 1;
  font-size: 14px;
  font-weight: 500;
  line-height: 21px;
  color: var(--secondary);
  margin-top: 8px;
}

.hero-capabilities {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 24px;
  font-size: 12px;
  color: var(--muted);
  margin: 24px 0 0;
}

.hero-capabilities>.icon {
  color: #c8932e;
  width: 24px;
  height: 24px;
  flex-basis: 24px;
  margin-right: 4px;
}

.hero-capabilities i {
  font-style: normal;
  color: var(--muted);
}

.demo-section {
  position: relative;
  margin-top: 56px;
  padding: 0 40px 48px;
  scroll-margin-top: 108px;
}

.demo-window {
  height: 612px;
  display: grid;
  grid-template-columns: 28% 1fr;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px #0f1e2e0f;
}

.demo-sidebar {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 24px 0;
  background: #f6f7f7;
  border-right: 1px solid #e8eaed;
  border-right-color: var(--line);
}

.workspace-name {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 0 24px;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 24px;
}

.workspace-chevron {
  width: 16px;
  height: 16px;
  flex-basis: 16px;
  color: var(--muted);
}

.demo-sidebar>p {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  padding: 0 24px;
  margin-bottom: 8px;
}

.demo-sidebar>p .icon {
  width: 16px;
  height: 16px;
  flex-basis: 16px;
}

.demo-tabs {
  display: flex;
  flex-direction: column;
}

.demo-tabs button {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 24px;
  text-align: left;
  border: 0;
  background: none;
  font-size: 14px;
  color: var(--secondary);
}

.demo-tabs button:hover {
  background: #eff1f4;
}

.demo-tabs button[aria-selected="true"] {
  background: #e9edf1;
  color: var(--ink);
  font-weight: 600;
}

.demo-tabs .conversation-icon {
  width: 16px;
  height: 16px;
  flex-basis: 16px;
  color: var(--muted);
}

.demo-tabs .tab-agent {
  margin-left: auto;
  width: 16px;
  height: 16px;
  flex-basis: 16px;
  color: var(--muted);
}

.sidebar-owner {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding: 24px 24px 0;
  font-size: 12px;
}

.sidebar-owner small {
  display: block;
  font-size: 11px;
  margin-top: 4px;
  color: var(--muted);
}

.sidebar-directory {
  font-size: 12px;
  margin: 16px 24px 0;
  color: var(--muted);
  justify-content: space-between;
  min-height: 32px;
}

.demo-main {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.demo-topbar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 12px 24px;
  border-bottom: 1px solid #e8e8e8;
  flex: none;
  border-bottom-color: var(--line);
}

.channel-picker {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 0;
  padding: 0;
  background: none;
  max-width: 65%;
  min-height: 32px;
}

.channel-picker>.icon {
  width: 16px;
  height: 16px;
  flex-basis: 16px;
  color: var(--muted);
}

.channel-picker:hover {
  color: var(--secondary);
}

#demo-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  line-height: 24px;
  white-space: nowrap;
  font-weight: 600;
}

#demo-title .icon {
  width: 16px;
  height: 16px;
  flex-basis: 16px;
  color: var(--muted);
}

#demo-subtitle {
  font-size: 11px;
  color: var(--secondary);
  white-space: nowrap;
}

.member-stack {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

.member {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  color: #315a7a;
  background: #e5edf5;
  line-height: 16px;
}

.member.maya {
  background: #eaded5;
  color: #8c6a56;
}

.member.leo {
  background: #e3ebdf;
  color: #5c7754;
}

.channel-options {
  position: absolute;
  z-index: 10;
  top: calc(100% + 8px);
  left: 16px;
  min-width: 216px;
  padding: 8px;
  border: 1px solid #e5e7e9;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 24px #0f1e2e0f;
  border-color: var(--line);
}

.channel-options button {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 12px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  text-align: left;
  font-size: 13px;
  min-height: 44px;
}

.channel-options button:hover,.channel-options button:focus-visible {
  background: #eff4fd;
}

.demo-messages {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: thin;
  padding: 24px 32px 16px;
}

.chat-message {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 24px;
}

.chat-message>div {
  min-width: 0;
}

.avatar {
  display: inline-grid;
  place-items: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
}

.avatar>.icon {
  width: 24px;
  height: 24px;
  flex-basis: 24px;
}

.peach {
  background: #f3e5d6;
  color: #966f43;
}

.purple,.gold-avatar {
  background: #fff3d9;
  color: #385d68;
}

.chat-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 20px;
  font-size: 14px;
  line-height: 20px;
}

.chat-meta strong {
  font-weight: 600;
}

.chat-meta time {
  font-size: 11px;
  font-weight: 400;
  color: var(--secondary);
}

.app-badge {
  font-size: 11px;
  line-height: 16px;
  padding: 2px 4px;
  background: #eeeeef;
  color: var(--secondary);
  border-radius: 4px;
}

.chat-message p {
  font-size: 15px;
  line-height: 24px;
  margin-top: 4px;
  color: var(--ink);
}

.agent-body {
  min-width: 0;
  flex: 1;
}

.agent-message {
  margin-bottom: 0;
}

.demo-thinking {
  font-size: 13px!important;
  color: #667788!important;
}

.thinking-dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  margin: 0 8px 2px 0;
  border-radius: 50%;
  background: #8197aa;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 16px 0;
  font-size: 13px;
  line-height: 20px;
  color: var(--secondary);
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 12px;
  margin: 4px 0;
  background: #f7f9f8;
  border: 1px solid #e4eeee;
  border-radius: 8px;
  border-color: #e4eae7;
}

.checklist-icon {
  color: #537465;
  margin-top: 2px;
  width: 16px;
  height: 16px;
  flex-basis: 16px;
}

.result-card {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding: 16px;
  border: 1px solid #e9e9ea;
  background: white;
  border-radius: 8px;
  box-shadow: none;
  border-color: var(--line);
}

.result-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  color: #8b6b2b;
  background: #f5edda;
}

.result-icon>.icon {
  width: 28px;
  height: 28px;
}

.result-card strong {
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
}

.result-card p {
  font-size: 12px;
  color: var(--muted);
  line-height: 20px;
  margin-top: 4px;
}

.result-state {
  margin-left: auto;
  flex: none;
  padding: 4px 8px;
  border-radius: 4px;
  background: #f8f2de;
  color: #836b34;
  font-size: 11px;
  white-space: nowrap;
  line-height: 16px;
}

.demo-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.demo-buttons>button,.demo-buttons>a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid #e2e5e8;
  border-radius: 8px;
  background: white;
  color: var(--secondary);
  font-size: 12px;
  font-weight: 500;
  border-color: var(--line);
}

.demo-buttons>button:first-child {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.demo-buttons>button:first-child:hover {
  background: #2252cc;
  border-color: #2252cc;
}

.demo-buttons>a:hover {
  background: #f6f8fa;
}

.demo-buttons .replay-button {
  margin-left: auto;
  min-width: 36px;
  padding: 8px;
  border: 0;
  color: var(--muted);
}

.transcript {
  margin-top: 16px;
  border-left: 2px solid #a4bdcc;
  padding: 12px 16px;
  background: #f7f9fb;
  border-left-color: #bdcbd8;
}

.transcript h3 {
  font-size: 12px;
}

.transcript p {
  font-size: 13px;
  white-space: pre-line;
  line-height: 24px;
  color: var(--secondary);
}

.demo-composer {
  padding: 12px 24px 16px;
  margin-top: auto;
  flex: none;
}

.composer-surface {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 48px;
  padding: 4px 8px;
  border: 1px solid #e6e8ec;
  border-radius: 8px;
  font-size: 12px;
  color: var(--muted);
}

.composer-surface>.icon {
  color: var(--muted);
}

.composer-surface a {
  margin-left: auto;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
}

.composer-surface a:hover {
  background: #eff4f8;
  border-radius: 4px;
}

.demo-messages.is-playing [data-scene-part] {
  visibility: hidden;
}

.demo-messages.is-playing [data-scene-part].is-visible {
  visibility: visible;
}

.connection-band {
  padding: 64px 0;
  text-align: center;
  overflow: hidden;
}

.connection-band h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 20px 32px;
  font-size: 20px;
  line-height: 28px;
  font-weight: 500;
  letter-spacing: 0;
}

.connection-band h2>.icon {
  width: 24px;
  height: 24px;
  color: var(--secondary);
}

.capability-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(24px,5vw,80px);
  padding-inline: 24px;
  color: var(--secondary);
}

.capability-row>span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
}

.capability-row .icon {
  width: 16px;
  height: 16px;
  flex-basis: 16px;
  opacity: 1;
  color: var(--muted);
}

.section {
  padding-block: 80px;
}

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

.eyebrow {
  display: block;
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 0;
}

.section-heading h2 {
  margin: 0 0 16px;
  line-height: 1.12;
}

.section-heading>p:last-child {
  font-size: 16px;
  line-height: 24px;
  color: var(--secondary);
  max-width: 592px;
  margin-inline: auto;
}

.feature-rail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 16px;
  padding-bottom: 16px;
}

.feature-steps {
  padding: 2vh 0 4vh;
}

.feature-step {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 44vh;
  transition: color 180ms var(--ease);
}

.features-enhanced .feature-step {
  opacity: 1;
}

.features-enhanced .feature-step.is-active {
  opacity: 1;
}

.feature-copy {
  max-width: 432px;
}

.feature-copy>.eyebrow {
  font-size: 13px;
  letter-spacing: 0;
  margin-bottom: 12px;
}

.feature-copy h3 {
  font-size: 32px;
  line-height: 40px;
  margin-bottom: 16px;
  letter-spacing: 0;
  font-weight: 500;
}

.feature-copy>p {
  max-width: 420px;
  font-size: 16px;
  line-height: 24px;
  color: var(--secondary);
}

.feature-stage {
  position: sticky;
  top: calc(50vh - 236px);
  height: 472px;
  border: 1px solid #e7e7e7;
  border-radius: 16px;
  overflow: hidden;
  background: #f3f4f4;
  box-shadow: none;
  border-color: var(--line);
}

.use-case-section .section-heading {
  margin-bottom: 48px;
}

.case-tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.case-tabs button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 20px;
  border: 1px solid #e8e7e6;
  border-radius: 8px;
  background: white;
  color: var(--secondary);
  font-size: 14px;
  line-height: 20px;
  transition: background-color 140ms var(--ease),color 140ms var(--ease),border-color 140ms var(--ease);
}

.case-tabs button .icon {
  width: 16px;
  height: 16px;
  flex-basis: 16px;
}

.case-tabs button[aria-selected="true"] {
  color: white;
  background: var(--blue);
  border-color: var(--blue);
}

.case-tabs button:hover:not([aria-selected="true"]) {
  background: #f0f2f5;
}

.case-panel {
  position: relative;
  max-width: 1056px;
  margin: auto;
  background: white;
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  box-shadow: 0 8px 24px #0f1e2e0a;
  overflow: hidden;
  min-height: 572px;
  border-color: var(--line);
}

.window-chrome {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
  padding: 8px 16px;
  background: #efefed;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.window-dots {
  display: flex;
  gap: 4px;
}

.window-dots i {
  width: 8px;
  height: 8px;
  background: #bfc4c7;
  border-radius: 50%;
}

.window-dots i:nth-child(2) {
  background: #bfc4c7;
}

.window-dots i:nth-child(3) {
  background: #bfc4c7;
}

.window-search {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: 40%;
  height: 28px;
  border-radius: 4px;
  background: #ffffff;
  font-size: 11px;
  color: var(--muted);
  line-height: 16px;
  border: 1px solid var(--line);
}

.window-search .icon {
  width: 16px;
  height: 16px;
  flex-basis: 16px;
}

.window-chrome>.icon {
  width: 16px;
  height: 16px;
}

.case-channel {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  border-bottom: 1px solid #eaeaea;
  padding: 12px 24px;
}

.case-channel>strong {
  font-size: 14px;
}

.case-channel>span {
  font-size: 11px;
  color: var(--muted);
}

.case-conversation {
  padding: 24px 32px;
  min-height: 420px;
}

.case-message {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 24px;
  font-size: 14px;
}

.case-message>div {
  min-width: 0;
}

.case-message p {
  font-size: 15px;
  line-height: 24px;
  margin-top: 4px;
  color: var(--ink);
}

.case-agent-body {
  flex: 1;
}

.case-exchanges {
  display: grid;
  gap: 12px;
  border-left: 2px solid #e7ebef;
  margin: 16px 0;
  padding-left: 16px;
}

.case-exchanges p {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--secondary);
  line-height: 20px;
}

.case-exchanges p>span:last-child {
  display: block;
}

.case-exchanges strong {
  display: block;
  font-size: 12px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 20px;
}

.case-artifact {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid #e5e9ef;
  border-radius: 8px;
  margin-top: 12px;
  border-color: var(--line);
}

.case-artifact>.icon {
  width: 28px;
  height: 28px;
  flex-basis: 28px;
  color: #b28b3f;
}

.case-artifact strong {
  font-size: 14px;
  font-weight: 600;
}

.case-artifact p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
  line-height: 20px;
}

.case-artifact>span {
  margin-left: auto;
  padding: 4px 8px;
  border-radius: 4px;
  background: #f8f1df;
  color: #795f2f;
  font-size: 11px;
  white-space: nowrap;
}

.case-agent-body>.text-link {
  margin-top: 16px;
  font-size: 13px;
  min-height: 32px;
}

.case-composer {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  border: 1px solid #e5e8ec;
  border-radius: 8px;
  margin: 0 24px 20px;
  padding: 4px 8px;
  font-size: 12px;
  color: var(--muted);
}

.case-composer a {
  margin-left: auto;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 4px;
  background: var(--blue);
  color: white;
}

.case-composer a .icon {
  width: 16px;
  height: 16px;
  flex-basis: 16px;
}

.case-panel>.replay-button {
  position: absolute;
  right: 12px;
  top: 8px;
  padding: 8px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: var(--secondary);
  background: transparent;
  border: 0;
}

.case-panel>.replay-button:hover {
  background: #e1e4e6;
  border-radius: 4px;
}

.case-caption {
  text-align: center;
  max-width: 680px;
  margin: 24px auto 0;
}

.case-caption h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  white-space: normal;
}

.case-caption p {
  font-size: 14px;
  line-height: 24px;
  color: var(--muted);
  margin-top: 8px;
}

.how-section,.control-section {
  text-align: center;
}

.steps,.control-cards {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 16px;
  text-align: left;
  margin: 0 0 40px;
}

.steps article,.control-cards article {
  min-width: 0;
  background: white;
  border: 1px solid #e8e8e8;
  border-radius: 16px;
  padding: 8px 8px 24px;
  border-color: var(--line);
}

.step-visual {
  display: grid;
  place-items: center;
  width: 100%;
  min-width: 0;
  min-height: 240px;
  aspect-ratio: 1.26;
  border: 1px solid #eceef1;
  border-radius: 8px;
  background: #f5f6f5;
  overflow: hidden;
  border-color: var(--line);
}

.steps h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 24px 16px 0;
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: 0;
  font-weight: 500;
}

.steps h3>span {
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
}

.steps article>p {
  padding: 12px 16px 0;
  font-size: 14px;
  line-height: 24px;
  color: var(--secondary);
}

.mini-prompt,.mini-document,.mini-identity {
  width: 80%;
  max-width: 260px;
  padding: 20px;
  border: 1px solid #e6e7eb;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 2px #0f1e2e0a;
  border-color: var(--line);
}

.prompt-visual {
  background: #f6f5f2;
}

.mini-prompt>span {
  font-size: 11px;
  color: var(--muted);
}

.mini-prompt>p {
  font-size: 14px;
  line-height: 24px;
  margin: 12px 0;
  color: var(--secondary);
}

.mini-copy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #e9e5db;
  border-radius: 8px;
  min-height: 32px;
  color: var(--secondary);
  font-size: 12px;
  border-color: var(--line);
}

.mini-copy .icon {
  width: 12px;
  height: 12px;
}

.read-visual {
  background: #f3f5f6;
}

.mini-document {
  transform: none;
}

.document-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
}

.document-title>.icon {
  color: var(--muted);
  width: 16px;
  height: 16px;
}

.document-line {
  height: 4px;
  background: #e8edf2;
  margin: 16px 0 8px;
  border-radius: 2px;
}

.document-line.short {
  width: 70%;
  margin: 0 0 16px;
}

.mini-document>p {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  line-height: 20px;
  margin-top: 4px;
  color: var(--muted);
}

.mini-document>p>.icon {
  width: 12px;
  height: 12px;
  flex-basis: 12px;
  color: var(--muted);
}

.identity-visual {
  background: #f3f5f6;
}

.mini-identity {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 16px;
}

.identity-symbol {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #eef2f6;
  color: var(--secondary);
  margin-bottom: 12px;
}

.identity-symbol .icon {
  width: 28px;
  height: 28px;
}

.mini-identity>strong {
  font-size: 14px;
}

.mini-identity>span:not(.identity-symbol) {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}

.mini-identity>p {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--muted);
  margin-top: 16px;
  line-height: 20px;
}

.mini-identity>p>.icon {
  width: 12px;
  height: 12px;
  flex-basis: 12px;
}

.control-cards article {
  padding: 24px 8px 8px;
}

.control-cards h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  line-height: 1.4;
  padding-inline: 16px;
  font-weight: 500;
}

.control-cards h3>.icon {
  width: 20px;
  height: 20px;
  flex-basis: 20px;
}

.control-cards article>p {
  font-size: 14px;
  line-height: 24px;
  color: var(--secondary);
  padding: 8px 16px 24px;
  min-height: 56px;
}

.control-visual {
  display: grid;
  place-items: center;
  min-height: 244px;
  border: 1px solid #eceef1;
  border-radius: 8px;
  background: #f6f7f7;
  padding: 20px;
  overflow: hidden;
  border-color: var(--line);
}

.record-preview {
  width: 100%;
  max-width: 260px;
  padding: 16px;
  border: 1px solid #eceef0;
  border-radius: 8px;
  box-shadow: 0 1px 2px #0f1e2e05;
  font-size: 12px;
  border-color: var(--line);
}

.record-preview>span {
  display: block;
  font-size: 11px;
  color: var(--muted);
}

.record-preview>strong {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  margin-top: 4px;
  font-weight: 500;
}

.record-preview>strong>.icon {
  width: 16px;
  height: 16px;
  flex-basis: 16px;
  color: #b29454;
}

.record-preview small {
  font-size: 11px;
  color: var(--muted);
  margin-left: auto;
}

.record-preview>div {
  border-top: 1px solid #edf0f2;
  margin: 12px 0;
}

.record-preview>p {
  font-size: 12px;
  margin-top: 4px;
  line-height: 20px;
}

.pause-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.pause-symbol {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: #f7f1df;
  color: #a78843;
  margin-bottom: 20px;
}

.pause-symbol>.icon {
  width: 24px;
  height: 24px;
}

.pause-preview>strong {
  font-size: 14px;
}

.pause-preview>p {
  font-size: 12px;
  margin-top: 8px;
  color: var(--muted);
  line-height: 20px;
}

.quiet-pill {
  display: block;
  margin-top: 16px;
  border: 1px solid #e9e8e4;
  border-radius: 4px;
  padding: 4px 12px;
  font-size: 11px;
  color: var(--muted);
}

.owner-preview {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.owner-preview>.avatar {
  margin-bottom: 12px;
}

.owner-preview>strong {
  font-size: 14px;
}

.owner-preview>p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
  line-height: 20px;
}

.owner-preview>div {
  display: flex;
  margin-top: 24px;
  padding: 4px;
  border: 1px solid #e5e9ed;
  border-radius: 8px;
  font-size: 11px;
  color: var(--muted);
}

.owner-preview>div>span {
  display: flex;
  gap: 4px;
  padding: 8px 12px;
  align-items: center;
}

.owner-preview .selected {
  background: #edf4ff;
  border-radius: 4px;
  color: #416898;
}

.owner-preview .selected>.icon {
  width: 12px;
  height: 12px;
  flex-basis: 12px;
}

.faq-section {
  max-width: 800px;
}

.faq-section>h2 {
  text-align: center;
  font-size: 48px;
  line-height: 56px;
  margin-bottom: 64px;
  font-weight: 500;
}

.faq-list details {
  border-bottom: 1px solid #e9e5e2;
  overflow: hidden;
  border-bottom-color: var(--line);
}

.faq-list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 20px 0;
  list-style: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  min-height: 64px;
}

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

.faq-toggle {
  width: 16px;
  height: 16px;
  flex-basis: 16px;
  color: var(--muted);
  transition: transform 180ms var(--ease);
}

.faq-list summary[aria-expanded="true"] .faq-toggle,.faq-list details[open] summary:not([aria-expanded]) .faq-toggle {
  transform: rotate(180deg);
}

.faq-answer>p {
  font-size: 15px;
  line-height: 24px;
  color: var(--secondary);
  padding: 0 32px 24px 0;
}

.faq-more {
  text-align: center;
  font-size: 14px;
  margin-top: 56px;
}

.faq-more>a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-left: 4px;
}

.closing {
  padding: 128px 0;
  text-align: center;
}

.closing h2 {
  font-size: 64px;
  line-height: 1.125;
  margin-bottom: 32px;
  font-weight: 500;
}

.closing>.wrap>p:not(.hero-caption) {
  font-size: 18px;
  line-height: 28px;
  margin-bottom: 32px;
}

.closing .hero-caption {
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
}

.closing-note {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  margin-top: 16px;
}

.closing-note>.icon {
  color: var(--muted);
}

.site-footer {
  padding: 32px 0 48px;
}

.site-footer>.wordmark {
  margin-bottom: 40px;
  font-size: 24px;
}

.site-footer>.wordmark>.icon {
  width: 24px;
  height: 24px;
  flex-basis: 24px;
}

.footer-columns {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer-columns h3 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  margin-bottom: 16px;
}

.footer-columns a {
  display: block;
  font-size: 14px;
  line-height: 24px;
  color: var(--secondary);
  margin: 8px 0;
}

.footer-columns a:hover {
  color: var(--blue);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 64px;
  font-size: 12px;
  color: var(--muted);
  line-height: 20px;
}

.connect-dialog {
  position: fixed;
  width: min(540px,calc(100% - 36px));
  max-height: calc(100dvh - 48px);
  overflow: auto;
  border: 1px solid #e5e2df;
  border-radius: 16px;
  padding: 40px;
  background: white;
  color: var(--ink);
  box-shadow: 0 1px 2px #0f1e2e0a;
}

.connect-dialog::backdrop {
  background: #0f1e2e55;
}

.dialog-close {
  position: absolute;
  right: 12px;
  top: 12px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: #f5f5f4;
  color: var(--muted);
}

.dialog-close:hover {
  background: #eceeed;
}

.dialog-close>.icon {
  width: 20px;
  height: 20px;
}

.dialog-eyebrow {
  font-size: 12px;
  color: #8e733e;
}

.connect-dialog h2 {
  font-size: 26px;
  line-height: 1.4;
  margin: 20px 0 12px;
  font-weight: 600;
  letter-spacing: 0;
  padding-right: 8px;
}

.dialog-description {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
}

.connect-box {
  margin: 24px 0 16px;
}

.prompt-row {
  display: flex;
  flex-direction: column;
  border: 1px solid #e2e7ee;
  border-radius: 12px;
  background: #f8fafc;
  overflow: hidden;
}

.prompt-row textarea {
  display: block;
  flex: none;
  width: 100%;
  resize: none;
  overflow: hidden;
  min-height: 0;
  padding: 20px 20px 24px;
  border: 0;
  background: none;
  font: inherit;
  font-size: 15px;
  line-height: 1.9;
  color: var(--secondary);
  overflow-wrap: anywhere;
}

.prompt-row button {
  min-height: 48px;
  margin: 0 12px 12px;
  border: 1px solid var(--blue);
  border-radius: 8px;
  background: var(--blue);
  color: white;
  font-size: 14px;
  font-weight: 600;
}

.prompt-row button:hover {
  background: #2252cc;
}

.copy-status {
  font-size: 12px;
  line-height: 1.85;
  color: var(--muted);
  margin-top: 12px;
}

.copy-status.error {
  color: #a3463b;
}

.dialog-docs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #3666b6;
  margin-top: 4px;
  padding-block: 4px;
}

body:has(.connect-dialog[open]) {
  overflow: hidden;
}

@media(min-width:1441px) {
  .hero {
    padding: 168px 0 0;
  }

}

@media(max-width:1180px) {
  .desktop-nav {
    gap: 16px;
    font-size: 13px;
    margin-left: 24px;
  }

  .site-header {
    gap: 24px;
    min-height: 64px;
    padding: 8px 16px;
    border-color: #e5e3e1;
    box-shadow: 0 1px 2px #0f1e2e0a;
  }

  .header-actions {
    gap: 12px;
  }

  .header-actions .secondary {
    display: none;
  }

  .site-header .login-link {
    margin-right: 4px;
  }

  .hero h1 {
    font-size: 60px;
    line-height: 1.125;
    margin-bottom: 24px;
    font-weight: 500;
  }

  .demo-section {
    padding-inline: 24px;
    margin-top: 56px;
    padding: 0 40px 48px;
  }

  .demo-window {
    height: 600px;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 8px 24px #0f1e2e0f;
  }

  .chat-message p {
    font-size: 14px;
    line-height: 24px;
    color: var(--ink);
  }

  .result-state {
    display: none;
    font-size: 11px;
    line-height: 16px;
    padding: 4px 8px;
  }

}

@media(max-width:991px) {
  .desktop-nav {
    display: none;
    margin-left: 40px;
    gap: 24px;
    font-size: 14px;
  }

  .site-header {
    gap: 12px;
    padding: 8px 16px;
    min-height: 64px;
    border-color: #e5e3e1;
    box-shadow: 0 1px 2px #0f1e2e0a;
  }

  .header-actions {
    margin-left: auto;
    gap: 8px;
  }

  .header-actions .secondary {
    display: none;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    position: relative;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    align-items: center;
  }

  .menu-toggle>span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--ink);
    transition: transform 140ms var(--ease);
  }

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

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

  .mobile-nav {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    padding: 24px;
    background: var(--cream);
    border: 1px solid #e5e2df;
    border-radius: 12px;
    box-shadow: 0 1px 2px #0f1e2e0a;
    max-height: calc(100dvh - 108px);
    overflow: auto;
  }

  .mobile-nav>.menu-heading {
    font-size: 12px;
    margin: 12px 0 8px;
  }

  .mobile-nav>.menu-heading:first-child {
    margin-top: 0;
  }

  .mobile-nav>a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    font-size: 15px;
    border-bottom: 1px solid #eae6e2;
    min-height: 48px;
  }

  .mobile-nav>a>.icon {
    color: var(--muted);
    width: 16px;
    height: 16px;
    flex-basis: 16px;
  }

  .hero {
    padding: 160px 0 0;
  }

  .hero h1 {
    font-size: 56px;
    line-height: 1.125;
    margin-bottom: 24px;
    font-weight: 500;
  }

  .demo-section {
    padding: 0 12px 24px;
    margin-top: 48px;
  }

  .demo-window {
    display: flex;
    flex-direction: column;
    height: 680px;
    min-height: 0;
    box-shadow: 0 8px 24px #0f1e2e0a;
    border: 1px solid var(--line);
    border-radius: 16px;
  }

  .demo-sidebar {
    display: none;
    padding: 24px 0;
    background: #f6f7f7;
    border-right-color: var(--line);
  }

  .demo-main {
    height: 100%;
  }

  .demo-topbar {
    min-height: 56px;
    padding: 12px 16px;
    gap: 12px;
    border-bottom-color: var(--line);
  }

  .channel-picker {
    max-width: 75%;
    gap: 8px;
    min-height: 32px;
  }

  #demo-title {
    font-size: 17px;
    gap: 8px;
    font-weight: 600;
  }

  #demo-subtitle {
    font-size: 12px;
  }

  .demo-topbar .member-stack {
    display: none;
  }

  .demo-messages {
    padding: 16px;
  }

  .chat-message {
    gap: 12px;
    padding: 4px 0;
    margin-bottom: 20px;
  }

  .avatar {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
    border-radius: 8px;
  }

  .chat-meta {
    font-size: 15px;
    gap: 8px;
    line-height: 20px;
  }

  .chat-meta time {
    font-size: 12px;
  }

  .chat-message p {
    font-size: 15px;
    line-height: 24px;
    color: var(--ink);
  }

  .checklist {
    font-size: 13px;
    line-height: 20px;
    margin: 16px 0;
  }

  .checklist li {
    padding: 8px 12px;
    margin: 4px 0;
    background: #f7f9f8;
    border-color: #e4eae7;
  }

  .result-state {
    display: inline-block;
    font-size: 11px;
    line-height: 16px;
    padding: 4px 8px;
  }

  .demo-buttons>button,.demo-buttons>a {
    font-size: 12px;
    min-height: 44px;
    gap: 8px;
    padding: 12px;
    font-weight: 500;
    border-radius: 8px;
    border-color: var(--line);
  }

  .demo-composer {
    padding: 8px 16px 16px;
  }

  .composer-surface {
    min-height: 48px;
    gap: 8px;
    padding: 4px 8px;
    font-size: 12px;
    border-radius: 8px;
  }

  .connection-band {
    padding-block: 56px;
  }

  .capability-row {
    gap: 28px;
    flex-wrap: wrap;
  }

  .section-heading h2 {
    font-size: 44px;
  }

  .steps h3,.control-cards h3 {
    font-size: 17px;
  }

  .step-visual {
    min-height: 200px;
    border-color: var(--line);
    background: #f5f6f5;
    border-radius: 8px;
  }

  .control-visual {
    padding: 12px;
    background: #f6f7f7;
    border-color: var(--line);
  }

  .case-panel {
    max-width: 100%;
    border-radius: 16px;
    border-color: var(--line);
    box-shadow: 0 8px 24px #0f1e2e0a;
  }

  .window-search {
    width: 45%;
    height: 28px;
    background: #ffffff;
    color: var(--muted);
    font-size: 11px;
    line-height: 16px;
    border: 1px solid var(--line);
    gap: 8px;
  }

}

@media(max-width:900px) {
  .feature-rail {
    display: block;
    padding-bottom: 0;
  }

  .feature-steps {
    padding: 0;
  }

  .feature-stage {
    display: none;
    top: calc(50vh - 236px);
    height: 472px;
    border-radius: 16px;
    background: #f3f4f4;
    box-shadow: none;
    border-color: var(--line);
  }

  .feature-step,.features-enhanced .feature-step {
    opacity: 1;
    display: block;
    min-height: 0;
    padding: 24px 16px 0;
    margin-bottom: 16px;
    border: 1px solid #e7e7e7;
    border-radius: 16px;
    overflow: hidden;
    background: #f3f4f4;
    box-shadow: none;
  }

  .feature-copy {
    max-width: 500px;
    margin: 0 auto;
    padding: 0 4px;
  }

  .feature-copy h3 {
    font-size: 28px;
    line-height: 36px;
    letter-spacing: 0;
    font-weight: 500;
  }

  .feature-copy h3 br {
    display: none;
  }

  .feature-copy>p {
    font-size: 15px;
    line-height: 24px;
    max-width: 100%;
    color: var(--secondary);
  }

  .feature-copy>.eyebrow {
    font-size: 13px;
    margin-bottom: 8px;
    letter-spacing: 0;
  }

  .feature-visual {
    margin-inline: -16px;
    width: calc(100% + 32px)!important;
    font-size: 13px;
    line-height: 20px;
    padding: 16px;
    color: var(--ink);
    height: 352px;
  }

  .use-case-section .section-heading {
    margin-bottom: 48px;
  }

}

@media(max-width:760px) {
  .hero {
    padding: 144px 0 0;
  }

  .hero h1 {
    font-size: 48px;
    line-height: 1.125;
    margin-bottom: 24px;
    font-weight: 500;
  }

  .hero-description {
    max-width: 600px;
    font-size: 18px;
    line-height: 28px;
    letter-spacing: 0;
    color: var(--secondary);
    margin-bottom: 24px;
  }

  .connection-band h2 {
    font-size: 18px;
    gap: 12px;
    font-weight: 500;
    line-height: 28px;
    letter-spacing: 0;
  }

  .capability-row {
    gap: 24px 32px;
  }

  .capability-row>span {
    font-size: 14px;
    gap: 8px;
    font-weight: 500;
  }

  .section {
    padding-block: 64px;
  }

  .section-heading {
    margin-bottom: 48px;
    margin: 0 auto 64px;
  }

  .section-heading h2 {
    font-size: 40px;
    line-height: 48px;
  }

  .section-heading>p:last-child {
    font-size: 16px;
    line-height: 24px;
    color: var(--secondary);
  }

  .case-panel {
    min-height: 0;
    border-radius: 16px;
    border-color: var(--line);
    box-shadow: 0 8px 24px #0f1e2e0a;
  }

  .case-conversation {
    padding: 24px 20px;
    min-height: 400px;
  }

  .case-channel {
    padding-inline: 20px;
    gap: 12px;
    min-height: 56px;
  }

  .case-message {
    gap: 12px;
  }

  .case-artifact {
    flex-wrap: wrap;
    padding: 12px;
    border-radius: 8px;
    border-color: var(--line);
  }

  .case-artifact>span {
    margin-left: auto;
    font-size: 11px;
    padding: 4px 8px;
  }

  .case-composer {
    margin: 0 16px 16px;
    min-height: 48px;
    padding: 4px 8px;
    font-size: 12px;
    gap: 8px;
    border-radius: 8px;
  }

  .steps,.control-cards {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 480px;
    margin-inline: auto;
  }

  .steps article,.control-cards article {
    padding-bottom: 24px;
    border-color: var(--line);
    border-radius: 16px;
  }

  .step-visual {
    aspect-ratio: auto;
    min-height: 272px;
    border-color: var(--line);
    background: #f5f6f5;
    border-radius: 8px;
  }

  .steps h3,.control-cards h3 {
    font-size: 20px;
  }

  .steps article>p,.control-cards article>p {
    font-size: 16px;
  }

  .control-cards article {
    padding-bottom: 8px;
  }

  .control-visual {
    min-height: 264px;
    padding: 20px;
    background: #f6f7f7;
    border-color: var(--line);
  }

  .faq-section {
    max-width: 600px;
  }

  .faq-section>h2 {
    font-size: 40px;
    margin-bottom: 48px;
    line-height: 48px;
    font-weight: 500;
  }

  .faq-list summary {
    font-size: 15px;
    min-height: 64px;
    padding: 20px 0;
    line-height: 24px;
    gap: 24px;
  }

  .faq-answer>p {
    font-size: 14px;
    line-height: 24px;
    padding: 0 32px 24px 0;
    color: var(--secondary);
  }

  .closing {
    padding: 96px 0;
  }

  .closing h2 {
    font-size: 48px;
    line-height: 1.125;
    font-weight: 500;
  }

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

  .footer-bottom {
    margin-top: 64px;
    font-size: 11px;
    line-height: 20px;
    color: var(--muted);
  }

  .connect-dialog {
    padding: 36px 24px;
  }

}

@media(max-width:600px) {
  .footer-columns {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-columns h3 {
    font-size: 14px;
  }

  .footer-columns a {
    font-size: 14px;
    margin-block: 8px;
    line-height: 24px;
    margin: 8px 0;
    min-height: 32px;
  }

}

@media(max-width:479px) {
  .site-header {
    gap: 8px;
    min-height: 64px;
    padding: 8px 12px;
    border-color: #e5e3e1;
    box-shadow: 0 1px 2px #0f1e2e0a;
  }

  .site-header .wordmark {
    font-size: 24px;
  }

  .wordmark>.icon {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
  }

  .site-header .button {
    font-size: 13px;
    padding: 12px;
    min-height: 44px;
  }

  .header-actions {
    gap: 8px;
  }

  .site-header .login-link {
    display: none;
    font-size: 13px;
    margin: 0;
  }

  .hero h1 {
    font-size: 40px;
    line-height: 48px;
    margin-bottom: 24px;
    font-weight: 500;
    letter-spacing: 0;
  }

  .hero-description {
    font-size: 16px;
    line-height: 24px;
    width: 100%;
    max-width: 340px;
    margin-bottom: 24px;
    text-wrap: balance;
    letter-spacing: 0;
    color: var(--secondary);
  }

  .hero-description>span {
    display: block;
  }

  .keep-together {
    white-space: nowrap;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 320px;
    margin-inline: auto;
    gap: 16px;
  }

  .hero-actions .button {
    width: 100%;
    min-height: 48px;
  }

  .hero-caption {
    font-size: 13px;
    line-height: 21px;
  }

  .hero-capabilities {
    font-size: 11px;
    gap: 8px;
    margin-top: 24px;
  }

  .hero-capabilities>.icon {
    width: 24px;
    height: 24px;
  }

  .demo-section {
    margin-top: 48px;
    padding: 0 8px 24px;
  }

  #demo-title {
    font-size: 16px;
    gap: 8px;
    font-weight: 600;
  }

  #demo-subtitle {
    font-size: 11px;
  }

  .channel-picker {
    gap: 8px;
    min-height: 44px;
  }

  .chat-meta {
    font-size: 14px;
    gap: 8px;
    line-height: 20px;
  }

  .chat-meta time {
    font-size: 11px;
  }

  .app-badge {
    font-size: 11px;
    line-height: 16px;
    padding: 2px 4px;
    border-radius: 4px;
    color: var(--secondary);
  }

  .demo-buttons {
    gap: 8px;
    margin-top: 16px;
  }

  .demo-buttons>button,.demo-buttons>a {
    font-size: 12px;
    padding: 12px;
    min-height: 44px;
    gap: 8px;
    font-weight: 500;
    border-radius: 8px;
    border-color: var(--line);
  }

  .demo-buttons .replay-button {
    margin-left: 0;
    min-width: 36px;
    padding: 8px;
  }

  .result-card {
    flex-wrap: wrap;
    padding: 12px;
    gap: 12px;
    border-color: var(--line);
    box-shadow: none;
  }

  .result-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #f5edda;
    color: #8b6b2b;
  }

  .result-card strong {
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
  }

  .result-card p {
    font-size: 12px;
    line-height: 20px;
    color: var(--muted);
  }

  .result-state {
    font-size: 11px;
    margin-left: auto;
    line-height: 16px;
    padding: 4px 8px;
  }

  .checklist {
    font-size: 13px;
    line-height: 20px;
    margin: 16px 0;
  }

  .checklist li {
    padding: 8px;
    gap: 8px;
    margin: 4px 0;
    background: #f7f9f8;
    border-color: #e4eae7;
  }

  .composer-surface {
    font-size: 11px;
    gap: 8px;
    min-height: 48px;
    padding: 4px 8px;
    border-radius: 8px;
  }

  .connection-band {
    padding: 44px 0 48px;
  }

  .connection-band h2 {
    font-size: 16px;
    gap: 8px;
    margin-bottom: 28px;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: 0;
  }

  .capability-row {
    max-width: 392px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 24px 12px;
    padding-inline: 16px;
  }

  .capability-row>span {
    justify-content: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 500;
  }

  .capability-row .icon {
    width: 16px;
    height: 16px;
    flex-basis: 16px;
    opacity: 1;
    color: var(--muted);
  }

  .section-heading h2 {
    font-size: 36px;
    line-height: 44px;
    letter-spacing: 0;
  }

  .section-heading>p:last-child {
    font-size: 16px;
    line-height: 24px;
    color: var(--secondary);
  }

  .eyebrow {
    font-size: 13px;
    margin-bottom: 16px;
    color: var(--muted);
    font-weight: 500;
    line-height: 20px;
    letter-spacing: 0;
  }

  .mobile-only {
    display: block;
  }

  .feature-copy h3 {
    font-size: 24px;
    line-height: 32px;
    letter-spacing: 0;
    font-weight: 500;
  }

  .feature-copy>p {
    font-size: 14px;
    line-height: 24px;
    color: var(--secondary);
  }

  .case-tabs {
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 24px;
  }

  .case-tabs button {
    min-height: 44px;
    font-size: 13px;
    padding: 12px;
    gap: 8px;
    border-radius: 8px;
    transition: background-color 140ms var(--ease),color 140ms var(--ease),border-color 140ms var(--ease);
  }

  .case-tabs button>.icon {
    width: 16px;
    height: 16px;
    flex-basis: 16px;
  }

  .window-chrome {
    height: 40px;
    padding: 8px 12px;
    background: #efefed;
    color: var(--muted);
    border-bottom: 1px solid var(--line);
  }

  .window-search {
    height: 24px;
    width: 55%;
    font-size: 11px;
    background: #ffffff;
    color: var(--muted);
    line-height: 16px;
    border: 1px solid var(--line);
    gap: 4px;
  }

  .window-dots {
    gap: 4px;
  }

  .window-dots i {
    width: 6px;
    height: 6px;
    background: #bfc4c7;
  }

  .case-panel>.replay-button {
    top: 4px;
    right: 8px;
    width: 32px;
    height: 32px;
    padding: 8px;
    color: var(--secondary);
  }

  .case-channel {
    gap: 8px;
    min-height: 48px;
    padding: 12px 16px;
  }

  .case-channel>strong {
    font-size: 13px;
  }

  .case-channel>span {
    font-size: 11px;
  }

  .case-channel .member {
    width: 24px;
    height: 24px;
    font-size: 11px;
  }

  .case-conversation {
    padding: 20px 16px 12px;
    min-height: 0;
  }

  .case-message {
    gap: 8px;
    margin-bottom: 24px;
  }

  .case-message .avatar {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }

  .case-message .avatar>.icon {
    width: 20px;
    height: 20px;
  }

  .case-message .chat-meta {
    font-size: 12px;
  }

  .case-message .chat-meta time {
    font-size: 11px;
  }

  .case-message p {
    font-size: 14px;
    line-height: 24px;
  }

  .case-exchanges {
    padding-left: 16px;
    margin: 16px 0;
    gap: 12px;
  }

  .case-exchanges p {
    font-size: 13px;
    line-height: 20px;
    gap: 8px;
  }

  .case-exchanges strong {
    font-size: 12px;
    line-height: 20px;
    margin-bottom: 0;
  }

  .case-artifact {
    padding: 12px;
    gap: 8px;
    border-radius: 8px;
    border-color: var(--line);
  }

  .case-artifact>.icon {
    width: 20px;
    height: 20px;
    flex-basis: 20px;
  }

  .case-artifact strong {
    font-size: 14px;
    font-weight: 600;
  }

  .case-artifact p {
    font-size: 12px;
    line-height: 20px;
  }

  .case-artifact>span {
    font-size: 11px;
    padding: 4px 8px;
  }

  .case-agent-body>.text-link {
    font-size: 13px;
    min-height: 32px;
  }

  .case-composer {
    font-size: 11px;
    margin: 0 12px 16px;
    min-height: 48px;
    padding: 4px 8px;
    gap: 8px;
    border-radius: 8px;
  }

  .case-caption h3 {
    font-size: 15px;
  }

  .case-caption p {
    font-size: 13px;
    line-height: 24px;
  }

  .step-visual {
    min-height: 264px;
    border-color: var(--line);
    background: #f5f6f5;
    border-radius: 8px;
  }

  .steps h3 {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0;
  }

  .steps article>p,.control-cards article>p {
    font-size: 14px;
  }

  .steps {
    margin-bottom: 32px;
  }

  .faq-section>h2 {
    font-size: 36px;
    line-height: 44px;
    font-weight: 500;
    letter-spacing: 0;
  }

  .faq-list summary {
    font-size: 15px;
    padding: 20px 0;
    min-height: 64px;
    line-height: 24px;
    gap: 24px;
  }

  .faq-answer>p {
    padding-right: 12px;
    line-height: 24px;
    padding: 0 32px 24px 0;
    color: var(--secondary);
  }

  .faq-more {
    margin-top: 40px;
    font-size: 13px;
  }

  .closing h2 {
    font-size: 40px;
    line-height: 48px;
    margin-bottom: 24px;
    font-weight: 500;
    letter-spacing: 0;
  }

  .closing>.wrap>p:not(.hero-caption) {
    font-size: 18px;
    margin-bottom: 28px;
    line-height: 28px;
  }

  .closing {
    padding: 96px 0;
  }

  .site-footer {
    padding-top: 24px;
    padding-bottom: 28px;
  }

  .site-footer>.wordmark {
    margin-bottom: 32px;
    font-size: 24px;
  }

  .footer-columns {
    gap: 32px;
  }

  .footer-columns h3 {
    font-size: 14px;
  }

  .footer-columns a {
    font-size: 14px;
    margin-block: 12px;
    line-height: 24px;
    margin: 8px 0;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    margin-top: 48px;
    line-height: 20px;
    color: var(--muted);
  }

  .connect-dialog h2 {
    font-size: 23px;
  }

  .dialog-close {
    width: 40px;
    height: 40px;
  }

}

@media(max-width:360px) {
  .site-header {
    padding-inline: 12px;
    gap: 8px;
    min-height: 64px;
    padding: 8px 12px;
    border-color: #e5e3e1;
    box-shadow: 0 1px 2px #0f1e2e0a;
  }

  .header-actions {
    gap: 12px;
  }

  .site-header .login-link {
    display: none;
  }

  .site-header .wordmark {
    font-size: 20px;
    gap: 6px;
  }

  .site-header .wordmark>.icon {
    width: 20px;
    height: 20px;
    flex-basis: 20px;
  }

  .site-header .button {
    padding-inline: 8px;
  }

  .hero-description {
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0;
    color: var(--secondary);
    margin-bottom: 24px;
  }

  .hero h1 {
    font-size: 36px;
    line-height: 44px;
    margin-bottom: 24px;
    font-weight: 500;
    letter-spacing: 0;
  }

  .hero-capabilities {
    gap: 8px;
    font-size: 11px;
  }

  .section-heading h2 {
    font-size: 32px;
    line-height: 40px;
    letter-spacing: 0;
  }

  .demo-topbar {
    padding-inline: 12px;
    gap: 12px;
    min-height: 56px;
    border-bottom-color: var(--line);
  }

  .demo-messages {
    padding-inline: 12px;
  }

  .chat-meta {
    font-size: 13px;
    gap: 8px;
    line-height: 20px;
  }

  .chat-meta time {
    font-size: 11px;
  }

  .chat-message p {
    font-size: 14px;
    line-height: 24px;
    color: var(--ink);
  }

  .demo-buttons>button,.demo-buttons>a {
    font-size: 12px;
    padding-inline: 8px;
    gap: 8px;
    min-height: 44px;
    padding: 8px 12px;
    font-weight: 500;
    border-radius: 8px;
    border-color: var(--line);
  }

  .case-tabs button {
    font-size: 12px;
    padding-inline: 8px;
    min-height: 44px;
    padding: 12px 20px;
    border-radius: 8px;
    transition: background-color 140ms var(--ease),color 140ms var(--ease),border-color 140ms var(--ease);
  }

  .case-caption {
    padding-inline: 4px;
    margin: 24px auto 0;
  }

  .connect-dialog {
    padding: 36px 20px;
  }

  .connect-dialog h2 {
    font-size: 21px;
  }

}

@media(prefers-reduced-motion:reduce) {
  :root {
    scroll-behavior: auto;
    --cream: #fcf9f8;
    --surface: #ffffff;
    --raised: #f3f4f4;
    --ink: #0f1e2e;
    --secondary: #52606c;
    --muted: #65717d;
    --line: #e4e6e8;
    --blue: #2a66ff;
    --gutter: 24px;
    --ease: cubic-bezier(.22,1,.36,1);
  }

  *,*:before,*:after {
    animation: none!important;
    transition: none!important;
  }

}

.feature-visual {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-width: 0;
  padding: 24px 32px;
  color: var(--ink);
  font-size: 14px;
  line-height: 20px;
  text-align: left;
  box-sizing: border-box;
}

.feature-visual *, .feature-visual *::before, .feature-visual *::after {
  box-sizing: border-box;
}

.feature-visual .fv-card {
  width: min(100%, 440px);
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e5e8eb;
  border-radius: 12px;
  box-shadow: 0 1px 2px #0f1e2e0a;
  border-color: var(--line);
}

.feature-visual .fv-icon {
  display: block;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  color: currentColor;
}

.feature-visual .fv-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
  padding: 16px 20px;
  border-bottom: 1px solid #edf0f2;
}

.feature-visual .fv-title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
}

.feature-visual .fv-caption, .feature-visual .fv-time {
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
}

.feature-visual .fv-search-field {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 20px;
  padding: 8px 12px;
  background: #f6f7f7;
  border: 1px solid #e4e8ec;
  border-radius: 8px;
  color: var(--muted);
  font-size: 13px;
}

.feature-visual .fv-search-field .fv-icon {
  width: 16px;
  height: 16px;
  flex-basis: 16px;
  color: var(--muted);
}

.feature-visual .fv-directory-label {
  padding: 0 20px 8px;
  color: var(--muted);
  font-size: 12px;
}

.feature-visual .fv-contact-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 20px;
  padding: 12px 0;
}

.feature-visual .fv-contact-row + .fv-contact-row {
  border-top: 1px solid #eef0f2;
}

.feature-visual .fv-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  flex-basis: 32px;
}

.feature-visual .fv-avatar-maya {
  color: var(--secondary);
  background: #f3e8df;
}

.feature-visual .fv-avatar-leo {
  color: var(--secondary);
  background: #e7efe7;
}

.feature-visual .fv-avatar-relay {
  color: #3868b6;
  background: #eaf0fc;
}

.feature-visual .fv-avatar-relay .fv-icon {
  width: 24px;
  height: 24px;
}

.feature-visual .fv-person {
  flex: 1;
  min-width: 0;
}

.feature-visual .fv-person strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

.feature-visual .fv-person > span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.feature-visual .fv-arrow {
  margin-left: auto;
  color: var(--muted);
  width: 16px;
  height: 16px;
  flex-basis: 16px;
}

.feature-visual .fv-card-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  margin-top: 8px;
  padding: 12px 20px;
  background: #fafbfc;
  border-top: 1px solid #edf0f2;
  color: var(--muted);
  font-size: 12px;
}

.feature-visual .fv-card-footer .fv-icon {
  width: 16px;
  height: 16px;
  flex-basis: 16px;
  color: var(--muted);
}

.feature-visual .fv-message {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px 0;
}

.feature-visual .fv-message > div {
  min-width: 0;
}

.feature-visual .fv-message-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 20px;
}

.feature-visual .fv-message-meta strong {
  font-size: 12px;
  font-weight: 600;
}

.feature-visual .fv-message-meta time {
  color: var(--muted);
  font-size: 12px;
}

.feature-visual .fv-message p {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 24px;
}

.feature-visual .fv-summary-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 20px 20px 20px;
  padding-top: 12px;
  border-top: 1px solid #edf0f2;
  color: var(--muted);
  font-size: 12px;
}

.feature-visual .fv-summary-line .fv-icon {
  width: 16px;
  height: 16px;
  flex-basis: 16px;
  color: var(--muted);
}

.feature-visual .fv-record-owner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 20px 0;
}

.feature-visual .fv-quote {
  margin: 16px 20px;
  padding: 0 0 0 12px;
  border-left: 2px solid #bfd0ea;
  color: var(--ink);
  font-size: 14px;
  line-height: 24px;
  padding-left: 12px;
}

.feature-visual .fv-properties {
  margin: 0 20px;
  border-top: 1px solid #edf0f2;
}

.feature-visual .fv-properties > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 40px;
  padding-block: 8px;
}

.feature-visual .fv-properties dt {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 12px;
}

.feature-visual .fv-properties dd {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--secondary);
  font-size: 12px;
  text-align: right;
}

.feature-visual .fv-small-tag {
  display: inline-block;
  padding: 1px 4px;
  border-radius: 4px;
  background: #edf1f5;
  color: var(--muted);
  font-size: 12px;
}

.feature-visual .fv-private-note {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  font-size: 12px;
}

.feature-visual .fv-private-note .fv-icon {
  width: 16px;
  height: 16px;
  flex-basis: 16px;
}

.feature-visual .fv-instruction {
  margin: 20px;
  padding: 0 0 20px;
  border-bottom: 1px solid #edf0f2;
}

.feature-visual .fv-instruction p {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
}

.feature-visual .fv-mode-list {
  margin: 0 20px 20px;
}

.feature-visual .fv-mode-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
}

.feature-visual .fv-mode-row + .fv-mode-row {
  border-top: 1px solid #edf0f2;
  margin-top: 8px;
  padding-top: 16px;
}

.feature-visual .fv-mode-icon {
  display: grid;
  place-items: center;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  background: #f5f2e9;
  border-radius: 8px;
  color: #8e783f;
}

.feature-visual .fv-mode-icon-owner {
  color: #4b709e;
  background: #eaf0f8;
  font-size: 13px;
}

.feature-visual .fv-status {
  flex: 0 0 auto;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 4px;
}

.feature-visual .fv-status-paused {
  background: #f7f1de;
  color: #795f2f;
}

.feature-visual .fv-status-owner {
  background: #edf3fc;
  color: #3c679c;
}

.feature-visual .fv-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #819b8b;
}

.feature-visual .fv-invite-person {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 20px 0;
}

.feature-visual .fv-invite-message {
  font-size: 13px;
}

.feature-visual .fv-consent-steps {
  display: grid;
  gap: 12px;
  margin: 0 20px 20px;
  padding-top: 4px;
}

.feature-visual .fv-consent-steps > div {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--secondary);
  font-size: 12px;
}

.feature-visual .fv-consent-number {
  display: grid;
  place-items: center;
  flex: 0 0 22px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #f0f4f8;
  color: var(--muted);
  font-size: 11px;
  flex-basis: 24px;
}

@media (max-width:900px) {
  .feature-visual {
    height: 352px;
    padding: 16px;
    font-size: 13px;
    line-height: 20px;
    color: var(--ink);
  }

  .feature-visual .fv-card {
    border-radius: 12px;
    border-color: var(--line);
    box-shadow: 0 1px 2px #0f1e2e0a;
  }

  .feature-visual .fv-card-header {
    min-height: 44px;
    padding: 12px 16px;
    gap: 8px;
  }

  .feature-visual .fv-title {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0;
  }

  .feature-visual .fv-caption, .feature-visual .fv-time {
    font-size: 11px;
  }

  .feature-visual .fv-search-field {
    margin: 12px 16px;
    padding: 8px 12px;
    font-size: 12px;
    gap: 8px;
    border-radius: 8px;
    background: #f6f7f7;
    color: var(--muted);
  }

  .feature-visual .fv-directory-label {
    padding: 0 16px 4px;
    font-size: 11px;
  }

  .feature-visual .fv-contact-row {
    margin-inline: 16px;
    padding: 12px 0;
    gap: 8px;
  }

  .feature-visual .fv-avatar {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
    border-radius: 8px;
    font-size: 14px;
  }

  .feature-visual .fv-avatar-relay .fv-icon {
    width: 20px;
    height: 20px;
  }

  .feature-visual .fv-person strong {
    font-size: 13px;
  }

  .feature-visual .fv-person > span {
    font-size: 11px;
  }

  .feature-visual .fv-card-footer {
    min-height: 40px;
    margin-top: 8px;
    padding: 8px 16px;
    gap: 8px;
    font-size: 11px;
  }

  .feature-visual .fv-message {
    padding: 12px 16px 0;
    gap: 8px;
  }

  .feature-visual .fv-message-meta {
    gap: 8px;
  }

  .feature-visual .fv-message-meta strong {
    font-size: 12px;
  }

  .feature-visual .fv-message-meta time {
    font-size: 11px;
  }

  .feature-visual .fv-message p {
    font-size: 13px;
    line-height: 20px;
  }

  .feature-visual .fv-summary-line {
    margin: 16px 16px;
    padding-top: 12px;
    font-size: 11px;
    gap: 8px;
  }

  .feature-visual .fv-record-owner {
    padding: 16px 16px 0;
    gap: 8px;
  }

  .feature-visual .fv-quote {
    margin: 12px 16px;
    padding-left: 12px;
    font-size: 13px;
    line-height: 20px;
  }

  .feature-visual .fv-properties {
    margin-inline: 16px;
  }

  .feature-visual .fv-properties > div {
    min-height: 32px;
    padding-block: 4px;
    gap: 8px;
  }

  .feature-visual .fv-properties dt, .feature-visual .fv-properties dd {
    font-size: 11px;
  }

  .feature-visual .fv-small-tag {
    font-size: 11px;
  }

  .feature-visual .fv-private-note {
    gap: 4px;
    font-size: 11px;
  }

  .feature-visual .fv-instruction {
    margin: 16px;
    padding-bottom: 12px;
  }

  .feature-visual .fv-instruction p {
    margin-top: 4px;
    font-size: 14px;
  }

  .feature-visual .fv-mode-list {
    margin: 0 16px 12px;
  }

  .feature-visual .fv-mode-row {
    gap: 8px;
    padding: 8px 0;
  }

  .feature-visual .fv-mode-row + .fv-mode-row {
    margin-top: 4px;
    padding-top: 12px;
  }

  .feature-visual .fv-mode-icon {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
  }

  .feature-visual .fv-status {
    padding: 4px 4px;
    font-size: 11px;
  }

  .feature-visual .fv-invite-person {
    padding: 16px 16px 0;
    gap: 12px;
  }

  .feature-visual .fv-invite-message {
    font-size: 12px;
  }

  .feature-visual .fv-consent-steps {
    margin: 0 16px 16px;
    gap: 12px;
    padding-top: 4px;
  }

  .feature-visual .fv-consent-steps > div {
    font-size: 11px;
    gap: 8px;
  }

  .feature-visual .fv-consent-number {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
    font-size: 11px;
  }

}

.feature-stage>.feature-visual {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 360ms var(--ease),transform 360ms var(--ease),visibility 0s 360ms;
}

.feature-stage>.feature-visual.is-active,.feature-stage:not(.has-active)>.feature-visual:first-child {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  transition-delay: 0s;
}

@media(max-width:900px) {
  .feature-step>.feature-visual {
    height: 352px;
    margin-inline: -16px;
    width: calc(100% + 32px);
    padding: 16px;
  }

  .feature-step.is-entering {
    animation: feature-enter 360ms var(--ease) both;
  }

  @keyframes feature-enter {
    from {
      opacity: 0;
      transform: translateY(8px);
    }

    to {
      opacity: 1;
      transform: none;
    }

  }

}

/* Selected option F: deep blue instruction, inset ivory action, site typography. */
.public-connect {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 880px;
  text-align: left;
  scroll-margin-top: 112px;
  outline-offset: 6px;
}

.public-prompt {
  display: grid;
  grid-template-columns: 24px minmax(0,1fr) auto;
  align-items: center;
  gap: 16px;
  min-height: 74px;
  padding-left: 24px;
  padding-right: 8px;
  border: 1px solid #35455b;
  border-radius: 16px;
  background: #13243b;
  box-shadow: none;
  overflow: hidden;
}

.prompt-mark {
  display: grid;
  place-items: center;
  width: 24px;
  height: 28px;
  font-family: inherit;
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
  color: #b4c1d2;
}

.public-prompt code {
  display: block;
  min-width: 0;
  padding-block: 20px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  line-height: 28px;
  letter-spacing: 0;
  color: #e8edf5;
  overflow-wrap: anywhere;
  user-select: text;
}

.public-prompt code::selection,
.public-prompt code span::selection {
  background: var(--blue);
  color: #fff;
}

.prompt-request {
  display: inline;
}

.public-prompt button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  gap: 8px;
  min-height: 48px;
  height: 48px;
  width: 132px;
  padding: 0 20px;
  border: 0;
  border-radius: 8px;
  background: #f8f8f5;
  color: #13243b;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  white-space: nowrap;
  transition: background-color 140ms var(--ease), border-color 140ms var(--ease);
}

.public-prompt button:hover {
  background: #e5eaf0;
  border-color: #e5eaf0;
}

.public-prompt button:focus-visible {
  outline: 2px solid #13243b;
  outline-offset: -6px;
}

.public-prompt button .icon {
  width: 16px;
  height: 16px;
  flex-basis: 16px;
}

.copied-icon,
[data-copied="true"] .copy-icon {
  display: none;
}

[data-copied="true"] .copied-icon {
  display: block;
}

.connect-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
  padding-inline: 4px;
}

.connect-heading {
  display: grid;
  min-height: 20px;
}

.public-prompt-caption,
.public-copy-feedback {
  grid-area: 1 / 1;
  font-size: 13px;
  line-height: 20px;
  color: var(--secondary);
}

.public-copy-feedback:empty {
  visibility: hidden;
}

.connect-heading:has(.public-copy-feedback:not(:empty)) .public-prompt-caption {
  visibility: hidden;
}

.skill-links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  font-size: 13px;
  line-height: 20px;
  color: var(--secondary);
}

.skill-links a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  white-space: nowrap;
  transition: color 140ms var(--ease);
}

.skill-links a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.public-connect + .hero-actions {
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: 100%;
  gap: 20px;
  margin-top: 8px;
}

.public-connect + .hero-actions .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: 44px;
  min-height: 44px;
  padding: 0 16px;
  color: var(--ink);
  font-size: 14px;
  line-height: 20px;
}

.public-connect + .hero-actions .text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--secondary);
  font-size: 14px;
  line-height: 20px;
}

.public-connect + .hero-actions .text-link:hover {
  color: var(--ink);
}

@media(max-width:600px) {
  .public-connect {
    max-width: 440px;
  }

  .public-prompt {
    grid-template-columns: 16px minmax(0,1fr) 80px;
    gap: 8px;
    padding-left: 16px;
  }

  .prompt-mark {
    width: 16px;
    font-size: 16px;
    line-height: 24px;
  }

  .public-prompt code {
    padding-block: 16px;
    font-size: 14px;
    line-height: 24px;
  }

  .prompt-request {
    display: block;
  }

  .public-prompt button {
    width: 80px;
    padding: 12px;
    font-size: 13px;
  }

  .public-prompt button .icon {
    display: none;
  }

  .connect-meta {
    flex-direction: column;
    gap: 0;
    margin-top: 12px;
    padding: 0;
    text-align: center;
  }

  .connect-heading {
    min-height: 20px;
    width: 100%;
  }

  .skill-links a {
    min-height: 44px;
  }

  .public-connect + .hero-actions {
    margin-top: 4px;
  }

  .hero-description {
    margin-bottom: 24px;
    font-size: 16px;
    line-height: 26px;
  }
}

.header-actions .secondary {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  padding-inline: 4px;
  color: var(--secondary);
}

.header-actions .secondary:hover {
  background: transparent;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.channel-options button[aria-pressed="true"] {
  background: #edf0f2;
  color: var(--ink);
  font-weight: 500;
}

.features-enhanced .feature-step .feature-copy h3 {
  color: var(--secondary);
}

.features-enhanced .feature-step.is-active .feature-copy h3 {
  color: var(--ink);
}

.features-enhanced .feature-step.is-active .feature-copy>.eyebrow {
  color: var(--blue);
}

@media(max-width:991px) {
  :root {
    --gutter: 20px;
  }

  .site-header .button {
    min-height: 44px;
  }

  .composer-surface a,.case-composer a {
    width: 40px;
    height: 40px;
  }

}

@media(max-width:900px) {
  .features-enhanced .feature-step .feature-copy h3 {
    color: var(--ink);
  }

}

@media(max-width:600px) {
  :root {
    --gutter: 16px;
  }


}

