.ai-demo-preview {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
.ai-demo-preview:hover .assistant-mark,
.ai-demo-preview:focus-visible .assistant-mark {
  background: var(--coral-dark);
}
.ai-demo-preview .assistant-mark .icon,
.ai-demo-watch-icon .icon {
  fill: currentColor;
  stroke-width: 1;
}
.ai-demo-watch {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 23px;
  color: var(--ink);
  text-decoration: none;
  width: fit-content;
}
.ai-demo-watch-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 43px;
  height: 43px;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 0 0 5px #e7c8b42b;
}
.ai-demo-watch:hover .ai-demo-watch-icon {
  background: var(--coral-dark);
}
.ai-demo-watch strong {
  display: block;
  font-size: 13px;
  font-weight: 750;
}
.ai-demo-watch strong + span {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  line-height: 1.7;
  color: #718166;
}
body.ai-demo-open {
  overflow: hidden;
}
.ai-demo-dialog {
  width: min(1100px, calc(100% - 40px));
  max-width: none;
  max-height: calc(100dvh - 36px);
  margin: auto;
  padding: 0;
  border: 1px solid #dde3d7;
  border-radius: 18px;
  background: #faf8f2;
  color: var(--ink);
  box-shadow: 0 30px 120px #101e3055;
  overflow: auto;
  overscroll-behavior: contain;
}
.ai-demo-dialog::backdrop {
  background: #172418d9;
  backdrop-filter: blur(7px);
}
.ai-demo-dialog-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
  padding: 19px 23px;
  border-bottom: 1px solid #e6eadf;
}
.ai-demo-dialog-heading h2 {
  font-size: 18px;
  font-weight: 750;
  line-height: 1.5;
  letter-spacing: -0.4px;
}
.ai-demo-dialog-heading p {
  margin-top: 4px;
  font-size: 11px;
  line-height: 1.7;
  color: #737e68;
}
.ai-demo-close {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #dce3d5;
  border-radius: 50%;
  background: #fff;
  color: #4b5d44;
  font-size: 24px;
  line-height: 1;
  flex-shrink: 0;
}
.ai-demo-close:hover {
  background: #edf3e7;
}
.ai-demo-video {
  display: block;
  width: 100%;
  max-height: calc(100dvh - 210px);
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #f9f7f0;
}
.ai-demo-dialog[data-layout="portrait"] .ai-demo-video {
  aspect-ratio: 2 / 3;
}
.ai-demo-dialog-footer {
  padding: 14px 23px 19px;
  border-top: 1px solid #e6eadf;
}
#ai-demo-note {
  font-size: 10px;
  line-height: 1.7;
  color: #758269;
}
.ai-demo-dialog-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 10px;
}
.ai-demo-dialog-actions .text-link {
  font-size: 12px;
}
.ai-demo-download {
  font-size: 10px;
  color: #738268;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ai-demo-transcript {
  margin-top: 13px;
  font-size: 12px;
  color: #53664a;
  line-height: 1.85;
}
.ai-demo-transcript summary {
  cursor: pointer;
  font-size: 11px;
  font-weight: 650;
}
.ai-demo-transcript p,
.ai-demo-transcript ol {
  margin-top: 12px;
  max-width: 760px;
}
.ai-demo-transcript ol {
  padding-left: 20px;
}
.ai-demo-transcript li {
  margin-bottom: 9px;
}
@media (max-width: 680px) {
  .ai-demo-dialog {
    width: calc(100% - 20px);
    max-height: calc(100dvh - 20px);
    border-radius: 13px;
  }
  .ai-demo-dialog-heading {
    padding: 14px;
  }
  .ai-demo-dialog-heading h2 {
    font-size: 14px;
    letter-spacing: -0.2px;
  }
  .ai-demo-dialog-heading p {
    font-size: 10px;
  }
  .ai-demo-video {
    max-height: calc(100dvh - 200px);
  }
  .ai-demo-dialog-footer {
    padding: 12px 14px 16px;
  }
}
