/* Login-only composition, scaled from phone widths through 4K displays. */
:root {
  --login-navy: #082786;
  --login-cyan: #09adcf;
  --login-ink: #101942;
}
.auth-page-body {
  min-width: 320px;
  background-position: center center;
}
.auth-main {
  align-items: center;
  padding: clamp(2.25rem, 5.45vh, 4.5rem) clamp(1.5rem, 7.1vw, 10rem)
    clamp(8.25rem, 15vh, 11rem);
}
.auth-layout {
  width: min(100%, 76rem);
  max-width: 120rem;
  min-height: min(74vh, 48rem);
  grid-template-columns: minmax(27rem, 0.94fr) minmax(34rem, 1.06fr);
  gap: clamp(2.5rem, 4vw, 6rem);
}
.brand-panel {
  padding-block: 1rem;
}
.brand-logo {
  width: clamp(25rem, 30vw, 34rem);
  max-width: 100%;
}
.benefits {
  width: min(100%, 34rem);
  margin: clamp(1.75rem, 3.5vh, 2.75rem) auto 0;
}
.benefit {
  min-height: 11rem;
  padding-inline: clamp(0.5rem, 1.05vw, 1.1rem);
}
.benefit-icon {
  width: clamp(3.9rem, 4.5vw, 5rem);
  height: clamp(3.9rem, 4.5vw, 5rem);
  font-size: clamp(1.65rem, 2vw, 2.15rem);
  margin-bottom: 0.9rem;
}
.benefit h2 {
  font-size: clamp(0.92rem, 1.04vw, 1.15rem);
  line-height: 1.34;
  margin-bottom: 0.4rem;
}
.benefit p {
  font-size: clamp(0.75rem, 0.85vw, 0.93rem);
  line-height: 1.55;
}
.auth-card--login {
  max-width: 39.4rem;
  padding: clamp(2.75rem, 4.55vh, 4.25rem) clamp(2.5rem, 3.45vw, 3.5rem)
    clamp(2.4rem, 4.3vh, 3.65rem);
  border: 1px solid rgba(213, 221, 234, 0.68);
  border-radius: clamp(1.2rem, 1.6vw, 1.9rem);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 0.35rem 1.5rem rgba(18, 45, 83, 0.12);
}
.auth-card:not(.auth-card--login) {
  max-width: 39.4rem;
  padding: clamp(2.75rem, 4.55vh, 4.25rem) clamp(2.5rem, 3.45vw, 3.5rem)
    clamp(2.4rem, 4.3vh, 3.65rem);
  border: 1px solid rgba(213, 221, 234, 0.68);
  border-radius: clamp(1.2rem, 1.6vw, 1.9rem);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 0.35rem 1.5rem rgba(18, 45, 83, 0.12);
}
.auth-card--create {
  max-width: 40.5rem;
  padding-block: clamp(2.1rem, 3.65vh, 3.15rem);
}
.card-icon {
  width: clamp(4.5rem, 5.1vw, 5.5rem);
  height: clamp(4.5rem, 5.1vw, 5.5rem);
  margin-bottom: 1.4rem;
  font-size: clamp(1.85rem, 2.15vw, 2.3rem);
}
.auth-title {
  font-size: clamp(2rem, 2.55vw, 2.7rem);
  letter-spacing: -0.045em;
  line-height: 1.08;
}
.auth-subtitle {
  font-size: clamp(1.05rem, 1.32vw, 1.35rem);
  margin-top: 0.55rem;
}
.auth-divider {
  width: 4.85rem;
  height: 0.22rem;
  margin: 1.35rem auto 2.25rem;
}
.auth-form {
  margin-top: 0;
}
.form-group {
  margin-bottom: 1.65rem;
}
.form-label {
  font-size: clamp(0.95rem, 1.05vw, 1.12rem);
  margin-bottom: 0.7rem;
}
.auth-input {
  height: clamp(3.75rem, 4vw, 4.25rem);
  border-radius: 0.7rem;
  padding: 0.7rem 3.5rem 0.7rem 4.35rem;
  font-size: clamp(0.95rem, 1.08vw, 1.1rem);
}
.field-icon {
  left: 1.25rem;
  font-size: 1.35rem;
}
.toggle-password {
  right: 1rem;
  font-size: 1.35rem;
}
.toggle-password:focus-visible,
.auth-link:focus-visible,
.btn-auth:focus-visible {
  outline: 0.2rem solid rgba(9, 173, 207, 0.55);
  outline-offset: 0.22rem;
}
.forgot-link {
  margin: -0.35rem 0 1.8rem auto;
  font-size: clamp(0.95rem, 1.05vw, 1.1rem);
}
.btn-auth {
  min-height: clamp(4rem, 4.35vw, 4.45rem);
  border-radius: 0.7rem;
  font-size: clamp(1.1rem, 1.3vw, 1.35rem);
  letter-spacing: -0.025em;
  transition:
    filter 180ms ease,
    transform 180ms ease;
}
.btn-auth:hover {
  transform: translateY(-1px);
}

