:root {
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  background-color: #08090d;
  color: #e6e7ee;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 14% 18%, rgba(88, 122, 255, 0.28), transparent 42%),
    radial-gradient(circle at 84% 20%, rgba(80, 224, 255, 0.2), transparent 40%),
    radial-gradient(circle at 62% 78%, rgba(174, 98, 255, 0.22), transparent 46%),
    #08090d;
}

.page {
  display: flex;
  flex-direction: column;
  gap: 5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.5rem 8rem;
}

.page--home {
  padding-top: 1.25rem;
  gap: 1.65rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.brand__image {
  display: block;
  width: auto;
  height: 72px;
}

.brand--hero {
  display: flex;
  position: relative;
  z-index: 1;
  width: fit-content;
  margin: 0 auto 0.3rem;
}

.brand--hero .brand__image {
  height: 144px;
}

.brand--create {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 50;
  padding: 0.35rem 0.45rem;
  border-radius: 14px;
  background: transparent;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.brand--create:hover {
  background: rgba(24, 28, 44, 0.9);
  box-shadow: 0 12px 30px rgba(4, 6, 14, 0.3);
}

.brand--create:focus-visible {
  outline: 2px solid rgba(146, 173, 255, 0.9);
  outline-offset: 3px;
}

.hero {
  position: relative;
  padding: 0.3rem 0.8rem 0.8rem;
}

.hero::before {
  content: "";
  position: absolute;
  top: -4rem;
  bottom: -12rem;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  overflow: hidden;
  background:
    url("assets/hero-bg.jpg")
    center / cover no-repeat;
  opacity: 0.12;
  filter: saturate(0.3);
  mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
  z-index: 0;
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 0 0.5rem;
  text-align: center;
}

.hero__title {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1.1;
  font-weight: 600;
  color: #f5f6fb;
  max-width: 900px;
  margin: 0 auto 1.5rem;
}

.gallery {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 200px;
}

.section-heading {
  text-align: center;
}

.section-heading__label {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.75rem;
  color: rgba(146, 173, 255, 0.8);
  margin-bottom: 0.75rem;
}

.section-heading__title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 0.75rem;
}

.section-heading__subtitle {
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.6;
  color: rgba(230, 231, 238, 0.75);
}

.carousel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery__track {
  width: min(1020px, calc(100vw - 120px));
  display: flex;
  align-items: center;
  gap: 1.2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 1rem 0;
}

.gallery__track::-webkit-scrollbar {
  display: none;
}

.gallery__card {
  width: min(28vw, 300px);
  flex: 0 0 min(28vw, 300px);
  scroll-snap-align: center;
  background: rgba(15, 18, 27, 0.88);
  border: 1px solid rgba(84, 96, 138, 0.32);
  border-radius: 18px;
  padding: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  transition: transform 0.35s ease, opacity 0.35s ease, filter 0.35s ease;
  opacity: 0.45;
  transform: scale(0.8);
  filter: saturate(0.68);
}

.gallery__card.is-active {
  width: min(36vw, 390px);
  flex-basis: min(36vw, 390px);
  opacity: 1;
  transform: scale(1);
  filter: saturate(1);
  box-shadow: 0 18px 46px rgba(4, 6, 14, 0.65);
}

.gallery__video {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(120, 140, 205, 0.3);
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: #111421;
}

.gallery__title {
  font-size: 0.95rem;
  font-weight: 600;
}

.gallery__description {
  color: rgba(230, 231, 238, 0.7);
  font-size: 0.85rem;
  line-height: 1.5;
}

.icon-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(120, 140, 205, 0.4);
  background: rgba(16, 19, 28, 0.9);
  color: #f5f6fb;
  cursor: pointer;
  z-index: 2;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border 0.2s ease;
}

.icon-button:hover {
  transform: translateY(-50%) scale(1.06);
  border-color: rgba(146, 173, 255, 0.75);
  box-shadow: 0 12px 24px rgba(8, 12, 20, 0.45);
}

.icon-button--left {
  left: 0;
}

.icon-button--right {
  right: 0;
}

.cta {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  padding: 1rem 2.5rem;
  border-radius: 999px;
  background: linear-gradient(140deg, #4f7cff, #7c4dff);
  color: #f5f6fb;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 16px 35px rgba(66, 92, 173, 0.55);
  transition: box-shadow 0.2s ease;
  z-index: 10;
}

.cta:hover {
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 20px 45px rgba(82, 118, 235, 0.7);
}

.page--create {
  min-height: 100dvh;
  justify-content: flex-start;
  gap: 2rem;
  max-width: 980px;
  padding: clamp(6.25rem, 11vh, 7rem) 1.5rem clamp(1.5rem, 3vh, 2.5rem);
}

.section-heading--create {
  margin-top: 0.5rem;
  margin-bottom: clamp(1.25rem, 3vh, 2rem);
}

.create-panel {
  position: relative;
}

.video-form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: 1rem 1rem 1.2rem;
  background: linear-gradient(145deg, rgba(29, 32, 45, 0.72), rgba(11, 13, 20, 0.82));
  border: 1px solid rgba(112, 133, 198, 0.25);
  border-radius: 24px;
  box-shadow: 0 18px 46px rgba(4, 6, 14, 0.52);
  min-height: 300px;
}

