/* Shared Contact Us form presentation, also used by the enrollment form. */
    .cu-card {
      background: #fff;
      border: 1px solid var(--border);
      border-radius: 16px;
      padding: 32px;
      box-shadow: 0 8px 24px rgba(11,31,58,.06);
      animation: cuRise .5s ease both;
    }
    .cu-card + .cu-card { animation-delay: .08s; }
    @keyframes cuRise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

    .cu-card h2 { margin: 0 0 6px; color: var(--navy); font-size: var(--fs-2xl); font-weight: 700; }
    .cu-card-intro { margin: 0 0 24px; font-size: .95rem; }

    /* Form */
    .cu-form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
    .cu-field { margin-bottom: 18px; }
    .cu-field label { display: block; margin-bottom: 6px; color: var(--navy); font-size: .9rem; font-weight: 600; }
    .cu-req { color: #DC2626; }
    .cu-field input,
    .cu-field select,
    .cu-field textarea {
      display: block;
      width: 100%;
      min-height: 48px;
      padding: 11px 14px;
      border: 1.5px solid var(--border);
      border-radius: 10px;
      background: #fff;
      color: var(--navy);
      font: inherit;
      font-size: 16px; /* keeps iOS from zooming on focus */
      transition: border-color .2s, box-shadow .2s;
    }
    .cu-field textarea { min-height: 140px; resize: vertical; }
    .cu-field input::placeholder,
    .cu-field textarea::placeholder { color: #94a3b8; }
    .cu-field input:hover,
    .cu-field select:hover,
    .cu-field textarea:hover { border-color: #C7D6F5; }
    .cu-field input:focus,
    .cu-field select:focus,
    .cu-field textarea:focus { outline: none; border-color: var(--primary-blue); box-shadow: 0 0 0 4px rgba(37,99,235,.14); }
    .cu-field [aria-invalid="true"] { border-color: #DC2626; }
    .cu-field [aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(220,38,38,.14); }
    .cu-error { display: block; margin-top: 5px; color: #B91C1C; font-size: .82rem; }
    .cu-error:empty { display: none; }

    /* Keeps the spam trap out of sight for people and off the tab order */
    .cu-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

    .cu-status { margin-bottom: 20px; padding: 13px 16px; border: 1px solid; border-radius: 10px; font-size: .95rem; font-weight: 500; }
    .cu-status[hidden] { display: none; }
    .cu-status i { margin-right: 6px; }
    .cu-status.is-success { background: #eff6ff; border-color: #eff6ff; color: #2563eb; }
    .cu-status.is-error { background: #FEF2F2; border-color: #FECACA; color: #B91C1C; }

    /* Homepage .btn-primary colours and shape; only the idle pulse is switched off */
    .cu-submit.btn-primary {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      min-height: 48px;
      border: 0;
      font: inherit;
      font-weight: 600;
      cursor: pointer;
      animation: none;
    }
    .cu-submit.btn-primary:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
    .cu-submit.btn-primary:disabled { opacity: .65; cursor: not-allowed; transform: none; }


@media (max-width: 600px) {
  .cu-card { padding: 22px 18px; }
  .cu-form-row { grid-template-columns: minmax(0, 1fr); }
  .cu-submit.btn-primary { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .cu-card { animation: none; } }
