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

  /* ── Card ── */
  .ff-form-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 36px 32px 28px;
    max-width: 560px;
    width: 100%;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  }

  /* ── Title ── */
  .ff-form-card h2 {
    font-size: 22px;
    font-weight: 700;
    color: #0d1b2a;
    margin-bottom: 4px;
    line-height: 1.3;
  }
  .ff-form-card .ff-subtitle {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 24px;
  }

  /* ── Grid layouts ── */
  .ff-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
  }
  .ff-grid-3 {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
  }

  /* ── Field ── */
  .ff-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .ff-field label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #4b5563;
  }
  .ff-field label .ff-req {
    color: #ef4444;
    margin-left: 2px;
  }
  .ff-field input {
    height: 46px;
    padding: 0 12px;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    color: #111827;
    background: #fff;
    outline: none;
    transition: border-color 0.15s;
    width: 100%;
  }
  .ff-field input::placeholder { color: #9ca3af; }
  .ff-field input:focus { border-color: #D4A017; }
  .ff-field input.ff-error { border-color: #ef4444; }
  .ff-field .ff-field-error {
    font-size: 11px;
    color: #ef4444;
    margin-top: 2px;
    display: none;
  }
  .ff-field.ff-has-error .ff-field-error { display: block; }

  /* ── Radio group ── */
  .ff-radio-group {
    margin-bottom: 16px;
  }
  .ff-radio-group .ff-radio-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #4b5563;
    margin-bottom: 10px;
    display: block;
  }
  .ff-radio-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }
  .ff-radio-row label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #111827;
    cursor: pointer;
    user-select: none;
  }
  /* Hide native radio */
  .ff-radio-row input[type="radio"] { display: none; }
  /* Custom radio circle */
  .ff-radio-row .ff-radio-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #d1d5db;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: border-color 0.15s;
  }
  .ff-radio-row .ff-radio-dot::after {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #D4A017;
    opacity: 0;
    transition: opacity 0.15s;
  }
  .ff-radio-row input[type="radio"]:checked + .ff-radio-dot {
    border-color: #D4A017;
  }
  .ff-radio-row input[type="radio"]:checked + .ff-radio-dot::after {
    opacity: 1;
  }

  /* ── Project type 2x2 grid ── */
  .ff-radio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 24px;
  }

  /* ── Submit button ── */
  .ff-submit {
    width: 100%;
    padding: 16px;
    background: #D4A017;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 24px;
    transition: background 0.15s, opacity 0.15s;
    letter-spacing: 0.01em;
  }
  .ff-submit:hover:not(:disabled) { background: #c09012; }
  .ff-submit:disabled { opacity: 0.7; cursor: not-allowed; }

  /* ── Form-level error ── */
  .ff-form-error {
    margin-top: 12px;
    font-size: 13px;
    color: #ef4444;
    text-align: center;
    display: none;
  }
  .ff-form-error.ff-visible { display: block; }

  /* ── Consent text ── */
  .ff-consent {
    margin-top: 14px;
    font-size: 11px;
    color: #9ca3af;
    line-height: 1.5;
  }

  /* ── Success state ── */
  .ff-success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px 0;
    gap: 12px;
  }
  .ff-success.ff-visible { display: flex; }
  .ff-success-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #D4A017;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
  }
  .ff-success h3 {
    font-size: 20px;
    font-weight: 700;
    color: #0d1b2a;
  }
  .ff-success p {
    font-size: 14px;
    color: #6b7280;
    max-width: 340px;
  }

  /* ── Mobile ── */
  @media (max-width: 480px) {
    .ff-form-card { padding: 28px 20px 22px; }
    .ff-grid-2, .ff-grid-3 { grid-template-columns: 1fr; }
    .ff-radio-grid { grid-template-columns: 1fr; }
  }
