/* Mobile registration composition: compact, one-screen-first hierarchy with a
   clear family scene visible around the card. */
@media (max-width: 820px) {
  .register-page {
    min-height: 100svh;
    background:
      linear-gradient(180deg, rgba(247, 255, 250, .34) 0%, rgba(247, 255, 250, .12) 46%, rgba(247, 255, 250, .02) 100%),
      url("assets/generated/register-mobile-bg.png?v=2") 62% bottom / cover no-repeat;
  }

  .register-header {
    width: calc(100% - 32px);
    height: 64px;
  }

  .register-brand {
    width: 146px;
  }

  .register-back {
    padding: 8px 11px;
    font-size: 12px;
    background: rgba(255, 255, 255, .88);
  }

  .register-main {
    padding: 16px 16px 28px;
  }

  .register-shell {
    width: 100%;
    max-width: 430px;
  }

  .register-intro {
    width: 100%;
    padding: 0 6px;
    text-align: center;
  }

  .register-intro h1 {
    margin: 13px 0 9px;
    font-size: clamp(34px, 9.4vw, 42px);
    line-height: 1.08;
    letter-spacing: -.055em;
  }

  .register-intro > p {
    max-width: 340px;
    margin-inline: auto;
    font-size: 14px;
    line-height: 1.55;
  }

  .register-card {
    width: 100%;
    margin-top: 18px;
    padding: 20px 17px 16px;
    border-radius: 26px;
    background: rgba(255, 255, 255, .95);
    box-shadow: 0 18px 42px rgba(18, 104, 49, .18);
  }

  .register-card-head {
    margin-bottom: 10px;
  }

  .register-kicker {
    font-size: 11px;
    letter-spacing: .18em;
  }

  .register-card h2 {
    margin-top: 3px;
    font-size: 23px;
  }

  .register-shield {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    font-size: 22px;
  }

  .register-field {
    margin-top: 9px;
    gap: 5px;
  }

  .register-field > span {
    font-size: 12px;
  }

  .register-field small {
    font-size: 10px;
  }

  .register-field input {
    height: 43px;
    border-radius: 13px;
    padding: 0 13px;
    font-size: 14px;
  }

  .register-error {
    min-height: 18px;
    margin: 7px 0 0;
  }

  .register-submit {
    height: 46px;
    margin-top: 4px;
    font-size: 15px;
  }

  .register-legal {
    margin: 8px -4px 0;
    font-size: 10px;
    line-height: 1.4;
  }

  .register-status {
    min-height: 18px;
    margin-top: 8px;
    font-size: 11px;
  }
}

@media (max-width: 380px) {
  .register-main {
    padding-inline: 13px;
  }

  .register-intro h1 {
    font-size: 33px;
  }

  .register-card {
    margin-top: 14px;
    padding-inline: 15px;
  }
}