.request-toggle {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(100%, 380px);
  padding: 0.3rem;
  border-radius: 14px;
  border: 1px solid rgba(120, 140, 205, 0.35);
  background: rgba(12, 15, 23, 0.75);
  overflow: hidden;
}

.request-toggle__thumb {
  position: absolute;
  top: 0.3rem;
  left: 0.3rem;
  bottom: 0.3rem;
  width: calc(50% - 0.3rem);
  border-radius: 10px;
  background: rgba(79, 124, 255, 0.24);
  transition: transform 0.28s ease;
}

.request-toggle[data-active="scenario"] .request-toggle__thumb {
  transform: translateX(100%);
}

.request-toggle__button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border: 0;
  border-radius: 10px;
  padding: 0.55rem 0.95rem;
  font-size: 0.9rem;
  color: rgba(230, 231, 238, 0.72);
  background: transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.request-toggle__button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(46, 74, 150, 0.32);
}

.request-toggle__button.is-active {
  color: #f5f6fb;
}

.request-toggle__text strong {
  font-weight: 700;
}

.video-form__mode-note {
  margin: -0.1rem 0 0;
  max-width: 600px;
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(168, 191, 255, 0.78);
}

.video-form__input-wrap {
  position: relative;
}

.video-form__input-overlay {
  position: absolute;
  top: 0.85rem;
  left: 1rem;
  z-index: 1;
  margin: 0;
  pointer-events: none;
  color: rgba(230, 231, 238, 0.72);
  transition: opacity 0.15s ease;
}

.video-form__input-overlay strong {
  font-weight: 700;
  color: #f5f6fb;
}

.video-form__input-overlay.is-hidden {
  opacity: 0;
}

.video-form__input-overlay-dots {
  display: inline-block;
  width: 1.2rem;
}

.video-form__input-overlay-dots::after {
  content: "...";
  display: inline-block;
  width: 0;
  overflow: hidden;
  vertical-align: bottom;
  animation: typing-dots 1.1s steps(4, end) infinite;
  color: rgba(245, 246, 251, 0.86);
}

.video-form__textarea {
  width: 100%;
  min-height: 150px;
  border: 1px solid rgba(120, 140, 205, 0.3);
  border-radius: 18px;
  resize: vertical;
  background: rgba(24, 27, 38, 0.82);
  color: #f5f6fb;
  padding: 2.4rem 1rem 2.2rem;
  font: inherit;
  line-height: 1.5;
}

.video-form__textarea::placeholder {
  color: rgba(230, 231, 238, 0.45);
}

.video-form__textarea:focus-visible {
  outline: 1px solid rgba(146, 173, 255, 0.9);
  border-color: rgba(146, 173, 255, 0.9);
}

.video-form__hint {
  position: absolute;
  right: 0.9rem;
  bottom: 0.8rem;
  font-size: 0.8rem;
  color: rgba(230, 231, 238, 0.6);
  transition: color 0.15s ease;
}

.video-form__hint[data-exceeded="true"] {
  color: #ff6b6b;
}

.video-form__meta {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  padding-right: 11.5rem;
}

