.plf-form {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: #111827;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  max-width: 520px;
}

.plf-header {
  margin-bottom: 1rem;
}

.plf-title {
  margin: 0 0 0.25rem;
  font-size: 1.25rem;
  line-height: 1.3;
}

.plf-progress {
  margin: 0;
  font-size: 0.875rem;
  color: #6b7280;
}

.plf-body {
  display: grid;
  gap: 0.75rem;
}

.plf-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.plf-input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 0.65rem 0.75rem;
  font: inherit;
}

.plf-input:focus {
  outline: 2px solid #2563eb;
  outline-offset: 1px;
  border-color: #2563eb;
}

.plf-consents {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.plf-consent {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-size: 0.875rem;
  line-height: 1.45;
}

.plf-consent input {
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.plf-consent input:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.plf-consent-primary {
  flex-direction: column;
  gap: 0.35rem;
}

.plf-consent-label {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  cursor: pointer;
}

.plf-consent-privacy {
  font-size: 0.8125rem;
  color: #2563eb;
  text-decoration: none;
  margin-left: 1.5rem;
}

.plf-consent-privacy:hover {
  text-decoration: underline;
}

.plf-consent-details-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  color: #2563eb;
  cursor: pointer;
  text-align: left;
}

.plf-consent-details-toggle:hover {
  text-decoration: underline;
}

.plf-consent-details-toggle::after {
  content: "▾";
  font-size: 0.75rem;
  transition: transform 0.15s ease;
}

.plf-consent-details-toggle[aria-expanded="true"]::after {
  transform: rotate(180deg);
}

.plf-consent-details-intro {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #4b5563;
}

.plf-consent-details-box {
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 0.85rem 1rem;
  display: grid;
  gap: 0.85rem;
}

.plf-consent-optional {
  cursor: pointer;
}

.plf-consent-optional:has(input:disabled) {
  cursor: not-allowed;
  opacity: 0.65;
}

.plf-consent-optional strong {
  font-weight: 600;
  color: #111827;
}

.plf-consent-footnote {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #374151;
}

.plf-consent-footnote-muted {
  color: #6b7280;
  font-size: 0.75rem;
}

.plf-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
  margin-top: 1rem;
}

.plf-btn {
  border: 0;
  border-radius: 8px;
  padding: 0.65rem 1rem;
  font: inherit;
  cursor: pointer;
}

.plf-btn-primary {
  background: #2563eb;
  color: #fff;
}

.plf-btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.plf-btn-secondary {
  background: #f3f4f6;
  color: #111827;
}

.plf-status {
  min-height: 1.25rem;
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  color: #374151;
}

.plf-status-error {
  color: #b91c1c;
}

.plf-success,
.plf-error {
  padding: 1rem;
  border-radius: 10px;
  font-size: 0.95rem;
}

.plf-success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.plf-error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.plf-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.platform-lead-form-section {
  padding: 2rem 1rem;
}

.platform-lead-form-section__inner {
  max-width: 560px;
  margin: 0 auto;
}

.platform-lead-form-section__title {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  line-height: 1.3;
  text-align: center;
}

.platform-lead-form-section__desc {
  margin: 0 0 1.25rem;
  color: #4b5563;
  text-align: center;
  line-height: 1.5;
}

.platform-lead-form-section--dark .platform-lead-form-section__title,
.platform-lead-form-section--dark .platform-lead-form-section__desc {
  color: #f9fafb;
}

.platform-lead-form-section--dark .plf-form {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}
