:root {
      --blue-50: #eef4ff;
      --blue-100: #d9e5fb;
      --blue-600: #12233f;
      --blue-800: #0f1727;
      --blue-400: #2f6de1;
      --green-50: #eef8f0;
      --green-700: #2e7a54;
      --red-50: #fdeeed;
      --red-700: #a64538;
      --gray-25: #fffdfa;
      --gray-50: #f6f2eb;
      --gray-100: #e7ded2;
      --gray-200: #d8cdbd;
      --gray-500: #586073;
      --gray-900: #182033;
      --border: 1px solid var(--gray-100);
      --radius-md: 16px;
      --radius-lg: 28px;
      --shadow: 0 20px 46px rgba(17, 24, 39, 0.1);
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }

    body {
      font-family: "Manrope", "Avenir Next", "Segoe UI", Arial, sans-serif;
      color: var(--gray-900);
      background:
        radial-gradient(circle at top left, rgba(47, 109, 225, 0.1), transparent 26%),
        radial-gradient(circle at top right, rgba(201, 164, 104, 0.13), transparent 22%),
        linear-gradient(180deg, #fbf8f4 0%, #f3ede4 100%);
      line-height: 1.5;
    }

    .page {
      max-width: 1080px;
      margin: 0 auto;
      padding: 24px 18px 56px;
    }

    .nav {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 16px;
      padding-bottom: 18px;
      border-bottom: var(--border);
      flex-wrap: wrap;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .brand-logo {
      font-size: 18px;
      font-weight: 800;
      color: var(--blue-800);
      letter-spacing: -0.02em;
    }

    .brand-logo span { color: var(--blue-400); }

    .brand-badge {
      border: 1px solid var(--blue-100);
      background: linear-gradient(135deg, rgba(47, 109, 225, 0.08), rgba(201, 164, 104, 0.14));
      color: var(--blue-800);
      border-radius: 999px;
      padding: 8px 14px;
      font-size: 12px;
      font-weight: 700;
    }

    .layout {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 22px;
      margin-top: 28px;
      align-items: start;
    }

    .card {
      background: rgba(255, 255, 255, 0.82);
      border: var(--border);
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow);
      padding: 26px;
      backdrop-filter: blur(14px);
    }

    .hero-card {
      padding: 34px 28px;
      min-height: 100%;
    }

    .eyebrow {
      font-size: 12px;
      font-weight: 800;
      letter-spacing: 1px;
      text-transform: uppercase;
      color: var(--blue-600);
      margin-bottom: 12px;
    }

    h1 {
      font-size: 36px;
      line-height: 1.08;
      margin-bottom: 14px;
    }

    .muted {
      color: var(--gray-500);
      font-size: 14px;
    }

    .bullet-list {
      display: grid;
      gap: 10px;
      margin-top: 22px;
    }

    .bullet {
      display: flex;
      gap: 10px;
      align-items: flex-start;
      padding: 12px 14px;
      border-radius: 14px;
      background: linear-gradient(180deg, #fffdfb 0%, #f8f1e8 100%);
      border: var(--border);
      box-shadow: 0 10px 18px rgba(92, 59, 38, 0.05);
    }

    .bullet strong {
      display: block;
      font-size: 14px;
      margin-bottom: 2px;
    }

    .bullet-dot {
      width: 10px;
      height: 10px;
      border-radius: 999px;
      background: var(--blue-600);
      margin-top: 6px;
      flex-shrink: 0;
    }

    .tabs {
      display: flex;
      gap: 10px;
      margin-bottom: 18px;
      flex-wrap: wrap;
    }

    .tab-btn {
      border: 1px solid var(--gray-200);
      background: rgba(255, 250, 245, 0.94);
      color: var(--gray-900);
      border-radius: 999px;
      padding: 10px 14px;
      font-size: 13px;
      font-weight: 700;
      cursor: pointer;
      transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
    }

    .tab-btn:hover {
      transform: translateY(-1px);
      box-shadow: 0 12px 20px rgba(92, 59, 38, 0.08);
      border-color: var(--blue-100);
    }

    .tab-btn.active {
      background: linear-gradient(135deg, var(--blue-600), var(--blue-400));
      border-color: var(--blue-600);
      color: #fff;
      box-shadow: 0 18px 30px rgba(18, 35, 63, 0.18);
    }

    .panel { display: none; }
    .panel.active { display: block; }

    .panel-title {
      font-size: 24px;
      font-weight: 800;
      margin-bottom: 8px;
    }

    .panel-subtitle {
      color: var(--gray-500);
      font-size: 14px;
      margin-bottom: 20px;
    }

    .info-box {
      display: none;
      padding: 12px 14px;
      border-radius: 14px;
      font-size: 14px;
      margin-bottom: 16px;
      border: 1px solid var(--blue-100);
      background: linear-gradient(135deg, rgba(47, 109, 225, 0.09), rgba(201, 164, 104, 0.15));
      color: var(--blue-800);
    }

    .partner-box {
      display: none;
      padding: 12px 14px;
      border-radius: 14px;
      font-size: 14px;
      margin-bottom: 16px;
      border: 1px solid var(--blue-100);
      background: linear-gradient(135deg, rgba(47, 109, 225, 0.09), rgba(201, 164, 104, 0.15));
      color: var(--blue-800);
    }

    .message {
      display: none;
      padding: 12px 14px;
      border-radius: 14px;
      font-size: 14px;
      margin-bottom: 16px;
      border: 1px solid transparent;
    }

    .message.error {
      background: var(--red-50);
      color: var(--red-700);
      border-color: #efc3c3;
    }

    .message.success {
      background: var(--green-50);
      color: var(--green-700);
      border-color: #cce4d6;
    }

    form {
      display: grid;
      gap: 16px;
    }

    .split {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 14px;
    }

    .field label {
      display: block;
      font-size: 13px;
      font-weight: 700;
      margin-bottom: 6px;
    }

    .field input,
    .field select {
      width: 100%;
      padding: 12px 13px;
      border: 1px solid var(--gray-200);
      border-radius: 12px;
      background: rgba(255, 255, 255, 0.84);
      font: inherit;
      color: var(--gray-900);
      transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
    }

    .field input:focus,
    .field select:focus {
      outline: none;
      border-color: var(--blue-400);
      background: #fff;
      box-shadow: 0 0 0 4px rgba(47, 109, 225, 0.12);
    }

.password-field {
  position: relative;
}

.password-field input {
  padding-right: 64px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.26);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(241, 245, 249, 0.94));
  color: #64748b;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

.password-toggle:hover {
  background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(219, 234, 254, 0.96));
  color: var(--blue-600);
  transform: translateY(-50%) translateY(-1px);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
}