body.auth-page-body .btn-auth {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
}
body.auth-page-body .btn-auth .btn-spinner {
  align-items: center;
  justify-content: center;
}
body.auth-page-body .btn-auth.is-loading .spinner-border {
  width: 1rem;
  height: 1rem;
  border-width: 0.16em;
}
.auth-card:not(.auth-card--login) .auth-divider {
  margin-bottom: 1rem;
}
.auth-card:not(.auth-card--login) .auth-description {
  max-width: 30rem;
  margin: 0.25rem auto 1.8rem;
  font-size: clamp(0.92rem, 1.05vw, 1.08rem);
  line-height: 1.5;
}
.auth-card:not(.auth-card--login) .auth-form {
  margin-top: 0;
}
.auth-card--create .auth-description {
  margin-bottom: 1.25rem;
}
.auth-card--create .form-group {
  margin-bottom: 1rem;
}
.auth-card--create .requirements {
  margin: 0 0 1rem;
  padding: clamp(0.7rem, 1.2vw, 1rem);
  border-radius: 0.7rem;
}
.auth-card--create .requirement {
  font-size: clamp(0.7rem, 0.82vw, 0.84rem);
}
.site-footer {
  padding: 0 clamp(1.4rem, 7.1vw, 10rem) clamp(0.8rem, 2.8vh, 1.7rem);
  font-size: clamp(0.78rem, 0.96vw, 1rem);
}
.footer-row {
  max-width: 120rem;
  margin: 0 auto;
  gap: clamp(2rem, 4vw, 5.5rem);
  padding: clamp(0.75rem, 1.35vh, 1.25rem) 0.75rem;
}
.footer-credit {
  font-size: clamp(0.82rem, 1.05vw, 1.1rem);
  margin: clamp(0.75rem, 1.85vh, 1.25rem) 0 0;
}
@media (min-width: 2200px) {
  .auth-layout {
    width: min(100%, 120rem);
    grid-template-columns: minmax(48rem, 1fr) minmax(39.4rem, 0.9fr);
    gap: clamp(5rem, 7vw, 10rem);
  }
  .auth-card,
  .brand-panel {
    justify-self: center;
  }
}
@media (max-width: 1199.98px) and (min-width: 992px) {
  .auth-layout {
    width: min(100%, 69rem);
    grid-template-columns: minmax(23rem, 1fr) minmax(30rem, 1.08fr);
    gap: 2.5rem;
  }
  .auth-card--login {
    max-width: 35rem;
  }
  .brand-logo {
    width: 25rem;
  }
}
@media (max-width: 991.98px) {
  .auth-main {
    padding-bottom: 3.5rem;
  }
  .auth-layout {
    min-height: auto;
    grid-template-columns: minmax(0, 38rem);
  }
  .brand-logo {
    width: clamp(16rem, 45vw, 24rem);
  }
  .auth-card {
    max-width: 38rem;
  }
  .site-footer {
    position: static;
    padding-bottom: 1.5rem;
  }
}
@media (max-width: 767.98px) {
  .auth-main {
    padding: 2rem 1rem 3rem;
  }
  .auth-card--login {
    padding: 2.15rem 1.25rem 2rem;
  }
  .auth-title {
    font-size: clamp(1.85rem, 8vw, 2.2rem);
  }
  .auth-divider {
    margin-bottom: 1.7rem;
  }
  .form-group {
    margin-bottom: 1.25rem;
  }
  .auth-input {
    height: 3.75rem;
  }
  .forgot-link {
    margin-bottom: 1.35rem;
  }
}