.help-tooltip {
  position: relative;
  flex-shrink: 0;
  width: 1.2rem;
  height: 1.2rem;
  border: 1px solid rgba(146, 173, 255, 0.36);
  border-radius: 50%;
  background: rgba(18, 21, 32, 0.9);
  color: rgba(219, 229, 255, 0.92);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: help;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.help-tooltip:hover,
.help-tooltip:focus-visible {
  border-color: rgba(146, 173, 255, 0.8);
  background: rgba(40, 51, 92, 0.96);
  transform: translateY(-1px);
}

.help-tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 0.55rem);
  transform: translateX(-50%) translateY(4px);
  width: min(240px, calc(100vw - 2rem));
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  border: 1px solid rgba(120, 140, 205, 0.28);
  background: rgba(9, 12, 20, 0.98);
  box-shadow: 0 14px 30px rgba(4, 6, 14, 0.48);
  color: rgba(230, 231, 238, 0.92);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.45;
  opacity: 0;
  pointer-events: none;
  white-space: normal;
  z-index: 6;
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.help-tooltip:hover::after,
.help-tooltip:focus-visible::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.object-control {
  min-width: 228px;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 0.7rem;
  border-radius: 12px;
  border: 1px solid rgba(120, 140, 205, 0.33);
  background: rgba(24, 27, 38, 0.78);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.object-control[data-state="configured"] {
  border-color: rgba(146, 173, 255, 0.82);
  background: linear-gradient(145deg, rgba(57, 84, 170, 0.26), rgba(24, 27, 38, 0.9));
}

.object-control[data-state="uploading"] {
  border-color: rgba(120, 198, 255, 0.72);
}

.object-control[data-state="draft"] {
  border-color: rgba(180, 190, 255, 0.48);
}

.object-control__plus {
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(120, 140, 205, 0.38);
  border-radius: 999px;
  background: rgba(18, 21, 32, 0.95);
  color: #f5f6fb;
  font-size: 1.25rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.object-control__plus:hover {
  transform: translateY(-1px);
  border-color: rgba(146, 173, 255, 0.8);
  box-shadow: 0 10px 22px rgba(46, 74, 150, 0.24);
}

.object-control__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.object-control__label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #f5f6fb;
}

.object-control__status {
  font-size: 0.74rem;
  color: rgba(186, 200, 255, 0.78);
}

.option-trigger {
  min-width: 175px;
  border-radius: 12px;
  border: 1px solid rgba(120, 140, 205, 0.33);
  background: rgba(24, 27, 38, 0.78);
  padding: 0.55rem 0.8rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  color: #f5f6fb;
  cursor: pointer;
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.option-trigger:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(46, 74, 150, 0.32);
  border-color: rgba(146, 173, 255, 0.7);
}

.option-trigger.is-selected {
  border-color: rgba(146, 173, 255, 0.85);
  background: linear-gradient(145deg, rgba(57, 84, 170, 0.28), rgba(24, 27, 38, 0.9));
}

.option-trigger.is-selected .option-trigger__value {
  color: #dbe5ff;
}

.option-trigger__label {
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  color: rgba(230, 231, 238, 0.7);
}

.option-trigger__value {
  font-weight: 600;
}

.generate-button {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  border: 1px solid rgba(120, 140, 205, 0.4);
  border-radius: 999px;
  background: linear-gradient(140deg, #4f7cff, #7c4dff);
  color: #f5f6fb;
  font-weight: 600;
  padding: 0.7rem 1.25rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.generate-button:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(46, 74, 150, 0.5);
}

.generate-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.selector-popover {
  position: fixed;
  z-index: 30;
  border-radius: 14px;
  border: 1px solid rgba(120, 140, 205, 0.33);
  background: rgba(13, 16, 25, 0.96);
  box-shadow: 0 14px 30px rgba(4, 6, 14, 0.6);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: popover-in 0.14s ease;
}

.selector-popover[hidden] {
  display: none;
}

.selector-popover__header {
  padding: 0.7rem 0.85rem 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(230, 231, 238, 0.7);
  border-bottom: 1px solid rgba(120, 140, 205, 0.2);
}

.selector-popover__list {
  padding: 0.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  overflow-y: auto;
  flex: 1 1 auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(112, 133, 198, 0.28) transparent;
}

.selector-popover__item {
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #f5f6fb;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  cursor: pointer;
  padding: 0.48rem 0.55rem;
}

.selector-popover__item:hover {
  background: rgba(79, 124, 255, 0.2);
}

.selector-popover__item.is-selected {
  background: rgba(79, 124, 255, 0.22);
}

.selector-popover__check {
  color: #f5f6fb;
}

.form-status {
  min-height: 1.2rem;
  color: rgba(230, 231, 238, 0.75);
}

.form-status[data-state="error"] {
  color: #ff9ba4;
}

.form-status[data-state="success"] {
  color: #88f5b7;
}

.object-modal {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
}

.object-modal[hidden] {
  display: none;
}

.object-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 9, 13, 0.78);
  backdrop-filter: blur(6px);
}

.object-modal__card {
  position: relative;
  z-index: 1;
  width: min(540px, calc(100vw - 2rem));
  border-radius: 22px;
  border: 1px solid rgba(120, 140, 205, 0.26);
  background: linear-gradient(145deg, rgba(19, 22, 34, 0.98), rgba(10, 12, 18, 0.98));
  box-shadow: 0 24px 70px rgba(4, 6, 14, 0.72);
  overflow: visible;
}

.object-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.2rem 0.9rem;
  border-bottom: 1px solid rgba(120, 140, 205, 0.14);
}

.object-modal__eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(146, 173, 255, 0.8);
  margin-bottom: 0.35rem;
}

.object-modal__title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #f5f6fb;
}

