:root {
  --studio-ink: #2f1723;
  --studio-muted: #7c5d69;
  --studio-line: #f2cfd7;
  --studio-coral: #ff7a59;
  --studio-coral-deep: #eb5a37;
  --studio-rose: #ff5c8a;
  --studio-rose-soft: #ffe1ea;
  --studio-blush: #fff1f4;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
}

button,
input,
video {
  font: inherit;
}

.panel {
  display: none;
}

.panel--visible {
  display: block;
  animation: panel-in 240ms ease;
}

.button-lift:hover:not(:disabled),
.button-lift:focus-visible:not(:disabled) {
  transform: translateY(-2px);
}

.button-lift:focus-visible,
.topic-card:focus-visible,
.upload-box:focus-within {
  outline: 4px solid rgba(255, 92, 138, 0.24);
  outline-offset: 4px;
}

.step {
  color: var(--studio-muted);
  background: rgba(255, 255, 255, 0.8);
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.step.is-active,
.step.is-complete {
  color: #ffffff;
  background: linear-gradient(90deg, var(--studio-coral), var(--studio-rose));
  box-shadow: 0 16px 30px rgba(255, 92, 138, 0.22);
}

.topic-card {
  width: 100%;
  border: 1px solid rgba(242, 207, 215, 0.85);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.topic-card:hover,
.topic-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 122, 89, 0.55);
  box-shadow: 0 18px 42px rgba(47, 23, 35, 0.09);
}

.topic-card.is-selected {
  border-color: var(--studio-coral);
  background: linear-gradient(180deg, #ffffff, #fff1f4);
  box-shadow: 0 20px 40px rgba(255, 92, 138, 0.14);
}

.topic-card__eyebrow,
.selection-summary__eyebrow {
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.topic-card__eyebrow {
  color: var(--studio-coral-deep);
}

.topic-card__label,
.selection-summary__title {
  display: block;
  margin-top: 0.75rem;
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.8rem, 2.4vw, 2.1rem);
  line-height: 1.1;
  color: var(--studio-ink);
}

.topic-card__subtext,
.selection-summary__text {
  display: block;
  margin-top: 0.75rem;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--studio-muted);
}

.selection-summary__eyebrow {
  color: var(--studio-rose);
}

.body-copy {
  line-height: 1.95;
}

.site-nav-shell {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  padding: 0;
  background: rgba(255, 253, 252, 0.88);
  border-bottom: 1px solid rgba(242, 207, 215, 0.7);
  box-shadow: 0 18px 48px rgba(47, 23, 35, 0.08);
  backdrop-filter: blur(18px);
  transition: transform 260ms ease, opacity 260ms ease;
}

.site-nav-shell.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-120%);
}

body.studio-flow--focused .site-nav-shell {
  position: static;
}

body.studio-flow--focused #studio-shell {
  padding-top: 0 !important;
}

.site-nav {
  backdrop-filter: none;
}

.site-footer {
  backdrop-filter: blur(14px);
}

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

.site-nav__logo,
.site-footer__logo {
  filter: saturate(1.02);
}

.site-nav__link,
.site-footer__link,
.site-nav__cta,
.site-nav__secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  border-radius: 999px;
  padding: 0.75rem 1.15rem;
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 180ms ease,
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.site-nav__link,
.site-footer__link {
  color: var(--studio-ink);
}

.site-nav__link:hover,
.site-nav__link:focus-visible,
.site-footer__link:hover,
.site-footer__link:focus-visible {
  transform: translateY(-1px);
  background: rgba(255, 241, 244, 0.85);
  color: var(--studio-coral-deep);
}

.site-nav__cta,
.site-nav__secondary {
  border: 1px solid transparent;
}

.site-nav__cta {
  background: linear-gradient(90deg, var(--studio-coral), var(--studio-rose));
  box-shadow: 0 16px 34px rgba(255, 92, 138, 0.18);
  color: #ffffff;
}

.site-nav__secondary {
  background: #ffffff;
  border-color: rgba(242, 207, 215, 0.9);
  box-shadow: 0 12px 28px rgba(47, 23, 35, 0.08);
  color: var(--studio-ink);
}

.site-nav__cta:hover,
.site-nav__cta:focus-visible,
.site-nav__secondary:hover,
.site-nav__secondary:focus-visible {
  transform: translateY(-2px);
}

.site-footer-shell {
  position: relative;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
}

.chatbot-shell {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 70;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.9rem;
}

