/* ═════════════════════════════════════════════════════════════
   Fair Settlement · AI-Native Calculator
   Premium split-screen, Linear/Framer-tier polish
   ═════════════════════════════════════════════════════════════ */

.fsc-root *, .fsc-root *::before, .fsc-root *::after {
  box-sizing: border-box;
}

.fsc-root {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  max-width: 1240px;
  margin: 0 auto 3rem;
  padding: 0 16px;
  color: #e2e8f0;
  --fsc-num: "JetBrains Mono", "IBM Plex Mono", "SF Mono", Menlo, monospace;
}

/* Trust banner above calculator */
.fsc-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
  font-size: 0.78rem;
}
.fsc-trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.2);
  color: #a5b4fc;
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 600;
}
.fsc-trust-chip.green { background: rgba(16, 185, 129, 0.06); border-color: rgba(16, 185, 129, 0.2); color: #6ee7b7; }
.fsc-trust-chip.amber { background: rgba(245, 158, 11, 0.06); border-color: rgba(245, 158, 11, 0.2); color: #fcd34d; }

/* Progress bar */
.fsc-progress {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
}
.fsc-progress-step {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: rgba(226, 232, 240, 0.5);
  transition: color 0.3s;
}
.fsc-progress-step.active { color: #a5b4fc; font-weight: 700; }
.fsc-progress-step.done { color: #6ee7b7; }
.fsc-progress-dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  flex-shrink: 0;
  transition: all 0.3s;
}
.fsc-progress-step.active .fsc-progress-dot {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25);
  animation: fsc-ring 2s ease-in-out infinite;
}
.fsc-progress-step.done .fsc-progress-dot {
  background: rgba(16, 185, 129, 0.18);
  border-color: #10b981;
  color: #6ee7b7;
}
@keyframes fsc-ring {
  0%, 100% { box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25); }
  50% { box-shadow: 0 0 0 6px rgba(99, 102, 241, 0.12); }
}
.fsc-progress-line {
  flex: 0.5;
  height: 2px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  max-width: 40px;
}

/* Split layout */
.fsc-split {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px;
  align-items: start;
}
@media (max-width: 960px) {
  .fsc-split { grid-template-columns: 1fr; gap: 18px; }
}

/* Left column (inputs) */
.fsc-inputs {
  background: rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 22px;
  overflow: hidden;
}

/* Right column (AI copilot) */
.fsc-copilot {
  position: sticky;
  top: 24px;
  background: linear-gradient(165deg, rgba(99, 102, 241, 0.07), rgba(139, 92, 246, 0.04));
  border: 1px solid rgba(99, 102, 241, 0.18);
  border-radius: 22px;
  overflow: hidden;
  animation: fsc-glow 6s ease-in-out infinite;
}
@keyframes fsc-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0); }
  50% { box-shadow: 0 0 40px 0 rgba(99, 102, 241, 0.12); }
}
@media (max-width: 960px) {
  .fsc-copilot { position: static; }
}

/* Step container */
.fsc-step {
  padding: 28px 30px;
  animation: fsc-step-in 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes fsc-step-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.fsc-step[hidden] { display: none; }

.fsc-step-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.fsc-step-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.3);
}
.fsc-step-icon svg { width: 22px; height: 22px; color: #fff; }
.fsc-step-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: #a5b4fc;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 2px;
}
.fsc-step-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: #f1f5f9;
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

/* NL textarea */
.fsc-nl-wrap { position: relative; }
.fsc-nl {
  width: 100%;
  background: rgba(10, 10, 20, 0.5);
  border: 2px solid rgba(99, 102, 241, 0.15);
  border-radius: 16px;
  padding: 18px 20px;
  color: #f1f5f9;
  font-family: inherit;
  font-size: 1.02rem;
  line-height: 1.6;
  resize: vertical;
  min-height: 140px;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.fsc-nl:focus {
  outline: none;
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12);
}
.fsc-nl::placeholder { color: rgba(226, 232, 240, 0.35); }

.fsc-nl-examples {
  margin-top: 12px;
  font-size: 0.82rem;
  color: rgba(226, 232, 240, 0.5);
  line-height: 1.6;
}
.fsc-nl-examples strong { color: #a5b4fc; }

.fsc-nl-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}

/* Buttons */
.fsc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.18s, box-shadow 0.2s, background 0.2s;
  border: none;
  color: #fff;
}
.fsc-btn-primary {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.35);
}
.fsc-btn-primary:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(99, 102, 241, 0.5);
}
.fsc-btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }
.fsc-btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(226, 232, 240, 0.8);
}
.fsc-btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }
.fsc-btn-wide { width: 100%; padding: 16px 20px; font-size: 1rem; }
.fsc-btn-xl {
  padding: 18px 28px;
  font-size: 1.08rem;
  border-radius: 14px;
  letter-spacing: 0.01em;
}

.fsc-btn-spinner {
  width: 15px;
  height: 15px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: fsc-spin 0.7s linear infinite;
}
@keyframes fsc-spin { to { transform: rotate(360deg); } }

/* Form fields */
.fsc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}
.fsc-grid.full { grid-template-columns: 1fr; }

.fsc-field {
  position: relative;
  background: rgba(10, 10, 20, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px 14px;
  transition: border-color 0.2s, background 0.2s;
}
.fsc-field:focus-within {
  border-color: rgba(99, 102, 241, 0.45);
  background: rgba(10, 10, 20, 0.6);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}
.fsc-field.fsc-flag-warn { border-color: rgba(245, 158, 11, 0.4); background: rgba(245, 158, 11, 0.04); }
.fsc-field.fsc-flag-error { border-color: rgba(239, 68, 68, 0.45); background: rgba(239, 68, 68, 0.04); animation: fsc-shake 0.4s ease-in-out; }
@keyframes fsc-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-3px); }
  75% { transform: translateX(3px); }
}

.fsc-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.74rem;
  color: rgba(226, 232, 240, 0.62);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 6px;
}

.fsc-suggest-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(139, 92, 246, 0.12);
  color: #c4b5fd;
  padding: 3px 9px;
  border-radius: 10px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
  border: 1px solid rgba(139, 92, 246, 0.2);
  transition: background 0.2s, transform 0.2s;
}
.fsc-suggest-btn:hover { background: rgba(139, 92, 246, 0.22); transform: scale(1.05); }
.fsc-suggest-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.fsc-input {
  width: 100%;
  background: transparent;
  border: none;
  color: #f1f5f9;
  font-family: var(--fsc-num);
  font-size: 1.08rem;
  font-weight: 700;
  padding: 0;
  outline: none;
  letter-spacing: -0.01em;
}
.fsc-input::placeholder { color: rgba(226, 232, 240, 0.25); font-weight: 500; }

.fsc-input-text {
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
}

.fsc-input-with-prefix {
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.fsc-input-prefix {
  color: rgba(226, 232, 240, 0.55);
  font-family: var(--fsc-num);
  font-size: 1.08rem;
  font-weight: 700;
}

.fsc-select {
  width: 100%;
  background: transparent;
  border: none;
  color: #f1f5f9;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  padding: 0;
  outline: none;
  appearance: none;
  cursor: pointer;
  padding-right: 20px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'><path d='M1 1l4 4 4-4' stroke='%23a5b4fc' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right center;
}
.fsc-select option { background: #0a0a14; color: #e2e8f0; }

/* Slider */
.fsc-slider-wrap {
  position: relative;
}
.fsc-slider-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 10px;
}
.fsc-slider-value {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.8rem;
  font-weight: 900;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.fsc-slider-meta {
  font-size: 0.85rem;
  color: rgba(226, 232, 240, 0.65);
  font-weight: 600;
}
.fsc-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  outline: none;
  margin: 6px 0 4px;
}
.fsc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(99, 102, 241, 0.5);
  transition: transform 0.15s, box-shadow 0.2s;
  border: 3px solid #0a0a14;
}
.fsc-slider::-webkit-slider-thumb:hover { transform: scale(1.15); box-shadow: 0 4px 16px rgba(99, 102, 241, 0.65); }
.fsc-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  cursor: pointer;
  border: 3px solid #0a0a14;
}

