:root {
  color-scheme: dark;
  font-family: Arial, Helvetica, sans-serif;
  background: #000;
  color: #fff;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 20rem;
  min-height: 100vh;
  margin: 0;
  background: #000;
}

a {
  color: inherit;
}

.signin-page {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 0.75rem;
  background: #000;
}

.signin-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 50% 12%, rgba(161, 17, 29, 0.38), transparent 42%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.52), transparent 50%, rgba(0, 0, 0, 0.52));
  pointer-events: none;
}

.signin-header {
  display: flex;
  align-items: center;
  min-height: 5.5rem;
  padding: 1.25rem clamp(1.25rem, 5vw, 4rem);
  border-bottom: 0;
  background: none;
}

.signin-logo img {
  display: block;
  width: auto;
  height: 2rem;
}

.signin-main {
  display: grid;
  min-height: calc(100vh - 5.5rem);
  padding: clamp(2rem, 8vh, 5.5rem) 1.25rem 4rem;
  place-items: start center;
}

.signin-card {
  width: min(100%, 26rem);
  padding: clamp(1.75rem, 6vw, 3rem);
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

.demo-label {
  display: inline-flex;
  margin-bottom: 1.25rem;
  padding: 0.35rem 0.6rem;
  border: 1px solid rgba(229, 9, 20, 0.52);
  border-radius: 999px;
  color: #ff7077;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.signin-card h1 {
  margin: 0 0 1.5rem;
  font-size: clamp(1.9rem, 7vw, 2.1rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.signin-step[hidden] {
  display: none;
}

.signin-step-label {
  margin: 0 0 0.55rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.signin-step h2 {
  margin: 0 0 1.5rem;
  font-size: clamp(1.8rem, 7vw, 2.1rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.signin-lead {
  margin: 1rem 0 2rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1.05rem, 4.5vw, 1.45rem);
  line-height: 1.4;
}

.signin-fields {
  display: grid;
  gap: 0.85rem;
}

.signin-fields--personal {
  gap: 0.7rem;
}

.signin-fields--personal .signin-field {
  min-height: 3.4rem;
}

/* Visually hidden labels: keep the look unchanged, stay accessible. */
.signin-field-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.signin-field {
  display: block;
  width: 100%;
  min-height: 3.65rem;
  padding: 0 1rem;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 0.3rem;
  background: rgba(54, 54, 54, 0.94);
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  -webkit-appearance: none;
  appearance: none;
}

.signin-field::placeholder {
  color: rgba(255, 255, 255, 0.68);
  opacity: 1;
}

.signin-field:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.6);
}

.signin-submit {
  display: flex;
  width: 100%;
  min-height: 3.65rem;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
  border: 0;
  border-radius: 0.3rem;
  background: #e50914;
  box-shadow: 0 0.8rem 2rem rgba(229, 9, 20, 0.22);
  color: #fff;
  font-family: inherit;
  font-size: 1.12rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 180ms ease, transform 180ms ease;
}

.signin-submit:hover {
  background: #f6121d;
  transform: translateY(-1px);
}

.signin-submit:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.signin-status {
  min-height: 1.25rem;
  margin: 0.9rem 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  line-height: 1.5;
}

.payment-logos {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: -0.5rem 0 0.8rem;
}

.payment-logo {
  display: inline-flex;
  width: 2.7rem;
  height: 1.65rem;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 0.18rem;
  background: #fff;
  font-size: 0.62rem;
  font-weight: 900;
  line-height: 1;
}

.payment-logo--visa {
  color: #153b8e;
  font-size: 0.68rem;
  font-style: italic;
}

.payment-logo--mastercard {
  position: relative;
  background: #101010;
}

.payment-logo__circle {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
}

.payment-logo__circle--red {
  margin-right: -0.28rem;
  background: #eb001b;
}

.payment-logo__circle--yellow {
  background: #f79e1b;
}

.payment-logo--amex {
  background: #2c8fc5;
  color: #fff;
  font-size: 0.55rem;
  letter-spacing: -0.03em;
}

.payment-preview__field {
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.68);
  cursor: not-allowed;
  user-select: none;
}

.signin-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.85rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
}

.remember {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
}

/* Real checkbox hidden; the styled box below mirrors its state. */
.remember__input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.remember__box {
  display: grid;
  width: 1rem;
  height: 1rem;
  border-radius: 0.15rem;
  place-items: center;
  background: #b3b3b3;
  color: #111;
  font-size: 0.72rem;
  font-weight: 900;
}

.remember__input:not(:checked) + .remember__box {
  color: transparent;
}

.remember__input:focus-visible + .remember__box {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.help-toggle {
  padding: 0;
  border: 0;
  background: none;
  color: rgba(255, 255, 255, 0.72);
  font: inherit;
  cursor: pointer;
}

.help-toggle:hover {
  text-decoration: underline;
}

.signin-new {
  margin: 2.5rem 0 0.85rem;
  color: rgba(255, 255, 255, 0.62);
}

.signin-new a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.signin-note {
  margin: 0 0 0.85rem;
  color: #ff9da2;
  font-size: 0.82rem;
  line-height: 1.45;
}

.recaptcha-copy {
  margin: 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.78rem;
  line-height: 1.5;
}

.recaptcha-copy a {
  color: #5d9cff;
  text-decoration: none;
}

.signin-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.76);
  color: rgba(255, 255, 255, 0.58);
}

.signin-footer__inner {
  width: min(100%, 68rem);
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}

.signin-footer__inner p {
  margin: 0 0 1.5rem;
}

.signin-footer__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  font-size: 0.82rem;
}

.signin-footer__links a {
  text-decoration: none;
}

.signin-footer__links a:hover,
.signin-new a:hover,
.recaptcha-copy a:hover {
  text-decoration: underline;
}

@media (min-width: 600px) {
  .signin-logo img {
    height: 2.5rem;
  }

  .signin-card {
    padding: 3.5rem;
  }

  .signin-footer__links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 420px) {
  .signin-header {
    min-height: 4.5rem;
  }

  .signin-main {
    min-height: calc(100vh - 4.5rem);
    padding: 1.5rem 1rem 3rem;
  }

  .signin-card {
    padding: 1.5rem;
  }
}
