  * {
      box-sizing: border-box;
    }

    body {
      margin: 0;
      padding: 28px 16px;
      background: #f5f6f8;
      color: #222;
      font-family:
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    }

    .signup-wrapper {
      width: 100%;
      max-width: 900px;
      margin: 0 auto;
      overflow: hidden;
      background: #fff;
      border-radius: 10px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, .10);
    }

    .hero {
      display: flex;
      justify-content: center;
      padding: 20px 20px 0;
      background: #fff;
    }

    .hero-image {
      display: block;
      width: auto;
      max-width: 100%;
      height: auto;
      max-height: 420px;
      object-fit: contain;
      border-radius: 8px;
    }

    .container {
      width: 100%;
      max-width: 480px;
      margin: 0 auto;
      padding: 34px 30px 38px;
    }

    h1 {
      margin: 0 0 10px;
      text-align: center;
      font-size: 28px;
    }

    .sub {
      margin: 0 0 26px;
      color: #666;
      text-align: center;
      font-size: 15px;
    }

    .message {
      margin: 0 0 20px;
      padding: 14px 16px;
      border: 1px solid transparent;
      border-radius: 8px;
      font-size: 14px;
      line-height: 1.5;
    }

    .message ul {
      margin: 0;
      padding-left: 20px;
    }

    .message-success {
      border-color: #a8d7b8;
      background: #eaf7ee;
      color: #21683a;
    }

    .message-error {
      border-color: #e4aab3;
      background: #fcecef;
      color: #8b1c2d;
    }

    label {
      display: block;
      margin-bottom: 7px;
      font-size: 14px;
      font-weight: 600;
    }

    input {
      width: 100%;
      margin-bottom: 18px;
      padding: 13px;
      border: 1px solid #ccc;
      border-radius: 6px;
      font-size: 16px;
    }

    input:focus {
      border-color: #b11226;
      outline: 3px solid rgba(177, 18, 38, .12);
    }

    button {
      width: 100%;
      padding: 14px;
      border: 0;
      border-radius: 6px;
      background: #b11226;
      color: #fff;
      font-size: 17px;
      font-weight: 600;
      cursor: pointer;
    }

    button:hover {
      background: #8e0f1f;
    }

    .footer {
      margin-top: 22px;
      color: #777;
      text-align: center;
      font-size: 13px;
      line-height: 1.5;
    }

    .footer a {
      color: #9f1022;
    }

    @media (max-width: 600px) {
      body {
        padding: 0;
        background: #fff;
      }

      .signup-wrapper {
        border-radius: 0;
        box-shadow: none;
      }

      .hero {
        padding: 0;
      }

      .hero-image {
        width: 100%;
        max-height: none;
        border-radius: 0;
      }

      .container {
        padding: 28px 22px 38px;
      }

      h1 {
        font-size: 25px;
      }
    }

/* Profile form */

.profile-container {
  max-width: 760px;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 24px;
}

.field-group {
  min-width: 0;
}

.field-group label {
  display: block;
  margin-bottom: 7px;
  font-size: 14px;
  font-weight: 600;
}

.field-group input,
.field-group select,
.field-group textarea {
  display: block;
  width: 100%;
  margin: 0;
  padding: 13px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
  color: #222;
  font: inherit;
}

.field-group input,
.field-group select {
  min-height: 50px;
}

.field-group textarea {
  min-height: 150px;
  resize: vertical;
  line-height: 1.5;
}

.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
  border-color: #b11226;
  outline: 3px solid rgba(177, 18, 38, 0.12);
}

.full-width-field {
  margin-top: 22px;
}

.field-help {
  margin: 7px 0 0;
  color: #777;
  font-size: 12px;
}

.profile-next-action {
  text-align: center;
  color: #555;
}

@media (max-width: 700px) {
  .profile-grid {
    grid-template-columns: 1fr;
  }
}