.password-toggle:focus-visible {
  outline: none;
  color: var(--blue-600);
  box-shadow: 0 0 0 4px rgba(47, 109, 225, 0.16), 0 14px 28px rgba(15, 23, 42, 0.12);
}

.password-toggle-icon {
  width: 20px;
  height: 20px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 20px 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.05 12.01S5.68 6.5 12 6.5s9.95 5.51 9.95 5.51-3.63 5.49-9.95 5.49-9.95-5.49-9.95-5.49Z'/%3E%3Cpath d='M15.2 12a3.2 3.2 0 1 1-6.4 0 3.2 3.2 0 0 1 6.4 0Z'/%3E%3Cpath d='m4 4 16 16'/%3E%3C/svg%3E");
}

.password-toggle.is-visible .password-toggle-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%232f6de1' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.05 12.01S5.68 6.5 12 6.5s9.95 5.51 9.95 5.51-3.63 5.49-9.95 5.49-9.95-5.49-9.95-5.49Z'/%3E%3Cpath d='M15.2 12a3.2 3.2 0 1 1-6.4 0 3.2 3.2 0 0 1 6.4 0Z'/%3E%3C/svg%3E");
}

    .phone-row {
      display: grid;
      grid-template-columns: 150px 1fr;
      gap: 12px;
    }

    .hint {
      color: var(--gray-500);
      font-size: 12px;
      margin-top: 6px;
    }

    .btn {
      border: none;
      background: linear-gradient(135deg, var(--blue-600), var(--blue-400));
      color: #fff;
      border-radius: 999px;
      padding: 12px 20px;
      font-size: 14px;
      font-weight: 700;
      cursor: pointer;
      box-shadow: 0 18px 30px rgba(18, 35, 63, 0.18);
      transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
    }

    .btn:hover {
      filter: saturate(1.03);
      transform: translateY(-1px);
      box-shadow: 0 22px 34px rgba(18, 35, 63, 0.22);
    }
    .btn:disabled { opacity: 0.65; cursor: not-allowed; }

    .link-row {
      margin-top: 18px;
      font-size: 13px;
      color: var(--gray-500);
    }

    .link-row a {
      color: var(--blue-600);
      font-weight: 700;
      text-decoration: none;
    }

    .link-row a:hover { text-decoration: underline; }

    @media (max-width: 920px) {
      .layout, .split, .phone-row {
        grid-template-columns: 1fr;
      }
    }
