.demo-start {
  box-sizing: border-box;
  width: min(calc(100% - 2rem), 28rem);
  max-width: 100%;
  margin: auto;
  padding: 0;
  border: 1px solid #455668;
  border-radius: 1.1rem;
  color: #f7f8fb;
  background: #172538;
  box-shadow: 0 1rem 3rem #07132652;
  overscroll-behavior: contain;
}

.demo-start[open] {
  animation: demo-start-enter 200ms ease-out both;
}

.demo-start::backdrop {
  background: #0b1524aa;
}

.demo-start__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.9rem;
  padding: clamp(1.2rem, 5vw, 1.75rem);
  padding-block-start: calc(clamp(1.2rem, 5vw, 1.75rem) + 6px);
  padding-inline: 3.25rem;
}

.demo-start__content:focus {
  outline: none;
}

.demo-start__close {
  position: absolute;
  inset-block-start: .2rem;
  inset-inline-end: .25rem;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: .5rem;
  color: inherit;
  background: transparent;
  font: 1.4rem/1 var(--font-body);
  cursor: pointer;
}

.demo-start__close:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -2px;
}

.demo-start .demo-start__status {
  margin: 0;
  color: inherit;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: normal;
}

.demo-start__content .workspace-loading-logo {
  --workspace-loader-size: 3.5rem;
}

@keyframes demo-start-enter {
  from { opacity: 0; transform: translateY(0.4rem) scale(0.985); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .demo-start[open] {
    animation: none;
  }
}
