:root {
  color-scheme: dark;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: #f4f3f1;
  background: #000;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100svh; display: flex; flex-direction: column; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: wait; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid #f7a48e; outline-offset: 5px; }

.masthead {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  width: min(100%, 1280px);
  margin-inline: auto;
  padding: 32px 48px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}
.wordmark { font-size: 16px; font-weight: 600; letter-spacing: -.06em; }
.release-status { display: flex; align-items: center; gap: 9px; font-size: 10px; text-transform: uppercase; letter-spacing: .14em; color: #a5a09d; }
.status-light { width: 5px; height: 5px; background: #ec8061; box-shadow: 0 0 10px #d6503d66; border-radius: 50%; }

main { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding: 0 24px 32px; }
.hero-image { width: min(100%, 1000px); margin: 0 auto -20px; }
.hero-image img { display: block; width: 100%; height: auto; max-height: 49svh; object-fit: contain; }
.signup { position: relative; width: 100%; text-align: center; }
h1 { margin: 0; font-size: clamp(32px, 4.4vw, 56px); line-height: 1.1; font-weight: 500; letter-spacing: -.055em; text-wrap: balance; }
.tagline { margin: 18px 0 34px; color: #a9a4a2; font-size: clamp(17px, 2vw, 21px); font-weight: 400; letter-spacing: -.02em; }
form { position: relative; max-width: 470px; margin: 0 auto; }
.email-control { display: flex; gap: 6px; padding: 5px; border: 1px solid #34312f; border-radius: 8px; background: #0b0a0a; transition: border-color .2s; }
.email-control:focus-within { border-color: #ad7769; }
input[type="email"] { min-width: 0; flex: 1; padding: 12px 13px; border: 0; border-radius: 3px; color: #fff; background: transparent; font-size: 15px; outline: none; }
input[type="email"]::placeholder { color: #888280; opacity: 1; }
input[type="email"][aria-invalid="true"] { box-shadow: inset 0 -1px #f7a48e; }
.submit-button { min-height: 46px; padding: 0 19px; display: inline-flex; justify-content: center; align-items: center; gap: 16px; flex-shrink: 0; border: 0; border-radius: 4px; background: #f2efeb; color: #191512; font-size: 14px; font-weight: 550; transition: background .2s, opacity .2s; }
.submit-button:hover:not(:disabled) { background: #fbd4c7; }
.submit-button:disabled { opacity: .55; }
.signup-note { margin: 15px 0 0; color: #8e8783; font-size: 11px; line-height: 1.6; }
.form-status { min-height: 20px; margin: 14px auto 0; max-width: 470px; color: #aaa3a0; font-size: 13px; line-height: 1.6; }
.form-status[data-state="error"] { color: #f5a18c; }
.form-status[data-state="success"] { margin-top: 30px; padding: 21px 18px; color: #e6e0db; background: #100d0c; border: 1px solid #4a3229; border-radius: 8px; font-size: 15px; }
#signup-verification { display: flex; justify-content: center; }
#signup-verification:not(:empty) { margin-top: 12px; }
.honey { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.noscript-note { font-size: 13px; color: #f5a18c; }

footer { width: min(100%, 1280px); margin: auto auto 0; padding: 18px 48px 28px; display: flex; justify-content: flex-end; align-items: center; color: #8e8783; font-size: 11px; letter-spacing: .01em; }
.text-button { padding: 8px 0 8px 16px; background: none; border: 0; color: inherit; font-size: inherit; }
.text-button:hover { color: #f4f3f1; }
dialog { width: min(480px, calc(100% - 40px)); padding: 28px; border: 1px solid #38302d; border-radius: 12px; background: #11100f; color: #c7c0bc; }
dialog::backdrop { background: #000b; backdrop-filter: blur(5px); }
.dialog-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
dialog h2 { margin: 0; color: #f4f3f1; font-size: 20px; font-weight: 500; letter-spacing: -.035em; }
dialog p { font-size: 14px; line-height: 1.7; }
dialog p:last-child { margin-bottom: 0; }
.close-button { display: grid; place-items: center; width: 32px; height: 32px; flex-shrink: 0; border: 0; border-radius: 4px; color: #aaa; background: #222; font-size: 23px; }
[hidden] { display: none !important; }

@media (max-width: 600px) {
  .masthead { padding: 24px 24px 14px; }
  main { padding: 0 24px 32px; }
  .hero-image { width: calc(100% + 40px); max-width: none; margin: 0 -20px 18px; }
  .hero-image img { max-height: none; }
  h1 { max-width: 370px; margin-inline: auto; }
  .tagline { margin: 16px 0 30px; }
  .email-control { gap: 3px; }
  input[type="email"] { padding-inline: 10px; font-size: 16px; }
  .submit-button { gap: 10px; padding-inline: 14px; }
  .signup-note { max-width: 280px; margin-inline: auto; }
  footer { padding: 16px 24px 22px; }
}

@media (max-width: 359px) {
  .email-control { flex-direction: column; }
  .submit-button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