/* Reference desktop composition shared by every authentication screen. */
@media (min-width: 1200px) {
  body.auth-page-body {
    height: 100vh;
    overflow: hidden;
  }

  body.auth-page-body .auth-shell {
    height: 100vh;
  }

  body.auth-page-body .auth-main {
    height: calc(100vh - clamp(6.5rem, 14vh, 9rem));
    min-height: 0;
    padding: clamp(1rem, 4vh, 3.5rem) clamp(2.5rem, 7vw, 10rem)
      clamp(0.75rem, 2vh, 1.5rem);
    overflow-y: auto;
  }

  body.auth-page-body .auth-layout {
    width: min(100%, 80rem);
    min-height: 0;
    grid-template-columns: minmax(25rem, 0.92fr) minmax(31rem, 1.08fr);
    gap: clamp(2.5rem, 6vw, 7rem);
  }

  body.auth-page-body .brand-logo {
    width: clamp(23rem, 30vw, 31rem);
  }

  body.auth-page-body .benefits {
    width: min(100%, 31rem);
    margin-top: clamp(1.5rem, 4vh, 3rem);
  }

  body.auth-page-body .benefit {
    min-height: clamp(9.5rem, 19vh, 13rem);
    padding-inline: clamp(0.35rem, 1vw, 1rem);
  }

  body.auth-page-body .benefit-icon {
    width: clamp(3.75rem, 5vw, 5.5rem);
    height: clamp(3.75rem, 5vw, 5.5rem);
    margin-bottom: clamp(0.55rem, 1.3vh, 1rem);
    font-size: clamp(1.6rem, 2.25vw, 2.35rem);
  }

  body.auth-page-body .benefit h2 {
    font-size: clamp(0.9rem, 1.12vw, 1.15rem);
  }

  body.auth-page-body .benefit p {
    font-size: clamp(0.75rem, 0.9vw, 0.95rem);
  }

  body.auth-page-body .auth-card {
    width: 100%;
    max-width: clamp(33rem, 42vw, 39.5rem);
    padding: clamp(2rem, 5vh, 4rem) clamp(2.25rem, 4vw, 3.5rem)
      clamp(1.75rem, 4vh, 3.25rem);
    justify-self: end;
  }

  body.auth-page-body .auth-card--create {
    max-width: clamp(34rem, 43vw, 40.5rem);
    padding-block: clamp(1.5rem, 3.5vh, 2.75rem);
  }

  body.auth-page-body .card-icon {
    width: clamp(3.75rem, 5vw, 5.5rem);
    height: clamp(3.75rem, 5vw, 5.5rem);
    margin-bottom: clamp(0.6rem, 1.6vh, 1.25rem);
    font-size: clamp(1.55rem, 2.2vw, 2.25rem);
  }

  body.auth-page-body .auth-title {
    font-size: clamp(2rem, 2.45vw, 2.65rem);
  }

  body.auth-page-body .auth-subtitle,
  body.auth-page-body .auth-description {
    font-size: clamp(1rem, 1.25vw, 1.3rem);
  }

  body.auth-page-body .auth-card:not(.auth-card--login) .auth-description {
    margin-bottom: clamp(1rem, 2.5vh, 1.8rem);
  }

  body.auth-page-body .auth-divider {
    margin: clamp(0.8rem, 1.8vh, 1.3rem) auto clamp(1.25rem, 3.5vh, 2.25rem);
  }

  body.auth-page-body .form-group {
    margin-bottom: clamp(0.85rem, 2.1vh, 1.5rem);
  }

  body.auth-page-body .auth-input {
    height: clamp(3.35rem, 5.2vh, 4.1rem);
  }

  body.auth-page-body .forgot-link {
    margin-bottom: clamp(1rem, 2.8vh, 1.8rem);
  }

  body.auth-page-body .btn-auth {
    min-height: clamp(3.5rem, 5.8vh, 4.25rem);
  }

  body.auth-page-body .site-footer {
    position: static;
    padding: 0 clamp(2.5rem, 7vw, 10rem) clamp(0.65rem, 1.8vh, 1.25rem);
  }

  body.auth-page-body .footer-row {
    max-width: 80rem;
    padding-block: clamp(0.55rem, 1.4vh, 1rem);
  }

  body.auth-page-body .footer-credit {
    margin-top: clamp(0.4rem, 1.25vh, 0.85rem);
  }
}

@media (min-width: 1200px) and (max-height: 800px) {
  body.auth-page-body .auth-main {
    align-items: start;
    height: calc(100vh - 7.1rem);
    padding-top: 1rem;
    overflow: hidden;
  }

  body.auth-page-body .auth-layout {
    align-items: start;
  }

  body.auth-page-body .auth-card {
    padding: 1.5rem 2.25rem 1.3rem;
  }

  body.auth-page-body .card-icon {
    width: 3.5rem;
    height: 3.5rem;
    margin-bottom: 0.55rem;
    font-size: 1.55rem;
  }

  body.auth-page-body .auth-title {
    font-size: 2rem;
  }

  body.auth-page-body .auth-subtitle,
  body.auth-page-body .auth-description {
    font-size: 0.95rem;
  }

  body.auth-page-body .auth-divider {
    margin: 0.65rem auto 1.05rem;
  }

  body.auth-page-body .form-group {
    margin-bottom: 0.7rem;
  }

  body.auth-page-body .form-label {
    font-size: 0.82rem;
    margin-bottom: 0.35rem;
  }

  body.auth-page-body .auth-input {
    height: 3.25rem;
    font-size: 0.88rem;
  }

  body.auth-page-body .forgot-link {
    margin: -0.1rem 0 0.8rem auto;
    font-size: 0.88rem;
  }

  body.auth-page-body .btn-auth {
    min-height: 3.25rem;
    font-size: 1rem;
  }

  body.auth-page-body .auth-card--create {
    padding: 1.16rem 2rem 1rem;
  }

  body.auth-page-body .auth-card--create .auth-description {
    margin-bottom: 0.65rem;
  }

  body.auth-page-body .auth-card--create .auth-divider {
    margin-bottom: 0.65rem;
  }

  body.auth-page-body .auth-card--create .requirements {
    margin-bottom: 0.6rem;
    padding: 0.6rem 0.8rem;
  }

  body.auth-page-body .auth-card--create .form-group {
    margin-bottom: 0.65rem;
  }
}

@media (min-width: 1200px) {
  body.auth-page-body .auth-layout {
    grid-template-columns: minmax(22rem, 0.96fr) minmax(30rem, 1.04fr);
  }

  body.auth-page-body .brand-logo {
    width: clamp(21rem, 28vw, 29rem);
  }

  body.auth-page-body .benefits {
    width: min(100%, 29rem);
  }

  body.auth-page-body .auth-card,
  body.auth-page-body .auth-card--create {
    width: min(100%, 40vw);
    max-width: 39.5rem;
    justify-self: center;
  }
}