.chatbot-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 3.7rem;
  border: 0;
  border-radius: 999px;
  padding: 0.95rem 1.15rem;
  background: linear-gradient(135deg, #2f1723, #5c3347);
  color: #ffffff;
  box-shadow: 0 22px 45px rgba(47, 23, 35, 0.24);
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.chatbot-toggle:hover,
.chatbot-toggle:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 26px 48px rgba(47, 23, 35, 0.28);
}

.chatbot-toggle__icon {
  font-size: 1.35rem;
}

.chatbot-panel {
  width: min(25rem, calc(100vw - 2rem));
  max-height: min(42rem, calc(100vh - 8rem));
  overflow: hidden;
  border: 1px solid rgba(242, 207, 215, 0.9);
  border-radius: 1.75rem;
  background:
    radial-gradient(circle at top right, rgba(255, 122, 89, 0.1), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(255, 245, 247, 0.97));
  box-shadow: 0 28px 70px rgba(47, 23, 35, 0.18);
}

.chatbot-panel__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.15rem 1rem;
  border-bottom: 1px solid rgba(242, 207, 215, 0.72);
}

.chatbot-panel__eyebrow {
  margin: 0;
  color: var(--studio-coral-deep);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.chatbot-panel__title {
  margin: 0.35rem 0 0;
  color: var(--studio-ink);
  font-family: "Manrope", sans-serif;
  font-size: 1.8rem;
  line-height: 1.1;
}

.chatbot-panel__close {
  border: 1px solid rgba(242, 207, 215, 0.95);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--studio-ink);
  padding: 0.7rem 0.95rem;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
}

.chatbot-messages {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1rem 1.15rem;
  max-height: 19.5rem;
  overflow-y: auto;
}

.chatbot-message {
  display: grid;
  gap: 0.35rem;
}

.chatbot-message__label {
  margin: 0;
  color: var(--studio-muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.chatbot-message__bubble {
  width: fit-content;
  max-width: 100%;
  border-radius: 1.2rem;
  padding: 0.9rem 1rem;
  font-size: 0.98rem;
  line-height: 1.65;
}

.chatbot-message--assistant .chatbot-message__bubble {
  background: #ffffff;
  color: var(--studio-ink);
  border: 1px solid rgba(242, 207, 215, 0.85);
  box-shadow: 0 12px 26px rgba(47, 23, 35, 0.06);
}

.chatbot-message--user {
  justify-items: end;
}

.chatbot-message--user .chatbot-message__bubble {
  background: linear-gradient(135deg, var(--studio-coral), var(--studio-rose));
  color: #ffffff;
  box-shadow: 0 16px 28px rgba(255, 92, 138, 0.2);
}

.chatbot-message__bubble--typing {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.chatbot-message__bubble--typing span {
  width: 0.46rem;
  height: 0.46rem;
  border-radius: 999px;
  background: rgba(124, 93, 105, 0.8);
  animation: chatbot-bounce 1s infinite ease-in-out;
}

.chatbot-message__bubble--typing span:nth-child(2) {
  animation-delay: 120ms;
}

.chatbot-message__bubble--typing span:nth-child(3) {
  animation-delay: 240ms;
}

.chatbot-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  padding: 0 1.15rem 1rem;
}

.chatbot-quick-replies__button {
  border: 1px solid rgba(242, 207, 215, 0.95);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--studio-ink);
  padding: 0.7rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease;
}

.chatbot-quick-replies__button:hover,
.chatbot-quick-replies__button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 122, 89, 0.72);
}

.chatbot-form {
  display: grid;
  gap: 0.75rem;
  padding: 1rem 1.15rem 1.15rem;
  border-top: 1px solid rgba(242, 207, 215, 0.72);
  background: rgba(255, 255, 255, 0.68);
}

.chatbot-form__input {
  width: 100%;
  resize: none;
  border: 1px solid rgba(242, 207, 215, 0.95);
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.98);
  color: var(--studio-ink);
  padding: 0.95rem 1rem;
  font-size: 0.98rem;
  line-height: 1.6;
}

.chatbot-form__input:focus-visible {
  outline: 4px solid rgba(255, 92, 138, 0.2);
  outline-offset: 2px;
}

.chatbot-form__submit {
  justify-self: end;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--studio-coral), var(--studio-rose));
  color: #ffffff;
  padding: 0.9rem 1.2rem;
  font-size: 0.96rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 16px 28px rgba(255, 92, 138, 0.22);
}

