:root {
  --primary: #0B6E4F;
  --primary-light: #14A076;
  --primary-dark: #084C37;
  --accent: #E8871E;
  --accent-light: #F5A623;
  --text: #1A1A2E;
  --text-light: #555770;
  --text-muted: #8E90A6;
  --bg: #FAFBFC;
  --bg-card: #FFFFFF;
  --bg-dark: #0F1923;
  --border: #E2E4E9;
  --success: #22C55E;
  --info: #3B82F6;
  --star: #FBBF24;
  --ad-bg: #F0F1F3;
  --ad-border: #D1D5DB;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.1);
  --transition: 0.2s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-light); }

img { max-width: 100%; height: auto; }

/* ─── HEADER ─── */
.site-header {
  background: var(--bg-dark);
  position: relative;
  z-index: 100;
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 85px;
}

.logo {
  display: flex;
  align-items: center;
  background: transparent;
  line-height: 0;
  text-decoration: none;
}

.logo img {
  background: transparent;
  display: block;
  height: 75px;
  object-fit: contain;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: #A0AEC0;
  font-size: 14px;
  font-weight: 500;
  transition: color var(--transition);
}

.nav-links a:hover { color: white; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  margin: 5px 0;
  transition: var(--transition);
}

.header-sub {
  background: #162231;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 8px 0;
}

.header-sub-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 20px;
  font-size: 12px;
  color: #64748B;
}

