@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url(/fonts/montserrat-latin.woff2) format('woff2');
}
:root {
  --bg: #07070d; --ink: #ffffff; --dim: rgba(255,255,255,.62); --field: rgba(10,10,16,.45);
  --line: rgba(255,255,255,.24); --btn: #ffffff; --btn-ink: #0c0c0e; --err: #ff9b9b;
  --form-top: 62vh;
  color-scheme: dark;
}
:root.light {
  --ink: #0c0c0e; --dim: rgba(12,12,14,.62); --field: rgba(255,255,255,.72);
  --line: rgba(12,12,14,.2); --btn: #0c0c0e; --btn-ink: #ffffff; --err: #b3261e;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--bg); color: var(--ink); }
body { font-family: 'Montserrat', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif; -webkit-font-smoothing: antialiased; }
#hero { position: fixed; inset: 0; width: 100%; height: 100%; display: block; }
main { position: relative; min-height: 100vh; min-height: 100svh; }
.vh, .wordmark { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

form { position: absolute; left: 50%; top: var(--form-top); transform: translateX(-50%); width: min(460px, calc(100% - 32px)); margin: 0; }
.row { display: flex; gap: 6px; padding: 6px; border: 1px solid var(--line); border-radius: 999px; background: var(--field); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: border-color .15s; }
.row:focus-within { border-color: var(--ink); }
input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--ink); font-family: inherit; font-size: 16px; font-weight: 500; line-height: 1.2; padding: 10px 14px; outline: none; }
input::placeholder { color: var(--dim); }
button { flex: none; border: 0; border-radius: 999px; background: var(--btn); color: var(--btn-ink); font-family: inherit; font-size: 15px; font-weight: 700; line-height: 1; padding: 12px 20px; cursor: pointer; white-space: nowrap; transition: opacity .15s, transform .15s; }
button:hover { opacity: .9; }
button:active { transform: scale(.98); }
button:disabled { opacity: .55; cursor: default; }
button:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
#note { margin: 12px 0 0; min-height: 1.4em; text-align: center; font-size: 13px; color: var(--dim); }
form[data-state="error"] #note { color: var(--err); }
form.done .row { display: none; }
form.done #note { font-size: 16px; font-weight: 600; color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.msg { display: none; margin: 12px 0 0; text-align: center; font-weight: 600; }

@media (max-width: 420px) {
  .row { flex-direction: column; border-radius: 22px; }
  button { padding: 14px 20px; }
}

/* Without scripts: the wordmark as text, and the form's outcome from the address fragment. */
.nojs .wordmark { position: absolute; width: auto; height: auto; margin: 0; clip: auto; overflow: visible; left: 0; right: 0; top: 30vh; text-align: center; font-size: clamp(64px, 15vw, 220px); font-weight: 700; letter-spacing: -.02em; line-height: 1; }
.nojs form { top: calc(30vh + clamp(64px, 15vw, 220px) + 32px); }
.nojs #joined:target, .nojs #retry:target { display: block; }
.nojs #retry { color: var(--err); }