.object-modal__close {
  border: 0;
  background: transparent;
  color: rgba(230, 231, 238, 0.5);
  font-size: 1.1rem;
  cursor: pointer;
  line-height: 1;
  padding: 0.1rem 0.2rem;
  border-radius: 0.3rem;
}

.object-modal__close:hover {
  color: #f5f6fb;
}

.object-modal__body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 1.2rem;
}

.object-modal__field {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.object-modal__field-row {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #dbe5ff;
}

.object-modal .help-tooltip::after {
  top: calc(100% + 0.55rem);
  bottom: auto;
  transform: translateX(-50%) translateY(-4px);
}

.object-modal .help-tooltip:hover::after,
.object-modal .help-tooltip:focus-visible::after {
  transform: translateX(-50%) translateY(0);
}

.object-modal__textarea {
  width: 100%;
  border: 1px solid rgba(120, 140, 205, 0.28);
  border-radius: 14px;
  background: rgba(24, 27, 38, 0.82);
  color: #f5f6fb;
  font: inherit;
}

.object-modal__textarea {
  min-height: 138px;
  padding: 0.9rem 1rem;
  resize: vertical;
  line-height: 1.5;
}

.object-modal__file-picker {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  width: 100%;
  padding: 0.8rem 0.95rem;
  border: 1px solid rgba(120, 140, 205, 0.28);
  border-radius: 14px;
  background: rgba(24, 27, 38, 0.82);
  color: #f5f6fb;
  font: inherit;
}

.object-modal__file-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(146, 173, 255, 0.16);
  color: #f5f6fb;
  font-size: 0.84rem;
  font-weight: 600;
  white-space: nowrap;
}

.object-modal__file-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.object-modal__textarea:focus-visible,
.object-modal__file-picker:focus-within,
.object-modal__close:focus-visible,
.object-modal__primary:focus-visible,
.object-modal__secondary:focus-visible,
.object-control__plus:focus-visible {
  outline: 2px solid rgba(146, 173, 255, 0.92);
  outline-offset: 2px;
}

.object-modal__file-help,
.object-modal__file-name {
  font-size: 0.76rem;
  line-height: 1.45;
}

.object-modal__file-help {
  color: rgba(230, 231, 238, 0.62);
}

.object-modal__file-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  color: rgba(219, 229, 255, 0.88);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.object-modal__status {
  min-height: 1.15rem;
  font-size: 0.8rem;
  color: rgba(230, 231, 238, 0.72);
}

.object-modal__status[data-state="error"] {
  color: #ff9ba4;
}

.object-modal__status[data-state="success"] {
  color: #88f5b7;
}

.object-modal__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
  padding: 0 1.2rem 1.15rem;
}

.object-modal__primary,
.object-modal__secondary {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  padding: 0.62rem 1rem;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, opacity 0.18s ease;
}

.object-modal__primary {
  border: 1px solid rgba(120, 140, 205, 0.4);
  background: linear-gradient(140deg, #4f7cff, #7c4dff);
  color: #f5f6fb;
}

.object-modal__secondary {
  border: 1px solid rgba(120, 140, 205, 0.28);
  background: rgba(24, 27, 38, 0.78);
  color: #dbe5ff;
}

.object-modal__primary:hover:not(:disabled),
.object-modal__secondary:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(46, 74, 150, 0.28);
}

.object-modal__primary:disabled,
.object-modal__secondary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ── Video history panel ──────────────────────────────────────── */

.video-history {
  width: 100%;
  border-radius: 20px;
  border: 1px solid rgba(112, 133, 198, 0.22);
  background: linear-gradient(145deg, rgba(18, 20, 32, 0.62), rgba(9, 11, 18, 0.78));
  box-shadow: 0 12px 36px rgba(4, 6, 14, 0.42);
  overflow: hidden;
}

.video-history__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.2rem;
  border-bottom: 1px solid rgba(112, 133, 198, 0.15);
}

.video-history__title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(146, 173, 255, 0.85);
}

.video-history__count {
  font-size: 0.73rem;
  color: rgba(230, 231, 238, 0.45);
}

.video-history__list {
  max-height: 430px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(112, 133, 198, 0.28) transparent;
}

.video-history__list::-webkit-scrollbar {
  width: 4px;
}

.video-history__list::-webkit-scrollbar-track {
  background: transparent;
}

.video-history__list::-webkit-scrollbar-thumb {
  background: rgba(112, 133, 198, 0.28);
  border-radius: 2px;
}

.history-item {
  display: grid;
  grid-template-columns: 1fr 168px;
  gap: 1.25rem;
  padding: 1.1rem 1.2rem;
  border-bottom: 1px solid rgba(112, 133, 198, 0.1);
  animation: history-item-in 0.32s ease;
}

