/* ===================================
   StackedPerks v2 — Light, Trust-Forward
   Inspired by NerdWallet, TPG, Rakuten
   =================================== */

:root {
  /* Core palette */
  --purple: #6d28d9;
  --purple-dark: #5b21b6;
  --purple-light: #8b5cf6;
  --purple-bg: #f5f3ff;
  --teal: #0d9488;
  --teal-dark: #0f766e;
  --teal-light: #14b8a6;
  --teal-bg: #f0fdfa;
  --coral: #ef4444;
  --amber: #f59e0b;
  --green: #16a34a;
  --green-bg: #f0fdf4;
  --blue: #2563eb;

  /* Neutrals */
  --white: #ffffff;
  --bg: #ffffff;
  --bg-off: #f8fafc;
  --bg-warm: #fafaf9;
  --bg-card: #ffffff;
  --text: #1e293b;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-dim: #94a3b8;
  --border: #e2e8f0;
  --border-light: #f1f5f9;

  /* Gradients */
  --gradient-main: linear-gradient(135deg, #6d28d9 0%, #0d9488 100%);
  --gradient-hot: linear-gradient(135deg, #ef4444 0%, #f59e0b 100%);
  --gradient-cta: linear-gradient(135deg, #6d28d9 0%, #7c3aed 50%, #0d9488 100%);

  /* Type */
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --section-padding: 4rem 0;
  --container-max: 1100px;
  --radius: 10px;
  --radius-lg: 16px;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

a { color: var(--purple); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--purple-dark); text-decoration: underline; }

strong { font-weight: 600; }
em { font-style: italic; }

/* ===== Typography ===== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

h1 { font-size: clamp(2rem, 4.5vw, 2.75rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -0.02em; margin-bottom: 0.5rem; }
h3 { font-size: 1.1rem; }

.section-sub {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1.25rem;
  border-radius: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover { text-decoration: none; }

.btn-primary {
  background: var(--purple);
  color: white;
}

.btn-primary:hover {
  background: var(--purple-dark);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(109,40,217,0.25);
}

.btn-outline {
  background: transparent;
  color: var(--purple);
  border: 2px solid var(--purple);
}

.btn-outline:hover {
  background: var(--purple-bg);
  color: var(--purple-dark);
}

.btn-nav {
  background: var(--purple);
  color: white;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  border-radius: 6px;
}

.btn-nav:hover { background: var(--purple-dark); color: white; }

.btn-deal {
  background: var(--gradient-cta);
  color: white;
  width: 100%;
  justify-content: center;
  padding: 0.75rem;
  border-radius: 8px;
  font-size: 0.95rem;
}

.btn-deal:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(109,40,217,0.3); color: white; }

.btn-deal-sm {
  background: var(--purple);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  display: inline-block;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-deal-sm:hover { background: var(--purple-dark); color: white; text-decoration: none; transform: translateY(-1px); }

/* ===== Top Banner ===== */
.top-banner {
  background: var(--gradient-main);
  color: white;
  text-align: center;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

.top-banner a {
  color: white;
  text-decoration: underline;
  font-weight: 600;
  margin-left: 0.5rem;
}

/* ===== Navigation ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: white;
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
}

.logo:hover { text-decoration: none; }
.logo-icon { font-size: 1.3rem; }

.logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
}

.logo-accent { color: var(--teal); }

.nav-links {
  display: flex;
  gap: 1.5rem;
  flex: 1;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
}

.nav-links a:hover { color: var(--text); text-decoration: none; }

.nav-toggle { display: none; background: none; border: none; color: var(--text); font-size: 1.5rem; cursor: pointer; }

/* ===== Hero ===== */
.hero {
  padding: 3rem 0 2.5rem;
  background: linear-gradient(180deg, var(--purple-bg) 0%, var(--white) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2.5rem;
  align-items: start;
}

.hero-left h1 { margin-bottom: 1rem; }

.hero-sub {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.hero-ctas {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem 1.25rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.proof-item { text-align: center; }

.proof-number {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--purple);
}

.proof-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.proof-divider {
  width: 1px;
  height: 30px;
  background: var(--border);
}

/* Featured deal card in hero */
.featured-deal-card {
  background: white;
  border: 2px solid var(--purple);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(109,40,217,0.1);
  position: relative;
}

.fdc-badge {
  position: absolute;
  top: -0.75rem;
  left: 1.25rem;
  background: var(--purple);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.75rem;
  border-radius: 50px;
}

.fdc-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  margin-top: 0.5rem;
}

.fdc-icon { font-size: 2rem; }

.fdc-header h3 { margin-bottom: 0; font-size: 1.15rem; }
.fdc-cat { color: var(--text-muted); font-size: 0.8rem; }

.fdc-value {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.fdc-amount {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--purple);
}

.fdc-label {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.fdc-list {
  list-style: none;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.fdc-list li { font-size: 0.88rem; color: var(--text-secondary); }

.fdc-disclosure {
  display: block;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.7rem;
  margin-top: 0.5rem;
}

/* ===== Rates Bar ===== */
.rates-bar {
  padding: 2rem 0;
  background: var(--bg-off);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.rates-header {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.rates-header h2 { font-size: 1.25rem; margin-bottom: 0; }

.rates-updated {
  color: var(--text-dim);
  font-size: 0.8rem;
}

.rates-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.rate-chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 0.4rem 0.85rem;
  transition: all 0.2s;
  text-decoration: none;
}

.rate-chip:hover {
  border-color: var(--purple);
  box-shadow: 0 2px 8px rgba(109,40,217,0.1);
  text-decoration: none;
}

.rate-brand {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text);
}

.rate-pct {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--green);
}

.rate-chip.hot .rate-pct { color: var(--coral); }
.rate-chip.hot { border-color: #fecdd3; background: #fff1f2; }

.rates-note {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* ===== How It Works (compact) ===== */
.how-it-works {
  padding: 2.5rem 0;
}

.hiw-header {
  margin-bottom: 1.25rem;
}

.hiw-header h2 { margin-bottom: 0.25rem; }
.hiw-header p { color: var(--text-muted); font-size: 0.95rem; }

.hiw-example {
  background: var(--bg-off);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.hiw-scenario {
  background: var(--purple-bg);
  padding: 0.85rem 1.25rem;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--border);
}

.hiw-layers {
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hiw-layer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hiw-num {
  width: 28px;
  height: 28px;
  background: var(--purple);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.hiw-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  flex: 1;
}

.hiw-save {
  display: inline-block;
  color: var(--green);
  font-weight: 600;
  font-family: var(--font-display);
  margin-left: 0.25rem;
}

.hiw-total {
  background: var(--green-bg);
  border-top: 2px solid var(--green);
  padding: 0.85rem 1.25rem;
  font-size: 0.95rem;
  color: var(--text);
}

/* ===== Deal Rows ===== */
.top-deals {
  padding: var(--section-padding);
  background: var(--bg-off);
}

.deal-filters {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: white;
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 0.35rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-body);
}

.filter-btn:hover { border-color: var(--purple); color: var(--purple); }

.filter-btn.active {
  background: var(--purple);
  color: white;
  border-color: var(--purple);
}

.deal-row {
  display: grid;
  grid-template-columns: 40px 44px 1fr 180px;
  gap: 1rem;
  align-items: start;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 0.75rem;
  transition: all 0.2s;
}

.deal-row:hover {
  border-color: var(--purple);
  box-shadow: 0 2px 12px rgba(109,40,217,0.08);
}

.deal-row.featured {
  border-color: var(--purple);
  box-shadow: 0 2px 12px rgba(109,40,217,0.08);
  background: linear-gradient(to right, #faf5ff, white);
}

.deal-rank {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: var(--text-dim);
  text-align: center;
  padding-top: 0.15rem;
}

.deal-icon {
  font-size: 1.75rem;
  text-align: center;
}

.deal-info { min-width: 0; }

.deal-title-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
  flex-wrap: wrap;
}

.deal-title-row h3 { margin-bottom: 0; }

.deal-tag {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.deal-tag.bank { background: #dbeafe; color: #1e40af; }
.deal-tag.cashback { background: #d1fae5; color: #065f46; }
.deal-tag.card { background: #fce7f3; color: #9d174d; }
.deal-tag.grocery { background: #fef3c7; color: #92400e; }

.deal-tag-hot {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--coral);
}

.deal-info p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 0.5rem;
}

.deal-details-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.deal-detail {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.deal-value-col {
  text-align: center;
  padding: 0.5rem;
  background: var(--bg-off);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.deal-amount {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--purple);
  line-height: 1;
}

.deal-amount-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.deals-disclosure {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  background: var(--teal-bg);
  border: 1px solid #99f6e4;
  border-radius: var(--radius);
}

.deals-disclosure p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin: 0;
}

/* ===== Calculator ===== */
.calculator {
  padding: var(--section-padding);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.calc-left h2 { margin-bottom: 0.5rem; }
.calc-left p { color: var(--text-secondary); font-size: 0.95rem; margin-bottom: 1.5rem; }

.calc-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.calc-field label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}

.input-wrap {
  display: flex;
  align-items: center;
  background: var(--bg-off);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.input-prefix {
  padding: 0.65rem 0.75rem;
  background: var(--border-light);
  color: var(--text-muted);
  font-weight: 600;
  border-right: 1px solid var(--border);
}

.input-wrap input {
  flex: 1;
  padding: 0.65rem 0.75rem;
  border: none;
  background: transparent;
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--text);
  outline: none;
}

.calc-toggle {
  display: flex;
  gap: 0.5rem;
}

.toggle-btn {
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: white;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-body);
}

.toggle-btn.active {
  background: var(--purple);
  color: white;
  border-color: var(--purple);
}

.calc-right {
  position: sticky;
  top: 5rem;
}

.calc-result {
  background: white;
  border: 2px solid var(--purple);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(109,40,217,0.08);
}

.calc-result-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.calc-result-number {
  display: block;
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--purple);
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.calc-breakdown {
  text-align: left;
  margin-bottom: 1.5rem;
}

.calc-line {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.calc-line span:last-child {
  font-weight: 600;
  color: var(--text);
  font-family: var(--font-display);
}

/* ===== Guides ===== */
.guides {
  padding: var(--section-padding);
  background: var(--bg-off);
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.guide-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: all 0.2s;
}

.guide-card:hover {
  border-color: var(--purple);
  box-shadow: 0 2px 12px rgba(109,40,217,0.06);
}

.guide-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
}

.guide-tag.beginner { background: #d1fae5; color: #065f46; }
.guide-tag.strategy { background: #dbeafe; color: #1e40af; }
.guide-tag.advanced { background: #fce7f3; color: #9d174d; }

.guide-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.guide-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
  line-height: 1.55;
}

.guide-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
}

.guide-meta span { color: var(--text-dim); }

.guide-link {
  font-weight: 600;
  font-size: 0.85rem;
}

/* ===== Trust ===== */
.trust {
  padding: 3rem 0;
  border-top: 1px solid var(--border-light);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.trust-item { text-align: center; }
.trust-icon { font-size: 2rem; display: block; margin-bottom: 0.5rem; }

.trust-item h3 {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.trust-item p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ===== Newsletter ===== */
.newsletter {
  padding: var(--section-padding);
  background: var(--purple-bg);
  border-top: 1px solid #e9d5ff;
}

.newsletter-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.newsletter-text h2 { margin-bottom: 0.5rem; }

.newsletter-text p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.newsletter-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.newsletter-perks li {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.newsletter-form input {
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: white;
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--text);
  outline: none;
}

.newsletter-form input:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(109,40,217,0.1); }

.newsletter-note {
  color: var(--text-dim);
  font-size: 0.78rem;
  text-align: center;
}

/* ===== Footer ===== */
.footer {
  padding: 3rem 0 1.5rem;
  background: var(--bg-off);
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 0.35rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-links h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  margin-bottom: 0.35rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-links a:hover { color: var(--text); }

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.footer-bottom p {
  color: var(--text-dim);
  font-size: 0.75rem;
  margin-bottom: 0.35rem;
}

.disclosure {
  max-width: 700px;
  line-height: 1.5;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .featured-deal-card { max-width: 420px; }

  .deal-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .deal-rank { display: none; }
  .deal-icon { display: none; }

  .deal-value-col {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
  }

  .calc-grid { grid-template-columns: 1fr; }
  .calc-right { position: static; }

  .newsletter-inner { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  :root { --section-padding: 2.5rem 0; }

  .nav-links { display: none; }
  .btn-nav { display: none; }
  .nav-toggle { display: block; }

  .hero { padding: 2rem 0; }

  .hero-proof { flex-direction: column; gap: 0.75rem; }
  .proof-divider { width: 40px; height: 1px; }

  .rates-grid { gap: 0.35rem; }
  .rate-chip { padding: 0.3rem 0.6rem; }
  .rate-brand { font-size: 0.78rem; }
  .rate-pct { font-size: 0.78rem; }

  .guide-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .deal-filters { gap: 0.25rem; }
  .filter-btn { padding: 0.25rem 0.65rem; font-size: 0.75rem; }

  .hiw-layers { padding: 0.75rem; }
  .hiw-layer { flex-wrap: wrap; }
  .hiw-save { display: block; margin-left: 0; }
}