.header-sub a { color: #64748B; font-size: 12px; }
.header-sub a:hover { color: #A0AEC0; }

/* ─── AD PLACEMENTS ─── */
.ad-slot {
  background: var(--ad-bg);
  border: 2px dashed var(--ad-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
}

.ad-slot::before {
  content: 'Advertisement';
  position: absolute;
  top: 6px;
  left: 10px;
  font-size: 10px;
  color: var(--text-muted);
  opacity: 0.6;
}

.ad-banner {
  width: 100%;
  height: 100px;
  margin: 20px 0;
}

.ad-leaderboard {
  width: 100%;
  height: 90px;
  margin: 16px 0;
}

.ad-medium-rect {
  width: 300px;
  height: 250px;
  margin: 16px auto;
}

.ad-in-content {
  width: 100%;
  max-width: 100%;
  height: 120px;
  margin: 24px auto;
}

.ad-sidebar {
  width: 100%;
  height: 250px;
  margin: 16px 0;
}

.ad-sticky-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 70px;
  z-index: 90;
  border-radius: 0;
  border-top: 1px solid var(--ad-border);
  background: var(--ad-bg);
}

.ad-sticky-footer .ad-close {
  position: absolute;
  top: 4px;
  right: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 22px;
  height: 22px;
  cursor: pointer;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.ad-placement {
  width: 100%;
  max-width: 100%;
  margin: 20px auto;
  text-align: center;
  clear: both;
}

.ad-placement-top {
  max-width: 1100px;
  min-height: 90px;
  padding: 0 24px;
  margin: 4px auto 35px;
}

.ad-placement-leaderboard {
  min-height: 90px;
  margin: 18px auto 22px;
}

.ad-placement-inline {
  min-height: 120px;
  margin: 24px auto;
}

.ad-placement-content {
  min-height: 120px;
  margin: 20px auto;
}

.ad-placement-sidebar {
  min-height: 250px;
  margin: 0 0 20px;
}

.ad-placement-card {
  min-height: 250px;
  margin: -8px 0 24px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ─── PREQUALIFIED CARD PAGE ─── */
.prequal-hero {
  padding-bottom: 18px;
}

.prequal-hero h1 {
  font-size: clamp(38px, 7vw, 76px);
  letter-spacing: -0.04em;
}

.prequal-intro {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 24px;
}

.prequal-intro h2 {
  font-size: 28px;
  margin-bottom: 8px;
}

.prequal-intro p {
  color: var(--text-light);
  font-size: 16px;
}

.prequal-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 28px;
  margin: 26px 0;
}

.prequal-panel-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 24px;
}

.prequal-panel-header .eyebrow {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.prequal-panel-header h2 {
  font-size: 28px;
  line-height: 1.2;
  margin-bottom: 8px;
}

.prequal-panel-header p {
  color: var(--text-light);
}

.prequal-form {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.prequal-fieldset {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  background: var(--bg);
}

.prequal-fieldset legend {
  padding: 0 6px;
  font-size: 13px;
  font-weight: 800;
  color: var(--text);
}

.prequal-options {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.prequal-option {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--text);
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  padding: 11px 12px;
  text-align: left;
  transition: all var(--transition);
}

.prequal-option:hover,
.prequal-option.active {
  border-color: var(--primary);
  background: rgba(11, 110, 79, 0.08);
  color: var(--primary-dark);
}

.match-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  border-radius: var(--radius-sm);
  color: #065F46;
  font-size: 14px;
  font-weight: 700;
  margin-top: 18px;
  padding: 12px 14px;
}

.match-summary button {
  border: none;
  background: transparent;
  color: var(--primary);
  cursor: pointer;
  font-weight: 800;
}

.offer-hidden {
  display: none !important;
}

.prequal-note {
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.6;
  margin-top: 12px;
}

/* ─── TOPSWEEPS PAGE ─── */
.sweeps-logo img {
  height: 82px;
  max-width: 280px;
  object-fit: contain;
}

.sweeps-page {
  background:
    radial-gradient(circle at top left, rgba(245, 166, 35, 0.12), transparent 32%),
    radial-gradient(circle at top right, rgba(20, 160, 118, 0.12), transparent 28%),
    var(--bg);
}

.sweeps-hero {
  max-width: 980px;
  margin: 0 auto;
  padding: 56px 24px 26px;
  text-align: center;
}

.sweeps-hero .eyebrow,
.sweeps-results-header .eyebrow {
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.sweeps-hero h1 {
  font-size: clamp(42px, 7vw, 78px);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.98;
  margin-bottom: 18px;
}

.sweeps-hero p {
  color: var(--text-light);
  font-size: 18px;
  line-height: 1.7;
  margin: 0 auto;
  max-width: 760px;
}

.sweeps-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 22px;
}

.sweeps-hero-badges span {
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  border-radius: 999px;
  color: #065F46;
  font-size: 13px;
  font-weight: 800;
  padding: 8px 12px;
}

.sweeps-warning {
  margin: 0 0 24px;
}

.sweeps-layout {
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 1fr) 336px;
}

.sweeps-main {
  min-width: 0;
}

.sweeps-quiz-card,
.sweeps-results {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  margin-bottom: 26px;
  padding: 30px;
}

.sweeps-progress-row {
  align-items: center;
  color: var(--text-muted);
  display: flex;
  font-size: 13px;
  font-weight: 800;
  justify-content: space-between;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.sweeps-step {
  display: none;
}

.sweeps-step.active {
  display: block;
}

.sweeps-step h2 {
  font-size: clamp(24px, 4vw, 38px);
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0 auto 22px;
  max-width: 760px;
  text-align: center;
}

.sweeps-step .step-label {
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
  text-align: center;
  text-transform: uppercase;
}

.sweeps-options {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sweeps-option {
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: 14px;
  color: var(--text);
  cursor: pointer;
  font-size: 16px;
  font-weight: 800;
  min-height: 74px;
  padding: 18px;
  text-align: left;
  transition: all var(--transition);
}

.sweeps-option:hover,
.sweeps-option.selected {
  background: rgba(11, 110, 79, 0.08);
  border-color: var(--primary);
  color: var(--primary-dark);
  transform: translateY(-1px);
}

.sweeps-loading {
  padding: 40px 20px;
  text-align: center;
}

.sweeps-loading h3 {
  font-size: 24px;
  margin-bottom: 8px;
}

.sweeps-loading p {
  color: var(--text-light);
  margin-bottom: 20px;
}

.sweeps-results-header {
  margin: 0 auto 24px;
  max-width: 820px;
  text-align: center;
}

.sweeps-results-header h2 {
  font-size: clamp(30px, 5vw, 52px);
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 12px;
}

.sweeps-results-header p {
  color: var(--text-light);
  font-size: 16px;
  line-height: 1.7;
}

.sweeps-directory-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 22px;
}

.sweeps-site-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  position: relative;
}

.sweeps-site-card .rank {
  align-items: center;
  background: var(--bg-dark);
  border-radius: 50%;
  color: white;
  display: flex;
  font-size: 13px;
  font-weight: 900;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.sweeps-site-card h3 {
  font-size: 21px;
  line-height: 1.2;
}

.sweeps-site-card p,
.sweeps-site-card li {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.65;
}

.sweeps-site-card ul {
  margin: 0 0 0 18px;
}

.sweeps-site-card .btn {
  margin-top: auto;
}

.sweeps-sidebar .sidebar-box {
  background: rgba(255, 255, 255, 0.92);
}

.sweeps-resource-hero {
  max-width: 1080px;
  margin: 0 auto;
  padding: 52px 24px 24px;
  text-align: center;
}

.sweeps-resource-hero .eyebrow,
.sweeps-guide-section .eyebrow {
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.sweeps-resource-hero h1 {
  font-size: clamp(34px, 6vw, 64px);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: 16px;
}

.sweeps-resource-hero p {
  color: var(--text-light);
  font-size: 18px;
  line-height: 1.7;
  margin: 0 auto;
  max-width: 820px;
}

.sweeps-pill-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 24px;
}

.sweeps-pill-nav a,
.sweeps-link-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow);
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 800;
  padding: 10px 14px;
}

.sweeps-pill-nav a:hover,
.sweeps-link-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  color: var(--primary);
  transform: translateY(-1px);
}