.history-item:last-child {
  border-bottom: none;
}

.history-item__meta {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  min-width: 0;
}

.history-item__title {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  color: #c8d6ff;
  word-break: break-word;
}

.history-item__prompt {
  margin-top: 0.4rem;
  font-size: 0.82rem;
  line-height: 1.6;
  color: rgba(230, 231, 238, 0.75);
  white-space: pre-wrap;
  word-break: break-word;
}

.history-item__details {
  font-size: 0.85rem;
}

.history-item__details-summary {
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(186, 200, 255, 0.7);
  user-select: none;
}

.history-item__details-summary:hover {
  color: rgba(186, 200, 255, 1);
}

.history-item__script {
  font-size: 0.9rem;
  line-height: 1.55;
  color: #e6e7ee;
  word-break: break-word;
}

.history-item__hashtags {
  font-size: 0.78rem;
  line-height: 1.5;
  color: rgba(130, 170, 255, 0.85);
  word-break: break-word;
}

.history-item__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
}

.history-item__tag {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.58rem;
  border-radius: 999px;
  border: 1px solid rgba(112, 133, 198, 0.26);
  background: rgba(79, 124, 255, 0.1);
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(186, 200, 255, 0.9);
  white-space: nowrap;
}

.history-item__time {
  font-size: 0.72rem;
  color: rgba(230, 231, 238, 0.38);
  margin-top: auto;
  padding-top: 0.25rem;
}

.history-item__media {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex-shrink: 0;
  width: 168px;
}

.history-item__video {
  width: 100%;
  display: block;
  border-radius: 12px;
  border: 1px solid rgba(120, 140, 205, 0.26);
  background: #0b0d14;
}