@media (min-width: 1200px) and (max-height: 800px) {
  body.auth-page-body .auth-main,
  body.auth-page-body .auth-layout {
    align-items: center;
  }
}

/* Keep the care commitments close to the logo in the two-column composition. */
@media (min-width: 768px) {
  body.auth-page-body .auth-layout {
    grid-auto-rows:auto;
    row-gap:clamp(.65rem, 1.2vh, 1rem);
  }
  body.auth-page-body .brand-panel { align-self:end; }
  body.auth-page-body .benefits {
    align-self:start;
    margin-top:0;
  }
}
@media (max-width: 767.98px) {
  body.auth-page-body .auth-layout { gap:.85rem; }
}

/* Benefits are a layout sibling, so explicitly center every text element. */
body.auth-page-body .benefits .benefit { text-align:center; }
body.auth-page-body .benefits .benefit p { text-align:center; }

/* Phones place the three care commitments below the authentication card. */
.mobile-benefits { display:none; }
@media (max-width: 767.98px) {
  body.auth-page-body .brand-panel .benefits { display:none; }
  body.auth-page-body .mobile-benefits {
    display:grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    width:min(100%, 22rem);
    margin:0 auto;
  }
  body.auth-page-body .mobile-benefits .benefit {
    min-height:auto;
    padding:0 .3rem;
  }
  body.auth-page-body .mobile-benefits .benefit-icon {
    width:2.85rem;
    height:2.85rem;
    margin-bottom:.45rem;
    font-size:1.25rem;
  }
  body.auth-page-body .mobile-benefits .benefit h2 {
    margin:0;
    color:#09196c;
    font-size:.68rem;
    font-weight:700;
    line-height:1.25;
    text-align:center;
  }
}

/* The shared benefits element is a layout sibling so it follows the card on phones. */
@media (min-width: 768px) {
  body.auth-page-body .auth-layout {
    grid-template-areas:"brand card" "benefits card";
  }
  body.auth-page-body .brand-panel { grid-area:brand; }
  body.auth-page-body .auth-card { grid-area:card; }
  body.auth-page-body .benefits { grid-area:benefits; }
}
@media (max-width: 767.98px) {
  body.auth-page-body .auth-layout {
    grid-template-areas:"brand" "card" "benefits";
  }
  body.auth-page-body .brand-panel { grid-area:brand; }
  body.auth-page-body .auth-card { grid-area:card; }
  body.auth-page-body .benefits { display:grid; grid-area:benefits; }
}

/* Final desktop reference sizing. */
@media (min-width: 1200px) {
  body.auth-page-body .auth-layout {
    grid-template-columns: minmax(22rem, 0.96fr) minmax(30rem, 1.04fr);
  }

  body.auth-page-body .brand-logo {
    width: clamp(21rem, 28vw, 29rem);
  }

  body.auth-page-body .benefits {
    width: min(100%, 29rem);
  }

  body.auth-page-body .auth-card,
  body.auth-page-body .auth-card--create {
    width: min(100%, 40vw);
    max-width: 39.5rem;
    justify-self: center;
  }
}

@media (min-width: 1200px) and (max-height: 800px) {
  body.auth-page-body .auth-main,
  body.auth-page-body .auth-layout {
    align-items: center;
  }
}

/* Final spacing override: the benefits sit directly beneath the logo. */
@media (min-width: 768px) {
  body.auth-page-body .auth-layout {
    grid-auto-rows:auto;
    row-gap:clamp(.65rem, 1.2vh, 1rem);
  }
  body.auth-page-body .brand-panel { align-self:end; }
  body.auth-page-body .benefits { align-self:start; margin-top:0; }
}
@media (max-width: 767.98px) {
  body.auth-page-body .auth-layout { gap:.85rem; }
}

/* Desktop sizing follows the supplied two-column reference. */
@media (min-width: 1200px) {
  body.auth-page-body .auth-layout {
    grid-template-columns: minmax(22rem, 0.96fr) minmax(30rem, 1.04fr);
  }

  body.auth-page-body .brand-logo {
    width: clamp(21rem, 28vw, 29rem);
  }

  body.auth-page-body .benefits {
    width: min(100%, 29rem);
  }

  body.auth-page-body .auth-card,
  body.auth-page-body .auth-card--create {
    width: min(100%, 40vw);
    max-width: 39.5rem;
    justify-self: center;
  }
}

@media (min-width: 1200px) and (max-height: 800px) {
  body.auth-page-body .auth-main,
  body.auth-page-body .auth-layout {
    align-items: center;
  }
}
@media (max-height: 850px) and (min-width: 992px) {
  .auth-main {
    padding-top: 1.5rem;
    padding-bottom: 6.2rem;
  }
  .auth-layout {
    min-height: 38rem;
  }
  .brand-logo {
    width: clamp(20rem, 25vw, 27rem);
  }
  .benefits {
    margin-top: 1.25rem;
  }
  .benefit {
    min-height: 8.7rem;
  }
  .auth-card--login {
    padding-block: 2rem;
  }
  .card-icon {
    width: 4rem;
    height: 4rem;
    margin-bottom: 0.75rem;
  }
  .auth-divider {
    margin: 0.8rem auto 1.35rem;
  }
  .form-group {
    margin-bottom: 1rem;
  }
  .forgot-link {
    margin-bottom: 1.1rem;
  }
}