.sweeps-home-links {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 24px;
}

.sweeps-link-card {
  border-radius: 16px;
  display: block;
  line-height: 1.35;
  padding: 18px;
}

.sweeps-link-card span {
  color: var(--text-light);
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-top: 6px;
}

.sweeps-guide-section {
  overflow: hidden;
}

.sweeps-resource-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sweeps-resource-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
}

.sweeps-resource-card h3 {
  margin: 0;
}

.sweeps-resource-card p {
  margin-bottom: 0;
}

.sweeps-resource-card .btn {
  align-self: flex-start;
  margin-top: auto;
}

.sweeps-checklist li {
  margin-bottom: 10px;
}

.sweeps-callout {
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  border-radius: var(--radius-sm);
  color: #065F46;
  font-size: 14px;
  line-height: 1.7;
  margin-top: 18px;
  padding: 14px 16px;
}

.sweeps-table-wrap {
  overflow-x: auto;
}

.sweeps-table {
  border-collapse: collapse;
  min-width: 620px;
  width: 100%;
}

.sweeps-table th,
.sweeps-table td {
  border-bottom: 1px solid var(--border);
  color: var(--text-light);
  padding: 12px;
  text-align: left;
  vertical-align: top;
}

.sweeps-table th {
  color: var(--text);
  font-size: 13px;
  text-transform: uppercase;
}

/* ─── COUPONS PAGE ─── */
.coupons-hero {
  max-width: 980px;
  padding-bottom: 20px;
}

.coupons-logo img {
  height: 80px;
  max-width: min(300px, 52vw);
  object-fit: contain;
}

.coupons-hero h1 {
  font-size: clamp(34px, 6vw, 68px);
  letter-spacing: -0.04em;
}

.coupon-search-panel {
  background: linear-gradient(135deg, var(--bg-dark), #123D32);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  color: white;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 520px);
  gap: 24px;
  margin: 8px 0 22px;
  padding: 28px;
}

.coupon-search-panel h2 {
  font-size: 28px;
  line-height: 1.2;
  margin-bottom: 8px;
}

.coupon-search-panel p {
  color: #CBD5E1;
  font-size: 15px;
  margin-bottom: 0;
}

.eyebrow {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.coupon-filter-grid {
  align-content: center;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, 1fr);
}

.coupon-filter {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-sm);
  color: white;
  cursor: pointer;
  font-weight: 800;
  padding: 12px 10px;
  transition: all var(--transition);
}

.coupon-filter:hover,
.coupon-filter.active {
  background: white;
  color: var(--primary-dark);
}

.coupon-stats {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 0 24px;
}

.coupon-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}

.coupon-stat-card strong {
  color: var(--primary);
  display: block;
  font-size: 28px;
  line-height: 1.1;
  margin-bottom: 6px;
}

.coupon-stat-card span {
  color: var(--text-light);
  font-size: 13px;
  line-height: 1.5;
}

.section-heading-row {
  align-items: flex-start;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 18px;
}

.coupon-count {
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  border-radius: 999px;
  color: #065F46;
  font-size: 12px;
  font-weight: 800;
  padding: 8px 12px;
  white-space: nowrap;
}

.coupon-card-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, 1fr);
}

.coupon-deal-card,
.source-row {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: box-shadow var(--transition), transform var(--transition);
}

.coupon-deal-card:hover,
.source-row:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.deal-badge {
  background: #FFF7ED;
  border: 1px solid #FDBA74;
  border-radius: 999px;
  color: #9A3412;
  display: inline-flex;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
  padding: 5px 9px;
  text-transform: uppercase;
}