.history-item__download {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  width: 100%;
  padding: 0.44rem 0.6rem;
  border-radius: 9px;
  border: 1px solid rgba(120, 140, 205, 0.32);
  background: rgba(24, 27, 38, 0.78);
  color: #dbe5ff;
  font-size: 0.76rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.history-item__download:hover {
  background: rgba(79, 124, 255, 0.2);
  border-color: rgba(146, 173, 255, 0.58);
  transform: translateY(-1px);
}

@keyframes history-item-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes popover-in {
  from {
    opacity: 0;
    transform: translateY(-3px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes typing-dots {
  0% {
    width: 0;
  }
  60% {
    width: 1.2rem;
  }
  100% {
    width: 1.2rem;
  }
}

@media (max-width: 900px) {
  .page {
    padding: 3rem 1.25rem 8rem;
  }

  .page--home {
    padding-top: 1rem;
    gap: 1.2rem;
  }

  .page--create {
    min-height: auto;
    justify-content: flex-start;
    padding: 6rem 1.1rem 2.2rem;
    gap: 1.4rem;
  }

  .brand--create {
    top: 0.85rem;
    left: 0.85rem;
    padding: 0.3rem 0.4rem;
  }

  .section-heading--create {
    margin-bottom: 1rem;
  }

  .hero {
    padding: 0.25rem 0.4rem 0.7rem;
  }

  .gallery__track {
    width: calc(100vw - 80px);
    gap: 0.8rem;
  }

  .gallery__card,
  .gallery__card.is-active {
    width: min(65vw, 340px);
    flex-basis: min(65vw, 340px);
  }

  .gallery__card {
    opacity: 0;
    transform: scale(0.86);
  }

  .gallery__card.is-active {
    opacity: 1;
    transform: scale(1);
  }

  .icon-button--left {
    left: -4px;
  }

  .icon-button--right {
    right: -4px;
  }

  .video-form {
    min-height: 0;
    padding-bottom: 1.2rem;
  }

  .video-form__meta {
    padding-right: 0;
  }

  .option-trigger {
    min-width: 150px;
    flex: 1 1 150px;
  }

  .object-control {
    width: 100%;
    min-width: 0;
  }

  .video-form__textarea {
    min-height: 122px;
  }

  .generate-button {
    position: static;
    align-self: flex-end;
    margin-top: 0.4rem;
  }

  .video-form__credits-hint {
    position: static;
    text-align: right;
    margin-top: -0.2rem;
  }

  .object-modal {
    padding: 0.85rem;
  }

  .object-modal__card {
    width: 100%;
  }

  .object-modal__actions {
    flex-wrap: wrap;
  }

  .object-modal__primary,
  .object-modal__secondary {
    flex: 1 1 160px;
    justify-content: center;
  }

  .history-item {
    grid-template-columns: 1fr;
  }

  .history-item__media {
    flex-direction: row;
    align-items: flex-start;
    width: 100%;
  }

  .history-item__video {
    width: 110px;
  }

  .history-item__download {
    align-self: flex-end;
    flex: 1;
  }
}

/* ── Account control ───────────────────────────────────────────────────────── */

.account-ctrl {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.account-ctrl__credits {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(186, 200, 255, 0.85);
  white-space: nowrap;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(120, 140, 205, 0.28);
  background: rgba(16, 19, 28, 0.85);
  backdrop-filter: blur(8px);
}

.account-ctrl__credits[hidden] {
  display: none;
}

.account-ctrl__buy {
  font-size: 0.78rem;
  font-weight: 600;
  color: #f5f6fb;
  white-space: nowrap;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(120, 140, 205, 0.4);
  background: linear-gradient(140deg, #4f7cff, #7c4dff);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  backdrop-filter: blur(8px);
}

.account-ctrl__buy:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(66, 92, 173, 0.45);
}

.account-ctrl__buy[hidden] {
  display: none;
}

.account-ctrl__trigger {
  position: relative;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid rgba(120, 140, 205, 0.4);
  background: rgba(16, 19, 28, 0.9);
  color: #e6e7ee;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  backdrop-filter: blur(8px);
  overflow: hidden;
  padding: 0;
}

.account-ctrl__trigger:hover {
  border-color: rgba(146, 173, 255, 0.75);
  background: rgba(24, 28, 44, 0.95);
  box-shadow: 0 6px 20px rgba(4, 6, 14, 0.5);
}

.account-ctrl__trigger:focus-visible {
  outline: 2px solid rgba(146, 173, 255, 0.9);
  outline-offset: 2px;
}

.account-ctrl__user-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.account-ctrl__avatar {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.account-ctrl__menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 210px;
  border-radius: 12px;
  border: 1px solid rgba(120, 140, 205, 0.28);
  background: rgba(13, 16, 25, 0.97);
  box-shadow: 0 14px 30px rgba(4, 6, 14, 0.6);
  overflow: hidden;
  backdrop-filter: blur(12px);
  animation: popover-in 0.14s ease;
}

.account-ctrl__sign-in {
  padding: 0;
}

.account-ctrl__menu-header {
  padding: 0.35rem 0.85rem 0.3rem;
  border-bottom: 1px solid rgba(120, 140, 205, 0.15);
}

.account-ctrl__name {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: #e6e7ee;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-ctrl__user-info {
  display: flex;
  flex-direction: column;
}

.account-ctrl__menu-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.3rem 0.85rem;
  background: transparent;
  border: 0;
  color: #e6e7ee;
  font-size: 0.85rem;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s ease;
}

.account-ctrl__menu-item:hover {
  background: rgba(79, 124, 255, 0.15);
}

.account-ctrl__menu-item:focus-visible {
  outline: 2px solid rgba(146, 173, 255, 0.9);
  outline-offset: -2px;
}

.account-ctrl__login-icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.account-ctrl__logout {
  color: rgba(230, 231, 238, 0.7);
  padding-top: 0.3rem;
  padding-bottom: 0.3rem;
}

.account-ctrl__logout:hover {
  color: #e6e7ee;
}

.generate-button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

.video-form__credits-hint {
  position: absolute;
  right: 1rem;
  bottom: -1.5rem;
  font-size: 0.72rem;
  color: rgba(186, 200, 255, 0.55);
  white-space: nowrap;
}

.video-form__credits-hint[hidden] {
  display: none;
}

/* ── Login modal ───────────────────────────────────────────────────────────── */

.login-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-modal[hidden] {
  display: none;
}

.login-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 9, 13, 0.72);
  backdrop-filter: blur(4px);
}

.login-modal__card {
  position: relative;
  z-index: 1;
  background: rgba(18, 21, 32, 0.96);
  border: 1px solid rgba(120, 140, 205, 0.25);
  border-radius: 1rem;
  padding: 2rem 2rem 1.75rem;
  width: min(360px, calc(100vw - 2.5rem));
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.55);
}

.login-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.9rem;
  background: transparent;
  border: 0;
  color: rgba(230, 231, 238, 0.45);
  font-size: 1.1rem;
  cursor: pointer;
  line-height: 1;
  padding: 0.15rem 0.3rem;
  border-radius: 0.25rem;
  transition: color 0.15s ease;
}

.login-modal__close:hover {
  color: #e6e7ee;
}

.login-modal__close:focus-visible {
  outline: 2px solid rgba(146, 173, 255, 0.9);
  outline-offset: 2px;
}

.login-modal__title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #e6e7ee;
  margin-right: 1.5rem;
}

.login-modal__body {
  font-size: 0.875rem;
  color: rgba(230, 231, 238, 0.65);
  line-height: 1.5;
}

