:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #ffffff;
  color: #111827;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #ffffff;
}

a {
  color: inherit;
}

.notice {
  padding: 11px 20px;
  background: #111827;
  color: #f9fafb;
  font-size: 14px;
  font-weight: 650;
  text-align: center;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 54px;
  border-bottom: 1px solid #e5e7eb;
  background: #ffffff;
}

.brand,
.site-header nav,
.actions,
.panel-header,
.trust-grid {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 850;
  text-decoration: none;
}

.brand img {
  display: block;
  width: 156px;
  height: 46px;
  object-fit: contain;
  object-position: left center;
}

.brand-mark {
  display: inline-block;
  width: 28px;
  height: 28px;
  border-radius: 5px;
  background:
    radial-gradient(circle at -20% -10%, transparent 36%, #ffffff 37%, #ffffff 42%, transparent 43%),
    radial-gradient(circle at 120% 120%, transparent 38%, #ffffff 39%, #ffffff 44%, transparent 45%),
    #1f1f1f;
}

.brand-mark.small {
  width: 22px;
  height: 22px;
}

.brand-name {
  font-size: 20px;
  letter-spacing: -0.03em;
}

.site-header nav {
  gap: 28px;
  color: #374151;
  font-size: 13px;
  font-weight: 650;
}

.site-header nav a,
.nav-login,
.button {
  text-decoration: none;
}

.nav-login,
.button {
  display: inline-flex;
  justify-content: center;
  border: 1px solid #d1d5db;
  padding: 10px 18px;
  font-weight: 750;
}

.button {
  border-color: #2563eb;
  background: #2563eb;
  color: #ffffff;
}

.button.secondary,
.nav-login {
  background: #ffffff;
  color: #111827;
}

.hero {
  display: grid;
  grid-template-columns: minmax(460px, 0.95fr) minmax(420px, 1.05fr);
  gap: 68px;
  align-items: start;
  min-height: 760px;
  padding: 104px max(54px, calc((100vw - 1180px) / 2));
  background: #f7f8fa;
  border-bottom: 1px solid #e5e7eb;
}

.hero-copy {
  max-width: 700px;
}

.kicker {
  margin: 0 0 12px;
  color: #1d4ed8;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-promise {
  margin: 0 0 10px;
  color: #1d4ed8;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-context {
  margin-bottom: 22px;
  color: #111827;
  font-size: 20px;
  font-weight: 750;
  letter-spacing: -0.02em;
}

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

h1 {
  max-width: 700px;
  margin-bottom: 32px;
  font-size: clamp(42px, 4.05vw, 56px);
  line-height: 1.14;
  letter-spacing: -0.038em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 3.65vw, 50px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.lede,
.section-heading p,
.signals p,
.trust p {
  color: #374151;
  font-size: 19px;
  line-height: 1.58;
}

.lede {
  max-width: 650px;
}

.actions {
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.hero-panel,
.pain-grid article,
.capability-list article,
.workflow-grid article,
.signal-board,
.outcome-grid article,
.trust-grid article {
  border: 1px solid #e5e7eb;
  background: #ffffff;
}

.hero-visual {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 0.62fr);
  gap: 18px;
  align-items: start;
  margin-top: 96px;
}

.hero-visual > img {
  grid-column: 1 / -1;
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center center;
  border: 1px solid #e5e7eb;
  filter: saturate(0.86) contrast(0.98);
}

.hero-panel {
  position: relative;
  grid-column: 1 / 2;
  left: auto;
  bottom: auto;
  width: 100%;
  padding: 24px;
  box-shadow: 0 18px 42px rgba(17, 24, 39, 0.1);
}

.panel-header {
  gap: 10px;
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e5e7eb;
}

.question {
  max-width: 82%;
  margin-left: auto;
  padding: 14px 16px;
  background: #2563eb;
  color: #ffffff;
  font-weight: 750;
}

.answer {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
}

.answer p {
  color: #374151;
  line-height: 1.55;
}

.answer span {
  display: inline-flex;
  padding: 6px 9px;
  background: #ecfdf5;
  color: #166534;
  font-size: 12px;
  font-weight: 800;
}

.signal {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid #bfdbfe;
  background: #eff6ff;
}

.signal span {
  display: block;
  margin-bottom: 6px;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.signal.floating {
  position: relative;
  grid-column: 2 / 3;
  right: auto;
  top: auto;
  max-width: none;
  margin-top: 0;
  background: rgba(239, 246, 255, 0.94);
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.08);
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 108px 24px;
}

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

.demo-hint {
  margin: 18px auto 0;
  color: #2563eb;
  font-size: 14px;
  font-weight: 850;
}

.section-heading.left {
  margin-inline: 0;
  text-align: left;
}

.pain-grid,
.workflow-grid,
.outcome-grid,
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.pain-grid article,
.workflow-grid article,
.outcome-grid article,
.trust-grid article {
  min-height: 188px;
  padding: 26px;
}

.pain-grid article p,
.workflow-grid article p,
.outcome-grid article p,
.trust-grid article p,
.capability-list article p {
  margin-bottom: 0;
  color: #4b5563;
  line-height: 1.55;
}

.pain-grid article span {
  display: block;
  margin-bottom: 28px;
  color: #2563eb;
  font-weight: 900;
}

.operating-system {
  max-width: none;
  padding-inline: max(24px, calc((100vw - 1180px) / 2));
}

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

.capability-list article {
  display: grid;
  grid-template-columns: 0.48fr 1fr;
  gap: 22px;
  align-items: start;
  padding: 24px 26px;
}

.capability-list article h3 {
  margin-bottom: 0;
}

.workflow {
  max-width: none;
  padding-inline: max(24px, calc((100vw - 1180px) / 2));
  background: #f8fafc;
  border-block: 1px solid #e5e7eb;
}

.workflow-grid article span {
  display: block;
  margin-bottom: 18px;
  color: #2563eb;
  font-weight: 900;
}

.signals {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(380px, 1.15fr);
  gap: 58px;
  align-items: center;
}

.outcomes {
  max-width: none;
  padding-inline: max(24px, calc((100vw - 1180px) / 2));
}

.signal-board {
  padding: 26px;
}

.metric {
  margin-bottom: 16px;
  padding: 28px;
  background: #172033;
  color: #ffffff;
}

.metric span {
  color: #bfdbfe;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.metric strong {
  display: block;
  margin: 10px 0;
  font-size: 76px;
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.metric p {
  margin: 0;
  color: #dbeafe;
}

.signal-board > p {
  display: grid;
  gap: 4px;
  margin: 0;
  border-top: 1px solid #e5e7eb;
  padding: 16px 4px 4px;
}

.signal-board > p span {
  color: #4b5563;
}

.trust {
  max-width: none;
  padding-inline: max(24px, calc((100vw - 1180px) / 2));
  background: #f8fafc;
  border-block: 1px solid #e5e7eb;
}

.trust-grid {
  align-items: stretch;
  max-width: 1180px;
  margin: 0 auto;
}

.interactive-demo {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.18fr);
  gap: 28px;
  align-items: start;
}

.interactive-demo .demo-card-list {
  grid-template-columns: 1fr;
}

.demo-card {
  position: relative;
  cursor: pointer;
  transition:
    border-color 280ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 280ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 280ms cubic-bezier(0.16, 1, 0.3, 1),
    background 280ms cubic-bezier(0.16, 1, 0.3, 1);
}

.demo-card::after {
  content: "";
  position: absolute;
  inset: auto 24px 18px 24px;
  height: 2px;
  background: #2563eb;
  opacity: 0;
  transform: scaleX(0.4);
  transform-origin: left;
  transition:
    opacity 280ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 280ms cubic-bezier(0.16, 1, 0.3, 1);
}

.demo-card:hover,
.demo-card:focus-visible,
.demo-card.is-active {
  border-color: #bfdbfe;
  background: #fbfdff;
  box-shadow: 0 20px 44px rgba(17, 24, 39, 0.09);
  transform: translateY(-3px);
  outline: none;
}

.demo-card:focus-visible {
  box-shadow:
    0 0 0 3px rgba(37, 99, 235, 0.18),
    0 16px 36px rgba(17, 24, 39, 0.08);
}

.demo-card.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.demo-preview {
  position: sticky;
  top: 24px;
  min-height: 460px;
  overflow: hidden;
  border: 1px solid #dbe3ef;
  background:
    linear-gradient(145deg, rgba(248, 250, 252, 0.94), rgba(255, 255, 255, 0.98)),
    #ffffff;
  box-shadow: 0 24px 60px rgba(17, 24, 39, 0.1);
}

.product-preview {
  min-height: 540px;
}

.flow-preview {
  min-height: 360px;
}

.preview-pane {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 30px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

.preview-pane[hidden] {
  display: none;
}

.preview-pane.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.preview-header {
  display: grid;
  gap: 5px;
}

.preview-header span {
  color: #2563eb;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.preview-header strong {
  font-size: 22px;
  letter-spacing: -0.025em;
}

.search-strip,
.chat-question {
  justify-self: stretch;
  padding: 14px 16px;
  background: #2563eb;
  color: #ffffff;
  font-weight: 800;
}

.folder-tree {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
}

.folder-tree span {
  position: relative;
  padding: 8px 10px 8px calc(16px + var(--depth, 0px));
  border: 1px solid #e5e7eb;
  background: #f8fafc;
  color: #374151;
  font-weight: 700;
  animation: revealFolder 900ms ease both;
}

.folder-tree span:nth-child(2) { --depth: 14px; animation-delay: 80ms; }
.folder-tree span:nth-child(3) { --depth: 28px; animation-delay: 160ms; }
.folder-tree span:nth-child(4) { --depth: 42px; animation-delay: 240ms; }
.folder-tree span:nth-child(5) { --depth: 56px; animation-delay: 320ms; }
.folder-tree span:nth-child(6) { --depth: 70px; animation-delay: 400ms; }
.folder-tree span:nth-child(7) { --depth: 84px; animation-delay: 480ms; }
.folder-tree span:nth-child(8) { --depth: 98px; animation-delay: 560ms; }
.folder-tree span:nth-child(9) { --depth: 112px; animation-delay: 640ms; }
.folder-tree span:nth-child(10) { --depth: 126px; animation-delay: 720ms; }

.preview-note {
  margin: 0;
  color: #4b5563;
}

.interruptions-scene,
.tribal-scene {
  position: relative;
  min-height: 320px;
  border: 1px solid #e5e7eb;
  background: #f8fafc;
}

.supervisor-card,
.knowledge-person {
  position: absolute;
  left: 28px;
  top: 118px;
  width: 190px;
  padding: 18px;
  border: 1px solid #dbe3ef;
  background: #ffffff;
  font-weight: 850;
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.08);
}

.question-bubble {
  position: absolute;
  max-width: 210px;
  padding: 12px 14px;
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  color: #1f2937;
  font-weight: 750;
  animation: softPop 700ms ease both;
}

.question-bubble.one { left: 250px; top: 42px; }
.question-bubble.two { right: 30px; top: 102px; animation-delay: 140ms; }
.question-bubble.three { left: 242px; bottom: 78px; animation-delay: 280ms; }
.question-bubble.four { right: 46px; bottom: 26px; animation-delay: 420ms; }

.binder-stack {
  position: absolute;
  right: 34px;
  top: 54px;
  display: grid;
  gap: 10px;
  width: 230px;
}

.binder-stack span {
  padding: 12px 14px;
  border-left: 5px solid #2563eb;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.08);
  font-weight: 750;
  animation: softPop 700ms ease both;
}

.binder-stack span:nth-child(2) { animation-delay: 120ms; }
.binder-stack span:nth-child(3) { animation-delay: 240ms; }
.binder-stack span:nth-child(4) { animation-delay: 360ms; }

.tribal-scene p {
  position: absolute;
  left: 28px;
  bottom: 28px;
  margin: 0;
  color: #92400e;
  font-weight: 850;
}

.euclid-chat,
.document-preview,
.chat-answer,
.action-card-demo,
.meeting-card,
.calendar-stack,
.insight-card,
.lesson-card {
  border: 1px solid #e5e7eb;
  background: #ffffff;
}

.euclid-chat {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.chat-question {
  justify-self: end;
  max-width: 75%;
}

.chat-question.wide {
  justify-self: stretch;
  max-width: none;
}

.chat-answer {
  padding: 16px;
  background: #f9fafb;
}

.chat-answer p {
  color: #374151;
}

.chat-answer span,
.document-preview mark,
.status-pill {
  display: inline-flex;
  padding: 6px 9px;
  background: #ecfdf5;
  color: #166534;
  font-size: 12px;
  font-weight: 850;
}

.document-preview {
  padding: 18px;
  background: #fff;
}

.document-preview p {
  margin: 12px 0 0;
  color: #4b5563;
}

.screen-backdrop {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  overflow: hidden;
}

.screen-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(5px) saturate(0.75);
  transform: scale(1.04);
}

.brief-list,
.calendar-stack {
  position: relative;
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 18px;
  list-style: none;
}

.brief-list li,
.calendar-stack p,
.meeting-card p {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #e5e7eb;
  background: rgba(255, 255, 255, 0.92);
  color: #374151;
  font-weight: 700;
  animation: softPop 700ms ease both;
}

.brief-list li:nth-child(2),
.calendar-stack p:nth-child(2),
.meeting-card p:nth-child(2) { animation-delay: 100ms; }
.brief-list li:nth-child(3),
.calendar-stack p:nth-child(3),
.meeting-card p:nth-child(3) { animation-delay: 200ms; }
.brief-list li:nth-child(4),
.calendar-stack p:nth-child(4),
.meeting-card p:nth-child(4) { animation-delay: 300ms; }
.brief-list li:nth-child(5) { animation-delay: 400ms; }

.metric-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid #bfdbfe;
  background: rgba(239, 246, 255, 0.94);
}

.metric-row strong {
  color: #1d4ed8;
  font-size: 58px;
  line-height: 1;
  letter-spacing: -0.05em;
}

.insight-card,
.lesson-card,
.action-card-demo,
.meeting-card {
  position: relative;
  padding: 18px;
}

.lesson-card button {
  display: block;
  margin-top: 12px;
  border: 1px solid #2563eb;
  background: #2563eb;
  color: #fff;
  padding: 9px 12px;
  font-weight: 850;
}

.action-card-demo h4 {
  margin: 14px 0;
  font-size: 22px;
}

.action-card-demo p,
.action-card-demo small {
  display: block;
  margin: 6px 0;
  color: #4b5563;
}

.flow-line {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.flow-line span {
  padding: 12px 10px;
  border: 1px solid #dbe3ef;
  background: #ffffff;
  color: #4b5563;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.flow-line span.is-current {
  border-color: #2563eb;
  background: #eff6ff;
  color: #1d4ed8;
}

@keyframes revealFolder {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes softPop {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.closing-promise {
  max-width: none;
  padding-inline: max(24px, calc((100vw - 1180px) / 2));
  background: #ffffff;
}

.closing-card {
  max-width: 980px;
  margin: 0 auto;
  padding: 58px;
  border: 1px solid #dbe3ef;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 72%);
}

.closing-card h2 {
  max-width: 760px;
}

.closing-card p {
  max-width: 780px;
  color: #374151;
  font-size: 19px;
  line-height: 1.58;
}

.closing-card strong {
  display: block;
  margin-top: 34px;
  color: #111827;
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -0.055em;
}

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

  .hero {
    padding-inline: 24px;
  }

  .hero-copy {
    max-width: 820px;
  }

  .hero-visual {
    min-height: auto;
    grid-template-columns: 1fr;
    margin-top: 10px;
  }

  .hero-visual > img {
    grid-column: auto;
    height: 420px;
  }

  .hero-panel {
    grid-column: auto;
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    margin-top: 16px;
  }

  .signal.floating {
    grid-column: auto;
    position: relative;
    inset: auto;
    max-width: none;
    margin-top: 16px;
  }
}

@media (max-width: 1100px) {
  .site-header,
  .signals {
    grid-template-columns: 1fr;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding-inline: 24px;
  }

  .pain-grid,
  .workflow-grid,
  .outcome-grid,
  .trust-grid,
  .capability-list,
  .interactive-demo {
    grid-template-columns: 1fr;
  }

  .demo-preview {
    position: relative;
    top: auto;
    min-height: 520px;
  }

  .flow-preview {
    min-height: 400px;
  }

  .capability-list article {
    grid-template-columns: 1fr;
  }

  .closing-card {
    padding: 40px;
  }
}

@media (max-width: 720px) {
  .site-header nav {
    flex-wrap: wrap;
    gap: 14px 18px;
  }

  h1 {
    font-size: clamp(40px, 12vw, 54px);
  }

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

  .closing-card {
    padding: 30px 24px;
  }

  .preview-pane {
    padding: 22px;
  }

  .flow-line {
    grid-template-columns: 1fr;
  }

  .question-bubble,
  .supervisor-card,
  .knowledge-person,
  .binder-stack,
  .tribal-scene p {
    position: static;
    width: auto;
    max-width: none;
  }

  .interruptions-scene,
  .tribal-scene {
    display: grid;
    gap: 10px;
    min-height: auto;
    padding: 16px;
  }
}

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

  .preview-pane,
  .demo-card,
  .demo-card::after {
    transform: none !important;
  }
}

/* Floating demo overlays keep the page itself clean and unchanged. */
.interactive-demo {
  display: block;
}

.interactive-demo .pain-grid,
.interactive-demo .workflow-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pain-section .interactive-demo {
  max-width: 920px;
  margin: 0 auto;
}

.pain-section .interactive-demo .pain-grid {
  grid-template-columns: 1fr;
  gap: 14px;
}

.pain-section .demo-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: center;
  min-height: 132px;
  padding: 22px 26px 22px 22px;
}

.pain-section .demo-card span {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0;
  border: 1px solid rgba(147, 197, 253, 0.62);
  border-radius: 22px;
  background:
    radial-gradient(circle at 34% 24%, rgba(255, 255, 255, 0.98), transparent 34%),
    linear-gradient(145deg, #ffffff 0%, #eff6ff 48%, #dbeafe 100%);
  color: #1d4ed8;
  font-size: 15px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -12px 22px rgba(37, 99, 235, 0.12),
    0 24px 38px rgba(37, 99, 235, 0.2),
    0 10px 18px rgba(15, 23, 42, 0.08),
    0 4px 0 rgba(37, 99, 235, 0.2);
  transition:
    background 320ms cubic-bezier(0.16, 1, 0.3, 1),
    color 320ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 320ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 320ms cubic-bezier(0.16, 1, 0.3, 1);
}

.pain-section .demo-card span::after {
  content: "";
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 36% 32%, #ffffff 0 18%, transparent 19%),
    linear-gradient(145deg, #60a5fa, #2563eb);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 10px 18px rgba(37, 99, 235, 0.28);
}

.pain-section .demo-card span::before {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.14);
  transform: translate(19px, -19px);
  opacity: 0;
  transition:
    opacity 320ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
}

.pain-section .demo-card h3,
.pain-section .demo-card p {
  grid-column: 2;
}

.pain-section .demo-card:hover span,
.pain-section .demo-card:focus-visible span,
.pain-section .demo-card.is-active span {
  background:
    linear-gradient(145deg, #3b82f6 0%, #2563eb 58%, #1d4ed8 100%);
  color: #ffffff;
  transform: translateY(-4px) scale(1.04);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    inset 0 -14px 24px rgba(30, 64, 175, 0.28),
    0 30px 58px rgba(37, 99, 235, 0.34),
    0 14px 24px rgba(15, 23, 42, 0.12),
    0 5px 0 rgba(30, 64, 175, 0.34);
}

.pain-section .demo-card:hover span::before,
.pain-section .demo-card:focus-visible span::before,
.pain-section .demo-card.is-active span::before {
  opacity: 1;
  transform: translate(23px, -23px) scale(1.2);
}

.interactive-demo .capability-list,
.workflow-demo .workflow-grid {
  grid-template-columns: 1fr;
  gap: 14px;
}

.product-demo,
.workflow-demo {
  max-width: 920px;
  margin: 0 auto;
}

.product-demo .demo-card,
.workflow-demo .demo-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: center;
  min-height: 132px;
  padding: 22px 26px 22px 22px;
}

.product-demo .demo-card span,
.workflow-demo .demo-card span {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0;
  border: 1px solid rgba(147, 197, 253, 0.62);
  border-radius: 22px;
  background:
    radial-gradient(circle at 34% 24%, rgba(255, 255, 255, 0.98), transparent 34%),
    linear-gradient(145deg, #ffffff 0%, #eff6ff 48%, #dbeafe 100%);
  color: #1d4ed8;
  font-size: 15px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -12px 22px rgba(37, 99, 235, 0.12),
    0 24px 38px rgba(37, 99, 235, 0.2),
    0 10px 18px rgba(15, 23, 42, 0.08),
    0 4px 0 rgba(37, 99, 235, 0.2);
  transition:
    background 320ms cubic-bezier(0.16, 1, 0.3, 1),
    color 320ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 320ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 320ms cubic-bezier(0.16, 1, 0.3, 1);
}

.product-demo .demo-card span::after,
.workflow-demo .demo-card span::after {
  content: "";
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 36% 32%, #ffffff 0 18%, transparent 19%),
    linear-gradient(145deg, #60a5fa, #2563eb);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 10px 18px rgba(37, 99, 235, 0.28);
}

.product-demo .demo-card span::before,
.workflow-demo .demo-card span::before {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.14);
  transform: translate(19px, -19px);
  opacity: 0;
  transition:
    opacity 320ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
}

.product-demo .demo-card h3,
.product-demo .demo-card p,
.workflow-demo .demo-card h3,
.workflow-demo .demo-card p {
  grid-column: 2;
}

.product-demo .demo-card:hover span,
.product-demo .demo-card:focus-visible span,
.product-demo .demo-card.is-active span,
.workflow-demo .demo-card:hover span,
.workflow-demo .demo-card:focus-visible span,
.workflow-demo .demo-card.is-active span {
  background:
    linear-gradient(145deg, #3b82f6 0%, #2563eb 58%, #1d4ed8 100%);
  color: #ffffff;
  transform: translateY(-4px) scale(1.04);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    inset 0 -14px 24px rgba(30, 64, 175, 0.28),
    0 30px 58px rgba(37, 99, 235, 0.34),
    0 14px 24px rgba(15, 23, 42, 0.12),
    0 5px 0 rgba(30, 64, 175, 0.34);
}

.product-demo .demo-card:hover span::before,
.product-demo .demo-card:focus-visible span::before,
.product-demo .demo-card.is-active span::before,
.workflow-demo .demo-card:hover span::before,
.workflow-demo .demo-card:focus-visible span::before,
.workflow-demo .demo-card.is-active span::before {
  opacity: 1;
  transform: translate(23px, -23px) scale(1.2);
}

.pain-section .demo-card span,
.product-demo .demo-card span,
.workflow-demo .demo-card span {
  position: relative;
  border-color: transparent;
  border-radius: 0;
  background: transparent;
  perspective: 820px;
  box-shadow: none;
}

.pain-section .demo-card span::before,
.product-demo .demo-card span::before,
.workflow-demo .demo-card span::before {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 1px;
  height: 13px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.24);
  filter: blur(7px);
  opacity: 0.74;
  transform: scaleX(0.82);
  transition:
    opacity 320ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
}

.pain-section .demo-card span::after,
.product-demo .demo-card span::after,
.workflow-demo .demo-card span::after {
  content: none;
}

.pain-section .demo-card span i,
.product-demo .demo-card span i,
.workflow-demo .demo-card span i {
  position: relative;
  z-index: 1;
  display: block;
  width: 42px;
  height: 42px;
  --euclid-front-face: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 42 42'%3E%3Crect width='42' height='42' fill='%23030303'/%3E%3Cpath d='M0 18 A18 18 0 0 0 18 0 M24 42 A18 18 0 0 0 42 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='square'/%3E%3C/svg%3E");
  --euclid-back-face: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 42 42'%3E%3Crect width='42' height='42' fill='%23000000'/%3E%3Cpath d='M0 18 A18 18 0 0 0 18 0 M24 42 A18 18 0 0 0 42 24' fill='none' stroke='white' stroke-opacity='.8' stroke-width='4' stroke-linecap='square'/%3E%3C/svg%3E");
  --euclid-right-face: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 42 42'%3E%3Crect width='42' height='42' fill='%23050505'/%3E%3Cpath d='M0 24 A18 18 0 0 1 18 42' fill='none' stroke='white' stroke-opacity='.86' stroke-width='4' stroke-linecap='square'/%3E%3C/svg%3E");
  --euclid-left-face: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 42 42'%3E%3Crect width='42' height='42' fill='%23141414'/%3E%3Cpath d='M42 18 A18 18 0 0 1 24 0' fill='none' stroke='white' stroke-opacity='.86' stroke-width='4' stroke-linecap='square'/%3E%3C/svg%3E");
  --euclid-top-face: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 42 42'%3E%3Crect width='42' height='42' fill='%231f1f1f'/%3E%3Cpath d='M18 42 A18 18 0 0 1 42 18' fill='none' stroke='white' stroke-opacity='.8' stroke-width='4' stroke-linecap='square'/%3E%3C/svg%3E");
  --euclid-bottom-face: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 42 42'%3E%3Crect width='42' height='42' fill='%23000000'/%3E%3Cpath d='M24 0 A18 18 0 0 1 0 24' fill='none' stroke='white' stroke-opacity='.76' stroke-width='4' stroke-linecap='square'/%3E%3C/svg%3E");
  transform-style: preserve-3d;
  animation: euclidCornerTurn 5.8s linear infinite;
}

.pain-section .demo-card span i::before,
.pain-section .demo-card span i::after,
.pain-section .demo-card span i b,
.product-demo .demo-card span i::before,
.product-demo .demo-card span i::after,
.product-demo .demo-card span i b,
.workflow-demo .demo-card span i::before,
.workflow-demo .demo-card span i::after,
.workflow-demo .demo-card span i b {
  content: "";
  position: absolute;
  inset: 0;
  display: block;
  pointer-events: none;
  backface-visibility: hidden;
}

.pain-section .demo-card span i::before,
.product-demo .demo-card span i::before,
.workflow-demo .demo-card span i::before {
  background:
    radial-gradient(circle at -18% -18%, transparent 42%, #ffffff 43% 49%, transparent 50%),
    radial-gradient(circle at 118% 118%, transparent 42%, #ffffff 43% 49%, transparent 50%),
    linear-gradient(145deg, #171717, #030303);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -10px 16px rgba(0, 0, 0, 0.38);
  transform: translateZ(21px);
}

.pain-section .demo-card span i::after,
.product-demo .demo-card span i::after,
.workflow-demo .demo-card span i::after {
  background: linear-gradient(145deg, #0e0e0e, #010101);
  transform: rotateY(90deg) translateZ(21px);
}

.pain-section .demo-card span i b,
.product-demo .demo-card span i b,
.workflow-demo .demo-card span i b {
  background: linear-gradient(145deg, #252525, #080808);
  transform: rotateX(90deg) translateZ(21px);
}

.pain-section .demo-card:hover span,
.pain-section .demo-card:focus-visible span,
.pain-section .demo-card.is-active span,
.product-demo .demo-card:hover span,
.product-demo .demo-card:focus-visible span,
.product-demo .demo-card.is-active span,
.workflow-demo .demo-card:hover span,
.workflow-demo .demo-card:focus-visible span,
.workflow-demo .demo-card.is-active span {
  background: transparent;
}

.pain-section .demo-card:hover span::before,
.pain-section .demo-card:focus-visible span::before,
.pain-section .demo-card.is-active span::before,
.product-demo .demo-card:hover span::before,
.product-demo .demo-card:focus-visible span::before,
.product-demo .demo-card.is-active span::before,
.workflow-demo .demo-card:hover span::before,
.workflow-demo .demo-card:focus-visible span::before,
.workflow-demo .demo-card.is-active span::before {
  opacity: 0.86;
  transform: scaleX(1);
}

.pain-section .demo-card:hover span::after,
.pain-section .demo-card:focus-visible span::after,
.pain-section .demo-card.is-active span::after,
.product-demo .demo-card:hover span::after,
.product-demo .demo-card:focus-visible span::after,
.product-demo .demo-card.is-active span::after,
.workflow-demo .demo-card:hover span::after,
.workflow-demo .demo-card:focus-visible span::after,
.workflow-demo .demo-card.is-active span::after {
  animation-duration: 3.9s;
}

.pain-section .demo-card span i::before,
.pain-section .demo-card span i::after,
.product-demo .demo-card span i::before,
.product-demo .demo-card span i::after,
.workflow-demo .demo-card span i::before,
.workflow-demo .demo-card span i::after {
  content: none;
}

.pain-section .demo-card span i b,
.product-demo .demo-card span i b,
.workflow-demo .demo-card span i b {
  position: absolute;
  inset: 0;
  display: block;
  background: linear-gradient(145deg, #101010, #020202);
  backface-visibility: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.pain-section .demo-card span i b:nth-child(1),
.product-demo .demo-card span i b:nth-child(1),
.workflow-demo .demo-card span i b:nth-child(1) {
  background: var(--euclid-front-face) center / cover no-repeat;
  transform: translateZ(21px);
}

.pain-section .demo-card span i b:nth-child(2),
.product-demo .demo-card span i b:nth-child(2),
.workflow-demo .demo-card span i b:nth-child(2) {
  background: var(--euclid-back-face) center / cover no-repeat;
  transform: rotateY(180deg) translateZ(21px);
}

.pain-section .demo-card span i b:nth-child(3),
.product-demo .demo-card span i b:nth-child(3),
.workflow-demo .demo-card span i b:nth-child(3) {
  background: var(--euclid-right-face) center / cover no-repeat;
  transform: rotateY(90deg) translateZ(21px);
}

.pain-section .demo-card span i b:nth-child(4),
.product-demo .demo-card span i b:nth-child(4),
.workflow-demo .demo-card span i b:nth-child(4) {
  background: var(--euclid-left-face) center / cover no-repeat;
  transform: rotateY(-90deg) translateZ(21px);
}

.pain-section .demo-card span i b:nth-child(5),
.product-demo .demo-card span i b:nth-child(5),
.workflow-demo .demo-card span i b:nth-child(5) {
  background: var(--euclid-top-face) center / cover no-repeat;
  transform: rotateX(90deg) translateZ(21px);
}

.pain-section .demo-card span i b:nth-child(6),
.product-demo .demo-card span i b:nth-child(6),
.workflow-demo .demo-card span i b:nth-child(6) {
  background: var(--euclid-bottom-face) center / cover no-repeat;
  transform: rotateX(-90deg) translateZ(21px);
}

.pain-section .demo-card:hover span i,
.pain-section .demo-card:focus-visible span i,
.pain-section .demo-card.is-active span i,
.product-demo .demo-card:hover span i,
.product-demo .demo-card:focus-visible span i,
.product-demo .demo-card.is-active span i,
.workflow-demo .demo-card:hover span i,
.workflow-demo .demo-card:focus-visible span i,
.workflow-demo .demo-card.is-active span i {
  animation-duration: 3.9s;
}

@keyframes euclidCornerTurn {
  0% {
    transform: translateY(-9px) rotateZ(45deg) rotateX(-18deg) rotateY(0deg);
  }

  50% {
    transform: translateY(-9px) rotateZ(45deg) rotateX(-18deg) rotateY(180deg);
  }

  100% {
    transform: translateY(-9px) rotateZ(45deg) rotateX(-18deg) rotateY(360deg);
  }
}

.pain-section .demo-card span i,
.product-demo .demo-card span i,
.workflow-demo .demo-card span i {
  width: 58px;
  height: 58px;
  background: none;
  animation: euclidCubeAccent 5.4s linear infinite;
  transform-origin: center center;
  transform-style: preserve-3d;
  will-change: transform;
}

.pain-section .demo-card span i b,
.product-demo .demo-card span i b,
.workflow-demo .demo-card span i b {
  display: block;
}

.pain-section .demo-card:hover span i,
.pain-section .demo-card:focus-visible span i,
.pain-section .demo-card.is-active span i,
.product-demo .demo-card:hover span i,
.product-demo .demo-card:focus-visible span i,
.product-demo .demo-card.is-active span i,
.workflow-demo .demo-card:hover span i,
.workflow-demo .demo-card:focus-visible span i,
.workflow-demo .demo-card.is-active span i {
  animation-duration: 4.2s;
}

@keyframes euclidCubeAccent {
  0% {
    transform: translateY(-5px) rotateY(0deg) rotateZ(-2deg) scale(1);
  }

  50% {
    transform: translateY(-7px) rotateY(180deg) rotateZ(2deg) scale(1.02);
  }

  100% {
    transform: translateY(-5px) rotateY(360deg) rotateZ(-2deg) scale(1);
  }
}

/* When the real WebGL cube is rendering, hide the CSS pseudo-cube but keep the
   floating shadow underneath. The CSS cube remains as the no-WebGL fallback. */
.has-webgl-cube .pain-section .demo-card span i,
.has-webgl-cube .product-demo .demo-card span i,
.has-webgl-cube .workflow-demo .demo-card span i {
  visibility: hidden;
}

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

.demo-card.is-active {
  border-color: #bfdbfe;
  background: #fbfdff;
  box-shadow: 0 16px 36px rgba(17, 24, 39, 0.08);
  transform: translateY(-2px);
}

.floating-demo-layer {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 32px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 180ms ease;
}

.floating-demo-layer.is-visible {
  opacity: 1;
}

.floating-demo-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.18);
  backdrop-filter: blur(2px);
}

.floating-demo-card {
  position: relative;
  width: min(820px, calc(100vw - 48px));
  max-height: min(760px, calc(100vh - 64px));
  overflow: auto;
  border: 1px solid #dbe3ef;
  background:
    linear-gradient(145deg, rgba(248, 250, 252, 0.96), rgba(255, 255, 255, 0.99)),
    #ffffff;
  box-shadow: 0 34px 90px rgba(15, 23, 42, 0.28);
  transform: scale(0.965) translateY(8px);
  transition: transform 180ms ease;
}

.floating-demo-layer.is-visible .floating-demo-card {
  transform: scale(1) translateY(0);
}

.floating-demo-card .preview-pane {
  position: relative;
  inset: auto;
  display: grid;
  min-height: 480px;
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.floating-demo-card .preview-pane[hidden] {
  display: grid;
}

@media (max-width: 1100px) {
  .interactive-demo .pain-grid,
  .interactive-demo .workflow-grid,
  .interactive-demo .capability-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .floating-demo-layer {
    align-items: end;
    padding: 16px;
  }

  .floating-demo-card {
    width: 100%;
    max-height: calc(100vh - 32px);
    transform: translateY(18px) scale(0.96);
  }

  .floating-demo-card.is-swapping {
    transform: translateY(10px) scale(0.985);
  }

  .floating-demo-layer.is-visible .floating-demo-card {
    transform: translateY(0) scale(1);
  }

  .floating-demo-card .preview-pane {
    min-height: 420px;
  }
}

.floating-demo-layer {
  transition: opacity 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-demo-card {
  border-radius: 22px;
  transform: translateX(min(8vw, 120px)) translateY(18px) scale(0.96);
  transition:
    transform 340ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 280ms cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-demo-card.is-swapping {
  opacity: 0.3;
  transform: translateX(min(8vw, 120px)) translateY(10px) scale(0.985);
}

.floating-demo-layer.is-visible .floating-demo-card {
  transform: translateX(min(8vw, 120px)) translateY(0) scale(1);
}

.floating-demo-card .preview-pane {
  min-height: 560px;
  gap: 22px;
  padding: 34px;
}

.visual-scene {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid #dbe3ef;
  border-radius: 18px;
  background:
    radial-gradient(circle at 18% 18%, rgba(219, 234, 254, 0.85), transparent 30%),
    linear-gradient(145deg, #f8fafc, #ffffff);
}

.image-scene {
  min-height: 500px;
  background: #f8fafc;
}

.image-scene img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
  filter: saturate(0.92) contrast(0.98);
  animation: imageEase 900ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.image-caption {
  position: absolute;
  display: block;
  left: 24px;
  right: 24px;
  bottom: 22px;
  padding: 14px 16px;
  border: 1px solid rgba(219, 227, 239, 0.9);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.12);
  color: #111827;
  font-weight: 850;
}

.mini-question,
.hidden-answer,
.risk-note,
.answer-tile,
.calendar-card,
.broadcast-card,
.brief-card,
.flow-node {
  border: 1px solid #dbe3ef;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
  color: #111827;
  font-weight: 850;
}

.folder-illustration .mini-question {
  position: absolute;
  left: 30px;
  top: 28px;
  padding: 12px 16px;
  background: #2563eb;
  color: #fff;
}

.folder-card {
  position: absolute;
  width: 230px;
  padding: 13px 16px;
  border: 1px solid #dbe3ef;
  border-radius: 14px;
  background: #ffffff;
  color: #374151;
  font-weight: 800;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
  animation: gentleReveal 780ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.folder-card::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 12px;
  margin-right: 8px;
  border-radius: 4px 4px 2px 2px;
  background: #bfdbfe;
}

.folder-card.depth-1 { left: 44px; top: 104px; }
.folder-card.depth-2 { left: 88px; top: 148px; animation-delay: 70ms; }
.folder-card.depth-3 { left: 132px; top: 192px; animation-delay: 140ms; }
.folder-card.depth-4 { left: 176px; top: 236px; animation-delay: 210ms; }
.folder-card.depth-5 { left: 220px; top: 280px; animation-delay: 280ms; }
.folder-card.depth-6 { left: 264px; top: 324px; animation-delay: 350ms; }
.folder-card.depth-7 { right: 36px; bottom: 34px; border-color: #bfdbfe; animation-delay: 420ms; }

.hidden-answer {
  position: absolute;
  right: 36px;
  top: 72px;
  padding: 16px 18px;
  color: #64748b;
}

.service-counter {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 52px;
  height: 70px;
  border-radius: 18px;
  background: #e5e7eb;
}

.supervisor-figure {
  position: absolute;
  left: 52px;
  bottom: 122px;
  display: grid;
  justify-items: center;
  gap: 10px;
  color: #111827;
  font-weight: 850;
}

.supervisor-figure span,
.person::before,
.coworker::before,
.person-head {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: #2563eb;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.18);
}

.employee-line {
  position: absolute;
  left: 220px;
  right: 34px;
  bottom: 128px;
  display: flex;
  align-items: end;
  justify-content: space-between;
}

.person {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 8px;
  animation: gentleReveal 720ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.person::before {
  content: "";
  background: #94a3b8;
}

.person span {
  position: absolute;
  bottom: 64px;
  min-width: 132px;
  padding: 9px 11px;
  border: 1px solid #bfdbfe;
  border-radius: 13px;
  background: #eff6ff;
  color: #1e293b;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.person-2 { animation-delay: 110ms; }
.person-3 { animation-delay: 220ms; }
.person-4 { animation-delay: 330ms; }

.tribal-illustration {
  display: grid;
  place-items: center;
}

.knowledge-holder {
  position: relative;
  width: 270px;
  height: 270px;
  display: grid;
  place-items: center;
}

.knowledge-holder .person-head {
  position: absolute;
  top: 22px;
  width: 70px;
  height: 70px;
}

.binder {
  position: absolute;
  width: 170px;
  padding: 13px 14px;
  border-radius: 12px;
  background: #ffffff;
  border-left: 6px solid #2563eb;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12);
  font-weight: 850;
  animation: gentleReveal 760ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.binder.one { top: 104px; transform: rotate(-7deg); }
.binder.two { top: 148px; animation-delay: 120ms; }
.binder.three { top: 192px; transform: rotate(6deg); animation-delay: 240ms; }

.coworker {
  position: absolute;
  top: 168px;
}

.coworker::before {
  content: "";
  display: block;
  background: #94a3b8;
}

.coworker.left { left: 86px; }
.coworker.right { right: 86px; }

.risk-note {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  padding: 12px 16px;
  color: #92400e;
}

.source-illustration,
.action-illustration,
.flow-illustration {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: center;
  padding: 28px;
}

.mini-chat-panel,
.source-document,
.action-card-demo.visual,
.meeting-card.visual {
  border: 1px solid #dbe3ef;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.1);
}

.mini-chat-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
  animation: gentleReveal 760ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.source-document {
  padding: 22px;
  min-height: 230px;
  animation: gentleReveal 760ms cubic-bezier(0.16, 1, 0.3, 1) 160ms both;
}

.source-document span {
  color: #2563eb;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.source-document mark {
  display: block;
  margin-top: 24px;
  padding: 16px;
  border-radius: 14px;
  background: #dbeafe;
  color: #1e3a8a;
  animation: highlightPulse 1800ms ease-out both;
}

.brief-illustration,
.comms-illustration {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-content: center;
  padding: 28px;
}

.brief-card,
.calendar-card,
.broadcast-card {
  display: grid;
  align-items: center;
  min-height: 96px;
  padding: 20px;
  animation: gentleReveal 760ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.brief-card.primary {
  grid-column: 1 / -1;
  background: #eff6ff;
  color: #1d4ed8;
}

.brief-card:nth-child(3),
.calendar-card:nth-child(3) { animation-delay: 100ms; }
.brief-card:nth-child(4) { animation-delay: 200ms; }
.brief-card:nth-child(5) { animation-delay: 300ms; }

.training-illustration {
  display: grid;
  place-items: center;
}

.question-dot {
  position: absolute;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: #bfdbfe;
  animation: gatherDots 1200ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.dot-1 { left: 78px; top: 88px; }
.dot-2 { left: 128px; bottom: 96px; animation-delay: 90ms; }
.dot-3 { right: 150px; top: 96px; animation-delay: 180ms; }
.dot-4 { right: 82px; bottom: 112px; animation-delay: 270ms; }
.dot-5 { left: 50%; top: 52px; animation-delay: 360ms; }

.insight-card.visual,
.lesson-card.visual {
  position: relative;
  z-index: 1;
  min-width: 250px;
  border-radius: 18px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.1);
  text-align: center;
  font-weight: 900;
}

.lesson-card.visual {
  margin-top: 98px;
  border-color: #bfdbfe;
  background: #eff6ff;
  color: #1d4ed8;
}

.answer-tile {
  padding: 22px;
  text-align: center;
}

.connector-line {
  position: absolute;
  left: 42%;
  right: 42%;
  top: 50%;
  height: 2px;
  background: #93c5fd;
}

.meeting-illustration {
  display: grid;
  align-items: center;
  padding: 34px;
}

.meeting-card.visual {
  display: grid;
  gap: 10px;
  min-height: 300px;
}

.action-card-demo.visual {
  display: grid;
  align-content: center;
  min-height: 250px;
  animation: gentleReveal 760ms cubic-bezier(0.16, 1, 0.3, 1) 180ms both;
}

.calendar-card {
  background: #eff6ff;
  color: #1d4ed8;
}

.broadcast-card {
  grid-column: 1 / -1;
}

.brief-card.small {
  font-size: 14px;
}

.flow-illustration {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.flow-node {
  padding: 16px 12px;
  text-align: center;
}

.flow-node.is-current {
  border-color: #2563eb;
  background: #eff6ff;
  color: #1d4ed8;
}

.flow-illustration .chat-question,
.flow-illustration .chat-answer,
.flow-illustration .insight-card,
.flow-illustration .action-card-demo {
  grid-column: 1 / -1;
}

@keyframes gentleReveal {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes gatherDots {
  from {
    opacity: 0.15;
    transform: translateY(12px) scale(0.8);
  }
  to {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
}

@keyframes highlightPulse {
  0% {
    box-shadow: inset 0 0 0 0 rgba(37, 99, 235, 0);
  }
  55% {
    box-shadow: inset 0 0 0 999px rgba(37, 99, 235, 0.08);
  }
  100% {
    box-shadow: inset 0 0 0 0 rgba(37, 99, 235, 0);
  }
}

@keyframes imageEase {
  from {
    opacity: 0;
    transform: scale(1.035);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 720px) {
  .floating-demo-card .preview-pane {
    padding: 22px;
  }

  .visual-scene,
  .floating-demo-card .preview-pane {
    min-height: 420px;
  }

  .source-illustration,
  .action-illustration,
  .flow-illustration,
  .brief-illustration,
  .comms-illustration {
    grid-template-columns: 1fr;
  }

  .connector-line {
    display: none;
  }

  .employee-line,
  .coworker.left,
  .coworker.right {
    transform: scale(0.8);
  }
}

.schedule-demo-button {
  font: inherit;
  cursor: pointer;
}

.schedule-assistant {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 80;
  color: #111827;
}

.schedule-launcher {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 999px;
  padding: 10px 18px 10px 12px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(239, 246, 255, 0.96)),
    #ffffff;
  color: #111827;
  box-shadow:
    0 18px 45px rgba(15, 23, 42, 0.18),
    0 2px 8px rgba(37, 99, 235, 0.12);
  font: inherit;
  font-weight: 850;
  cursor: pointer;
  transition:
    transform 220ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.schedule-launcher:hover,
.schedule-launcher:focus-visible {
  transform: translateY(-2px);
  box-shadow:
    0 24px 55px rgba(15, 23, 42, 0.2),
    0 4px 14px rgba(37, 99, 235, 0.16);
}

.schedule-launcher span {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background:
    radial-gradient(circle at -20% -10%, transparent 36%, #ffffff 37%, #ffffff 44%, transparent 45%),
    radial-gradient(circle at 120% 120%, transparent 38%, #ffffff 39%, #ffffff 46%, transparent 47%),
    #4a4d52;
  box-shadow:
    inset -7px -9px 16px rgba(0, 0, 0, 0.22),
    inset 5px 5px 14px rgba(255, 255, 255, 0.14),
    0 10px 18px rgba(15, 23, 42, 0.2);
}

.schedule-panel {
  position: absolute;
  right: 0;
  bottom: 76px;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  width: min(440px, calc(100vw - 32px));
  max-height: min(720px, calc(100vh - 120px));
  overflow: hidden;
  border: 1px solid #dbe3ef;
  border-radius: 26px;
  background:
    linear-gradient(145deg, rgba(248, 250, 252, 0.98), rgba(255, 255, 255, 0.99)),
    #ffffff;
  box-shadow: 0 32px 90px rgba(15, 23, 42, 0.28);
}

.schedule-panel[hidden] {
  display: none;
}

.schedule-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 22px 18px;
  border-bottom: 1px solid #e5e7eb;
}

.schedule-header p {
  margin: 0 0 5px;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.schedule-header h2 {
  margin: 0;
  font-size: 24px;
  letter-spacing: -0.04em;
}

.schedule-close,
.schedule-text-button,
.schedule-review-section button {
  border: 0;
  background: transparent;
  color: #2563eb;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.schedule-close {
  color: #4b5563;
}

.schedule-progress {
  display: grid;
  gap: 9px;
  padding: 14px 22px 0;
  color: #4b5563;
  font-size: 12px;
  font-weight: 800;
}

.schedule-progress-bar {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: #e5e7eb;
}

.schedule-progress-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2563eb, #60a5fa);
  transition: width 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

.schedule-body {
  display: grid;
  gap: 18px;
  overflow: auto;
  padding: 22px;
}

.schedule-message {
  display: grid;
  gap: 8px;
}

.schedule-kicker {
  margin: 0;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.schedule-message h3 {
  margin: 0;
  font-size: 25px;
  line-height: 1.12;
}

.schedule-message p,
.schedule-summary-card p,
.schedule-review-section p {
  margin: 0;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.5;
}

.schedule-form {
  display: grid;
  gap: 13px;
}

.schedule-field,
.schedule-label {
  display: grid;
  gap: 7px;
  color: #111827;
  font-size: 13px;
  font-weight: 850;
}

.schedule-field input,
.schedule-field textarea,
.schedule-field select {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 14px;
  background: #ffffff;
  padding: 12px 13px;
  color: #111827;
  font: inherit;
  font-size: 14px;
  outline: none;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.schedule-field textarea {
  min-height: 96px;
  resize: vertical;
}

.schedule-field input:focus,
.schedule-field textarea:focus,
.schedule-field select:focus,
.schedule-option:focus-visible,
.schedule-primary:focus-visible,
.schedule-text-button:focus-visible,
.schedule-close:focus-visible {
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.schedule-options {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.schedule-option {
  border: 1px solid #d1d5db;
  border-radius: 999px;
  background: #ffffff;
  padding: 9px 12px;
  color: #374151;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.schedule-option:hover,
.schedule-option.is-selected {
  border-color: #93c5fd;
  background: #eff6ff;
  color: #1d4ed8;
}

.schedule-option.is-selected {
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.14);
}

.schedule-summary-card,
.schedule-review-section,
.schedule-handoff {
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  background: #ffffff;
  padding: 16px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

.schedule-summary-card strong {
  display: block;
  margin-bottom: 6px;
  color: #111827;
}

.schedule-note {
  margin: 0;
  border-left: 3px solid #2563eb;
  border-radius: 12px;
  background: #eff6ff;
  padding: 12px 14px;
  color: #1e3a8a;
  font-size: 14px;
  line-height: 1.5;
}

.schedule-actions-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 2px;
}

.schedule-primary {
  border: 1px solid #2563eb;
  border-radius: 999px;
  background: #2563eb;
  color: #ffffff;
  padding: 11px 16px;
  font: inherit;
  font-size: 14px;
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.18);
}

.schedule-error {
  margin: 0;
  border: 1px solid #fecaca;
  border-radius: 14px;
  background: #fef2f2;
  padding: 11px 13px;
  color: #991b1b;
  font-size: 13px;
  font-weight: 750;
}

.schedule-review {
  display: grid;
  gap: 12px;
}

.schedule-review-section {
  display: grid;
  gap: 9px;
}

.schedule-review-section header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.schedule-review-section h4 {
  margin: 0;
  color: #111827;
  font-size: 15px;
}

.schedule-review-section p {
  display: grid;
  gap: 2px;
}

.schedule-review-section strong {
  color: #111827;
}

.schedule-handoff pre {
  max-height: 280px;
  overflow: auto;
  margin: 0;
  white-space: pre-wrap;
  color: #374151;
  font: 12px/1.55 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

@media (max-width: 720px) {
  .schedule-assistant {
    right: 16px;
    bottom: 16px;
    left: 16px;
  }

  .schedule-launcher {
    margin-left: auto;
  }

  .schedule-panel {
    position: fixed;
    inset: 0;
    width: auto;
    max-height: none;
    border-radius: 0;
  }

  .schedule-body {
    padding-bottom: 96px;
  }

  .schedule-actions-row {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .schedule-primary,
  .schedule-text-button {
    justify-content: center;
    width: 100%;
  }
}