/* Keep every authentication screen aligned when this file is imported by common.css. */
body.auth-page-body .auth-main {
  align-items: center;
  padding: clamp(2.25rem, 5.45vh, 4.5rem) clamp(1.5rem, 7.1vw, 10rem)
    clamp(8.25rem, 15vh, 11rem);
}
body.auth-page-body .auth-layout {
  width: min(100%, 76rem);
  max-width: 120rem;
  min-height: min(74vh, 48rem);
  grid-template-columns: minmax(27rem, 0.94fr) minmax(34rem, 1.06fr);
  column-gap: clamp(2.5rem, 4vw, 6rem);
  row-gap: clamp(.65rem, 1.2vh, 1rem);
}
body.auth-page-body .brand-logo {
  width: clamp(25rem, 30vw, 34rem);
}
body.auth-page-body .auth-card {
  max-width: 39.4rem;
  padding: clamp(2.75rem, 4.55vh, 4.25rem) clamp(2.5rem, 3.45vw, 3.5rem)
    clamp(2.4rem, 4.3vh, 3.65rem);
  border: 1px solid rgba(213, 221, 234, 0.68);
  border-radius: clamp(1.2rem, 1.6vw, 1.9rem);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 0.35rem 1.5rem rgba(18, 45, 83, 0.12);
}
body.auth-page-body .auth-card--create {
  max-width: 40.5rem;
  padding-block: clamp(2.1rem, 3.65vh, 3.15rem);
}
body.auth-page-body .card-icon {
  width: clamp(4.5rem, 5.1vw, 5.5rem);
  height: clamp(4.5rem, 5.1vw, 5.5rem);
  margin-bottom: 1.4rem;
  font-size: clamp(1.85rem, 2.15vw, 2.3rem);
}
body.auth-page-body .auth-title {
  font-size: clamp(2rem, 2.55vw, 2.7rem);
  letter-spacing: -0.045em;
  line-height: 1.08;
}
body.auth-page-body .auth-divider {
  width: 4.85rem;
  height: 0.22rem;
  margin: 1.35rem auto 2.25rem;
}
body.auth-page-body .form-group {
  margin-bottom: 1.65rem;
}
body.auth-page-body .form-label {
  font-size: clamp(0.95rem, 1.05vw, 1.12rem);
  margin-bottom: 0.7rem;
}
body.auth-page-body .auth-input {
  height: clamp(3.75rem, 4vw, 4.25rem);
  padding: 0.7rem 3.5rem 0.7rem 4.35rem;
  font-size: clamp(0.95rem, 1.08vw, 1.1rem);
}
body.auth-page-body .btn-auth {
  min-height: clamp(4rem, 4.35vw, 4.45rem);
  font-size: clamp(1.1rem, 1.3vw, 1.35rem);
}
body.auth-page-body .site-footer {
  padding: 0 clamp(1.4rem, 7.1vw, 10rem) clamp(0.8rem, 2.8vh, 1.7rem);
  font-size: clamp(0.78rem, 0.96vw, 1rem);
}
body.auth-page-body .footer-row {
  max-width: 120rem;
  margin: 0 auto;
  gap: clamp(2rem, 4vw, 5.5rem);
  padding: clamp(0.75rem, 1.35vh, 1.25rem) 0.75rem;
}
body.auth-page-body .footer-credit {
  font-size: clamp(0.82rem, 1.05vw, 1.1rem);
  margin: clamp(0.75rem, 1.85vh, 1.25rem) 0 0;
}
body.auth-page-body .footer-credit > strong > a{
  text-decoration: none;
}
body.auth-page-body .auth-card--create .auth-divider {
  width: 4.85rem;
  height: 0.22rem;
  margin: 1.35rem auto 1rem;
}
body.auth-page-body .auth-card--create .auth-form {
  margin-top: 0;
}
body.auth-page-body .auth-card--create .form-group {
  margin-bottom: 1rem;
}
@media (min-width: 2200px) {
  body.auth-page-body .auth-layout {
    width: min(100%, 120rem);
    grid-template-columns: minmax(48rem, 1fr) minmax(39.4rem, 0.9fr);
    gap: clamp(5rem, 7vw, 10rem);
  }
}
@media (max-width: 991.98px) {
  body.auth-page-body .auth-main {
    padding-bottom: 3.5rem;
  }
  body.auth-page-body .auth-layout {
    min-height: auto;
    grid-template-columns: minmax(0, 38rem);
  }
  body.auth-page-body .auth-card {
    max-width: 38rem;
  }
  body.auth-page-body .site-footer {
    position: static;
    padding-bottom: 1.5rem;
  }
}
@media (max-width: 767.98px) {
  body.auth-page-body .auth-main {
    padding: 2rem 1rem 3rem;
  }
  body.auth-page-body .auth-card {
    padding: 2.15rem 1.25rem 2rem;
  }
  body.auth-page-body .auth-title {
    font-size: clamp(1.85rem, 8vw, 2.2rem);
  }
  body.auth-page-body .auth-input {
    height: 3.75rem;
  }
}

