
:root {
  --ink: #15202b;
  --navy: #082447;
  --red: #c91f2c;
  --red-dark: #9f1420;
  --gold: #f4c74d;
  --green: #0d6b4a;
  --teal: #155e67;
  --paper: #f7f9fb;
  --surface: #ffffff;
  --soft: #edf3f5;
  --line: #d7e0e5;
  --muted: #536575;
  --shadow: 0 18px 42px rgba(8, 36, 71, 0.12);
  --radius: 8px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.58;
  overflow-x: hidden;
}

body.nav-open,
body.drawer-open { overflow: hidden; }

a { color: inherit; text-underline-offset: 0.18em; }
p a, li a, td a { color: var(--red-dark); text-decoration: underline; font-weight: 760; }
nav a, header a, footer a, .btn, .quiet-link { text-decoration: none; }

img { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: 0.75rem;
  z-index: 100;
  transform: translateY(-160%);
  padding: 0.75rem 1rem;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 4.25rem;
  padding: 0.6rem 3rem;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand img { width: 11rem; height: auto; }

.site-nav { display: flex; align-items: center; gap: 1.35rem; color: var(--navy); font-weight: 820; }
.site-nav a:hover { color: var(--red-dark); }

.nav-toggle {
  display: none;
  min-height: 44px;
  padding: 0 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--navy);
  font-weight: 850;
}

.hero {
  position: relative;
  min-height: 42rem;
  display: grid;
  align-items: center;
  padding: 5.5rem 3rem 4rem;
  color: var(--navy);
  background:
    linear-gradient(135deg, #ffffff 0%, #f6fbfc 52%, #eaf7f6 100%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.hero-visual {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-combined-art {
  position: absolute;
  right: clamp(1rem, 3vw, 3rem);
  top: 50%;
  width: min(70rem, 62vw);
  max-height: 34rem;
  object-fit: contain;
  transform: translateY(-50%);
  filter: drop-shadow(0 24px 46px rgba(8, 36, 71, 0.14));
  opacity: 0.98;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.94) 41%, rgba(255, 255, 255, 0.32) 68%, rgba(255, 255, 255, 0.05));
}

.hero-content {
  position: relative;
  width: min(58rem, 100%);
  max-width: 43rem;
  min-width: 0;
  z-index: 1;
}

.hero h1,
.page-hero h1,
.store-hero h1,
.article-header h1 {
  margin: 0;
  font-size: 4rem;
  line-height: 1.04;
  color: inherit;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero p { max-width: 42rem; font-size: 1.16rem; color: var(--muted); }

.eyebrow {
  margin: 0 0 0.6rem;
  color: var(--green);
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.hero .eyebrow { color: var(--red-dark); }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.3rem;
}

.search-panel {
  width: min(54rem, 100%);
  max-width: 100%;
  margin-top: 1.6rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 38px rgba(8, 36, 71, 0.10);
  backdrop-filter: blur(10px);
}

.page-hero .search-panel {
  background: var(--surface);
  border-color: var(--line);
  box-shadow: var(--shadow);
}

.search-panel label { display: block; margin-bottom: 0.45rem; font-weight: 850; }
.search-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.75rem; }
.search-row input {
  min-height: 48px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 1rem;
  background: var(--surface);
  color: var(--ink);
}

.search-results {
  display: none;
  max-height: 22rem;
  overflow: auto;
  margin-top: 0.75rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.search-results.is-open { display: grid; }
.search-results a { display: grid; gap: 0.1rem; padding: 0.85rem 1rem; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.search-results a:last-child { border-bottom: 0; }
.search-results strong { color: var(--navy); }
.search-results span { color: var(--muted); font-size: 0.92rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1rem;
  border: 2px solid var(--navy);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--navy);
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
}

.btn.primary { background: var(--red); border-color: var(--red); color: #fff; }
.btn.primary:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn.secondary:hover { background: var(--soft); }

.metric-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
  background: var(--surface);
}

.metric-band div { padding: 1.45rem 3rem; border-right: 1px solid var(--line); }
.metric-band div:last-child { border-right: 0; }
.metric-band strong { display: block; color: var(--red-dark); font-size: 2.6rem; line-height: 1; }
.metric-band span { color: var(--muted); font-weight: 850; }

.deal-finder {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 28rem);
  gap: 2rem;
  align-items: stretch;
  background: linear-gradient(135deg, #ffffff 0%, #eef6f8 100%);
}

.deal-finder-main {
  display: grid;
  gap: 1.15rem;
  align-content: start;
}

.deal-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
  gap: 0.75rem;
  align-items: end;
}