.coupon-deal-card h3,
.source-row h3 {
  font-size: 18px;
  line-height: 1.25;
  margin: 0 0 8px;
}

.coupon-deal-card p,
.source-row p,
.coupon-alert-box p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 14px;
}

.coupon-deal-card ul {
  color: var(--text-light);
  font-size: 13px;
  margin: 0 0 16px 18px;
}

.coupon-deal-card li {
  margin-bottom: 6px;
}

.source-list {
  display: grid;
  gap: 12px;
}

.source-row {
  align-items: center;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.coupon-category-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 18px;
}

.coupon-category-cloud a {
  background: #F8FAFC;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
  padding: 9px 12px;
}

.coupon-category-cloud a:hover {
  background: rgba(11, 110, 79, 0.08);
  border-color: var(--primary);
  color: var(--primary-dark);
}

.coupon-steps {
  color: var(--text-light);
  margin-left: 22px;
}

.coupon-steps li {
  margin-bottom: 12px;
}

.roadmap-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, 1fr);
}

.roadmap-grid div {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
}

.roadmap-grid strong {
  display: block;
  font-size: 14px;
  margin-bottom: 5px;
}

.roadmap-grid span {
  color: var(--text-light);
  display: block;
  font-size: 13px;
  line-height: 1.6;
}

.store-directory-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.coupon-directory-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.store-tile {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 130px;
  padding: 18px;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.store-tile:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  color: var(--text);
  transform: translateY(-2px);
}

.store-tile strong {
  font-size: 17px;
  line-height: 1.25;
}

.store-tile span {
  color: var(--text-light);
  font-size: 13px;
  line-height: 1.55;
}

.coupon-code-section {
  display: grid;
  gap: 14px;
}