.pricing-card {
  border: 1px solid rgba(242, 207, 215, 0.78);
  background:
    radial-gradient(circle at top right, rgba(255, 122, 89, 0.1), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 244, 246, 0.92));
  box-shadow: 0 16px 42px rgba(47, 23, 35, 0.08);
}

.pricing-card--featured {
  position: relative;
  overflow: hidden;
}

.pricing-card--featured::after {
  content: "Best way to start";
  position: absolute;
  top: 1.2rem;
  right: -3.5rem;
  padding: 0.55rem 4.1rem;
  background: linear-gradient(90deg, var(--studio-coral), var(--studio-rose));
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transform: rotate(30deg);
  transform-origin: center;
}

.pricing-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pricing-list li {
  position: relative;
  padding-left: 1.65rem;
}

.pricing-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--studio-coral), var(--studio-rose));
  box-shadow: 0 0 0 4px rgba(255, 92, 138, 0.12);
}

.form-field {
  display: grid;
  gap: 0.65rem;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--studio-coral-deep);
}

.form-input,
.form-textarea {
  width: 100%;
  border: 1px solid rgba(242, 207, 215, 0.92);
  border-radius: 1.25rem;
  background: rgba(255, 250, 251, 0.96);
  color: var(--studio-ink);
  padding: 1rem 1rem 1.05rem;
  font-size: 1rem;
  line-height: 1.6;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.form-textarea {
  resize: vertical;
}

.form-input:focus-visible,
.form-textarea:focus-visible {
  outline: none;
  border-color: rgba(255, 122, 89, 0.7);
  box-shadow: 0 0 0 4px rgba(255, 92, 138, 0.12);
  background: #ffffff;
}

.auth-page {
  padding-top: 7.5rem;
}

.auth-shell {
  min-height: calc(100vh - 16rem);
}

.auth-highlight {
  position: relative;
  overflow: hidden;
}

.auth-highlight::after {
  content: "";
  position: absolute;
  inset: auto -4rem -4rem auto;
  width: 14rem;
  height: 14rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 92, 138, 0.18), transparent 68%);
}

.auth-stat {
  border: 1px solid rgba(242, 207, 215, 0.78);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 245, 247, 0.92));
  box-shadow: 0 14px 34px rgba(47, 23, 35, 0.06);
}

.feature-copy {
  line-height: 1.8;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(255, 122, 89, 0.12), rgba(255, 92, 138, 0.18));
  border: 1px solid rgba(242, 207, 215, 0.9);
  box-shadow: 0 12px 24px rgba(47, 23, 35, 0.06);
}

.feature-icon__symbol {
  color: var(--studio-coral-deep);
  font-size: 1.3rem;
  font-variation-settings:
    "FILL" 0,
    "wght" 500,
    "GRAD" 0,
    "opsz" 24;
}

.selection-summary ul {
  margin: 1rem 0 0;
  padding-left: 1.5rem;
  list-style: disc;
  color: var(--studio-muted);
}

.selection-summary li + li {
  margin-top: 0.55rem;
}