.deal-controls label {
  display: grid;
  gap: 0.35rem;
  color: var(--navy);
  font-weight: 850;
}

.deal-controls select {
  min-height: 46px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  padding: 0 0.8rem;
  font-weight: 750;
}

.deal-results {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  min-height: 8rem;
}

.deal-result {
  display: grid;
  grid-template-columns: 3.1rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
  min-height: 7rem;
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(21, 32, 43, 0.06);
}

.deal-result:hover { border-color: #b6c8d0; transform: translateY(-1px); }
.deal-result strong { display: block; color: var(--navy); line-height: 1.2; }
.deal-result span:last-child { display: block; color: var(--muted); font-size: 0.9rem; }

.mini-logo {
  position: relative;
  display: grid;
  place-items: center;
  width: 3.1rem;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  color: var(--navy);
  font-weight: 950;
}

.mini-logo img {
  position: absolute;
  width: 70%;
  height: 70%;
  object-fit: contain;
  background: #fff;
}

.deal-finder-brand {
  display: grid;
  place-items: center;
  min-height: 19rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  overflow: hidden;
}

.deal-finder-brand img {
  width: 100%;
  height: 100%;
  max-height: 24rem;
  object-fit: contain;
  padding: 1rem;
}

.section-wrap {
  padding: 4.5rem 3rem;
}

.section-muted { background: var(--soft); }

.section-heading {
  max-width: 55rem;
  margin-bottom: 1.5rem;
}

.section-heading h2,
.deal-finder-main h2,
.split h2,
.split-section h2,
.side-panel h2,
.contact-panel h2,
.article-offer h2,
.narrow-content h2 {
  margin: 0;
  color: var(--navy);
  font-size: 2.35rem;
  line-height: 1.12;
  letter-spacing: 0;
  text-wrap: balance;
}

.section-heading p,
.deal-finder-main p,
.split p,
.split-section p,
.page-hero p,
.store-hero p { color: var(--muted); }

.coupon-list { display: grid; gap: 1rem; }

.coupon-card {
  display: grid;
  grid-template-columns: 4.75rem minmax(0, 1fr) minmax(22rem, 24rem);
  gap: 1rem;
  align-items: center;
  padding: 1.1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(21, 32, 43, 0.06);
}

.coupon-card-compact:nth-child(n+7) { display: none; }

.store-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 4.25rem;
  aspect-ratio: 1;
  border-radius: var(--radius);
  background: #ffffff;
  border: 1px solid var(--line);
  color: var(--navy);
  font-weight: 950;
  overflow: hidden;
  box-shadow: inset 0 0 0 5px #f6fafb;
}

.store-mark span {
  font-size: 1rem;
  line-height: 1;
}

.store-mark:has(img) span,
.mini-logo:has(img) span { opacity: 0; }

.store-mark img {
  position: absolute;
  width: 68%;
  height: 68%;
  object-fit: contain;
  background: #fff;
}

.store-mark.big { width: 6rem; font-size: 1.5rem; }
.store-mark.big img { width: 72%; height: 72%; }

.coupon-main h3,
.article-card h3,
.category-card h2 {
  margin: 0.15rem 0 0.35rem;
  color: var(--navy);
  font-size: 1.2rem;
  line-height: 1.25;
}

.coupon-main p,
.article-card p,
.category-card p { margin: 0.35rem 0; color: var(--muted); }

.meta-line {
  margin: 0;
  color: var(--green);
  font-size: 0.9rem;
  font-weight: 850;
}

.quiet-link { display: inline-flex; margin-top: 0.35rem; color: var(--red-dark); font-weight: 850; }
.quiet-link:hover { text-decoration: underline; }