/* Severity cards (radio group) */
.fsc-radio-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 10px;
  margin: 4px 0;
}
.fsc-radio-card {
  background: rgba(10, 10, 20, 0.35);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  user-select: none;
}
.fsc-radio-card:hover { border-color: rgba(99, 102, 241, 0.35); background: rgba(99, 102, 241, 0.04); }
.fsc-radio-card.active {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.14), rgba(139, 92, 246, 0.08));
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}
.fsc-radio-emoji { font-size: 1.5rem; margin-bottom: 4px; display: block; }
.fsc-radio-label { font-weight: 800; color: #f1f5f9; font-size: 0.82rem; margin-bottom: 2px; }
.fsc-radio-desc { font-size: 0.7rem; color: rgba(226, 232, 240, 0.55); line-height: 1.4; }

/* Multi-select chips */
.fsc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0;
}
.fsc-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(10, 10, 20, 0.35);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 7px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(226, 232, 240, 0.75);
  cursor: pointer;
  transition: all 0.2s;
  user-select: none;
}
.fsc-chip:hover { border-color: rgba(99, 102, 241, 0.4); color: #f1f5f9; }
.fsc-chip.active {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.1));
  border-color: #6366f1;
  color: #fff;
}

/* Stars rating */
.fsc-stars {
  display: flex;
  gap: 4px;
  align-items: center;
  margin: 4px 0;
}
.fsc-star {
  width: 28px;
  height: 28px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.15);
  transition: color 0.15s, transform 0.15s;
}
.fsc-star.active { color: #fcd34d; }
.fsc-star:hover { transform: scale(1.15); }

/* Step nav */
.fsc-step-nav {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 30px 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(10, 10, 20, 0.3);
}

/* Field flag */
.fsc-field-flag {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-size: 0.78rem;
  padding: 6px 10px;
  border-radius: 8px;
  animation: fsc-slide-in 0.3s ease-out;
}
@keyframes fsc-slide-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }
.fsc-field-flag.warn { background: rgba(245, 158, 11, 0.1); color: #fcd34d; border: 1px solid rgba(245, 158, 11, 0.25); }
.fsc-field-flag.error { background: rgba(239, 68, 68, 0.1); color: #fca5a5; border: 1px solid rgba(239, 68, 68, 0.25); }
.fsc-field-flag.info { background: rgba(14, 165, 233, 0.08); color: #7dd3fc; border: 1px solid rgba(14, 165, 233, 0.2); }

/* Suggest modal */
.fsc-suggest-modal-bg {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fsc-fade 0.2s;
}
.fsc-suggest-modal-bg.open { display: flex; }
@keyframes fsc-fade { from { opacity: 0; } to { opacity: 1; } }
.fsc-suggest-modal {
  background: linear-gradient(165deg, rgba(30, 20, 50, 0.98), rgba(10, 10, 20, 0.98));
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 20px;
  max-width: 500px;
  width: 100%;
  padding: 28px 26px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  animation: fsc-modal-in 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  color: #f1f5f9;
}
@keyframes fsc-modal-in { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }
.fsc-suggest-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0 0 8px;
}
.fsc-suggest-q {
  color: rgba(226, 232, 240, 0.75);
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 16px;
}
.fsc-suggest-input {
  width: 100%;
  background: rgba(10, 10, 20, 0.5);
  border: 1.5px solid rgba(139, 92, 246, 0.2);
  border-radius: 12px;
  padding: 12px 14px;
  color: #f1f5f9;
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  margin-bottom: 14px;
  transition: border-color 0.2s;
}
.fsc-suggest-input:focus { border-color: rgba(139, 92, 246, 0.5); }
.fsc-suggest-answer {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 12px;
  padding: 14px 16px;
  margin: 10px 0 14px;
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(226, 232, 240, 0.9);
}
.fsc-suggest-answer strong { color: #6ee7b7; }
.fsc-suggest-actions { display: flex; gap: 8px; justify-content: flex-end; }

/* ═════════════════ COPILOT SIDEBAR ═════════════════ */
.fsc-copilot-inner { padding: 24px 24px 26px; }

.fsc-copilot-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.fsc-copilot-avatar {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6, #ec4899);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.35);
  flex-shrink: 0;
}
.fsc-copilot-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  margin-left: 4px;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
  animation: fsc-pulse-dot 2s infinite;
}
@keyframes fsc-pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
.fsc-copilot-title { font-family: "Space Grotesk", sans-serif; font-weight: 800; font-size: 1rem; color: #f1f5f9; }
.fsc-copilot-sub { font-size: 0.72rem; color: rgba(165, 180, 252, 0.7); }

.fsc-estimate-card {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(6, 182, 212, 0.04));
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 16px;
}
.fsc-estimate-label {
  font-size: 0.68rem;
  color: #6ee7b7;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}
.fsc-estimate-value {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.7rem;
  font-weight: 900;
  color: #6ee7b7;
  letter-spacing: -0.015em;
  line-height: 1.1;
  transition: color 0.3s;
}
.fsc-estimate-meta {
  font-size: 0.78rem;
  color: rgba(226, 232, 240, 0.55);
  margin-top: 6px;
  font-family: var(--fsc-num);
}

.fsc-strength-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.25);
  color: #a5b4fc;
  padding: 5px 10px;
  border-radius: 10px;
  font-size: 0.74rem;
  font-weight: 700;
  margin-top: 10px;
}

.fsc-feedback {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(226, 232, 240, 0.88);
  margin-bottom: 14px;
  min-height: 60px;
  position: relative;
}
.fsc-feedback.loading {
  color: rgba(226, 232, 240, 0.4);
  background: linear-gradient(90deg, rgba(255,255,255,.03), rgba(139, 92, 246, 0.06), rgba(255,255,255,.03));
  background-size: 200% 100%;
  animation: fsc-shimmer 1.5s linear infinite;
}
@keyframes fsc-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.fsc-tip {
  background: rgba(14, 165, 233, 0.06);
  border-left: 3px solid rgba(14, 165, 233, 0.4);
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.8rem;
  line-height: 1.5;
  color: #7dd3fc;
  margin-bottom: 14px;
}

.fsc-flags-area .fsc-field-flag { margin-bottom: 6px; margin-top: 0; }

.fsc-copilot-footer {
  font-size: 0.7rem;
  color: rgba(226, 232, 240, 0.35);
  text-align: center;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* ═════════════════ FINAL RESULT ═════════════════ */
.fsc-result-wrap {
  margin-top: 24px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 22px;
  padding: 32px 30px;
  animation: fsc-step-in 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.fsc-result-wrap[hidden] { display: none; }
.fsc-result-hero {
  text-align: center;
  padding: 24px 20px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(99, 102, 241, 0.05));
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 18px;
  margin-bottom: 24px;
}
.fsc-result-range {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.4rem;
  font-weight: 900;
  background: linear-gradient(135deg, #6ee7b7, #34d399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.fsc-result-label {
  font-size: 0.72rem;
  font-weight: 800;
  color: #6ee7b7;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}
.fsc-result-sub {
  font-size: 0.95rem;
  color: rgba(226, 232, 240, 0.65);
  margin-top: 10px;
  font-family: var(--fsc-num);
}

.fsc-result-strength-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 24px;
}
@media (max-width: 640px) { .fsc-result-strength-row { grid-template-columns: 1fr; } }

.fsc-result-card {
  background: rgba(10, 10, 20, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 16px 18px;
}
.fsc-result-card-label {
  font-size: 0.7rem;
  color: rgba(226, 232, 240, 0.55);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.fsc-result-card-value {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: #f1f5f9;
}
.fsc-strengths-list, .fsc-weaknesses-list, .fsc-moves-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.fsc-strengths-list li, .fsc-weaknesses-list li {
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.9rem;
  line-height: 1.5;
  display: flex; gap: 10px; align-items: flex-start;
}
.fsc-strengths-list li {
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.15);
  color: rgba(226, 232, 240, 0.88);
}
.fsc-strengths-list li::before { content: '✓'; color: #10b981; font-weight: 800; }
.fsc-weaknesses-list li {
  background: rgba(239, 68, 68, 0.06);
  border: 1px solid rgba(239, 68, 68, 0.15);
  color: rgba(226, 232, 240, 0.88);
}
.fsc-weaknesses-list li::before { content: '!'; color: #ef4444; font-weight: 800; }
.fsc-moves-list { counter-reset: fsc-moves; }
.fsc-moves-list li {
  counter-increment: fsc-moves;
  background: rgba(99, 102, 241, 0.07);
  border: 1px solid rgba(99, 102, 241, 0.18);
  border-radius: 12px;
  padding: 12px 14px 12px 46px;
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(226, 232, 240, 0.88);
  position: relative;
}
.fsc-moves-list li::before {
  content: counter(fsc-moves);
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.76rem;
  font-weight: 800;
}
.fsc-section-head {
  font-size: 0.72rem;
  color: #a5b4fc;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  margin: 22px 0 12px;
}

.fsc-letter {
  background: rgba(10, 10, 20, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 18px 20px;
  font-size: 0.9rem;
  line-height: 1.75;
  color: rgba(226, 232, 240, 0.88);
  white-space: pre-wrap;
}
.fsc-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #a5b4fc;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1;
  height: 34px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s, transform 0.15s;
}
.fsc-copy-btn:hover { background: rgba(99, 102, 241, 0.25); transform: translateY(-1px); }
.fsc-copy-btn .fsc-ic { width: 13px; height: 13px; }

.fsc-powered {
  font-size: 0.7rem;
  color: rgba(226, 232, 240, 0.3);
  text-align: right;
  margin-top: 16px;
}

/* Toast */
.fsc-toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(10, 10, 20, 0.96);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 12px 20px;
  border-radius: 14px;
  color: #f1f5f9;
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 999999;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  animation: fsc-toast-in 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-width: 380px;
  text-align: center;
}
@keyframes fsc-toast-in { from { opacity: 0; transform: translate(-50%, 20px); } to { opacity: 1; transform: translate(-50%, 0); } }
.fsc-toast.success { border-color: rgba(16, 185, 129, 0.4); color: #6ee7b7; }
.fsc-toast.error { border-color: rgba(239, 68, 68, 0.4); color: #fca5a5; }

/* Honeypot */
.fsc-hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .fsc-root *, .fsc-root *::before, .fsc-root *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
/* ═════════════════════════════════════════════════════════════
   Fair Settlement · AI Calculator V2 ADDITIONS
   Icon system, severity bars, location fields, PDF buttons, etc
   ═════════════════════════════════════════════════════════════ */

/* Universal icon class */
.fsc-root .fsc-ic {
  width: 14px;
  height: 14px;
  display: inline-block;
  vertical-align: -2px;
  flex-shrink: 0;
  color: currentColor;
}
.fsc-root .fsc-trust-chip .fsc-ic { width: 13px; height: 13px; }
.fsc-root .fsc-btn .fsc-ic { width: 15px; height: 15px; margin-right: 2px; }
.fsc-root .fsc-suggest-btn .fsc-ic { width: 11px; height: 11px; }

/* Step icons take bigger SVG */
.fsc-root .fsc-step-icon svg {
  width: 22px;
  height: 22px;
  color: #fff;
}

/* Label with icon alignment */
.fsc-root .fsc-label-ic {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.fsc-root .fsc-label-ic .fsc-ic {
  color: rgba(165, 180, 252, 0.8);
  width: 13px;
  height: 13px;
}

/* Location row (above NL textarea) */
.fsc-root .fsc-loc-row { margin-bottom: 18px; }
.fsc-root .fsc-loc-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #a5b4fc;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.fsc-root .fsc-loc-label .fsc-ic { color: #a5b4fc; }
.fsc-root .fsc-loc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.3fr;
  gap: 10px;
}
@media (max-width: 560px) { .fsc-root .fsc-loc-grid { grid-template-columns: 1fr; } }

/* Severity intensity bars replace emojis */
.fsc-root .fsc-sev-bars {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
  height: 28px;
  margin-bottom: 8px;
}
.fsc-root .fsc-sev-bars span {
  display: block;
  width: 5px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  transition: background 0.3s, height 0.3s;
}
.fsc-root .fsc-sev-bars span:nth-child(1) { height: 30%; }
.fsc-root .fsc-sev-bars span:nth-child(2) { height: 50%; }
.fsc-root .fsc-sev-bars span:nth-child(3) { height: 70%; }
.fsc-root .fsc-sev-bars span:nth-child(4) { height: 85%; }
.fsc-root .fsc-sev-bars span:nth-child(5) { height: 100%; }
.fsc-root .fsc-radio-card[data-severity="1"] .fsc-sev-bars span { background: linear-gradient(180deg, #34d399, #10b981); }
.fsc-root .fsc-radio-card[data-severity="2"] .fsc-sev-bars span { background: linear-gradient(180deg, #fbbf24, #f59e0b); }
.fsc-root .fsc-radio-card[data-severity="3"] .fsc-sev-bars span { background: linear-gradient(180deg, #fb923c, #ea580c); }
.fsc-root .fsc-radio-card[data-severity="4"] .fsc-sev-bars span { background: linear-gradient(180deg, #f87171, #ef4444); }
.fsc-root .fsc-radio-card[data-severity="5"] .fsc-sev-bars span { background: linear-gradient(180deg, #ef4444, #b91c1c); }
.fsc-root .fsc-radio-card.active .fsc-sev-bars span {
  box-shadow: 0 0 8px currentColor;
  animation: fsc-pulse-bar 1.6s ease-in-out infinite;
}
@keyframes fsc-pulse-bar {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* Saved indicator */
.fsc-root .fsc-saved-indicator {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #6ee7b7;
  padding: 3px 8px;
  border-radius: 8px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  animation: fsc-fade-out 2.5s forwards;
  pointer-events: none;
}
@keyframes fsc-fade-out {
  0%, 60% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-6px); }
}
.fsc-root .fsc-copilot { position: sticky; top: 24px; }
.fsc-root .fsc-copilot-inner { position: relative; }

/* Mobile copilot toggle */
.fsc-root .fsc-mobile-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.06);
  border: none;
  color: rgba(226, 232, 240, 0.7);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: auto;
}
.fsc-root .fsc-mobile-toggle svg { width: 16px; height: 16px; }
@media (max-width: 960px) {
  .fsc-root .fsc-mobile-toggle { display: flex; }
  .fsc-root .fsc-copilot.collapsed .fsc-estimate-card,
  .fsc-root .fsc-copilot.collapsed .fsc-feedback,
  .fsc-root .fsc-copilot.collapsed .fsc-tip,
  .fsc-root .fsc-copilot.collapsed .fsc-flags-area,
  .fsc-root .fsc-copilot.collapsed .fsc-copilot-footer { display: none; }
}

/* Results buttons row redesign */
.fsc-root .fsc-result-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.fsc-root .fsc-action-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  flex: 1;
}
.fsc-root .fsc-action-group.right { justify-content: flex-end; }

.fsc-root .fsc-btn-download {
  background: linear-gradient(135deg, #10b981, #06b6d4);
  color: #fff;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
}
.fsc-root .fsc-btn-download:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(16, 185, 129, 0.45);
}
.fsc-root .fsc-btn-share {
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.28);
  color: #a5b4fc;
}
.fsc-root .fsc-btn-share:hover { background: rgba(99, 102, 241, 0.22); }

/* Powered by badge redesign (no emoji) */
.fsc-root .fsc-powered-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(139, 92, 246, 0.06);
  border: 1px solid rgba(139, 92, 246, 0.18);
  border-radius: 10px;
  font-size: 0.75rem;
  color: rgba(226, 232, 240, 0.55);
  font-family: "JetBrains Mono", monospace;
  letter-spacing: 0.2px;
  margin-top: 16px;
}
.fsc-root .fsc-powered-badge .fsc-ic {
  color: #a5b4fc;
  width: 13px;
  height: 13px;
  animation: fsc-sparkle-rotate 4s linear infinite;
}
@keyframes fsc-sparkle-rotate {
  0% { transform: rotate(0deg); opacity: 0.8; }
  50% { transform: rotate(180deg); opacity: 1; }
  100% { transform: rotate(360deg); opacity: 0.8; }
}

/* Timeout message during analysis */
.fsc-root .fsc-timeout-msg {
  margin-top: 10px;
  padding: 10px 14px;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 10px;
  font-size: 0.82rem;
  color: #fcd34d;
  animation: fsc-fade-in 0.4s;
}

/* Suggest retry button */
.fsc-root .fsc-retry-btn {
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.25);
  color: #c4b5fd;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s;
}
.fsc-root .fsc-retry-btn:hover { background: rgba(139, 92, 246, 0.2); }

/* Remove old emoji severity/face styles */
.fsc-root .fsc-radio-emoji { display: none; }

/* ═════════════════════════════════════════════════════════════
   Premium hero + mobile-first responsive layer
   ═════════════════════════════════════════════════════════════ */

/* Hero title with proper line break always */
.fs-hero-title {
  font-family: 'Space Grotesk', -apple-system, sans-serif;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0 0 1.25rem;
  font-size: clamp(2rem, 7vw, 4rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}
.fs-hero-line1 {
  color: #e2e8f0;
  display: block;
}
.fs-hero-line2 {
  display: block;
  background: linear-gradient(135deg, #6366f1 0%, #a78bfa 50%, #ec4899 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fsHeroGradient 8s ease-in-out infinite;
  font-weight: 900;
  letter-spacing: -0.03em;
}
@keyframes fsHeroGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Premium trust pills (hero) */
.fs-hero-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 28px;
  padding: 0 8px;
}
.fs-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px 7px 12px;
  border-radius: 22px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
  backdrop-filter: blur(12px);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s, background 0.3s;
  cursor: default;
  position: relative;
  overflow: hidden;
}
.fs-hero-pill::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.06), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s;
}
.fs-hero-pill:hover {
  transform: translateY(-2px);
}
.fs-hero-pill:hover::before { transform: translateX(100%); }

.fs-hero-pill.indigo {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(139, 92, 246, 0.08));
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #c4b5fd;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.fs-hero-pill.indigo:hover { box-shadow: 0 8px 22px rgba(99, 102, 241, 0.3); }

.fs-hero-pill.emerald {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(6, 182, 212, 0.06));
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #6ee7b7;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.fs-hero-pill.emerald:hover { box-shadow: 0 8px 22px rgba(16, 185, 129, 0.25); }

.fs-hero-pill.amber {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(251, 146, 60, 0.06));
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #fcd34d;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.fs-hero-pill.amber:hover { box-shadow: 0 8px 22px rgba(245, 158, 11, 0.25); }

.fs-pill-ic {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  color: currentColor;
}
.fs-pill-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  display: inline-block;
  box-shadow: 0 0 0 0 currentColor;
  animation: fsPillPulse 2.5s infinite;
  margin: 0 3px 0 -2px;
  opacity: 0.7;
}
@keyframes fsPillPulse {
  0% { box-shadow: 0 0 0 0 currentColor; opacity: 0.9; }
  70% { box-shadow: 0 0 0 6px transparent; opacity: 0.4; }
  100% { box-shadow: 0 0 0 0 transparent; opacity: 0.9; }
}

/* Mobile-specific optimizations */
@media (max-width: 768px) {
  .fs-hero-pills { gap: 6px; margin-bottom: 22px; }
  .fs-hero-pill { font-size: 0.72rem; padding: 6px 11px 6px 10px; }
  .fs-hero-pill.indigo { font-size: 0.7rem; }
  .fs-hero-title { margin-bottom: 1rem; }
}

@media (max-width: 420px) {
  .fs-hero-pill { font-size: 0.68rem; padding: 5px 9px; }
  .fs-hero-pill .fs-pill-ic { width: 11px; height: 11px; }
}

/* Calculator mobile responsiveness tweaks */
.fsc-root {
  padding: 0 12px;
}
@media (max-width: 560px) {
  .fsc-root { padding: 0 8px; }
  .fsc-root .fsc-step { padding: 20px 18px; }
  .fsc-root .fsc-step-title { font-size: 1.25rem; }
  .fsc-root .fsc-step-icon { width: 38px; height: 38px; }
  .fsc-root .fsc-step-icon svg { width: 18px; height: 18px; }
  .fsc-root .fsc-step-label { font-size: 0.65rem; letter-spacing: 1px; }
  .fsc-root .fsc-trust { gap: 6px; margin-bottom: 18px; }
  .fsc-root .fsc-trust-chip { font-size: 0.68rem; padding: 5px 10px; }
  .fsc-root .fsc-progress { padding: 10px 12px; gap: 4px; }
  .fsc-root .fsc-progress-step { font-size: 0.72rem; gap: 6px; }
  .fsc-root .fsc-progress-dot { width: 22px; height: 22px; font-size: 0.62rem; }
  .fsc-root .fsc-progress-line { max-width: 16px; }
  .fsc-root .fsc-grid { grid-template-columns: 1fr; gap: 10px; }
  .fsc-root .fsc-field { padding: 10px 12px; }
  .fsc-root .fsc-input { font-size: 1rem; }
  .fsc-root .fsc-radio-group { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .fsc-root .fsc-radio-card { padding: 12px 10px; }
  .fsc-root .fsc-radio-label { font-size: 0.78rem; }
  .fsc-root .fsc-radio-desc { font-size: 0.66rem; }
  .fsc-root .fsc-step-nav { padding: 14px 18px 18px; }
  .fsc-root .fsc-btn { padding: 11px 16px; font-size: 0.88rem; }
  .fsc-root .fsc-btn-xl { padding: 14px 18px; font-size: 0.95rem; }
  .fsc-root .fsc-slider-value { font-size: 1.4rem; }
  .fsc-root .fsc-estimate-value { font-size: 1.4rem; }
  .fsc-root .fsc-result-range { font-size: 1.8rem; word-break: break-word; }
  .fsc-root .fsc-copilot-inner { padding: 18px 18px 20px; }
  .fsc-root .fsc-result-wrap { padding: 22px 18px; }
  .fsc-root .fsc-result-hero { padding: 20px 16px; }
  .fsc-root .fsc-result-actions { flex-direction: column; }
  .fsc-root .fsc-action-group { flex-direction: column; width: 100%; }
  .fsc-root .fsc-action-group .fsc-btn { width: 100%; }
  .fsc-root .fsc-copy-btn { width: 100%; justify-content: center; display: inline-flex; align-items: center; }
  .fsc-root .fsc-nl { font-size: 0.95rem; min-height: 120px; }
  .fsc-root .fsc-loc-label { font-size: 0.72rem; }
  .fsc-root .fsc-sev-bars { height: 22px; }
  .fsc-root .fsc-sev-bars span { width: 4px; }
  .fsc-root .fsc-stars .fsc-star { width: 26px; height: 26px; }
  .fsc-root .fsc-suggest-modal { padding: 22px 18px; }
  .fsc-root .fsc-suggest-actions { flex-direction: column; gap: 8px; }
  .fsc-root .fsc-suggest-actions .fsc-btn, .fsc-root .fsc-suggest-actions .fsc-retry-btn { width: 100%; }
}

/* Tiny screens */
@media (max-width: 360px) {
  .fsc-root .fsc-radio-group { grid-template-columns: 1fr 1fr; }
  .fsc-root .fsc-chips { gap: 6px; }
  .fsc-root .fsc-chip { font-size: 0.78rem; padding: 6px 11px; }
}

/* Touch device optimizations */
@media (hover: none) {
  .fsc-root .fsc-btn:hover { transform: none; }
  .fsc-root .fsc-ai-action-btn:hover { transform: none; }
  .fsc-root .fsc-slider::-webkit-slider-thumb { width: 26px; height: 26px; }
  .fsc-root .fsc-slider { height: 8px; }
}

/* Defensive: hide the SVG icon sprite hard + size any naked svg */
.fsc-root > svg[width="0"] { position: absolute !important; width: 0 !important; height: 0 !important; overflow: hidden !important; pointer-events: none !important; }
.fsc-root svg:not([width]):not(.fsc-star) { width: 14px; height: 14px; max-width: 100%; }
.fs-hero-pill svg { width: 13px; height: 13px; flex-shrink: 0; }

/* ═════════════════════════════════════════════════════════════
   Hero lead + CTA button + Premium feature grid
   ═════════════════════════════════════════════════════════════ */

.fs-hero-lead {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: rgba(226, 232, 240, 0.6);
  max-width: 640px;
  margin: 0 auto 28px;
  line-height: 1.65;
  font-weight: 400;
  padding: 0 12px;
}

/* Big hero CTA button */
.fs-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px 15px 20px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6 50%, #ec4899);
  background-size: 200% auto;
  color: #fff;
  border-radius: 16px;
  font-family: 'Space Grotesk', -apple-system, sans-serif;
  font-weight: 800;
  font-size: clamp(0.98rem, 2.2vw, 1.1rem);
  letter-spacing: -0.01em;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(99, 102, 241, 0.4), 0 2px 0 rgba(255, 255, 255, 0.08) inset;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s, background-position 0.8s;
  position: relative;
  overflow: hidden;
  margin-bottom: 40px;
  animation: fsCtaShine 3.5s ease-in-out infinite;
  cursor: pointer;
  border: none;
}
@keyframes fsCtaShine {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.fs-hero-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.2) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.8s;
}
.fs-hero-cta:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 40px rgba(99, 102, 241, 0.55), 0 3px 0 rgba(255, 255, 255, 0.1) inset;
}
.fs-hero-cta:hover::before { transform: translateX(100%); }
.fs-hero-cta:active { transform: translateY(-1px) scale(0.99); }

.fs-hero-cta-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  backdrop-filter: blur(6px);
  flex-shrink: 0;
  animation: fsCtaIconSpin 8s linear infinite;
}
@keyframes fsCtaIconSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.fs-hero-cta-icon svg { width: 16px; height: 16px; color: #fff; }

.fs-hero-cta-text {
  white-space: nowrap;
}

.fs-hero-cta-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  animation: fsCtaArrow 2s ease-in-out infinite;
}
@keyframes fsCtaArrow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}
.fs-hero-cta-arrow svg { width: 18px; height: 18px; color: #fff; opacity: 0.9; }

/* Premium feature grid */
.fs-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 14px;
  max-width: 880px;
  margin: 0 auto;
  padding: 0 8px;
}

.fs-feature {
  background: rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  padding: 18px 16px 16px;
  text-align: center;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.3s, background 0.3s;
  position: relative;
  overflow: hidden;
}
.fs-feature::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top, rgba(99, 102, 241, 0.08), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.fs-feature:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.3);
  background: rgba(255, 255, 255, 0.045);
}
.fs-feature:hover::before { opacity: 1; }

.fs-feature-ic {
  width: 46px;
  height: 46px;
  margin: 0 auto 12px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.fs-feature-ic::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 14px;
  background: inherit;
  filter: blur(10px);
  opacity: 0.4;
  z-index: -1;
}
.fs-feature-ic svg { width: 22px; height: 22px; color: #fff; position: relative; z-index: 1; }

.fs-feature-ic.indigo { background: linear-gradient(135deg, #6366f1, #4f46e5); box-shadow: 0 6px 18px rgba(99, 102, 241, 0.35); }
.fs-feature-ic.purple { background: linear-gradient(135deg, #8b5cf6, #7c3aed); box-shadow: 0 6px 18px rgba(139, 92, 246, 0.35); }
.fs-feature-ic.emerald { background: linear-gradient(135deg, #10b981, #059669); box-shadow: 0 6px 18px rgba(16, 185, 129, 0.35); }
.fs-feature-ic.amber { background: linear-gradient(135deg, #f59e0b, #d97706); box-shadow: 0 6px 18px rgba(245, 158, 11, 0.35); }

.fs-feature-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  color: #f1f5f9;
  letter-spacing: -0.005em;
  margin-bottom: 4px;
  line-height: 1.2;
}
.fs-feature-sub {
  font-size: 0.76rem;
  color: rgba(226, 232, 240, 0.55);
  line-height: 1.45;
  font-weight: 500;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .fs-hero-cta { padding: 13px 22px 13px 17px; margin-bottom: 32px; gap: 8px; }
  .fs-hero-cta-icon { width: 26px; height: 26px; }
  .fs-feature-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; max-width: 420px; }
  .fs-feature { padding: 16px 12px 14px; }
  .fs-feature-ic { width: 40px; height: 40px; margin-bottom: 10px; }
  .fs-feature-ic svg { width: 20px; height: 20px; }
  .fs-feature-title { font-size: 0.88rem; }
  .fs-feature-sub { font-size: 0.72rem; }
}

@media (max-width: 380px) {
  .fs-hero-cta { padding: 12px 18px 12px 14px; font-size: 0.92rem; }
  .fs-feature-grid { gap: 8px; }
  .fs-feature { padding: 14px 10px 12px; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  .fs-hero-cta, .fs-hero-cta-icon, .fs-hero-cta-arrow { animation: none; }
}

/* Smooth scroll when jumping to calculator */
html { scroll-behavior: smooth; }

/* Force Turnstile iframe always hidden */
iframe[src*='challenges.cloudflare.com'] { position: fixed !important; left: -99999px !important; top: -99999px !important; width: 0 !important; height: 0 !important; visibility: hidden !important; opacity: 0 !important; }
.cf-turnstile, [class*='cf-turnstile'] { position: fixed !important; left: -99999px !important; top: -99999px !important; width: 0 !important; height: 0 !important; overflow: hidden !important; }

/* REMOVE noisy elements that look like loading */
.fsc-root .fsc-copilot-pulse { display: none !important; }
.fsc-root .fsc-mobile-toggle { display: none !important; }
@media (max-width: 960px) {
  .fsc-root .fsc-mobile-toggle { display: flex !important; }
}

/* NUKE any Cloudflare turnstile visible elements */
body > iframe[src*="challenges.cloudflare.com"],
body > [id^="cf-chl"],
body > .cf-turnstile,
body > [class*="turnstile"],
div[id*="turnstile"] iframe {
  position: fixed !important;
  left: -99999px !important;
  top: -99999px !important;
  width: 0 !important;
  height: 0 !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Refactored copilot title without dot */
.fsc-root .fsc-copilot-title { display: inline-flex; align-items: center; gap: 6px; }
.fsc-root .fsc-copilot-title::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
  display: inline-block;
  flex-shrink: 0;
}

/* PDF button styling identical to copy */
.fsc-root .fsc-pdf-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(6, 182, 212, 0.08));
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #6ee7b7;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1;
  height: 34px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s, transform 0.15s;
}
.fsc-root .fsc-pdf-btn:hover { background: linear-gradient(135deg, rgba(16, 185, 129, 0.25), rgba(6, 182, 212, 0.12)); transform: translateY(-1px); }
.fsc-root .fsc-pdf-btn .fsc-ic { width: 13px; height: 13px; }

/* ═════════════════════════════════════════════════════════════
   Pro tier inquiry modal (inline form with Formspree)
   ═════════════════════════════════════════════════════════════ */
.fsc-root ~ .fsc-suggest-modal-bg .fsc-pro-modal,
.fsc-suggest-modal-bg .fsc-pro-modal {
  max-width: 620px;
  padding: 0;
  overflow: hidden;
  position: relative;
}

.fsc-pro-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: none;
  color: rgba(226, 232, 240, 0.7);
  width: 32px;
  height: 32px;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background 0.2s, color 0.2s;
}
.fsc-pro-close svg { width: 18px; height: 18px; }
.fsc-pro-close:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }

.fsc-pro-header {
  padding: 28px 30px 20px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(139, 92, 246, 0.08));
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.fsc-pro-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  margin-bottom: 12px;
  box-shadow: 0 4px 14px rgba(139, 92, 246, 0.35);
}
.fsc-pro-badge .fsc-ic { width: 11px; height: 11px; }

.fsc-pro-title {
  font-family: Space Grotesk, sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  color: #f1f5f9;
  letter-spacing: -0.015em;
  margin: 0 0 8px;
  line-height: 1.2;
}
.fsc-pro-lead {
  font-size: 0.92rem;
  color: rgba(226, 232, 240, 0.7);
  line-height: 1.55;
  margin: 0;
}

/* Plan cards */
.fsc-pro-plans {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  padding: 20px 24px 16px;
}
.fsc-pro-plan {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 14px 14px 12px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}
.fsc-pro-plan input { position: absolute; opacity: 0; pointer-events: none; }
.fsc-pro-plan:hover { border-color: rgba(99, 102, 241, 0.3); background: rgba(99, 102, 241, 0.04); }
.fsc-pro-plan.selected {
  border-color: rgba(139, 92, 246, 0.6);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(99, 102, 241, 0.05));
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
}
.fsc-pro-plan.featured { border-color: rgba(139, 92, 246, 0.35); }
.fsc-pro-plan-name {
  font-weight: 800;
  font-size: 0.85rem;
  color: #f1f5f9;
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.fsc-pro-plan-price {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.4rem;
  font-weight: 900;
  color: #6ee7b7;
  line-height: 1.1;
  margin-bottom: 3px;
}
.fsc-pro-plan-desc {
  font-size: 0.7rem;
  color: rgba(226, 232, 240, 0.55);
  line-height: 1.4;
}
.fsc-pro-tag {
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  color: #fff;
  font-size: 0.55rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 2px 7px;
  border-radius: 10px;
}

/* Form */
.fsc-pro-form { padding: 4px 24px 24px; }
.fsc-pro-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}
.fsc-pro-input, .fsc-pro-textarea {
  width: 100%;
  background: rgba(10, 10, 20, 0.5);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 11px 14px;
  color: #f1f5f9;
  font-family: inherit;
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.fsc-pro-input:focus, .fsc-pro-textarea:focus {
  border-color: rgba(139, 92, 246, 0.55);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.12);
}
.fsc-pro-input::placeholder, .fsc-pro-textarea::placeholder { color: rgba(226, 232, 240, 0.3); }
.fsc-pro-textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.55;
  margin-bottom: 10px;
}
.fsc-pro-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 10px;
  padding: 10px 12px;
  color: #fca5a5;
  font-size: 0.85rem;
  margin-bottom: 10px;
  font-weight: 600;
}
.fsc-pro-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 4px;
}
.fsc-pro-footer {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.76rem;
  color: rgba(226, 232, 240, 0.5);
  text-align: center;
  line-height: 1.55;
}
.fsc-pro-footer strong { color: #a5b4fc; }

/* Success state */
.fsc-pro-success {
  padding: 44px 32px 32px;
  text-align: center;
}
.fsc-pro-success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  background: linear-gradient(135deg, #10b981, #06b6d4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 32px rgba(16, 185, 129, 0.4);
  animation: fsc-success-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes fsc-success-pop { from { transform: scale(0); } to { transform: scale(1); } }
.fsc-pro-success-icon svg { width: 32px; height: 32px; color: #fff; }
.fsc-pro-success h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: #f1f5f9;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.fsc-pro-success p {
  color: rgba(226, 232, 240, 0.75);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 10px;
}
.fsc-pro-success p strong { color: #a5b4fc; }
.fsc-pro-success-sub {
  font-size: 0.85rem !important;
  color: rgba(226, 232, 240, 0.55) !important;
  margin: 0 0 22px !important;
}

/* Mobile */
@media (max-width: 560px) {
  .fsc-pro-plans { grid-template-columns: 1fr; padding: 16px 18px 12px; }
  .fsc-pro-row { grid-template-columns: 1fr; }
  .fsc-pro-header { padding: 24px 22px 18px; }
  .fsc-pro-form { padding: 4px 18px 20px; }
  .fsc-pro-title { font-size: 1.2rem; }
  .fsc-pro-actions { flex-direction: column; }
  .fsc-pro-actions .fsc-btn { width: 100%; }
}

/* Pro modal DEDICATED button class - no conflicts with .fsc-btn */
.fsc-pro-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.86rem;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
  min-width: 90px;
  height: 38px;
  line-height: 1;
  white-space: nowrap;
}
.fsc-pro-btn .fsc-ic { width: 13px; height: 13px; }
.fsc-pro-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.fsc-pro-btn-primary {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.3);
  min-width: 130px;
}
.fsc-pro-btn-primary:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5); }
.fsc-pro-btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(226, 232, 240, 0.8);
}
.fsc-pro-btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }

