/* Shared bits: launch-mode switch, waitlist form, legal footer. Page styles stay inline. */
html.onsale [data-when="presale"], html:not(.onsale) [data-when="onsale"] { display: none !important; }

.waitlist { display: flex; flex-wrap: wrap; gap: 8px; max-width: 520px; margin-top: 18px; }
.waitlist input[type=email] {
  flex: 1 1 240px; min-width: 0; background: transparent; color: var(--cream, #F3EEE4);
  border: 1px solid rgba(243,238,228,.28); padding: 13px 14px; font: inherit; font-size: 15px; border-radius: 0;
}
.waitlist input[type=email]:focus { outline: none; border-color: var(--lav, #C9A7F5); }
.waitlist button {
  padding: 14px 18px; background: var(--lav, #C9A7F5); color: var(--ink, #0A0A0B); border: 0; cursor: pointer;
  font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
}
.waitlist button:disabled { opacity: .6; cursor: wait; }
.waitlist .trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.waitlist .fine { flex-basis: 100%; color: rgba(243,238,228,.56); font-size: 12px; line-height: 1.5; }
.waitlist .fine a { text-decoration: underline; }
.form-msg { flex-basis: 100%; font-size: 13px; min-height: 1em; color: rgba(243,238,228,.7); }
.form-msg.ok { color: var(--lav, #C9A7F5); }
.form-msg.err { color: #F2A7A7; }

.legal-links { display: flex; gap: 16px; flex-wrap: wrap; }
.legal-links a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

.checkout-notice { position: sticky; top: 0; z-index: 60; padding: 12px 20px; text-align: center; font-size: 14px;
  background: rgba(201,167,245,.14); color: var(--cream, #F3EEE4); border-bottom: 1px solid rgba(201,167,245,.35); }
.checkout-notice.err { background: rgba(242,167,167,.12); border-bottom-color: rgba(242,167,167,.4); }
