:root { color-scheme: dark; font-family: "Avenir Next", Avenir, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #f7ecd2; background: #07142b; }
* { box-sizing: border-box; }
body { margin: 0; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.universe { position: relative; width: 100%; height: 100svh; min-height: 360px; overflow: hidden; }
/* One uninterrupted image; controls share its coordinate system. */
.artwork { position: absolute; width: max(100vw, 177.6833svh); aspect-ratio: 1672 / 941; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.hero-image, .background { display: block; width: 100%; height: auto; }
.join { position: absolute; top: 64%; left: 26.3%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; justify-content: center; gap: 26px; min-height: 52px; padding: 16px 27px; border: 1px solid #ead298; border-radius: 3px; color: #1e2630; background: #e6c883; box-shadow: 0 3px 22px #02091d45, inset 0 1px #fff3cd80; font-size: 12px; font-weight: 650; letter-spacing: 2px; text-transform: uppercase; white-space: nowrap; transition: background .2s, box-shadow .2s; }
.join span:last-child { font-size: 18px; font-weight: 400; }
.join:hover, .submit:hover { background: #f3dca4; box-shadow: 0 3px 30px #dfbf6e35; }
button:focus-visible, input:focus-visible, a:focus-visible { outline: 2px solid #fff0c5; outline-offset: 5px; }
.nova-hotspot { position: absolute; left: 59%; top: 39%; width: 11%; height: 24%; background: transparent; border: 0; border-radius: 28%; min-width: 44px; min-height: 44px; }
.speech { position: absolute; left: 55%; top: -24px; padding: 10px 14px; border: 1px solid #e0c58c; border-radius: 16px 16px 16px 3px; background: #f3e2ba; box-shadow: 0 4px 18px #03102580; color: #243043; font: italic 16px Georgia, serif; white-space: nowrap; transform: rotate(-5deg); }
dialog { width: min(460px, calc(100% - 32px)); max-height: calc(100svh - 32px); overflow-y: auto; padding: 40px 32px 28px; border: 1px solid #998157; border-radius: 12px; background: #101e34; color: #f7ecd2; box-shadow: 0 25px 100px #0009; text-align: center; }
dialog::backdrop { background: #030b1bc9; backdrop-filter: blur(5px); }
.close { position: absolute; top: 4px; right: 5px; width: 44px; height: 44px; border: 0; background: transparent; color: #d2bf97; font-size: 27px; }
.close:focus-visible { outline: none; color: #fff0c5; text-shadow: 0 0 8px #e6c883; }
.eyebrow { margin: 7px 0 16px; font-size: 10px; letter-spacing: 1.7px; text-transform: uppercase; color: #dec797; }
h2 { margin: 0; font-family: Georgia, serif; font-size: 33px; line-height: 1.15; font-weight: 400; }
.intro { margin: 18px 0 24px; font-size: 14px; line-height: 1.65; color: #c7cdd8; }
.wallpaper-accent { color: #a9d6ac; }
#signup { display: grid; gap: 13px; }
input[type=email] { width: 100%; min-width: 0; min-height: 48px; border: 1px solid #a99d7c; border-radius: 4px; padding: 12px 16px; color: #fff5e2; background: #07142b; font-size: 16px; }
input::placeholder { color: #bbc1cb; }
.submit { display: flex; align-items: center; justify-content: center; gap: 20px; min-height: 49px; padding: 13px 15px; border: 1px solid #ead298; border-radius: 4px; color: #1e2630; background: #e6c883; font-size: 14px; font-weight: 650; letter-spacing: .4px; transition: background .2s; }
.submit:disabled { cursor: progress; opacity: .75; }
.reward { font-size: 12px; line-height: 1.65; margin: 0; color: #f5e5be; text-wrap: balance; }
.consent { display: flex; align-items: flex-start; gap: 8px; margin: 3px 0 0; font-size: 11px; line-height: 1.6; text-align: left; color: #c7cdd8; }
.consent input { width: 16px; height: 16px; margin: 1px 0 0; accent-color: #e6c883; flex-shrink: 0; }
.consent a, .preview-note a { color: inherit; text-underline-offset: 3px; }
.preview-note { margin: 18px 0 0; font-size: 10px; line-height: 1.6; color: #aebacd; }
.crew-count { color: #e9ce96; font-size: 12px; margin: 15px 0 0; }
.result > p:first-child { font: italic 23px/1.3 Georgia, serif; margin: 0 0 18px; }
.pack-note { color: #c7cdd8; font-size: 13px; line-height: 1.6; margin: 12px 0; }
.honeypot { position: absolute; left: -10000px; }
.signup-error { color: #ffd1bd; font-size: 13px; line-height: 1.5; }
.text-button { border: 0; background: none; color: #e6c883; text-decoration: underline; padding: 10px; min-height: 44px; font-size: 12px; }
@media (max-aspect-ratio: 6/5) {
  .universe { min-height: 177.6833vw; }
  .artwork { width: max(100vw, 56.2799svh); aspect-ratio: 941 / 1672; top: 0; transform: translateX(-50%); }
  .join { top: 36%; left: 50%; }
  .nova-hotspot { left: 26%; top: 64%; width: 22%; height: 14%; }
  .speech { left: 65%; }
}
@media (max-width: 480px) {
  dialog { padding: 36px 24px 24px; }
  h2 { font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* Keep the submitted state focused on the next step. */
dialog[data-submitted="true"] .eyebrow,
dialog[data-submitted="true"] #waitlist-title,
dialog[data-submitted="true"] #offer-intro,
dialog[data-submitted="true"] .crew-count { display: none; }
