/* ═══════════════════════════════════════════════════════════════
   Filing Flow — Shared Design System
   Stripe/Apple-level checkout polish
   Typography: Inter (body) + Space Grotesk (headings)
   Breakpoints: 320px, 375px, 768px, 1024px, 1280px, 1920px
   ═══════════════════════════════════════════════════════════════ */
/* ── Premium Fonts ───────────────────────────────────────────── */
/* @import removed — fonts (Inter + Space Grotesk) are self-hosted with
   1-year immutable cache headers and preloaded via layout-head.ejs.
   @import inside a sync stylesheet creates a cascading blocking request:
   browser blocks on CSS → CSS blocks on @import → @import blocks render.
   Font stack falls back to system fonts during the brief load window. */
/* ── Reset & Base ────────────────────────────────────────────── */
.ff-page {
  min-height: 100vh;
  background: #f8fafc;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.ff-page * {
  box-sizing: border-box;
}
/* ── Progress Bar ────────────────────────────────────────────── */
.ff-progress {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  padding: 16px 20px;
  position: sticky;
  top: 0;
  z-index: 100;
}
.ff-progress-inner {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.ff-progress-step {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.ff-progress-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  transition: all 0.3s ease;
  flex-shrink: 0;
}
.ff-progress-dot.done {
  background: #dcfce7;
  border: 2px solid #22c55e;
  color: #16a34a;
}
.ff-progress-dot.active {
  background: #16a34a;
  color: #ffffff;
  border: 2px solid #16a34a;
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.12);
}
.ff-progress-dot.pending {
  background: #f9fafb;
  border: 2px solid #d1d5db;
  color: #9ca3af;
}
.ff-progress-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.ff-progress-step.done .ff-progress-label { color: #16a34a; }
.ff-progress-step.active .ff-progress-label { color: #111827; font-weight: 700; }
.ff-progress-step.pending .ff-progress-label { color: #9ca3af; }
.ff-progress-line {
  flex: 1;
  height: 2px;
  background: #e5e7eb;
  margin: 0 8px;
  min-width: 20px;
  max-width: 60px;
  border-radius: 1px;
  transition: background 0.3s;
}
.ff-progress-line.done { background: #86efac; }
/* Hide labels on very small screens */
@media (max-width: 480px) {
  .ff-progress-label { display: none; }
  .ff-progress-line { min-width: 16px; margin: 0 6px; }
  .ff-progress { padding: 12px 16px; }
}
/* ── Container ───────────────────────────────────────────────── */
.ff-container {
  max-width: 560px;
  margin: 0 auto;
  padding: 32px 20px 48px;
}
@media (min-width: 768px) {
  .ff-container { padding: 48px 20px 64px; }
}
/* Wider container for landing pages */
.ff-container--wide {
  max-width: 900px;
}
/* ── Cards ───────────────────────────────────────────────────── */
.ff-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 28px 24px;
  margin-bottom: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
@media (min-width: 768px) {
  .ff-card { padding: 32px 28px; }
}
.ff-card--highlight {
  border-color: #86efac;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 0 0 1px rgba(34, 197, 94, 0.08);
}
.ff-card--primary {
  border: 2px solid #16a34a;
  box-shadow: 0 4px 16px rgba(22, 163, 74, 0.08);
}
/* ── Typography ──────────────────────────────────────────────── */
.ff-heading {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 8px;
  font-family: 'Space Grotesk', 'Inter', -apple-system, sans-serif;
}
.ff-subheading {
  font-size: 0.95rem;
  color: #6b7280;
  line-height: 1.6;
  margin: 0 0 24px;
}
.ff-section-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9ca3af;
  margin: 0 0 12px;
}
/* ── Badge / Pill ────────────────────────────────────────────── */
.ff-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #16a34a;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
.ff-badge--dark {
  background: rgba(34, 197, 94, 0.08);
  border-color: rgba(34, 197, 94, 0.2);
}
/* ── Form Fields ─────────────────────────────────────────────── */
.ff-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.ff-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #374151;
}
.ff-label .req {
  color: #ef4444;
  margin-left: 2px;
}
.ff-label .optional {
  font-weight: 400;
  color: #9ca3af;
  font-size: 0.8rem;
}
.ff-input,
.ff-textarea {
  width: 100%;
  background: #ffffff;
  border: 1.5px solid #d1d5db;
  border-radius: 10px;
  color: #111827;
  font-size: 16px; /* Prevents iOS zoom */
  padding: 12px 14px;
  transition: border-color 0.15s, box-shadow 0.15s;
  font-family: inherit;
  -webkit-appearance: none;
  appearance: none;
}
.ff-input:focus,
.ff-textarea:focus {
  outline: none;
  border-color: #16a34a;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.08);
}
.ff-input::placeholder,
.ff-textarea::placeholder {
  color: #9ca3af;
}
.ff-textarea {
  resize: vertical;
  min-height: 80px;
}
.ff-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 480px) {
  .ff-form-row { grid-template-columns: 1fr; }
}
/* ── Buttons ─────────────────────────────────────────────────── */
.ff-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  padding: 14px 24px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s;
  font-family: inherit;
  -webkit-appearance: none;
  text-align: center;
}
.ff-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.ff-btn-primary {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(22, 163, 74, 0.2);
}
.ff-btn-primary:hover:not(:disabled) {
  box-shadow: 0 4px 16px rgba(22, 163, 74, 0.3);
  transform: translateY(-1px);
}
.ff-btn-primary:active:not(:disabled) {
  transform: scale(0.98);
  box-shadow: 0 1px 4px rgba(22, 163, 74, 0.2);
}
.ff-btn-secondary {
  background: #ffffff;
  color: #374151;
  border: 1.5px solid #d1d5db;
}
.ff-btn-secondary:hover:not(:disabled) {
  border-color: #9ca3af;
  background: #f9fafb;
}
.ff-btn-outline-green {
  background: transparent;
  color: #16a34a;
  border: 1.5px solid rgba(22, 163, 74, 0.3);
}
.ff-btn-outline-green:hover {
  background: rgba(22, 163, 74, 0.04);
  border-color: rgba(22, 163, 74, 0.5);
}
/* ── Loading Spinner ─────────────────────────────────────────── */
@keyframes ff-spin {
  to { transform: rotate(360deg); }
}
.ff-spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.35);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: ff-spin 0.65s linear infinite;
  flex-shrink: 0;
}
.ff-spinner--green {
  border-color: rgba(22,163,74,0.25);
  border-top-color: #16a34a;
}
.ff-btn.loading {
  pointer-events: none;
  opacity: 0.85;
}
.ff-btn.loading::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2.5px solid rgba(255,255,255,0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: ff-spin 0.65s linear infinite;
  margin-right: 8px;
  flex-shrink: 0;
}
.ff-btn-secondary.loading::before {
  border-color: rgba(55,65,81,0.25);
  border-top-color: #374151;
}
/* Button with sub-text */
.ff-btn-stack {
  flex-direction: column;
  gap: 4px;
}
.ff-btn-sub {
  font-size: 0.72rem;
  font-weight: 600;
  opacity: 0.75;
}
/* ── Trust Row ───────────────────────────────────────────────── */
.ff-trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
  margin: 16px 0;
}
.ff-trust-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  color: #6b7280;
  font-weight: 500;
}
.ff-trust-item svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.ff-trust-icon {
  color: #16a34a;
  flex-shrink: 0;
}
/* ── Trust Shield (prominent) ────────────────────────────────── */
.ff-trust-shield {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 10px;
  padding: 10px 16px;
  margin: 16px 0;
  text-align: center;
}
.ff-trust-shield-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
}
.ff-trust-shield-text {
  font-size: 0.82rem;
  color: #374151;
  font-weight: 500;
}
.ff-trust-shield-text strong {
  color: #16a34a;
  font-weight: 700;
}
/* ── Guarantee Bar ───────────────────────────────────────────── */
.ff-guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 10px;
  padding: 10px 16px;
  margin: 16px 0;
}
.ff-guarantee-text {
  font-size: 0.82rem;
  color: #92400e;
  font-weight: 600;
}
/* ── Payment Methods Strip ───────────────────────────────────── */
.ff-payment-methods {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 0 4px;
}
.ff-payment-icon {
  width: 40px;
  height: 26px;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  font-size: 0.65rem;
  font-weight: 700;
  color: #374151;
}
/* ── Order Summary ───────────────────────────────────────────── */
.ff-order-summary {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
}
.ff-order-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 12px;
}
.ff-order-header-icon {
  font-size: 1.1rem;
}
.ff-order-header-text {
  font-size: 0.88rem;
  font-weight: 700;
  color: #111827;
}
.ff-order-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 0.88rem;
}
.ff-order-row + .ff-order-row {
  border-top: 1px solid #f3f4f6;
}
.ff-order-label {
  color: #6b7280;
  font-weight: 500;
}
.ff-order-value {
  color: #111827;
  font-weight: 600;
  text-align: right;
}
.ff-order-total {
  border-top: 2px solid #e5e7eb;
  margin-top: 8px;
  padding-top: 12px;
  font-size: 1rem;
}
.ff-order-total .ff-order-value {
  font-size: 1.15rem;
  font-weight: 800;
  color: #16a34a;
}
/* ── Consent Box ─────────────────────────────────────────────── */
.ff-consent {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 14px 16px;
  margin: 16px 0;
}
.ff-consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}
.ff-consent-check {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 2px;
  accent-color: #16a34a;
  cursor: pointer;
}
.ff-consent-text {
  font-size: 0.84rem;
  color: #4b5563;
  line-height: 1.5;
}
.ff-consent-text strong {
  color: #111827;
}
/* ── Error Message ───────────────────────────────────────────── */
.ff-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 0.88rem;
  color: #dc2626;
  margin-bottom: 16px;
  display: none;
}
.ff-error.visible { display: block; }
/* ── Success Animation ───────────────────────────────────────── */
.ff-success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #dcfce7;
  border: 3px solid #86efac;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  animation: ff-pop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.ff-success-icon svg {
  width: 32px;
  height: 32px;
  color: #16a34a;
}
@keyframes ff-pop {
  0% { transform: scale(0.5); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
/* ── How It Works (3-step) ───────────────────────────────────── */
.ff-how-it-works {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin: 20px 0;
}
@media (max-width: 560px) {
  .ff-how-it-works { grid-template-columns: 1fr; gap: 8px; }
}
.ff-hiw-step {
  text-align: center;
  padding: 16px 12px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
}
.ff-hiw-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f0fdf4;
  border: 1.5px solid #bbf7d0;
  color: #16a34a;
  font-size: 0.75rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.ff-hiw-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #111827;
  display: block;
  margin-bottom: 4px;
}
.ff-hiw-desc {
  font-size: 0.75rem;
  color: #6b7280;
  line-height: 1.4;
}
/* ── Price Display ───────────────────────────────────────────── */
.ff-price-display {
  text-align: center;
  padding: 20px;
}
.ff-price-amount {
  font-size: 2.75rem;
  font-weight: 900;
  color: #111827;
  letter-spacing: -0.04em;
  line-height: 1;
}
.ff-price-amount .ff-price-currency {
  font-size: 1.5rem;
  vertical-align: super;
  font-weight: 700;
}
.ff-price-period {
  font-size: 0.85rem;
  color: #6b7280;
  margin-top: 4px;
}
.ff-price-period strong {
  color: #374151;
}
/* ── Value Comparison ────────────────────────────────────────── */
.ff-value-anchor {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 10px;
  padding: 10px 16px;
  margin-bottom: 16px;
  text-align: center;
  flex-wrap: wrap;
}
.ff-value-anchor-big {
  font-size: 0.88rem;
  font-weight: 700;
  color: #92400e;
}
.ff-value-anchor-small {
  font-size: 0.82rem;
  color: #a16207;
}
/* ── Social Proof ────────────────────────────────────────────── */
.ff-social-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #166534;
  margin-bottom: 16px;
}
.ff-social-proof-num {
  font-weight: 800;
  color: #16a34a;
}
/* ── Live Activity Indicator ─────────────────────────────────── */
.ff-live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #22c55e;
  border-radius: 50%;
  animation: ff-pulse 1.8s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes ff-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}