/* Fixed 2200px desktop artboard.  It is scaled as one visual unit by common.js. */
html.desktop-fixed-canvas,
html.desktop-fixed-canvas body {
  width: 100%;
  min-height: 100%;
  overflow: hidden;
}
html.desktop-fixed-canvas .auth-page-body {
  background: url("../assets/images/desktop-background.png") center center /
    cover no-repeat;
}
html.desktop-fixed-canvas .auth-shell {
  position: absolute;
  top: var(--canvas-offset-y);
  left: var(--canvas-offset-x);
  width: 2200px;
  min-height: 1467px;
  height: 1467px;
  overflow: hidden;
  transform: scale(var(--desktop-scale));
  transform-origin: top left;
  background: transparent;
}
html.desktop-fixed-canvas .auth-main {
  display: block;
  height: 1240px;
  min-height: 0;
  padding: 82px 160px 0;
  overflow: hidden;
}
html.desktop-fixed-canvas .auth-layout {
  width: 1760px;
  max-width: none;
  min-height: 1080px;
  margin: 0 auto;
  grid-template-columns: 740px 900px;
  gap: 120px;
  align-items: center;
}
html.desktop-fixed-canvas .brand-panel {
  padding: 0;
}
html.desktop-fixed-canvas .brand-logo {
  width: 620px;
  max-width: none;
}
html.desktop-fixed-canvas .benefits {
  width: 620px;
  margin: 54px auto 0;
}
html.desktop-fixed-canvas .benefit {
  min-height: 235px;
  padding: 0 20px;
}
html.desktop-fixed-canvas .benefit-icon {
  width: 112px;
  height: 112px;
  margin-bottom: 18px;
  font-size: 48px;
}
html.desktop-fixed-canvas .benefit h2 {
  font-size: 25px;
  line-height: 1.3;
  margin-bottom: 10px;
}
html.desktop-fixed-canvas .benefit p {
  font-size: 20px;
  line-height: 1.55;
}
html.desktop-fixed-canvas .auth-card {
  width: 900px;
  max-width: none;
  justify-self: end;
  padding: 72px 78px 64px;
  border-radius: 28px;
}
html.desktop-fixed-canvas .auth-card--create {
  width: 930px;
  padding: 48px 78px 42px;
}
html.desktop-fixed-canvas .card-icon {
  width: 112px;
  height: 112px;
  margin-bottom: 28px;
  font-size: 48px;
}
html.desktop-fixed-canvas .auth-title {
  font-size: 56px;
  line-height: 1.08;
}
html.desktop-fixed-canvas .auth-subtitle {
  font-size: 28px;
  margin-top: 12px;
}
html.desktop-fixed-canvas .auth-description {
  max-width: 680px;
  font-size: 25px;
  line-height: 1.45;
}
html.desktop-fixed-canvas .auth-divider {
  width: 96px;
  height: 5px;
  margin: 28px auto 46px;
}
html.desktop-fixed-canvas .auth-card:not(.auth-card--login) .auth-divider {
  margin-bottom: 22px;
}
html.desktop-fixed-canvas .auth-card:not(.auth-card--login) .auth-description {
  max-width: 700px;
  margin: 0 auto 44px;
  font-size: 25px;
}
html.desktop-fixed-canvas .auth-card--create .auth-description {
  margin-bottom: 26px;
}
html.desktop-fixed-canvas .form-group {
  margin-bottom: 31px;
}
html.desktop-fixed-canvas .auth-card--create .form-group {
  margin-bottom: 18px;
}
html.desktop-fixed-canvas .form-label {
  font-size: 23px;
  margin-bottom: 13px;
}
html.desktop-fixed-canvas .auth-input {
  height: 92px;
  padding: 16px 76px 16px 92px;
  border-radius: 12px;
  font-size: 23px;
}
html.desktop-fixed-canvas .field-icon {
  left: 28px;
  font-size: 31px;
}
html.desktop-fixed-canvas .toggle-password {
  right: 22px;
  font-size: 30px;
}
html.desktop-fixed-canvas .forgot-link {
  margin: -5px 0 30px auto;
  font-size: 22px;
}
html.desktop-fixed-canvas .btn-auth {
  min-height: 100px;
  border-radius: 12px;
  font-size: 29px;
}
html.desktop-fixed-canvas .back-link {
  margin-top: 34px;
  font-size: 24px;
}
html.desktop-fixed-canvas .password-strength {
  margin: -3px 0 18px;
}
.desktop-fixed-canvas .strength-bar {
  height: 7px;
}
.desktop-fixed-canvas .strength-label {
  font-size: 18px;
}
html.desktop-fixed-canvas .requirements {
  margin: 0 0 22px;
  padding: 19px 24px;
  border-radius: 12px;
}
.desktop-fixed-canvas .requirements h3 {
  font-size: 18px;
  margin-bottom: 12px;
}
.desktop-fixed-canvas .requirement {
  font-size: 17px;
}
html.desktop-fixed-canvas .site-footer {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 0 156px 32px;
  font-size: 20px;
}
html.desktop-fixed-canvas .footer-row {
  max-width: none;
  gap: 80px;
  padding: 22px 18px;
}
.desktop-fixed-canvas .footer-credit {
  margin: 26px 0 0;
  font-size: 22px;
}