.coupon-actions { display: grid; grid-template-columns: minmax(10rem, 1fr) auto auto auto; gap: 0.6rem; align-items: center; }
.code-box { display: grid; gap: 0.25rem; min-width: 0; }
.code-box span { color: var(--muted); font-size: 0.83rem; font-weight: 850; min-width: 0; white-space: nowrap; }
.code-box code {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  max-width: 100%;
  min-width: 0;
  padding: 0.45rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
  color: var(--navy);
  font-weight: 900;
  white-space: nowrap;
  overflow: visible;
}

.code-box.large code { font-size: 1.2rem; min-height: 3rem; min-width: 0; white-space: nowrap; overflow: visible; }

.save-button {
  min-height: 44px;
  padding: 0 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--navy);
  font-weight: 850;
  cursor: pointer;
}

.save-button[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }

.split,
.split-section,
.store-hero,
.contact-layout,
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
  gap: 2rem;
  align-items: start;
}

.compact-grid,
.category-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.compact-grid a,
.category-card,
.side-panel,
.contact-panel,
.contact-form,
.store-card,
.article-offer,
.claim-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.compact-grid a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  color: var(--navy);
  font-weight: 850;
  text-decoration: none;
}

.compact-grid span { color: var(--green); }

.category-card { padding: 1.25rem; }
.category-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.page-hero,
.store-hero {
  padding: 4.6rem 3rem;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.page-hero.compact { display: block; }
.about-hero { grid-template-columns: minmax(0, 0.9fr) minmax(22rem, 1.1fr); align-items: center; background: linear-gradient(135deg, #ffffff, #f3fbfb); }
.about-hero img { width: 100%; max-height: 24rem; object-fit: contain; border-radius: var(--radius); background: #fff; }

.store-hero { background: linear-gradient(135deg, #ffffff, #eef6f8); }
.claim-box { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: end; padding: 1rem; margin-top: 1.4rem; }
.claim-box > .code-box { flex: 1 0 10rem; min-width: 10rem; }
.store-card { padding: 1.2rem; display: grid; gap: 1rem; justify-items: start; }

.facts { display: grid; gap: 0.75rem; margin: 0; width: 100%; }
.facts div { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--line); }
.facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); font-weight: 800; }
.facts dd { margin: 0; color: var(--navy); font-weight: 900; text-align: right; }

.steps { padding-left: 1.25rem; }
.steps li { margin: 0.65rem 0; color: var(--muted); }

.side-panel,
.contact-panel,
.contact-form,
.article-offer { padding: 1.25rem; }

.side-panel p,
.article-offer p,
.offer-notes p {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.filter-bar { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.4rem; }
.chip {
  min-height: 44px;
  padding: 0 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--navy);
  font-weight: 850;
  cursor: pointer;
}

.chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.article-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.article-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--soft);
  max-height: 110px;
}

.article-card div { padding: 0.5rem 1rem 1rem; }

.article-page { padding: 3.6rem 3rem; }
.article-header { max-width: 72rem; margin-left: calc(50% - 36rem - 15px); margin-right: auto; margin-bottom: 1.5rem; }
.article-header h1 { color: var(--navy); font-size: 3.4rem; }
.article-header > p { color: var(--muted); font-size: 1.12rem; }
.article-meta { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; color: var(--muted); font-weight: 800; }

.article-hero-image {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: block;
}

/* Banner at top of articles + smaller specific hero (per feedback) */
.article-images {
  max-width: 72rem;
  margin: 0 auto 1.5rem;
  display: grid;
  grid-template-columns: minmax(0, 45rem) minmax(17rem, 21rem);
  gap: 0;
}
.article-images .article-brand-banner {
  grid-column: 1;
  width: 100%;
  height: 180px;
  object-fit: contain;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.article-images .article-hero-image.article-hero-small {
  grid-column: 2;
  width: 100%;
  height: 180px;
  object-fit: contain;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.article-layout {
  width: min(72rem, 100%);
  margin: 0 auto;
  grid-template-columns: minmax(0, 45rem) minmax(17rem, 21rem);
}

.article-content {
  max-width: 45rem;
  font-size: 1.06rem;
  order: 1;
}

.article-offer {
  position: sticky;
  top: 5.5rem;
  order: 2;
  display: grid;
  gap: 0.75rem;
}

.article-content h2 {
  margin: 2rem 0 0.75rem;
  color: var(--navy);
  font-size: 1.85rem;
  line-height: 1.18;
}

.article-content h3 {
  margin: 1.5rem 0 0.55rem;
  color: var(--navy);
  font-size: 1.35rem;
}

.article-content p,
.article-content li { color: #33475a; }

.article-content ul,
.article-content ol { padding-left: 1.35rem; }

.article-content li { margin: 0.45rem 0; }

.article-standfirst {
  padding: 1rem;
  background: #fff8d8;
  border: 1px solid #dcc16b;
  border-left: 5px solid var(--gold);
  border-radius: var(--radius);
  color: var(--navy);
}

.inline-claim {
  display: inline-flex;
  min-height: 2rem;
  align-items: center;
  padding: 0 0.5rem;
  border-radius: var(--radius);
  background: var(--red);
  color: #fff;
  text-decoration: none;
  font-weight: 900;
}

.fine-print { color: var(--muted); font-size: 0.92rem; }
.narrow-content { max-width: 52rem; margin: 0 auto; }

.contact-form { display: grid; gap: 1rem; }
.contact-form label { display: grid; gap: 0.4rem; color: var(--navy); font-weight: 850; }
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.7rem 0.8rem;
  background: var(--surface);
  color: var(--ink);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  padding: 2rem 3rem;
  background: var(--navy);
  color: #fff;
}

.footer-copy { display: grid; gap: 0.9rem; }
.footer-brand-lockup { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; }
.footer-logo-surface {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 10.25rem;
  min-height: 4.25rem;
  padding: 0.45rem 0.7rem;
  border-radius: var(--radius);
  background: #fff;
}
.footer-logo-surface img { width: 100%; height: auto; }
.footer-crowny { width: 4.75rem; height: 4.75rem; object-fit: contain; }
.site-footer p { max-width: 43rem; color: #d9e7ef; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 1rem; align-content: start; font-weight: 850; }
.site-footer a:hover { color: var(--gold); }

.saved-launcher {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 75;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: var(--red);
  color: #fff;
  font-weight: 900;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.saved-launcher span {
  display: grid;
  place-items: center;
  min-width: 1.5rem;
  min-height: 1.5rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: #fff;
  color: var(--red-dark);
  font-size: 0.82rem;
}

.saved-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 95;
  display: grid;
  grid-template-rows: auto 1fr;
  width: min(26rem, 100vw);
  height: 100vh;
  padding: 1rem;
  background: var(--surface);
  border-left: 1px solid var(--line);
  box-shadow: -18px 0 42px rgba(8, 36, 71, 0.16);
  transform: translateX(100%);
  transition: transform 180ms ease;
}

.saved-drawer.is-open { transform: translateX(0); }
.saved-drawer-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 0.8rem; border-bottom: 1px solid var(--line); }
.saved-drawer h2 { margin: 0; color: var(--navy); font-size: 1.35rem; }
.icon-button {
  display: grid;
  place-items: center;
  width: 44px;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--navy);
  font-size: 1.35rem;
  cursor: pointer;
}
.saved-list { display: grid; align-content: start; gap: 0.75rem; overflow: auto; padding-top: 1rem; }
.saved-empty { color: var(--muted); margin: 0; }
.saved-card {
  display: grid;
  gap: 0.55rem;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.saved-card .deal-result { min-height: auto; padding: 0; border: 0; box-shadow: none; background: transparent; }
.saved-card .save-button { width: 100%; background: var(--surface); }

.toast {
  position: fixed;
  right: 1rem;
  bottom: 4.25rem;
  z-index: 80;
  display: none;
  max-width: 20rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow);
}

.toast.is-visible { display: block; }

.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 90;
  height: 4px;
  width: var(--progress, 0%);
  background: var(--red);
}

@media (max-width: 1050px) {
  .coupon-card { grid-template-columns: 4.5rem minmax(0, 1fr); }
  .coupon-actions { grid-column: 1 / -1; grid-template-columns: minmax(10rem, 1fr) repeat(3, auto); }
  .article-grid,
  .category-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .deal-finder { grid-template-columns: 1fr; }
  .deal-results { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-layout,
  .split,
  .split-section,
  .store-hero,
  .contact-layout,
  .about-hero { grid-template-columns: 1fr; }
  .article-offer { position: static; order: 0; }
}

@media (max-width: 760px) {
  .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    width: 100%;
    padding: 0.55rem 1rem;
  }
  .brand { min-width: 0; }
  .brand img { width: 8.5rem; }
  .nav-toggle { display: inline-flex; align-items: center; justify-self: end; min-width: 4rem; padding: 0 0.75rem; }
  .site-nav {
    position: fixed;
    inset: 4.25rem 0 auto 0;
    display: none;
    padding: 1rem;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: grid; }
  .site-nav a { min-height: 44px; display: flex; align-items: center; }

  .hero { grid-template-columns: minmax(0, 1fr); min-height: 39rem; padding: 9.5rem 1rem 1.5rem; align-items: end; }
  .hero-combined-art {
    top: 5.2rem;
    left: 0.75rem;
    right: 0.75rem;
    width: calc(100% - 1.5rem);
    max-height: 11.5rem;
    transform: none;
    opacity: 0.36;
  }
  .hero-content,
  .hero .search-panel { width: calc(100vw - 2rem); max-width: calc(100vw - 2rem); }
  .hero p { max-width: 100%; }
  .hero .eyebrow { max-width: 18rem; }
  .hero-shade { background: linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.98) 31%, rgba(255, 255, 255, 1)); }
  .hero h1,
  .page-hero h1,
  .store-hero h1 { font-size: 2.55rem; }
  .article-header h1 { font-size: 2.35rem; }
  .section-heading h2,
  .deal-finder-main h2,
  .split h2,
  .split-section h2,
  .side-panel h2,
  .contact-panel h2,
  .article-offer h2,
  .narrow-content h2 { font-size: 1.85rem; }
  .section-wrap,
  .page-hero,
  .store-hero,
  .article-page { padding: 2.4rem 1rem; }
  .metric-band,
  .article-grid,
  .category-card-grid,
  .deal-results,
  .compact-grid { grid-template-columns: 1fr; }
  .deal-controls { grid-template-columns: 1fr; }
  .deal-finder-brand { min-height: 14rem; }
  .metric-band div { padding: 1.1rem 1rem; border-right: 0; border-bottom: 1px solid var(--line); }
  .metric-band div:last-child { border-bottom: 0; }
  .coupon-card { grid-template-columns: 1fr; }
  .store-mark { width: 3.75rem; }
  .coupon-actions,
  .search-row,
  .claim-box { grid-template-columns: 1fr; display: grid; }
  .btn,
  .save-button { width: 100%; }
  .site-footer { grid-template-columns: 1fr; padding: 2rem 1rem; }
  .saved-launcher { left: 0.75rem; right: auto; bottom: 0.75rem; }
  .toast { right: 0.75rem; bottom: 4rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Small review cards with overlaid brand icon for homepage + blog */
.article-card.small { font-size: 0.85rem; line-height: 1.3; }
.article-card.small .thumb-wrap,
.article-card .thumb-wrap { position: relative; display: block; overflow: visible; padding: 0 1rem; box-sizing: border-box; }
.article-card.small img { aspect-ratio: 16/9; max-height: 70px; object-fit: cover; border-radius: 6px; }
.article-card.small .brand-overlay,
.article-card .brand-overlay {
  position: absolute; top: 4px; right: 4px; 
  width: 24px; 
  height: 24px;
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: 3px; 
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
  background: white;
  padding: 1px;
  object-fit: contain;
}

/* === v4 Design & Interactivity Improvements (modern professional polish) === */
:root {
  --radius-lg: 12px;
  --transition: 180ms cubic-bezier(0.2, 0, 0, 1);
  --focus: #f4c74d;
}

.btn, .save-button {
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  will-change: transform;
}
.btn:hover { transform: translateY(-1px); }
.btn.primary:hover { box-shadow: 0 6px 16px rgba(201, 31, 44, 0.25); }
.btn.secondary:hover { background: #f8f1d9; border-color: var(--gold); }

.coupon-card, .category-card, .store-card, .deal-result {
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  border: 1px solid var(--line);
}
.coupon-card:hover, .category-card:hover, .store-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 45px rgba(8, 36, 71, 0.13);
  border-color: #c9d6dd;
}

.coupon-card .code-box {
  background: var(--surface);
  border: 1px solid var(--line);
}

.article-offer {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fff 0%, #fffaf5 100%);
}

.category-card-grid .category-card {
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.category-card-grid .category-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(var(--red), var(--gold));
  opacity: 0.15;
}
.category-card-grid .category-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(8,36,71,0.1);
}

