@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Outfit:wght@600;700;800&display=swap');

:root {
  --emerald: #10b981;
  --emerald-dark: #059669;
  --emerald-light: #d1fae5;
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --gold: #f59e0b;
  --violet: #8b5cf6;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 25px 60px rgba(15, 23, 42, 0.12);
  --font-display: 'Outfit', Inter, system-ui, sans-serif;
  --surface-0: #f8fafc;
  --surface-1: #ffffff;
  --surface-elevated: #ffffff;
  --space-1: .25rem;
  --space-2: .5rem;
  --space-3: .75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --text-display: clamp(2.25rem, 5vw, 3.5rem);
  --text-h1: clamp(2rem, 4vw, 2.75rem);
  --text-h2: clamp(1.5rem, 3vw, 2rem);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --duration-fast: .18s;
  --duration-med: .35s;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  color: var(--slate-900);
  background: var(--surface-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .page-hero-v2 h1, .hero-home-copy h1, .section-head h2, .cta-band h2 {
  font-family: var(--font-display);
  letter-spacing: -.03em;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1200px, calc(100% - 2rem)); margin: 0 auto; }
.narrow { width: min(760px, calc(100% - 2rem)); margin: 0 auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226,232,240,0.8);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 76px; gap: 1rem;
}
.logo { display: flex; align-items: center; gap: .75rem; font-weight: 800; font-size: 1.2rem; }
.logo-mark {
  width: 42px; height: 42px; display: grid; place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--emerald), #14b8a6);
  color: #fff; box-shadow: 0 8px 20px rgba(16,185,129,0.35);
}
.logo-mark.sm { width: 36px; height: 36px; border-radius: 10px; }
.logo-wordmark span { color: var(--emerald); }
.nav-desktop { display: flex; gap: .25rem; }
.nav-desktop a {
  padding: .6rem 1rem; border-radius: 10px;
  color: var(--slate-700); font-weight: 500; font-size: .92rem;
  transition: .2s;
}
.nav-desktop a:hover { background: var(--slate-100); color: var(--slate-900); }
.header-actions { display: flex; align-items: center; gap: .75rem; }
.nav-toggle {
  display: none; background: var(--slate-100); border: 0;
  width: 42px; height: 42px; border-radius: 10px; cursor: pointer;
  place-items: center;
}
.nav-mobile {
  display: none;
  gap: .25rem;
  padding: 1rem;
  border-top: 1px solid var(--slate-200);
  background: #fff;
}
.nav-mobile a { padding: .85rem 1rem; border-radius: 10px; font-weight: 500; }
.nav-mobile a:hover { background: var(--slate-100); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  border: 0; border-radius: 12px; padding: .75rem 1.25rem;
  font-weight: 600; font-size: .92rem; cursor: pointer; transition: .2s;
  font-family: inherit;
}
.btn-primary { background: var(--emerald); color: #fff; box-shadow: 0 4px 14px rgba(16,185,129,0.35); }
.btn-primary:hover { background: var(--emerald-dark); transform: translateY(-1px); }
.btn-white { background: #fff; color: var(--slate-900); }
.btn-white:hover { background: var(--slate-100); }
.btn-glass { background: rgba(255,255,255,0.12); color: #fff; border: 1px solid rgba(255,255,255,0.25); }
.btn-glass:hover { background: rgba(255,255,255,0.2); }
.btn-outline { background: #fff; border: 1px solid var(--slate-200); color: var(--slate-700); }
.btn-outline:hover { border-color: var(--emerald); color: var(--emerald-dark); }
.btn-ghost { background: transparent; color: var(--slate-600); }
.btn-ghost:hover { background: var(--slate-100); }
.btn-lg { padding: 1rem 1.5rem; font-size: 1rem; border-radius: 14px; }
.btn-sm { padding: .55rem 1rem; font-size: .85rem; }
.btn-block { width: 100%; }

/* Sections */
.section { padding: 4rem 0; }
.section-muted { background: #eef2f7; }
.section-dark { background: var(--slate-900); color: #fff; }
.section-featured { background: linear-gradient(180deg, #fff, #f0fdf4); }
.section-header {
  display: flex; justify-content: space-between; align-items: end;
  gap: 1.5rem; margin-bottom: 2.5rem;
}
.section-header.centered { flex-direction: column; align-items: center; text-align: center; }
.section-header h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); margin: .35rem 0 0; letter-spacing: -0.02em; }
.section-sub { color: var(--slate-500); margin: .5rem 0 0; max-width: 560px; }
.section-dark .section-sub, .lead-light { color: rgba(255,255,255,0.7); }
.label {
  display: inline-block; font-size: .75rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--emerald-dark);
}
.label-gold { color: #b45309; }
.label-violet { color: var(--violet); }
.label-light { color: #6ee7b7; }
.text-link { color: var(--emerald-dark); font-weight: 600; }

/* Category grid */
.category-grid-premium { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 1rem; }
.category-card {
  display: flex; align-items: center; gap: 1rem;
  background: #fff; border: 1px solid var(--slate-200);
  border-radius: var(--radius); padding: 1.25rem;
  transition: .25s; box-shadow: var(--shadow);
}
.category-card:hover { transform: translateY(-3px); border-color: #6ee7b7; box-shadow: var(--shadow-lg); }
.category-card-icon { font-size: 2rem; width: 56px; text-align: center; }
.category-card h3 { margin: 0; font-size: 1rem; }
.category-card p { margin: .15rem 0 0; color: var(--slate-500); font-size: .88rem; }
.category-arrow { margin-left: auto; color: var(--emerald); font-weight: 700; }

/* Business cards v2 */
.featured-scroll {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 1.25rem;
}
.business-card-v2, .business-card, .coupon-card, .coupon-card-v2 {
  background: #fff; border: 1px solid var(--slate-200);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: .25s; position: relative; display: block;
}
.business-card-v2:hover, .business-card:hover, .coupon-card-v2:hover, .coupon-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #a7f3d0;
}
.business-card-v2.is-featured { border-color: #fcd34d; }
.card-badge, .badge {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  font-size: .7rem; font-weight: 700; text-transform: uppercase;
  padding: .3rem .65rem; border-radius: 999px;
}
.badge-gold, .card-badge.badge-gold { background: #fef3c7; color: #92400e; }
.badge-violet { background: #ede9fe; color: #5b21b6; }
.business-card-v2-top, .business-card-top { display: flex; gap: 1rem; padding: 1.25rem; }
.avatar, .mini-avatar, .table-avatar {
  width: 56px; height: 56px; border-radius: 14px; overflow: hidden; flex-shrink: 0;
  background: linear-gradient(135deg, var(--emerald), #14b8a6);
  color: #fff; display: grid; place-items: center; font-weight: 700;
}
.mini-avatar { width: 36px; height: 36px; border-radius: 10px; font-size: .75rem; }
.avatar img, .mini-avatar img { width: 100%; height: 100%; object-fit: cover; }
.business-card-v2 h3, .business-card h3 { margin: 0; font-size: 1.05rem; }
.meta, .tagline, .location { color: var(--slate-500); font-size: .88rem; margin: .15rem 0 0; }
.business-card-v2-foot, .business-card-foot {
  display: flex; justify-content: space-between; padding: .9rem 1.25rem;
  background: var(--slate-50); border-top: 1px solid var(--slate-100); font-size: .85rem;
}
.business-card-v2-foot .link, .business-card-foot .link { color: var(--emerald-dark); font-weight: 600; }

/* Coupon cards v2 */
.coupon-grid-premium, .coupon-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 1.25rem; }
.coupon-card-v2-image, .coupon-card-image { aspect-ratio: 16/10; position: relative; background: #ecfdf5; overflow: hidden; }
.coupon-card-v2-image img, .coupon-card-image img { width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.coupon-card-v2:hover img { transform: scale(1.05); }
.coupon-fallback {
  display: grid; place-items: center; height: 100%; min-height: 140px;
  font-size: 1.4rem; font-weight: 800; color: var(--emerald-dark);
  background: linear-gradient(135deg, #ecfdf5, #dbeafe);
}
.discount-pill, .discount-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--emerald); color: #fff; font-weight: 700;
  padding: .35rem .75rem; border-radius: 10px; font-size: .82rem;
}
.coupon-card-v2-body, .coupon-card-body { padding: 1.1rem; }
.coupon-card-v2-body h3, .coupon-card-body h3 { margin: 0 0 .75rem; font-size: 1rem; line-height: 1.35; }
.coupon-meta-row { display: flex; gap: .75rem; align-items: center; }
.coupon-meta-row p { margin: 0; font-weight: 600; font-size: .88rem; }
.coupon-meta-row small { color: var(--slate-500); }

/* Split / pricing / steps */
.split-premium { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.feature-list { list-style: none; padding: 0; margin: 1.5rem 0 2rem; }
.feature-list li { display: flex; gap: .75rem; margin-bottom: .75rem; color: rgba(255,255,255,0.85); }
.feature-list span { color: #6ee7b7; font-weight: 700; }
.pricing-stack { display: grid; gap: 1rem; }
.pricing-card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius); padding: 1.25rem;
}
.pricing-featured { background: rgba(16,185,129,0.15); border-color: rgba(110,231,183,0.3); }
.pricing-badge { font-size: .72rem; font-weight: 700; text-transform: uppercase; color: #6ee7b7; margin-bottom: .5rem; }
.steps-premium { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.step-card {
  background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow);
}
.step-num { font-size: 2rem; font-weight: 800; color: var(--emerald-light); line-height: 1; margin-bottom: .75rem; }
.step-card h3 { margin: 0 0 .5rem; }

/* Testimonials */
.testimonial-grid-premium { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 1.25rem; }
.testimonial-card {
  background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius);
  padding: 1.5rem; margin: 0; box-shadow: var(--shadow);
}
.quote-mark { font-size: 3rem; line-height: 1; color: var(--emerald-light); font-weight: 800; }
.testimonial-card p { color: var(--slate-700); margin: 0 0 1rem; }
.testimonial-card footer strong { display: block; }
.testimonial-card footer span { color: var(--slate-500); font-size: .88rem; }

/* CTA */
.cta-premium {
  padding: 5rem 0; background: linear-gradient(135deg, #022c22, #065f46);
  color: #fff; text-align: center;
}
.cta-premium-inner h2 { font-size: clamp(1.75rem, 3vw, 2.75rem); margin: 0 0 .75rem; letter-spacing: -0.02em; }
.cta-premium-inner p { color: rgba(255,255,255,0.75); margin: 0 0 2rem; font-size: 1.05rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }

/* Inner pages (keep compat) */
.page-hero { padding: 3rem 0 2rem; background: #fff; border-bottom: 1px solid var(--slate-200); }
.page-hero h1 { margin: 0; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.02em; }
.business-grid, .carousel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 1.25rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.form-card label { display: block; margin-bottom: 1rem; font-weight: 600; font-size: .92rem; }
.form-card input, .form-card textarea, .form-card select, .search-bar input, .filter-bar input {
  width: 100%; padding: .85rem 1rem; border: 1px solid var(--slate-200);
  border-radius: 12px; font: inherit; margin-top: .35rem;
}
.form-card { background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.alert, .alert-success, .alert-error { padding: .9rem 1rem; border-radius: 12px; margin-bottom: 1rem; }
.alert-success { background: #ecfdf5; color: #065f46; }
.alert-error, .alert.error { background: #fef2f2; color: #991b1b; }
.empty { text-align: center; padding: 3rem; color: var(--slate-500); border: 1px dashed var(--slate-200); border-radius: var(--radius); }
.business-banner { height: 280px; background: linear-gradient(135deg, #cbd5e1, #94a3b8); overflow: hidden; }
.business-banner img { width: 100%; height: 100%; object-fit: cover; }
.business-header { display: flex; gap: 1.25rem; align-items: end; margin-top: -3rem; position: relative; }
.avatar-lg { width: 96px; height: 96px; font-size: 1.4rem; border: 4px solid #fff; box-shadow: var(--shadow); }
.business-layout { display: grid; grid-template-columns: 1.5fr .8fr; gap: 2rem; margin-top: 2rem; }
.content-block { background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1.5rem; box-shadow: var(--shadow); }
.coupon-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 1rem; }
.info-card { background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius); padding: 1.25rem; box-shadow: var(--shadow); }
.chip-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.chip { padding: .45rem .9rem; border-radius: 999px; background: #fff; border: 1px solid var(--slate-200); font-size: .88rem; }
.chip.active { background: var(--emerald); color: #fff; border-color: var(--emerald); }
.search-bar, .filter-bar { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1rem; }

/* Scroll reveal */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1);
}
.reveal.is-visible { opacity: 1; transform: none; }
.hero-home .reveal,
.hero-home .reveal.is-visible { opacity: 1; transform: none; }

/* Stamp coupon cards — elegant clip & save */
.section-deals-popular {
  background: linear-gradient(180deg, #fff 0%, #f8fafc 50%, #f0fdf4 100%);
}
.stamp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 1.25rem;
  width: 100%;
  min-width: 0;
}
.stamp-grid-compact {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
  gap: 1rem;
}
.stamp-grid-elegant { gap: 1.35rem; }

.coupon-stamp {
  position: relative;
  min-width: 0;
  max-width: 100%;
}
.coupon-stamp-card .coupon-stamp-paper {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(15,23,42,.07);
  box-shadow: 0 1px 2px rgba(15,23,42,.04), 0 12px 32px rgba(15,23,42,.06);
  transition: transform .28s cubic-bezier(.22,1,.36,1), box-shadow .28s ease, border-color .28s;
}
.coupon-stamp-card:hover .coupon-stamp-paper {
  transform: translateY(-5px);
  box-shadow: 0 20px 48px rgba(15,23,42,.1), 0 0 0 1px rgba(16,185,129,.12);
  border-color: rgba(16,185,129,.2);
}
.coupon-stamp-link {
  position: absolute; inset: 0; z-index: 1;
}
.coupon-stamp-thumb {
  aspect-ratio: 2.2/1; overflow: hidden;
  background: linear-gradient(135deg, #ecfdf5, #f0fdf4);
}
.coupon-stamp-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
}
.coupon-stamp-card:hover .coupon-stamp-thumb img {
  transform: scale(1.04);
}
.coupon-stamp-top {
  display: flex; align-items: center; gap: .75rem;
  padding: 1rem 1.15rem .85rem;
}
.coupon-stamp-brand {
  width: 40px; height: 40px; border-radius: 11px; overflow: hidden; flex-shrink: 0;
  background: linear-gradient(135deg, var(--emerald), #14b8a6);
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: .78rem;
}
.coupon-stamp-brand img { width: 100%; height: 100%; object-fit: cover; }
.coupon-stamp-top-meta { min-width: 0; flex: 1; }
.coupon-stamp-business {
  margin: 0; font-weight: 700; font-size: .86rem; color: var(--slate-900);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.coupon-stamp-cat {
  margin: .12rem 0 0; font-size: .72rem; color: var(--slate-500); font-weight: 500;
}
.coupon-stamp-divider {
  height: 1px; margin: 0 1.15rem;
  background: repeating-linear-gradient(90deg, var(--slate-200) 0 6px, transparent 6px 12px);
  position: relative;
}
.coupon-stamp-divider::before,
.coupon-stamp-divider::after {
  content: ''; position: absolute; top: 50%; width: 10px; height: 10px;
  background: var(--slate-50); border-radius: 50%;
  transform: translateY(-50%);
  box-shadow: inset 0 0 0 1px var(--slate-200);
}
.section-deals-popular .coupon-stamp-divider::before,
.section-deals-popular .coupon-stamp-divider::after { background: #f8fafc; }
.coupon-stamp-divider::before { left: -1.35rem; }
.coupon-stamp-divider::after { right: -1.35rem; }
.coupon-stamp-offer {
  padding: 1rem 1.15rem .75rem; text-align: center;
}
.coupon-stamp-label {
  display: inline-block; font-size: .62rem; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--emerald-dark); margin-bottom: .35rem;
}
.coupon-stamp-value {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem); font-weight: 800;
  letter-spacing: -.03em; line-height: 1.05;
  color: var(--slate-900);
}
.coupon-stamp-title {
  margin: .45rem 0 0; font-size: .92rem; font-weight: 600;
  color: var(--slate-600); line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.coupon-stamp-details {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: .5rem; padding: 0 1.15rem .85rem;
}
.coupon-stamp-code-pill {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .35rem .75rem; border-radius: 999px;
  background: var(--slate-50); border: 1px solid var(--slate-200);
  font-size: .78rem;
}
.coupon-stamp-code-pill span {
  font-weight: 700; color: var(--slate-500); text-transform: uppercase;
  font-size: .62rem; letter-spacing: .06em;
}
.coupon-stamp-code-pill code {
  font-family: ui-monospace, monospace; font-weight: 800;
  font-size: .82rem; color: var(--slate-900); letter-spacing: .06em;
}
.coupon-stamp-code-pill.is-locked {
  background: var(--slate-100); border-style: dashed; color: var(--slate-500);
}
.coupon-stamp-code-pill.is-locked .coupon-stamp-code-revealed { display: none; }
.coupon-stamp-code-pill:not(.is-locked) .coupon-code-mask { display: none; }
.coupon-stamp-code-revealed {
  display: inline-flex; align-items: center; gap: .45rem;
}
.coupon-code-mask {
  font-size: .72rem; font-weight: 700; letter-spacing: .02em;
}
.coupon-stamp-exp-chip {
  font-size: .72rem; font-weight: 600; color: var(--slate-500);
  padding: .35rem .65rem; border-radius: 999px; background: var(--slate-50);
}
.coupon-stamp-exp-chip.is-soon {
  background: #fef2f2; color: #dc2626;
}
.coupon-stamp-foot {
  padding: 0 1.15rem 1.15rem;
  position: relative; z-index: 2;
}
.coupon-stamp-clip {
  display: flex; align-items: center; justify-content: center; gap: .45rem;
  width: 100%; padding: .72rem 1rem; border: 0; border-radius: 12px;
  background: linear-gradient(135deg, var(--emerald), #059669);
  color: #fff; font-weight: 700; font-size: .84rem; letter-spacing: .02em;
  cursor: pointer; transition: transform .2s, box-shadow .2s, opacity .2s;
  box-shadow: 0 4px 16px rgba(16,185,129,.28);
}
.coupon-stamp-clip:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(16,185,129,.35);
}
.coupon-stamp-clip.is-clipped {
  background: var(--slate-700);
  box-shadow: none;
  pointer-events: none;
}

/* Clipped overlay */
.coupon-stamp-ink {
  position: absolute; inset: 0; display: grid; place-items: center;
  pointer-events: none; opacity: 0; z-index: 5;
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(2px);
}
.coupon-stamp-ink span {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .45rem 1rem; border-radius: 999px;
  background: var(--emerald-dark); color: #fff;
  font-weight: 800; font-size: .78rem; letter-spacing: .08em;
  text-transform: uppercase;
  transform: scale(.85); opacity: 0;
}
.coupon-stamp.is-clipped .coupon-stamp-ink { opacity: 1; }
.coupon-stamp.is-clipped .coupon-stamp-ink span {
  animation: stampPop .35s cubic-bezier(.22,1,.36,1) forwards;
}
@keyframes stampPop {
  0% { transform: scale(.7); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* Legacy / detail page (xl) — keep edge + old layout hooks */
.coupon-stamp:not(.coupon-stamp-card) .coupon-stamp-paper,
.coupon-stamp-xl .coupon-stamp-paper {
  position: relative; background: #fffef8;
  border-radius: 18px; overflow: hidden;
  box-shadow: 0 4px 6px rgba(15,23,42,.04), 0 20px 40px rgba(15,23,42,.08);
  border: 1px solid rgba(0,0,0,.06);
}
.coupon-stamp-edge {
  position: absolute; left: 0; top: 0; bottom: 0; width: 10px;
  background: repeating-linear-gradient(180deg, var(--emerald) 0 6px, #059669 6px 12px);
}
.coupon-stamp-header {
  display: grid; grid-template-columns: auto 1fr auto; gap: .75rem; align-items: center;
  padding: 1rem 1rem 1rem 1.35rem;
  background: linear-gradient(180deg, #fff 0%, #fafaf5 100%);
}
.coupon-stamp-badge {
  font-size: .62rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  padding: .28rem .5rem; border-radius: 6px;
  background: var(--emerald-light); color: var(--emerald-dark);
  border: 1px solid #a7f3d0;
}
.coupon-stamp-perforation {
  height: 14px; margin: 0 1rem;
  background:
    radial-gradient(circle at 10px 7px, var(--slate-50) 5px, transparent 5px) 0 0 / 20px 14px repeat-x,
    linear-gradient(180deg, #f1f5f9, #e2e8f0);
  border-top: 2px dashed #cbd5e1;
  border-bottom: 2px dashed #cbd5e1;
}
.coupon-stamp-body { padding: 1.25rem 1.35rem 1rem 1.5rem; text-align: center; }
.coupon-stamp-code-wrap {
  margin-top: 1rem; padding: .65rem 1rem;
  background: #f8fafc; border: 2px dashed #cbd5e1; border-radius: 12px;
}
.coupon-stamp-code-label {
  display: block; font-size: .65rem; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: var(--slate-500); margin-bottom: .25rem;
}
.coupon-stamp-code {
  font-size: 1.15rem; font-weight: 800; letter-spacing: .12em;
  color: var(--slate-900); font-family: ui-monospace, monospace;
}
.coupon-stamp-exp {
  margin: .85rem 0 0; font-size: .78rem; font-weight: 600; color: var(--slate-500);
}
.coupon-stamp-view { font-size: .78rem; font-weight: 700; color: var(--emerald-dark); }
.coupon-stamp-savings {
  display: inline-block; margin-bottom: .5rem; padding: .25rem .65rem;
  background: var(--emerald-light); color: var(--emerald-dark);
  border-radius: 999px; font-size: .72rem; font-weight: 800; text-transform: uppercase;
}
.coupon-stamp-exp.is-soon { color: #dc2626; font-weight: 800; }

/* === Homepage === */
.hero-home {
  position: relative; color: #fff; overflow: hidden;
  padding: 3.5rem 0 0;
}
.hero-home-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(160deg, #0c4a3e 0%, #065f46 45%, #047857 70%, #064e3b 100%);
  background-size: 200% 200%;
  animation: heroMesh 18s ease-in-out infinite alternate;
}
@keyframes heroMesh {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}
.hero-home-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 85% 15%, rgba(110,231,183,.22), transparent 45%),
    radial-gradient(circle at 10% 80%, rgba(20,184,166,.15), transparent 40%);
}
.hero-coupon-float {
  position: absolute; pointer-events: none; z-index: 0;
  width: 88px; height: 52px; border-radius: 8px;
  background: rgba(255,255,255,.06);
  border: 1.5px dashed rgba(255,255,255,.18);
  will-change: transform;
  animation: couponFloat 8s ease-in-out infinite;
}
.hero-coupon-float::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 8px;
  background: rgba(110,231,183,.35); border-radius: 8px 0 0 8px;
}
.hero-coupon-float-1 { top: 18%; left: 8%; animation-delay: 0s; transform: rotate(-12deg); }
.hero-coupon-float-2 { top: 55%; right: 6%; width: 72px; height: 44px; animation-delay: -3s; transform: rotate(8deg); opacity: .7; }
.hero-coupon-float-3 { bottom: 22%; left: 42%; width: 64px; height: 40px; animation-delay: -5s; transform: rotate(-5deg); opacity: .5; }
@keyframes couponFloat {
  0%, 100% { transform: translateY(0) rotate(var(--r, -12deg)); }
  50% { transform: translateY(-14px) rotate(var(--r, -12deg)); }
}
.hero-coupon-float-1 { --r: -12deg; }
.hero-coupon-float-2 { --r: 8deg; }
.hero-coupon-float-3 { --r: -5deg; }
.hero-home-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr minmax(300px, 440px);
  gap: 2.5rem; align-items: center;
  padding-bottom: 2.5rem;
}
.hero-eyebrow {
  margin: 0 0 .75rem; font-size: .78rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.65);
}
.hero-home-copy h1 {
  margin: 0 0 1rem; font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.08; letter-spacing: -.03em; font-weight: 800;
}
.hero-accent { color: #6ee7b7; }
.hero-lead {
  margin: 0; max-width: 480px; font-size: 1.05rem;
  color: rgba(255,255,255,.82); line-height: 1.55;
}
.hero-search-bar {
  display: flex; align-items: center; gap: .65rem;
  margin: 1.75rem 0 1.25rem; max-width: 480px;
  background: #fff; border-radius: 14px; padding: .45rem .45rem .45rem 1rem;
  box-shadow: 0 12px 32px rgba(0,0,0,.15);
}
.hero-search-bar svg { color: var(--slate-400); flex-shrink: 0; }
.hero-search-bar input {
  flex: 1; border: 0; background: transparent; font: inherit;
  font-size: .95rem; outline: none; color: var(--slate-900); min-width: 0;
}
.hero-search-bar .btn { flex-shrink: 0; padding: .65rem 1.1rem; border-radius: 10px; }
.hero-home-actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.btn-ghost-light {
  display: inline-flex; align-items: center; padding: .75rem 1.15rem;
  border-radius: 12px; font-weight: 600; font-size: .92rem;
  color: rgba(255,255,255,.9); border: 1px solid rgba(255,255,255,.25);
  transition: .2s;
}
.btn-ghost-light:hover { background: rgba(255,255,255,.1); color: #fff; }
.hero-home-deal { position: relative; width: 100%; }

/* Deal carousel — premium hero showcase */
.deal-carousel { width: 100%; max-width: 420px; margin: 0 auto; }
.deal-carousel-premium {
  position: relative;
  padding: 12px 8px 0;
}
.deal-carousel-premium::before,
.deal-carousel-premium::after {
  content: ''; position: absolute; z-index: 0;
  width: calc(100% - 24px); height: calc(100% - 20px);
  border-radius: 22px; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  top: 4px; left: 50%; transform: translateX(-50%) rotate(-3deg);
}
.deal-carousel-premium::after {
  transform: translateX(-50%) rotate(2.5deg);
  top: 8px; opacity: .6;
}
.deal-carousel-viewport {
  position: relative; z-index: 1;
  width: 100%; overflow: hidden; border-radius: 24px;
  background: transparent;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.15),
    0 32px 64px rgba(0,0,0,.28),
    0 0 80px rgba(16,185,129,.15);
  animation: dealHeroFloat 6s ease-in-out infinite;
}
@keyframes dealHeroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.deal-carousel-track {
  display: flex; flex-wrap: nowrap;
  transition: transform .5s cubic-bezier(.22,1,.36,1);
}
.deal-card {
  flex: 0 0 100%; flex-shrink: 0;
  width: 100%; min-width: 100%; max-width: 100%;
  position: relative; box-sizing: border-box;
  color: var(--slate-900);
}
.deal-card-hero {
  background: #fffef8;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}
.deal-card-foil {
  position: absolute; left: 0; top: 0; bottom: 0; width: 10px; z-index: 4;
  background: repeating-linear-gradient(180deg, #fbbf24 0 6px, #f59e0b 6px 12px);
  border-radius: 24px 0 0 24px;
}
.deal-card-link { position: absolute; inset: 0; z-index: 5; border-radius: 24px; }
.deal-card-badge {
  position: absolute; top: 1rem; right: 1rem; z-index: 6;
  padding: .35rem .75rem; border-radius: 999px;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: #92400e;
  font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(245,158,11,.25);
}
.deal-card-badge-shimmer {
  background-size: 200% auto;
  animation: badgeShimmer 3s ease-in-out infinite;
}
@keyframes badgeShimmer {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}
.deal-card-hero-image {
  position: relative; aspect-ratio: 16/9; overflow: hidden;
  margin-left: 10px;
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
}
.deal-card-hero-image img {
  width: 100%; height: 100%; object-fit: cover;
}
.deal-card-hero-image::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, #fffef8 100%);
}
.deal-card-hero-body {
  padding: 1.15rem 1.35rem 1.35rem 1.5rem;
}
.deal-card-top { display: flex; align-items: center; gap: .75rem; margin-bottom: .85rem; }
.deal-card-logo {
  width: 48px; height: 48px; border-radius: 14px; overflow: hidden; flex-shrink: 0;
  background: linear-gradient(135deg, var(--emerald), #14b8a6);
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: .85rem;
  box-shadow: 0 4px 14px rgba(16,185,129,.3);
}
.deal-card-logo img { width: 100%; height: 100%; object-fit: cover; }
.deal-card-meta p { margin: 0; font-weight: 800; font-size: .92rem; line-height: 1.3; }
.deal-card-meta span { font-size: .75rem; color: var(--slate-500); font-weight: 600; }
.deal-card-perforation {
  height: 10px; margin: 0 0 .75rem;
  background:
    radial-gradient(circle at 8px 5px, #fffef8 4px, transparent 4px) 0 0 / 16px 10px repeat-x,
    linear-gradient(180deg, #f1f5f9, #e2e8f0);
  border-top: 2px dashed #cbd5e1;
}
.deal-card-save-label {
  display: block; font-size: .65rem; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--emerald-dark); margin-bottom: .15rem;
}
.deal-card-value {
  font-size: 2rem; font-weight: 900; letter-spacing: -.03em;
  color: var(--emerald-dark); line-height: 1.05;
  font-family: Georgia, 'Times New Roman', serif;
}
.deal-card-hero-value {
  font-size: clamp(2.25rem, 5vw, 3rem);
  background: linear-gradient(135deg, var(--emerald-dark), #14b8a6);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.deal-card-title {
  margin: .5rem 0 0; font-size: .95rem; font-weight: 700;
  color: var(--slate-700); line-height: 1.4;
}
.deal-card-code {
  display: inline-block; margin-top: .75rem; padding: .45rem .85rem;
  background: var(--slate-50); border: 1.5px dashed var(--slate-200);
  border-radius: 10px; font-size: .88rem; font-weight: 800;
  letter-spacing: .08em; font-family: ui-monospace, monospace;
}
.deal-card-code.is-locked {
  font-family: Inter, system-ui, sans-serif; font-weight: 600;
  font-size: .72rem; letter-spacing: .02em; color: var(--slate-500);
}
.deal-card-exp-chip {
  display: inline-block; margin-top: .65rem; padding: .28rem .65rem;
  border-radius: 999px; font-size: .72rem; font-weight: 700;
  background: var(--slate-100); color: var(--slate-600);
}
.deal-card-exp-chip.is-soon {
  background: #fef2f2; color: #dc2626;
}
.deal-card-hero-clip {
  position: relative; z-index: 6;
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  margin-top: 1.1rem; padding: .85rem 1.25rem; width: 100%;
  border-radius: 14px; border: 0;
  background: linear-gradient(135deg, var(--emerald), #059669);
  color: #fff; font-weight: 800; font-size: .88rem;
  box-shadow: 0 8px 24px rgba(16,185,129,.4);
  transition: transform .2s, box-shadow .2s;
  pointer-events: none;
}
.deal-card-hero:hover .deal-card-hero-clip {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(16,185,129,.5);
}
.deal-card-scissors { flex-shrink: 0; }
.deal-carousel-nav {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: center; gap: .85rem;
  margin-top: 1.25rem;
}
.deal-nav-btn {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.12); color: #fff; font-size: 1.2rem;
  cursor: pointer; line-height: 1; transition: .2s;
}
.deal-nav-btn:hover { background: rgba(255,255,255,.22); }
.deal-nav-dots { display: flex; gap: .4rem; }
.deal-dot {
  width: 7px; height: 7px; border-radius: 50%; border: 0; padding: 0;
  background: rgba(255,255,255,.35); cursor: pointer; transition: .25s;
}
.deal-dot.is-active { width: 22px; border-radius: 999px; background: #fff; }

.hero-stats {
  position: relative; z-index: 1;
  background: rgba(0,0,0,.15);
  border-top: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(8px);
  animation: fadeUp .6s ease-out both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
.hero-stats-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.hero-stat-box {
  padding: 1.35rem 1rem; text-align: center;
  border-right: 1px solid rgba(255,255,255,.08);
  animation: fadeUp .6s ease-out both;
}
.hero-stat-box:nth-child(2) { animation-delay: .08s; }
.hero-stat-box:nth-child(3) { animation-delay: .16s; }
.hero-stat-box:last-child { border-right: 0; }
.hero-stat-num {
  display: block; font-size: 1.75rem; font-weight: 800;
  letter-spacing: -.02em; line-height: 1.2;
}
.hero-stat-label {
  display: block; margin-top: .15rem;
  font-size: .78rem; font-weight: 600; color: rgba(255,255,255,.65);
  text-transform: uppercase; letter-spacing: .06em;
}

/* Section system (homepage) */
.section-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 1rem; margin-bottom: 2rem;
}
.section-head-center { flex-direction: column; align-items: center; text-align: center; }
.section-eyebrow {
  margin: 0 0 .35rem; font-size: .72rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase; color: var(--emerald-dark);
}
.section-eyebrow-light { color: #6ee7b7; }
.section-head h2 {
  margin: 0; font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -.02em; font-weight: 800;
}
.section-desc { margin: .5rem 0 0; color: var(--slate-500); font-size: .95rem; max-width: 420px; }

/* Partners — lazy paint below fold */
.section-partners {
  background: #fff;
  content-visibility: auto;
  contain-intrinsic-size: auto 500px;
}
.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 1.25rem;
}
.partner-card {
  position: relative; background: #fff;
  border: 1px solid var(--slate-200); border-radius: var(--radius-lg);
  overflow: hidden; transition: .25s ease;
  box-shadow: 0 2px 8px rgba(15,23,42,.04);
}
.partner-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(15,23,42,.1);
  border-color: #a7f3d0;
}
.partner-card-link { position: absolute; inset: 0; z-index: 2; }
.partner-card-head {
  height: 72px; background: linear-gradient(135deg, #ecfdf5, #d1fae5);
  background-size: cover; background-position: center;
  position: relative;
}
.partner-badge {
  position: absolute; top: .65rem; left: .65rem;
  padding: .28rem .6rem; border-radius: 999px;
  background: #fff; font-size: .65rem; font-weight: 800;
  letter-spacing: .05em; text-transform: uppercase; color: var(--emerald-dark);
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.partner-badge-gold { color: #92400e; }
.partner-card-body { padding: 0 1.15rem 1.15rem; margin-top: -28px; position: relative; }
.partner-logo {
  width: 56px; height: 56px; border-radius: 16px; overflow: hidden;
  border: 3px solid #fff; box-shadow: 0 4px 12px rgba(0,0,0,.1);
  background: linear-gradient(135deg, var(--emerald), #14b8a6);
  display: grid; place-items: center; color: #fff; font-weight: 800;
  margin-bottom: .75rem;
}
.partner-logo img { width: 100%; height: 100%; object-fit: cover; }
.partner-card-body h3 {
  margin: 0; font-size: 1.05rem; font-weight: 800; letter-spacing: -.01em;
}
.partner-tagline {
  margin: .35rem 0 0; font-size: .85rem; color: var(--slate-500); line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.partner-details {
  display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .65rem;
}
.partner-details span {
  font-size: .72rem; font-weight: 600; color: var(--slate-500);
  padding: .25rem .55rem; border-radius: 999px; background: var(--slate-50);
}
.partner-foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 1rem; padding-top: .85rem; border-top: 1px solid var(--slate-100);
}
.partner-stat strong { display: block; font-size: 1.1rem; font-weight: 800; }
.partner-stat span { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--slate-400); }
.partner-cta { font-size: .82rem; font-weight: 800; color: var(--emerald-dark); }

/* Categories — card grid with SVG icons */
.section-categories {
  background: var(--slate-50);
  content-visibility: auto;
  contain-intrinsic-size: auto 400px;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.category-grid-page { padding-top: 0; }
.cat-card {
  position: relative; display: flex; align-items: center; gap: 1rem;
  padding: 1.15rem 1.25rem; background: #fff;
  border: 1px solid var(--slate-200); border-radius: var(--radius-lg);
  overflow: hidden; text-decoration: none; color: var(--slate-900);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  box-shadow: 0 2px 8px rgba(15,23,42,.04);
  transition-delay: calc(var(--reveal-i, 0) * 0.05s);
}
.cat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(15,23,42,.08);
  border-color: var(--cat-accent, var(--emerald));
}
.cat-card-accent {
  position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--cat-accent, var(--emerald));
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}
.cat-card-icon {
  width: 48px; height: 48px; border-radius: 14px; flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--emerald-light);
  color: var(--cat-accent, var(--emerald));
}
.cat-card-icon svg { display: block; }
.cat-card-body { flex: 1; min-width: 0; }
.cat-card-body strong { display: block; font-size: .95rem; font-weight: 800; line-height: 1.3; }
.cat-card-count {
  display: inline-block; margin-top: .25rem;
  font-size: .75rem; font-weight: 600; color: var(--slate-500);
  padding: .2rem .55rem; border-radius: 999px; background: var(--slate-50);
}
.cat-card-arrow { color: var(--slate-400); flex-shrink: 0; transition: transform .2s, color .2s; }
.cat-card:hover .cat-card-arrow { color: var(--cat-accent, var(--emerald)); transform: translateX(3px); }

/* Deals sections */
.section-deals {
  background: #fff;
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
}
.section-deals-alt { background: var(--slate-50); }

/* Steps */
.section-steps { background: var(--slate-50); padding: 3.5rem 0; }
.steps-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.step-item {
  text-align: center; padding: 1.5rem 1rem;
  background: #fff; border-radius: var(--radius);
  border: 1px solid var(--slate-200);
}
.step-icon {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--emerald); color: #fff;
  font-weight: 800; font-size: .9rem; margin-bottom: .85rem;
}
.step-item h3 { margin: 0 0 .35rem; font-size: 1rem; font-weight: 800; }
.step-item p { margin: 0; font-size: .88rem; color: var(--slate-500); line-height: 1.5; }

/* Advertise panel */
.section-advertise { padding: 3.5rem 0; }
.advertise-panel {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: center;
  background: linear-gradient(135deg, #0f172a, #134e4a);
  color: #fff; border-radius: var(--radius-lg); padding: 2.5rem;
}
.advertise-copy h2 { margin: 0 0 .65rem; font-size: 1.75rem; letter-spacing: -.02em; }
.advertise-copy p { margin: 0 0 1.25rem; color: rgba(255,255,255,.75); max-width: 400px; }
.advertise-perks {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: .65rem;
}
.advertise-perks li {
  padding: .75rem 1rem; border-radius: 12px;
  background: rgba(255,255,255,.08); font-size: .9rem; font-weight: 600;
  border: 1px solid rgba(255,255,255,.1);
}
.advertise-perks li::before { content: '✓ '; color: #6ee7b7; font-weight: 800; }

/* Testimonials */
.section-testimonials { background: #fff; padding: 3.5rem 0; }
.testimonial-row {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 1.25rem;
}
.testimonial-item {
  margin: 0; padding: 1.5rem; background: var(--slate-50);
  border-radius: var(--radius); border: 1px solid var(--slate-200);
}
.testimonial-item p { margin: 0 0 1rem; font-size: .95rem; line-height: 1.6; color: var(--slate-700); }
.testimonial-item footer strong { display: block; font-size: .88rem; }
.testimonial-item footer span { font-size: .78rem; color: var(--slate-500); }

/* CTA bar */
.cta-bar {
  background: var(--emerald); color: #fff; padding: 3rem 0;
}
.cta-bar-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
}
.cta-bar h2 { margin: 0; font-size: clamp(1.35rem, 3vw, 1.75rem); letter-spacing: -.02em; }

/* Coupon detail page */
.coupon-detail-hero {
  position: relative; padding: 1.25rem 0 0;
  background: linear-gradient(165deg, #0f172a 0%, #134e4a 55%, #065f46 100%);
}
.coupon-detail-hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(110,231,183,.18), transparent 55%),
    radial-gradient(ellipse at 80% 100%, rgba(16,185,129,.12), transparent 45%);
}
.coupon-detail-hero-inner { position: relative; }
.coupon-detail-crumb {
  display: flex; align-items: center; flex-wrap: wrap; gap: .45rem;
  font-size: .84rem; font-weight: 600; padding-bottom: 1.35rem;
}
.coupon-detail-crumb a {
  color: rgba(255,255,255,.82); transition: color .2s;
}
.coupon-detail-crumb a:hover { color: #6ee7b7; }
.coupon-detail-crumb span { color: rgba(255,255,255,.35); }

.coupon-detail-main {
  margin-top: -.5rem; padding-top: 0; padding-bottom: 4rem;
}
.coupon-detail-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) 340px;
  gap: 2rem; align-items: start;
}

/* Premium ticket */
.coupon-ticket {
  position: relative; max-width: 640px;
}
.coupon-ticket-stack {
  position: absolute; inset: 12px 8px -10px 8px; z-index: 0;
  background: #fff; border-radius: 22px;
  border: 1px solid rgba(15,23,42,.06);
  box-shadow: 0 8px 24px rgba(15,23,42,.06);
  transform: rotate(-.6deg);
}
.coupon-ticket-paper {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 52px 1fr;
  background:
    linear-gradient(180deg, rgba(255,255,255,.97), rgba(255,254,248,.99)),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.025'/%3E%3C/svg%3E");
  border-radius: 22px; overflow: hidden;
  border: 1px solid rgba(15,23,42,.08);
  box-shadow:
    0 1px 2px rgba(15,23,42,.04),
    0 24px 56px rgba(15,23,42,.12),
    inset 0 1px 0 rgba(255,255,255,.9);
}
.coupon-ticket-stub {
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  padding: 1.25rem .35rem 1rem;
  background: linear-gradient(180deg, #ecfdf5, #d1fae5);
  border-right: 1px dashed rgba(5,150,105,.35);
}
.coupon-ticket-barcode {
  width: 28px; height: 72px; flex-shrink: 0;
  background: repeating-linear-gradient(
    180deg,
    #0f172a 0 2px, transparent 2px 4px,
    #0f172a 4px 5px, transparent 5px 7px,
    #0f172a 7px 9px, transparent 9px 11px
  );
  opacity: .75; border-radius: 2px;
}
.coupon-ticket-stub-label {
  font-size: .58rem; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; text-align: center; line-height: 1.35;
  color: var(--emerald-dark); writing-mode: vertical-rl;
  transform: rotate(180deg); margin: .5rem 0;
}
.coupon-ticket-serial {
  font-family: ui-monospace, monospace; font-size: .52rem; font-weight: 700;
  letter-spacing: .06em; color: var(--emerald-dark); opacity: .65;
  writing-mode: vertical-rl; transform: rotate(180deg);
}
.coupon-ticket-perforation {
  position: absolute; left: 52px; top: 0; bottom: 0; width: 14px;
  transform: translateX(-50%); z-index: 3; pointer-events: none;
  background:
    radial-gradient(circle at 7px 12px, var(--surface-0) 5px, transparent 5px) 0 0 / 14px 24px repeat-y;
}
.coupon-ticket-main {
  position: relative; min-width: 0;
}

.coupon-ticket-head {
  display: grid; grid-template-columns: auto 1fr auto; gap: .85rem; align-items: center;
  padding: 1.15rem 1.35rem 1rem;
}
.coupon-ticket-brand {
  width: 48px; height: 48px; border-radius: 14px; overflow: hidden; flex-shrink: 0;
  background: linear-gradient(135deg, var(--emerald), #14b8a6);
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: .85rem;
  box-shadow: 0 4px 12px rgba(16,185,129,.25);
  transition: transform .2s;
}
.coupon-ticket-brand:hover { transform: scale(1.04); }
.coupon-ticket-brand img { width: 100%; height: 100%; object-fit: cover; }
.coupon-ticket-head-meta { min-width: 0; }
.coupon-ticket-business {
  display: block; margin: 0; font-weight: 800; font-size: .95rem;
  color: var(--slate-900); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.coupon-ticket-business:hover { color: var(--emerald-dark); }
.coupon-ticket-cat {
  margin: .15rem 0 0; font-size: .78rem; color: var(--slate-500); font-weight: 500;
}
.coupon-ticket-verified {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .32rem .55rem; border-radius: 999px;
  background: var(--emerald-light); color: var(--emerald-dark);
  font-size: .62rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  border: 1px solid #a7f3d0; white-space: nowrap;
}

.coupon-ticket-banner {
  margin: 0 1.35rem .5rem; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--slate-200); aspect-ratio: 2.4/1;
}
.coupon-ticket-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }

.coupon-ticket-divider {
  height: 1px; margin: 0 1.35rem;
  background: repeating-linear-gradient(90deg, var(--slate-200) 0 5px, transparent 5px 10px);
  position: relative;
}
.coupon-ticket-divider::before,
.coupon-ticket-divider::after {
  content: ''; position: absolute; top: 50%; width: 12px; height: 12px;
  background: var(--surface-0); border-radius: 50%; transform: translateY(-50%);
  box-shadow: inset 0 0 0 1px var(--slate-200);
}
.coupon-ticket-divider::before { left: -1.55rem; }
.coupon-ticket-divider::after { right: -1.55rem; }

.coupon-ticket-offer {
  padding: 1.35rem 1.35rem 1rem; text-align: center;
}
.coupon-ticket-eyebrow {
  display: inline-block; margin-bottom: .5rem;
  font-size: .62rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--emerald-dark);
}
.coupon-ticket-value {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 7vw, 3.75rem); font-weight: 800;
  letter-spacing: -.04em; line-height: 1;
  color: var(--slate-900);
  text-shadow: 0 1px 0 rgba(255,255,255,.8);
}
.coupon-ticket-title {
  margin: .55rem 0 0; font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.5vw, 1.45rem); font-weight: 700;
  letter-spacing: -.02em; line-height: 1.25; color: var(--slate-800);
}
.coupon-ticket-desc {
  margin: .85rem 0 0; font-size: .92rem; color: var(--slate-600);
  line-height: 1.6; text-align: center; max-width: 420px; margin-inline: auto;
}

.coupon-ticket-meta { padding: 0 1.35rem 1rem; }
.coupon-ticket-code {
  display: flex; align-items: stretch; gap: 0;
  border-radius: 14px; overflow: hidden;
  border: 2px dashed #cbd5e1; background: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}
.coupon-ticket-code-inner {
  flex: 1; padding: .85rem 1rem; text-align: center;
}
.coupon-ticket-code-label {
  display: block; font-size: .62rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase; color: var(--slate-500);
  margin-bottom: .25rem;
}
.coupon-ticket-code-val {
  font-family: ui-monospace, monospace; font-size: clamp(1.25rem, 3vw, 1.65rem);
  font-weight: 800; letter-spacing: .14em; color: var(--slate-900);
}
.coupon-ticket-code.is-locked .coupon-ticket-code-inner { padding: 1rem; }
.coupon-ticket-code.is-locked .coupon-ticket-code-copy { display: none; }
.coupon-ticket-code:not(.is-locked) .coupon-ticket-code-mask { display: none; }
.coupon-ticket-code-mask {
  display: flex; align-items: center; justify-content: center; gap: .4rem;
  padding: .35rem 0; font-size: .82rem; font-weight: 600; color: var(--slate-500);
}
.coupon-ticket-code-copy {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .2rem;
  padding: .65rem .85rem; border: 0; border-left: 2px dashed #cbd5e1;
  background: var(--slate-50); color: var(--slate-700);
  font-size: .72rem; font-weight: 700; cursor: pointer;
  transition: background .2s, color .2s;
}
.coupon-ticket-code-copy:hover { background: var(--emerald-light); color: var(--emerald-dark); }

.coupon-ticket-chips {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .45rem;
  margin-top: .85rem;
}
.coupon-ticket-chip {
  font-size: .72rem; font-weight: 600; padding: .35rem .7rem;
  border-radius: 999px; background: var(--slate-50); color: var(--slate-600);
  border: 1px solid var(--slate-200);
}
.coupon-ticket-chip.is-urgent {
  background: #fef2f2; color: #dc2626; border-color: #fecaca; font-weight: 700;
}
.coupon-ticket-chip.is-popular {
  background: var(--emerald-light); color: var(--emerald-dark); border-color: #a7f3d0;
}

.coupon-ticket-foot {
  padding: .25rem 1.35rem 1.35rem; text-align: center;
  position: relative; z-index: 2;
}
.coupon-ticket-clip {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  width: 100%; padding: 1rem 1.5rem; border: 0; border-radius: 14px;
  background: linear-gradient(135deg, var(--emerald), #059669);
  color: #fff; font-weight: 800; font-size: 1rem; letter-spacing: .02em;
  cursor: pointer; transition: transform .2s, box-shadow .2s;
  box-shadow: 0 6px 24px rgba(16,185,129,.35);
}
.coupon-ticket-clip:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(16,185,129,.42);
}
.coupon-ticket-clip.is-clipped {
  background: var(--slate-700); box-shadow: none; pointer-events: none;
}
.coupon-ticket-hint {
  margin: .75rem 0 0; font-size: .78rem; color: var(--slate-500); line-height: 1.45;
}

.coupon-ticket .coupon-stamp-ink span {
  font-size: .82rem; padding: .55rem 1.15rem;
}

.coupon-detail-terms {
  margin-top: 1.25rem; max-width: 640px;
  background: #fff; border: 1px solid var(--slate-200);
  border-radius: var(--radius); overflow: hidden;
}
.coupon-detail-terms summary {
  padding: .9rem 1.15rem; font-weight: 700; font-size: .88rem;
  cursor: pointer; color: var(--slate-700); list-style: none;
  display: flex; align-items: center; justify-content: space-between;
}
.coupon-detail-terms summary::-webkit-details-marker { display: none; }
.coupon-detail-terms summary::after {
  content: '+'; font-size: 1.1rem; color: var(--slate-400); font-weight: 400;
}
.coupon-detail-terms[open] summary::after { content: '−'; }
.coupon-detail-terms p {
  margin: 0; padding: 0 1.15rem 1rem;
  font-size: .85rem; color: var(--slate-600); line-height: 1.6;
  border-top: 1px solid var(--slate-100);
}

.coupon-detail-share {
  display: flex; align-items: center; flex-wrap: wrap; gap: .75rem 1rem;
  margin-top: 1.25rem; max-width: 640px;
}
.coupon-detail-share-label {
  font-size: .78rem; font-weight: 700; color: var(--slate-500);
  text-transform: uppercase; letter-spacing: .06em;
}
.coupon-detail-share-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.coupon-share-btn {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .5rem .85rem; border-radius: 10px;
  border: 1px solid var(--slate-200); background: #fff;
  font-size: .82rem; font-weight: 600; color: var(--slate-700);
  cursor: pointer; transition: border-color .2s, background .2s, color .2s;
}
.coupon-share-btn:hover {
  border-color: var(--emerald); background: var(--emerald-light); color: var(--emerald-dark);
}

.coupon-detail-promote {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  margin-top: 1.5rem; max-width: 640px; padding: 1.15rem 1.25rem;
  border-radius: var(--radius); border: 1px solid #a7f3d0;
  background: linear-gradient(135deg, #ecfdf5, #f0fdf4);
}
.coupon-detail-promote-copy strong { display: block; font-size: .92rem; color: var(--slate-800); }
.coupon-detail-promote-copy p { margin: .2rem 0 0; font-size: .82rem; color: var(--slate-600); }

/* Sidebar */
.coupon-detail-aside { display: flex; flex-direction: column; gap: 1.15rem; }
.coupon-redeem-card,
.coupon-redeem-steps,
.coupon-related-card {
  background: #fff; border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200); padding: 1.35rem;
  box-shadow: var(--shadow);
}
.coupon-redeem-card h2,
.coupon-redeem-steps h2,
.coupon-related-card h2 {
  margin: 0 0 1rem; font-size: .72rem; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase; color: var(--slate-500);
}
.coupon-redeem-biz {
  display: flex; gap: .85rem; align-items: center; margin-bottom: 1.15rem;
}
.coupon-redeem-logo {
  width: 52px; height: 52px; border-radius: 14px; object-fit: cover; flex-shrink: 0;
  border: 1px solid var(--slate-200);
}
.coupon-redeem-biz strong { display: block; font-size: 1rem; color: var(--slate-900); }
.coupon-redeem-biz p { margin: .25rem 0 0; font-size: .82rem; color: var(--slate-500); line-height: 1.45; }
.coupon-redeem-actions { display: flex; flex-direction: column; gap: .5rem; }
.coupon-redeem-actions .btn { gap: .45rem; }

.coupon-redeem-steps ol { list-style: none; padding: 0; margin: 0; }
.coupon-redeem-steps li {
  display: flex; gap: .85rem; padding: .75rem 0;
  border-bottom: 1px solid var(--slate-100);
}
.coupon-redeem-steps li:last-child { border-bottom: 0; padding-bottom: 0; }
.coupon-redeem-steps li span {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; font-size: .78rem; font-weight: 800;
  background: var(--emerald); color: #fff;
}
.coupon-redeem-steps li strong { display: block; font-size: .88rem; color: var(--slate-800); }
.coupon-redeem-steps li p { margin: .15rem 0 0; font-size: .8rem; color: var(--slate-500); line-height: 1.45; }

.coupon-related-list { display: flex; flex-direction: column; gap: .45rem; }
.coupon-related-item {
  display: grid; grid-template-columns: auto 1fr auto; gap: .65rem; align-items: center;
  padding: .75rem .85rem; border-radius: 12px;
  border: 1px solid var(--slate-200); font-size: .88rem;
  transition: border-color .2s, background .2s, transform .2s;
}
.coupon-related-item:hover {
  border-color: var(--emerald); background: var(--emerald-light); transform: translateX(2px);
}
.coupon-related-off {
  font-weight: 900; color: var(--emerald-dark); font-size: .78rem; white-space: nowrap;
}
.coupon-related-title {
  font-weight: 600; color: var(--slate-700);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.coupon-related-item svg { color: var(--slate-400); flex-shrink: 0; }

/* Mobile sticky clip bar */
.coupon-detail-mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  padding: .65rem .85rem calc(.65rem + env(safe-area-inset-bottom, 0));
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--slate-200);
  box-shadow: 0 -8px 32px rgba(15,23,42,.08);
  transform: translateY(100%);
  transition: transform .3s var(--ease-out);
}
.coupon-detail-mobile-bar.is-visible { transform: translateY(0); }
.coupon-detail-mobile-bar-inner {
  display: flex; align-items: center; gap: .75rem; max-width: 640px; margin: 0 auto;
}
.coupon-detail-mobile-bar-offer { min-width: 0; flex: 1; }
.coupon-detail-mobile-bar-offer strong {
  display: block; font-family: var(--font-display); font-size: 1rem;
  color: var(--slate-900); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.coupon-detail-mobile-bar-offer span {
  font-family: ui-monospace, monospace; font-size: .78rem; font-weight: 700;
  color: var(--emerald-dark); letter-spacing: .06em;
}
.coupon-detail-mobile-clip {
  flex-shrink: 0; padding: .72rem 1.15rem; border: 0; border-radius: 12px;
  background: linear-gradient(135deg, var(--emerald), #059669);
  color: #fff; font-weight: 800; font-size: .88rem; cursor: pointer;
  box-shadow: 0 4px 16px rgba(16,185,129,.3);
}
.coupon-detail-mobile-clip.is-clipped {
  background: var(--slate-700); box-shadow: none;
}

body.has-coupon-mobile-bar { padding-bottom: 72px; }

@media (min-width: 961px) {
  .coupon-detail-mobile-bar { display: none; }
  body.has-coupon-mobile-bar { padding-bottom: 0; }
}

/* Legacy stamp hooks (other pages) */
.coupon-stamp-xl .coupon-stamp-paper { border-radius: 22px; }
.coupon-stamp-xl .coupon-stamp-value { font-size: clamp(2.5rem, 6vw, 3.25rem); }
.coupon-stamp-xl .coupon-stamp-title { font-size: 1.35rem; }
.coupon-stamp-foot-lg { justify-content: center; padding: 1.15rem 1.5rem 1.5rem; }
.coupon-stamp-clip-lg {
  width: 100%; justify-content: center; padding: 1rem 1.5rem;
  font-size: 1rem; border-radius: 14px;
}
.coupon-page-image {
  margin: 0 0 1rem; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--slate-200);
}
.coupon-page-image img { width: 100%; display: block; }
.coupon-biz-card {
  background: #fff; border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200); padding: 1.35rem;
  box-shadow: var(--shadow);
}
.coupon-related-link {
  display: flex; align-items: center; gap: .75rem;
  padding: .75rem; border-radius: var(--radius);
  border: 1px solid var(--slate-200); margin-bottom: .5rem;
  font-size: .88rem; font-weight: 600; transition: .2s;
}
.coupon-related-link:hover { border-color: var(--emerald); background: var(--emerald-light); }

/* Footer */
.site-footer { background: var(--slate-900); color: rgba(255,255,255,0.75); margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; padding: 4rem 0; }
.footer-grid h4 { color: #fff; margin: 0 0 1rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: .5rem; }
.footer-grid a:hover { color: #6ee7b7; }
.footer-tagline { max-width: 320px; margin-top: 1rem; font-size: .92rem; }
.logo-footer { color: #fff; font-weight: 800; font-size: 1.2rem; }
.logo-footer span { color: #6ee7b7; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 1.5rem 0 2rem; font-size: .88rem; }

@media (max-width: 960px) {
  .split-premium, .steps-premium, .split, .steps, .business-layout, .footer-grid { grid-template-columns: 1fr; }
  .nav-desktop { display: none; }
  .nav-toggle { display: grid; }
  .nav-mobile.is-open { display: grid; }

  /* Homepage mobile */
  .hero-home { padding-top: 2.5rem; }
  .hero-home-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding-bottom: 1.25rem;
  }
  .hero-home-copy { order: 1; text-align: center; }
  .hero-home-deal { order: 2; max-width: 420px; margin: 0 auto; width: 100%; }
  .hero-lead { margin: 0 auto; }
  .hero-search-bar { margin-left: auto; margin-right: auto; }
  .hero-home-actions { justify-content: center; }
  .hero-stats-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-stat-box { padding: 1rem .5rem; }
  .hero-stat-num { font-size: 1.4rem; }
  .hero-stat-label { font-size: .65rem; }
  .section { padding: 3rem 0; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .section-head-center { align-items: center; }
  .partner-grid { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: 1fr; }
  .steps-row { grid-template-columns: 1fr; gap: .75rem; }
  .advertise-panel { grid-template-columns: 1fr; padding: 1.75rem; }
  .cta-bar-inner { flex-direction: column; text-align: center; }
  .stamp-grid { grid-template-columns: minmax(0, 1fr); gap: .85rem; }
  .stamp-grid-compact { grid-template-columns: minmax(0, 1fr); gap: .65rem; }
  .stamp-grid-elegant { gap: .85rem; }
  .deal-card-hero-value { font-size: 1.75rem; }
  .deal-card-hero-body { padding: .85rem 1rem 1rem 1.1rem; }
  .deal-card-hero-clip { margin-top: .75rem; padding: .65rem .85rem; font-size: .8rem; }
  .deal-card-logo { width: 38px; height: 38px; border-radius: 11px; }
  .deal-card-title { font-size: .88rem; }
  .deal-carousel-premium { padding: 0; }
  .deal-carousel-viewport {
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(0,0,0,.22);
    animation: none;
  }
  .section-deals { overflow-x: clip; }
  .coupon-detail-grid { grid-template-columns: 1fr; }
  .coupon-ticket { max-width: none; }
  .coupon-detail-terms,
  .coupon-detail-share,
  .coupon-detail-promote { max-width: none; }
  .coupon-detail-promote { flex-direction: column; align-items: flex-start; }
  .coupon-ticket-paper { grid-template-columns: 1fr; }
  .coupon-ticket-stub {
    flex-direction: row; align-items: center; justify-content: space-between;
    padding: .75rem 1rem; border-right: 0;
    border-bottom: 1px dashed rgba(5,150,105,.35);
  }
  .coupon-ticket-stub-label,
  .coupon-ticket-serial { writing-mode: horizontal-tb; transform: none; margin: 0; }
  .coupon-ticket-barcode { width: 72px; height: 24px; }
  .coupon-ticket-perforation { display: none; }
  .hero-coupon-float { display: none; }
  .adv-proof-grid { grid-template-columns: repeat(2, 1fr); }
  .adv-pricing-grid { grid-template-columns: 1fr; max-width: none; margin: 0; }
  .adv-benefits-grid { grid-template-columns: 1fr 1fr; }
  .adv-apply-grid { grid-template-columns: 1fr; }
  .adv-form-panel { position: static; }
  .adv-form-row { grid-template-columns: 1fr; }

  .bento-grid { grid-template-columns: 1fr 1fr; }
  .bento-tile-lg, .bento-tile-sm { grid-column: span 1; }
  .bento-tile-lg:first-child { grid-column: span 2; }
  .split-panel, .value-grid, .step-cards, .contact-split, .legal-layout, .form-row-v2 { grid-template-columns: 1fr; }
  .trust-strip-grid { grid-template-columns: repeat(2, 1fr); }
  .legal-toc { position: static; }
  body.has-sticky-cta { padding-bottom: 72px; }
}

@media (max-width: 768px) {
  html, body { overflow-x: clip; }
  main { overflow-x: clip; }

  .container { width: min(1200px, calc(100% - 1.25rem)); }

  /* --- Global mobile foundation --- */
  [class*="-grid"] > * { min-width: 0; }

  .page-hero-v2 h1,
  .adv-hero h1,
  .section-head h2 {
    overflow-wrap: break-word;
    word-wrap: break-word;
  }

  .page-hero-v2 {
    padding: var(--space-6) 0 var(--space-5);
  }

  .page-hero-v2 h1 {
    font-size: clamp(1.5rem, 5vw, 2rem);
    line-height: 1.12;
  }

  .page-hero-v2-lead {
    font-size: .9rem;
    max-width: 100%;
  }

  .page-hero-v2-actions {
    flex-direction: column;
    align-items: stretch;
    gap: .5rem;
  }

  .page-hero-v2-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .bento-grid { grid-template-columns: 1fr; }
  .bento-tile-lg,
  .bento-tile-lg:first-child,
  .bento-tile-sm { grid-column: span 1; min-height: 120px; }

  .trust-strip-grid { grid-template-columns: 1fr 1fr; gap: .5rem; }
  .trust-strip-stat strong { font-size: 1.2rem; }
  .trust-strip-stat span { font-size: .68rem; }

  .cta-band-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-4);
  }

  .cta-band-actions {
    width: 100%;
    flex-direction: column;
  }

  .cta-band-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .sticky-cta-inner {
    max-width: 100%;
    flex-direction: column;
  }

  .footer-tagline { max-width: 100%; }

  .dir-hero-search {
    flex-direction: column;
    max-width: 100%;
    width: 100%;
    margin-top: var(--space-4);
  }

  .dir-hero-search input,
  .dir-hero-search .btn {
    width: 100%;
  }

  .chip-row { gap: .4rem; }

  .biz-profile-banner { height: 140px; }
  .biz-profile-head {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);
    margin-top: -36px;
    padding-bottom: var(--space-2);
  }

  .biz-profile-logo {
    width: 72px;
    height: 72px;
  }

  .legal-prose { padding: var(--space-4); }
  .legal-layout { gap: var(--space-4); }

  /* --- Advertise page (mobile) --- */
  .adv-hero {
    padding: 2rem 0 1.75rem;
  }

  .adv-hero-inner {
    max-width: 100%;
    padding: 0 .15rem;
  }

  .adv-hero h1 {
    font-size: clamp(1.45rem, 5.5vw, 1.85rem);
    line-height: 1.12;
  }

  .adv-lead {
    font-size: .88rem;
    margin-bottom: 1.25rem;
    max-width: 100%;
  }

  .adv-hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: .5rem;
  }

  .adv-hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .adv-proof-grid {
    grid-template-columns: 1fr 1fr;
    gap: .65rem;
  }

  .adv-proof-stat strong { font-size: 1.2rem; }
  .adv-proof-stat span { font-size: .68rem; }

  .adv-benefits-grid {
    grid-template-columns: 1fr;
    gap: .75rem;
  }

  .adv-benefit { padding: 1rem; }

  .adv-pricing-grid {
    max-width: 100%;
    gap: 1rem;
  }

  .adv-tier {
    padding: 1.35rem 1.15rem 1.25rem;
  }

  .adv-tier-badge {
    white-space: normal;
    text-align: center;
    max-width: calc(100% - 1.5rem);
    font-size: .62rem;
  }

  .adv-form-panel {
    padding: 1.25rem;
  }

  .adv-faq-item summary {
    padding: .85rem 1rem;
    font-size: .86rem;
  }

  /* --- Homepage hero (mobile) --- */
  .hero-home,
  .hero-home-grid,
  .hero-home-copy,
  .hero-search-bar,
  .hero-search-bar-v2 {
    min-width: 0;
    max-width: 100%;
  }

  .hero-home { padding-top: 2rem; }

  .hero-home .container {
    padding-top: .5rem;
  }

  .hero-home-grid {
    gap: 1.25rem;
    padding-bottom: 1.25rem;
  }

  .hero-home-copy {
    padding-top: .35rem;
  }

  .hero-eyebrow {
    font-size: .68rem;
    letter-spacing: .08em;
    margin-bottom: .65rem;
  }

  .hero-home-copy h1 {
    font-size: clamp(1.45rem, 5.5vw, 1.85rem);
    line-height: 1.12;
    margin-bottom: .75rem;
  }

  .hero-lead {
    font-size: .88rem;
    max-width: 100%;
    line-height: 1.45;
    margin: 0 auto .75rem;
  }

  .hero-search-bar,
  .hero-search-bar-v2 {
    width: 100%;
    max-width: 100%;
    margin: 0 0 1rem;
    padding: .4rem;
    gap: .4rem;
    flex-wrap: wrap;
  }

  .hero-search-bar svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
  }

  .hero-search-bar input {
    flex: 1 1 0;
    min-width: 0;
    font-size: .88rem;
    padding: .5rem .25rem;
  }

  .hero-search-bar .btn {
    flex: 1 1 100%;
    width: 100%;
    padding: .55rem .75rem;
    font-size: .82rem;
    border-radius: 9px;
  }

  .hero-home-actions {
    flex-direction: column;
    align-items: stretch;
    gap: .45rem;
    max-width: 100%;
    margin-top: .25rem;
  }

  .hero-home-actions .btn {
    width: 100%;
    padding: .6rem .85rem;
    font-size: .84rem;
  }

  .hero-stat-box { padding: .85rem .4rem; }
  .hero-stat-num { font-size: 1.15rem; }
  .hero-stat-label { font-size: .58rem; letter-spacing: .04em; }

  /* --- Homepage coupon cards (compact list) --- */
  .stamp-grid,
  .stamp-grid-compact,
  .stamp-grid-elegant {
    grid-template-columns: minmax(0, 1fr);
    gap: .6rem;
    width: 100%;
  }

  .coupon-stamp-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .coupon-stamp-card .coupon-stamp-paper {
    width: 100%;
    max-width: 100%;
    border-radius: 14px;
    overflow: hidden;
  }

  .coupon-stamp-card:hover .coupon-stamp-paper,
  .coupon-stamp-card:hover .coupon-stamp-thumb img {
    transform: none;
  }

  .coupon-stamp-card .coupon-stamp-thumb { display: none; }
  .coupon-stamp-divider { display: none; }
  .coupon-stamp-divider::before,
  .coupon-stamp-divider::after { display: none; }
  .coupon-stamp-label { display: none; }

  .coupon-stamp-top {
    display: flex;
    align-items: center;
    gap: .55rem;
    padding: .55rem .7rem .3rem;
  }

  .coupon-stamp-brand {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    font-size: .62rem;
  }

  .coupon-stamp-business { font-size: .76rem; }
  .coupon-stamp-cat { font-size: .64rem; margin-top: .06rem; }

  .coupon-stamp-offer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: .35rem .5rem;
    padding: 0 .7rem .3rem;
    text-align: left;
  }

  .coupon-stamp-title {
    grid-column: 1;
    grid-row: 1;
    margin: 0;
    font-size: .72rem;
    font-weight: 600;
    line-height: 1.35;
    text-align: left;
    -webkit-line-clamp: 2;
  }

  .coupon-stamp-value {
    grid-column: 2;
    grid-row: 1;
    font-size: .95rem;
    line-height: 1;
    white-space: nowrap;
  }

  .coupon-stamp-details {
    display: flex;
    flex-wrap: wrap;
    gap: .3rem;
    padding: 0 .7rem .35rem;
    justify-content: flex-start;
  }

  .coupon-stamp-code-pill {
    padding: .2rem .45rem;
    font-size: .64rem;
  }

  .coupon-stamp-exp-chip {
    font-size: .62rem;
    padding: .2rem .42rem;
  }

  .coupon-stamp-foot { padding: 0 .7rem .6rem; }

  .coupon-stamp-clip {
    padding: .48rem .6rem;
    font-size: .72rem;
    border-radius: 9px;
    box-shadow: 0 2px 8px rgba(16,185,129,.22);
  }

  /* --- Hero deal carousel --- */
  .hero-home-deal {
    max-width: min(300px, 86vw);
    margin: 1.5rem auto 0;
    width: 100%;
  }

  .deal-carousel {
    max-width: 100%;
    width: 100%;
  }

  .deal-carousel-premium { padding: 0; }
  .deal-carousel-premium::before,
  .deal-carousel-premium::after { display: none; }
  .deal-carousel-viewport {
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,.14);
    animation: none;
  }
  .deal-card-hero { border-radius: 12px; }
  .deal-card-foil { display: none; }
  .deal-card-badge {
    top: .5rem;
    right: .5rem;
    padding: .22rem .45rem;
    font-size: .58rem;
  }
  .deal-card-hero-image { display: none; }
  .deal-card-hero-body { padding: .55rem .65rem .6rem; }
  .deal-card-top { gap: .5rem; margin-bottom: .45rem; }
  .deal-card-logo { width: 28px; height: 28px; border-radius: 7px; font-size: .7rem; }
  .deal-card-meta p { font-size: .72rem; line-height: 1.25; }
  .deal-card-meta span { font-size: .6rem; }
  .deal-card-perforation { height: 6px; margin-bottom: .4rem; }
  .deal-card-save-label { font-size: .58rem; margin-bottom: .1rem; }
  .deal-card-hero-value { font-size: 1.15rem; }
  .deal-card-title { font-size: .72rem; margin-top: .25rem; line-height: 1.35; }
  .deal-card-code { font-size: .58rem; padding: .22rem .42rem; margin-top: .3rem; }
  .deal-card-exp-chip { font-size: .56rem; margin-top: .3rem; padding: .18rem .4rem; }
  .deal-card-hero-clip { display: none; }
  .deal-carousel-nav { margin-top: .45rem; }
  .deal-nav-btn { width: 26px; height: 26px; font-size: .9rem; }
  .deal-dot { width: 5px; height: 5px; }
  .deal-dot.is-active { width: 16px; }
}

@media (max-width: 640px) {
  .hero-home { padding-top: 2.25rem; }
  .hero-home-deal { max-width: min(280px, 84vw); margin-top: 1.75rem; }
  .deal-card-hero-value { font-size: 1.05rem; }
  .deal-card-hero-body { padding: .5rem .6rem .55rem; }
  .section { padding: 2.25rem 0; }
  .section-head h2 { font-size: 1.35rem; }
  .section-desc { font-size: .88rem; }
}

@media (max-width: 400px) {
  .adv-proof-grid { grid-template-columns: 1fr; }
  .trust-strip-grid { grid-template-columns: 1fr; }
}

@media (max-width: 380px) {
  .hero-stat-box { padding: .75rem .35rem; }
  .hero-stat-num { font-size: 1.05rem; }
}

/* === Advertise page === */
.adv-hero {
  position: relative; color: #fff; overflow: hidden;
  padding: 4rem 0 3.5rem; text-align: center;
}
.adv-hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, #0c4a3e 0%, #065f46 50%, #047857 100%);
}
.adv-hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(110,231,183,.2), transparent 55%);
}
.adv-hero-inner { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }
.adv-eyebrow {
  margin: 0 0 .75rem; font-size: .78rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.65);
}
.adv-hero h1 {
  margin: 0 0 1rem; font-size: clamp(2rem, 4.5vw, 2.75rem);
  letter-spacing: -.03em; line-height: 1.1; font-weight: 800;
}
.adv-lead {
  margin: 0 auto 1.75rem; max-width: 540px;
  font-size: 1.05rem; color: rgba(255,255,255,.82); line-height: 1.55;
}
.adv-hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }

.adv-proof {
  background: #fff; border-bottom: 1px solid var(--slate-200);
  padding: 1.75rem 0;
}
.adv-proof-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; text-align: center;
}
.adv-proof-stat strong {
  display: block; font-size: 1.5rem; font-weight: 800;
  color: var(--emerald-dark); letter-spacing: -.02em;
}
.adv-proof-stat span { font-size: .78rem; font-weight: 600; color: var(--slate-500); }

.adv-pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
  align-items: stretch;
}
.adv-tier {
  position: relative; background: #fff;
  border: 1px solid var(--slate-200); border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem; display: flex; flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.adv-tier:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.adv-tier-featured {
  border-color: var(--emerald); box-shadow: 0 12px 40px rgba(16,185,129,.15);
}
.adv-tier-badge {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  padding: .35rem .85rem; border-radius: 999px;
  background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #78350f;
  font-size: .68rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  max-width: calc(100% - 2rem);
  text-align: center;
}
.adv-tier h3 { margin: .5rem 0 .35rem; font-size: 1.25rem; font-weight: 800; }
.adv-tier-price {
  margin: 0 0 1.25rem; font-size: .95rem; font-weight: 700; color: var(--emerald-dark);
}
.adv-tier-features {
  list-style: none; padding: 0; margin: 0 0 1.5rem; flex: 1;
}
.adv-tier-features li {
  padding: .45rem 0 .45rem 1.5rem; font-size: .88rem; color: var(--slate-600);
  position: relative; border-bottom: 1px solid var(--slate-100);
}
.adv-tier-features li:last-child { border-bottom: 0; }
.adv-tier-features li::before {
  content: '✓'; position: absolute; left: 0; color: var(--emerald); font-weight: 800;
}

.adv-benefits-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem;
}
.adv-benefit {
  background: #fff; border-radius: var(--radius);
  padding: 1.35rem; border: 1px solid var(--slate-200);
  text-align: center;
}
.adv-benefit-icon {
  display: inline-grid; place-items: center;
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--emerald-light); color: var(--emerald-dark);
  margin-bottom: .85rem;
}
.adv-benefit h3 { margin: 0 0 .35rem; font-size: .95rem; font-weight: 800; }
.adv-benefit p { margin: 0; font-size: .85rem; color: var(--slate-500); line-height: 1.5; }

.adv-apply-grid {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 2.5rem; align-items: start;
}
.adv-faq h2 { margin: 0 0 1.25rem; font-size: 1.35rem; font-weight: 800; }
.adv-faq-item {
  border: 1px solid var(--slate-200); border-radius: var(--radius);
  margin-bottom: .65rem; overflow: hidden; background: #fff;
}
.adv-faq-item summary {
  padding: 1rem 1.15rem; font-weight: 700; font-size: .92rem;
  cursor: pointer; list-style: none;
}
.adv-faq-item summary::-webkit-details-marker { display: none; }
.adv-faq-item summary::after {
  content: '+'; float: right; color: var(--emerald); font-weight: 800;
}
.adv-faq-item[open] summary::after { content: '−'; }
.adv-faq-item p {
  margin: 0; padding: 0 1.15rem 1rem;
  font-size: .88rem; color: var(--slate-600); line-height: 1.55;
}

.adv-form-panel {
  background: #fff; border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg); padding: 1.75rem;
  box-shadow: var(--shadow-lg);
  position: sticky; top: 96px;
}
.adv-form-panel h2 { margin: 0 0 .35rem; font-size: 1.35rem; font-weight: 800; }
.adv-form-sub { margin: 0 0 1.25rem; font-size: .9rem; color: var(--slate-500); }
.adv-form label {
  display: block; margin-bottom: 1rem;
  font-weight: 600; font-size: .88rem; color: var(--slate-700);
}
.adv-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.adv-input {
  display: block; width: 100%; margin-top: .35rem;
  padding: .75rem 1rem; border: 1px solid var(--slate-200);
  border-radius: 12px; font: inherit; font-size: .92rem;
  transition: border-color .2s, box-shadow .2s;
}
.adv-input:focus {
  outline: none; border-color: var(--emerald);
  box-shadow: 0 0 0 3px rgba(16,185,129,.15);
}
.alert-error {
  padding: .85rem 1rem; border-radius: 12px; margin-bottom: 1rem;
  background: #fef2f2; color: #991b1b; font-size: .88rem; font-weight: 600;
}

/* Hero entrance + shine */
.hero-enter {
  animation: fadeUp .65s cubic-bezier(.22,1,.36,1) both;
}
.hero-enter-1 { animation-delay: .05s; }
.hero-enter-2 { animation-delay: .12s; }
.hero-enter-3 { animation-delay: .19s; }
.hero-enter-4 { animation-delay: .26s; }
.hero-search-shine {
  position: relative; overflow: hidden;
}
.hero-search-shine::after {
  content: ''; position: absolute; inset: -2px; border-radius: 16px;
  background: linear-gradient(90deg, transparent, rgba(110,231,183,.35), transparent);
  background-size: 200% 100%;
  animation: searchShine 4s ease-in-out infinite;
  pointer-events: none; z-index: 0; opacity: .6;
}
.hero-search-shine > * { position: relative; z-index: 1; }
@keyframes searchShine {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}


@media (min-width: 641px) and (max-width: 1024px) {
  .category-grid { grid-template-columns: repeat(2, 1fr); }
}

/* === Design System v2 === */
.site-header.is-compact .header-inner { min-height: 64px; }
.site-header.is-compact .logo-mark { width: 36px; height: 36px; }
.nav-desktop a.is-active {
  background: var(--emerald-light); color: var(--emerald-dark); font-weight: 600;
}
.nav-mobile a.is-active { background: var(--emerald-light); color: var(--emerald-dark); }

.page-hero-v2 {
  position: relative; padding: var(--space-8) 0 var(--space-6);
  background: var(--surface-1); border-bottom: 1px solid var(--slate-200);
}
.page-hero-v2--dark {
  color: #fff; border-bottom: 0; padding: var(--space-8) 0 var(--space-7);
  overflow: hidden;
}
.page-hero-v2-bg {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, #0c4a3e 0%, #065f46 50%, #047857 100%);
}
.page-hero-v2-bg::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(110,231,183,.2), transparent 50%);
}
.page-hero-v2-inner { position: relative; max-width: 720px; }
.page-hero-v2--dark .page-hero-v2-inner { text-align: center; margin: 0 auto; }
.page-hero-v2-eyebrow {
  margin: 0 0 var(--space-3); font-size: .75rem; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase; color: var(--emerald-dark);
}
.page-hero-v2--dark .page-hero-v2-eyebrow { color: rgba(255,255,255,.65); }
.page-hero-v2 h1 { margin: 0; font-size: var(--text-h1); line-height: 1.08; font-weight: 800; }
.page-hero-v2-lead {
  margin: var(--space-4) 0 0; font-size: 1.05rem; color: var(--slate-500); max-width: 52ch; line-height: 1.55;
}
.page-hero-v2--dark .page-hero-v2-lead { color: rgba(255,255,255,.82); margin-left: auto; margin-right: auto; }
.page-hero-v2-actions {
  display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-5);
}
.page-hero-v2--dark .page-hero-v2-actions { justify-content: center; }

.trust-strip {
  background: #fff; border-bottom: 1px solid var(--slate-200); padding: var(--space-5) 0;
}
.trust-strip-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); text-align: center;
}
.trust-strip-stat strong {
  display: block; font-size: 1.5rem; font-weight: 800; color: var(--emerald-dark);
  font-family: var(--font-display);
}
.trust-strip-stat span { font-size: .78rem; font-weight: 600; color: var(--slate-500); }

.cta-band {
  background: linear-gradient(135deg, #022c22, #065f46); color: #fff; padding: var(--space-7) 0;
}
.cta-band-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-5); flex-wrap: wrap;
}
.cta-band h2 { margin: 0; font-size: var(--text-h2); font-weight: 800; }
.cta-band p { margin: var(--space-2) 0 0; color: rgba(255,255,255,.75); max-width: 42ch; }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }

.sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  padding: var(--space-3) var(--space-4);
  background: rgba(255,255,255,.92); backdrop-filter: blur(12px);
  border-top: 1px solid var(--slate-200);
  box-shadow: 0 -8px 24px rgba(15,23,42,.08);
  transform: translateY(100%); transition: transform var(--duration-med) var(--ease-out);
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta-inner { display: flex; gap: var(--space-3); max-width: 480px; margin: 0 auto; }
.sticky-cta-primary, .sticky-cta-secondary { flex: 1; justify-content: center; }
@media (min-width: 769px) { .sticky-cta { display: none !important; } }

.faq-block-title { margin: 0 0 var(--space-4); font-size: 1.35rem; font-weight: 800; }
.faq-list { display: grid; gap: var(--space-3); }
.faq-item {
  border: 1px solid var(--slate-200); border-radius: var(--radius);
  background: var(--surface-1); overflow: hidden;
  transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
}
.faq-item[open] { border-color: #a7f3d0; box-shadow: var(--shadow); }
.faq-item summary {
  padding: 1rem 1.15rem; font-weight: 700; font-size: .92rem; cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; float: right; color: var(--emerald); font-weight: 800; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { margin: 0; padding: 0 1.15rem 1rem; font-size: .88rem; color: var(--slate-600); line-height: 1.55; }

/* Bento grid */
.bento-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--space-4);
}
.bento-tile {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 160px; padding: var(--space-5);
  border-radius: var(--radius-lg); overflow: hidden; color: #fff;
  background: linear-gradient(145deg, var(--bento-from, #065f46), var(--bento-to, #047857));
  border: 1px solid rgba(255,255,255,.12);
  transition: transform var(--duration-med) var(--ease-out), box-shadow var(--duration-med);
  box-shadow: var(--shadow);
}
.bento-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.bento-tile-lg { grid-column: span 3; min-height: 200px; }
.bento-tile-sm { grid-column: span 2; min-height: 140px; }
.bento-tile-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(255,255,255,.15); display: grid; place-items: center; margin-bottom: var(--space-3);
}
.bento-tile strong { font-size: 1.1rem; font-weight: 800; font-family: var(--font-display); }
.bento-tile span { font-size: .82rem; opacity: .85; margin-top: .25rem; }

/* Marketing layouts */
.split-panel {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); align-items: start;
}
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.value-card {
  background: var(--surface-1); border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg); padding: var(--space-5);
  box-shadow: var(--shadow); transition: transform var(--duration-med), box-shadow var(--duration-med);
}
.value-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.value-card-icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--emerald-light); color: var(--emerald-dark);
  display: grid; place-items: center; margin-bottom: var(--space-4);
}
.value-card h3 { margin: 0 0 var(--space-2); font-size: 1rem; font-weight: 800; }
.value-card p { margin: 0; font-size: .88rem; color: var(--slate-500); line-height: 1.5; }

.step-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.step-card-v2 {
  background: var(--surface-1); border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg); padding: var(--space-5);
  box-shadow: var(--shadow); text-align: center;
}
.step-card-v2-icon {
  width: 52px; height: 52px; border-radius: 50%; margin: 0 auto var(--space-4);
  background: linear-gradient(135deg, var(--emerald), #14b8a6); color: #fff;
  display: grid; place-items: center; font-weight: 800;
}
.step-card-v2 h3 { margin: 0 0 var(--space-2); font-size: 1rem; font-weight: 800; }
.step-card-v2 p { margin: 0; font-size: .88rem; color: var(--slate-500); line-height: 1.5; }

.compare-table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--slate-200); }
.compare-table {
  width: 100%; border-collapse: collapse; font-size: .88rem; background: #fff;
}
.compare-table th, .compare-table td {
  padding: .85rem 1rem; border-bottom: 1px solid var(--slate-100); text-align: left;
}
.compare-table th { background: var(--slate-50); font-weight: 800; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; }
.compare-table tr:last-child td { border-bottom: 0; }
.compare-table .check { color: var(--emerald-dark); font-weight: 800; }

.contact-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: var(--space-6); align-items: start; }
.contact-info-card {
  background: var(--surface-1); border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg); padding: var(--space-5); margin-bottom: var(--space-4);
  box-shadow: var(--shadow);
}
.contact-info-card h3 { margin: 0 0 var(--space-2); font-size: .95rem; font-weight: 800; }
.contact-info-card p, .contact-info-card a { margin: 0; font-size: .9rem; color: var(--slate-600); }
.contact-info-card a { color: var(--emerald-dark); font-weight: 600; }
.form-panel-v2 {
  background: var(--surface-1); border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg); padding: var(--space-6);
  box-shadow: var(--shadow-lg);
}
.form-panel-v2 h2 { margin: 0 0 var(--space-2); font-size: 1.35rem; font-weight: 800; }
.form-panel-v2 .form-sub { margin: 0 0 var(--space-5); color: var(--slate-500); font-size: .9rem; }
.form-row-v2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.form-panel-v2 label {
  display: block; margin-bottom: var(--space-4); font-weight: 600; font-size: .88rem;
}
.form-panel-v2 input, .form-panel-v2 textarea, .form-panel-v2 select {
  display: block; width: 100%; margin-top: var(--space-2);
  padding: .75rem 1rem; border: 1px solid var(--slate-200); border-radius: 12px;
  font: inherit; transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
}
.form-panel-v2 input:focus, .form-panel-v2 textarea:focus, .form-panel-v2 select:focus {
  outline: none; border-color: var(--emerald); box-shadow: 0 0 0 3px rgba(16,185,129,.15);
}

