:root {
  color-scheme: dark;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #080d17;
  color: #edf4ff;
}

* { box-sizing: border-box; }

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 88% 8%, rgba(42, 90, 128, .32), transparent 38rem),
    #080d17;
}

.invite-shell {
  width: min(100% - 2rem, 44rem);
  margin: 0 auto;
  padding: clamp(3rem, 10vh, 7rem) 0;
}

.eyebrow,
.context {
  color: #82d5ca;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.eyebrow { margin: 0 0 1rem; }

.invite-card {
  padding: clamp(1.5rem, 5vw, 3rem);
  border: 1px solid #31425b;
  border-radius: 1.1rem;
  background: rgba(15, 24, 39, .96);
  box-shadow: 0 1.5rem 5rem rgba(0, 0, 0, .32);
}

.context { margin: 0 0 1rem; }

h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 6vw, 3.5rem);
  line-height: 1.05;
}

p { line-height: 1.65; }

.status {
  min-height: 3.25rem;
  margin: 1.5rem 0;
  padding: .85rem 1rem;
  border-left: .2rem solid #82d5ca;
  background: #111d2d;
}

.status.error {
  border-color: #ef8e8e;
  color: #ffd9d9;
}

.actions { min-height: 3rem; }
input[type="email"] {
  display: block; width: 100%; min-height: 3rem; margin: .5rem 0 1rem;
  border: 1px solid #73849b; border-radius: .7rem; padding: .75rem;
  background: #080d17; color: #edf4ff; font: inherit;
}
input:focus-visible { outline: .2rem solid #82d5ca; outline-offset: .2rem; }
button[hidden] { display: none; }

button,
.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: .75rem 1.15rem;
  border: 0;
  border-radius: .7rem;
  background: #82d5ca;
  color: #071119;
  font: inherit;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
}

button:focus-visible,
.button:focus-visible { outline: .2rem solid #ffffff; outline-offset: .2rem; }
button:disabled { cursor: not-allowed; opacity: .5; }

@media (max-width: 32rem) {
  .invite-shell { width: min(100% - 1rem, 44rem); padding: 1rem 0; }
  .invite-card { border-radius: .8rem; }
  button, .button { width: 100%; }
}
