    :root {
      --wcb-purple: #4e2c7e;
      --wcb-purple-dark: #2f164f;
      --ink: #202125;
      --muted: #7e7e81;
      --line: #e4e4e7;
      --panel: #ffffff;
      --page: #fefcff;
      --soft: #f6f1fb;
      --field: #ffffff;
      --danger: #e83f4b;
      --success: #19b95f;
      --focus: #55c6e8;
      --shadow: 0 24px 70px rgba(32, 33, 37, 0.07);
      --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    }

    * {
      box-sizing: border-box;
    }

    body {
      margin: 0;
      background: var(--page);
      color: var(--ink);
      font-family: var(--font);
      line-height: 1.55;
    }

    button,
    input,
    select,
    textarea {
      font: inherit;
    }

    .page-shell {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
    }

    .hero {
      background: linear-gradient(120deg, var(--wcb-purple), var(--wcb-purple-dark));
      color: white;
      padding: clamp(16px, 3vw, 24px) clamp(16px, 5vw, 72px);
    }

    .hero-inner {
      width: min(1060px, 100%);
      min-height: 68px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
    }

    .brand-logo-link {
      display: inline-flex;
      align-items: center;
      min-width: 0;
      border-radius: 4px;
    }

    .brand-logo {
      width: clamp(116px, 16vw, 196px);
      height: auto;
      display: block;
    }

    .portal-tag {
      border: 1px solid rgba(255, 255, 255, 0.38);
      color: white;
      padding: 10px 16px;
      font-weight: 800;
      font-size: clamp(13px, 1.4vw, 15px);
      line-height: 1.2;
      text-align: center;
      white-space: nowrap;
    }

    main {
      flex: 1;
      padding: clamp(28px, 5vw, 72px) 16px;
    }

    .form-card {
      width: min(960px, 100%);
      margin: 0 auto;
      background: var(--panel);
      border: 1px solid rgba(78, 44, 126, 0.08);
      box-shadow: var(--shadow);
    }

    .form-head {
      padding: clamp(30px, 5vw, 56px) clamp(22px, 5vw, 56px) 28px;
      border-bottom: 1px solid var(--line);
    }

    .form-head-top {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
      gap: clamp(20px, 4vw, 44px);
      align-items: start;
    }

    .form-heading {
      min-width: 0;
    }

    .form-title {
      margin: 0;
      color: var(--wcb-purple);
      font-size: 24px;
      font-weight: 700;
      line-height: 1.35;
      text-transform: none;
    }

    .programme-title {
      margin: 0 0 8px;
      color: var(--wcb-purple);
      font-size: 28px;
      font-weight: 700;
      line-height: 1.5em;
    }

    .form-kicker {
      margin: 8px 0 0;
      color: var(--wcb-purple);
      font-size: 13px;
      font-weight: 600;
      letter-spacing: 0;
      text-transform: none;
    }

    .programme-switch {
      min-width: 0;
      padding: 16px;
      border: 1px solid rgba(78, 44, 126, 0.16);
      background: #fbf9fd;
    }

    .programme-switch label {
      margin-bottom: 8px;
      font-size: 13px;
    }

    .programme-switch select {
      min-height: 48px;
      border-color: rgba(78, 44, 126, 0.26);
      font-weight: 700;
    }

    .stepper {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: clamp(10px, 2vw, 24px);
      margin-top: 34px;
      counter-reset: step;
    }

    .step-pill {
      min-width: 0;
      border: 0;
      background: transparent;
      color: var(--muted);
      display: grid;
      grid-template-columns: 34px minmax(0, 1fr);
      align-items: center;
      gap: 12px;
      padding: 0;
      text-align: left;
      cursor: pointer;
    }

    .step-number {
      width: 34px;
      height: 34px;
      border-radius: 50%;
      display: grid;
      place-items: center;
      border: 1px solid #cccccc;
      background: white;
      font-weight: 800;
      color: #98989a;
    }

    .step-label {
      min-width: 0;
      font-size: 13px;
      font-weight: 700;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .step-pill.is-active .step-number,
    .step-pill.is-complete .step-number {
      background: var(--wcb-purple);
      border-color: var(--wcb-purple);
      color: white;
    }

    .step-pill.is-active .step-label,
    .step-pill.is-complete .step-label {
      color: var(--wcb-purple);
    }

    .form-body {
      padding: clamp(30px, 5vw, 56px);
    }

    .step-panel {
      display: none;
    }

    .step-panel.is-active {
      display: block;
    }

    .intro-block {
      display: grid;
      gap: 24px;
    }

    .partner-strip {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      align-items: center;
      padding: 14px;
      background: #fbf9fd;
      border: 1px solid #eee8f5;
    }

    .partner {
      padding: 8px 10px;
      background: white;
      border: 1px solid var(--line);
      color: var(--wcb-purple);
      font-weight: 600;
      font-size: 12px;
    }

    .section {
      padding-top: 4px;
    }

    .section + .section {
      margin-top: 34px;
      padding-top: 34px;
      border-top: 2px solid rgba(240, 85, 133, 0.45);
    }

    h2 {
      margin: 0 0 4px;
      color: var(--wcb-purple);
      font-size: clamp(20px, 2.2vw, 24px);
      font-weight: 700;
      line-height: 1.3;
      text-transform: none;
    }

    h3 {
      margin: 0 0 20px;
      color: var(--wcb-purple);
      font-size: clamp(16px, 2vw, 20px);
      font-weight: 600;
    }

    .copy {
      margin: 0;
      color: var(--wcb-purple);
      font-size: 15px;
      max-width: 62ch;
    }

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

    .field {
      min-width: 0;
    }

    .field.full {
      grid-column: 1 / -1;
    }

    label,
    .field-label {
      display: block;
      color: var(--wcb-purple);
      font-size: 14px;
      font-weight: 650;
      margin: 0 0 8px;
    }

    .required {
      color: var(--danger);
    }

    input,
    select,
    textarea {
      width: 100%;
      min-height: 44px;
      border: 1px solid #bfc3cf;
      border-radius: 4px;
      background: var(--field);
      color: var(--ink);
      padding: 11px 16px;
      outline: 0;
      transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
    }

    select {
      appearance: none;
      background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.5 6.75L9 11.25L13.5 6.75' stroke='%23535A6A' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
      background-position: right 18px center;
      background-repeat: no-repeat;
      background-size: 18px 18px;
      padding-right: 52px;
    }

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

    input:focus,
    select:focus,
    textarea:focus {
      border-color: var(--focus);
      box-shadow: 0 0 0 4px rgba(85, 198, 232, 0.2);
    }

    .hint {
      margin: 6px 0 0;
      color: #8067a8;
      font-size: 12px;
    }

    .error-text {
      display: none;
      margin: 6px 0 0;
      color: var(--danger);
      font-size: 12px;
      font-weight: 700;
    }

    .field.is-invalid input,
    .field.is-invalid select,
    .field.is-invalid textarea,
    .choice-group.is-invalid {
      border-color: var(--danger);
      box-shadow: 0 0 0 4px rgba(232, 63, 75, 0.08);
    }

    .field.is-invalid .error-text,
    .choice-wrap.is-invalid .error-text {
      display: block;
    }

    .choice-group {
      min-height: 44px;
      display: flex;
      flex-wrap: wrap;
      gap: 16px;
      align-items: center;
      border: 1px solid transparent;
      padding: 8px 0;
    }

    .choice {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      color: var(--ink);
      font-weight: 500;
    }

    .choice input {
      width: 18px;
      height: 18px;
      min-height: 0;
      accent-color: var(--wcb-purple);
      padding: 0;
    }

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

    .upload-box {
      position: relative;
      min-height: 132px;
      border: 1px dashed #8d94a3;
      display: grid;
      place-items: center;
      padding: 20px;
      text-align: center;
      background: #fbfcff;
      cursor: pointer;
    }

    .upload-box input {
      position: absolute;
      inset: 0;
      opacity: 0;
      cursor: pointer;
    }

    .upload-icon {
      width: 34px;
      height: 34px;
      margin: 0 auto 8px;
      border-radius: 50%;
      display: grid;
      place-items: center;
      background: #c8cfdd;
      color: white;
      font-weight: 900;
    }

    .upload-main {
      margin: 0;
      font-weight: 800;
      color: #343846;
    }

    .upload-sub {
      margin: 2px 0 0;
      color: #596277;
      font-size: 13px;
    }

    .upload-file {
      margin-top: 8px;
      color: var(--wcb-purple);
      font-size: 12px;
      font-weight: 800;
      overflow-wrap: anywhere;
    }

    .consent {
      display: grid;
      grid-template-columns: 22px minmax(0, 1fr);
      gap: 10px;
      align-items: start;
      color: var(--wcb-purple);
      font-size: 13px;
      font-weight: 600;
    }

    .consent input {
      width: 18px;
      height: 18px;
      min-height: 0;
      accent-color: var(--wcb-purple);
    }

    .actions {
      display: flex;
      justify-content: space-between;
      gap: 16px;
      margin-top: 34px;
      padding-top: 24px;
      border-top: 1px solid var(--line);
    }

    .btn {
      min-width: 132px;
      min-height: 48px;
      border: 0;
      border-radius: 4px;
      padding: 12px 22px;
      font-weight: 700;
      cursor: pointer;
      transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
    }

    .btn:hover {
      transform: translateY(-1px);
      box-shadow: 0 12px 24px rgba(32, 33, 37, 0.12);
    }

    .btn:disabled {
      opacity: 0.45;
      cursor: not-allowed;
      transform: none;
      box-shadow: none;
    }

    .btn-back {
      background: #e8e7f2;
      color: #343846;
    }

    .btn-next {
      background: var(--wcb-purple);
      color: white;
    }

    .btn-submit {
      background: var(--success);
      color: white;
    }

    .summary-box {
      display: none;
      border: 1px solid rgba(78, 44, 126, 0.18);
      background: var(--soft);
      padding: 16px;
      margin-top: 18px;
      color: var(--wcb-purple);
      font-weight: 600;
    }

    .summary-box.is-visible {
      display: block;
    }

    .success-panel {
      display: none;
      text-align: center;
      padding: clamp(44px, 7vw, 84px) clamp(20px, 5vw, 48px);
    }

    .success-panel.is-active {
      display: block;
    }

    .checkmark {
      width: 72px;
      height: 72px;
      margin: 0 auto 22px;
      border-radius: 50%;
      display: grid;
      place-items: center;
      background: var(--wcb-purple);
      color: white;
      font-size: 42px;
      line-height: 1;
    }

    .success-panel h2 {
      text-transform: none;
      font-size: clamp(24px, 3.2vw, 34px);
    }

    .footer {
      background: var(--wcb-purple);
      color: white;
      padding: clamp(34px, 5vw, 52px) 16px 24px;
      text-align: center;
    }

    .footer-inner {
      width: min(1060px, 100%);
      margin: 0 auto;
      display: grid;
      justify-items: center;
      gap: 16px;
    }

    .footer-logo {
      width: min(140px, 44vw);
      height: auto;
      display: block;
    }

    .footer-address {
      margin: 0;
      max-width: 620px;
      color: rgba(255, 255, 255, 0.84);
      font-size: clamp(14px, 1.4vw, 16px);
      line-height: 1.6;
    }

    .footer-hours {
      margin: 0;
      font-weight: 800;
    }

    .socials {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 24px;
    }

    .social {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      display: grid;
      place-items: center;
      background: transparent;
      text-decoration: none;
      transition: transform 0.15s ease, opacity 0.15s ease;
    }

    .social:hover {
      opacity: 0.86;
      transform: translateY(-1px);
    }

    .social img {
      width: 36px;
      height: 36px;
      display: block;
    }

    .copyright {
      width: 100%;
      border-top: 1px solid rgba(255, 255, 255, 0.24);
      margin: 6px 0 0;
      padding-top: 20px;
      color: rgba(255, 255, 255, 0.86);
      font-size: 14px;
    }

    @media (max-width: 760px) {
      .hero-inner {
        min-height: 0;
        align-items: center;
        flex-direction: column;
        gap: 14px;
      }

      .portal-tag {
        width: min(100%, 360px);
        white-space: normal;
      }

      .form-head-top {
        grid-template-columns: 1fr;
        gap: 22px;
      }

      .programme-switch {
        padding: 14px;
      }

      .stepper {
        grid-template-columns: repeat(2, 1fr);
      }

      .grid,
      .upload-grid {
        grid-template-columns: 1fr;
      }

      .actions {
        flex-direction: column-reverse;
      }

      .btn {
        width: 100%;
      }
    }

    @media (max-width: 430px) {
      .hero {
        padding-top: 18px;
        padding-bottom: 18px;
      }

      .brand-logo {
        width: min(148px, 56vw);
      }

      .form-head,
      .form-body {
        padding-left: 16px;
        padding-right: 16px;
      }

      .form-title {
        font-size: 21px;
      }

      .programme-title {
        font-size: 25px;
      }

      .programme-switch {
        padding: 12px;
      }

      input,
      select,
      textarea {
        padding-left: 14px;
        padding-right: 14px;
      }

      select {
        background-position: right 14px center;
        padding-right: 44px;
      }

      .footer {
        padding-bottom: 20px;
      }

      .footer-logo {
        width: min(124px, 46vw);
      }

      .social,
      .social img {
        width: 34px;
        height: 34px;
      }

      .step-label {
        font-size: 12px;
      }

      .step-pill {
        grid-template-columns: 30px minmax(0, 1fr);
      }

      .step-number {
        width: 30px;
        height: 30px;
      }
    }