.login-modal__login-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.5rem;
  padding: 0.65rem 1.5rem;
  background: linear-gradient(135deg, #4f7cff 0%, #7c5cfc 100%);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: inherit;
  text-decoration: none;
  border-radius: 0.6rem;
  transition: opacity 0.18s ease, box-shadow 0.18s ease;
  box-shadow: 0 2px 12px rgba(79, 124, 255, 0.35);
  align-self: flex-start;
}

.login-modal__login-btn:hover {
  opacity: 0.88;
  box-shadow: 0 4px 18px rgba(79, 124, 255, 0.5);
}

.login-modal__login-btn:focus-visible {
  outline: 2px solid rgba(146, 173, 255, 0.9);
  outline-offset: 2px;
}

/* ── Packages modal ─────────────────────────────────────────────────────── */

.packages-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
}

.packages-modal[hidden] {
  display: none;
}

.packages-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 9, 13, 0.78);
  backdrop-filter: blur(6px);
}

.packages-modal__card {
  position: relative;
  z-index: 1;
  background: linear-gradient(145deg, rgba(19, 22, 34, 0.98), rgba(10, 12, 18, 0.98));
  border: 1px solid rgba(120, 140, 205, 0.25);
  border-radius: 22px;
  padding: 1.5rem 1.5rem 1.25rem;
  width: min(420px, calc(100vw - 2.5rem));
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: 0 24px 70px rgba(4, 6, 14, 0.72);
}

.packages-modal__close {
  position: absolute;
  top: 0.85rem;
  right: 0.9rem;
  background: transparent;
  border: 0;
  color: rgba(230, 231, 238, 0.45);
  font-size: 1.1rem;
  cursor: pointer;
  line-height: 1;
  padding: 0.15rem 0.3rem;
  border-radius: 0.25rem;
  transition: color 0.15s ease;
}

.packages-modal__close:hover {
  color: #e6e7ee;
}

.packages-modal__close:focus-visible {
  outline: 2px solid rgba(146, 173, 255, 0.9);
  outline-offset: 2px;
}

.packages-modal__title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #f5f6fb;
  margin-right: 1.5rem;
}