/* Viewport-wide footer: deliberately outside the transformed desktop artboard. */
html.desktop-fixed-canvas .auth-page-body > .site-footer {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 20;
  padding: 0 clamp(1.5rem, 7vw, 10rem) clamp(0.75rem, 2vh, 1.5rem);
  color: #fff;
  font-size: clamp(0.75rem, 0.92vw, 1rem);
  background: transparent;
}
html.desktop-fixed-canvas .auth-page-body > .site-footer .footer-row {
  max-width: 120rem;
  margin: 0 auto;
  gap: clamp(2rem, 4vw, 5rem);
  padding: clamp(0.7rem, 1.35vh, 1.2rem) 0.75rem;
}
html.desktop-fixed-canvas .auth-page-body > .site-footer .footer-credit {
  margin: clamp(0.65rem, 1.75vh, 1.2rem) 0 0;
  font-size: clamp(0.78rem, 1vw, 1.05rem);
}

/* Tablet: a compact two-column composition, with no transformed artboard. */
@media (min-width: 768px) and (max-width: 1199.98px) {
  body.auth-page-body {
    height: auto;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
  }
  body.auth-page-body .auth-shell {
    height: auto;
    min-height: 100vh;
  }
  body.auth-page-body .auth-main {
    height: auto;
    min-height: calc(100vh - 9rem);
    padding: 2rem 1.5rem 3rem;
    overflow: visible;
  }
  body.auth-page-body .auth-layout {
    width: 100%;
    max-width: 70rem;
    min-height: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1.25rem, 3vw, 2.25rem);
    align-items: center;
  }
  body.auth-page-body .brand-panel {
    padding: 0;
  }
  body.auth-page-body .brand-logo {
    width: min(100%, 22rem);
  }
  body.auth-page-body .benefits {
    width: 100%;
    margin: 1.25rem auto 0;
  }
  body.auth-page-body .benefit {
    align-items: center;
    display: flex;
    flex-direction: column;
    min-height: 8.4rem;
    padding: 0.25rem 0.35rem;
  }
  body.auth-page-body .benefit-icon {
    width: 3.6rem;
    height: 3.6rem;
    margin-bottom: 0.55rem;
    font-size: 1.55rem;
  }
  body.auth-page-body .benefit h2 {
    font-size: 0.82rem;
  }
  body.auth-page-body .benefit p {
    font-size: 0.68rem;
  }
  body.auth-page-body .auth-card {
    width: 100%;
    max-width: 30rem;
    justify-self: center;
    padding: 2.2rem 1.6rem 1.8rem;
  }
  body.auth-page-body .auth-card--create {
    padding-block: 1.7rem;
  }
  body.auth-page-body .card-icon {
    width: 3.9rem;
    height: 3.9rem;
    margin-bottom: 0.75rem;
    font-size: 1.65rem;
  }
  body.auth-page-body .auth-title {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
  }
  body.auth-page-body .auth-subtitle,
  body.auth-page-body .auth-description {
    font-size: 0.92rem;
  }
  body.auth-page-body .auth-divider {
    width: 3.7rem;
    margin: 0.8rem auto 1.3rem;
  }
  body.auth-page-body .auth-card:not(.auth-card--login) .auth-description {
    margin-bottom: 1.3rem;
    font-size: 0.88rem;
  }
  body.auth-page-body .form-group {
    margin-bottom: 0.9rem;
  }
  body.auth-page-body .form-label {
    font-size: 0.82rem;
    margin-bottom: 0.35rem;
  }
  body.auth-page-body .auth-input {
    height: 3.1rem;
    padding-left: 3rem;
    font-size: 0.84rem;
  }
  body.auth-page-body .field-icon {
    left: 0.85rem;
    font-size: 1rem;
  }
  body.auth-page-body .btn-auth {
    min-height: 3rem;
    font-size: 0.95rem;
  }
  body.auth-page-body .back-link,
  body.auth-page-body .forgot-link {
    font-size: 0.86rem;
  }
  body.auth-page-body .site-footer {
    position: static;
    padding: 0 1.5rem 1rem;
    font-size: 0.7rem;
  }
  body.auth-page-body .footer-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding: 0.65rem 0;
  }
  body.auth-page-body .contact-list {
    justify-content: center;
    gap: 1rem;
  }
  body.auth-page-body .copyright {
    display: none;
  }
  body.auth-page-body .footer-credit {
    margin: 0.5rem 0 0;
    font-size: 0.75rem;
  }
}

