/* ═══════════════════════════════════════════════════════════════════
   SECONDARY PAGES — Shared Professional Design System
   Inspired by ramseysolutions.com: clean, minimal, trustworthy.
   Keeps the existing dark navy palette but adds professional polish.
   ═══════════════════════════════════════════════════════════════════ */

/* ── Design Tokens — dark theme for secondary pages ──────────────── */
/* Accent/brand tokens reference global design-system.css             */
:root {
  /* Dark page backgrounds (secondary pages use dark navy theme) */
  --sp-bg-primary:   #0a1628;
  --sp-bg-secondary: #0f172a;
  --sp-bg-elevated:  #131d32;
  --sp-bg-card:      rgba(15, 23, 42, 0.65);
  /* Borders */
  --sp-border:        rgba(148, 163, 184, 0.08);
  --sp-border-hover:  rgba(148, 163, 184, 0.15);
  --sp-border-accent: var(--primary-border, rgba(34, 197, 94, 0.2));
  /* Text on dark */
  --sp-text-primary:   #f1f5f9;
  --sp-text-secondary: #94a3b8;
  --sp-text-muted:     #64748b;
  --sp-text-accent:    #4ade80;
  /* Brand accent — reference design system */
  --sp-accent:        var(--primary, #22c55e);
  --sp-accent-hover:  var(--primary-dark, #16a34a);
  --sp-accent-subtle: var(--primary-subtle, rgba(34, 197, 94, 0.08));
  /* Gold — now uses Ramsey gold from design system */
  --sp-gold:   var(--gold, #fcd214);
  --sp-danger: #f87171;
  /* Radius — reference design system */
  --sp-radius-sm: var(--radius-sm, 4px);
  --sp-radius:    var(--radius-md, 12px);
  --sp-radius-lg: var(--radius-lg, 16px);
  --sp-radius-xl: var(--radius-xl, 20px);
  /* Shadows — reference design system */
  --sp-shadow-card:     var(--shadow-md, 0 4px 16px rgba(31,36,38,0.12));
  --sp-shadow-elevated: var(--shadow-xl, 0 8px 24px rgba(31,36,38,0.18));
  --sp-shadow-float:    var(--shadow-2xl, 0 16px 40px rgba(31,36,38,0.20));
  /* Layout */
  --sp-container-max: 1060px;
  --sp-content-max:   720px;
  --sp-article-max:   680px;
  --sp-transition: 0.2s var(--ease-std, cubic-bezier(0.4, 0, 0.2, 1));
}

/* ── Page Backgrounds ─────────────────────────────────────────────── */
.sp-page {
  background: var(--sp-bg-primary);
  min-height: calc(100vh - var(--header-height, 68px));
}

/* ── Containers ───────────────────────────────────────────────────── */
.sp-container {
  max-width: var(--sp-container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.sp-container--narrow {
  max-width: var(--sp-content-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.sp-container--article {
  max-width: var(--sp-article-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Breadcrumbs ──────────────────────────────────────────────────── */
.sp-breadcrumb {
  background: var(--sp-bg-secondary, #ffffff);
  border-bottom: 1px solid var(--sp-border);
  padding: 0.75rem 1.5rem;
}
.sp-breadcrumb-inner {
  max-width: var(--sp-container-max);
  margin: 0 auto;
  font-size: 0.8rem;
  color: var(--sp-text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.sp-breadcrumb a {
  color: var(--sp-text-muted);
  text-decoration: none;
  transition: color var(--sp-transition);
}
.sp-breadcrumb a:hover { color: #16a34a; }
.sp-breadcrumb-sep { color: #475569; font-size: 0.75rem; }

/* ── Hero Sections ────────────────────────────────────────────────── */
.sp-hero {
  background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%);
  padding: clamp(5rem, 8vw, 7rem) 1.5rem clamp(2.5rem, 4vw, 3.5rem);
  text-align: center;
  border-bottom: 1px solid #e5e7eb;
  position: relative;
  overflow: hidden;
}
.sp-hero::after {
  display: none;
}
.sp-hero-inner {
  max-width: var(--sp-content-max);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.sp-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}
.sp-hero h1 {
  font-size: clamp(1.75rem, 4.5vw, 2.6rem);
  font-weight: 800;
  color: #111827;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}
.sp-hero-sub {
  font-size: 1.05rem;
  color: #4b5563;
  line-height: 1.65;
  margin: 0 auto 1.5rem;
  max-width: 560px;
}

/* ── Section Spacing ──────────────────────────────────────────────── */
.sp-section {
  padding: clamp(2.5rem, 4vw, 4rem) 1.5rem;
}
.sp-section--alt {
  background: var(--sp-bg-secondary, #ffffff);
  border-top: 1px solid var(--sp-border);
  border-bottom: 1px solid var(--sp-border);
}
.sp-section-label {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sp-text-muted);
  margin-bottom: 0.5rem;
}
.sp-section-title {
  text-align: center;
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 0.5rem;
  letter-spacing: -0.01em;
}
.sp-section-desc {
  text-align: center;
  font-size: 0.92rem;
  color: var(--sp-text-secondary);
  max-width: 540px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

/* ── Cards ────────────────────────────────────────────────────────── */
.sp-card {
  background: var(--sp-bg-card);
  border: 1px solid var(--sp-border);
  border-radius: var(--sp-radius-lg);
  padding: 1.75rem 1.5rem;
  transition: border-color var(--sp-transition), box-shadow var(--sp-transition), transform var(--sp-transition);
}
.sp-card:hover {
  border-color: var(--sp-border-hover);
  box-shadow: var(--sp-shadow-elevated);
  transform: translateY(-2px);
}
.sp-card--featured {
  border-color: rgba(34, 197, 94, 0.25);
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.15);
}
.sp-card--featured:hover {
  border-color: rgba(34, 197, 94, 0.4);
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.25), var(--sp-shadow-elevated);
}

/* ── Pricing Cards ────────────────────────────────────────────────── */
.sp-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 1020px;
  margin: 0 auto;
}
@media (max-width: 900px) {
  .sp-pricing-grid { grid-template-columns: 1fr 1fr; }
  .sp-pricing-grid > :first-child { grid-column: 1 / -1; max-width: 420px; margin: 0 auto; width: 100%; }
}
@media (max-width: 580px) {
  .sp-pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .sp-pricing-grid > :first-child { grid-column: auto; max-width: none; margin: 0; }
}
.sp-pricing-card {
  background: var(--sp-bg-card);
  border: 1px solid var(--sp-border);
  border-radius: var(--sp-radius-lg);
  padding: 2rem 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--sp-transition), box-shadow var(--sp-transition);
}
.sp-pricing-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--sp-shadow-float);
}
.sp-pricing-card--popular {
  border-color: rgba(34, 197, 94, 0.3);
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.2), 0 4px 24px rgba(34,197,94,0.08);
}
.sp-pricing-card--gold {
  border-color: rgba(251, 191, 36, 0.3);
  box-shadow: 0 0 0 1px rgba(251, 191, 36, 0.2), 0 4px 24px rgba(251,191,36,0.06);
}
.sp-pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--sp-accent);
  color: #052e16;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.25rem 0.85rem;
  border-radius: 20px;
  white-space: nowrap;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ── Buttons ──────────────────────────────────────────────────────── */
.sp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.8rem 1.5rem;
  border-radius: var(--sp-radius-sm);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--sp-transition);
  line-height: 1.4;
}
.sp-btn--primary {
  background: var(--sp-accent);
  color: #052e16;
}
.sp-btn--primary:hover {
  background: var(--sp-accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(34,197,94,0.2);
}
.sp-btn--secondary {
  background: transparent;
  border: 1.5px solid var(--sp-border-accent);
  color: #4ade80;
}
.sp-btn--secondary:hover {
  background: var(--sp-accent-subtle);
  border-color: rgba(34,197,94,0.4);
}
.sp-btn--gold {
  background: var(--sp-gold);
  color: #1a1200;
}
.sp-btn--gold:hover {
  background: #fcd34d;
  transform: translateY(-1px);
}
.sp-btn--block { width: 100%; display: flex; text-align: center; }
.sp-btn--lg { padding: 0.95rem 1.75rem; font-size: 1rem; }
.sp-btn--sm { padding: 0.55rem 1rem; font-size: 0.85rem; }

/* ── Forms ────────────────────────────────────────────────────────── */
.sp-form-group { margin-bottom: 1.15rem; }
.sp-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 0.4rem;
  letter-spacing: 0.01em;
}
.sp-input {
  width: 100%;
  padding: 0.8rem 1rem;
  background: rgba(255,255,255,0.04);
  border: 1.5px solid var(--sp-border);
  border-radius: var(--sp-radius);
  color: #ffffff;
  font-size: 0.95rem;
  transition: border-color var(--sp-transition), box-shadow var(--sp-transition), background var(--sp-transition);
  box-sizing: border-box;
}
.sp-input:focus {
  border-color: rgba(34,197,94,0.45);
  background: rgba(255,255,255,0.06);
  outline: none;
  box-shadow: 0 0 0 3px rgba(34,197,94,0.1);
}
.sp-input::placeholder { color: #94a3b8; }
.sp-input-hint {
  font-size: 0.77rem;
  color: #94a3b8;
  margin-top: 0.3rem;
}
.sp-select {
  width: 100%;
  padding: 0.8rem 1rem;
  background: rgba(255,255,255,0.04);
  border: 1.5px solid var(--sp-border);
  border-radius: var(--sp-radius);
  color: #ffffff;
  font-size: 0.95rem;
  transition: border-color var(--sp-transition);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%2394a3b8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}
.sp-select:focus {
  border-color: rgba(34,197,94,0.45);
  outline: none;
  box-shadow: 0 0 0 3px rgba(34,197,94,0.1);
}

/* ── Auth Cards ───────────────────────────────────────────────────── */
.sp-auth-page {
  min-height: calc(100vh - var(--header-height, 68px));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.5rem;
  background: linear-gradient(160deg, #070e1a 0%, #0a1628 50%, #070c16 100%);
  position: relative;
}
.sp-auth-page::before {
  content: '';
  position: fixed;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(34,197,94,0.04) 0%, transparent 70%);
  pointer-events: none;
}
.sp-auth-card {
  background: rgba(10, 22, 40, 0.85);
  border: 1px solid var(--sp-border);
  border-radius: var(--sp-radius-xl);
  padding: 2.75rem 2.25rem;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--sp-shadow-float);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: relative;
  z-index: 1;
  animation: spAuthIn 0.4s cubic-bezier(0.22,1,0.36,1) both;
}
@keyframes spAuthIn {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@media (max-width: 480px) {
  .sp-auth-card { padding: 2rem 1.25rem; border-radius: 18px; }
}
.sp-auth-logo {
  text-align: center;
  margin-bottom: 1.75rem;
}
.sp-auth-logo a {
  color: #4ade80;
  font-size: 1.25rem;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -0.01em;
}
.sp-auth-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  text-align: center;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}
.sp-auth-sub {
  text-align: center;
  color: var(--sp-text-secondary);
  font-size: 0.88rem;
  margin-bottom: 1.75rem;
  line-height: 1.55;
}
.sp-auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: rgba(255,255,255,0.03);
  border-radius: var(--sp-radius);
  padding: 4px;
  margin-bottom: 1.75rem;
  border: 1px solid var(--sp-border);
}
.sp-auth-tab {
  padding: 0.65rem;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--sp-text-muted);
  cursor: pointer;
  border-radius: 9px;
  border: none;
  background: transparent;
  transition: all var(--sp-transition);
  font-family: inherit;
}
.sp-auth-tab.active {
  background: var(--sp-accent);
  color: #052e16;
  box-shadow: 0 2px 8px rgba(34,197,94,0.2);
}
.sp-auth-tab:hover:not(.active) {
  color: var(--sp-text-secondary);
  background: rgba(255,255,255,0.04);
}
.sp-auth-divider {
  text-align: center;
  color: var(--sp-text-muted);
  font-size: 0.75rem;
  margin: 1.15rem 0;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.sp-auth-divider::before, .sp-auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--sp-border);
}
.sp-auth-error {
  background: rgba(239,68,68,0.06);
  border: 1px solid rgba(239,68,68,0.2);
  color: #fca5a5;
  font-size: 0.84rem;
  padding: 0.7rem 1rem;
  border-radius: var(--sp-radius-sm);
  margin-bottom: 1rem;
  display: none;
  line-height: 1.5;
}
.sp-auth-error.visible { display: block; }
.sp-auth-success {
  background: var(--sp-accent-subtle);
  border: 1px solid var(--sp-border-accent);
  color: #4ade80;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 1rem;
  border-radius: var(--sp-radius-sm);
  margin-bottom: 1rem;
  display: none;
  text-align: center;
  line-height: 1.5;
}
.sp-auth-success.visible { display: block; animation: spFadeIn 0.3s ease; }
.sp-auth-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--sp-border);
  flex-wrap: wrap;
}
.sp-auth-trust-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.73rem;
  color: #94a3b8;
}
.sp-auth-trust-icon { font-size: 0.85rem; }