.category-hero-banner {
  display: block;
  width: 100%;
  max-height: 180px;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius);
  margin: 1rem 0;
  box-shadow: var(--shadow);
  background: #f8f9fa;
}
.category-card h3 { font-size: 1.05rem; margin: 0.25rem 0; }

.hero {
  background: linear-gradient(135deg, #f8fbfc 0%, #f0f7f6 55%, #eaf3f2 100%);
}

.site-header {
  transition: box-shadow var(--transition);
}
.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(8,36,71,0.08);
}

/* Improved modal for claim steps - more interactive */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(8,36,71,0.65); z-index: 200; display: none; align-items: center; justify-content: center; padding: 1rem;
}
.modal-backdrop.is-open { display: flex; }
.modal {
  background: var(--surface); border-radius: var(--radius-lg); max-width: 520px; width: 100%; box-shadow: 0 30px 80px rgba(0,0,0,0.35); overflow: hidden;
}
.modal-header { padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.modal-body { padding: 1.25rem; }
.modal-footer { padding: 0.9rem 1.25rem; border-top: 1px solid var(--line); display: flex; gap: 0.6rem; justify-content: flex-end; background: var(--soft); }
.step-list { list-style: none; padding: 0; margin: 0; }
.step-list li { display: flex; gap: 0.75rem; padding: 0.6rem 0; border-bottom: 1px solid var(--line); }
.step-list li:last-child { border-bottom: 0; }
.step-num { font-weight: 800; color: var(--red); width: 1.6rem; flex: none; }

/* Accordion for article FAQs and sections - interactive */
.accordion { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 1rem 0; }
.accordion + .accordion { margin-top: 0.6rem; }
.accordion-header { width: 100%; text-align: left; padding: 0.85rem 1rem; background: var(--surface); font-weight: 700; display: flex; justify-content: space-between; align-items: center; cursor: pointer; border: 0; }
.accordion-header:hover { background: var(--soft); }
.accordion-header::after { content: "+"; font-size: 1.4rem; line-height: 1; transition: transform var(--transition); }
.accordion-header[aria-expanded="true"]::after { content: "–"; transform: rotate(180deg); }
.accordion-panel { padding: 0 1rem 1rem; display: none; border-top: 1px solid var(--line); background: #fff; }
.accordion-panel.is-open { display: block; }

/* Simple savings calculator styles */
.savings-calc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.1rem; }
.savings-calc label { font-size: 0.9rem; color: var(--muted); display: block; margin: 0.4rem 0 0.2rem; }
.savings-calc input, .savings-calc select { width: 100%; padding: 0.55rem 0.7rem; border: 1px solid var(--line); border-radius: 6px; }
.savings-result { margin-top: 0.85rem; padding: 0.7rem; background: #f0f7f4; border-radius: 6px; font-weight: 700; }
.savings-result small { font-weight: 500; color: var(--muted); display: block; }

/* Better search and filters */
.filter-bar { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 1rem; }
.filter-chip { padding: 0.35rem 0.85rem; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 0.9rem; cursor: pointer; }
.filter-chip.active, .filter-chip:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

.search-results .result { padding: 0.5rem 0.75rem; border-radius: 6px; }
.search-results .result:hover { background: var(--soft); }

/* Enhanced mobile nav */
@media (max-width: 760px) {
  .site-nav.is-open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 1rem; border-bottom: 1px solid var(--line); z-index: 60; box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
}

/* Subtle brand elements */
.footer-crowny { filter: saturate(0.95); }
.brand img { transition: transform var(--transition); }
.brand:hover img { transform: scale(1.01); }

/* Focus and a11y polish */
button:focus-visible, .filter-chip:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
