/* Waitlist / email capture — welcome + studio */

/* ── Welcome header strip ── */
.site-waitlist {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.site-waitlist-input {
  width: min(200px, 42vw);
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(58, 40, 27, 0.18);
  background: rgba(255, 252, 244, 0.88);
  font-family: "Hanken Grotesk", "Manrope", system-ui, sans-serif;
  font-size: 12px;
  color: #3a281b;
  outline: none;
}
.site-waitlist-input:focus {
  border-color: rgba(193, 134, 74, 0.55);
  box-shadow: 0 0 0 2px rgba(234, 163, 126, 0.25);
}
.site-waitlist-btn {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(193, 134, 74, 0.42);
  background: linear-gradient(180deg, rgba(251, 242, 226, 0.95), rgba(241, 223, 193, 0.88));
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #3a281b;
  cursor: pointer;
  white-space: nowrap;
}
.site-waitlist-btn:hover { background: linear-gradient(180deg, #fff, #f4e3c6); }
.site-waitlist-btn:disabled { opacity: 0.55; cursor: wait; }
.site-waitlist-msg {
  flex: 1 1 100%;
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(58, 40, 27, 0.72);
  text-align: right;
}
.site-waitlist-msg.ok { color: #5a7a4a; }
.site-waitlist-msg.err { color: #944a20; }

/* Mobile: hide cramped topbar form, show floating CTA + modal instead */
.site-waitlist-fab {
  display: none;
  position: fixed;
  right: 18px;
  bottom: 22px;
  z-index: 90;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(193, 134, 74, 0.45);
  background: linear-gradient(180deg, #fbf2e2, #f1dfc1);
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #3a281b;
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(80, 55, 30, 0.18);
}
body.cx-waitlist-modal-open { overflow: hidden; }
@media (max-width: 900px) {
  .site-waitlist { display: none; }
  .site-waitlist-fab { display: inline-flex; align-items: center; }
}

/* ── Studio modal ── */
.cx-email-cap {
  position: fixed;
  inset: 0;
  z-index: 10100;
  display: grid;
  place-items: center;
  padding: 24px;
}
.cx-email-cap-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  border: 0;
  background: rgba(26, 18, 12, 0.42);
  backdrop-filter: blur(6px);
  cursor: pointer;
}
.cx-email-cap-panel {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  padding: 28px 28px 24px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: linear-gradient(180deg, rgba(252, 244, 228, 0.98), rgba(248, 236, 215, 0.96));
  box-shadow:
    0 28px 70px rgba(80, 55, 30, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
}
.cx-email-cap-x {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: rgba(58, 40, 27, 0.08);
  color: #3a281b;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.cx-email-cap-eyebrow {
  margin: 0 0 8px;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #c1864a;
}
.cx-email-cap-title {
  margin: 0 0 8px;
  font-family: "Hanken Grotesk", "Manrope", system-ui, sans-serif;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.1;
  color: #3a281b;
}
.cx-email-cap-lead {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(58, 40, 27, 0.72);
}
.cx-email-cap-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cx-email-cap-audience {
  margin: 0;
  padding: 0;
  border: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cx-audience-chips {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cx-audience-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(120, 75, 40, 0.16);
  background: rgba(255, 252, 244, 0.65);
  cursor: pointer;
  font-size: 14px;
  color: #3a281b;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.cx-audience-chip input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
.cx-audience-chip span { flex: 1; line-height: 1.35; }
.cx-audience-chip:has(input:checked) {
  border-color: rgba(193, 134, 74, 0.65);
  background: rgba(251, 242, 226, 0.95);
  box-shadow: 0 0 0 2px rgba(234, 163, 126, 0.2);
}
.cx-audience-chip:hover {
  border-color: rgba(193, 134, 74, 0.4);
}
.cx-email-cap-label {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(58, 40, 27, 0.55);
}
.cx-email-cap-input {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(120, 75, 40, 0.22);
  background: rgba(255, 252, 244, 0.9);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 15px;
  color: #3a281b;
  outline: none;
}
.cx-email-cap-input:focus {
  border-color: rgba(193, 134, 74, 0.55);
  box-shadow: 0 0 0 2px rgba(234, 163, 126, 0.22);
}
.cx-email-cap-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.cx-email-cap-submit {
  margin-top: 4px;
  padding: 13px 18px;
  border-radius: 10px;
  border: 1px solid rgba(58, 40, 27, 0.2);
  background: #3a281b;
  color: #f8efe1;
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}
.cx-email-cap-submit:hover:not(:disabled) { background: #2a2219; }
.cx-email-cap-submit:disabled { opacity: 0.55; cursor: wait; }
.cx-email-cap-skip {
  margin-top: 2px;
  padding: 8px 4px;
  border: 0;
  background: transparent;
  color: rgba(58, 40, 27, 0.55);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 13px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  align-self: center;
}
.cx-email-cap-skip:hover { color: #3a281b; }
.cx-email-cap-msg {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}
.cx-email-cap-msg.ok { color: #5a7a4a; }
.cx-email-cap-msg.err { color: #944a20; }

/* Topbar join button */
.cx-tbtn-waitlist.signed {
  opacity: 0.72;
  pointer-events: none;
}

/* Subscribe modal */
.cx-subscribe-plans {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cx-subscribe-plan {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(120, 75, 40, 0.2);
  background: rgba(255, 252, 244, 0.88);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.cx-subscribe-plan:hover:not(:disabled) {
  border-color: rgba(193, 134, 74, 0.55);
  background: rgba(251, 242, 226, 0.95);
  box-shadow: 0 0 0 2px rgba(234, 163, 126, 0.18);
}
.cx-subscribe-plan:disabled { opacity: 0.55; cursor: wait; }
.cx-subscribe-plan-k {
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #3a281b;
}
.cx-subscribe-plan-v {
  font-size: 12px;
  color: rgba(58, 40, 27, 0.62);
}
.cx-tbtn-subscribe.signed {
  opacity: 0.72;
}