/* ── Urgency Strip ───────────────────────────────────────────── */
.ff-urgency {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-align: center;
}
.ff-urgency--critical {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
}
.ff-urgency--warning {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
}
/* ── Choice Cards (side-by-side pricing) ─────────────────────── */
.ff-choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
@media (max-width: 560px) {
  .ff-choices { grid-template-columns: 1fr; }
}
.ff-choice-card {
  background: #ffffff;
  border: 1.5px solid #e5e7eb;
  border-radius: 16px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.1s;
  position: relative;
}
.ff-choice-card:hover {
  border-color: #86efac;
  box-shadow: 0 4px 16px rgba(34, 197, 94, 0.08);
  transform: translateY(-1px);
}
.ff-choice-card.ff-choice-featured {
  border: 2px solid #16a34a;
  box-shadow: 0 4px 16px rgba(22, 163, 74, 0.1);
}
.ff-choice-card.ff-choice-featured:hover {
  box-shadow: 0 8px 24px rgba(22, 163, 74, 0.15);
}
.ff-choice-tag {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #9ca3af;
  margin-bottom: 12px;
}
.ff-choice-featured .ff-choice-tag { color: #16a34a; }
.ff-choice-price {
  font-size: 2rem;
  font-weight: 900;
  color: #111827;
  line-height: 1;
  margin-bottom: 4px;
}
.ff-choice-featured .ff-choice-price { color: #16a34a; }
.ff-choice-period {
  font-size: 0.8rem;
  color: #9ca3af;
  margin-bottom: 16px;
}
.ff-choice-perks {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  flex: 1;
}
.ff-choice-perks li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.82rem;
  color: #4b5563;
  padding: 6px 0;
  border-bottom: 1px solid #f3f4f6;
  line-height: 1.4;
}
.ff-choice-perks li:last-child { border-bottom: none; }
.ff-choice-perks .ff-perk-check {
  color: #16a34a;
  font-weight: 700;
  flex-shrink: 0;
  font-size: 0.85rem;
  line-height: 1.4;
}
.ff-choice-ribbon {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #16a34a;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 999px;
}
/* ── Order Bump ──────────────────────────────────────────────── */
.ff-order-bump {
  background: #f0fdf4;
  border: 2px solid #86efac;
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 16px;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.ff-order-bump:hover {
  border-color: #4ade80;
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.1);
}
.ff-order-bump.checked {
  border-color: #16a34a;
  background: #ecfdf5;
  box-shadow: 0 2px 12px rgba(22, 163, 74, 0.12);
}
.ff-order-bump-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.ff-order-bump-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.ff-order-bump-check {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: #16a34a;
  cursor: pointer;
  flex-shrink: 0;
}
.ff-order-bump-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: #16a34a;
  margin-bottom: 4px;
}
.ff-order-bump-desc {
  font-size: 0.82rem;
  color: #4b5563;
  line-height: 1.5;
}
.ff-order-bump-desc strong {
  color: #111827;
}
.ff-order-bump-badge {
  background: #dcfce7;
  border: 1px solid #86efac;
  color: #16a34a;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}
.ff-order-bump-total {
  margin-top: 10px;
  text-align: center;
  font-size: 0.82rem;
  color: #374151;
  display: none;
  padding: 8px 12px;
  background: #dcfce7;
  border-radius: 8px;
}
.ff-order-bump-total .ob-price {
  color: #16a34a;
  font-weight: 800;
  font-size: 1rem;
}
/* ── Confirmation page specifics ─────────────────────────────── */
.ff-confirmation {
  text-align: center;
}
.ff-confirmation-header {
  padding: 20px 0 24px;
}
/* Next Steps */
.ff-next-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}
.ff-next-steps li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #f3f4f6;
}
.ff-next-steps li:last-child { border-bottom: none; }
.ff-step-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f0fdf4;
  border: 1.5px solid #bbf7d0;
  color: #16a34a;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.ff-step-content strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 2px;
}
.ff-step-content p {
  font-size: 0.84rem;
  color: #6b7280;
  margin: 0;
  line-height: 1.5;
}
/* ── Pro Upsell Banner ───────────────────────────────────────── */
.ff-pro-banner {
  background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
  border: 1.5px solid #86efac;
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.ff-pro-banner-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}
.ff-pro-banner-text {
  flex: 1;
  min-width: 200px;
}
.ff-pro-banner-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: #16a34a;
  display: block;
  margin-bottom: 2px;
}
.ff-pro-banner-sub {
  font-size: 0.78rem;
  color: #6b7280;
}
.ff-pro-banner-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #ffffff;
  border: 1.5px solid #86efac;
  color: #16a34a;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.15s;
  white-space: nowrap;
  flex-shrink: 0;
}
.ff-pro-banner-cta:hover {
  background: #f0fdf4;
  border-color: #4ade80;
}
/* ── Divider ─────────────────────────────────────────────────── */
.ff-divider {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 0;
}
/* ── Footer Note ─────────────────────────────────────────────── */
.ff-footer-note {
  text-align: center;
  font-size: 0.78rem;
  color: #9ca3af;
  margin-top: 16px;
  line-height: 1.6;
}
.ff-footer-note a {
  color: #16a34a;
  text-decoration: none;
}
.ff-footer-note a:hover {
  text-decoration: underline;
}
/* ── Disclaimer ──────────────────────────────────────────────── */
.ff-disclaimer {
  font-size: 0.72rem;
  color: #9ca3af;
  text-align: center;
  line-height: 1.6;
  max-width: 480px;
  margin: 24px auto 0;
}
/* ── Share Card (post-filing) ────────────────────────────────── */
.ff-share-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 16px;
}
.ff-share-btns {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.ff-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s;
  border: none;
  white-space: nowrap;
}
@media (max-width: 480px) {
  .ff-share-btns { flex-direction: column; }
  .ff-share-btn { justify-content: center; }
}
/* ── Prefill Banner ──────────────────────────────────────────── */
.ff-prefill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #166534;
  margin-bottom: 16px;
}
/* ── Stripe-hosted checkout banner ───────────────────────────── */
.ff-stripe-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.75rem;
  color: #9ca3af;
  padding: 8px 0;
}
.ff-stripe-badge svg {
  height: 14px;
  width: auto;
}
/* ── Cross-sell Cards ────────────────────────────────────────── */
.ff-xsell-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 16px 0;
}
@media (max-width: 480px) {
  .ff-xsell-grid { grid-template-columns: 1fr; }
}
.ff-xsell-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 14px 16px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color 0.15s, transform 0.1s;
}
.ff-xsell-card:hover {
  border-color: #86efac;
  transform: translateY(-1px);
}
.ff-xsell-cat {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #16a34a;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  padding: 2px 7px;
  border-radius: 4px;
  display: inline-block;
  width: fit-content;
}
.ff-xsell-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.3;
}
.ff-xsell-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.75rem;
  color: #6b7280;
  font-weight: 600;
  margin-top: auto;
}
/* ── Sticky mobile CTA ──────────────────────────────────────── */
.ff-sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99;
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
  padding: 12px 16px;
  padding-bottom: max(12px, env(safe-area-inset-bottom));
  display: none;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.06);
}
@media (max-width: 768px) {
  .ff-sticky-cta { display: block; }
}
.ff-sticky-cta .ff-btn {
  font-size: 0.95rem;
  padding: 13px 20px;
}
/* ── Accessibility ───────────────────────────────────────────── */
.ff-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
/* ── Wide screen centering (1280px+) ─────────────────────────── */
@media (min-width: 1280px) {
  .ff-container { padding-top: 56px; }
}
/* ── Ultra-wide (1920px+) ────────────────────────────────────── */
@media (min-width: 1920px) {
  .ff-container { max-width: 600px; }
}
/* ── Premium Typography Utilities (Space Grotesk headings) ────── */
.ff-page h1,
.ff-page h2,
.ff-heading,
.gfl-section-title,
.ff-choice-price,
.ff-price-amount,
.wn-hero h1 {
  font-family: 'Space Grotesk', 'Inter', -apple-system, sans-serif;
}
/* ── Premium page-level overrides ────────────────────────────── */
.ff-page body,
.ff-page input,
.ff-page textarea,
.ff-page select,
.ff-page button {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}
/* ── Enhanced trust shield ───────────────────────────────────── */
.ff-trust-shield--lg {
  padding: 14px 20px;
  font-size: 0.88rem;
  gap: 10px;
}
.ff-trust-shield--lg .ff-trust-shield-icon {
  font-size: 1.4rem;
}
/* ── Premium success/confirmation card ───────────────────────── */
.ff-success-card {
  background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 60%);
  border: 2px solid #86efac;
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}
.ff-success-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #22c55e 0%, #16a34a 100%);
  border-radius: 20px 20px 0 0;
}
.ff-success-card .ff-heading {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
}
/* ── Prominent price badge ───────────────────────────────────── */
.ff-price-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #f0fdf4;
  border: 2px solid #86efac;
  border-radius: 14px;
  padding: 10px 20px;
}
.ff-price-badge-amount {
  font-size: 2.2rem;
  font-weight: 900;
  color: #16a34a;
  letter-spacing: -0.04em;
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1;
}
.ff-price-badge-info {
  text-align: left;
  line-height: 1.3;
}
.ff-price-badge-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #111827;
}
.ff-price-badge-sub {
  display: block;
  font-size: 0.75rem;
  color: #6b7280;
}
/* ── Secure checkout bar ─────────────────────────────────────── */
.ff-secure-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 12px 16px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  margin: 16px 0;
}
.ff-secure-bar-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  color: #6b7280;
  font-weight: 600;
  white-space: nowrap;
}
.ff-secure-bar-item .icon {
  color: #16a34a;
  font-size: 0.85rem;
}
/* ── Plan badge (post-subscribe) ─────────────────────────────── */
.ff-plan-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: 999px;
  margin: 0 0 16px;
  box-shadow: 0 4px 12px rgba(22,163,74,0.25);
}
/* ── Cross-sell item (upsell row) ────────────────────────────── */
.ff-upsell-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: 10px;
  text-decoration: none;
  margin-bottom: 8px;
  transition: opacity 0.15s, transform 0.1s;
}
.ff-upsell-row:hover {
  opacity: 0.9;
  transform: translateX(2px);
}
.ff-upsell-row--purple {
  background: rgba(139,92,246,0.08);
  border: 1px solid rgba(139,92,246,0.2);
}
.ff-upsell-row--amber {
  background: rgba(251,191,36,0.08);
  border: 1px solid rgba(251,191,36,0.2);
}
.ff-upsell-label {
  font-size: 0.85rem;
  font-weight: 600;
}
.ff-upsell-price {
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}
/* ── Referral copy box ───────────────────────────────────────── */
.ff-copy-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f9fafb;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  padding: 8px 8px 8px 14px;
  margin: 12px 0;
}
.ff-copy-box-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 0.82rem;
  color: #374151;
  outline: none;
  font-family: inherit;
  min-width: 0;
}
.ff-copy-box-btn {
  background: #16a34a;
  color: #ffffff;
  border: none;
  border-radius: 7px;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 7px 14px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  font-family: inherit;
  transition: background 0.15s;
}
.ff-copy-box-btn:hover { background: #15803d; }
.ff-copy-box-btn.copied { background: #166534; }
/* ── Dark section override (for "what's next" cross-sell area) ── */
.ff-section-dark {
  background: #111827;
  border-radius: 16px;
  padding: 24px 20px;
  margin: 16px 0;
}
.ff-section-dark .ff-card-title,
.ff-section-dark h3 {
  color: #f9fafb;
  font-family: 'Space Grotesk', sans-serif;
}
.ff-section-dark .ff-sub {
  color: #9ca3af;
}
/* ── Cross-sell settlement card (light version) ──────────────── */
.ff-cross-card {
  background: #ffffff;
  border: 1.5px solid #e5e7eb;
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 10px;
  transition: border-color 0.15s, box-shadow 0.12s;
}
.ff-cross-card:hover {
  border-color: #86efac;
  box-shadow: 0 2px 8px rgba(34,197,94,0.06);
}
.ff-cross-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}
.ff-cross-card-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.3;
  font-family: 'Inter', sans-serif;
}
.ff-cross-card-payout {
  font-size: 1rem;
  font-weight: 800;
  color: #16a34a;
  white-space: nowrap;
  flex-shrink: 0;
  font-family: 'Space Grotesk', sans-serif;
}
.ff-cross-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  margin-right: 6px;
  margin-bottom: 4px;
}
.ff-cross-tag--green {
  background: #f0fdf4;
  color: #16a34a;
  border: 1px solid #bbf7d0;
}
.ff-cross-tag--gray {
  background: #f9fafb;
  color: #6b7280;
  border: 1px solid #e5e7eb;
}
.ff-cross-tag--amber {
  background: #fffbeb;
  color: #92400e;
  border: 1px solid #fde68a;
}
