/* ═══════════════════════════════════════════════════════════════════════════════
   DESIGN SYSTEM PAGES — Homepage sections, Chat bubble, Related settlements
   Split from design-system.css to avoid production truncation (~100KB limit)
   ═══════════════════════════════════════════════════════════════════════════════ */

/* ══════════════════════════════════════════════════════════════════════════════
   HOMEPAGE MISSING SECTIONS — Task #1004265
   Root cause: home.ejs referenced homepage-combined.min.css and 6 fallback CSS
   files (home-sections.css, homepage-pro.css, etc) that were NEVER CREATED.
   17+ sections had zero CSS. All styles consolidated here.
   ══════════════════════════════════════════════════════════════════════════════ */

/* ── Benefits Section Inner Elements (sr-benefit-) ───────────────────────── */
.sr-benefits-header { text-align:center; margin-bottom:40px; max-width:1200px; margin-left:auto; margin-right:auto; }
.sr-benefits-title { font-size:clamp(1.5rem,4vw,2rem); font-weight:800; color:var(--color-ink); margin:0 0 0.5rem; }
.sr-benefits-sub { font-size:1rem; color:var(--color-text-muted); margin:0; max-width:640px; margin-left:auto; margin-right:auto; }
.sr-benefits-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:24px; max-width:1200px; margin:0 auto; }
.sr-benefit-card { text-align:center; padding:32px 24px; background:#ffffff; border:1px solid var(--color-border); border-radius:16px; transition:transform 0.2s,box-shadow 0.2s; }
.sr-benefit-card:hover { transform:translateY(-4px); box-shadow:0 8px 24px rgba(0,0,0,0.08); }
.sr-benefit-icon { display:flex; align-items:center; justify-content:center; margin:0 auto 16px; width:52px; height:52px; background:rgba(37,99,235,0.08); border-radius:12px; }
.sr-benefit-title { font-size:1.1rem; font-weight:700; color:var(--color-ink); margin:0 0 8px; }
.sr-benefit-desc { font-size:0.88rem; color:var(--color-text-muted); line-height:1.6; margin:0 0 12px; }
.sr-benefit-highlight { display:inline-block; font-size:0.75rem; font-weight:700; color:var(--color-accent); background:#eff6ff; border:1px solid #bfdbfe; border-radius:100px; padding:2px 12px; }

/* ── How It Works (hiw-) ─────────────────────────────────────────────────── */
.hiw-section { padding:64px clamp(1rem,4vw,2rem); background:#ffffff; }
.hiw-inner { max-width:1100px; margin:0 auto; }
.hiw-header { text-align:center; margin-bottom:48px; }
.hiw-title { font-size:clamp(1.5rem,4vw,2rem); font-weight:800; color:var(--color-ink); margin:0 0 0.5rem; }
.hiw-sub { font-size:1rem; color:var(--color-text-muted); margin:0; }
.hiw-steps { display:flex; align-items:flex-start; justify-content:center; gap:0; }
.hiw-step { flex:1; max-width:320px; text-align:center; padding:32px 24px; background:var(--color-bg-subtle); border:1px solid var(--color-border); border-radius:16px; transition:transform 0.2s,box-shadow 0.2s; opacity:1; }
.hiw-step:hover { transform:translateY(-4px); box-shadow:0 8px 24px rgba(0,0,0,0.08); }
.hiw-step-icon { display:flex; align-items:center; justify-content:center; margin:0 auto 16px; }
.hiw-step-num { font-size:0.72rem; font-weight:800; color:var(--color-accent); text-transform:uppercase; letter-spacing:0.1em; margin-bottom:8px; }
.hiw-step-title { font-size:1.15rem; font-weight:800; color:var(--color-ink); margin:0 0 8px; }
.hiw-step-desc { font-size:0.88rem; color:#4b5563; line-height:1.6; margin:0; }
.hiw-connector { display:flex; align-items:center; padding:0 8px; flex-shrink:0; margin-top:60px; }
.hiw-footer { text-align:center; margin-top:40px; }
.hiw-trust { font-size:0.88rem; color:var(--color-text-muted); margin:0 0 16px; }
.hiw-cta-btn { display:inline-block; background:var(--color-accent); color:#ffffff; font-size:1rem; font-weight:700; padding:14px 32px; border-radius:10px; text-decoration:none; box-shadow:0 4px 14px rgba(37,99,235,0.3); transition:background 0.2s,transform 0.15s; }
.hiw-cta-btn:hover { background:var(--color-accent-hover); transform:translateY(-2px); }
.hiw-visible { opacity:1; }

/* ── Trust & Social Proof Section (trust-proof-) ─────────────────────────── */
.trust-proof-section { padding:64px clamp(1rem,4vw,2rem); background:#ffffff; }
.trust-proof-inner { max-width:1100px; margin:0 auto; text-align:center; }
.trust-proof-headline { font-size:clamp(1.5rem,4vw,2.2rem); font-weight:800; color:var(--color-ink); margin:0 0 0.5rem; }
.trust-proof-sub { font-size:1rem; color:var(--color-text-muted); margin:0 0 2rem; }
.trust-stats-row { display:flex; align-items:center; justify-content:center; gap:24px; flex-wrap:wrap; margin-bottom:2rem; padding:24px; background:#f8faff; border:1px solid #e2e8f0; border-radius:16px; }
.trust-stat { display:flex; flex-direction:column; align-items:center; min-width:100px; }
.trust-stat-num { font-size:clamp(1.3rem,3vw,1.8rem); font-weight:800; color:#1a1a2e; line-height:1.1; }
.trust-stat-label { font-size:0.78rem; font-weight:500; color:var(--color-text-muted); margin-top:4px; }
.trust-stat-divider { width:1px; height:32px; background:#e2e8f0; flex-shrink:0; }
.trust-badges-row { display:flex; flex-wrap:wrap; gap:10px; justify-content:center; }
.trust-proof-pill { display:inline-flex; align-items:center; gap:8px; background:#f0f4ff; border:1px solid #dbeafe; border-radius:100px; padding:6px 16px; font-size:0.82rem; font-weight:500; color:var(--color-text-secondary); white-space:nowrap; }
.trust-proof-pill-icon { flex-shrink:0; }

/* ── Social Proof Bar (proof-stat, proof-divider) ────────────────────────── */
.social-proof-bar { background:#f8faff; border-top:1px solid #e2e8f0; border-bottom:1px solid #e2e8f0; padding:1rem 1.5rem; }
.social-proof-inner { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:16px; max-width:1100px; margin:0 auto; }
.proof-stat { display:flex; flex-direction:column; align-items:center; text-align:center; min-width:80px; }
.proof-stat-icon { font-size:1.1rem; margin-bottom:2px; }
.proof-stat-number { font-size:clamp(1rem,2.2vw,1.3rem); font-weight:800; color:#1a1a2e; line-height:1.1; }
.proof-stat-label { font-size:0.72rem; font-weight:500; color:var(--color-text-muted); text-transform:uppercase; letter-spacing:0.06em; margin-top:2px; white-space:nowrap; }
.proof-divider { width:1px; height:28px; background:var(--color-text-lighter); flex-shrink:0; }
.live-dot { display:inline-block; width:8px; height:8px; background:#2563eb; border-radius:50%; margin-right:4px; animation:lpt-dot-pulse 1.4s ease-in-out infinite; }

/* ── Freshness Badge Bar ─────────────────────────────────────────────────── */
.freshness-badge-bar { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:10px; padding:0.75rem 1.5rem; background:var(--color-bg-subtle); border-bottom:1px solid var(--color-border); }
.freshness-item { display:inline-flex; align-items:center; gap:5px; font-size:0.78rem; font-weight:600; color:var(--color-text-secondary); white-space:nowrap; }

/* ── HM Banner Section ───────────────────────────────────────────────────── */
.hm-banner-section { padding:0; }
.hm-banner-inner { max-width:1100px; margin:0 auto; display:flex; align-items:center; justify-content:space-between; gap:2rem; flex-wrap:wrap; padding:2.5rem clamp(1rem,4vw,2rem); }
.hm-banner-text { flex:1; min-width:260px; }
.hm-banner-label { font-size:0.78rem; font-weight:700; color:var(--color-accent); text-transform:uppercase; letter-spacing:0.06em; margin-bottom:0.5rem; }
.hm-banner-heading { font-size:clamp(1.2rem,3vw,1.6rem); font-weight:800; color:var(--color-ink); line-height:1.25; margin-bottom:0.5rem; }
.hm-banner-desc { font-size:0.92rem; color:#4b5563; line-height:1.6; }
.hm-banner-cta-wrap { display:flex; flex-direction:column; align-items:center; gap:0.5rem; flex-shrink:0; }
.hm-banner-cta { display:inline-block; background:var(--color-accent); color:#ffffff; font-size:1rem; font-weight:800; padding:0.85rem 1.75rem; border-radius:10px; text-decoration:none; box-shadow:0 4px 18px rgba(59,130,246,0.3); transition:background 0.2s,transform 0.15s; white-space:nowrap; }
.hm-banner-cta:hover { background:var(--color-accent-hover); transform:translateY(-2px); }
.hm-banner-fine { font-size:0.75rem; color:var(--color-text-muted); }

/* ── Community Wins (cw-) ────────────────────────────────────────────────── */
.community-wins-section { padding:64px clamp(1rem,4vw,2rem); background:#ffffff; }
.community-wins-inner { max-width:1200px; margin:0 auto; }
.community-wins-header { display:flex; align-items:flex-start; justify-content:space-between; gap:1rem; margin-bottom:32px; flex-wrap:wrap; }
.community-wins-title { font-size:clamp(1.3rem,3vw,1.8rem); font-weight:800; color:var(--color-ink); margin:0 0 4px; display:flex; align-items:center; gap:8px; }
.community-wins-live-dot { display:inline-block; width:8px; height:8px; background:#2563eb; border-radius:50%; animation:lpt-dot-pulse 1.4s ease-in-out infinite; }
.community-wins-sub { font-size:0.92rem; color:var(--color-text-muted); margin:0; }
.community-wins-see-all { font-size:0.88rem; font-weight:700; color:var(--color-accent); text-decoration:none; white-space:nowrap; }
.community-wins-see-all:hover { text-decoration:underline; }
.community-wins-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:16px; }
.cw-card { background:var(--color-bg-subtle); border:1px solid var(--color-border); border-radius:12px; padding:20px; transition:box-shadow 0.2s,transform 0.2s; }
.cw-card:hover { box-shadow:0 4px 12px rgba(0,0,0,0.08); transform:translateY(-2px); }
.cw-card-top { display:flex; align-items:center; gap:10px; margin-bottom:12px; }
.cw-avatar { display:flex; align-items:center; justify-content:center; width:36px; height:36px; background:#dbeafe; color:#1d4ed8; border-radius:50%; font-size:0.85rem; font-weight:800; flex-shrink:0; }
.cw-card-meta { display:flex; flex-direction:column; gap:2px; }
.cw-location { font-size:0.78rem; font-weight:600; color:var(--color-text-secondary); }
.cw-time { font-size:0.72rem; color:var(--color-text-light); }
.cw-payout { font-size:1.4rem; font-weight:800; color:#2563eb; margin-bottom:8px; }
.cw-settlement { margin-bottom:8px; }
.cw-settlement-link { font-size:0.88rem; font-weight:600; color:#1d4ed8; text-decoration:none; }
.cw-settlement-link:hover { text-decoration:underline; }
.cw-settlement-name { font-size:0.88rem; font-weight:600; color:var(--color-text-secondary); }
.cw-status { display:flex; align-items:center; gap:6px; font-size:0.75rem; font-weight:600; color:#1d4ed8; }
.cw-status-dot { width:6px; height:6px; background:#2563eb; border-radius:50%; }

/* ── Latest Additions (la-) ──────────────────────────────────────────────── */
.latest-additions-section { padding:64px clamp(1rem,4vw,2rem); background:#ffffff; }
.latest-additions-inner { max-width:1200px; margin:0 auto; }
.latest-additions-header { display:flex; align-items:center; justify-content:space-between; gap:1rem; margin-bottom:32px; flex-wrap:wrap; }
.latest-additions-title-row { display:flex; align-items:center; gap:10px; }
.latest-additions-icon::before { content:'🆕'; font-size:1.3rem; }
.latest-additions-title { font-size:clamp(1.3rem,3vw,1.8rem); font-weight:800; color:var(--color-ink); margin:0; }
.latest-additions-sub { font-size:0.88rem; color:var(--color-text-muted); margin:0; }
.latest-additions-count { font-size:0.78rem; font-weight:700; color:var(--color-accent); background:#eff6ff; border:1px solid #bfdbfe; border-radius:100px; padding:4px 12px; white-space:nowrap; }
.latest-additions-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:16px; }
.la-card { display:flex; flex-direction:column; background:#ffffff; border:1px solid var(--color-border); border-radius:12px; padding:20px; text-decoration:none; color:inherit; transition:box-shadow 0.2s,transform 0.2s; position:relative; }
.la-card:hover { box-shadow:0 4px 12px rgba(0,0,0,0.08); transform:translateY(-2px); }
.la-card-new-tag { position:absolute; top:12px; right:12px; background:var(--color-accent); color:#ffffff; font-size:0.65rem; font-weight:800; padding:2px 8px; border-radius:4px; letter-spacing:0.08em; }
.la-card-category { font-size:0.72rem; font-weight:700; color:var(--color-accent); text-transform:uppercase; letter-spacing:0.06em; margin-bottom:6px; }
.la-card-title { font-size:1rem; font-weight:700; color:var(--color-ink); margin-bottom:4px; line-height:1.3; }
.la-card-company { font-size:0.82rem; color:var(--color-text-muted); margin-bottom:12px; }
.la-card-footer { display:flex; align-items:center; justify-content:space-between; margin-top:auto; padding-top:12px; border-top:1px solid var(--color-bg-muted); }
.la-card-payout { font-size:0.88rem; font-weight:700; color:#1d4ed8; }
.la-card-date { font-size:0.75rem; color:var(--color-text-light); }

/* ── Browse by Category (bbc-) ───────────────────────────────────────────── */
.bbc-section { padding:64px clamp(1rem,4vw,2rem); background:#ffffff; }
.bbc-inner { max-width:1200px; margin:0 auto; }
.bbc-header { text-align:center; margin-bottom:32px; }
.bbc-title { font-size:clamp(1.3rem,3vw,1.8rem); font-weight:800; color:var(--color-ink); margin:0 0 0.5rem; }
.bbc-sub { font-size:0.95rem; color:var(--color-text-muted); margin:0; }
.bbc-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:16px; margin-bottom:24px; }
.bbc-card { display:flex; flex-direction:column; background:var(--color-bg-subtle); border:1px solid var(--color-border); border-radius:12px; padding:20px; text-decoration:none; color:inherit; transition:box-shadow 0.2s,transform 0.2s,border-color 0.2s; }
.bbc-card:hover { box-shadow:0 4px 12px rgba(0,0,0,0.08); transform:translateY(-2px); border-color:#bfdbfe; }
.bbc-icon { font-size:1.5rem; margin-bottom:8px; }
.bbc-name { font-size:1rem; font-weight:700; color:var(--color-ink); margin-bottom:6px; }
.bbc-desc { font-size:0.82rem; color:var(--color-text-muted); line-height:1.5; margin:0 0 12px; flex:1; }
.bbc-footer { display:flex; align-items:center; justify-content:space-between; margin-top:auto; }
.bbc-count { font-size:0.75rem; font-weight:600; color:var(--color-text-muted); }
.bbc-cta { font-size:0.82rem; font-weight:700; color:var(--color-accent); }

/* Browse by Company */
.bbc-company-grid { display:flex; flex-wrap:wrap; gap:10px; justify-content:center; margin-bottom:24px; }
.bbc-company-card { display:inline-flex; align-items:center; gap:6px; background:var(--color-bg-subtle); border:1px solid var(--color-border); border-radius:100px; padding:8px 18px; font-size:0.88rem; font-weight:600; color:var(--color-text-secondary); text-decoration:none; transition:all 0.15s; white-space:nowrap; }
.bbc-company-card:hover { background:#eff6ff; border-color:#bfdbfe; color:#1d4ed8; }
.bbc-company-footer { text-align:center; padding-top:16px; }
.bbc-company-all-link { font-size:0.88rem; font-weight:700; color:var(--color-accent); text-decoration:none; }
.bbc-company-all-link:hover { text-decoration:underline; }

/* ── Full Quiz CTA Widget (fms-) ─────────────────────────────────────────── */
.fms-widget-section { padding:64px clamp(1rem,4vw,2rem); background:var(--color-bg-subtle); border-top:1px solid var(--color-border); border-bottom:1px solid var(--color-border); }
.fms-widget-inner { max-width:1100px; margin:0 auto; display:flex; align-items:center; gap:40px; flex-wrap:wrap; }
.fms-widget-text { flex:1; min-width:280px; }
.fms-widget-eyebrow { font-size:0.78rem; font-weight:700; color:var(--color-accent); text-transform:uppercase; letter-spacing:0.06em; margin-bottom:8px; }
.fms-widget-title { font-size:clamp(1.3rem,3vw,1.6rem); font-weight:800; color:var(--color-ink); margin:0 0 8px; }
.fms-widget-sub { font-size:0.92rem; color:#4b5563; line-height:1.6; margin:0 0 16px; }
.fms-widget-bullets { display:flex; flex-direction:column; gap:6px; }
.fms-widget-bullets span { font-size:0.88rem; color:var(--color-text-secondary); font-weight:500; }
.fms-widget-cta-box { background:#ffffff; border:1px solid var(--color-border); border-radius:16px; padding:32px; text-align:center; min-width:260px; box-shadow:0 2px 8px rgba(0,0,0,0.06); }
.fms-widget-stat { margin-bottom:16px; }
.fms-widget-stat-num { font-size:2rem; font-weight:800; color:var(--color-ink); display:block; }
.fms-widget-stat-label { font-size:0.78rem; color:var(--color-text-muted); display:block; }
.fms-widget-btn { display:inline-block; background:var(--color-accent); color:#ffffff; font-size:1rem; font-weight:700; padding:14px 28px; border-radius:10px; text-decoration:none; margin-bottom:8px; box-shadow:0 4px 14px rgba(37,99,235,0.3); transition:background 0.2s,transform 0.15s; }
.fms-widget-btn:hover { background:var(--color-accent-hover); transform:translateY(-2px); }
.fms-widget-note { font-size:0.75rem; color:var(--color-text-light); margin:0; }

/* ── Settlement of the Week (sotw-) ──────────────────────────────────────── */
.sotw-section { padding:64px clamp(1rem,4vw,2rem); background:#f0f4ff; border-top:2px solid #3b82f6; border-bottom:1px solid #bfdbfe; }
.sotw-inner { max-width:1100px; margin:0 auto; }
.sotw-eyebrow { display:flex; align-items:center; gap:8px; margin-bottom:16px; }
.sotw-trophy { font-size:1.3rem; }
.sotw-eyebrow-text { font-size:0.82rem; font-weight:800; color:#1e40af; text-transform:uppercase; letter-spacing:0.08em; }
.sotw-week-badge { font-size:0.75rem; font-weight:600; color:#1e40af; background:rgba(37,99,235,0.1); border:1px solid rgba(37,99,235,0.25); border-radius:100px; padding:2px 10px; }
.sotw-card { display:flex; gap:32px; background:#ffffff; border:1px solid #bfdbfe; border-radius:16px; padding:32px; flex-wrap:wrap; }
.sotw-card-left { flex:1; min-width:260px; }
.sotw-badges { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:12px; }
.sotw-category-badge { font-size:0.72rem; font-weight:700; color:var(--color-accent); background:#eff6ff; border:1px solid #bfdbfe; border-radius:100px; padding:2px 10px; }
.sotw-no-proof-badge { font-size:0.72rem; font-weight:700; color:var(--color-info-text); background:var(--color-info-bg); border:1px solid var(--color-info-border); border-radius:100px; padding:2px 10px; }
.sotw-urgent-badge { font-size:0.72rem; font-weight:700; color:#1d4ed8; background:#eff6ff; border:1px solid #bfdbfe; border-radius:100px; padding:2px 10px; }
.sotw-title { font-size:clamp(1.2rem,3vw,1.5rem); font-weight:800; color:var(--color-ink); margin:0 0 4px; line-height:1.3; }
.sotw-company { font-size:0.88rem; color:var(--color-text-muted); margin:0 0 8px; }
.sotw-summary { font-size:0.88rem; color:#4b5563; line-height:1.6; margin:0; }
.sotw-card-right { display:flex; flex-direction:column; align-items:center; min-width:200px; text-align:center; }
.sotw-payout-block { margin-bottom:16px; }
.sotw-payout-label { font-size:0.72rem; font-weight:700; color:var(--color-text-muted); text-transform:uppercase; letter-spacing:0.06em; margin-bottom:4px; }
.sotw-payout-amount { font-size:1.6rem; font-weight:800; color:#2563eb; }
.sotw-deadline { font-size:0.82rem; color:var(--color-text-muted); margin-top:8px; }
.sotw-deadline-countdown { font-weight:600; }
.sotw-deadline-urgent { color:#1d4ed8; }
.sotw-cta-btn { display:inline-block; background:var(--color-accent); color:#ffffff; font-size:1rem; font-weight:700; padding:14px 32px; border-radius:10px; text-decoration:none; box-shadow:0 4px 14px rgba(37,99,235,0.3); transition:background 0.2s,transform 0.15s; margin-bottom:8px; }
.sotw-cta-btn:hover { background:var(--color-accent-hover); transform:translateY(-2px); }
.sotw-archive-link { font-size:0.82rem; font-weight:600; color:var(--color-accent); text-decoration:none; }
.sotw-archive-link:hover { text-decoration:underline; }

/* ── Quick File Section (qf-) ────────────────────────────────────────────── */
.qf-section { padding:64px clamp(1rem,4vw,2rem); background:#ffffff; }
.qf-inner { max-width:1200px; margin:0 auto; }
.qf-header { display:flex; align-items:flex-start; justify-content:space-between; gap:1.5rem; margin-bottom:32px; flex-wrap:wrap; }
.qf-header-left { flex:1; min-width:260px; }
.qf-eyebrow { font-size:0.78rem; font-weight:700; color:#2563eb; text-transform:uppercase; letter-spacing:0.06em; margin-bottom:6px; }
.qf-title { font-size:clamp(1.3rem,3vw,1.8rem); font-weight:800; color:var(--color-ink); margin:0 0 6px; }
.qf-sub { font-size:0.92rem; color:var(--color-text-muted); margin:0; }
.qf-trust-pills { display:flex; flex-wrap:wrap; gap:8px; }
.qf-pill { font-size:0.78rem; font-weight:600; color:var(--color-text-secondary); background:#eff6ff; border:1px solid #bfdbfe; border-radius:100px; padding:4px 12px; white-space:nowrap; }
.qf-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:16px; margin-bottom:24px; }
.qf-card { background:#ffffff; border:1px solid var(--color-border); border-radius:12px; padding:20px; display:flex; flex-direction:column; transition:box-shadow 0.2s,transform 0.2s; }
.qf-card:hover { box-shadow:0 4px 12px rgba(0,0,0,0.08); transform:translateY(-2px); }
.qf-card-top { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:12px; }
.qf-card-deadline { font-size:0.72rem; font-weight:700; color:var(--color-text-muted); background:var(--color-bg-muted); border-radius:100px; padding:2px 10px; }
.qf-deadline-urgent { color:#1d4ed8; background:#eff6ff; border:1px solid #bfdbfe; }
.qf-deadline-soon { color:#1d4ed8; background:#eff6ff; border:1px solid #bfdbfe; }
.qf-deadline-expired { color:var(--color-text-light); background:var(--color-bg-subtle); }
.qf-card-category { font-size:0.72rem; font-weight:700; color:var(--color-accent); background:#eff6ff; border-radius:100px; padding:2px 10px; }
.qf-card-body { flex:1; margin-bottom:16px; }
.qf-card-company { font-size:0.78rem; font-weight:600; color:var(--color-text-muted); margin-bottom:4px; }
.qf-card-title { font-size:1rem; font-weight:700; color:var(--color-ink); margin:0 0 8px; line-height:1.3; }
.qf-card-payout { display:flex; align-items:baseline; gap:6px; }
.qf-payout-label { font-size:0.75rem; color:var(--color-text-muted); }
.qf-payout-amount { font-size:1.1rem; font-weight:800; color:#2563eb; }
.qf-card-footer { display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.qf-cta-btn { display:inline-block; background:var(--color-accent); color:#ffffff; font-size:0.88rem; font-weight:700; padding:10px 20px; border-radius:8px; text-decoration:none; transition:background 0.2s; }
.qf-cta-btn:hover { background:var(--color-accent-hover); }
.qf-details-link { font-size:0.82rem; font-weight:600; color:var(--color-accent); text-decoration:none; }
.qf-details-link:hover { text-decoration:underline; }
.qf-footer-note { display:flex; align-items:center; gap:12px; flex-wrap:wrap; font-size:0.82rem; color:var(--color-text-muted); }
.qf-see-all { font-size:0.82rem; font-weight:700; color:var(--color-accent); text-decoration:none; }
.qf-see-all:hover { text-decoration:underline; }

/* ── Most Shared Section (ms-) ───────────────────────────────────────────── */
.ms-section { padding:64px clamp(1rem,4vw,2rem); background:var(--color-bg-subtle); }
.ms-inner { max-width:1200px; margin:0 auto; }
.ms-header { display:flex; align-items:flex-start; justify-content:space-between; gap:1rem; margin-bottom:32px; flex-wrap:wrap; }
.ms-header-left { flex:1; min-width:260px; }
.ms-eyebrow { font-size:0.78rem; font-weight:700; color:var(--color-accent); margin-bottom:6px; }
.ms-title { font-size:clamp(1.3rem,3vw,1.8rem); font-weight:800; color:var(--color-ink); margin:0 0 6px; }
.ms-sub { font-size:0.92rem; color:var(--color-text-muted); margin:0; }
.ms-see-all-top { font-size:0.88rem; font-weight:700; color:var(--color-accent); text-decoration:none; white-space:nowrap; }
.ms-see-all-top:hover { text-decoration:underline; }
.ms-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:16px; margin-bottom:24px; }
.ms-card { display:flex; flex-direction:column; background:#ffffff; border:1px solid var(--color-border); border-radius:12px; padding:20px; text-decoration:none; color:inherit; position:relative; transition:box-shadow 0.2s,transform 0.2s; }
.ms-card:hover { box-shadow:0 4px 12px rgba(0,0,0,0.08); transform:translateY(-2px); }
.ms-card-rank { position:absolute; top:12px; left:12px; font-size:0.72rem; font-weight:800; color:var(--color-accent); background:#eff6ff; border:1px solid #bfdbfe; border-radius:8px; padding:2px 8px; }
.ms-share-badge { display:inline-flex; align-items:center; gap:4px; font-size:0.72rem; font-weight:600; color:var(--color-text-muted); margin-bottom:8px; margin-left:auto; }
.ms-card-body { flex:1; }
.ms-card-company { font-size:0.78rem; font-weight:600; color:var(--color-text-muted); margin-bottom:4px; }
.ms-card-title { font-size:1rem; font-weight:700; color:var(--color-ink); margin:0 0 8px; line-height:1.3; }
.ms-card-payout { font-size:0.88rem; font-weight:700; color:#2563eb; }
.ms-card-footer { display:flex; align-items:center; justify-content:space-between; margin-top:12px; padding-top:12px; border-top:1px solid var(--color-bg-muted); }
.ms-deadline { font-size:0.75rem; font-weight:600; color:var(--color-text-muted); }
.ms-deadline-urgent { color:#1d4ed8; }
.ms-cta { font-size:0.82rem; font-weight:700; color:var(--color-accent); }
.ms-footer { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px; }
.ms-footer-note { font-size:0.78rem; color:var(--color-text-light); }
.ms-see-all { font-size:0.82rem; font-weight:700; color:var(--color-accent); text-decoration:none; }
.ms-see-all:hover { text-decoration:underline; }

/* ── Closing Soon / Closing This Week (cs-) ──────────────────────────────── */
.cs-section { padding:64px clamp(1rem,4vw,2rem); background:#ffffff; border-top:2px solid #3b82f6; }
.cs-inner { max-width:1200px; margin:0 auto; }
.cs-header { display:flex; align-items:flex-start; justify-content:space-between; gap:1rem; margin-bottom:32px; flex-wrap:wrap; }
.cs-eyebrow { font-size:0.78rem; font-weight:700; color:#1d4ed8; margin-bottom:6px; }
.cs-title { font-size:clamp(1.3rem,3vw,1.8rem); font-weight:800; color:var(--color-ink); margin:0 0 6px; }
.cs-sub { font-size:0.92rem; color:var(--color-text-muted); margin:0; }
.cs-see-all-link { font-size:0.88rem; font-weight:700; text-decoration:none; white-space:nowrap; }
.cs-see-all-link:hover { text-decoration:underline; }
.cs-grid { display:flex; flex-direction:column; gap:12px; }
.cs-card { display:flex; align-items:center; gap:20px; background:#ffffff; border:1px solid var(--color-border); border-radius:12px; padding:20px; text-decoration:none; color:inherit; transition:box-shadow 0.2s,transform 0.2s; }
.cs-card:hover { box-shadow:0 4px 12px rgba(0,0,0,0.08); transform:translateY(-1px); }
.cs-card-urgent { border-color:#bfdbfe; background:#f0f4ff; }
.cs-card-warn { border-color:#bfdbfe; background:#f8faff; }
.cs-countdown-col { display:flex; flex-direction:column; align-items:center; min-width:56px; flex-shrink:0; }
.cs-days-big { font-size:1.8rem; font-weight:900; color:#1d4ed8; line-height:1; }
.cs-days-unit { font-size:0.68rem; font-weight:700; color:#1d4ed8; text-transform:uppercase; letter-spacing:0.08em; }
.cs-card-info { display:flex; flex-direction:column; gap:2px; flex:1; min-width:0; }
.cs-card-company { font-size:0.78rem; font-weight:600; color:var(--color-text-muted); }
.cs-card-title { font-size:1rem; font-weight:700; color:var(--color-ink); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.cs-card-date { font-size:0.75rem; color:var(--color-text-light); }
.cs-arrow { font-size:1.2rem; color:var(--color-text-light); flex-shrink:0; }

/* ── Expiring Soon ───────────────────────────────────────────────────────── */
.expiring-soon-section { padding:64px clamp(1rem,4vw,2rem); background:#ffffff; }
.expiring-soon-inner { max-width:1200px; margin:0 auto; }
.expiring-soon-header { display:flex; align-items:flex-start; justify-content:space-between; gap:1rem; margin-bottom:32px; flex-wrap:wrap; }
.expiring-soon-title-row { display:flex; align-items:center; gap:10px; }
.expiring-soon-title { font-size:clamp(1.3rem,3vw,1.8rem); font-weight:800; color:var(--color-ink); margin:0; }
.expiring-soon-sub { font-size:0.88rem; color:var(--color-text-muted); margin:0; }

/* ── 72-Hour Deadline Alert (c72-) ───────────────────────────────────────── */
.c72-inner { max-width:1200px; margin:0 auto; }
.c72-header { display:flex; align-items:flex-start; justify-content:space-between; gap:1rem; margin-bottom:24px; flex-wrap:wrap; }
.c72-eyebrow { font-size:0.78rem; font-weight:700; color:#1d4ed8; margin-bottom:4px; }
.c72-title { font-size:clamp(1.3rem,3vw,1.8rem); font-weight:800; color:var(--color-ink); margin:0 0 6px; }
.c72-sub { font-size:0.92rem; color:var(--color-text-muted); margin:0; }
.c72-cta-header { font-size:0.88rem; font-weight:700; color:#1d4ed8; text-decoration:none; white-space:nowrap; }
.c72-cta-header:hover { text-decoration:underline; }
.c72-grid { display:flex; flex-direction:column; gap:10px; margin-bottom:16px; }
.c72-card { display:flex; align-items:center; gap:16px; background:#f0f4ff; border:1px solid #bfdbfe; border-radius:12px; padding:16px 20px; text-decoration:none; color:inherit; transition:box-shadow 0.2s; }
.c72-card:hover { box-shadow:0 4px 12px rgba(37,99,235,0.12); }
.c72-countdown { display:flex; flex-direction:column; align-items:center; min-width:48px; flex-shrink:0; }
.c72-days-num { font-size:1.6rem; font-weight:900; color:#1d4ed8; line-height:1; }
.c72-days-lbl { font-size:0.6rem; font-weight:700; color:#1d4ed8; text-transform:uppercase; letter-spacing:0.08em; }
.c72-info { display:flex; flex-direction:column; gap:2px; flex:1; min-width:0; }
.c72-company { font-size:0.78rem; font-weight:600; color:var(--color-text-muted); }
.c72-name { font-size:0.95rem; font-weight:700; color:var(--color-ink); display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.c72-no-proof { font-size:0.68rem; font-weight:700; color:#2563eb; background:#eff6ff; border:1px solid #bfdbfe; border-radius:100px; padding:1px 8px; }
.c72-deadline { font-size:0.75rem; color:var(--color-text-light); }
.c72-arrow { font-size:1.2rem; color:#2563eb; flex-shrink:0; }
.c72-subscribe-nudge { text-align:center; font-size:0.82rem; color:var(--color-text-muted); }
.c72-subscribe-nudge a { color:var(--color-accent); font-weight:600; }

/* ── Homepage Quiz Section (hq-) ─────────────────────────────────────────── */
.hq-section { padding:64px clamp(1rem,4vw,2rem); background:var(--color-bg-subtle); }
.hq-inner { max-width:700px; margin:0 auto; }

/* ── Household Money Calculator (hmc-) ───────────────────────────────────── */
.hmc-section { padding:64px clamp(1rem,4vw,2rem); background:#ffffff; }
.hmc-inner { max-width:700px; margin:0 auto; }

/* Bug #1007162: responsive button label toggle */
.hmc-btn-short { display:none; }
@media (max-width:480px) {
  .hmc-btn-full { display:none; }
  .hmc-btn-short { display:inline; }
}

/* Bug #1007162: slider tick labels */
.hmc-slider-ticks {
  display:flex;
  justify-content:space-between;
  font-size:0.72rem;
  color:var(--color-text-light);
  padding:0.25rem 0.15rem 0;
}

/* ── Mini Testimonials ───────────────────────────────────────────────────── */
.mini-testi-section { padding:48px clamp(1rem,4vw,2rem); background:var(--color-bg-subtle); border-top:1px solid var(--color-border); border-bottom:1px solid var(--color-border); }
.mini-testi-inner { max-width:1100px; margin:0 auto; }

/* ── Claim Success Stories (css-) ────────────────────────────────────────── */
.css-section { padding:64px clamp(1rem,4vw,2rem); background:var(--color-bg-subtle); }
.css-inner { max-width:1100px; margin:0 auto; }
.css-header { display:flex; align-items:flex-start; justify-content:space-between; gap:1rem; margin-bottom:2rem; flex-wrap:wrap; }
.css-header-text { flex:1; min-width:0; }
.css-badge { display:inline-flex; align-items:center; gap:6px; background:rgba(37,99,235,0.08); border:1px solid rgba(37,99,235,0.2); color:#1d4ed8; font-size:0.72rem; font-weight:800; padding:0.28rem 0.85rem; border-radius:20px; letter-spacing:0.06em; text-transform:uppercase; margin-bottom:0.75rem; }
.css-title { font-size:clamp(1.5rem,3.5vw,2rem); font-weight:800; color:#0f172a; line-height:1.15; margin:0 0 0.5rem; letter-spacing:-0.02em; }
.css-sub { font-size:0.95rem; color:var(--color-text-muted); margin:0; line-height:1.55; }
.css-share-btn { flex-shrink:0; display:inline-flex; align-items:center; gap:6px; background:#ffffff; border:1.5px solid var(--color-border); border-radius:10px; padding:0.55rem 1.1rem; font-size:0.85rem; font-weight:600; color:var(--color-text-secondary); cursor:pointer; transition:border-color 0.15s, background 0.15s; white-space:nowrap; align-self:flex-start; }
.css-share-btn:hover { border-color:#3b82f6; color:#1d4ed8; background:#eff6ff; }
.css-carousel { display:flex; gap:1rem; overflow-x:auto; scroll-snap-type:x mandatory; -webkit-overflow-scrolling:touch; padding-bottom:0.5rem; scrollbar-width:none; -ms-overflow-style:none; }
.css-carousel::-webkit-scrollbar { display:none; }
.css-card { flex:0 0 320px; background:#ffffff; border:1px solid var(--color-border); border-radius:16px; padding:1.25rem; box-shadow:0 2px 8px rgba(0,0,0,0.05); display:flex; flex-direction:column; gap:0.75rem; scroll-snap-align:start; }
.css-card-header { display:flex; align-items:center; gap:0.75rem; }
.css-avatar { width:40px; height:40px; border-radius:50%; background:linear-gradient(135deg,#3b82f6,#1d4ed8); color:#fff; display:flex; align-items:center; justify-content:center; font-size:1rem; font-weight:700; flex-shrink:0; }
.css-card-meta { display:flex; flex-direction:column; gap:2px; min-width:0; }
.css-card-name { font-size:0.88rem; font-weight:700; color:var(--color-ink); }
.css-card-amount { font-size:0.82rem; color:var(--color-text-muted); }
.css-card-amount strong { color:#1d4ed8; font-weight:700; }
.css-card-quote { font-size:0.9rem; color:var(--color-text-secondary); line-height:1.55; margin:0; font-style:italic; flex:1; }
.css-card-settlement { display:flex; align-items:center; gap:0.4rem; margin-top:auto; flex-wrap:wrap; }
.css-card-settlement-label { font-size:0.72rem; font-weight:700; color:var(--color-text-light); text-transform:uppercase; letter-spacing:0.05em; white-space:nowrap; }
.css-card-settlement-name { font-size:0.82rem; font-weight:600; color:var(--color-text-secondary); text-decoration:none; }
a.css-card-settlement-name:hover { color:#1d4ed8; text-decoration:underline; }
.css-card-footer-meta { display:flex; align-items:center; justify-content:space-between; gap:0.5rem; padding-top:0.6rem; border-top:1px solid var(--color-bg-muted); flex-wrap:wrap; }
.css-card-date { font-size:0.75rem; color:var(--color-text-light); }
.css-card-verified { font-size:0.75rem; font-weight:600; color:#1d4ed8; display:inline-flex; align-items:center; gap:3px; }
.css-carousel-controls { display:flex; align-items:center; justify-content:center; gap:1rem; margin-top:1.25rem; }
.css-nav-btn { width:36px; height:36px; border-radius:50%; background:#ffffff; border:1.5px solid var(--color-border); color:var(--color-text-secondary); font-size:1rem; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:border-color 0.15s, background 0.15s; }
.css-nav-btn:hover { border-color:#3b82f6; background:#eff6ff; color:#1d4ed8; }
.css-dots { display:flex; gap:6px; align-items:center; }
.css-dot { width:8px; height:8px; border-radius:50%; background:var(--color-border); transition:background 0.2s, width 0.2s; }
.css-dot.active { background:#3b82f6; width:20px; border-radius:4px; }
.css-footer-cta { margin-top:1.75rem; text-align:center; }
.css-footer-text { font-size:0.9rem; color:var(--color-text-muted); margin:0 0 0.6rem; line-height:1.5; }
.css-footer-link { background:none; border:none; color:#3b82f6; font-weight:600; cursor:pointer; text-decoration:none; padding:0; font-size:inherit; font-family:inherit; }
.css-footer-link:hover { text-decoration:underline; }
.css-see-all-link { display:inline-block; font-size:0.88rem; font-weight:600; color:#3b82f6; text-decoration:none; }
.css-see-all-link:hover { text-decoration:underline; }
@media (max-width:640px) { .css-card { flex:0 0 280px; } .css-header { flex-direction:column; } .css-share-btn { align-self:auto; } }

/* ── SP Section centering fix ────────────────────────────────────────────── */
.sp-section { max-width:1200px; margin-left:auto; margin-right:auto; }

/* ── Filters Section ─────────────────────────────────────────────────────── */
.filters-section { padding:32px clamp(1rem,4vw,2rem); background:#ffffff; }
.filters-inner { max-width:1200px; margin:0 auto; }

/* ── Trust Badges / Near You / Featured Roundup ──────────────────────────── */
.trust-badges-section { padding:48px clamp(1rem,4vw,2rem); background:var(--color-bg-subtle); }
.trust-badges-bridge { max-width:1200px; margin-left:auto; margin-right:auto; }
.near-you-section { padding:64px clamp(1rem,4vw,2rem); background:#ffffff; }
.near-you-inner { max-width:1200px; margin:0 auto; }
.featured-roundup-bar { padding:16px clamp(1rem,4vw,2rem); background:#f0f4ff; border-top:1px solid #bfdbfe; border-bottom:1px solid #bfdbfe; max-width:100%; }

/* ── Activity Ticker (LIVE bar — navy, NOT green) ────────────────────────── */
.activity-ticker-wrap { background:#0c1628; border-bottom:1px solid rgba(59,130,246,0.2); overflow:hidden; padding:0; display:flex; align-items:stretch; }
.activity-ticker-label { display:inline-flex; align-items:center; gap:6px; background:#2563eb; color:#ffffff; font-size:0.62rem; font-weight:800; letter-spacing:0.1em; padding:8px 12px; text-transform:uppercase; flex-shrink:0; white-space:nowrap; }
.ticker-live-dot { display:inline-block; width:6px; height:6px; background:#ffffff; border-radius:50%; animation:lpt-dot-pulse 1.4s ease-in-out infinite; }
.activity-ticker-track { display:flex; align-items:center; white-space:nowrap; overflow:hidden; flex:1; mask-image:linear-gradient(to right,transparent 0,#000 32px,#000 calc(100% - 32px),transparent 100%); -webkit-mask-image:linear-gradient(to right,transparent 0,#000 32px,#000 calc(100% - 32px),transparent 100%); }
.ticker-group { display:inline-flex; gap:32px; flex-shrink:0; }
.ticker-item { display:inline-flex; align-items:center; gap:8px; font-size:0.78rem; color:#cbd5e1; padding:0 16px; flex-shrink:0; }
.ticker-avatar { display:inline-flex; align-items:center; justify-content:center; width:24px; height:24px; background:rgba(59,130,246,0.2); color:#93c5fd; border-radius:50%; font-size:0.65rem; font-weight:700; flex-shrink:0; }
.ticker-text { color:#cbd5e1; }
.ticker-payout { color:#60a5fa; font-weight:800; }
.ticker-settlement { color:#e2e8f0; font-weight:600; font-style:normal; }
.ticker-sep { color:#475569; }
.ticker-time { font-size:0.72rem; color:#64748b; }

/* ── MCW Share Row (calculator shares) ───────────────────────────────────── */
.mcw-share-row { display:flex; align-items:center; gap:8px; justify-content:center; flex-wrap:wrap; padding:12px 0; opacity:0; transition:opacity 0.3s; }
.mcw-share-row.show { opacity:1; }
.mcw-shr-btn { display:inline-flex; align-items:center; gap:4px; padding:8px 16px; border-radius:8px; font-size:0.82rem; font-weight:600; border:1px solid var(--color-border); background:#ffffff; color:var(--color-text-secondary); cursor:pointer; text-decoration:none; transition:all 0.15s; min-height:36px; }
.mcw-shr-btn:hover { border-color:#bfdbfe; background:#eff6ff; color:#1d4ed8; }
.mcw-shr-x { border-color:#1f2937; background:#1f2937; color:#ffffff; }
.mcw-shr-x:hover { background:var(--color-ink); }

/* ── CAS Explainer (SEO) ────────────────────────────────────────────────── */
.cas-explainer { padding:64px clamp(1rem,4vw,2rem); background:#ffffff; }
.cas-explainer-inner { max-width:860px; margin:0 auto; }

/* ── Responsive: All homepage sections ───────────────────────────────────── */
@media (max-width:768px) {
  .hiw-steps { flex-direction:column; align-items:center; gap:16px; }
  .hiw-connector { display:none; }
  .hiw-step { max-width:100%; }
  .trust-stats-row { gap:16px; padding:16px; }
  .trust-stat-divider { display:none; }
  .trust-badges-row { gap:8px; }
  .trust-proof-pill { font-size:0.75rem; padding:4px 12px; }
  .social-proof-inner { gap:12px; }
  .proof-divider { display:none; }
  .sotw-card { flex-direction:column; }
  .sotw-card-right { align-items:flex-start; text-align:left; }
  .fms-widget-inner { flex-direction:column; }
  .fms-widget-cta-box { width:100%; }
  .sr-benefits-grid { grid-template-columns:repeat(2,1fr); }
  .bbc-grid { grid-template-columns:repeat(2,1fr); }
  .community-wins-grid { grid-template-columns:repeat(2,1fr); }
  .qf-grid { grid-template-columns:repeat(2,1fr); }
  .ms-grid { grid-template-columns:repeat(2,1fr); }
  .cs-card { gap:12px; padding:14px; }
  .hstat-divider { display:none; }
  .hero-stat-bar-inner { gap:8px; }
  .hm-banner-inner { flex-direction:column; text-align:center; }
  .hm-banner-cta-wrap { align-items:center; }
}

@media (max-width:480px) {
  .hiw-step { padding:20px 16px; }
  .trust-stats-row { flex-direction:column; gap:12px; }
  .sr-benefits-grid { grid-template-columns:1fr; }
  .bbc-grid { grid-template-columns:1fr; }
  .bbc-company-grid { gap:6px; }
  .bbc-company-card { padding:6px 14px; font-size:0.82rem; }
  .community-wins-grid { grid-template-columns:1fr; }
  .latest-additions-grid { grid-template-columns:1fr; }
  .qf-grid { grid-template-columns:1fr; }
  .ms-grid { grid-template-columns:1fr; }
  .cs-countdown-col { min-width:40px; }
  .cs-days-big { font-size:1.4rem; }
  .ticker-item { padding:0 10px; font-size:0.72rem; }
}

/* ═══════════════════════════════════════════════════════════
   Task #1005078: Payout Estimate Legal Disclaimer
   Reused across: homepage cards, /settlements, /settlements/[slug], /find-my-settlements
   ═══════════════════════════════════════════════════════════ */
.sr-payout-disclaimer {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-top: 0.35rem;
}

/* Stat tooltip note — shown below the "$2.4B in settlement funds tracked" stat */
.sr-stat-tooltip-note {
  display: block;
  font-size: 0.68rem;
  color: var(--color-text-light);
  line-height: 1.4;
  margin-top: 0.2rem;
}
.sr-stat-tooltip-wrap {
  cursor: default;
  font-size: 0.75rem;
  vertical-align: middle;
}

/* Testimonial meta extras */
.testimonial-date { color: var(--color-text-muted); font-size: 0.78rem; }
.testimonial-verified-badge { color: #1d4ed8; font-size: 0.78rem; font-weight: 600; }

/* ══════════════════════════════════════════════════════════════════════
   CHAT BUBBLE — NUCLEAR AUTHORITATIVE STYLES (design-system.css)
   !important on EVERY property so chatbot-widget.js can NEVER override.
   The JS injects a <style> tag at runtime with same specificity — only
   !important guarantees the stylesheet wins regardless of load order.
   DO NOT REMOVE — see Tasks #1004213, #1005605, #1006353.
   ══════════════════════════════════════════════════════════════════════ */

/* ── Animations ─────────────────────────────────────────────────────── */
/* Continuous soft glow pulse */
@keyframes ds-chat-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,99,235,0.50), 0 0 0 0 rgba(37,99,235,0.40); }
  50%      { box-shadow: 0 4px 20px rgba(37,99,235,0.70), 0 0 0 14px rgba(37,99,235,0); }
}
/* Slide-up entrance */
@keyframes ds-chat-enter {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
/* Idle attention bounce — fires once per 10s cycle */
@keyframes ds-chat-idle {
  0%, 86%, 100% { transform: scale(1) translateY(0); }
  90%           { transform: scale(1.08) translateY(-4px); }
  94%           { transform: scale(0.97) translateY(1px); }
  97%           { transform: scale(1) translateY(0); }
}
/* Radar sweep — subtle rotating line inside the button */
@keyframes ds-radar-sweep {
  from { transform: translate(-50%,-50%) rotate(0deg); }
  to   { transform: translate(-50%,-50%) rotate(360deg); }
}
/* Dots bop */
@keyframes ds-chat-dots {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.4; }
  40%           { transform: translateY(-4px); opacity: 1; }
}

/* ── Chat bubble button — brand blue radar, ZERO GREEN ────────────── */
#sr-chat-bubble {
  position: fixed !important;
  bottom: 24px !important;
  right: 24px !important;
  width: 60px !important;
  height: 60px !important;
  border-radius: 16px !important;
  background: linear-gradient(135deg, var(--color-accent, #2563eb) 0%, #1d4ed8 100%) !important;
  border: none !important;
  cursor: pointer !important;
  z-index: 9000 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 4px 20px rgba(37,99,235,0.50), 0 0 0 0 rgba(37,99,235,0.40) !important;
  animation: ds-chat-pulse 2.5s ease-in-out infinite, ds-chat-enter 0.4s ease-out, ds-chat-idle 10s ease-in-out 5s infinite !important;
  transition: box-shadow 0.2s, filter 0.2s, bottom 0.38s cubic-bezier(0.34,1.56,0.64,1) !important;
  outline: none !important;
  padding: 0 !important;
  overflow: hidden !important;
}

/* Radar sweep pseudo-element — subtle rotating wedge */
#sr-chat-bubble::after {
  content: '' !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  width: 60px !important;
  height: 60px !important;
  transform: translate(-50%,-50%) rotate(0deg) !important;
  background: conic-gradient(
    from 0deg,
    rgba(255,255,255,0.12) 0deg,
    rgba(255,255,255,0.03) 30deg,
    transparent 60deg,
    transparent 360deg
  ) !important;
  border-radius: 50% !important;
  animation: ds-radar-sweep 4s linear infinite !important;
  pointer-events: none !important;
  z-index: 0 !important;
}

/* Hover: scale + rotation + intensified glow */
#sr-chat-bubble:hover {
  transform: scale(1.1) rotate(8deg) !important;
  box-shadow: 0 8px 32px rgba(37,99,235,0.80), 0 0 0 8px rgba(37,99,235,0.15) !important;
  filter: brightness(1.12) !important;
  animation: ds-chat-pulse 2.5s ease-in-out infinite !important;
}
#sr-chat-bubble:focus-visible {
  outline: 3px solid rgba(37,99,235,0.5) !important;
  outline-offset: 3px !important;
}

/* ── Icon states ────────────────────────────────────────────────────── */
#sr-chat-bubble .sr-cb-open { display: block !important; position: relative !important; z-index: 1 !important; transition: transform 0.3s ease !important; }
#sr-chat-bubble .sr-cb-close { display: none !important; position: relative !important; z-index: 1 !important; }
#sr-chat-bubble.is-open .sr-cb-open { display: none !important; }
#sr-chat-bubble.is-open .sr-cb-close { display: block !important; }
#sr-chat-bubble.is-open { animation: ds-chat-pulse 2.5s ease-in-out infinite !important; }

/* SVG inside — white, correct size for radar icon */
#sr-chat-bubble svg { width: 28px !important; height: 28px !important; flex-shrink: 0 !important; position: relative !important; z-index: 1 !important; }

/* Typing dots (optional) */
#sr-chat-bubble .sr-cb-dots { display: none !important; }
#sr-chat-bubble.show-dots .sr-cb-dots { display: flex !important; gap: 3px !important; align-items: center !important; justify-content: center !important; }
#sr-chat-bubble .sr-cb-dot {
  width: 5px !important; height: 5px !important; border-radius: 50% !important;
  background: rgba(255,255,255,0.85) !important;
  animation: ds-chat-dots 1.2s infinite !important;
}
#sr-chat-bubble .sr-cb-dot:nth-child(2) { animation-delay: 0.2s !important; }
#sr-chat-bubble .sr-cb-dot:nth-child(3) { animation-delay: 0.4s !important; }

/* ── Bump above lead-magnet / pro-nudge bars ───────────────────────── */
/* Bug #1007865: Raise chat bubble above sticky bottom bars.
   Desktop: 88px clears the ~56px bar + 32px padding.
   body class set by app.js; :has() CSS fallback for any missed cases. */
body.lm-bar-visible #sr-chat-bubble  { bottom: 88px !important; }
body.pnb-visible #sr-chat-bubble     { bottom: 96px !important; }
body:has(#lm-sticky-bar.visible) #sr-chat-bubble  { bottom: 88px !important; }
body:has(.sticky-filing-bar.visible) #sr-chat-bubble { bottom: 88px !important; }

/* ── Notification teaser — Bug #1007123 fix 3 ─────────────────────── */
/* Reposition to LEFT of bubble so it doesn't cover page content.
   Bubble = 60px wide at right:24px → occupies right 24–84px.
   Teaser at right:92px sits to the left with 8px gap.
   Reduce max-width; rounded tail points toward the bubble (bottom-right). */
#sr-chat-notif {
  right: 92px !important;
  bottom: 28px !important;
  max-width: 200px !important;
  border-radius: 12px 12px 4px 12px !important;
  font-size: 0.8rem !important;
  padding: 8px 12px !important;
}

/* ── Mobile (≤768px) — Bug #1007865 ───────────────────────────────── */
/* Raise chat bubble to clear mobile bottom nav ("Go Pro" / "Sign In").
   Mobile nav bar is ~60px; 80px gives comfortable clearance. */
@media (max-width: 768px) {
  #sr-chat-bubble { bottom: 80px !important; right: 16px !important; width: 52px !important; height: 52px !important; }
  #sr-chat-notif  { display: none !important; }
  body.lm-bar-visible #sr-chat-bubble,
  body:has(#lm-sticky-bar.visible) #sr-chat-bubble { bottom: 140px !important; }
  body.pnb-visible #sr-chat-bubble,
  body:has(#srProNudgeBar.pnb-visible) #sr-chat-bubble { bottom: 152px !important; }
}

/* ── Z-index stack enforcement ─────────────────────────────────────── */
/* Toasts/notifications: z-index 10000 */
/* Modals: z-index 9500 */
/* Chat bubble: z-index 9000 */
/* Page content: default */

/* ── Toast ↔ Chat bubble spacing ─────────────────────────────────── */
/* When the subscription toast is visible, nudge it above the chat bubble */
#subscribeConfirmedToast,
#saveSignInPrompt {
  bottom: 96px;
  z-index: 10000;
}
@media (max-width: 768px) {
  #subscribeConfirmedToast,
  #saveSignInPrompt {
    bottom: 152px;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   BUG #1007162 — Visual bug sweep fixes
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Bug 7: Settlement urgency badge — blue, not red ──────────────────── */
.sr-urgent {
  display:inline-flex;
  align-items:center;
  gap:0.25rem;
  background:#dbeafe;
  border:1px solid #93c5fd;
  color:#1d4ed8;
  font-size:0.75rem;
  font-weight:700;
  padding:0.15rem 0.6rem;
  border-radius:100px;
  white-space:nowrap;
}
.card-deadline {
  display:inline-flex;
  align-items:center;
  gap:0.25rem;
  font-size:0.75rem;
  font-weight:600;
  padding:0.2rem 0.65rem;
  border-radius:100px;
  white-space:nowrap;
  background:var(--color-bg-muted);
  color:var(--color-text-secondary);
}
.card-deadline.urgent,
.card-deadline.last-chance {
  background:#dbeafe;
  border:1px solid #93c5fd;
  color:#1d4ed8;
  font-weight:700;
}
.card-deadline.warning {
  background:#eff6ff;
  border:1px solid #bfdbfe;
  color:#1e40af;
}
.card-deadline.expired {
  background:var(--color-border);
  color:#1f2937;
}

/* ── Bug 9: Onboarding Wizard — constrained modal overlay ────────────── */
.srwiz-backdrop {
  position:fixed;
  inset:0;
  z-index:10000;
  background:rgba(0,0,0,0.6);
  backdrop-filter:blur(4px);
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:0;
  pointer-events:none;
  transition:opacity 0.3s ease;
}
.srwiz-backdrop.srwiz-open {
  opacity:1;
  pointer-events:all;
}
.srwiz-modal {
  background:#ffffff;
  border-radius:20px;
  max-width:480px;
  width:calc(100% - 32px);
  max-height:calc(100vh - 48px);
  overflow-y:auto;
  padding:2rem 1.75rem 1.5rem;
  position:relative;
  box-shadow:0 24px 64px rgba(0,0,0,0.2);
  transform:translateY(20px);
  transition:transform 0.3s ease;
}
.srwiz-backdrop.srwiz-open .srwiz-modal {
  transform:translateY(0);
}
.srwiz-close {
  position:absolute;
  top:0.75rem;
  right:0.75rem;
  width:36px;
  height:36px;
  border:none;
  background:var(--color-bg-muted);
  border-radius:50%;
  font-size:1.25rem;
  color:var(--color-text-muted);
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:background 0.15s;
  line-height:1;
}
.srwiz-close:hover { background:var(--color-border); color:var(--color-text-secondary); }
.srwiz-header { text-align:center; margin-bottom:1.25rem; }
.srwiz-header-icon { font-size:2rem; margin-bottom:0.5rem; }
.srwiz-header h2 { font-size:1.35rem; font-weight:800; color:var(--color-ink); margin:0 0 0.4rem; letter-spacing:-0.02em; }
.srwiz-header p { font-size:0.88rem; color:var(--color-text-muted); margin:0; line-height:1.5; }

/* Progress */
.srwiz-progress { display:flex; gap:6px; margin-bottom:0.4rem; }
.srwiz-progress-step { flex:1; height:4px; background:var(--color-border); border-radius:4px; transition:background 0.25s; }
.srwiz-progress-step.srwiz-active { background:#2563eb; }
.srwiz-progress-step.srwiz-done { background:#93c5fd; }
.srwiz-progress-label { font-size:0.72rem; color:var(--color-text-light); margin-bottom:1rem; text-align:center; }

/* Steps */
.srwiz-steps { min-height:200px; }
.srwiz-step { display:none; }
.srwiz-step.srwiz-active-step { display:block; animation:srwiz-fade-in 0.25s ease both; }
@keyframes srwiz-fade-in { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:translateY(0); } }
.srwiz-step-title { font-size:1rem; font-weight:700; color:var(--color-ink); margin-bottom:0.25rem; }
.srwiz-step-subtitle { font-size:0.82rem; color:var(--color-text-muted); margin-bottom:1rem; line-height:1.5; }

/* Checkboxes */
.srwiz-checks { display:flex; flex-direction:column; gap:0.5rem; }
.srwiz-check-item { display:flex; align-items:center; gap:0; }
.srwiz-check-item input[type="checkbox"] {
  width:18px;
  height:18px;
  flex-shrink:0;
  accent-color:#2563eb;
  margin:0;
  cursor:pointer;
}
.srwiz-check-label {
  display:flex;
  align-items:center;
  gap:0.5rem;
  font-size:0.9rem;
  color:var(--color-text-secondary);
  cursor:pointer;
  padding:0.45rem 0.6rem;
  border-radius:8px;
  flex:1;
  transition:background 0.15s;
}
.srwiz-check-label:hover { background:var(--color-bg-muted); }
.srwiz-check-icon { font-size:1.1rem; flex-shrink:0; }

/* Nav */
.srwiz-nav { display:flex; justify-content:space-between; align-items:center; margin-top:1.25rem; gap:0.75rem; }
.srwiz-btn-next {
  padding:0.6rem 1.25rem;
  background:#2563eb;
  color:#fff;
  border:none;
  border-radius:8px;
  font-size:0.88rem;
  font-weight:700;
  cursor:pointer;
  transition:background 0.15s;
}
.srwiz-btn-next:hover { background:#1d4ed8; }
.srwiz-btn-next:disabled { opacity:0.5; cursor:not-allowed; }
.srwiz-btn-back {
  padding:0.5rem 0.9rem;
  background:none;
  border:1px solid var(--color-border);
  border-radius:8px;
  font-size:0.82rem;
  font-weight:600;
  color:var(--color-text-muted);
  cursor:pointer;
  transition:border-color 0.15s;
}
.srwiz-btn-back:hover { border-color:var(--color-text-light); }
.srwiz-btn-skip {
  background:none;
  border:none;
  color:var(--color-text-light);
  font-size:0.82rem;
  cursor:pointer;
  text-decoration:underline;
}
.srwiz-btn-skip:hover { color:var(--color-text-muted); }

/* Email */
.srwiz-email-field { margin-bottom:0.5rem; }
.srwiz-email-field label { display:block; font-size:0.82rem; font-weight:600; color:var(--color-text-secondary); margin-bottom:0.4rem; }
.srwiz-email-input {
  width:100%;
  padding:0.7rem 0.9rem;
  border:1.5px solid var(--color-text-lighter);
  border-radius:8px;
  font-size:0.9rem;
  outline:none;
  transition:border-color 0.15s;
}
.srwiz-email-input:focus { border-color:#2563eb; box-shadow:0 0 0 3px rgba(37,99,235,0.1); }
.srwiz-privacy-note { font-size:0.72rem; color:var(--color-text-light); margin:0.4rem 0 0; }

/* Loading + Results */
.srwiz-loading, .srwiz-results, .srwiz-empty { display:none; text-align:center; }
.srwiz-loading.srwiz-show, .srwiz-results.srwiz-show, .srwiz-empty.srwiz-show { display:block; }
.srwiz-spinner {
  width:32px; height:32px;
  border:3px solid var(--color-border);
  border-top:3px solid #2563eb;
  border-radius:50%;
  animation:srwiz-spin 0.8s linear infinite;
  margin:1rem auto;
}
@keyframes srwiz-spin { to { transform:rotate(360deg); } }
.srwiz-results-header { margin-bottom:1rem; }
.srwiz-results-header h3 { font-size:1.1rem; font-weight:700; color:var(--color-ink); margin:0 0 0.3rem; }
.srwiz-results-header p { font-size:0.82rem; color:var(--color-text-muted); margin:0; }
.srwiz-settlement-list { display:flex; flex-direction:column; gap:0.5rem; margin-bottom:1rem; }
.srwiz-settlement-card {
  display:flex;
  align-items:center;
  gap:0.75rem;
  padding:0.7rem 0.9rem;
  background:var(--color-bg-subtle);
  border:1px solid var(--color-border);
  border-radius:10px;
  text-decoration:none;
  color:inherit;
  transition:border-color 0.15s;
}
.srwiz-settlement-card:hover { border-color:#93c5fd; }
.srwiz-settlement-badge { font-size:1.1rem; flex-shrink:0; }
.srwiz-settlement-info { flex:1; min-width:0; text-align:left; }
.srwiz-settlement-title { font-size:0.85rem; font-weight:600; color:var(--color-ink); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.srwiz-settlement-meta { font-size:0.72rem; color:var(--color-text-muted); display:flex; gap:0.5rem; }
.srwiz-settlement-payout { color:#1d4ed8; font-weight:600; }
.srwiz-settlement-arrow { color:var(--color-text-light); font-size:1.2rem; flex-shrink:0; }
.srwiz-btn-browse {
  display:inline-block;
  padding:0.6rem 1.25rem;
  background:#2563eb;
  color:#fff;
  border-radius:8px;
  font-size:0.88rem;
  font-weight:700;
  text-decoration:none;
  margin-top:0.5rem;
  transition:background 0.15s;
}
.srwiz-btn-browse:hover { background:#1d4ed8; }

@media (max-width:480px) {
  .srwiz-modal { padding:1.5rem 1.25rem 1.25rem; border-radius:16px; max-width:100%; }
  .srwiz-header h2 { font-size:1.15rem; }
}


/* ═══════════════════════════════════════════════════════════════════════════════
   HOMEPAGE SECTION STYLES — Task #1007469
   Root cause: styles were "moved" to home-sections.css / homepage-inline-extract.css
   but those files were deleted. All component CSS lives here now.
   ═══════════════════════════════════════════════════════════════════════════════ */

/* ── 1. URGENCY STRIP (Closing Soon Ticker) ─────────────────────────────────── */
.urgency-strip-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #1e40af;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  flex-shrink: 0;
}
.urgency-strip-label-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3b82f6;
  animation: urgency-pulse 1.5s ease-in-out infinite;
}
@keyframes urgency-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}
.urgency-sep {
  color: var(--color-text-lighter);
  font-size: 0.85rem;
  flex-shrink: 0;
}
.urgency-strip-items {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  flex: 1;
  min-width: 0;
}
.urgency-strip-items::-webkit-scrollbar { display: none; }
.urgency-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: #ffffff;
  border: 1px solid #bfdbfe;
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--color-text-secondary);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.urgency-item:hover {
  background: #eff6ff;
  border-color: #3b82f6;
  transform: translateY(-1px);
}
.urgency-item-days {
  font-weight: 700;
  color: #1e40af;
  font-size: 0.78rem;
}
.urgency-item-days.urgent {
  color: #1d4ed8;
}
.urgency-strip-more {
  font-size: 0.82rem;
  font-weight: 700;
  color: #2563eb;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: auto;
}
.urgency-strip-more:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

/* ── 2. FEATURED SETTLEMENT HERO (Today's Featured Settlement / SOTD) ──────── */
#featured-settlement-hero {
  border-radius: 16px;
  overflow: hidden;
}
.fs-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.fs-hero-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.fs-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.fs-hero-eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.fs-hero-archive-link {
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
}
.fs-hero-archive-link:hover {
  text-decoration: underline;
}
.fs-hero-body {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.fs-hero-left {
  flex: 1;
  min-width: 280px;
}
.fs-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.fs-hero-cat-badge,
.fs-hero-noproof-badge,
.fs-hero-urgent-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
}
.fs-hero-title {
  font-size: clamp(1.4rem, 3.5vw, 1.8rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.fs-hero-company {
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 16px;
}
.fs-hero-why {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 10px;
  margin-top: 8px;
}
.fs-hero-why-text {
  font-size: 0.9rem;
  line-height: 1.5;
}
.fs-hero-right {
  width: 280px;
  flex-shrink: 0;
  padding: 24px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.fs-hero-payout-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.fs-hero-payout-amount {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 4px;
}
.sr-payout-disclaimer {
  font-size: 0.68rem;
  color: var(--color-text-light);
  line-height: 1.4;
  margin-top: 4px;
}
.fs-hero-deadline-row {
  font-size: 0.88rem;
  line-height: 1.5;
}
.fs-hero-deadline-urgent {
  color: #1d4ed8;
  font-weight: 700;
}
.fs-hero-cta {
  display: inline-block;
  text-align: center;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.fs-hero-cta:hover {
  transform: translateY(-2px);
}
.fs-hero-share-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.fs-hero-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s;
}
.fs-hero-share-btn:hover {
  opacity: 0.85;
}
.fs-hero-share-btn.copied {
  background: #eff6ff;
  color: #1e40af;
  border-color: #93c5fd;
}
.fs-hero-rotates {
  font-size: 0.8rem;
  margin-top: 4px;
}

@media (max-width: 768px) {
  .fs-hero-body {
    flex-direction: column;
  }
  .fs-hero-right {
    width: 100%;
  }
  .fs-hero-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ── 3. TOP SETTLEMENTS LEADERBOARD (sr-lb-*) ─────────────────────────────── */
.sr-leaderboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}
.sr-leaderboard-title {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 800;
  color: var(--color-ink);
  margin: 0;
}
.sr-leaderboard-title span {
  color: var(--color-accent);
}
.sr-leaderboard-view-all {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-accent);
  text-decoration: none;
}
.sr-leaderboard-view-all:hover {
  text-decoration: underline;
}
.sr-lb-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sr-lb-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}
.sr-lb-card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.1);
  transform: translateY(-2px);
}
.sr-lb-card--gold {
  border-color: #3b82f6;
  background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.15);
}
.sr-lb-card--gold:hover {
  border-color: #2563eb;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.25);
}
.sr-lb-rank {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 44px;
  text-align: center;
}
.sr-lb-rank--n {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--color-text-muted);
}
.sr-lb-body {
  flex: 1;
  min-width: 0;
}
.sr-lb-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}
.sr-lb-company {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}
.sr-lb-right {
  text-align: right;
  flex-shrink: 0;
}
.sr-lb-payout {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-accent);
  white-space: nowrap;
}
.sr-lb-payout-label {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 600px) {
  .sr-lb-card {
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 16px;
  }
  .sr-lb-rank {
    width: 32px;
    font-size: 1.2rem;
  }
  .sr-lb-right {
    width: 100%;
    text-align: left;
    padding-left: 48px;
    display: flex;
    align-items: baseline;
    gap: 8px;
  }
  .sr-lb-title {
    white-space: normal;
  }
}

/* ── 4. FEATURED SETTLEMENTS GRID (rs-card-*, rs-featured-*) ─────────────── */
.rs-featured-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.rs-featured-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}
.rs-featured-header-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.rs-section-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.rs-section-title {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 800;
  color: var(--color-ink);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0;
}
.rs-featured-view-all {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-accent);
  text-decoration: none;
  white-space: nowrap;
}
.rs-featured-view-all:hover {
  text-decoration: underline;
}

/* Card Grid */
.rs-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Individual Card */
.rs-settlement-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.rs-settlement-card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.12);
  transform: translateY(-3px);
}

/* Blue accent bar at top of card */
.rs-card-accent {
  height: 4px;
  background: linear-gradient(90deg, #2563eb, #3b82f6);
}

/* Card body */
.rs-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Meta row: category + badges */
.rs-card-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.rs-card-category {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(37, 99, 235, 0.08);
  padding: 3px 10px;
  border-radius: 12px;
}
.rs-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.rs-trending-badge {
  font-size: 0.7rem;
  font-weight: 600;
  color: #1d4ed8;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 2px 8px;
  border-radius: 10px;
  white-space: nowrap;
}
.rs-no-proof-badge {
  font-size: 0.7rem;
  font-weight: 600;
  color: #1d4ed8;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.2);
  padding: 2px 8px;
  border-radius: 10px;
  white-space: nowrap;
}
.rs-card-deadline {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px;
  white-space: nowrap;
}
.rs-card-deadline.urgent {
  color: #1d4ed8;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
}
.rs-card-deadline.warning {
  color: #1e40af;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
}
.rs-card-deadline--soft {
  color: var(--color-text-muted);
  background: var(--color-bg-muted);
  border: 1px solid var(--color-border);
}
.rs-card-deadline--pulse {
  animation: urgency-pulse 1.5s ease-in-out infinite;
}

/* Company row */
.rs-card-company-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.rs-card-logo {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  flex-shrink: 0;
}
.rs-card-company {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Title */
.rs-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-ink);
  line-height: 1.3;
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Summary */
.rs-card-summary {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 16px;
  flex: 1;
}

/* Footer: payout + CTA */
.rs-card-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--color-bg-muted);
}
.rs-card-payout-dual {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.rs-card-payout-field {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.rs-card-payout-label {
  font-size: 0.65rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.rs-card-payout-amount {
  font-size: 0.9rem;
  font-weight: 800;
  color: #1e3a8a;
}
.rs-payout-varies {
  color: #94a3b8;
  font-weight: 500;
}
.rs-payout-not-disclosed {
  color: #cbd5e1;
  font-weight: 400;
  font-size: 0.75rem;
}
.rs-card-cta {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-accent);
  white-space: nowrap;
  flex-shrink: 0;
}

/* Responsive grid */
@media (max-width: 1024px) {
  .rs-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .rs-card-grid {
    grid-template-columns: 1fr;
  }
  .rs-featured-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ── 5. BROWSE ALL CTA BUTTON (fix spacing) ──────────────────────────────── */
/* Ensure proper centering and spacing for the bottom CTA */
.rs-featured-section .btn.btn-primary {
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}
.rs-featured-section .btn.btn-primary:hover {
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}

/* ── 6. ADDITIONAL MISSING HOMEPAGE STYLES ───────────────────────────────── */

/* Benefits section cards */
.sr-benefits-header {
  text-align: center;
  margin-bottom: 40px;
}
.sr-benefits-title {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 800;
  color: var(--color-ink);
  margin: 0 0 8px;
}
.sr-benefits-sub {
  font-size: 1rem;
  color: var(--color-text-muted);
  max-width: 520px;
  margin: 0 auto;
}
.sr-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.sr-benefit-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 28px 24px;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.sr-benefit-card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.08);
}
.sr-benefit-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  border-radius: 12px;
  background: #eff6ff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sr-benefit-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-ink);
  margin-bottom: 8px;
}
.sr-benefit-desc {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

@media (max-width: 768px) {
  .sr-benefits-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* How It Works section */
.hiw-section {
  background: var(--color-bg-subtle);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.hiw-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.hiw-header {
  text-align: center;
  margin-bottom: 40px;
}
.hiw-title {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 800;
  color: var(--color-ink);
  margin: 0 0 8px;
}
.hiw-subtitle {
  font-size: 1rem;
  color: var(--color-text-muted);
}
.hiw-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  counter-reset: hiw-step;
}
.hiw-step {
  text-align: center;
  counter-increment: hiw-step;
}
.hiw-step-number {
  width: 44px;
  height: 44px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hiw-step-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-ink);
  margin-bottom: 8px;
}
.hiw-step-desc {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

@media (max-width: 768px) {
  .hiw-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* Trust proof section */
.trust-proof-section {
  background: #ffffff;
}
.trust-proof-inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* Trending section */
.sr-trending-section {
  max-width: 1200px;
  margin: 0 auto;
}
.sr-trending-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.sr-trending-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}
.sr-trending-title {
  font-size: clamp(1.3rem, 3vw, 1.6rem);
  font-weight: 800;
  color: var(--color-ink);
  margin: 0;
}
.sr-trending-view-all {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-accent);
  text-decoration: none;
}

/* Guides section */
.rs-guides-section {
  max-width: 1200px;
  margin: 0 auto;
}

/* Featured roundup bar */
.featured-roundup-bar {
  background: #eff6ff;
  border-top: 1px solid #bfdbfe;
  border-bottom: 1px solid #bfdbfe;
}

/* Filters section */
.filters-section {
  max-width: 1200px;
  margin: 0 auto;
  background: transparent;
}

/* ── 7. GLOBAL SECTION SPACING FIX — collapse empty sections ─────────────── */
section:empty {
  display: none;
  padding: 0;
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   RELATED SETTLEMENTS — card grid + sidebar list styles
   Used by settlement-detail.ejs "You May Also Be Eligible For" section
   and sidebar "More [Category] Settlements" list.
   ═══════════════════════════════════════════════════════════════════════════════ */

/* ── Cross-sell heading ── */
.sr-crosssell-heading {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1f2426;
  margin-bottom: 0.85rem;
  line-height: 1.3;
}

/* ── Related settlements card grid ── */
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.85rem;
}
@media (max-width: 768px) {
  .related-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Individual related card ── */
.related-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  background: #ffffff;
  border: 1.5px solid var(--color-border);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  color: inherit;
}
.related-card:hover {
  border-color: rgba(37, 99, 235, 0.4);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.1);
  transform: translateY(-2px);
}

.related-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.15rem;
}
.related-card-category {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.related-card-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #1f2426;
  line-height: 1.35;
}

.related-card-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--color-text-muted);
  flex-wrap: wrap;
}
.related-card-payout {
  font-weight: 700;
  color: var(--primary, #2563eb);
}

.related-card-deadline {
  font-size: 0.75rem;
  color: #4b5563;
  margin-top: 0.15rem;
}

/* ── "See all" links below related grids ── */
.related-see-all {
  display: inline-block;
  margin-top: 0.85rem;
  font-size: 0.82rem;
  color: var(--primary, #2563eb);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.15s;
}
.related-see-all:hover {
  color: var(--primary-dark, #1e40af);
  text-decoration: underline;
}

/* ── Sidebar related list (compact list format) ── */
.related-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.related-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.65rem 0.75rem;
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, background 0.15s;
}
.related-item:hover {
  border-color: rgba(37, 99, 235, 0.3);
  background: #f0f7ff;
}
.related-item strong {
  font-size: 0.85rem;
  font-weight: 700;
  color: #1f2426;
  line-height: 1.3;
}
.related-item span {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}
.related-item-payout {
  font-size: 0.72rem;
  color: var(--primary, #2563eb);
  font-weight: 600;
}

/* ── Sidebar mini-card related list ── */
.sidebar-related-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1rem;
}
.sidebar-related-card .sr-header {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--color-bg-muted);
}
.sidebar-related-card .sr-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--color-bg-muted);
  text-decoration: none;
  color: inherit;
  transition: background 0.15s;
}
.sidebar-related-card .sr-item:last-child {
  border-bottom: none;
}
.sidebar-related-card .sr-item:hover {
  background: var(--color-bg-subtle);
}
.sidebar-related-card .sr-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: #1f2426;
  line-height: 1.3;
}
.sidebar-related-card .sr-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.72rem;
  color: var(--color-text-muted);
}
.sidebar-related-card .sr-payout {
  color: var(--primary, #2563eb);
  font-weight: 600;
}
.sidebar-related-card .sr-badge {
  color: #7c3aed;
  font-weight: 700;
}
.sidebar-related-card .sr-urgent {
  color: #dc2626;
  font-weight: 700;
}
