/* ─────────── Sticky signup CTA ─────────── */
.csignup-bar {
  position: sticky;
  top: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 18px;
  background: var(--ink);
  color: #F6F4EF;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.mobile-sim__frame .csignup-bar { padding: 9px 14px; }

.csignup-bar__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 1px;
}
.csignup-bar__eyebrow {
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(246,244,239,0.65);
  font-weight: 500;
}
.csignup-bar__pitch {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  color: #F6F4EF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mobile-sim__frame .csignup-bar__pitch { font-size: 14.5px; }

.csignup-bar__cta {
  flex-shrink: 0;
  background: #F6F4EF;
  color: var(--ink);
  border: 1px solid #F6F4EF;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
}
.csignup-bar__cta:hover { background: #FFFFFF; }

/* ─────────── Creator guided tour ─────────── */

/* Pad screen content so the tour bar doesn't cover bottom CTAs */
body.tour-active .mobile-sim__frame .page { padding-bottom: 200px; }
body.tour-active .mobile-sim__frame .onb { padding-bottom: 200px; }
body.tour-active .page { padding-bottom: 200px; }
body.tour-active .onb { padding-bottom: 200px; }

.ctour {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  z-index: 1000;
  width: min(420px, calc(100vw - 32px));
  background: var(--ink);
  color: #F6F4EF;
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.45), 0 4px 12px rgba(0,0,0,0.25);
  font-family: var(--font-body);
  overflow: hidden;
  transition: max-height 220ms ease;
}
.ctour--collapsed { }
.ctour--expanded { }

.ctour__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  padding: 12px 18px;
  background: transparent;
  border: none;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.ctour__bar:hover { background: rgba(255,255,255,0.04); }

.ctour__bar-left {
  flex: 1;
  min-width: 0;
}

.ctour__progress {
  width: 100%;
  height: 2px;
  background: rgba(255,255,255,0.15);
  border-radius: 999px;
  margin-bottom: 8px;
  overflow: hidden;
}
.ctour__progress-fill {
  height: 100%;
  background: #F6F4EF;
  transition: width 280ms ease;
}

.ctour__bar-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.ctour__eyebrow {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(246,244,239,0.7);
  font-weight: 500;
}

.ctour__bar-title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 500;
  color: #F6F4EF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ctour__chev {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: #F6F4EF;
}

.ctour__body {
  padding: 0 18px 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 4px;
  padding-top: 14px;
  animation: ctour-slidein 220ms ease;
}
@keyframes ctour-slidein {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.ctour__copy {
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(246,244,239,0.85);
  margin: 0 0 16px 0;
}

.ctour__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.ctour__skip {
  font-size: 12px;
  color: rgba(246,244,239,0.55);
  background: none;
  border: none;
  padding: 6px 0;
  letter-spacing: 0.04em;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ctour__skip:hover { color: #F6F4EF; }

.ctour__nav {
  display: flex;
  gap: 8px;
}

/* Override .btn styles so they look right on the dark card */
.ctour__nav .btn {
  border: 1px solid rgba(246,244,239,0.18);
  background: rgba(246,244,239,0.06);
  color: #F6F4EF;
  padding: 7px 14px;
  font-size: 12px;
  border-radius: 999px;
}
.ctour__nav .btn:hover {
  background: rgba(246,244,239,0.12);
  border-color: rgba(246,244,239,0.3);
}
.ctour__nav .btn--primary {
  background: #F6F4EF;
  color: var(--ink);
  border-color: #F6F4EF;
}
.ctour__nav .btn--primary:hover {
  background: #FFFFFF;
}

/* Restart pill */
.ctour-restart {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  background: var(--ink);
  color: #F6F4EF;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  border: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.ctour-restart:hover {
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.45);
}

/* Mobile-sim — keep tour positioned to the bottom of the inner frame */
.mobile-sim .ctour,
.mobile-sim .ctour-restart {
  position: fixed;
  bottom: 60px;
}

/* On a true narrow viewport, snug to the very bottom edge */
@media (max-width: 480px) {
  .ctour {
    bottom: 12px;
    width: calc(100vw - 24px);
  }
  .mobile-sim .ctour,
  .mobile-sim .ctour-restart {
    bottom: 16px;
  }
  .ctour__bar { padding: 11px 16px; }
  .ctour__bar-title { font-size: 15px; }
  .ctour__copy { font-size: 13px; }
  .ctour-restart { bottom: 14px; }
}
