.model {
  align-self: center;
  justify-self: end;
  width: min(34rem, 100%);
  min-width: 0;
}

.we-noscript {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 1.25rem;
  color: #f4f8ff;
  font: 700 0.95rem/1.35 "Nunito", "Segoe UI", system-ui, sans-serif;
  text-align: center;
  background: #0b1d4d;
}

.card {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0.7rem 0 0;
  padding: 0.75rem 0.85rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, .94);
  color: #17224a;
  box-shadow: 0 12px 28px rgba(8, 18, 48, .25);
}
.card[hidden] { display: none; }
.card h2 { margin: 0; font-size: 1.15rem; }
.card p { margin: 0.35rem 0 0; font-size: 0.92rem; font-weight: 700; line-height: 1.35; }

.signup label { display: block; font-weight: 800; font-size: 0.92rem; }
.signup input {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  border: 2px solid #d7deef;
  border-radius: 10px;
  padding: 0.45rem 0.55rem;
  font: 700 1rem "Nunito", "Segoe UI", system-ui, sans-serif;
  color: #17224a;
}
.signup button, .forget {
  margin-top: 0.55rem;
  border: 0;
  border-radius: 12px;
  background: #ff9f1c;
  color: #2a160c;
  font: 800 0.95rem "Nunito", "Segoe UI", system-ui, sans-serif;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
}
.forget { background: transparent; color: #5a341c; padding-left: 0; }

.sections {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.7rem 0 0;
  padding: 0;
  list-style: none;
}
.sections button {
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  color: #2a160c;
  font: 800 0.78rem/1 "Nunito", "Segoe UI", system-ui, sans-serif;
  padding: 0.4rem 0.6rem;
  cursor: pointer;
}
.sections button[aria-current="true"] { background: #17224a; color: #f4f8ff; }
.sections button:focus-visible { outline: 3px solid #2a160c; outline-offset: 2px; }

@media (max-width: 860px) {
  .model { order: -1; justify-self: stretch; }
}