@font-face { font-family: "NV"; font-weight: 500; src: local("Eurostile Medium"), local("Eurostile-Medium"); }
:root { --red: #C7302B; --cream: #F0ECDC; --ink: #0A0A0A; --white: #FFFFFF; --txt: "eurostile", "NV", "Helvetica Neue", Arial, sans-serif; }
* { box-sizing: border-box; margin: 0; }
html, body { background: var(--white); color: var(--ink); }
body { -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%; }
a { color: inherit; }
svg { display: block; }

/* wordmark top, star in the middle, form along the bottom */
.wrap { min-height: 100dvh; display: flex; flex-direction: column; padding: 16px; }
.wm { width: 100%; height: auto; }
.wm-line { display: none; }
.star { flex: 1 1 0; height: 0; width: calc(100% + 32px); min-height: 180px; margin: 24px -16px; color: var(--red); }

form { display: grid; }
.field { position: relative; display: block; height: 56px; border-bottom: 3px solid var(--ink); }
input, select { width: 100%; height: 100%; padding: 0 2px; border: 0; border-radius: 0; background: transparent; color: var(--ink); font: 500 17px/1 var(--txt); outline: none; -webkit-appearance: none; appearance: none; }
select { padding-right: 28px; cursor: pointer; }
option { color: var(--ink); }
input:-webkit-autofill { -webkit-text-fill-color: var(--ink); -webkit-box-shadow: 0 0 0 40px var(--white) inset; }
.lbl { position: absolute; left: 2px; top: 50%; height: 12px; width: auto; transform: translateY(-50%); color: var(--ink); opacity: 0.45; pointer-events: none; }
input:not(:placeholder-shown) + .lbl, select:valid + .lbl { visibility: hidden; }
.chev { position: absolute; right: 4px; top: 50%; width: 12px; height: 8px; margin-top: -4px; color: var(--ink); pointer-events: none; }
.field:focus-within { border-bottom-color: var(--red); }

button { display: flex; align-items: center; justify-content: center; height: 56px; margin-top: 16px; border: 0; border-radius: 0; background: var(--red); color: var(--cream); cursor: pointer; -webkit-appearance: none; appearance: none; transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1); }
button .lbl { position: static; transform: none; height: 12px; color: var(--cream); opacity: 1; }
button:disabled { opacity: 0.6; cursor: default; }
button:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.msg { margin-top: 10px; font: 500 13px/16px var(--txt); color: var(--red); }
.msg:empty { display: none; }
.done { display: none; align-items: flex-end; padding-bottom: 20px; border-bottom: 3px solid var(--ink); }
.done .lbl { position: static; transform: none; height: 18px; opacity: 1; }
.join.is-done form, .join.is-done .msg { display: none; }
.join.is-done .done { display: flex; }
.foot { padding: 8px 16px 32px; }
.legal { max-width: 560px; font: 500 11px/15px var(--txt); opacity: 0.6; }

@media (min-width: 900px) {
  .wrap { padding: 32px; }
  .wm-stack { display: none; }
  .wm-line { display: block; }
  .star { width: 100%; margin: 24px 0; }
  .foot { padding: 0 32px 40px; }
  form { grid-template-columns: 1fr 1fr 1fr 240px; column-gap: 32px; align-items: end; }
  .field { height: 64px; }
  .lbl, button .lbl { height: 13px; }
  button { height: 64px; margin-top: 0; }
  .done .lbl { height: 24px; }
  .legal { font-size: 12px; line-height: 16px; }
}
@media (prefers-reduced-motion: reduce) { button { transition: none; } }