/* ── FAQ / Accordion ──────────────────────────────────────────────── */
.sp-faq { max-width: var(--sp-article-max); margin: 0 auto; }
.sp-faq-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1.5rem;
  text-align: center;
}
.sp-faq-item {
  border-bottom: 1px solid var(--sp-border);
  overflow: hidden;
}
.sp-faq-q {
  width: 100%;
  padding: 1.15rem 0;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: color var(--sp-transition);
}
.sp-faq-q:hover { color: #4ade80; }
.sp-faq-q::after {
  content: '+';
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--sp-text-muted);
  transition: transform var(--sp-transition);
  flex-shrink: 0;
}
.sp-faq-item.open .sp-faq-q::after {
  content: '−';
  color: #4ade80;
}
.sp-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0;
}
.sp-faq-item.open .sp-faq-a {
  max-height: 500px;
  padding: 0 0 1.15rem;
}
.sp-faq-a-inner {
  color: var(--sp-text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}
.sp-faq-a-inner a { color: #4ade80; text-decoration: none; }
.sp-faq-a-inner a:hover { text-decoration: underline; }

/* ── Trust Badges ─────────────────────────────────────────────────── */
.sp-trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 1rem 1.5rem;
  flex-wrap: wrap;
}
.sp-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--sp-text-muted);
}
.sp-trust-badge svg,
.sp-trust-badge-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.sp-trust-banner {
  background: var(--sp-accent-subtle);
  border: 1px solid var(--sp-border-accent);
  border-radius: var(--sp-radius);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  max-width: var(--sp-content-max);
  margin: 0 auto;
}
.sp-trust-banner-icon { font-size: 1.5rem; flex-shrink: 0; }
.sp-trust-banner-text h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #4ade80;
  margin: 0 0 0.2rem;
}
.sp-trust-banner-text p {
  font-size: 0.82rem;
  color: var(--sp-text-secondary);
  margin: 0;
  line-height: 1.5;
}