/* ═════════════════════════════════════════════════════════════
   Premium custom dropdown (.fs-sel — enhances native <select>)
   ═════════════════════════════════════════════════════════════ */
.fs-sel {
  position: relative;
  width: 100%;
}
.fs-sel-native {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 1px !important;
  height: 1px !important;
  left: -9999px !important;
}
.fs-sel-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: transparent;
  border: none;
  color: #f1f5f9;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  padding: 0;
  margin: 0;
  cursor: pointer;
  text-align: left;
  outline: none;
  line-height: 1.2;
}
.fs-sel-btn-label {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.fs-sel-btn-label.is-placeholder { color: rgba(226, 232, 240, 0.35); font-weight: 500; }
.fs-sel-chev {
  width: 10px;
  height: 6px;
  color: #a5b4fc;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.fs-sel.is-open .fs-sel-chev { transform: rotate(180deg); }

.fs-sel-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: -14px;
  right: -14px;
  z-index: 50;
  background: linear-gradient(180deg, rgba(18, 20, 36, 0.98), rgba(12, 14, 26, 0.98));
  border: 1px solid rgba(99, 102, 241, 0.28);
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(0.98);
  transform-origin: top center;
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
  overflow: hidden;
}
.fs-sel.is-open .fs-sel-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.fs-sel-search {
  padding: 10px 12px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.fs-sel-search-input {
  width: 100%;
  background: rgba(10, 10, 20, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #f1f5f9;
  font-family: inherit;
  font-size: 0.9rem;
  padding: 8px 12px;
  border-radius: 9px;
  outline: none;
  transition: border-color 0.2s;
}
.fs-sel-search-input:focus { border-color: rgba(99, 102, 241, 0.55); }
.fs-sel-search-input::placeholder { color: rgba(226, 232, 240, 0.35); }

.fs-sel-list {
  max-height: 280px;
  overflow-y: auto;
  padding: 6px;
  scrollbar-width: thin;
  scrollbar-color: rgba(99, 102, 241, 0.35) transparent;
}
.fs-sel-list::-webkit-scrollbar { width: 8px; }
.fs-sel-list::-webkit-scrollbar-track { background: transparent; }
.fs-sel-list::-webkit-scrollbar-thumb { background: rgba(99, 102, 241, 0.35); border-radius: 4px; }

.fs-sel-opt {
  padding: 9px 12px;
  border-radius: 8px;
  color: rgba(226, 232, 240, 0.85);
  font-size: 0.93rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.12s, color 0.12s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fs-sel-opt:hover, .fs-sel-opt.is-active {
  background: linear-gradient(90deg, rgba(99, 102, 241, 0.18), rgba(139, 92, 246, 0.08));
  color: #f8fafc;
}
.fs-sel-opt.is-selected {
  background: linear-gradient(90deg, rgba(99, 102, 241, 0.28), rgba(139, 92, 246, 0.12));
  color: #fff;
  font-weight: 700;
}
.fs-sel-opt.is-selected::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #a5b4fc;
  box-shadow: 0 0 8px rgba(165, 180, 252, 0.6);
  flex-shrink: 0;
}
.fs-sel-opt.is-placeholder { color: rgba(226, 232, 240, 0.4); font-style: italic; }
.fs-sel-empty {
  padding: 16px 12px;
  text-align: center;
  color: rgba(226, 232, 240, 0.45);
  font-size: 0.9rem;
  font-style: italic;
}

@media (max-width: 560px) {
  .fs-sel-panel { left: -8px; right: -8px; }
  .fs-sel-list { max-height: 240px; }
}

@media (max-width: 480px) {
  .fsc-pro-actions { flex-direction: column-reverse !important; gap: 8px !important; }
  .fsc-pro-btn { width: 100%; min-width: unset; }
}

/* ═══════════════════════════════════════════════════════════════
   Lead-capture wall — soft gate after AI result.
   Visually distinct, on-brand, mobile-first.
   ═══════════════════════════════════════════════════════════════ */
.fsc-lead-wall {
  margin: 22px 0;
  padding: 26px 24px;
  border-radius: 18px;
  background: linear-gradient(140deg, rgba(99,102,241,.22), rgba(139,92,246,.14) 60%, rgba(56,189,248,.10));
  border: 1px solid rgba(165,180,252,.45);
  box-shadow: 0 10px 35px -10px rgba(99,102,241,.35), inset 0 1px 0 rgba(255,255,255,.08);
  position: relative;
  overflow: hidden;
}
.fsc-lead-wall::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(900px 200px at 50% -10%, rgba(165,180,252,.18), transparent 60%);
  pointer-events: none;
}
.fsc-lead-wall-header { position: relative; margin-bottom: 18px; }
.fsc-lead-wall-title {
  margin: 10px 0 6px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  letter-spacing: -.01em;
}
.fsc-lead-wall-lead {
  margin: 0;
  color: rgba(226,232,240,.85);
  font-size: .95rem;
  line-height: 1.6;
}
.fsc-lead-wall-form { position: relative; display: flex; flex-direction: column; gap: 12px; }
.fsc-lead-wall-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.fsc-lead-wall-form input[type="text"],
.fsc-lead-wall-form input[type="tel"],
.fsc-lead-wall-form input[type="email"],
.fsc-lead-wall-form select {
  width: 100%;
  padding: 13px 14px;
  border-radius: 10px;
  background: rgba(15,23,42,.65);
  border: 1px solid rgba(165,180,252,.28);
  color: #fff;
  font-size: .95rem;
  font-family: inherit;
  outline: none;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.fsc-lead-wall-form input::placeholder { color: rgba(226,232,240,.45); }
.fsc-lead-wall-form input:focus,
.fsc-lead-wall-form select:focus {
  border-color: rgba(165,180,252,.85);
  background: rgba(15,23,42,.85);
  box-shadow: 0 0 0 3px rgba(99,102,241,.25);
}
.fsc-lead-wall-form select { appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a5b4fc' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 38px;
}
.fsc-lead-wall-tcpa {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(15,23,42,.45);
  border: 1px solid rgba(165,180,252,.18);
  color: rgba(226,232,240,.78);
  font-size: .8rem;
  line-height: 1.5;
  cursor: pointer;
}
.fsc-lead-wall-tcpa input[type="checkbox"] {
  margin-top: 2px;
  width: 16px; height: 16px;
  accent-color: #6366f1;
  flex-shrink: 0;
}
.fsc-lead-wall-tcpa a { color: #a5b4fc; text-decoration: underline; }
.fsc-lead-wall-submit {
  width: 100%;
  justify-content: center;
  padding: 15px 20px;
  font-size: 1rem;
  font-weight: 700;
  margin-top: 4px;
}
.fsc-lead-wall-trust {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  margin-top: 6px;
  color: rgba(226,232,240,.55);
  font-size: .78rem;
}

@media (max-width: 540px) {
  .fsc-lead-wall { padding: 22px 18px; }
  .fsc-lead-wall-title { font-size: 1.25rem; }
  .fsc-lead-wall-row { grid-template-columns: 1fr; }
}

/* Top-mount: the lead wall sits as the first child of #fsc-root, above the wizard.
   Once captured, it shrinks to a green confirmation pill. */
#fsc-top-lead-wall-slot { margin-bottom: 22px; }
#fsc-top-lead-wall-slot .fsc-lead-wall { margin: 0; }

.fsc-captured-pill {
  display: flex; align-items: center; gap: 10px;
  margin: 0 0 22px;
  padding: 12px 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(52,211,153,.16), rgba(16,185,129,.10));
  border: 1px solid rgba(52,211,153,.35);
  color: #d1fae5;
  font-size: .92rem;
  line-height: 1.5;
}
.fsc-captured-pill b { color: #fff; }

/* Result-page reminder hint when uncaptured — points back to the top wall. */
.fsc-result-locked-hint {
  display: flex; align-items: center; gap: 10px;
  margin: 18px 0;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(245,158,11,.08);
  border: 1px dashed rgba(245,158,11,.35);
  color: rgba(254,243,199,.92);
  font-size: .9rem;
  line-height: 1.5;
}
.fsc-result-locked-hint svg { color: #f59e0b; }
.fsc-result-locked-link {
  color: #fbbf24;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ═══════════════════════════════════════════════════════════════
   Mia AI chat (replaces wizard) — on-brand, mobile-first.
   ═══════════════════════════════════════════════════════════════ */
#fsc-chat-root { width: 100%; max-width: 760px; margin: 0 auto; }
.mia-shell {
  background: linear-gradient(180deg, rgba(15,23,42,.95), rgba(15,23,42,.85));
  border: 1px solid rgba(165,180,252,.20);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 24px 60px -20px rgba(99,102,241,.35), 0 2px 8px rgba(0,0,0,.4);
  display: flex; flex-direction: column;
  min-height: 620px;
}
.mia-header {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 18px;
  background: linear-gradient(120deg, rgba(99,102,241,.18), rgba(139,92,246,.10));
  border-bottom: 1px solid rgba(165,180,252,.18);
}
.mia-header-left { display: flex; align-items: center; gap: 12px; }
.mia-avatar {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border-radius: 11px;
  display: grid; place-items: center;
  color: #fff;
  flex-shrink: 0;
}
.mia-avatar svg { width: 22px; height: 22px; }
.mia-avatar.small { width: 30px; height: 30px; border-radius: 8px; }
.mia-avatar.small svg { width: 18px; height: 18px; }
.mia-title { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.02rem; color: #fff; line-height: 1.2; }
.mia-sub { color: rgba(226,232,240,.55); font-size: .76rem; line-height: 1.3; }
.mia-quota {
  background: rgba(99,102,241,.18); color: #c7d2fe;
  padding: 5px 11px; border-radius: 99px;
  font-size: .76rem; font-weight: 600;
  border: 1px solid rgba(165,180,252,.28);
}

.mia-messages {
  flex: 1; padding: 22px 18px 12px;
  overflow-y: auto;
  scroll-behavior: smooth;
  background: radial-gradient(900px 350px at 50% -30%, rgba(99,102,241,.08), transparent 70%);
  min-height: 420px; max-height: 65vh;
}

.mia-row { display: flex; gap: 10px; margin-bottom: 14px; align-items: flex-end; }
.mia-row.user { justify-content: flex-end; }
.mia-row.bot { justify-content: flex-start; }
.mia-row.sys { justify-content: center; }
.mia-bubble {
  max-width: 82%;
  padding: 12px 15px;
  border-radius: 14px;
  font-size: .95rem;
  line-height: 1.55;
  word-wrap: break-word;
}
.mia-bubble.user {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.mia-bubble.bot {
  background: rgba(30,41,59,.85);
  color: #e2e8f0;
  border: 1px solid rgba(165,180,252,.15);
  border-bottom-left-radius: 4px;
}
.mia-bubble.sys {
  background: rgba(245,158,11,.08);
  border: 1px dashed rgba(245,158,11,.35);
  color: rgba(254,243,199,.92);
  font-size: .88rem;
  max-width: 92%; text-align: center;
}
.mia-bubble.bot strong { color: #fff; font-weight: 700; }
.mia-bubble.bot em { color: #c7d2fe; font-style: italic; }
.mia-bubble.bot a { color: #a5b4fc; text-decoration: underline; }
.mia-bubble.bot .mia-ol { margin: 8px 0 4px; padding-left: 22px; }
.mia-bubble.bot .mia-ol li { margin: 4px 0; }

.mia-bubble.typing { display: flex; gap: 4px; padding: 14px 18px; }
.mia-bubble.typing .dot {
  width: 7px; height: 7px; background: #a5b4fc; border-radius: 50%;
  animation: mia-blink 1.2s infinite ease-in-out;
}
.mia-bubble.typing .dot:nth-child(2) { animation-delay: .2s; }
.mia-bubble.typing .dot:nth-child(3) { animation-delay: .4s; }
@keyframes mia-blink { 0%, 60%, 100% { opacity: .25 } 30% { opacity: 1 } }

/* analysis card */
.mia-bubble.mia-analysis { max-width: 100%; padding: 0; overflow: hidden; }
.mia-an-hero {
  padding: 20px 22px;
  background: linear-gradient(135deg, rgba(99,102,241,.32), rgba(139,92,246,.20));
  border-bottom: 1px solid rgba(165,180,252,.25);
}
.mia-an-label { font-size: .78rem; color: rgba(226,232,240,.7); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; }
.mia-an-range { font-family: 'Space Grotesk', sans-serif; font-size: 1.85rem; font-weight: 700; color: #fff; line-height: 1.2; }
.mia-an-target { font-size: .86rem; color: rgba(226,232,240,.7); margin-top: 4px; }
.mia-an-row { display: flex; gap: 10px; padding: 14px 22px 0; flex-wrap: wrap; }
.mia-an-card {
  flex: 1; min-width: 140px;
  padding: 12px 14px; border-radius: 10px;
  background: rgba(15,23,42,.6);
  border: 1px solid rgba(165,180,252,.15);
}
.mia-an-card-label { font-size: .72rem; color: rgba(226,232,240,.55); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.mia-an-card-val { font-size: 1rem; font-weight: 700; color: #fff; }
.mia-an-sub { padding: 12px 22px 0; color: rgba(226,232,240,.85); font-size: .92rem; line-height: 1.55; }
.mia-an-section-head { padding: 16px 22px 4px; font-family: 'Space Grotesk', sans-serif; font-weight: 700; color: #c7d2fe; font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; }
.mia-an-text { padding: 0 22px; color: rgba(226,232,240,.85); font-size: .92rem; line-height: 1.55; }
.mia-an-list { margin: 0; padding: 0 22px 0 42px; }
.mia-an-list li { color: rgba(226,232,240,.85); font-size: .92rem; line-height: 1.6; margin: 5px 0; }
.mia-an-letter {
  margin: 8px 22px 0;
  padding: 14px 16px;
  background: rgba(15,23,42,.55);
  border: 1px solid rgba(165,180,252,.18);
  border-radius: 10px;
  color: rgba(226,232,240,.92);
  font-size: .88rem;
  line-height: 1.6;
  white-space: pre-wrap;
  font-family: 'Inter', sans-serif;
}
.mia-an-foot { display: flex; gap: 8px; padding: 16px 22px 18px; flex-wrap: wrap; }
.mia-an-btn {
  padding: 9px 14px;
  border-radius: 9px;
  background: rgba(99,102,241,.20);
  border: 1px solid rgba(165,180,252,.35);
  color: #c7d2fe;
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s;
}
.mia-an-btn:hover { background: rgba(99,102,241,.32); }

.mia-input-wrap { padding: 14px 18px 18px; border-top: 1px solid rgba(165,180,252,.12); }
.mia-form { display: flex; gap: 8px; align-items: stretch; }
#mia-input {
  flex: 1;
  padding: 13px 16px;
  border-radius: 12px;
  background: rgba(15,23,42,.7);
  border: 1px solid rgba(165,180,252,.25);
  color: #fff;
  font-size: .95rem;
  font-family: inherit;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
#mia-input::placeholder { color: rgba(226,232,240,.45); }
#mia-input:focus { border-color: rgba(165,180,252,.85); box-shadow: 0 0 0 3px rgba(99,102,241,.25); }
.mia-send {
  width: 46px; height: auto;
  display: grid; place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border: none; color: #fff;
  cursor: pointer;
  transition: transform .12s, opacity .12s;
}
.mia-send:hover { transform: scale(1.05); }
.mia-send:disabled { opacity: .4; cursor: not-allowed; }
.mia-send svg { width: 18px; height: 18px; }
.mia-foot { margin-top: 8px; color: rgba(226,232,240,.45); font-size: .72rem; text-align: center; line-height: 1.4; }
.mia-foot a { color: #a5b4fc; text-decoration: underline; }

@media (max-width: 540px) {
  .mia-shell { min-height: 560px; border-radius: 16px; }
  .mia-messages { padding: 16px 12px 8px; min-height: 360px; }
  .mia-bubble { max-width: 90%; font-size: .92rem; padding: 11px 13px; }
  .mia-an-hero { padding: 16px 18px; }
  .mia-an-range { font-size: 1.5rem; }
  .mia-an-row, .mia-an-list, .mia-an-letter, .mia-an-text, .mia-an-sub { padding-left: 18px; padding-right: 18px; }
  .mia-input-wrap { padding: 10px 12px 14px; }
}

/* Premium CTA card — quota-out, disqualifier off-ramps. */
.mia-bubble.mia-cta-card {
  max-width: 100%;
  padding: 22px 22px 20px;
  background: linear-gradient(140deg, rgba(99,102,241,.30), rgba(139,92,246,.18) 60%, rgba(56,189,248,.12));
  border: 1px solid rgba(165,180,252,.45);
  box-shadow: 0 12px 36px -12px rgba(99,102,241,.45), inset 0 1px 0 rgba(255,255,255,.08);
  position: relative;
  overflow: hidden;
}
.mia-bubble.mia-cta-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(700px 200px at 50% -20%, rgba(165,180,252,.22), transparent 65%);
  pointer-events: none;
}
.mia-cta-head { display: flex; align-items: center; gap: 14px; position: relative; }
.mia-cta-icon {
  width: 46px; height: 46px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border-radius: 13px;
  display: grid; place-items: center;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 6px 18px -6px rgba(139,92,246,.6);
}
.mia-cta-icon svg { width: 24px; height: 24px; }
.mia-cta-badge {
  display: inline-block;
  font-size: .72rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  color: #c7d2fe;
  background: rgba(99,102,241,.22);
  padding: 4px 10px;
  border-radius: 99px;
  margin-bottom: 6px;
  border: 1px solid rgba(165,180,252,.32);
}
.mia-cta-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.18rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  letter-spacing: -.005em;
}
.mia-cta-body {
  margin: 14px 0 18px;
  color: rgba(226,232,240,.88);
  font-size: .95rem;
  line-height: 1.6;
  position: relative;
}
.mia-cta-btn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 10px;
  width: 100%;
  padding: 15px 22px;
  border-radius: 12px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff !important;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none !important;
  letter-spacing: .005em;
  box-shadow: 0 8px 24px -8px rgba(139,92,246,.6), inset 0 1px 0 rgba(255,255,255,.18);
  transition: transform .14s, box-shadow .14s, filter .14s;
  position: relative;
}
.mia-cta-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
  box-shadow: 0 14px 32px -10px rgba(139,92,246,.75), inset 0 1px 0 rgba(255,255,255,.22);
}
.mia-cta-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.mia-cta-note {
  margin-top: 12px;
  color: rgba(226,232,240,.55);
  font-size: .8rem;
  text-align: center;
  line-height: 1.5;
  position: relative;
}

@media (max-width: 540px) {
  .mia-bubble.mia-cta-card { padding: 18px 16px 16px; }
  .mia-cta-icon { width: 40px; height: 40px; }
  .mia-cta-title { font-size: 1.05rem; }
  .mia-cta-btn { padding: 13px 18px; font-size: .95rem; }
}

/* Social-proof callout — appears under the range hero in the analysis card */
.mia-an-proof {
  margin: 14px 22px 0;
  padding: 12px 16px;
  background: linear-gradient(135deg, rgba(245,158,11,.14), rgba(217,119,6,.08));
  border: 1px solid rgba(245,158,11,.32);
  border-radius: 10px;
  color: rgba(254,243,199,.95);
  font-size: .88rem;
  line-height: 1.5;
}
.mia-an-proof b { color: #fff; font-weight: 700; }

/* Report-link block — sticky-feeling save/share row at the bottom of the analysis */
.mia-an-report-link {
  margin: 18px 22px 0;
  padding: 16px 18px;
  background: linear-gradient(140deg, rgba(99,102,241,.20), rgba(139,92,246,.10));
  border: 1px solid rgba(165,180,252,.40);
  border-radius: 12px;
}
.mia-an-report-link-head {
  display: flex; align-items: center; gap: 8px;
  color: #c7d2fe;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.mia-an-report-link-url {
  display: block;
  font-family: ui-monospace, 'SF Mono', Consolas, monospace;
  font-size: .82rem;
  color: #e0e7ff;
  background: rgba(15,23,42,.55);
  padding: 9px 12px;
  border-radius: 7px;
  border: 1px solid rgba(165,180,252,.18);
  word-break: break-all;
  text-decoration: none;
  margin-bottom: 10px;
}
.mia-an-report-link-url:hover { color: #fff; background: rgba(15,23,42,.75); }
.mia-an-report-link-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.mia-an-btn.mia-an-btn-primary {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border-color: transparent;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.mia-an-btn.mia-an-btn-primary:hover { filter: brightness(1.08); }

@media (max-width: 540px) {
  .mia-an-proof { margin-left: 18px; margin-right: 18px; font-size: .85rem; }
  .mia-an-report-link { margin-left: 18px; margin-right: 18px; padding: 14px 16px; }
}
