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

    :root {
      --brand: #E8294A;
      --brand-light: #FF6B82;
      --brand-soft: #FFF0F2;
      --brand-mid: #FFDDE2;
      --brand-hover: #C41E38;
      --brand-rgb: 232, 41, 74;
      --warm: #FFF7F0;
      --cream: #FFFBF5;
      --dark: #1A0A0E;
      --gray: #6B5B5F;
      --gray-light: #F5EFEF;
      --white: #FFFFFF;
      --font-head: 'Playfair Display', serif;
      --font-body: 'Nunito', sans-serif;
      --shadow-card: 0 4px 20px rgba(26, 10, 14, 0.07);
      --shadow-lift: 0 12px 36px rgba(26, 10, 14, .10);
      --green: #1D9E75;
      --green-soft: #EAF8F2;
      --amber: #BA7517;
      --amber-soft: #FFF6E8;
      --blue: #185FA5;
      --radius: 18px;
    }

    html {
      scroll-behavior: smooth
    }

    body {
      font-family: var(--font-body);
      background: var(--cream);
      color: var(--dark);
      line-height: 1.6;
      min-height: 100vh
    }

    .wrap {
      max-width: 760px;
      margin: 0 auto;
      padding: 0 5% 80px
    }

    /* ── Top bar ───────────────────────────────────────────────── */
    .topbar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 20px 5%;
      background: rgba(255, 255, 255, .9);
      backdrop-filter: blur(10px);
      position: sticky;
      top: 0;
      z-index: 50;
      border-bottom: 1px solid var(--brand-mid)
    }

    .topbar-logo {
      display: flex;
      align-items: center;
      gap: 10px
    }

    .topbar-logo-icon {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: var(--brand);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 17px
    }

    .topbar-logo span {
      font-size: 1.15rem;
      font-weight: 800
    }

    .topbar-logo em {
      font-style: normal;
      color: var(--brand)
    }

    .topbar-save {
      font-size: .82rem;
      color: var(--gray);
      font-weight: 700
    }

    /* ── Progress stepper ──────────────────────────────────────── */
    .stepper {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      margin: 36px 0 8px;
      position: relative
    }

    .stepper::before {
      content: '';
      position: absolute;
      top: 15px;
      left: 6%;
      right: 6%;
      height: 2px;
      background: var(--gray-light);
      z-index: 0
    }

    .stepper-fill {
      position: absolute;
      top: 15px;
      left: 6%;
      height: 2px;
      background: var(--brand);
      z-index: 1;
      transition: width .35s ease;
      width: 0%
    }

    .step {
      position: relative;
      z-index: 2;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
      flex: 1
    }

    .step-dot {
      width: 32px;
      height: 32px;
      border-radius: 50%;
      background: var(--white);
      border: 2px solid var(--gray-light);
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 800;
      font-size: .85rem;
      color: var(--gray);
      transition: all .25s
    }

    .step.done .step-dot {
      background: var(--brand);
      border-color: var(--brand);
      color: white
    }

    .step.active .step-dot {
      border-color: var(--brand);
      color: var(--brand);
      box-shadow: 0 0 0 5px var(--brand-soft)
    }

    .step-label {
      font-size: .72rem;
      font-weight: 700;
      color: var(--gray);
      text-align: center;
      max-width: 90px
    }

    .step.active .step-label {
      color: var(--dark)
    }

    /* ── Card ──────────────────────────────────────────────────── */
    .form-card {
      background: var(--white);
      border-radius: 24px;
      box-shadow: var(--shadow-lift);
      padding: 36px 32px;
      margin-top: 28px
    }

    .form-eyebrow {
      font-size: .76rem;
      font-weight: 800;
      letter-spacing: .06em;
      text-transform: uppercase;
      color: var(--brand);
      margin-bottom: 8px
    }

    .form-title {
      font-family: var(--font-head);
      font-size: clamp(1.5rem, 3vw, 1.9rem);
      margin-bottom: 8px
    }

    .form-sub {
      color: var(--gray);
      font-size: .94rem;
      margin-bottom: 28px;
      max-width: 480px
    }

    .field-group {
      margin-bottom: 20px
    }

    .field-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px
    }

    label {
      display: block;
      font-size: .82rem;
      font-weight: 700;
      margin-bottom: 7px;
      color: var(--dark)
    }

    label .opt {
      font-weight: 600;
      color: var(--gray);
      text-transform: none;
      letter-spacing: 0
    }

    .hint {
      font-size: .76rem;
      color: var(--gray);
      margin-top: 5px
    }

    input[type=text],
    input[type=email],
    input[type=tel],
    input[type=password],
    textarea,
    select {
      width: 100%;
      padding: 12px 14px;
      border-radius: 12px;
      border: 1.5px solid var(--gray-light);
      background: var(--warm);
      font-family: var(--font-body);
      font-size: .94rem;
      color: var(--dark);
      outline: none;
      transition: border-color .2s, background .2s
    }

    input:focus,
    textarea:focus,
    select:focus {
      border-color: var(--brand);
      background: white
    }

    textarea {
      resize: vertical;
      min-height: 88px
    }

    .field-error {
      border-color: #D64545 !important
    }

    .error-msg {
      font-size: .76rem;
      color: #D64545;
      margin-top: 5px;
      display: none
    }

    .field-error+.error-msg,
    .field-error~.error-msg {
      display: block
    }

    /* Org type cards */
    .type-grid {
      display: grid;
      grid-template-columns: 1fr 1fr 1fr;
      gap: 10px;
      margin-bottom: 22px
    }

    .type-card {
      border: 1.5px solid var(--gray-light);
      border-radius: 14px;
      padding: 16px 10px;
      text-align: center;
      cursor: pointer;
      transition: all .15s;
      background: var(--warm)
    }

    .type-card:hover {
      border-color: var(--brand-mid)
    }

    .type-card.selected {
      border-color: var(--brand);
      background: var(--brand-soft)
    }

    .type-icon {
      font-size: 1.5rem;
      margin-bottom: 6px
    }

    .type-name {
      font-size: .82rem;
      font-weight: 700
    }

    /* Upload zones */
    .upload-zone {
      border: 1.5px dashed var(--gray-light);
      border-radius: 14px;
      padding: 20px;
      text-align: center;
      cursor: pointer;
      transition: all .15s;
      background: var(--warm)
    }

    .upload-zone:hover {
      border-color: var(--brand-mid);
      background: var(--brand-soft)
    }

    .upload-zone.has-file {
      border-style: solid;
      border-color: var(--green);
      background: var(--green-soft)
    }

    .upload-icon {
      font-size: 1.4rem;
      margin-bottom: 6px
    }

    .upload-label {
      font-size: .86rem;
      font-weight: 700
    }

    .upload-hint {
      font-size: .75rem;
      color: var(--gray);
      margin-top: 4px
    }

    .upload-filename {
      font-size: .82rem;
      font-weight: 700;
      color: var(--green);
      margin-top: 6px
    }

    input[type=file] {
      display: none
    }

    .doc-item {
      display: flex;
      align-items: flex-start;
      gap: 14px;
      padding: 16px;
      border: 1.5px solid var(--gray-light);
      border-radius: 14px;
      margin-bottom: 14px
    }

    .doc-item-body {
      flex: 1
    }

    .doc-item-title {
      font-weight: 800;
      font-size: .9rem;
      margin-bottom: 2px
    }

    .doc-item-desc {
      font-size: .78rem;
      color: var(--gray);
      margin-bottom: 10px
    }

    /* Trust/info panel */
    .info-panel {
      background: var(--brand-soft);
      border: 1px solid var(--brand-mid);
      border-radius: 14px;
      padding: 16px 18px;
      display: flex;
      gap: 12px;
      margin-bottom: 26px
    }

    .info-panel-icon {
      font-size: 1.2rem;
      flex-shrink: 0
    }

    .info-panel-text {
      font-size: .85rem;
      color: var(--dark);
      line-height: 1.55
    }

    .info-panel-text strong {
      color: var(--brand-hover)
    }

    /* Review step */
    .review-section {
      margin-bottom: 22px
    }

    .review-section h4 {
      font-size: .82rem;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: .04em;
      color: var(--gray);
      margin-bottom: 10px;
      display: flex;
      justify-content: space-between;
      align-items: center
    }

    .review-edit {
      font-size: .74rem;
      color: var(--brand);
      font-weight: 700;
      cursor: pointer;
      text-transform: none;
      letter-spacing: 0
    }

    .review-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px 20px;
      font-size: .88rem
    }

    .review-grid div span {
      display: block;
      color: var(--gray);
      font-size: .74rem;
      font-weight: 700;
      margin-bottom: 2px
    }

    .consent-row {
      display: flex;
      gap: 10px;
      align-items: flex-start;
      background: var(--warm);
      border-radius: 12px;
      padding: 14px 16px;
      margin-bottom: 12px
    }

    .consent-row input {
      width: 17px;
      height: 17px;
      margin-top: 2px;
      accent-color: var(--brand);
      flex-shrink: 0
    }

    .consent-row label {
      font-size: .82rem;
      font-weight: 600;
      color: var(--dark);
      margin: 0
    }

    .consent-row a {
      color: var(--brand);
      font-weight: 700
    }

    /* Nav buttons */
    .form-nav {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-top: 30px;
      gap: 12px
    }

    .btn {
      font-family: var(--font-body);
      font-size: .92rem;
      font-weight: 800;
      padding: 13px 28px;
      border-radius: 50px;
      border: none;
      cursor: pointer;
      transition: all .2s
    }

    .btn-primary {
      background: var(--brand);
      color: white;
      box-shadow: 0 6px 18px rgba(var(--brand-rgb), .28)
    }

    .btn-primary:hover {
      background: var(--brand-hover);
      transform: translateY(-1px)
    }

    .btn-primary:disabled {
      opacity: .45;
      cursor: not-allowed;
      transform: none
    }

    .btn-ghost {
      background: transparent;
      color: var(--gray);
      border: 1.5px solid var(--gray-light)
    }

    .btn-ghost:hover {
      border-color: var(--brand-mid);
      color: var(--brand)
    }

    /* Success / pending state */
    .pending-wrap {
      text-align: center;
      padding: 20px 10px
    }

    .pending-icon {
      width: 76px;
      height: 76px;
      border-radius: 50%;
      background: var(--amber-soft);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 2.1rem;
      margin: 0 auto 20px
    }

    .pending-title {
      font-family: var(--font-head);
      font-size: 1.7rem;
      margin-bottom: 10px
    }

    .pending-sub {
      color: var(--gray);
      max-width: 440px;
      margin: 0 auto 32px;
      font-size: .94rem
    }

    .pending-id {
      display: inline-block;
      background: var(--warm);
      border: 1px solid var(--gray-light);
      border-radius: 50px;
      padding: 7px 18px;
      font-size: .82rem;
      font-weight: 700;
      margin-bottom: 36px
    }

    .timeline {
      text-align: left;
      max-width: 440px;
      margin: 0 auto
    }

    .tl-row {
      display: flex;
      gap: 16px;
      position: relative;
      padding-bottom: 28px
    }

    .tl-row:last-child {
      padding-bottom: 0
    }

    .tl-row::before {
      content: '';
      position: absolute;
      left: 15px;
      top: 32px;
      bottom: 0;
      width: 2px;
      background: var(--gray-light)
    }

    .tl-row:last-child::before {
      display: none
    }

    .tl-dot {
      width: 32px;
      height: 32px;
      border-radius: 50%;
      flex-shrink: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: .85rem;
      font-weight: 800;
      z-index: 1
    }

    .tl-row.tl-done .tl-dot {
      background: var(--green);
      color: white
    }

    .tl-row.tl-active .tl-dot {
      background: var(--amber-soft);
      color: var(--amber);
      border: 2px solid var(--amber)
    }

    .tl-row.tl-pending .tl-dot {
      background: var(--gray-light);
      color: var(--gray)
    }

    .tl-body-title {
      font-weight: 800;
      font-size: .9rem;
      margin-bottom: 3px
    }

    .tl-body-desc {
      font-size: .8rem;
      color: var(--gray)
    }

    @media (max-width:640px) {
      .field-row {
        grid-template-columns: 1fr
      }

      .type-grid {
        grid-template-columns: 1fr
      }

      .form-card {
        padding: 26px 20px
      }

      .review-grid {
        grid-template-columns: 1fr
      }

      .step-label {
        display: none
      }
    }

    /* ── Topbar logo: one clean link (the emoji was a separate underlined link before) ── */
    a.topbar-logo {
      text-decoration: none;
      color: inherit
    }

    .topbar-logo-icon {
      flex: none
    }