/* Mobile: a single-column flow with touch-friendly controls. */
@media (max-width: 767.98px) {
  html,
  body.auth-page-body {
    overflow-x: hidden;
  }
  body.auth-page-body .auth-main {
    padding: 1.5rem 1rem 2.5rem;
  }
  body.auth-page-body .auth-layout {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
  }
  body.auth-page-body .brand-panel {
    order: 0;
  }
  body.auth-page-body .brand-logo {
    width: min(100%, 17rem);
  }
  body.auth-page-body .benefits {
    display: grid;
    width: min(100%, 22rem);
    margin: 1rem auto 0;
  }
  body.auth-page-body .benefit {
    min-height: auto;
    padding: 0 0.3rem;
  }
  body.auth-page-body .benefit-icon {
    width: 2.85rem;
    height: 2.85rem;
    margin-bottom: 0.45rem;
    font-size: 1.25rem;
  }
  body.auth-page-body .benefit h2 {
    margin: 0;
    font-size: 0.68rem;
    line-height: 1.25;
  }
  body.auth-page-body .benefit p {
    display: none;
  }
  body.auth-page-body .auth-card {
    order: 1;
    width: 100%;
    max-width: 32rem;
    padding: 2rem 1.25rem;
  }
  body.auth-page-body .auth-card--create {
    padding: 1.75rem 1.1rem;
  }
  body.auth-page-body .card-icon {
    width: 4rem;
    height: 4rem;
    font-size: 1.7rem;
  }
  body.auth-page-body .auth-title {
    font-size: clamp(1.75rem, 8vw, 2.15rem);
  }
  body.auth-page-body .auth-subtitle,
  body.auth-page-body .auth-description {
    font-size: 0.95rem;
  }
  body.auth-page-body .auth-description br {
    display: none;
  }
  body.auth-page-body .auth-input {
    min-height: 3.25rem;
    height: 3.25rem;
    font-size: 0.92rem;
  }
  body.auth-page-body .btn-auth,
  body.auth-page-body .toggle-password {
    min-height: 2.75rem;
  }
  body.auth-page-body .btn-auth {
    font-size: 1rem;
  }
  body.auth-page-body .auth-link {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
  }
  body.auth-page-body .site-footer {
    position: static;
    padding: 0 0.85rem 0.75rem;
  }
  body.auth-page-body .footer-row {
    display: block;
    padding: 0.85rem 0;
  }
  body.auth-page-body .contact-list {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 0.65rem;
    font-size: 0.78rem;
  }
  body.auth-page-body .contact-list span {
    display: flex;
    align-items: center;
    min-height: 2.75rem;
  }
  body.auth-page-body .copyright {
    display: block;
    margin-top: 0.65rem;
    text-align: center;
    font-size: 0.75rem;
    line-height: 1.5;
  }
  body.auth-page-body .footer-credit {
    display: block;
    margin: 0.75rem 0 0;
    font-size: 0.78rem;
    line-height: 1.45;
  }
}

/* Keep short desktop displays within the same reference composition. */
@media (min-width: 1200px) and (max-height: 800px) {
  body.auth-page-body .auth-main {
    align-items: flex-start;
    height: calc(100vh - 7.1rem);
    min-height: 0;
    padding: 1rem clamp(2.5rem, 7vw, 10rem) 0;
    overflow: hidden;
  }

  body.auth-page-body .auth-layout {
    min-height: 0;
    align-items: flex-start;
  }

  body.auth-page-body .auth-card {
    padding: 1.5rem 2.25rem 1.3rem;
  }

  body.auth-page-body .card-icon {
    width: 3.5rem;
    height: 3.5rem;
    margin-bottom: 0.55rem;
    font-size: 1.55rem;
  }

  body.auth-page-body .auth-title {
    font-size: 2rem;
  }

  body.auth-page-body .auth-subtitle,
  body.auth-page-body .auth-description {
    font-size: 0.95rem;
  }

  body.auth-page-body .auth-divider {
    margin: 0.65rem auto 1.05rem;
  }

  body.auth-page-body .form-group {
    margin-bottom: 0.7rem;
  }

  body.auth-page-body .form-label {
    font-size: 0.82rem;
    margin-bottom: 0.35rem;
  }

  body.auth-page-body .auth-input {
    height: 3.25rem;
    font-size: 0.88rem;
  }

  body.auth-page-body .forgot-link {
    margin: -0.1rem 0 0.8rem auto;
    font-size: 0.88rem;
  }

  body.auth-page-body .btn-auth {
    min-height: 3.25rem;
    font-size: 1rem;
  }

  body.auth-page-body .auth-card--create {
    padding: 1.15rem 2rem 1rem;
  }

  body.auth-page-body .auth-card--create .auth-description {
    margin-bottom: 0.65rem;
  }

  body.auth-page-body .auth-card--create .auth-divider {
    margin-bottom: 0.65rem;
  }

  body.auth-page-body .auth-card--create .requirements {
    margin-bottom: 0.6rem;
    padding: 0.6rem 0.8rem;
  }

  body.auth-page-body .auth-card--create .form-group {
    margin-bottom: 0.65rem;
  }
}

/* Final desktop reference sizing. */
@media (min-width: 1200px) {
  body.auth-page-body .brand-logo {
    width: clamp(21rem, 28vw, 29rem);
  }

  body.auth-page-body .benefits {
    width: min(100%, 29rem);
  }

  body.auth-page-body .auth-card,
  body.auth-page-body .auth-card--create {
    width: min(100%, 40vw);
    max-width: 39.5rem;
    justify-self: center;
  }
}

@media (min-width: 1200px) and (max-height: 800px) {
  body.auth-page-body .auth-main,
  body.auth-page-body .auth-layout {
    align-items: center;
  }
}
