 .pal-form-container {
    /* === THEME VARIABLES ===
       --pal-accent/-error/-success/-muted/-radius still drive the status
       message + fineprint. PAL brand gold (#B6A269) and Barlow are applied
       directly on inputs / buttons / options below (not via --pal-accent). */
    --pal-accent: #111111;
    --pal-accent-hover: #000000;
    --pal-text: #1a1a1a;
    --pal-muted: #6b7280;
    --pal-border: #cbced3;
    --pal-border-focus: var(--pal-accent);
    --pal-bg: #ffffff;
    --pal-field-bg: #ffffff;
    --pal-error: #b91c1c;
    --pal-success: #15803d;
    --pal-radius: 4px;

    font-family: inherit;
    color: var(--pal-text);
    max-width: 680px;
    margin: 0 auto;
  }

  .pal-form-container * { box-sizing: border-box; }

  .pal-form-field { margin-bottom: 20px; }

  .pal-form-row {
    display: flex;
    gap: 16px;
  }
  .pal-form-row > .pal-form-field { flex: 1; margin-bottom: 20px; }

  @media (max-width: 520px) {
    .pal-form-row { flex-direction: column; gap: 0; }
  }

  .pal-form-label {
    color: rgb(10, 10, 10);
    display: block;
    margin-bottom: 6px;
    font-family: Barlow;
    font-size: 16px;
    font-weight: 500;
    font-style: normal;
    line-height: 150%;
    overflow-wrap: break-word;
  }
  .pal-form-label .pal-req { color: var(--pal-error); margin-left: 2px; }

  .pal-form-input,
  .pal-form-select,
  .pal-form-textarea {
    width: 100%;
    padding: 11px 12px;
    font-size: 16px;
    font-family: Barlow;
    border: 1px solid #E6E6E6;
    border-radius: 8px;
    background-color: rgb(255, 255, 255);
    color: #0A0A0A;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
  }

  .pal-form-input:focus,
  .pal-form-select:focus,
  .pal-form-textarea:focus {
    outline: none;
    background-color: rgba(182, 162, 105, 0.08);
    border-color: #B6A269;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  }

  .pal-form-textarea { min-height: 130px; resize: vertical; }

  /* Radio group: How did you hear about us */
  .pal-radio-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 20px;
    margin-top: 4px;
  }
  @media (max-width: 520px) {
    .pal-radio-group { grid-template-columns: 1fr; }
  }
  .pal-radio-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: #727272;
    font-size: 16px;
    font-weight: normal;
    padding: 12px;
    background: white;
    border-radius: 8px;
    border: 1px solid #E6E6E6;
  }

  .pal-radio-option:has(input[type="radio"]:checked) {
    color: #1A1A1A;
    background-color: rgba(182, 162, 105, 0.08);
    border: 1px solid #B6A269;
  }

  .pal-radio-option input { accent-color: #B6A269; }

  /* Terms checkbox */
  .pal-terms {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: rgb(255, 255, 255);
    box-shadow: 0 1px 2px #1018280d;
    border: 1px solid #E6E6E6;
    border-radius: 4px;
    padding: 12px 14px;
    font-family: Barlow;
    font-size: 16px;
    font-weight: normal;
    color: #A3A3A3;
    cursor: pointer;
  }

  .pal-terms:has(input[type="checkbox"]:checked) {
    color: #1A1A1A;
    background-color: rgba(182, 162, 105, 0.08);
    border: 1px solid #B6A269;
  }

  .pal-terms input { margin-top: 2px; accent-color: #E6E6E6; }

  .pal-form-button {
    width: 100%;
    padding: 13px 24px;
    font-size: 16px;
    font-weight: 500;
    font-family: inherit;
    color: #0A0A0A;
    background: #B6A269;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s ease;
    margin-top: 8px;
  }
  .pal-form-button:hover:not(:disabled) { background: #a28950; }
  .pal-form-button:disabled { opacity: 0.85; cursor: not-allowed; }

  /* In-button spinner — shown during submit so the user sees real activity */
  .pal-spinner {
    display: inline-block;
    width: 14px; height: 14px;
    border: 2px solid rgba(255,255,255,0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: pal-spin 0.7s linear infinite;
    vertical-align: -2px;
    margin-right: 8px;
  }
  @keyframes pal-spin { to { transform: rotate(360deg); } }

  .pal-form-message {
    padding: 12px 16px;
    border-radius: var(--pal-radius);
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.5;
    display: none;
  }
  .pal-form-message.pal-success {
    display: block; background: #ecfdf3; border: 1px solid var(--pal-success); color: #166534;
  }
  .pal-form-message.pal-error {
    display: block; background: #fef2f2; border: 1px solid var(--pal-error); color: #991b1b;
  }

  .pal-form-fineprint {
    font-size: 14px; color: var(--pal-muted); margin-top: 12px; line-height: 1.5;
  }

  /* Honeypot — hidden from humans */
  .pal-honeypot {
    position: absolute !important; left: -10000px !important;
    width: 1px !important; height: 1px !important; overflow: hidden !important;
  }

  /* intl-tel-input must size to full width */
  .pal-form-container .iti { width: 100%; }