.sample-script {
  margin-top: 1.4rem;
  padding: 1.1rem 1rem;
  border-radius: 1.2rem;
  background: linear-gradient(180deg, #fff8fa, #ffffff);
  border: 1px solid rgba(242, 207, 215, 0.75);
}

.sample-script__eyebrow {
  margin: 0 0 0.85rem;
  color: var(--studio-coral-deep);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.sample-script__editor {
  width: 100%;
  min-height: 12rem;
  padding: 1rem 1rem 1.1rem;
  border: 1px solid rgba(242, 207, 215, 0.9);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.96);
  color: var(--studio-ink);
  font-size: 1rem;
  line-height: 1.8;
  resize: vertical;
}

.sample-script__editor:focus {
  outline: 4px solid rgba(255, 92, 138, 0.18);
  outline-offset: 2px;
  border-color: rgba(255, 122, 89, 0.55);
}

.feature-button__icon {
  margin-right: 0.25rem;
  font-size: 1.2rem;
  font-variation-settings:
    "FILL" 0,
    "wght" 400,
    "GRAD" 0,
    "opsz" 24;
}

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

.upload-box input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.processing-card__spinner {
  animation: spin 1s linear infinite;
}

.processing-state {
  position: relative;
  padding-left: 3rem;
}

.processing-state::before {
  content: "";
  position: absolute;
  left: 1.15rem;
  top: 50%;
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 999px;
  background: rgba(124, 93, 105, 0.24);
  transform: translateY(-50%);
}

.processing-state.is-done::before,
.processing-state.is-active::before {
  background: linear-gradient(180deg, var(--studio-coral), var(--studio-rose));
}

.processing-state.is-active {
  color: var(--studio-ink);
  font-weight: 700;
}

.caption-pill,
.tag {
  display: inline-flex;
  align-items: center;
  border-radius: 1rem;
  padding: 0.95rem 1rem;
}

.caption-pill {
  width: 100%;
  background: linear-gradient(180deg, #fff6f7, #ffffff);
  border: 1px solid rgba(242, 207, 215, 0.8);
  color: var(--studio-ink);
}

.caption-pill--compact {
  padding: 0.8rem 0.9rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.editor-field {
  resize: vertical;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.editor-field:focus-visible {
  outline: none;
  border-color: rgba(255, 122, 89, 0.7);
  box-shadow: 0 0 0 4px rgba(255, 92, 138, 0.12);
  background: #ffffff;
}

.option-chip {
  display: inline-flex;
  align-items: center;
  min-height: 2.7rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(242, 207, 215, 0.9);
  background: #fff8fa;
  color: var(--studio-ink);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.option-chip:hover,
.option-chip:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 122, 89, 0.65);
  box-shadow: 0 10px 22px rgba(47, 23, 35, 0.08);
}

.option-chip.is-selected {
  border-color: var(--studio-coral);
  background: linear-gradient(180deg, #fff2f5, #ffffff);
  box-shadow: 0 12px 24px rgba(255, 92, 138, 0.12);
}

.feed-video-card {
  padding: 1rem;
  border-radius: 1.6rem;
  background:
    radial-gradient(circle at top, rgba(255, 122, 89, 0.22), transparent 36%),
    linear-gradient(180deg, #3f2331 0%, #22131b 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.feed-video-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.feed-video-card__badge {
  display: inline-flex;
  align-items: center;
  min-height: 2.2rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feed-video-card__meta {
  padding: 0 0.25rem 0.25rem;
}

.tag {
  background: linear-gradient(180deg, #ffe8ef, #fff4f7);
  border: 1px solid rgba(255, 92, 138, 0.14);
  color: #b52359;
  font-weight: 800;
}

.tag--feed {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.12);
  color: #ffe8ef;
}

.thumbnail-preview {
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border: 1px solid rgba(242, 207, 215, 0.8);
  background:
    radial-gradient(circle at top, rgba(255, 210, 185, 0.44), transparent 35%),
    linear-gradient(180deg, #fff6ec, #ffd6c0);
}

.captioned-video {
  position: relative;
  overflow: hidden;
  border-radius: 1.25rem;
  background: #000000;
}

.captioned-video video {
  display: block;
}

.caption-overlay {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1.75rem;
  padding: 0 0.75rem;
  color: #ffffff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-style: italic;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  text-shadow:
    -1px -1px 0 rgba(47, 23, 35, 0.95),
    1px -1px 0 rgba(47, 23, 35, 0.95),
    -1px 1px 0 rgba(47, 23, 35, 0.95),
    1px 1px 0 rgba(47, 23, 35, 0.95),
    0 3px 12px rgba(0, 0, 0, 0.38);
  pointer-events: none;
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes chatbot-bounce {
  0%,
  80%,
  100% {
    transform: translateY(0);
    opacity: 0.55;
  }

  40% {
    transform: translateY(-0.2rem);
    opacity: 1;
  }
}

@media (max-width: 767px) {
  .site-nav-shell {
    padding: 0;
  }

  .auth-page {
    padding-top: 7rem;
  }

  .chatbot-shell {
    right: 0.85rem;
    bottom: 0.85rem;
    left: 0.85rem;
    align-items: stretch;
  }

  .chatbot-panel {
    width: 100%;
    max-height: min(38rem, calc(100vh - 7.25rem));
  }

  .chatbot-toggle {
    justify-content: center;
    width: 100%;
  }
}

@media (max-width: 639px) {
  .button-lift {
    width: 100%;
  }

  .site-nav__link,
  .site-nav__cta,
  .site-nav__secondary,
  .site-footer__link {
    width: 100%;
  }

  .chatbot-panel__title {
    font-size: 1.5rem;
  }

  .chatbot-form__submit {
    justify-self: stretch;
  }
}