.legal-layout { display: grid; grid-template-columns: 220px 1fr; gap: var(--space-6); align-items: start; }
.legal-toc {
  position: sticky; top: 96px; background: var(--surface-1);
  border: 1px solid var(--slate-200); border-radius: var(--radius-lg);
  padding: var(--space-4); font-size: .85rem;
}
.legal-toc h3 { margin: 0 0 var(--space-3); font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--slate-500); }
.legal-toc a { display: block; padding: .45rem 0; color: var(--slate-600); font-weight: 600; }
.legal-toc a:hover { color: var(--emerald-dark); }
.legal-prose { background: var(--surface-1); border: 1px solid var(--slate-200); border-radius: var(--radius-lg); padding: var(--space-6); box-shadow: var(--shadow); }
.legal-prose h2 { margin: var(--space-6) 0 var(--space-3); font-size: 1.15rem; }
.legal-prose h2:first-child { margin-top: 0; }
.legal-prose p, .legal-prose li { color: var(--slate-600); font-size: .92rem; line-height: 1.65; }
.legal-updated { font-size: .82rem; color: var(--slate-500); margin-bottom: var(--space-5); }

.blog-coming {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: var(--space-4);
}
.blog-card-placeholder {
  background: var(--surface-1); border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow);
}
.blog-card-placeholder-thumb {
  height: 140px; background: linear-gradient(135deg, var(--emerald-light), #dbeafe);
}
.blog-card-placeholder-body { padding: var(--space-4); }
.blog-card-placeholder-body h3 { margin: 0 0 var(--space-2); font-size: 1rem; font-weight: 800; }
.blog-card-placeholder-body p { margin: 0; font-size: .85rem; color: var(--slate-500); }

.empty-state-v2 {
  text-align: center; padding: var(--space-8) var(--space-5);
  background: var(--surface-1); border: 2px dashed var(--slate-200);
  border-radius: var(--radius-lg);
}
.empty-state-v2-icon { font-size: 3rem; margin-bottom: var(--space-4); opacity: .7; }
.empty-state-v2 h2 { margin: 0 0 var(--space-3); font-size: 1.35rem; }
.empty-state-v2 p { margin: 0 0 var(--space-5); color: var(--slate-500); max-width: 40ch; margin-inline: auto; }

.testimonial-scroll {
  display: flex; gap: var(--space-4); overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: var(--space-3); -webkit-overflow-scrolling: touch;
}
.testimonial-scroll .testimonial-item { flex: 0 0 min(320px, 85vw); scroll-snap-align: start; }

/* Card v2 upgrades */
.cat-card { box-shadow: 0 2px 12px rgba(15,23,42,.05); }
.cat-card:hover { box-shadow: 0 16px 40px rgba(16,185,129,.12); }
.cat-card-count {
  background: var(--emerald-light); color: var(--emerald-dark); font-weight: 700;
}
.business-card-v2::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--emerald), #14b8a6); opacity: 0; transition: opacity .2s;
}
.business-card-v2:hover::before { opacity: 1; }
.tier-featured.business-card-v2 { border-color: #fcd34d; }

/* Directory v2 */
.dir-hero-search {
  display: flex; gap: var(--space-3); margin-top: var(--space-5); max-width: 560px;
}
.dir-hero-search input {
  flex: 1; padding: .85rem 1.15rem; border: 1px solid var(--slate-200);
  border-radius: 14px; font: inherit; box-shadow: var(--shadow);
}
.dir-results-group { margin-bottom: var(--space-6); }
.dir-results-group h3 {
  margin: 0 0 var(--space-4); font-size: .85rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .06em; color: var(--slate-500);
}

/* Business page v2 */
.biz-profile-hero {
  position: relative; background: linear-gradient(135deg, #0f172a, #134e4a);
  color: #fff; padding-bottom: var(--space-6);
}
.biz-profile-banner {
  height: 220px; background: linear-gradient(135deg, #334155, #64748b);
  overflow: hidden;
}
.biz-profile-banner img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.biz-profile-head {
  display: flex; gap: var(--space-5); align-items: flex-end; margin-top: -48px; position: relative;
}
.biz-profile-logo {
  width: 96px; height: 96px; border-radius: 20px; border: 4px solid #fff;
  box-shadow: var(--shadow-lg); overflow: hidden; background: var(--emerald);
  display: grid; place-items: center; font-weight: 800; flex-shrink: 0;
}
.biz-profile-logo img { width: 100%; height: 100%; object-fit: cover; }

.coupon-share-row {
  display: flex; gap: var(--space-3); margin-top: var(--space-4); flex-wrap: wrap;
}

/* Footer v2 */
.site-footer-v2 {
  background: linear-gradient(180deg, #0f172a 0%, #020617 100%);
  color: rgba(255,255,255,.75);
}
.footer-newsletter {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg); padding: var(--space-5); margin-bottom: var(--space-6);
}
.footer-newsletter h3 { margin: 0 0 var(--space-2); color: #fff; font-size: 1.1rem; }
.footer-newsletter p { margin: 0 0 var(--space-4); font-size: .88rem; }
.footer-social { display: flex; gap: var(--space-3); margin-top: var(--space-4); }
.footer-social a {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(255,255,255,.08); display: grid; place-items: center;
  transition: background var(--duration-fast);
}
.footer-social a:hover { background: rgba(110,231,183,.2); color: #6ee7b7; }

.biz-coupon-chip, .biz-loc-chip {
  font-size: .78rem; font-weight: 700; padding: .2rem .55rem;
  border-radius: 999px; background: var(--slate-100); color: var(--slate-600);
}
.biz-loc-chip { background: var(--emerald-light); color: var(--emerald-dark); }
.business-card-v2-foot { flex-wrap: wrap; gap: .35rem; align-items: center; }

/* === Responsive overrides (must follow component base styles) === */
@media (max-width: 960px) {
  .bento-grid { grid-template-columns: 1fr; }
  .bento-tile-lg,
  .bento-tile-lg:first-child,
  .bento-tile-sm { grid-column: span 1; min-height: 120px; }

  .trust-strip-grid { grid-template-columns: repeat(2, 1fr); }
  .split-panel, .value-grid, .step-cards, .contact-split, .legal-layout, .form-row-v2 {
    grid-template-columns: 1fr;
  }
  .legal-toc { position: static; }

  .adv-proof-grid { grid-template-columns: repeat(2, 1fr); }
  .adv-pricing-grid { grid-template-columns: 1fr; max-width: none; margin: 0; }
  .adv-benefits-grid { grid-template-columns: 1fr 1fr; }
  .adv-apply-grid { grid-template-columns: 1fr; }
  .adv-form-panel { position: static; top: auto; }
  .adv-form-row { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .container {
    width: 100%;
    max-width: 1200px;
    padding-inline: 1rem;
  }

  [class*="-grid"] > *,
  .adv-tier, .adv-benefit, .adv-faq-item,
  .value-card, .step-card-v2, .form-panel-v2,
  .page-hero-v2-inner, .section-head, .contact-info-card {
    min-width: 0;
  }

  .page-hero-v2 h1,
  .adv-hero h1,
  .section-head h2,
  .adv-tier h3,
  .adv-benefit h3,
  .cta-band h2,
  .adv-faq-item summary {
    overflow-wrap: break-word;
  }

  .section-desc,
  .section-sub,
  .page-hero-v2-lead,
  .cta-band p,
  .adv-lead,
  .adv-form-sub {
    max-width: 100%;
  }

  .page-hero-v2 { padding: var(--space-6) 0 var(--space-5); }
  .page-hero-v2 h1 { font-size: clamp(1.5rem, 5vw, 2rem); line-height: 1.12; }
  .page-hero-v2-lead { font-size: .9rem; }
  .page-hero-v2-inner { max-width: 100%; }
  .page-hero-v2-actions { flex-direction: column; align-items: stretch; gap: .5rem; }
  .page-hero-v2-actions .btn { width: 100%; justify-content: center; }

  .trust-strip-grid { grid-template-columns: 1fr 1fr; gap: .5rem; }
  .trust-strip-stat strong { font-size: 1.2rem; }
  .trust-strip-stat span { font-size: .68rem; }

  .cta-band-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-4);
  }
  .cta-band-actions { width: 100%; flex-direction: column; }
  .cta-band-actions .btn { width: 100%; justify-content: center; }

  .sticky-cta-inner { max-width: 100%; flex-direction: column; }
  .footer-tagline { max-width: 100%; }

  .dir-hero-search {
    flex-direction: column;
    max-width: 100%;
    width: 100%;
  }
  .dir-hero-search input,
  .dir-hero-search .btn { width: 100%; }

  .biz-profile-banner { height: 140px; }
  .biz-profile-head {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);
    margin-top: -36px;
  }
  .biz-profile-logo { width: 72px; height: 72px; }

  .legal-prose { padding: var(--space-4); }
  .legal-layout { gap: var(--space-4); }

  .form-panel-v2 { padding: var(--space-4); }
  .form-row-v2 { grid-template-columns: 1fr; }
  .form-panel-v2 input,
  .form-panel-v2 textarea,
  .form-panel-v2 select { max-width: 100%; }

  .adv-hero { padding: 2rem 0 1.75rem; }
  .adv-hero-inner { max-width: 100%; }
  .adv-hero h1 { font-size: clamp(1.45rem, 5.5vw, 1.85rem); line-height: 1.12; }
  .adv-lead { font-size: .88rem; margin-bottom: 1.25rem; }
  .adv-hero-actions { flex-direction: column; align-items: stretch; gap: .5rem; }
  .adv-hero-actions .btn { width: 100%; justify-content: center; }

  .adv-proof-grid { grid-template-columns: 1fr 1fr; gap: .65rem; }
  .adv-proof-stat strong { font-size: 1.2rem; }
  .adv-proof-stat span { font-size: .68rem; }

  .adv-benefits-grid { grid-template-columns: 1fr; gap: .75rem; }
  .adv-benefit { padding: 1rem; }
  .adv-benefit p { overflow-wrap: break-word; }

  .adv-pricing-grid { grid-template-columns: 1fr; max-width: none; gap: 1rem; }
  .adv-tier { padding: 1.35rem 1.15rem 1.25rem; overflow: hidden; }
  .adv-tier-badge { white-space: normal; font-size: .62rem; }
  .adv-tier-features li { overflow-wrap: break-word; }

  .adv-apply-grid { grid-template-columns: 1fr; gap: var(--space-5); }
  .adv-form-panel { padding: 1.25rem; }
  .adv-faq-item summary { padding: .85rem 1rem; font-size: .86rem; }
  .adv-input { max-width: 100%; }
}

@media (max-width: 400px) {
  .adv-proof-grid { grid-template-columns: 1fr; }
  .trust-strip-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-coupon-float { display: none; }
  .deal-card { animation: none; }
  .deal-carousel-viewport { animation: none; }
  .deal-card-badge-shimmer { animation: none; }
  .hero-home-bg { animation: none; }
  .hero-enter { animation: none; }
  .hero-search-shine::after { animation: none; display: none; }
  .deal-card-badge { animation: none; }
}