.packages-modal__content {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.packages-modal__status {
  min-height: 1rem;
  font-size: 0.8rem;
  color: rgba(230, 231, 238, 0.72);
}

.packages-modal__status:empty {
  display: none;
}

.packages-modal__status[data-state="error"] {
  color: #ff9ba4;
}

.packages-modal__hint {
  font-size: 0.82rem;
  color: rgba(230, 231, 238, 0.55);
  text-align: center;
  padding: 0.5rem 0;
}

.credit-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.credit-form__label {
  font-size: 0.85rem;
  color: rgba(186, 200, 255, 0.8);
}

.credit-form__input {
  width: 100%;
  padding: 0.6rem 0.8rem;
  border-radius: 10px;
  border: 1px solid rgba(120, 140, 205, 0.3);
  background: rgba(14, 16, 24, 0.7);
  color: #f5f6fb;
  font: inherit;
  font-size: 1rem;
  text-align: center;
}

.credit-form__input:focus {
  outline: 2px solid rgba(146, 173, 255, 0.9);
  outline-offset: 2px;
  border-color: transparent;
}

.credit-form__total {
  font-size: 0.85rem;
  color: rgba(186, 200, 255, 0.75);
  text-align: center;
  min-height: 1.2em;
}

.credit-form__buy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(120, 140, 205, 0.4);
  background: linear-gradient(140deg, #4f7cff, #7c4dff);
  color: #f5f6fb;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.credit-form__buy-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(46, 74, 150, 0.4);
}

.credit-form__buy-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.credit-form__buy-btn:focus-visible {
  outline: 2px solid rgba(146, 173, 255, 0.9);
  outline-offset: 2px;
}

/* ── Homepage waitlist overrides ──────────────────────────────────────────── */

.page--home {
  padding-top: 1rem;
  gap: 3.25rem;
}

.brand--hero .brand__image {
  height: clamp(96px, 18vw, 144px);
}

.hero--waitlist {
  padding: 0.3rem 0.8rem 0.2rem;
}

.hero__layout {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.25rem;
  align-items: start;
}

.hero--waitlist .hero__content {
  padding: 0;
  text-align: left;
}

.hero--waitlist .hero__title {
  font-size: clamp(2.05rem, 4vw, 3.6rem);
  max-width: 12ch;
  margin: 0 0 1rem;
}

.hero__subtitle {
  max-width: 58ch;
  line-height: 1.6;
  color: rgba(230, 231, 238, 0.8);
  text-align: center;
  margin: 0 auto;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.1rem;
}

.section-heading__label--hero {
  margin-bottom: 0.9rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--secondary {
  border: 1px solid rgba(146, 173, 255, 0.36);
  background: rgba(15, 18, 27, 0.82);
  color: #f5f6fb;
  box-shadow: 0 12px 28px rgba(4, 6, 14, 0.28);
}

.button--secondary:hover {
  border-color: rgba(146, 173, 255, 0.78);
  box-shadow: 0 16px 34px rgba(4, 6, 14, 0.4);
}

.waitlist-card {
  position: relative;
  z-index: 1;
  padding: 1rem;
  border-radius: 24px;
  border: 1px solid rgba(112, 133, 198, 0.25);
  background: linear-gradient(145deg, rgba(29, 32, 45, 0.82), rgba(11, 13, 20, 0.92));
  box-shadow: 0 18px 46px rgba(4, 6, 14, 0.52);
}

.waitlist-card__label {
  margin-bottom: 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(168, 191, 255, 0.88);
}

.waitlist-card__trust {
  margin-top: 0.85rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(230, 231, 238, 0.72);
}

.waitlist-card--bottom {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}

.waitlist-card--bottom .button {
  margin-top: 1rem;
}

.waitlist-embed {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.waitlist-embed iframe {
  display: block;
}

.story-block,
.steps,
.proof,
.final-cta {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.story-block__content,
.proof__panel {
  max-width: 760px;
  margin: 0 auto;
  padding: 1.2rem 1.25rem;
  border-radius: 22px;
  border: 1px solid rgba(84, 96, 138, 0.24);
  background: rgba(15, 18, 27, 0.72);
  box-shadow: 0 16px 36px rgba(4, 6, 14, 0.24);
}

.story-block__content p + p,
.proof__panel p + p {
  margin-top: 1rem;
}

.story-block__content p,
.proof__panel p {
  line-height: 1.7;
  color: rgba(230, 231, 238, 0.82);
}

.steps__grid {
  display: grid;
  gap: 1rem;
}

.step-card {
  padding: 1.15rem;
  border-radius: 22px;
  border: 1px solid rgba(84, 96, 138, 0.3);
  background: rgba(15, 18, 27, 0.84);
  box-shadow: 0 16px 34px rgba(4, 6, 14, 0.22);
}

.step-card__title {
  font-size: 1.05rem;
  margin-bottom: 0.55rem;
}

.step-card__copy {
  line-height: 1.6;
  color: rgba(230, 231, 238, 0.75);
}

.site-footer {
  padding: 0 1.5rem 2rem;
}

.site-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  padding-top: 1rem;
  color: rgba(230, 231, 238, 0.68);
}

.site-footer__brand {
  font-weight: 700;
  color: #f5f6fb;
}

.site-footer__link {
  color: rgba(168, 191, 255, 0.92);
  text-decoration: none;
}

.site-footer__link:hover {
  text-decoration: underline;
}

@media (min-width: 901px) {
  .hero__layout {
    grid-template-columns: minmax(0, 1.1fr) minmax(360px, 430px);
    gap: 1.5rem;
  }

  .steps__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .page--home {
    gap: 2.4rem;
  }

  .hero--waitlist .hero__content {
    text-align: center;
  }

  .hero--waitlist .hero__title,
  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .hero--waitlist {
    padding-inline: 0;
  }

  .brand--hero .brand__image {
    height: 100px;
  }

  .hero--waitlist .hero__title {
    font-size: 1.85rem;
    max-width: none;
  }

  .waitlist-card {
    padding: 0.9rem;
    border-radius: 20px;
  }
}

/* ── Homepage simplification overrides ───────────────────────────────────── */

.page--home {
  gap: 1.65rem;
}

.hero--waitlist {
  padding: 0.3rem 0.8rem 0.8rem;
}

.hero__layout {
  display: block;
}

.hero--waitlist .hero__content--waitlist {
  text-align: center;
  padding: 0 0.5rem;
}

.hero--waitlist .hero__content--waitlist .hero__title {
  max-width: 900px;
  margin: 0 auto 1.5rem;
}

.waitlist-card--hero {
  width: min(100%, 540px);
  margin: 0 auto;
}

.waitlist-card--bottom {
  width: min(100%, 540px);
  margin: 0 auto;
}

.tally-frame {
  display: block;
  width: 100%;
  margin: 0;
  border: 0;
  color-scheme: normal;
  background: transparent !important;
}

.waitlist-embed {
  background: transparent;
}

.waitlist-embed iframe {
  background: transparent !important;
}

.final-cta {
  gap: 1.25rem;
  padding-bottom: 1rem;
}

.final-cta .section-heading__title {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .page--home {
    gap: 1.2rem;
  }

  .hero--waitlist .hero__content--waitlist .hero__title {
    margin-left: auto;
    margin-right: auto;
  }
}
