.recorded-demo {
  position: relative;
  z-index: 1;
  width: 100%;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid #54445f;
  border-radius: 18px;
  background: #171423;
  box-shadow: 0 14px 48px rgb(26 10 37 / 18%);
  color: #fff7fc;
  scroll-margin-block-start: calc(var(--header-height, 80px) + 18px);
}
.recorded-demo video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #110f1d;
  color: #fff;
}
.recorded-demo figcaption {
  padding: 15px 19px 17px;
  font-size: 1rem;
  line-height: 1.5;
}
.recorded-demo figcaption strong { display: block; margin-bottom: 2px; color: #ffbddf; }
.recorded-demo figcaption small { display: block; margin-top: 8px; color: #d5c6d7; font-size: .82rem; }
.recorded-demo figcaption a { color: inherit; text-decoration: underline; }
.recorded-demo video:focus-visible { outline: 3px solid #ffbada; outline-offset: -3px; }
.home-story h2[id] { scroll-margin-block-start: calc(var(--header-height, 80px) + 18px); }
.page-home .home-characters__top { align-items: center; }
.page-home .home-cast {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: .5rem 1rem;
}
.page-home .home-cast figcaption { margin: 0; font-size: 1rem; font-weight: 700; }
.cast-rail-controls:not([hidden]) { display: flex; gap: .4rem; }
.cast-rail-controls button {
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--bg);
  color: var(--text);
  font: inherit;
  cursor: pointer;
}
.cast-rail-controls button:disabled { opacity: .5; cursor: default; }
.page-home .home-cast__viewport {
  grid-column: 1 / -1;
  padding: 4px 4px 10px;
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
}
.page-home .home-cast__card { scroll-snap-align: start; }
.page-home .home-cast__card:focus-visible { outline: 3px solid var(--pink); outline-offset: 2px; }
.page-home .home-cast__card span { font-size: .95rem; }
.page-home .draft-caption { margin-top: 12px; font-size: .9rem; line-height: 1.5; color: var(--text-soft); }
.page-home .draft-caption a { color: inherit; text-decoration: underline; }
.home-phone-link { display: none; }
.home-phone-link .action {
  min-height: 44px;
  border-color: #d4a8c9;
  background: #39273c;
  color: #fff6fb;
  box-shadow: none;
}
.home-phone-link .action:hover {
  border-color: #ffcee4;
  background: #503350;
  color: #fff;
}
.home-phone-link :is(button, input):focus-visible {
  outline: 3px solid #ffbada;
  outline-offset: 3px;
}
.home-phone-link .share-copy__status:not(:empty),
.home-phone-link [data-copy-fallback]:not([hidden]) {
  display: block;
  margin-top: 10px;
  color: #fff6fb;
  line-height: 1.5;
}
.home-phone-link [data-copy-fallback] input {
  display: block;
  width: 100%;
  max-width: 25rem;
  min-height: 44px;
  margin-top: 4px;
  padding: 8px 12px;
  border: 1px solid #d4a8c9;
  border-radius: 8px;
  background: #271c2b;
  color: #fff6fb;
  font: inherit;
}
@media (max-width: 760px), (hover: none) and (pointer: coarse) {
  .home-phone-link { display: block; margin-block: 12px; color: #fff6fb; }
}
@media (max-width: 560px) {
  .recorded-demo { border-radius: 14px; }
  .recorded-demo figcaption { padding: 12px 14px; }
  .page-home .home-draft__bar, .page-home .home-draft__idea, .page-home .home-draft__form,
  .page-home .home-draft__avatar { display: none; }
  .page-home .home-draft__preview { display: block; }
  .page-home .home-draft__preview-card { min-height: auto; margin: 0; padding: 8px; }
  .page-home .home-draft__preview-card strong { font-size: 1.12rem; }
  .page-home .home-draft__opening strong { font-size: .85rem; }
  .page-home .home-draft__opening p { min-height: auto; font-size: 1.06rem; line-height: 1.5; }
}
