/* Zero to Confidence conversion layer — sticky bar, exit modal, inline CTA */

.ztc-sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9990;
  background: rgba(17, 17, 17, 0.96);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  transform: translateY(110%);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
}
.ztc-sticky.show { transform: translateY(0); }

.ztc-sticky-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
}

.ztc-sticky-copy { flex: 1; min-width: 0; color: #fff; }
.ztc-sticky-copy b {
  display: block;
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ztc-sticky-copy span {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.62);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ztc-sticky-btn {
  flex-shrink: 0;
  display: inline-block;
  background: #ff6b2c;
  color: #fff;
  font-weight: 800;
  font-size: 14.5px;
  padding: 12px 22px;
  border-radius: 980px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(255, 107, 44, 0.42);
  transition: transform 0.15s, box-shadow 0.15s;
  white-space: nowrap;
}
.ztc-sticky-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(255, 107, 44, 0.55); }

.ztc-sticky-close {
  flex-shrink: 0;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.45);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  padding: 6px 2px 6px 6px;
}
.ztc-sticky-close:hover { color: #fff; }

/* Inline mid-article CTA card */
.ztc-inline {
  margin: 34px 0;
  padding: 28px 26px;
  border-radius: 20px;
  background: linear-gradient(135deg, #ff6b2c, #e5581d);
  color: #fff;
}
.ztc-inline .ztc-kicker {
  display: block;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  opacity: 0.88;
  margin-bottom: 9px;
}
.ztc-inline h3 {
  font-family: inherit;
  font-size: clamp(20px, 2.8vw, 26px);
  line-height: 1.22;
  margin: 0 0 10px;
  color: #fff;
}
.ztc-inline p {
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.94);
  max-width: 560px;
}
.ztc-inline a.ztc-inline-btn {
  display: inline-block;
  background: #fff;
  color: #c2410c;
  font-weight: 800;
  font-size: 15px;
  padding: 13px 28px;
  border-radius: 980px;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}
.ztc-inline a.ztc-inline-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22); }
.ztc-inline .ztc-fine {
  display: block;
  font-size: 12px;
  opacity: 0.82;
  margin-top: 11px;
}

/* Exit-intent modal */
.ztc-overlay {
  position: fixed;
  inset: 0;
  z-index: 9995;
  background: rgba(9, 9, 11, 0.62);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.ztc-overlay.show { display: flex; }

.ztc-modal {
  width: 100%;
  max-width: 430px;
  background: #fff;
  border-radius: 22px;
  padding: 30px 26px 26px;
  position: relative;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
  animation: ztcPop 0.26s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes ztcPop {
  from { opacity: 0; transform: scale(0.94) translateY(12px); }
  to { opacity: 1; transform: none; }
}
.ztc-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  font-size: 24px;
  line-height: 1;
  color: #9ca3af;
  cursor: pointer;
  padding: 4px;
}
.ztc-modal-close:hover { color: #111; }
.ztc-modal .ztc-tag {
  display: inline-block;
  background: #fff4ee;
  color: #c2410c;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 980px;
  margin-bottom: 13px;
}
.ztc-modal h3 {
  font-size: 21px;
  line-height: 1.24;
  margin: 0 0 9px;
  color: #111;
  letter-spacing: -0.015em;
}
.ztc-modal .ztc-sub {
  font-size: 14px;
  line-height: 1.5;
  color: #6b7280;
  margin: 0 0 18px;
}
.ztc-modal label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #374151;
  margin: 0 0 5px;
}
.ztc-modal input[type="text"],
.ztc-modal input[type="email"],
.ztc-modal input[type="tel"] {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #e5e7eb;
  border-radius: 11px;
  font-family: inherit;
  font-size: 15px;
  margin-bottom: 13px;
  color: #111;
  background: #fff;
}
.ztc-modal input:focus { outline: none; border-color: #ff6b2c; }
.ztc-modal input.err { border-color: #dc2626; }
.ztc-modal .ztc-submit {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 980px;
  background: #ff6b2c;
  color: #fff;
  font-family: inherit;
  font-size: 15.5px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(255, 107, 44, 0.34);
  transition: transform 0.15s;
}
.ztc-modal .ztc-submit:hover { transform: translateY(-1px); }
.ztc-modal .ztc-submit:disabled { opacity: 0.6; cursor: wait; transform: none; }
.ztc-modal .ztc-privacy {
  font-size: 11.5px;
  color: #9ca3af;
  text-align: center;
  margin: 11px 0 0;
}
.ztc-modal .ztc-skip {
  display: block;
  width: 100%;
  background: none;
  border: none;
  color: #9ca3af;
  font-family: inherit;
  font-size: 12.5px;
  text-decoration: underline;
  cursor: pointer;
  margin-top: 12px;
}
.ztc-modal .ztc-done { text-align: center; padding: 8px 0; }
.ztc-modal .ztc-done .ztc-tick {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #fff4ee;
  color: #ff6b2c;
  font-size: 26px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}
.ztc-modal .ztc-done h3 { margin-bottom: 7px; }
.ztc-modal .ztc-done p { font-size: 14px; color: #6b7280; margin: 0 0 18px; }

@media (max-width: 640px) {
  .ztc-sticky-copy b { font-size: 13.5px; }
  .ztc-sticky-copy span { font-size: 11px; }
  .ztc-sticky-btn { padding: 11px 18px; font-size: 13.5px; }
  .ztc-sticky-close { display: none; }
  .ztc-inline { padding: 24px 20px; }
  .ztc-modal { padding: 26px 20px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .ztc-sticky, .ztc-modal, .ztc-inline a { transition: none !important; animation: none !important; }
}

/* the funnel bar replaces the legacy sticky CTA */
.tv-mobile-cta{display:none !important}