.coupon-code-card {
  align-items: stretch;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: grid;
  gap: 18px;
  grid-template-columns: 150px minmax(0, 1fr) 150px;
  padding: 18px;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.coupon-code-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.coupon-code-value {
  align-items: center;
  background: linear-gradient(135deg, #ECFDF5, #F0FDFA);
  border: 1px dashed #34D399;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 110px;
  padding: 14px;
  text-align: center;
}

.coupon-code-value strong {
  color: var(--primary-dark);
  display: block;
  font-size: 24px;
  line-height: 1.05;
}

.coupon-code-value span {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-top: 8px;
  text-transform: uppercase;
}

.coupon-code-body h3 {
  font-size: 19px;
  line-height: 1.25;
  margin: 0 0 8px;
}

.coupon-code-body p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 0;
}

.coupon-code-action {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
}

.coupon-code-action code {
  background: #111827;
  border-radius: var(--radius-sm);
  color: #F9FAFB;
  display: block;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 11px 12px;
  text-align: center;
  width: 100%;
}

.coupon-sidebar-list li a {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.coupon-sidebar-list li span {
  color: var(--text-muted);
  font-size: 12px;
}

.coupon-hidden {
  display: none !important;
}

/* ─── HERO ─── */
.hero {
  text-align: center;
  padding: 48px 24px 32px;
  max-width: 900px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
}

.hero h1 .highlight { color: var(--primary); }

.hero .subtitle {
  font-size: 18px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 8px;
}

.hero .desc {
  font-size: 16px;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* ─── CONTAINER ─── */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.content-wrap {
  display: grid;
  grid-template-columns: 1fr 336px;
  gap: 40px;
  margin-top: 24px;
}

.content-main { min-width: 0; }

/* ─── QUIZ MODULE ─── */
.quiz-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 40px;
  max-width: 800px;
  margin: 0 auto 32px;
}

.quiz-progress {
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  margin-bottom: 32px;
  overflow: hidden;
}

.quiz-progress-fill {
  height: 100%;
  background: var(--primary);
  border-radius: 3px;
  transition: width 0.4s ease;
}

.quiz-step { display: none; }
.quiz-step.active { display: block; }

.quiz-step h2 {
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
}

.quiz-step .step-label {
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 24px;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quiz-option {
  display: block;
  width: 100%;
  padding: 16px 20px;
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: all var(--transition);
  text-align: left;
}

.quiz-option:hover {
  border-color: var(--primary);
  background: rgba(11, 110, 79, 0.04);
}

.quiz-option.selected {
  border-color: var(--primary);
  background: rgba(11, 110, 79, 0.08);
  color: var(--primary);
}

/* ─── LOADING ─── */
.quiz-loading {
  text-align: center;
  padding: 40px;
}

.quiz-loading h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.quiz-loading p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.loading-bar {
  height: 8px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
  max-width: 400px;
  margin: 0 auto 16px;
}

.loading-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: 4px;
  width: 0%;
  animation: loadProgress 3s ease-in-out forwards;
}

@keyframes loadProgress {
  0% { width: 0%; }
  30% { width: 45%; }
  60% { width: 72%; }
  90% { width: 95%; }
  100% { width: 100%; }
}

.quiz-results {
  text-align: center;
  padding: 40px;
}

.quiz-results .check-icon {
  width: 56px;
  height: 56px;
  background: var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: white;
  font-size: 28px;
}

.quiz-results h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.quiz-results p {
  color: var(--text-light);
  margin-bottom: 24px;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: white;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-accent {
  background: var(--accent);
  color: white;
}

.btn-accent:hover {
  background: #D47A18;
  color: white;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

.btn-dark {
  background: var(--bg-dark);
  color: white;
}

.btn-dark:hover {
  background: #1A2A3A;
  color: white;
}

.btn-block { width: 100%; }

.btn-lg {
  padding: 18px 36px;
  font-size: 17px;
}

/* ─── CARD LISTINGS ─── */
.card-listing {
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  padding: 24px;
  margin-bottom: 20px;
  display: grid;
  grid-template-columns: 200px 1fr auto;
  gap: 24px;
  align-items: start;
  transition: box-shadow var(--transition);
}

.card-listing:hover { box-shadow: var(--shadow-md); }

.card-listing-img {
  width: 200px;
  height: 126px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 14px;
  text-align: center;
  padding: 12px;
}

.card-listing-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-listing-body h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.card-listing-body .tagline {
  color: var(--accent);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 12px;
}

.card-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 12px;
}

.card-stars .star { color: var(--star); font-size: 16px; }
.card-stars .star.empty { color: var(--border); }

.card-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.card-detail-item label {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.card-detail-item span {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.card-highlights {
  list-style: none;
  padding: 0;
}

.card-highlights li {
  font-size: 13px;
  color: var(--text-light);
  padding: 3px 0;
  padding-left: 20px;
  position: relative;
}

.card-highlights li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

.card-listing-action {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 160px;
}

.card-listing-ad {
  grid-column: 1 / -1;
}

/* ─── CREDIT SCORE SELECTOR ─── */
.score-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin: 0 auto 40px;
}

.score-grid .score-card {
  flex: 0 1 calc(25% - 12px);
  min-width: 260px;
}

.score-card {
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: all var(--transition);
}

.score-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.score-gauge {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  flex-shrink: 0;
}

.score-gauge.excellent { background: #DCFCE7; color: #166534; }
.score-gauge.good { background: #D1FAE5; color: #065F46; }
.score-gauge.fair { background: #FEF9C3; color: #854D0E; }
.score-gauge.poor { background: #FED7AA; color: #9A3412; }
.score-gauge.bad { background: #FECACA; color: #991B1B; }
.score-gauge.limited { background: #E0E7FF; color: #3730A3; }
.score-gauge.new { background: #F3E8FF; color: #6B21A8; }

.score-card-body h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 2px;
}

.score-card-body p {
  font-size: 13px;
  color: var(--text-muted);
}

.score-card .score-cta {
  margin-left: auto;
  padding: 8px 16px;
  font-size: 13px;
}

/* ─── CREDIT LIMIT SELECTOR ─── */
.limit-section {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 40px;
}

.limit-section h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 8px;
}

.limit-section .sub {
  color: var(--text-light);
  margin-bottom: 32px;
}

.limit-buttons {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.limit-btn {
  display: block;
  width: 100%;
  padding: 20px 24px;
  background: var(--bg-dark);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.3px;
}

.limit-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.limit-btn.alt {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--border);
}

.limit-btn.alt:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(11, 110, 79, 0.04);
}

/* ─── CONTENT SECTIONS ─── */
.content-section {
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  padding: 32px;
  margin-bottom: 24px;
}

.content-section h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}

.content-section h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 20px 0 10px;
  color: var(--text);
}

.content-section p {
  color: var(--text-light);
  margin-bottom: 14px;
  font-size: 15px;
  line-height: 1.7;
}

.compare-section {
  margin-bottom: 20px;
}

.content-section ul, .content-section ol {
  color: var(--text-light);
  margin: 12px 0 16px 24px;
  font-size: 15px;
}

.content-section li { margin-bottom: 8px; }

.content-image {
  width: 100%;
  border-radius: var(--radius-sm);
  margin: 16px 0;
}

/* ─── SIDEBAR ─── */
.sidebar {
  position: sticky;
  top: 80px;
}

.sidebar-box {
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  padding: 20px;
  margin-bottom: 20px;
}

.sidebar-box h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.sidebar-box ul {
  list-style: none;
  padding: 0;
}

.sidebar-box li { margin-bottom: 8px; }

.sidebar-box a {
  font-size: 14px;
  color: var(--text-light);
}

.sidebar-box a:hover { color: var(--primary); }

/* ─── FAQ ACCORDION ─── */
.faq-list { margin-top: 16px; }

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:last-child { border-bottom: none; }

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
}

.faq-question::after {
  content: '+';
  font-size: 20px;
  color: var(--text-muted);
  transition: transform var(--transition);
}

.faq-item.open .faq-question::after {
  content: '−';
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding-bottom: 16px;
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.7;
}

/* ─── FOOTER ─── */
.site-footer {
  background: var(--bg-dark);
  color: #A0AEC0;
  padding: 48px 0 24px;
  margin-top: 60px;
}

.footer-grid {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.footer-col h5 {
  color: white;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: #A0AEC0; font-size: 13px; }
.footer-col a:hover { color: white; }

.footer-bottom {
  max-width: 1400px;
  margin: 32px auto 0;
  padding: 24px 24px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 12px;
  color: #64748B;
  line-height: 1.8;
}

/* ─── DISCLOSURE BAR ─── */
.disclosure-bar {
  background: #FFF7ED;
  border: 1px solid #FDBA74;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 12px;
  color: #9A3412;
  margin-bottom: 20px;
  line-height: 1.6;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1400px) {
  .content-wrap {
    grid-template-columns: 1fr;
  }
  .sweeps-layout {
    grid-template-columns: 1fr;
  }
  .sidebar { position: static; }
}

@media (max-width: 960px) {
  .prequal-form {
    grid-template-columns: 1fr;
  }
  .coupon-search-panel {
    grid-template-columns: 1fr;
  }
  .coupon-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .coupon-card-grid,
  .roadmap-grid,
  .store-directory-grid,
  .coupon-directory-grid {
    grid-template-columns: 1fr;
  }
  .coupon-code-card {
    grid-template-columns: 1fr;
  }
  .source-row {
    grid-template-columns: 1fr;
  }
  .card-listing {
    grid-template-columns: 1fr;
  }
  .card-listing-img { width: 100%; height: 180px; }
  .card-listing-action {
    flex-direction: row;
    min-width: auto;
  }
  .card-listing-ad {
    grid-column: auto;
  }
  .card-details {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sweeps-directory-grid,
  .sweeps-home-links,
  .sweeps-resource-grid,
  .sweeps-options {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero h1 { font-size: 26px; }
  .prequal-hero h1 { font-size: 40px; }
  .hero .subtitle { font-size: 16px; }
  .coupons-logo img {
    height: 62px;
    max-width: 230px;
  }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 85px;
    left: 0;
    right: 0;
    background: var(--bg-dark);
    padding: 16px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    box-shadow: var(--shadow-md);
  }
  .quiz-card { padding: 24px; }
  .sweeps-quiz-card,
  .sweeps-results {
    padding: 20px;
  }
  .sweeps-progress-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
  .sweeps-hero {
    padding-top: 38px;
  }
  .sweeps-hero h1 {
    font-size: 38px;
  }
  .sweeps-logo img {
    height: 64px;
    max-width: 210px;
  }
  .prequal-panel { padding: 20px; }
  .match-summary {
    align-items: flex-start;
    flex-direction: column;
  }
  .coupon-search-panel {
    padding: 22px;
  }
  .coupon-filter-grid,
  .coupon-stats {
    grid-template-columns: 1fr;
  }
  .section-heading-row {
    display: block;
  }
  .coupon-count {
    display: inline-flex;
    margin-top: 8px;
  }
  .score-grid .score-card { flex: 0 1 100%; }
  .card-details { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .ad-medium-rect { width: 100%; }
  .ad-placement-top {
    padding: 0 16px;
  }
  .ad-placement-card,
  .ad-placement-inline,
  .ad-placement-content {
    min-height: 90px;
  }
  .ad-placement-sidebar {
    min-height: 120px;
  }
}
