.setup-wizard-progress {
  margin-top: 12px;
  padding: 8px 0 16px;
  border-radius: 0;
  color: #e8f5ff;
  font-weight: 800;
  background: transparent;
  border-bottom: 0;
  font-size: 0.82rem;
}

.setup-wizard-progress::before,
.setup-wizard-progress::after {
  content: '';
  display: block;
  height: 5px;
  border-radius: 999px;
}

.setup-wizard-progress::before {
  margin-top: 10px;
  background: rgba(255, 255, 255, 0.08);
}

.setup-wizard-progress::after {
  width: var(--setup-progress, 0%);
  margin-top: -5px;
  background: linear-gradient(90deg, #1f7aff, #00dfff);
  box-shadow: 0 0 18px rgba(0, 223, 255, 0.26);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 18px 20px 0;
}

.site-header-shell {
  width: min(1240px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 14px 18px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-width: 0;
  background: rgba(8, 10, 24, 0.72);
  border: 1px solid rgba(123, 110, 216, 0.14);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 30px rgba(5, 3, 18, 0.28);
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: #f5f4ff;
}

.site-brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: white;
  background: linear-gradient(135deg, #1f7aff, #b04dff 58%, #00dfff);
  box-shadow: 0 10px 24px rgba(0, 223, 255, 0.18);
}

.site-brand-copy {
  display: grid;
  gap: 3px;
}

.site-brand-copy strong {
  font-size: 1rem;
  letter-spacing: -0.03em;
}

.site-brand-copy span {
  color: #cbc3e2;
  font-size: 0.82rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  min-width: 0;
}

.site-nav a,
.hero-signup-link,
.conversion-primary,
.conversion-secondary {
  border-radius: 999px;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.site-nav a {
  padding: 11px 14px;
  min-width: 0;
  color: #efe8ff;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.site-nav a:hover,
.hero-signup-link:hover,
.conversion-primary:hover,
.conversion-secondary:hover {
  transform: translateY(-1px);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-signup-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  padding: 0 22px;
  font-weight: 800;
  color: #f5f4ff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 36px rgba(7, 3, 18, 0.2);
}

.conversion-panel {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 22px;
  background:
    linear-gradient(135deg, rgba(18, 10, 40, 0.88), rgba(10, 8, 24, 0.92)),
    radial-gradient(circle at 20% 18%, rgba(0, 223, 255, 0.08), transparent 22%),
    radial-gradient(circle at 80% 20%, rgba(176, 77, 255, 0.08), transparent 24%);
  border-color: rgba(0, 223, 255, 0.12);
}

.app-shell {
  transition: padding-right 180ms ease;
}

.conversion-copy {
  max-width: 720px;
}

.conversion-copy h2 {
  margin: 10px 0 0;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.05;
  font-weight: 900;
  color: #f8f5ff;
  letter-spacing: -0.05em;
}

.conversion-lede {
  margin: 12px 0 0;
  color: #d4cde8;
  line-height: 1.7;
  font-weight: 600;
}

.conversion-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.conversion-paths {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.conversion-path-button {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  font-weight: 800;
  color: #efe8ff;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.conversion-path-button.is-active {
  color: #08101f;
  background: linear-gradient(90deg, #9cf7ff 0%, #d1f3ff 100%);
  border-color: rgba(156, 247, 255, 0.8);
  box-shadow: 0 16px 30px rgba(0, 223, 255, 0.18);
}

.conversion-pills .pill {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  color: #ecf7ff;
  font-size: 0.84rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(0, 223, 255, 0.12);
}

.conversion-actions {
  display: grid;
  gap: 12px;
  min-width: min(100%, 280px);
}

.setup-preview-card {
  margin-top: 18px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 223, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.setup-preview-card strong {
  display: block;
  color: #f8f5ff;
  font-size: 1rem;
  letter-spacing: -0.03em;
}

.setup-preview-card p {
  margin: 10px 0 0;
  color: #d9d2ea;
  line-height: 1.65;
}

.setup-preview-card p strong {
  display: inline;
  font-size: inherit;
  letter-spacing: 0;
}

.setup-preview-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.setup-preview-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #ecf7ff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.manual-setup-panel {
  position: fixed;
  top: 104px;
  right: 24px;
  z-index: 45;
  width: min(460px, calc(100vw - 48px));
  max-height: calc(100vh - 128px);
  overflow: auto;
  margin-bottom: 0;
  padding: 26px;
  border-radius: 28px;
  box-shadow: 0 30px 70px rgba(2, 6, 18, 0.5), 0 0 42px rgba(40, 110, 255, 0.12);
  background:
    radial-gradient(circle at top right, rgba(0, 223, 255, 0.1), transparent 34%),
    linear-gradient(180deg, rgba(10, 12, 28, 0.94), rgba(7, 9, 22, 0.98));
  border: 1px solid rgba(120, 160, 255, 0.22);
  backdrop-filter: blur(22px);
}

body.manual-setup-panel-open .app-shell {
  padding-right: min(462px, calc(100vw - 12px));
}

body.manual-setup-panel-open .conversion-panel {
  margin-right: 0;
}

body.manual-setup-panel-open .language-panel,
body.manual-setup-panel-open .transcript-panel,
body.manual-setup-panel-open .live-chat-panel {
  margin-right: min(462px, calc(100vw - 12px));
}

.manual-setup-head {
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding-bottom: 10px;
  background: transparent;
}

.manual-setup-close {
  min-height: 32px;
  padding: 0 8px;
  border-radius: 999px;
  font-weight: 800;
  color: #bfc8ef;
  background: transparent;
  border: 0;
}

.manual-setup-head h2 {
  margin: 5px 0 0;
  color: #f8f5ff;
  font-size: clamp(1.16rem, 1.5vw, 1.36rem);
  letter-spacing: 0;
  line-height: 1.18;
}

.manual-setup-lede {
  max-width: 340px;
  margin: 0;
  color: #b9c3ea;
  line-height: 1.45;
  font-weight: 600;
  font-size: 0.92rem;
}

.manual-setup-analyse-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 18px;
}

.manual-setup-input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border-radius: 16px;
  color: #f8f5ff;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.manual-setup-input::placeholder,
.manual-setup-textarea::placeholder {
  color: #9f95bb;
}

.manual-setup-textarea {
  min-height: 110px;
  padding: 14px 16px;
  resize: vertical;
}

.manual-setup-analyse-button {
  min-height: 52px;
}

.manual-setup-link-button {
  margin-top: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #9fe7ff;
  font: inherit;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.manual-setup-link-button:hover,
.manual-setup-link-button:focus-visible {
  color: #d8f7ff;
  text-decoration: underline;
}

.manual-setup-message {
  margin: 14px 0 0;
  color: #ecf7ff;
  font-weight: 650;
  line-height: 1.45;
}

.manual-setup-message.is-error {
  color: #ffb9c3;
}

.setup-website-summary {
  margin-top: 14px;
  padding-top: 0;
  border-top: 0;
}

.setup-website-summary strong {
  display: block;
  color: #f8f5ff;
  letter-spacing: -0.03em;
}

.setup-summary-grid {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.setup-summary-grid p {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  margin: 0;
  padding: 8px 0;
  color: #d9d2ea;
  line-height: 1.45;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.setup-summary-section,
.setup-state-card {
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.setup-summary-section > strong,
.setup-state-card > strong,
.setup-state-kicker {
  margin: 0;
  color: #f8f5ff;
  font-size: 1rem;
  line-height: 1.3;
}

.setup-state-card p {
  margin: 10px 0 0;
  color: #aeb9df;
}

.setup-state-loading {
  background: rgba(22, 34, 66, 0.5);
}

.setup-loading-list {
  display: grid;
  gap: 9px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.setup-loading-list li {
  position: relative;
  padding-left: 24px;
  color: #dbe9ff;
  font-weight: 700;
}

.setup-loading-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: #79f7c6;
}

.setup-fact-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.setup-fact-row {
  display: grid;
  gap: 5px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.setup-fact-row:last-child {
  border-bottom: 0;
}

.setup-fact-row span,
.setup-next-question span {
  color: #9fe7ff;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.setup-fact-row strong,
.setup-next-question strong {
  color: #f8f5ff;
  font-size: 0.98rem;
  line-height: 1.4;
}

.setup-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.setup-chip-list span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  color: #edf8ff;
  background: rgba(159, 231, 255, 0.08);
  border: 1px solid rgba(159, 231, 255, 0.14);
  font-size: 0.84rem;
  font-weight: 750;
  letter-spacing: 0;
  text-transform: none;
}

.setup-next-question {
  display: grid;
  gap: 6px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(159, 231, 255, 0.12);
}

.setup-summary-grid p strong {
  display: inline;
  font-size: inherit;
  letter-spacing: 0;
  color: #f8f5ff;
}

.setup-summary-grid p:last-child {
  border-bottom: 0;
}

.setup-summary-pills {
  display: grid;
  gap: 0;
  margin-top: 8px;
}

.setup-summary-pill {
  display: grid;
  grid-template-columns: minmax(88px, 0.34fr) minmax(0, 1fr);
  gap: 12px;
  margin: 0;
  padding: 10px 0;
  border-radius: 0;
  color: #eef8ff;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  line-height: 1.35;
}

.setup-summary-pill:last-child {
  border-bottom: 0;
}

.setup-summary-label {
  color: #9fe7ff;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.manual-entry-button {
  width: 100%;
  margin-top: 14px;
}

.setup-wizard-actions,
#setupWebsiteActions {
  position: static;
  z-index: 2;
  margin-top: 16px;
  padding-top: 0;
  background: transparent;
}

#setupWebsiteActions {
  gap: 10px;
}

.setup-wizard-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.setup-wizard-actions .conversion-primary {
  grid-column: 1 / -1;
}

.manual-setup-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.manual-setup-field {
  display: grid;
  gap: 8px;
}

.manual-setup-field span,
.manual-goals-fieldset legend {
  color: #efe8ff;
  font-size: 0.92rem;
  font-weight: 700;
}

.manual-setup-field em {
  font-style: normal;
  color: #b7afcf;
}

.manual-setup-field-wide {
  grid-column: 1 / -1;
}

.manual-goals-fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.manual-goals-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.manual-goals-grid label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 14px;
  color: #e7e2f4;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-weight: 700;
}

.manual-goals-grid input {
  width: 16px;
  height: 16px;
}

.conversion-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 18px;
  font-weight: 800;
  color: white;
  background: linear-gradient(90deg, #1f7aff 0%, #b04dff 56%, #00dfff 100%);
  box-shadow: 0 20px 46px rgba(0, 223, 255, 0.18);
}

.conversion-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 18px;
  font-weight: 800;
  color: #f0ecff;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 980px) {
  .site-header-shell,
  .conversion-panel {
    flex-direction: column;
  }

  body.manual-setup-panel-open .app-shell {
    padding-right: 0;
  }

  body.manual-setup-panel-open .conversion-panel {
    margin-right: 0;
  }

  body.manual-setup-panel-open .language-panel,
  body.manual-setup-panel-open .transcript-panel,
  body.manual-setup-panel-open .live-chat-panel {
    margin-right: 0;
  }

  .manual-setup-analyse-row,
  .manual-setup-grid {
    grid-template-columns: 1fr;
  }

  .manual-setup-head {
    flex-direction: column;
  }

  .site-nav,
  .conversion-actions {
    width: 100%;
  }

  .site-nav a,
  .conversion-primary,
  .conversion-secondary {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 12px 12px 0;
  }

  .site-header-shell {
    width: min(100vw - 24px, 1240px);
    gap: 12px;
    padding: 12px 14px;
    border-radius: 20px;
  }

  .site-brand {
    gap: 10px;
  }

  .site-brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .site-brand-copy {
    gap: 1px;
  }

  .site-brand-copy strong {
    font-size: 0.98rem;
  }

  .site-brand-copy span {
    display: none;
  }

  .site-nav {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 8px;
  }

  .site-nav a {
    width: auto;
    flex: 0 1 auto;
    min-height: 38px;
    padding: 8px 11px;
    font-size: 0.9rem;
    white-space: nowrap;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-signup-link,
  .conversion-primary,
  .conversion-secondary {
    width: 100%;
  }

  .manual-setup-panel {
    position: static;
    width: 100%;
    max-height: none;
    min-height: calc(100dvh - var(--header-offset) - 32px);
    margin: 18px 0;
    border-radius: 22px;
    padding: 22px;
  }

  body.manual-setup-panel-open .hero-experience {
    display: none;
  }

  .manual-setup-head {
    flex-direction: row;
    align-items: flex-start;
  }

  .manual-setup-head h2 {
    font-size: 1.35rem;
  }

  .manual-setup-close {
    min-height: 36px;
  }

  .setup-wizard-actions {
    grid-template-columns: 1fr;
  }

  .setup-summary-grid p {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .setup-summary-pill {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .manual-goals-grid {
    grid-template-columns: 1fr;
  }

  .manual-setup-analyse-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .site-header-shell {
    width: calc(100vw - 48px);
    padding: 12px;
  }

  .site-nav {
    justify-content: center;
    gap: 6px;
  }

  .site-nav a {
    min-height: 36px;
    padding: 7px 9px;
    font-size: 0.86rem;
  }
}
