/* ════════════════════════════════════════════════════════════════════════════
   Task #914556 — Homepage Hero & Above-the-Fold Redesign
   Premium fintech/legal-tech look. Overrides existing homepage styles.
   ════════════════════════════════════════════════════════════════════════════ */

/* ── 1. HERO SECTION — Refined premium dark hero ─────────────────────────── */

/* Subtle mesh gradient overlay for depth */
.rs-hero.rs-hero-redesigned {
  background: linear-gradient(165deg, #050d1d 0%, #0a1a38 35%, #0c1f40 60%, #081632 100%) !important;
  padding: clamp(3.5rem, 8vw, 6rem) clamp(1.25rem, 4vw, 2.5rem) clamp(2.5rem, 5vw, 4rem) !important;
  position: relative;
  overflow: hidden;
}
.rs-hero.rs-hero-redesigned::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 70%;
  height: 120%;
  background: radial-gradient(ellipse at center, rgba(22, 163, 74, 0.06) 0%, transparent 70%);
  pointer-events: none;
}
.rs-hero.rs-hero-redesigned::after {
  content: '' !important;
  position: absolute !important;
  bottom: -30% !important;
  left: -10% !important;
  width: 50% !important;
  height: 80% !important;
  background: radial-gradient(ellipse at center, rgba(56, 189, 248, 0.04) 0%, transparent 65%) !important;
  pointer-events: none !important;
}