/* ── Comparison Table ─────────────────────────────────────────────── */
.sp-compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.sp-compare-table th {
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sp-text-muted);
  border-bottom: 1px solid var(--sp-border);
}
.sp-compare-table th:not(:first-child) { text-align: center; }
.sp-compare-table td {
  padding: 0.8rem 1rem;
  color: var(--sp-text-secondary);
  border-bottom: 1px solid var(--sp-border);
  vertical-align: middle;
}
.sp-compare-table td:not(:first-child) { text-align: center; }
.sp-compare-table tr:last-child td { border-bottom: none; }
.sp-compare-table .sp-col-us { color: #ffffff; font-weight: 600; }
.sp-cmp-yes { color: #4ade80; font-weight: 700; }
.sp-cmp-no { color: var(--sp-danger); font-size: 0.85rem; }
.sp-cmp-partial { color: var(--sp-gold); font-size: 0.85rem; }
@media (max-width: 600px) {
  .sp-compare-table th, .sp-compare-table td { padding: 0.55rem 0.5rem; font-size: 0.8rem; }
}

/* ── Testimonials ─────────────────────────────────────────────────── */
.sp-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: var(--sp-container-max);
  margin: 0 auto;
}
@media (max-width: 700px) { .sp-testimonial-grid { grid-template-columns: 1fr; } }
.sp-testimonial-card {
  background: var(--sp-bg-card);
  border: 1px solid var(--sp-border);
  border-radius: var(--sp-radius);
  padding: 1.25rem;
}
.sp-testimonial-stars {
  color: var(--sp-gold);
  font-size: 0.8rem;
  margin-bottom: 0.65rem;
  letter-spacing: 0.04em;
}
.sp-testimonial-quote {
  color: rgba(255,255,255,0.75);
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0 0 0.75rem;
  font-style: italic;
}
.sp-testimonial-attr {
  font-size: 0.75rem;
  color: var(--sp-text-muted);
  font-weight: 600;
}

/* ── Guide / Article Styling ──────────────────────────────────────── */
.sp-article-body {
  max-width: var(--sp-article-max);
  margin: 0 auto;
  padding: 0 1rem;
}
.sp-article-body h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin: 2.5rem 0 0.85rem;
  line-height: 1.3;
}
.sp-article-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin: 2rem 0 0.65rem;
  line-height: 1.35;
}
.sp-article-body p {
  font-size: 1rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.8;
  margin: 0 0 1.25rem;
}
.sp-article-body ul,
.sp-article-body ol {
  margin: 0 0 1.25rem;
  padding-left: 1.5rem;
}
.sp-article-body li {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin-bottom: 0.5rem;
}
.sp-article-body a {
  color: #4ade80;
  text-decoration: none;
  border-bottom: 1px solid rgba(34,197,94,0.3);
  transition: border-color var(--sp-transition);
}
.sp-article-body a:hover {
  border-color: var(--sp-accent);
}
.sp-article-body blockquote {
  border-left: 3px solid var(--sp-accent);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: var(--sp-accent-subtle);
  border-radius: 0 var(--sp-radius-sm) var(--sp-radius-sm) 0;
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ── Table of Contents ────────────────────────────────────────────── */
.sp-toc {
  background: var(--sp-bg-secondary, #ffffff);
  border: 1px solid var(--sp-border);
  border-radius: var(--sp-radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
}
.sp-toc-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--sp-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}
.sp-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.sp-toc-list a {
  font-size: 0.88rem;
  color: var(--sp-text-secondary);
  text-decoration: none;
  transition: color var(--sp-transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.sp-toc-list a:hover { color: #4ade80; }
.sp-toc-list a::before {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--sp-text-muted);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── Quiz Styles ──────────────────────────────────────────────────── */
.sp-quiz-page {
  min-height: calc(100vh - var(--header-height, 68px));
  background: linear-gradient(160deg, #070e1a 0%, #0a1628 50%, #070c16 100%);
  padding: 2rem 1rem 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.sp-quiz-progress {
  max-width: 600px;
  width: 100%;
  margin: 0 auto 1.5rem;
  padding: 0.75rem 1rem;
  position: sticky;
  top: calc(var(--header-height, 68px) + 0.5rem);
  z-index: 20;
  background: rgba(10,22,40,0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--sp-radius);
  border: 1px solid var(--sp-border);
  box-shadow: var(--sp-shadow-elevated);
}
.sp-quiz-steps {
  display: flex;
  gap: 6px;
  margin-bottom: 0.5rem;
}
.sp-quiz-step {
  flex: 1;
  height: 5px;
  border-radius: 50px;
  background: rgba(148,163,184,0.1);
  transition: background 0.35s cubic-bezier(0.22,1,0.36,1);
}
.sp-quiz-step.active { background: linear-gradient(90deg, var(--sp-accent), #34d76a); }
.sp-quiz-step.done { background: rgba(34,197,94,0.35); }
.sp-quiz-label {
  text-align: center;
  font-size: 0.8rem;
  color: var(--sp-text-muted);
}
.sp-quiz-card {
  max-width: 600px;
  width: 100%;
  background: var(--sp-bg-card);
  border: 1px solid var(--sp-border);
  border-radius: var(--sp-radius-xl);
  padding: 2.25rem 2rem;
  box-shadow: var(--sp-shadow-elevated);
  animation: spQuizCardIn 0.35s ease both;
  position: relative;
  z-index: 1;
}
@keyframes spQuizCardIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 480px) {
  .sp-quiz-card { padding: 1.5rem 1.25rem; }
}
.sp-quiz-question {
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.sp-quiz-hint {
  font-size: 0.85rem;
  color: var(--sp-text-muted);
  margin-bottom: 1.5rem;
}
.sp-quiz-options {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}
.sp-quiz-option {
  background: rgba(255,255,255,0.03);
  border: 1.5px solid var(--sp-border);
  border-radius: var(--sp-radius);
  padding: 0.9rem 1.1rem;
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--sp-transition);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-align: left;
  font-family: inherit;
  width: 100%;
}
.sp-quiz-option:hover {
  border-color: var(--sp-border-hover);
  background: rgba(255,255,255,0.05);
}
.sp-quiz-option.selected {
  border-color: rgba(34,197,94,0.4);
  background: var(--sp-accent-subtle);
  color: #4ade80;
}
.sp-quiz-option-radio {
  width: 20px;
  height: 20px;
  border: 2px solid var(--sp-border);
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  transition: all var(--sp-transition);
}
.sp-quiz-option.selected .sp-quiz-option-radio {
  border-color: var(--sp-accent);
  background: var(--sp-accent);
}
.sp-quiz-option.selected .sp-quiz-option-radio::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: #052e16;
  border-radius: 50%;
}

/* ── Result Cards ─────────────────────────────────────────────────── */
.sp-result-card {
  background: var(--sp-bg-card);
  border: 1px solid var(--sp-border);
  border-radius: var(--sp-radius-lg);
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: border-color var(--sp-transition);
}
.sp-result-card:hover {
  border-color: var(--sp-border-hover);
}
.sp-result-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.65rem;
  flex-wrap: wrap;
}
.sp-result-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
}
.sp-result-card-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.sp-result-card-badge--green {
  background: var(--sp-accent-subtle);
  color: #4ade80;
  border: 1px solid var(--sp-border-accent);
}
.sp-result-card-badge--gold {
  background: rgba(251,191,36,0.1);
  color: var(--sp-gold);
  border: 1px solid rgba(251,191,36,0.2);
}
.sp-result-card-payout {
  font-size: 1.35rem;
  font-weight: 900;
  color: #4ade80;
  margin-bottom: 0.5rem;
  font-family: 'Space Grotesk', sans-serif;
}
.sp-result-card-meta {
  font-size: 0.82rem;
  color: var(--sp-text-muted);
  line-height: 1.5;
}

/* ── Tool Cards (Calculator, etc.) ────────────────────────────────── */
.sp-tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
  gap: 1rem;
}
.sp-tool-card {
  background: var(--sp-bg-card);
  border: 1px solid var(--sp-border);
  border-radius: var(--sp-radius);
  padding: 1.25rem 1.5rem;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: all var(--sp-transition);
}
.sp-tool-card:hover {
  border-color: var(--sp-accent);
  box-shadow: 0 4px 16px rgba(34,197,94,0.08);
  transform: translateY(-2px);
}
.sp-tool-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.sp-tool-card-company {
  font-size: 0.72rem;
  color: var(--sp-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}
.sp-tool-card-urgent {
  font-size: 0.72rem;
  color: var(--sp-gold);
  font-weight: 600;
}
.sp-tool-card-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
}
.sp-tool-card-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.sp-tool-card-payout {
  font-size: 0.95rem;
  font-weight: 800;
  color: #4ade80;
}
.sp-tool-card-tag {
  font-size: 0.72rem;
  color: var(--sp-accent-hover);
  background: var(--sp-accent-subtle);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
}
.sp-tool-card-cta {
  margin-top: auto;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--sp-accent);
  padding-top: 0.65rem;
  border-top: 1px solid var(--sp-border);
}

/* ── Link Cards (Related Tools, etc.) ─────────────────────────────── */
.sp-link-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.85rem;
}
.sp-link-card {
  background: var(--sp-bg-card);
  border: 1px solid var(--sp-border);
  border-radius: var(--sp-radius);
  padding: 1rem 1.15rem;
  text-decoration: none;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  transition: border-color var(--sp-transition);
}
.sp-link-card:hover { border-color: var(--sp-accent); }
.sp-link-card-icon { font-size: 1.4rem; flex-shrink: 0; }
.sp-link-card-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.2rem;
}
.sp-link-card-desc {
  font-size: 0.8rem;
  color: var(--sp-text-muted);
  line-height: 1.45;
}

/* ── Category Pills ───────────────────────────────────────────────── */
.sp-pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.sp-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--sp-bg-secondary, #ffffff);
  border: 1px solid var(--sp-border);
  color: var(--sp-text-secondary);
  padding: 0.45rem 0.85rem;
  border-radius: 7px;
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color var(--sp-transition), color var(--sp-transition);
}
.sp-pill:hover { border-color: var(--sp-accent); color: #ffffff; }

/* ── Bottom CTA Banner ────────────────────────────────────────────── */
.sp-bottom-cta {
  background: linear-gradient(135deg, #052e16 0%, #0a2a1b 100%);
  padding: clamp(3rem, 5vw, 4rem) 1.5rem;
  text-align: center;
  border-top: 1px solid var(--sp-border-accent);
}
.sp-bottom-cta-inner { max-width: 560px; margin: 0 auto; }
.sp-bottom-cta h2 {
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  color: #ffffff;
  margin: 0 0 0.75rem;
  font-weight: 800;
}
.sp-bottom-cta p {
  color: var(--sp-text-secondary);
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ── Stat Pills ───────────────────────────────────────────────────── */
.sp-stats-row {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}
.sp-stat {
  text-align: center;
}
.sp-stat-num {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: #4ade80;
  font-family: 'Space Grotesk', sans-serif;
}
.sp-stat-label {
  font-size: 0.72rem;
  color: var(--sp-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── Misc utility ─────────────────────────────────────────────────── */
.sp-divider {
  height: 1px;
  background: var(--sp-border);
  margin: 2rem 0;
}
.sp-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
@keyframes spFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Social Proof Row ─────────────────────────────────────────────── */
.sp-social-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.sp-social-proof-stars {
  color: var(--sp-gold);
  font-size: 1rem;
  letter-spacing: 0.05em;
}
.sp-social-proof-rating {
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
}
.sp-social-proof-text {
  font-size: 0.82rem;
  color: var(--sp-text-muted);
}
.sp-social-proof-text strong { color: rgba(255,255,255,0.75); }
.sp-social-proof-dot { color: var(--sp-border); }

/* ── Billing Toggle ───────────────────────────────────────────────── */
.sp-billing-toggle-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem 1rem 0.5rem;
}
.sp-billing-label {
  color: var(--sp-text-muted);
  font-size: 0.9rem;
  cursor: pointer;
  transition: color var(--sp-transition);
}
.sp-billing-label.active { color: #ffffff; font-weight: 600; }
.sp-billing-toggle {
  position: relative;
  width: 52px;
  height: 28px;
  cursor: pointer;
}
.sp-billing-toggle input { opacity: 0; width: 0; height: 0; }
.sp-billing-slider {
  position: absolute;
  inset: 0;
  background: rgba(148,163,184,0.15);
  border-radius: 28px;
  transition: 0.3s;
}
.sp-billing-slider:before {
  content: '';
  position: absolute;
  width: 22px;
  height: 22px;
  left: 3px;
  top: 3px;
  background: white;
  border-radius: 50%;
  transition: 0.3s;
}
.sp-billing-toggle input:checked + .sp-billing-slider { background: var(--sp-accent); }
.sp-billing-toggle input:checked + .sp-billing-slider:before { transform: translateX(24px); }
.sp-save-badge {
  background: var(--sp-accent);
  color: #052e16;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.15rem 0.55rem;
  border-radius: 20px;
  letter-spacing: 0.04em;
}

/* ── Feature List (checkmarks) ────────────────────────────────────── */
.sp-feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sp-feature-list li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.8);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--sp-border);
}
.sp-feature-list li:last-child { border-bottom: none; }
.sp-feature-check {
  color: transparent;
  font-size: 0;
  flex-shrink: 0;
  margin-top: 0.15rem;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Ccircle cx='8' cy='8' r='7.25' stroke='%2322c55e' stroke-width='1.5'/%3E%3Cpath d='M5 8.25l2.25 2.25 3.75-4.5' stroke='%2322c55e' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  display: block;
}
.sp-feature-text strong { color: #fff; font-weight: 600; }

/* ── Search Bar ───────────────────────────────────────────────────── */
.sp-search-bar {
  background: var(--sp-bg-secondary, #ffffff);
  border-bottom: 1px solid var(--sp-border);
  padding: 1rem 1.5rem;
  position: sticky;
  top: 0;
  z-index: 10;
}
.sp-search-inner { max-width: var(--sp-container-max); margin: 0 auto; }
.sp-search-input {
  width: 100%;
  max-width: 480px;
  background: var(--sp-bg-elevated);
  border: 1px solid rgba(148,163,184,0.12);
  border-radius: var(--sp-radius-sm);
  color: #ffffff;
  padding: 0.7rem 1rem;
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--sp-transition);
}
.sp-search-input:focus { border-color: var(--sp-accent); }
.sp-search-input::placeholder { color: #475569; }

/* ── Banner CTA (Compare strips, etc.) ────────────────────────────── */
.sp-banner-cta {
  background: var(--sp-accent-subtle);
  border: 1px solid var(--sp-border-accent);
  border-radius: var(--sp-radius);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.sp-banner-cta-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.2rem;
}
.sp-banner-cta-desc {
  font-size: 0.82rem;
  color: var(--sp-text-secondary);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   LIGHT THEME OVERRIDES — white background redesign
   Override dark design tokens with light equivalents.
   Placed at EOF to win CSS cascade.
   ═══════════════════════════════════════════════════════════════════════════════ */
:root {
  --sp-bg-primary: #ffffff;
  --sp-bg-secondary: #f8faf9;
  --sp-bg-elevated: #ffffff;
  --sp-bg-card: #ffffff;
  --sp-border: #e2e8f0;
  --sp-border-hover: #cbd5e1;
  --sp-border-accent: rgba(22, 163, 74, 0.25);
  --sp-text-primary: #111827;
  --sp-text-secondary: #4b5563;
  --sp-text-muted: #64748b;
  --sp-text-accent: #16a34a;
  --sp-accent: #16a34a;
  --sp-accent-hover: #15803d;
  --sp-accent-subtle: rgba(22, 163, 74, 0.06);
  --sp-gold: #d97706;
  --sp-danger: #dc2626;
  --sp-shadow-card: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --sp-shadow-elevated: 0 4px 16px rgba(0,0,0,0.08), 0 1px 4px rgba(0,0,0,0.04);
  --sp-shadow-float: 0 8px 32px rgba(0,0,0,0.1);
}

/* ── Override page backgrounds ── */
.sp-page {
  background: #ffffff !important;
  color: #111827 !important;
}

/* ── Override article body text (guides pages) ── */
.sp-article-body p {
  color: #374151 !important;
}
.sp-article-body li {
  color: #374151 !important;
}
.sp-article-body h2 {
  color: #111827 !important;
}
.sp-article-body h3 {
  color: #111827 !important;
}
.sp-article-body a {
  color: #16a34a !important;
}

/* ── Override hero sections ── */
.sp-hero {
  background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%) !important;
}
.sp-hero h1 {
  color: #111827 !important;
  -webkit-text-fill-color: #111827 !important;
  background: none !important;
}
.sp-hero p {
  color: #4b5563 !important;
}

/* ── Override cards ── */
.sp-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
}
.sp-card:hover {
  border-color: #16a34a !important;
}

/* ── Override testimonials ── */
.sp-testimonial-quote {
  color: #4b5563 !important;
}
.sp-testimonial-attr {
  color: #64748b !important;
}

/* ── Override pricing ── */
.sp-pricing-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
}
.sp-pricing-card h3 {
  color: #111827 !important;
}
.sp-pricing-price,
.plan-price {
  color: #111827 !important;
}
.sp-pricing-feature {
  color: #374151 !important;
}
.plan-name {
  color: #111827 !important;
}
.sp-pricing-cta {
  background: #16a34a !important;
  color: #ffffff !important;
}
/* ── Pricing plan text: override white (#fff) text on now-white card ── */
/* plan-price, plan-name, plan-tier use color:#fff which is invisible on
   the #ffffff card background introduced by the light-theme override above */
.sp-pricing-card .plan-price {
  color: #0f172a !important;
}
.sp-pricing-card .plan-name {
  color: #0f172a !important;
}
.sp-pricing-card .plan-tier {
  color: #166534 !important;
}
.sp-pricing-card .plan-desc {
  color: #475569 !important;
}
.sp-pricing-card .plan-price-unit {
  color: #64748b !important;
}
.sp-pricing-card .plan-billed-note {
  color: #64748b !important;
}
.sp-pricing-card .plan-annual-saving {
  color: #166534 !important;
}
.sp-pricing-card .plan-trial-note {
  color: #64748b !important;
}
.sp-pricing-card .onetime-info h3 {
  color: #0f172a !important;
}
.sp-pricing-card .biz-card-title {
  color: #0f172a !important;
}

/* ── Override form inputs ── */
.sp-input,
.sp-textarea,
.sp-select {
  background: #ffffff !important;
  border: 1px solid #d1d5db !important;
  color: #111827 !important;
}
.sp-input::placeholder,
.sp-textarea::placeholder {
  color: #9ca3af !important;
}

/* ── Override feature sections ── */
.sp-feature-text {
  color: #374151 !important;
}
.sp-feature-text strong {
  color: #111827 !important;
}

/* ── Override social proof ── */
.sp-social-proof-text {
  color: #4b5563 !important;
}
.sp-social-proof-text strong {
  color: #111827 !important;
}

/* ── Override auth pages ── */
.sp-auth-page {
  background: #f8faf9 !important;
}
.sp-auth-page::before {
  display: none !important;
}
.sp-auth-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.sp-auth-logo a {
  color: #16a34a !important;
}
.sp-auth-title {
  color: #111827 !important;
}
.sp-auth-sub {
  color: #4b5563 !important;
}
.sp-auth-tabs {
  background: #f1f5f9 !important;
  border: 1px solid #e2e8f0 !important;
}
.sp-auth-tab {
  color: #64748b !important;
}
.sp-auth-tab.active {
  background: #16a34a !important;
  color: #ffffff !important;
}
.sp-auth-tab:hover:not(.active) {
  color: #374151 !important;
  background: rgba(0,0,0,0.04) !important;
}
.sp-auth-divider {
  color: #9ca3af !important;
}
.sp-auth-divider::before, .sp-auth-divider::after {
  background: #e2e8f0 !important;
}
.sp-auth-error {
  background: #fef2f2 !important;
  border: 1px solid #fecaca !important;
  color: #dc2626 !important;
}
.sp-auth-trust {
  border-top: 1px solid #e2e8f0 !important;
}
.sp-auth-trust-item {
  color: #6b7280 !important;
}
/* ── Override claim tracker marketing panel ── */
.ct-marketing {
  background: linear-gradient(160deg, #f0fdf4 0%, #ecfdf5 40%, #f0fdf4 100%) !important;
  border-right: 1px solid #d1fae5 !important;
}
.ct-marketing::before, .ct-marketing::after { display: none !important; }
.ct-badge {
  background: rgba(22,163,74,0.1) !important;
  border: 1px solid rgba(22,163,74,0.25) !important;
  color: #15803d !important;
  box-shadow: none !important;
}
.ct-marketing h1 {
  color: #111827 !important;
}
.ct-marketing-sub {
  color: #374151 !important;
}
.ct-feature-text strong {
  color: #111827 !important;
}
.ct-feature-text span {
  color: #4b5563 !important;
}
.ct-feature-icon {
  background: rgba(22,163,74,0.08) !important;
  border: 1px solid rgba(22,163,74,0.2) !important;
  box-shadow: none !important;
}
.ct-preview {
  background: #ffffff !important;
  border: 1px solid #d1fae5 !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06) !important;
  backdrop-filter: none !important;
}
.ct-preview-title { color: #16a34a !important; }
.ct-preview-stat-num { color: #16a34a !important; }
.ct-preview-stat-lbl { color: #6b7280 !important; }
.ct-preview-claim {
  background: #f8faf9 !important;
  border: 1px solid #e2e8f0 !important;
}
.ct-preview-claim-name { color: #374151 !important; }
.ct-preview-claim-amt { color: #16a34a !important; }
.ct-pricing-cta {
  background: #f0fdf4 !important;
  border: 1px solid rgba(22,163,74,0.25) !important;
  box-shadow: none !important;
}
.ct-price-amount { color: #16a34a !important; }
.ct-price-period { color: #4b5563 !important; }
.ct-pricing-desc { color: #4b5563 !important; }
.ct-subscribe-trust { color: #6b7280 !important; }
.ct-social-proof { color: #4b5563 !important; }
.ct-avatar:nth-child(1) { background: #dcfce7 !important; color: #15803d !important; border-color: #fff !important; }
.ct-avatar:nth-child(2) { background: #dbeafe !important; color: #1d4ed8 !important; border-color: #fff !important; }
.ct-avatar:nth-child(3) { background: #ede9fe !important; color: #7c3aed !important; border-color: #fff !important; }
.ct-avatar:nth-child(4) { background: #fef3c7 !important; color: #d97706 !important; border-color: #fff !important; }

/* ── Override feature list ── */
.sp-feature-list li {
  color: #374151 !important;
  border-bottom: 1px solid #f1f5f9 !important;
}

/* ── Override section alt ── */
.sp-section--alt {
  background: #f8faf9 !important;
  border-top: 1px solid #e2e8f0 !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

/* ── Override bottom CTA ── */
.sp-bottom-cta {
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%) !important;
  border-top: 1px solid #d1fae5 !important;
}
.sp-bottom-cta h2 { color: #111827 !important; }
.sp-bottom-cta p { color: #4b5563 !important; }

/* ── Override breadcrumbs ── */
.sp-breadcrumb {
  background: #f8faf9 !important;
  border-bottom: 1px solid #e2e8f0 !important;
}
.sp-breadcrumb-inner { color: #6b7280 !important; }
.sp-breadcrumb a { color: #6b7280 !important; }
.sp-breadcrumb a:hover { color: #16a34a !important; }

/* ── Override TOC ── */
.sp-toc {
  background: #f8faf9 !important;
  border: 1px solid #e2e8f0 !important;
}
.sp-toc-title { color: #6b7280 !important; }
.sp-toc-list a { color: #4b5563 !important; }
.sp-toc-list a:hover { color: #16a34a !important; }

/* ── Override pills ── */
.sp-pill {
  background: #f8faf9 !important;
  border: 1px solid #e2e8f0 !important;
  color: #4b5563 !important;
}
.sp-pill:hover { border-color: #16a34a !important; color: #111827 !important; }

/* ── Override stat labels ── */
.sp-stat-label { color: #6b7280 !important; }
.sp-stat-num { color: #16a34a !important; }

/* ── Override compare table ── */
.sp-compare-table th { color: #6b7280 !important; border-bottom: 1px solid #e2e8f0 !important; }
.sp-compare-table td { color: #374151 !important; border-bottom: 1px solid #f1f5f9 !important; }
.sp-compare-table .sp-col-us { color: #111827 !important; }
.sp-cmp-yes { color: #16a34a !important; }
.sp-cmp-no { color: #dc2626 !important; }
.sp-cmp-partial { color: #d97706 !important; }

/* ── Override search bar ── */
.sp-search-bar {
  background: #ffffff !important;
  border-bottom: 1px solid #e2e8f0 !important;
}
.sp-search-input {
  background: #f8faf9 !important;
  border: 1px solid #d1d5db !important;
  color: #111827 !important;
}
.sp-search-input::placeholder { color: #9ca3af !important; }

/* ── Override section titles ── */
.sp-section-title { color: #111827 !important; }
.sp-section-label { color: #6b7280 !important; }
.sp-section-desc { color: #4b5563 !important; }

/* ── Override hero badge + secondary buttons (light mode contrast) ── */
.sp-hero-badge {
  color: #16a34a !important;
  background: rgba(22,163,74,0.06) !important;
  border-color: rgba(22,163,74,0.25) !important;
}
.sp-btn--secondary {
  border-color: #16a34a !important;
  color: #16a34a !important;
}
.sp-btn--secondary:hover {
  background: rgba(22,163,74,0.06) !important;
  border-color: #15803d !important;
  color: #15803d !important;
}
.sp-hero-sub { color: #4b5563 !important; }
.sp-hero::after { background: none !important; }

/* ── Override FAQ ── */
.sp-faq-q { color: #111827 !important; }
.sp-faq-q:hover { color: #16a34a !important; }
.sp-faq-q::after { color: #6b7280 !important; }
.sp-faq-item { border-bottom: 1px solid #e2e8f0 !important; }
.sp-faq-item.open .sp-faq-q::after { color: #16a34a !important; }
.sp-faq-a-inner { color: #4b5563 !important; }
.sp-faq-a-inner a { color: #16a34a !important; }

/* ── Override link cards ── */
.sp-link-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
}
.sp-link-card:hover { border-color: #16a34a !important; }
.sp-link-card-title { color: #111827 !important; }
.sp-link-card-desc { color: #6b7280 !important; }

/* ── Override plan prices & text ── */
.plan-desc { color: #4b5563 !important; }
.plan-billed-note { color: #6b7280 !important; }
.plan-trial-note { color: #6b7280 !important; }

/* ── Override onetime cards ── */
.onetime-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
}
.onetime-info h3 { color: #111827 !important; }
.onetime-info p { color: #6b7280 !important; }

/* ── Override biz cards ── */
.biz-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
}
.biz-card-title { color: #111827 !important; }
.biz-card-desc { color: #6b7280 !important; }

/* ── Override why-col ── */
.why-col {
  background: #f8faf9 !important;
  border: 1px solid #e2e8f0 !important;
}

/* ── Override billing toggle ── */
.sp-billing-label { color: #6b7280 !important; }
.sp-billing-label.active { color: #111827 !important; }
.sp-billing-slider { background: #d1d5db !important; }

/* ── Override ROI banner ── */
.roi-banner, [style*="sp-accent-subtle"] {
  background: #f0fdf4 !important;
  color: #374151 !important;
}

/* ── Override banners ── */
.sp-banner-cta {
  background: #f0fdf4 !important;
  border: 1px solid #c8e6c9 !important;
}
.sp-banner-cta-title {
  color: #111827 !important;
}
.sp-banner-cta-desc {
  color: #4b5563 !important;
}

/* ── Override auth pages (login/signup) ── */
.sp-auth-page {
  background: #F9FAFB !important;
}
.sp-auth-page::before {
  display: none !important;
}
.sp-auth-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.04) !important;
}
.sp-auth-tabs {
  background: #f3f4f6 !important;
  border: 1px solid #e2e8f0 !important;
}
.sp-auth-tab {
  color: #6b7280 !important;
}
.sp-auth-tab.active {
  background: #16a34a !important;
  color: #ffffff !important;
}
.sp-auth-tab:hover:not(.active) {
  color: #111827 !important;
  background: rgba(0,0,0,0.03) !important;
}
.sp-auth-error {
  background: #fef2f2 !important;
  border: 1px solid #fecaca !important;
  color: #dc2626 !important;
}
.sp-auth-divider {
  color: #9ca3af !important;
}
.sp-auth-divider::before, .sp-auth-divider::after {
  background: #e2e8f0 !important;
}
.sp-auth-trust {
  border-top: 1px solid #e2e8f0 !important;
}

/* ── Override login ct-marketing panel (claim tracker mode) ── */
.ct-marketing {
  background: linear-gradient(160deg, #f0fdf4 0%, #ecfdf5 40%, #f0fdf4 100%) !important;
  border-right: 1px solid #e2e8f0 !important;
}
.ct-marketing::before,
.ct-marketing::after {
  display: none !important;
}
.ct-badge {
  background: rgba(22,163,74,0.06) !important;
  border: 1px solid rgba(22,163,74,0.2) !important;
  color: #16a34a !important;
  box-shadow: none !important;
}
.ct-marketing h1 {
  color: #111827 !important;
}
.ct-marketing-sub {
  color: #4b5563 !important;
}
.ct-feature-text strong {
  color: #111827 !important;
}
.ct-feature-text span {
  color: #6b7280 !important;
}
.ct-feature-icon {
  background: rgba(22,163,74,0.06) !important;
  border: 1px solid rgba(22,163,74,0.15) !important;
  box-shadow: none !important;
}
.ct-preview {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06) !important;
  backdrop-filter: none !important;
}
.ct-preview-title {
  color: #6b7280 !important;
}
.ct-preview-stat-num {
  color: #16a34a !important;
}
.ct-preview-stat-lbl {
  color: #6b7280 !important;
}
.ct-preview-claim {
  background: #F9FAFB !important;
  border: 1px solid #e2e8f0 !important;
}
.ct-preview-claim-name {
  color: #111827 !important;
}
.ct-preview-claim-amt {
  color: #16a34a !important;
}
.ct-pricing-cta {
  background: #f0fdf4 !important;
  border: 1px solid rgba(22,163,74,0.18) !important;
  box-shadow: none !important;
}
.ct-price-amount {
  color: #16a34a !important;
}
.ct-price-period {
  color: #6b7280 !important;
}
.ct-pricing-desc {
  color: #4b5563 !important;
}
.ct-subscribe-trust {
  color: #6b7280 !important;
}
.ct-social-proof {
  color: #6b7280 !important;
}
.ct-avatar:nth-child(1) { background: #dcfce7 !important; color: #16a34a !important; }
.ct-avatar:nth-child(2) { background: #dbeafe !important; color: #2563eb !important; }
.ct-avatar:nth-child(3) { background: #ede9fe !important; color: #7c3aed !important; }
.ct-avatar:nth-child(4) { background: #fef3c7 !important; color: #d97706 !important; }
.ct-avatar {
  border: 2px solid #ffffff !important;
}
.status-filed    { background: rgba(22,163,74,0.08) !important; color: #16a34a !important; }
.status-approved { background: rgba(22,163,74,0.08) !important; color: #16a34a !important; }
.status-paid     { background: rgba(217,119,6,0.08) !important; color: #d97706 !important; }

/* ── Override form labels + buttons for light auth pages ── */
.sp-label {
  color: #374151 !important;
}
.sp-btn--primary {
  background: #16a34a !important;
  color: #ffffff !important;
}
.sp-btn--primary:hover {
  background: #15803d !important;
  color: #ffffff !important;
}
.sp-btn--secondary {
  background: transparent !important;
  border: 1.5px solid #d1d5db !important;
  color: #374151 !important;
}
.sp-btn--secondary:hover {
  background: #f3f4f6 !important;
  border-color: #9ca3af !important;
  color: #111827 !important;
}
.sp-auth-trust-item {
  color: #6b7280 !important;
}
.sp-auth-success {
  background: #f0fdf4 !important;
  border: 1px solid #bbf7d0 !important;
  color: #166534 !important;
}
