* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
    html, body { margin: 0; min-height: 100%; background: #fda17a; }
    body {
      font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", Arial, "Microsoft YaHei", sans-serif;
      color: #323233;
    }
    button, input { font: inherit; border: 0; outline: 0; background: transparent; }
    button { cursor: pointer; }
    button:disabled { cursor: not-allowed; opacity: .58; }
    a { color: inherit; text-decoration: none; }

    .page {
      position: relative;
      width: 100%;
      max-width: 375px;
      min-height: 1270px;
      margin: 0 auto;
      overflow: hidden;
      background: #fda17a;
    }

    .hero {
      position: absolute;
      left: 0;
      top: 0;
      width: 100%;
      height: 595px;
      background: url("../images/detail-bg.png") top center / 100% 595px no-repeat;
      z-index: 1;
    }

    .form-area {
      position: relative;
      z-index: 2;
      padding: 337px 32px 0;
    }

    .field {
      display: flex;
      align-items: center;
      width: 311px;
      height: 48px;
      margin-bottom: 8px;
      padding: 0 15px;
      border: 1px solid #ebedf0;
      border-radius: 24px;
      background: #fff;
    }
    .field label {
      flex: 0 0 48px;
      font-size: 16px;
      line-height: 22px;
      color: #323233;
    }
    .field input {
      min-width: 0;
      flex: 1;
      height: 46px;
      margin-left: 16px;
      font-size: 16px;
      color: #323233;
    }
    .field input::placeholder { color: #c8c9cc; }
    .code-btn {
      flex: 0 0 auto;
      min-width: 74px;
      height: 28px;
      margin-left: 8px;
      padding: 0 12px;
      border: 1px solid #6b5cf0;
      border-radius: 14px;
      color: #6b5cf0;
      font-size: 12px;
      line-height: 26px;
      white-space: nowrap;
      background: #fff;
    }

    .bind-btn {
      display: block;
      width: 311px;
      height: 48px;
      margin-top: 16px;
      border-radius: 24px;
      color: #fff;
      font-size: 18px;
      font-weight: 500;
      line-height: 48px;
      text-align: center;
      background: #ff8745;
      box-shadow: 0 2px 4px rgba(255, 203, 116, 1);
    }

    .agreement {
      display: flex;
      align-items: center;
      width: 311px;
      margin-top: 16px;
      padding-left: 1px;
      font-size: 14px;
      line-height: 20px;
      color: #323233;
      user-select: none;
    }
    .agreement input {
      position: absolute;
      opacity: 0;
      pointer-events: none;
    }
    .check-circle {
      position: relative;
      width: 16px;
      height: 16px;
      margin-right: 8px;
      border: 1px solid #dcdee0;
      border-radius: 50%;
      background: #fff;
    }
    .agreement input:checked + .check-circle {
      border-color: #6b5cf0;
      background: #6b5cf0;
    }
    .agreement input:checked + .check-circle::after {
      content: "";
      position: absolute;
      left: 4px;
      top: 2px;
      width: 5px;
      height: 8px;
      border: solid #fff;
      border-width: 0 2px 2px 0;
      transform: rotate(45deg);
    }
    .agreement a { color: #6b5cf0; }

    .intro-card {
      position: relative;
      z-index: 2;
      width: 343px;
      min-height: 629px;
      margin: 55px auto 32px;
      padding: 28px 16px 27px;
      border-radius: 12px;
      background: #fff;
      box-shadow: 0 0 8px rgba(0, 0, 0, .1);
    }
    .intro-title {
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 11px;
      font-size: 18px;
      line-height: 27px;
      font-weight: 900;
      color: #323233;
    }
    .intro-title::before, .intro-title::after {
      content: "";
      width: 25px;
      height: 9px;
      background-repeat: no-repeat;
      background-size: 25px 9px;
    }
    .intro-title::before {
      margin-right: 8px;
      background-image: url("../images/title-left.png");
    }
    .intro-title::after {
      margin-left: 11px;
      background-image: url("../images/title-right.png");
    }
    .rich-text {
      font-size: 16px;
      line-height: 22px;
      color: #646566;
    }
    .rich-text p { margin: 0 0 22px; text-indent: 2em; }
    .contact {
      margin-top: 11px;
      font-size: 16px;
      line-height: 24px;
      color: #6b5cf0;
      font-weight: 500;
    }

    .toast {
      position: fixed;
      left: 50%;
      bottom: 72px;
      z-index: 50;
      max-width: 80vw;
      padding: 10px 14px;
      border-radius: 8px;
      color: #fff;
      font-size: 14px;
      line-height: 20px;
      text-align: center;
      background: rgba(0, 0, 0, .72);
      transform: translateX(-50%);
      opacity: 0;
      pointer-events: none;
      transition: opacity .2s ease;
    }
    .toast.show { opacity: 1; }

    .modal {
      position: fixed;
      inset: 0;
      z-index: 40;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 0 31px;
      background: rgba(0, 0, 0, .36);
    }
    .modal.show { display: flex; }
    .modal-card {
      position: relative;
      width: 313px;
      min-height: 388px;
      padding: 96px 24px 27px;
      border-radius: 16px;
      background: #fff;
      text-align: center;
    }
    .modal-close {
      position: absolute;
      right: 30px;
      top: 30px;
      width: 22px;
      height: 22px;
      background: url("../images/modal-close.png") center / 22px 22px no-repeat;
    }
    .success-icon {
      position: absolute;
      left: 50%;
      top: 96px;
      width: 50px;
      height: 50px;
      margin-left: -25px;
      background: url("../images/success.png") center / 50px 50px no-repeat;
      transform: translateY(-62px);
    }
    .modal-title {
      margin: 0;
      font-size: 16px;
      line-height: 22px;
      font-weight: 500;
      color: #323233;
    }
    .modal-subtitle {
      margin: 2px 0 0;
      font-size: 14px;
      line-height: 20px;
      color: #646566;
      white-space: nowrap;
    }
    .qr-img {
      display: block;
      width: 134px;
      height: 133px;
      margin: 16px auto 0;
      object-fit: cover;
      background: #f7f8fa;
    }
    .download-link {
      display: block;
      height: 48px;
      margin-top: 14px;
      border-radius: 24px;
      color: #fff;
      font-size: 18px;
      font-weight: 500;
      line-height: 48px;
      letter-spacing: -.43px;
      background: #6b5cf0;
    }

    @media (min-width: 376px) {
      body { background: #fda17a; }
    }