.rs-hero-inner {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Eyebrow badge — premium pill */
.sr-hero-eyebrow {
  background: rgba(22, 163, 74, 0.1) !important;
  border: 1px solid rgba(74, 222, 128, 0.2) !important;
  color: #86efac !important;
  font-size: 0.7rem !important;
  font-weight: 700 !important;
  padding: 0.35rem 1rem !important;
  border-radius: 100px !important;
  letter-spacing: 0.08em !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Hero headline — larger, bolder, better spacing */
.rs-hero-redesigned .rs-hero-headline {
  font-size: clamp(2.4rem, 7vw, 4rem) !important;
  font-weight: 800 !important;
  line-height: 1.08 !important;
  letter-spacing: -0.04em !important;
  color: #f8fafc !important;
  margin-bottom: 1.25rem !important;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

/* Subtitle — cleaner, wider line height */
.rs-hero-subtitle-enhanced {
  color: #94a3b8 !important;
  font-size: clamp(1rem, 2.2vw, 1.15rem) !important;
  line-height: 1.7 !important;
  font-weight: 400 !important;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2.25rem !important;
}

/* CTA row */
.rs-hero-ctas-redesigned {
  margin-bottom: 1.5rem !important;
}

/* Primary CTA — larger, bolder */
.sr-hero-cta-primary {
  background: #16a34a !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  padding: 1rem 2.5rem !important;
  border-radius: 12px !important;
  box-shadow: 0 0 0 1px rgba(22, 163, 74, 0.3),
              0 4px 20px rgba(22, 163, 74, 0.35),
              0 1px 3px rgba(0, 0, 0, 0.2) !important;
  letter-spacing: -0.01em;
  transition: all 0.2s ease !important;
}
.sr-hero-cta-primary:hover {
  background: #15803d !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 0 0 1px rgba(22, 163, 74, 0.4),
              0 8px 30px rgba(22, 163, 74, 0.4),
              0 2px 6px rgba(0, 0, 0, 0.15) !important;
}

/* Sub-CTA text */
.sr-hero-cta-sub {
  color: rgba(148, 163, 184, 0.7) !important;
  font-size: 0.78rem !important;
  margin-top: 0.6rem !important;
}

/* Trust stat line */
.sr-hero-trust-stat {
  color: rgba(148, 163, 184, 0.65) !important;
  font-size: 0.8rem !important;
}
.sr-hero-trust-stat strong {
  color: #4ade80 !important;
}

/* Trust badge pills below CTA */
.rs-hero-redesigned .rs-hero-trust {
  margin-top: 1.25rem;
  gap: 0.5rem 1rem;
}
.rs-hero-trust-item {
  font-size: 0.72rem !important;
  color: rgba(148, 163, 184, 0.55) !important;
  font-weight: 500 !important;
}
.rs-hero-trust-checkmark {
  color: #4ade80 !important;
  font-weight: 700 !important;
  font-style: normal !important;
}


/* ── 2. STATS BAR — Premium floating card ────────────────────────────────── */

.rs-stats-bar.rs-stats-bar-below {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.04),
              0 10px 40px -8px rgba(0, 0, 0, 0.08) !important;
  padding: 24px clamp(1.5rem, 4vw, 3rem) !important;
  max-width: 900px !important;
  margin: -32px auto 0 !important;
  position: relative;
  z-index: 10;
}
.rs-stat-number {
  font-size: clamp(1.5rem, 3vw, 2rem) !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  letter-spacing: -0.03em !important;
}
.rs-stat-label {
  font-size: 0.7rem !important;
  font-weight: 600 !important;
  color: #64748b !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
}
.rs-stat-divider {
  height: 36px !important;
  background: #e2e8f0 !important;
  opacity: 0.6 !important;
}


/* ── 3. DONE-FOR-YOU CALLOUT — Subtler, premium ──────────────────────────── */

/* (Keeping lightweight — just refine spacing and type) */


/* ── 4. FEATURED SETTLEMENT HERO — Fix green-on-green contrast ───────────── */

#featured-settlement-hero {
  background: linear-gradient(145deg, #0a1628 0%, #0f2444 50%, #0c1d38 100%) !important;
  border-bottom: none !important;
  padding: 2.25rem clamp(1.25rem, 4vw, 2rem) !important;
  position: relative;
  overflow: hidden;
}
#featured-settlement-hero::before {
  background: radial-gradient(ellipse at 80% 40%, rgba(22, 163, 74, 0.08) 0%, transparent 60%) !important;
}

/* Featured eyebrow — muted gold accent instead of green-on-green */
.fs-hero-eyebrow {
  background: rgba(251, 191, 36, 0.1) !important;
  border: 1px solid rgba(251, 191, 36, 0.25) !important;
  color: #fcd34d !important;
}
.fs-hero-eyebrow-dot {
  background: #fbbf24 !important;
}

/* Featured title — white on dark navy for contrast */
.fs-hero-title {
  font-size: clamp(1.3rem, 3.5vw, 1.8rem) !important;
  font-weight: 800 !important;
  color: #f1f5f9 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.025em !important;
}

/* Payout card panel */
.fs-hero-right {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 16px !important;
  padding: 1.5rem !important;
  min-width: 220px !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Payout amount — bright green for visibility on navy */
.fs-hero-payout-amount {
  color: #4ade80 !important;
  font-size: clamp(1.8rem, 5vw, 2.6rem) !important;
  font-weight: 900 !important;
}
.fs-hero-payout-label {
  color: rgba(255, 255, 255, 0.45) !important;
}

/* CTA — larger, bright green button */
.fs-hero-cta {
  background: #16a34a !important;
  border-radius: 12px !important;
  font-size: 1rem !important;
  font-weight: 800 !important;
  padding: 0.9rem 1.75rem !important;
  box-shadow: 0 4px 20px rgba(22, 163, 74, 0.4) !important;
}
.fs-hero-cta:hover {
  background: #15803d !important;
  box-shadow: 0 8px 28px rgba(22, 163, 74, 0.5) !important;
}

/* Category badges — better contrast */
.fs-hero-cat-badge {
  background: rgba(255, 255, 255, 0.06) !important;
  color: rgba(241, 245, 249, 0.65) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}
.fs-hero-noproof-badge {
  background: rgba(74, 222, 128, 0.12) !important;
  color: #86efac !important;
  border: 1px solid rgba(74, 222, 128, 0.25) !important;
}
.fs-hero-urgent-badge {
  background: rgba(251, 191, 36, 0.12) !important;
  color: #fcd34d !important;
  border: 1px solid rgba(251, 191, 36, 0.25) !important;
}

/* Archive link */
.fs-hero-archive-link {
  color: rgba(148, 163, 184, 0.65) !important;
}
.fs-hero-archive-link:hover {
  color: #94a3b8 !important;
}

/* Share buttons */
.fs-hero-share-copy {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
}


/* ── 5. TOP SETTLEMENTS LEADERBOARD — Premium card grid ──────────────────── */

.sr-leaderboard-section {
  background: #ffffff !important;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.25rem, 4vw, 2.5rem) !important;
  border-bottom: 1px solid #f1f5f9;
}
.sr-leaderboard-inner {
  max-width: 1000px;
  margin: 0 auto;
}
.sr-leaderboard-header {
  margin-bottom: 1.5rem !important;
}
.sr-leaderboard-title {
  font-size: 1.5rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  letter-spacing: -0.025em !important;
}
.sr-leaderboard-title span {
  color: #16a34a !important;
}
.sr-leaderboard-view-all {
  color: #16a34a !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
}

/* Leaderboard cards — clean hover card style */
.sr-lb-list {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 0.75rem !important;
}
.sr-lb-card {
  display: flex !important;
  align-items: center !important;
  gap: 1rem !important;
  background: #ffffff !important;
  border: 1px solid #f1f5f9 !important;
  border-radius: 14px !important;
  padding: 1rem 1.25rem !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03) !important;
}
.sr-lb-card:hover {
  border-color: #e2e8f0 !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06) !important;
  transform: translateY(-1px) !important;
}
.sr-lb-card--gold {
  border-color: rgba(251, 191, 36, 0.25) !important;
  background: linear-gradient(135deg, #fffbeb 0%, #ffffff 100%) !important;
}
.sr-lb-card--gold:hover {
  border-color: rgba(251, 191, 36, 0.4) !important;
}

.sr-lb-rank {
  flex-shrink: 0 !important;
  width: 40px !important;
  height: 40px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.2rem !important;
  border-radius: 10px !important;
  background: #f8fafc !important;
}
.sr-lb-rank--1 {
  background: linear-gradient(135deg, #fef3c7, #fde68a) !important;
}
.sr-lb-rank--2 {
  background: linear-gradient(135deg, #f1f5f9, #e2e8f0) !important;
}
.sr-lb-rank--3 {
  background: linear-gradient(135deg, #fff7ed, #fed7aa) !important;
}

.sr-lb-body {
  flex: 1 !important;
  min-width: 0 !important;
}
.sr-lb-title {
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  line-height: 1.3 !important;
  margin-bottom: 0.15rem !important;
}
.sr-lb-company {
  font-size: 0.78rem !important;
  color: #64748b !important;
  font-weight: 500 !important;
}

.sr-lb-right {
  flex-shrink: 0 !important;
  text-align: right !important;
}
.sr-lb-payout {
  font-size: 1rem !important;
  font-weight: 800 !important;
  color: #16a34a !important;
  letter-spacing: -0.02em !important;
}
.sr-lb-payout-label {
  font-size: 0.65rem !important;
  color: #94a3b8 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  font-weight: 600 !important;
}


/* ── 6. FILTER BAR — Modern fintech styling ──────────────────────────────── */

.filters-section {
  background: #ffffff !important;
  border-bottom: 1px solid #f1f5f9 !important;
  padding: 1.25rem clamp(1.25rem, 4vw, 2rem) !important;
}
.filters-inner {
  max-width: 1100px !important;
  margin: 0 auto !important;
}

/* Search box */
.search-box {
  position: relative !important;
  margin-bottom: 0.85rem !important;
}
.search-input {
  width: 100% !important;
  padding: 0.85rem 1rem 0.85rem 2.75rem !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 12px !important;
  font-size: 0.92rem !important;
  font-weight: 500 !important;
  color: #0f172a !important;
  background: #f8fafc !important;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s !important;
  outline: none !important;
}
.search-input:focus {
  border-color: #16a34a !important;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.1) !important;
  background: #ffffff !important;
}
.search-input::placeholder {
  color: #94a3b8 !important;
  font-weight: 400 !important;
}
.search-icon {
  position: absolute !important;
  left: 0.9rem !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: #94a3b8 !important;
  pointer-events: none !important;
}

/* Quick filter pills */
.quick-filters {
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  margin-bottom: 0.85rem !important;
  flex-wrap: wrap !important;
}
.quick-filters-label {
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  color: #64748b !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
}
.quick-filter-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.35rem !important;
  padding: 0.45rem 1rem !important;
  border-radius: 100px !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  border: 1.5px solid #16a34a !important;
  color: #16a34a !important;
  background: rgba(22, 163, 74, 0.04) !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  white-space: nowrap !important;
}
.quick-filter-btn:hover {
  background: rgba(22, 163, 74, 0.08) !important;
  color: #15803d !important;
}
.quick-filter-btn.active {
  background: #16a34a !important;
  color: #ffffff !important;
  border-color: #16a34a !important;
}
.quick-filter-btn.active:hover {
  background: #15803d !important;
}
.qf-count {
  background: rgba(255, 255, 255, 0.25) !important;
  padding: 0.1rem 0.5rem !important;
  border-radius: 100px !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  margin-left: 0.15rem !important;
}
.quick-filter-btn:not(.active) .qf-count {
  background: rgba(22, 163, 74, 0.1) !important;
  color: #16a34a !important;
}

/* Filter row — modern dropdowns */
.filter-row {
  display: flex !important;
  align-items: center !important;
  gap: 0.65rem !important;
  flex-wrap: wrap !important;
}
.filter-select {
  padding: 0.6rem 2rem 0.6rem 0.85rem !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 10px !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  color: #334155 !important;
  background-color: #ffffff !important;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2394a3b8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 0.75rem center !important;
  background-size: 10px 6px !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  cursor: pointer !important;
  transition: border-color 0.2s, box-shadow 0.2s !important;
  min-width: 140px !important;
}
.filter-select:focus {
  border-color: #16a34a !important;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.1) !important;
  outline: none !important;
}

/* Filter submit button */
.filter-btn,
.filters-form button[type="submit"] {
  padding: 0.6rem 1.5rem !important;
  background: #0f172a !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 10px !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: background 0.15s !important;
  white-space: nowrap !important;
}
.filter-btn:hover,
.filters-form button[type="submit"]:hover {
  background: #1e293b !important;
}

/* Proof checkbox */
.filter-checkbox {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.4rem !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  color: #475569 !important;
  cursor: pointer !important;
  white-space: nowrap !important;
}
.filter-checkbox input[type="checkbox"] {
  width: 16px !important;
  height: 16px !important;
  accent-color: #16a34a !important;
  cursor: pointer !important;
}


/* ── 7. FEATURED ROUNDUP BANNER — Clean integration ──────────────────────── */

.featured-roundup-bar {
  background: #f8fafc !important;
  border-top: 1px solid #e2e8f0 !important;
  border-bottom: 1px solid #e2e8f0 !important;
  padding: 0.9rem clamp(1.25rem, 4vw, 2rem) !important;
}
.featured-roundup-inner {
  max-width: 1100px !important;
  margin: 0 auto !important;
  display: flex !important;
  align-items: center !important;
  gap: 1rem !important;
}
.featured-roundup-eyebrow {
  color: #16a34a !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  background: rgba(22, 163, 74, 0.06);
  padding: 0.25rem 0.7rem;
  border-radius: 6px;
  white-space: nowrap;
}
.featured-roundup-link strong {
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  color: #0f172a !important;
}
.featured-roundup-sub {
  font-size: 0.75rem !important;
  color: #64748b !important;
}
.featured-roundup-cta {
  background: #0f172a !important;
  border: none !important;
  color: #ffffff !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  padding: 0.5rem 1.15rem !important;
  border-radius: 8px !important;
  white-space: nowrap !important;
  transition: background 0.15s !important;
  flex-shrink: 0 !important;
}
.featured-roundup-cta:hover {
  background: #1e293b !important;
  color: #ffffff !important;
}


/* ── 8. FEATURED SETTLEMENTS GRID — Refined cards ────────────────────────── */

.rs-featured-section {
  background: #f8fafc !important;
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.25rem, 4vw, 2.5rem) !important;
}
.rs-section-eyebrow {
  color: #16a34a !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
}
.rs-section-title {
  font-size: clamp(1.4rem, 3.5vw, 1.85rem) !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  letter-spacing: -0.025em !important;
}

/* Cards */
.rs-settlement-card {
  background: #ffffff !important;
  border: 1px solid #f1f5f9 !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03) !important;
}
.rs-settlement-card:hover {
  border-color: #e2e8f0 !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06) !important;
  transform: translateY(-2px) !important;
}
.rs-card-accent {
  height: 3px !important;
  background: linear-gradient(90deg, #16a34a, #22c55e) !important;
}
.rs-card-category {
  font-size: 0.68rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  color: #64748b !important;
  background: #f8fafc !important;
  padding: 0.2rem 0.6rem !important;
  border-radius: 6px !important;
  border: 1px solid #f1f5f9 !important;
}
.rs-card-title {
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  line-height: 1.35 !important;
}
.rs-card-company {
  font-size: 0.8rem !important;
  color: #64748b !important;
  font-weight: 500 !important;
}
.rs-card-payout-amount {
  font-weight: 800 !important;
  color: #16a34a !important;
  font-size: 0.95rem !important;
}
.rs-card-payout-label {
  font-size: 0.65rem !important;
  color: #94a3b8 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
}
.rs-card-cta {
  color: #16a34a !important;
  font-weight: 700 !important;
  font-size: 0.82rem !important;
}


/* ── 9. BENEFITS SECTION ─────────────────────────────────────────────────── */

.sr-benefits-section {
  background: #ffffff !important;
  padding: clamp(2.5rem, 5vw, 3.5rem) clamp(1.25rem, 4vw, 2.5rem) !important;
}
.sr-benefits-title {
  font-size: clamp(1.3rem, 3vw, 1.65rem) !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  letter-spacing: -0.02em !important;
}
.sr-benefits-sub {
  color: #64748b !important;
  font-size: 0.95rem !important;
}
.sr-benefit-card {
  background: #f8fafc !important;
  border: 1px solid #f1f5f9 !important;
  border-radius: 14px !important;
  padding: 1.5rem !important;
  transition: all 0.2s ease !important;
}
.sr-benefit-card:hover {
  border-color: #e2e8f0 !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
}
.sr-benefit-title {
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  color: #0f172a !important;
}
.sr-benefit-desc {
  font-size: 0.85rem !important;
  color: #64748b !important;
  line-height: 1.65 !important;
}
.sr-benefit-highlight {
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  color: #16a34a !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
}


/* ── 10. MOBILE RESPONSIVE ───────────────────────────────────────────────── */

@media (max-width: 900px) {
  .rs-stats-bar.rs-stats-bar-below {
    margin: -20px 1rem 0 !important;
    max-width: calc(100% - 2rem) !important;
  }
}

@media (max-width: 640px) {
  /* Hero */
  .rs-hero.rs-hero-redesigned {
    padding: 2.5rem 1.25rem 2rem !important;
  }
  .rs-hero-redesigned .rs-hero-headline {
    font-size: 2rem !important;
    letter-spacing: -0.03em !important;
  }
  .rs-hero-subtitle-enhanced {
    font-size: 0.92rem !important;
  }

  /* Stats bar */
  .rs-stats-bar.rs-stats-bar-below {
    margin: -16px 0.75rem 0 !important;
    max-width: calc(100% - 1.5rem) !important;
    padding: 16px 12px !important;
    border-radius: 12px !important;
    gap: 0 !important;
  }
  .rs-stat {
    min-width: 70px !important;
    padding: 4px 6px !important;
  }
  .rs-stat-number {
    font-size: 1.2rem !important;
  }
  .rs-stat-label {
    font-size: 0.6rem !important;
  }
  .rs-stat-divider {
    height: 28px !important;
  }

  /* Featured settlement */
  #featured-settlement-hero {
    padding: 1.5rem 1rem !important;
  }
  .fs-hero-right {
    width: 100% !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    padding: 1rem !important;
    min-width: unset !important;
  }
  .fs-hero-payout-amount {
    font-size: 1.6rem !important;
  }

  /* Leaderboard */
  .sr-lb-card {
    padding: 0.85rem 1rem !important;
    border-radius: 12px !important;
  }
  .sr-lb-rank {
    width: 34px !important;
    height: 34px !important;
    font-size: 1rem !important;
    border-radius: 8px !important;
  }
  .sr-lb-title {
    font-size: 0.85rem !important;
  }
  .sr-lb-payout {
    font-size: 0.88rem !important;
  }

  /* Filters */
  .filter-row {
    gap: 0.5rem !important;
  }
  .filter-select {
    min-width: 0 !important;
    flex: 1 !important;
    font-size: 0.8rem !important;
    padding: 0.55rem 1.75rem 0.55rem 0.7rem !important;
  }

  /* Roundup banner */
  .featured-roundup-inner {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.6rem !important;
  }
  .featured-roundup-cta {
    align-self: flex-start !important;
  }
}

@media (max-width: 480px) {
  .rs-hero-redesigned .rs-hero-headline {
    font-size: 1.75rem !important;
  }
  .rs-hero-subtitle-enhanced {
    font-size: 0.85rem !important;
    margin-bottom: 1.5rem !important;
  }
  .sr-hero-cta-primary {
    font-size: 0.95rem !important;
    padding: 0.9rem 1.75rem !important;
    width: 100% !important;
    max-width: 320px !important;
    justify-content: center !important;
  }

  /* Stats bar — 2x2 grid on very small screens */
  .rs-stats-bar.rs-stats-bar-below {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0.5rem !important;
    padding: 16px !important;
  }
  .rs-stat-divider {
    display: none !important;
  }
  .rs-stat {
    padding: 8px !important;
    text-align: center !important;
    background: #f8fafc;
    border-radius: 8px;
  }
}

@media (max-width: 375px) {
  .rs-hero-redesigned .rs-hero-headline {
    font-size: 1.5rem !important;
  }
}
