/* ==========================================================================
   Discount Code — design system
   Pure CSS, mobile-first. No frameworks.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --navy-950: #070f24;
  --navy-900: #0b1b3a;
  --navy-800: #10254d;
  --navy-700: #16306a;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-100: #dbeafe;
  --blue-50: #eff6ff;
  --mint-600: #059669;
  --mint-500: #10b981;
  --mint-100: #d1fae5;
  --mint-50: #ecfdf5;
  --amber-100: #fef3c7;
  --amber-700: #b45309;
  --red-600: #dc2626;
  --red-50: #fef2f2;
  --grey-50: #f6f8fb;
  --grey-100: #eef2f7;
  --grey-200: #e2e8f0;
  --grey-300: #cbd5e1;
  --grey-500: #64748b;
  --grey-700: #334155;
  --ink: #0f172a;
  --white: #ffffff;

  --bg: var(--white);
  --bg-alt: var(--grey-50);
  --text: var(--ink);
  --text-muted: var(--grey-500);
  --border: var(--grey-200);
  --brand: var(--blue-600);
  --brand-strong: var(--navy-900);
  --accent: var(--mint-600);

  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .08);
  --shadow: 0 6px 20px -8px rgba(11, 27, 58, .18), 0 2px 6px rgba(11, 27, 58, .06);
  --shadow-lg: 0 24px 48px -16px rgba(11, 27, 58, .28);
  --ring: 0 0 0 3px rgba(37, 99, 235, .35);

  --container: 1200px;
  --gutter: 16px;
  --header-h: 68px;
}

@media (min-width: 768px) { :root { --gutter: 24px; --header-h: 76px; } }

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; color: var(--brand-strong); }
h1 { font-size: clamp(1.85rem, 2.2vw + 1.2rem, 2.9rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.4rem, 1.2vw + 1rem, 1.9rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 2px; border-radius: 4px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 1000; background: var(--navy-900); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { top: 8px; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding: 48px 0; }
@media (min-width: 768px) { .section { padding: 72px 0; } }
.section--alt { background: var(--bg-alt); }
.section--tight { padding: 32px 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; margin-bottom: 24px; }
.section-head h2 { margin: 0; }
.section-head p { margin: 4px 0 0; color: var(--text-muted); max-width: 60ch; }
.section-head .link-more { font-weight: 600; white-space: nowrap; }
.lede { font-size: 1.1rem; color: var(--grey-700); max-width: 64ch; }
.muted { color: var(--text-muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 10px 20px; border-radius: 12px; border: 1px solid transparent;
  font-weight: 600; font-size: .95rem; line-height: 1.2; text-decoration: none; white-space: nowrap;
  transition: background-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--blue-600); color: #fff; box-shadow: 0 6px 16px -6px rgba(37, 99, 235, .55); }
.btn--primary:hover { background: #1d4ed8; }
.btn--accent { background: var(--mint-600); color: #fff; box-shadow: 0 6px 16px -6px rgba(5, 150, 105, .55); }
.btn--accent:hover { background: #047857; }
.btn--dark { background: var(--navy-900); color: #fff; }
.btn--dark:hover { background: var(--navy-700); }
.btn--outline { background: transparent; border-color: var(--grey-300); color: var(--navy-900); }
.btn--outline:hover { background: var(--grey-50); border-color: var(--grey-500); }
.btn--ghost { background: transparent; color: var(--brand); padding-left: 8px; padding-right: 8px; }
.btn--ghost:hover { background: var(--blue-50); }
.btn--light { background: #fff; color: var(--navy-900); }
.btn--light:hover { background: var(--grey-100); }
.btn--block { width: 100%; }
.btn--sm { min-height: 38px; padding: 6px 14px; font-size: .875rem; border-radius: 10px; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- Badges / pills ---------- */
.badge { display: inline-flex; align-items: center; gap: 4px; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; line-height: 1.2; }
.badge--code { background: var(--blue-100); color: #1e3a8a; }
.badge--deal { background: var(--mint-100); color: #065f46; }
.badge--demo { background: var(--amber-100); color: var(--amber-700); }
.badge--neutral { background: var(--grey-100); color: var(--grey-700); }
.badge--tag { background: var(--navy-900); color: #fff; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--grey-100); color: var(--grey-700); font-size: .85rem; font-weight: 600; text-decoration: none; }
.pill:hover { background: var(--blue-100); color: var(--navy-900); text-decoration: none; }

/* ---------- Notices ---------- */
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--grey-50); font-size: .925rem; }
.notice svg { flex: none; width: 20px; height: 20px; margin-top: 2px; }
.notice--demo { background: var(--amber-100); border-color: #fcd34d; color: #78350f; }
.notice--info { background: var(--blue-50); border-color: var(--blue-100); color: #1e3a8a; }
.notice p { margin: 0; }
.notice a { color: inherit; text-decoration: underline; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-bar { display: flex; align-items: center; gap: 12px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy-900); font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; text-decoration: none; white-space: nowrap; flex: none; }
.brand:hover { text-decoration: none; }
.brand svg { width: 36px; height: 36px; }
.brand span b { color: var(--blue-600); }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-left: auto; border: 1px solid var(--border); background: #fff; border-radius: 10px; }
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.site-nav { display: none; }
.site-nav.is-open { display: block; position: absolute; left: 0; right: 0; top: var(--header-h); background: #fff; border-bottom: 1px solid var(--border); box-shadow: var(--shadow); max-height: calc(100vh - var(--header-h)); overflow: auto; }
.nav-list { list-style: none; margin: 0; padding: 8px var(--gutter) 16px; display: flex; flex-direction: column; }
.nav-list > li > a, .nav-list > li > button { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 12px 8px; border: 0; background: none; color: var(--navy-900); font-weight: 600; font-size: 1rem; text-align: left; border-radius: 8px; text-decoration: none; }
.nav-list > li > a:hover, .nav-list > li > button:hover { background: var(--grey-50); }
.nav-list > li > a[aria-current="page"] { color: var(--blue-600); }
.nav-list > li > button svg { width: 16px; height: 16px; transition: transform .18s ease; }
.nav-list > li > button[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-sub { display: none; list-style: none; margin: 0; padding: 4px 8px 8px 16px; }
.nav-sub.is-open { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 12px; }
.nav-sub a { display: block; padding: 8px; color: var(--grey-700); border-radius: 8px; font-size: .95rem; text-decoration: none; }
.nav-sub a:hover { background: var(--blue-50); color: var(--navy-900); }
.nav-sub .nav-sub__all { grid-column: 1 / -1; font-weight: 600; color: var(--blue-600); }

.header-search { display: none; }
.site-nav.is-open .header-search { display: block; padding: 8px var(--gutter) 4px; }

@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .site-nav { display: flex; align-items: center; flex: 1; gap: 8px; margin-left: 12px; }
  .site-nav.is-open { position: static; box-shadow: none; border: 0; background: transparent; max-height: none; overflow: visible; }
  .nav-list { flex-direction: row; padding: 0; gap: 2px; }
  .nav-list > li { position: relative; }
  .nav-list > li > a, .nav-list > li > button { width: auto; padding: 10px 12px; font-size: .95rem; white-space: nowrap; }
  .nav-sub, .nav-sub.is-open { display: none; position: absolute; top: calc(100% + 6px); left: 0; min-width: 440px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 10px; grid-template-columns: 1fr 1fr; gap: 2px 8px; }
  .nav-list > li > button[aria-expanded="true"] + .nav-sub { display: grid; }
  .header-search, .site-nav.is-open .header-search { display: block; margin-left: auto; width: min(360px, 34vw); padding: 0; }
}

/* ---------- Search ---------- */
.search { position: relative; }
.search__form { display: flex; align-items: center; background: #fff; border: 1px solid var(--grey-300); border-radius: 14px; padding: 4px 4px 4px 14px; box-shadow: var(--shadow-sm); transition: box-shadow .18s ease, border-color .18s ease; }
.search__form:focus-within { border-color: var(--blue-500); box-shadow: var(--ring); }
.search__form svg { width: 20px; height: 20px; color: var(--grey-500); flex: none; }
.search__input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 10px; font-size: 1rem; outline: none; }
.search__input::placeholder { color: var(--grey-500); }
.search__submit { flex: none; }
.search--hero .search__form { padding: 6px 6px 6px 18px; border-radius: 18px; box-shadow: var(--shadow-lg); border-color: transparent; }
.search--hero .search__input { font-size: 1.05rem; padding: 12px 8px; min-height: 48px; }
.search__results { position: absolute; z-index: 60; left: 0; right: 0; top: calc(100% + 8px); background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); max-height: 70vh; overflow: auto; padding: 6px; text-align: left; }
.search__results[hidden] { display: none; }
.search__group { padding: 8px 10px 4px; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--grey-500); }
.search__item { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 10px; color: var(--text); text-decoration: none; }
.search__item:hover, .search__item[aria-selected="true"] { background: var(--blue-50); text-decoration: none; }
.search__item .logo-tile { width: 34px; height: 34px; font-size: .75rem; border-radius: 8px; }
.search__item b { display: block; font-weight: 600; color: var(--navy-900); }
.search__item small { display: block; color: var(--grey-500); font-size: .8rem; }
.search__empty { padding: 14px 12px; color: var(--grey-700); font-size: .95rem; }
.search__empty a { font-weight: 600; }

/* ---------- Logo tile (placeholder retailer mark) ---------- */
.logo-tile { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 14px; background: var(--brand-strong); color: #fff; font-weight: 800; font-size: 1.05rem; letter-spacing: -.02em; flex: none; }
.logo-tile img { width: 100%; height: 100%; object-fit: contain; border-radius: inherit; background: #fff; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 600px at 85% -10%, rgba(37, 99, 235, .55), transparent 60%), radial-gradient(900px 500px at -10% 110%, rgba(16, 185, 129, .35), transparent 60%), linear-gradient(135deg, var(--navy-950), var(--navy-800)); color: #fff; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%); pointer-events: none; }
.hero .container { position: relative; }
.hero__grid { display: grid; gap: 32px; align-items: center; padding-top: 56px; padding-bottom: 64px; }
.hero h1 { color: #fff; margin-bottom: 16px; max-width: 16ch; }
.hero p { color: rgba(255,255,255,.82); font-size: 1.1rem; max-width: 56ch; }
.hero .search { margin-top: 24px; max-width: 640px; }
.hero__benefits { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 20px; font-size: .9rem; color: rgba(255,255,255,.85); }
.hero__benefits li { display: flex; align-items: center; gap: 8px; }
.hero__benefits svg { width: 18px; height: 18px; color: var(--mint-500); }
.hero__art { display: none; }
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.15fr .85fr; padding-top: 80px; padding-bottom: 88px; }
  .hero__art { display: block; justify-self: end; width: min(100%, 420px); }
}
.hero--compact { padding: 40px 0 44px; }
.hero--compact h1 { max-width: none; }
.hero--light { background: linear-gradient(180deg, var(--blue-50), #fff); color: var(--text); }
.hero--light::before { display: none; }
.hero--light h1 { color: var(--navy-900); }
.hero--light p { color: var(--grey-700); }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { font-size: .85rem; color: var(--grey-500); padding: 14px 0 0; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 6px; }
.breadcrumbs li + li::before { content: "›"; margin-right: 6px; color: var(--grey-300); }
.breadcrumbs a { color: var(--grey-500); }
.breadcrumbs a:hover { color: var(--blue-600); }
.breadcrumbs [aria-current] { color: var(--grey-700); font-weight: 600; }
.hero .breadcrumbs, .hero .breadcrumbs a, .hero .breadcrumbs [aria-current] { color: rgba(255,255,255,.75); }
.hero .breadcrumbs li + li::before { color: rgba(255,255,255,.4); }
.hero--light .breadcrumbs, .hero--light .breadcrumbs a { color: var(--grey-500); }
.hero--light .breadcrumbs [aria-current] { color: var(--grey-700); }
.hero--light .breadcrumbs li + li::before { color: var(--grey-300); }

/* ---------- Grids ---------- */
.grid { display: grid; gap: 16px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--retailers { grid-template-columns: repeat(2, 1fr); }
.grid--offers { grid-template-columns: 1fr; }
.grid--categories { grid-template-columns: repeat(2, 1fr); }
.grid--guides { grid-template-columns: 1fr; }
.grid--steps { grid-template-columns: 1fr; }
.grid--features { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .grid--retailers { grid-template-columns: repeat(3, 1fr); }
  .grid--offers { grid-template-columns: repeat(2, 1fr); }
  .grid--categories { grid-template-columns: repeat(3, 1fr); }
  .grid--guides { grid-template-columns: repeat(2, 1fr); }
  .grid--features { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid { gap: 20px; }
  .grid--retailers { grid-template-columns: repeat(6, 1fr); }
  .grid--retailers.grid--retailers-4 { grid-template-columns: repeat(4, 1fr); }
  .grid--offers { grid-template-columns: repeat(3, 1fr); }
  .grid--categories { grid-template-columns: repeat(4, 1fr); }
  .grid--guides { grid-template-columns: repeat(3, 1fr); }
  .grid--steps { grid-template-columns: repeat(3, 1fr); }
  .grid--features { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Cards ---------- */
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease; }
.card:hover { box-shadow: var(--shadow); border-color: var(--grey-300); }
a.card { color: inherit; text-decoration: none; display: block; }
a.card:hover { text-decoration: none; }

.retailer-card { padding: 18px 14px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.retailer-card .logo-tile { width: 60px; height: 60px; }
.retailer-card h3, .retailer-card strong { font-size: .95rem; margin: 0; color: var(--navy-900); font-weight: 700; }
.retailer-card .small { color: var(--grey-500); }
.retailer-card:hover h3 { color: var(--blue-600); }

.offer-card { display: flex; flex-direction: column; padding: 18px; gap: 12px; position: relative; }
.offer-card__top { display: flex; align-items: center; gap: 12px; }
.offer-card__top .logo-tile { width: 44px; height: 44px; font-size: .85rem; border-radius: 10px; }
.offer-card__retailer { font-weight: 600; color: var(--grey-700); font-size: .9rem; margin: 0; }
.offer-card__retailer a { color: inherit; }
.offer-card__badges { margin-left: auto; display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.offer-card h3 { font-size: 1.12rem; margin: 0; }
.offer-card p { margin: 0; color: var(--grey-700); font-size: .925rem; }
.offer-card__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .8rem; color: var(--grey-500); margin: 0; }
.offer-card__meta span { display: inline-flex; align-items: center; gap: 5px; }
.offer-card__meta svg { width: 14px; height: 14px; }
.offer-card__actions { margin-top: auto; display: flex; gap: 10px; align-items: center; padding-top: 4px; }
.offer-card--featured { grid-column: 1 / -1; background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); color: #fff; border: 0; }
.offer-card--featured h3, .offer-card--featured .offer-card__retailer, .offer-card--featured p, .offer-card--featured .offer-card__meta { color: #fff; }
.offer-card--featured p, .offer-card--featured .offer-card__meta { color: rgba(255,255,255,.8); }
.offer-card--featured .logo-tile { outline: 2px solid rgba(255,255,255,.25); }
.offer-card--featured .offer-card__retailer a { color: #fff; }
@media (min-width: 1024px) { .offer-card--featured { grid-column: span 2; padding: 28px; } .offer-card--featured h3 { font-size: 1.5rem; } }
.offer-card--expired { opacity: .7; }
.code-btn { position: relative; overflow: hidden; padding-right: 82px; }
.code-btn::after { content: attr(data-peek); position: absolute; right: -2px; top: -2px; bottom: -2px; width: 68px; background: #fff; color: var(--grey-500); font-family: var(--mono); font-size: .8rem; display: flex; align-items: center; justify-content: flex-end; padding-right: 10px; border: 1px solid var(--grey-300); border-left: 0; border-radius: 0 12px 12px 0; clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%); letter-spacing: .05em; }
.offer-card--featured .code-btn::after { border-color: transparent; }

.category-card { padding: 22px 18px; display: flex; flex-direction: column; gap: 10px; }
.category-card__icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-600); }
.category-card__icon svg { width: 24px; height: 24px; }
.category-card:hover .category-card__icon { background: var(--blue-600); color: #fff; }
.category-card h3 { margin: 0; font-size: 1.05rem; }
.category-card p { margin: 0; font-size: .875rem; color: var(--grey-500); }
.category-card .small { margin-top: auto; color: var(--blue-600); font-weight: 600; }

.guide-card { padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.guide-card__topic { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--mint-600); }
.guide-card h3 { margin: 0; font-size: 1.1rem; }
.guide-card p { margin: 0; color: var(--grey-700); font-size: .925rem; }
.guide-card .small { margin-top: auto; color: var(--grey-500); }

.step-card { padding: 26px 22px; position: relative; }
.step-card__num { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue-600), var(--mint-500)); color: #fff; font-weight: 800; margin-bottom: 14px; }
.step-card__num svg { width: 22px; height: 22px; }
.step-card h3 { margin-bottom: 6px; }
.step-card p { margin: 0; color: var(--grey-700); }

.feature { padding: 22px; }
.feature svg { width: 28px; height: 28px; color: var(--blue-600); margin-bottom: 10px; }
.feature h3 { font-size: 1.05rem; }
.feature p { margin: 0; color: var(--grey-700); font-size: .925rem; }
.feature p + p, .feature p + h4 { margin-top: 10px; }
.feature h4 { font-size: .95rem; margin: 14px 0 4px; color: var(--navy-900); }
.explainer .feature h3 { font-size: 1.1rem; }
h4 { font-size: 1rem; }
.prose h4 { margin-top: 1.25em; margin-bottom: .4em; }
.content-block > h2 + p, .content-block > p + p { margin-top: 0; }

.season-list { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .season-list { grid-template-columns: repeat(4, 1fr); } }
.season-card { padding: 18px; border-radius: var(--radius); background: #fff; border: 1px solid var(--border); color: inherit; text-decoration: none; display: block; }
.season-card:hover { border-color: var(--blue-500); text-decoration: none; }
.season-card strong { display: block; color: var(--navy-900); }
.season-card span { font-size: .85rem; color: var(--grey-500); }

/* ---------- Store directory ---------- */
.az-nav { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0; }
.az-nav a, .az-nav span { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 8px; border-radius: 10px; font-weight: 700; font-size: .9rem; border: 1px solid var(--border); background: #fff; color: var(--navy-900); text-decoration: none; }
.az-nav a:hover { background: var(--blue-600); color: #fff; border-color: var(--blue-600); }
.az-nav span { color: var(--grey-300); background: var(--grey-50); }
.az-group { padding: 24px 0; border-top: 1px solid var(--border); scroll-margin-top: calc(var(--header-h) + 12px); }
.az-group h2 { display: flex; align-items: center; gap: 12px; }
.az-group h2 span { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--navy-900); color: #fff; font-size: 1.1rem; }
.store-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .store-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .store-list { grid-template-columns: repeat(3, 1fr); } }
.store-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--border); background: #fff; color: inherit; text-decoration: none; }
.store-row:hover { border-color: var(--blue-500); text-decoration: none; }
.store-row .logo-tile { width: 40px; height: 40px; font-size: .8rem; border-radius: 10px; }
.store-row b { display: block; color: var(--navy-900); }
.store-row small { color: var(--grey-500); }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 16px 0 20px; }
.filter-bar .pill[aria-pressed="true"] { background: var(--navy-900); color: #fff; }
.filter-status { font-size: .9rem; color: var(--grey-500); }
.empty-state { padding: 32px 20px; text-align: center; border: 1px dashed var(--grey-300); border-radius: var(--radius); color: var(--grey-700); background: var(--grey-50); }
.empty-state h3 { margin-bottom: 6px; }
.empty-state p { margin: 0 0 12px; }

/* ---------- Retailer page ---------- */
.store-hero { background: linear-gradient(180deg, var(--grey-50), #fff); border-bottom: 1px solid var(--border); }
.store-hero__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; padding: 28px 0 32px; }
.store-hero .logo-tile { width: 88px; height: 88px; border-radius: 22px; font-size: 1.5rem; box-shadow: var(--shadow); }
.store-hero h1 { margin-bottom: 6px; }
.store-hero__text { flex: 1; min-width: 260px; }
.store-hero__meta { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: .875rem; color: var(--grey-500); margin-top: 8px; }
.store-hero__meta span, .article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.store-hero__meta svg, .article-meta svg { width: 16px; height: 16px; flex: none; }
.store-hero__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.layout { display: grid; gap: 32px; }
@media (min-width: 1024px) { .layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; } }
.sidebar > * + * { margin-top: 20px; }
.side-box { padding: 20px; border-radius: var(--radius); border: 1px solid var(--border); background: #fff; }
.side-box h2, .side-box h3 { font-size: 1rem; margin-bottom: 10px; }
.side-box ul { list-style: none; margin: 0; padding: 0; }
.side-box li + li { margin-top: 6px; }
.side-box--brand { background: var(--navy-900); color: #fff; border: 0; }
.side-box--brand h3 { color: #fff; }
.side-box--brand p { color: rgba(255,255,255,.8); font-size: .9rem; }
.content-block { margin-top: 40px; }
.content-block h2 { margin-bottom: 12px; }
.content-block ol, .content-block ul { margin: 0 0 1em; }
.content-block li { margin-bottom: .4em; }
.save-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
@media (min-width: 640px) { .save-list { grid-template-columns: repeat(2, 1fr); } }
.save-list li { padding: 16px; border-radius: var(--radius-sm); background: var(--grey-50); border: 1px solid var(--border); }
.save-list b, .save-list h3 { display: block; color: var(--navy-900); margin: 0 0 4px; font-size: 1rem; letter-spacing: 0; }
.save-list p { margin: 0; font-size: .925rem; color: var(--grey-700); }
.offer-list { display: grid; gap: 16px; }
.offer-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }

/* ---------- Accordion (details) ---------- */
.accordion { border-top: 1px solid var(--border); }
.accordion details { border-bottom: 1px solid var(--border); }
.accordion summary { list-style: none; cursor: pointer; padding: 16px 40px 16px 0; font-weight: 600; color: var(--navy-900); position: relative; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--blue-600); border-bottom: 2px solid var(--blue-600); transform: translateY(-70%) rotate(45deg); transition: transform .18s ease; }
.accordion details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.accordion summary:hover { color: var(--blue-600); }
.accordion summary h3 { display: inline; font-size: 1rem; font-weight: 600; margin: 0; color: inherit; letter-spacing: 0; line-height: 1.4; }
.accordion .accordion__body { padding: 0 0 16px; color: var(--grey-700); }
.accordion .accordion__body p:last-child { margin-bottom: 0; }

/* ---------- Prose (guides, policies) ---------- */
.prose { max-width: 72ch; }
.prose h2 { margin-top: 2em; }
.prose h3 { margin-top: 1.5em; }
.prose p, .prose li { color: var(--grey-700); font-size: 1.03rem; }
.prose li { margin-bottom: .35em; }
.prose a { text-decoration: underline; text-decoration-color: var(--blue-100); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--blue-600); }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 1em 0; }
.prose th, .prose td { text-align: left; padding: 10px; border-bottom: 1px solid var(--border); vertical-align: top; }
.prose th { color: var(--navy-900); }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; color: var(--grey-500); font-size: .9rem; margin-bottom: 24px; }
.article-grid { display: grid; gap: 40px; }
@media (min-width: 1024px) { .article-grid { grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; } }
.toc { padding: 16px 18px; border-radius: var(--radius); background: var(--grey-50); border: 1px solid var(--border); font-size: .9rem; }
.toc ol { margin: 8px 0 0; padding-left: 1.2em; }
.toc li { margin-bottom: 4px; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; max-width: 640px; }
.form-row { display: grid; gap: 6px; }
.form-row label { font-weight: 600; color: var(--navy-900); }
.form-row .hint { font-size: .85rem; color: var(--grey-500); }
.form-row input, .form-row textarea, .form-row select { width: 100%; padding: 11px 14px; border-radius: 10px; border: 1px solid var(--grey-300); background: #fff; min-height: 46px; }
.form-row textarea { min-height: 140px; resize: vertical; }
.form-row input:focus, .form-row textarea:focus, .form-row select:focus { border-color: var(--blue-500); box-shadow: var(--ring); outline: none; }
.form-row input[aria-invalid="true"], .form-row textarea[aria-invalid="true"] { border-color: var(--red-600); }
.form-error { color: var(--red-600); font-size: .875rem; }
.form-check { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.form-check input { width: 20px; height: 20px; margin-top: 2px; flex: none; }
.form-status { padding: 14px; border-radius: 10px; font-size: .95rem; }
.form-status--ok { background: var(--mint-50); color: #065f46; border: 1px solid var(--mint-100); }
.form-status--err { background: var(--red-50); color: #991b1b; border: 1px solid #fecaca; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: flex-end; justify-content: center; padding: 0; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(7, 15, 36, .6); backdrop-filter: blur(2px); }
.modal__dialog { position: relative; width: 100%; max-width: 520px; max-height: 92vh; overflow: auto; background: #fff; border-radius: 22px 22px 0 0; box-shadow: var(--shadow-lg); padding: 24px 20px 28px; animation: modal-in .22s ease-out; }
@media (min-width: 640px) { .modal { align-items: center; padding: 20px; } .modal__dialog { border-radius: 22px; padding: 28px; } }
@keyframes modal-in { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }
.modal__close { position: absolute; right: 12px; top: 12px; width: 40px; height: 40px; border-radius: 10px; border: 0; background: var(--grey-100); display: grid; place-items: center; }
.modal__close svg { width: 18px; height: 18px; }
.modal__close:hover { background: var(--grey-200); }
.modal__head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; padding-right: 44px; }
.modal__head .logo-tile { width: 48px; height: 48px; }
.modal__head h2 { font-size: 1.15rem; margin: 0; }
.modal__head p { margin: 0; color: var(--grey-500); font-size: .9rem; }
.code-box { display: flex; align-items: stretch; gap: 8px; margin: 16px 0; }
.code-box__value { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 54px; border: 2px dashed var(--blue-500); border-radius: 12px; background: var(--blue-50); font-family: var(--mono); font-size: 1.25rem; font-weight: 700; letter-spacing: .08em; color: var(--navy-900); padding: 8px 12px; word-break: break-all; user-select: all; }
.code-box .btn { min-height: 54px; }
.copy-status { min-height: 22px; font-size: .9rem; color: var(--mint-600); font-weight: 600; margin: -6px 0 10px; }
.modal__terms { font-size: .875rem; color: var(--grey-700); background: var(--grey-50); padding: 12px 14px; border-radius: 10px; margin: 0 0 16px; }
.modal__terms dl { margin: 0; display: grid; gap: 4px; }
.modal__terms dt { font-weight: 600; color: var(--navy-900); }
.modal__terms dd { margin: 0 0 6px; }
.modal__actions { display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 640px) { .modal__actions { flex-direction: row; } .modal__actions .btn { flex: 1; } }
.modal__demo { margin-top: 14px; }
body.modal-open { overflow: hidden; }

/* ---------- Cookie banner ---------- */
.cookie-banner { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 18px; max-width: 560px; margin: 0 auto; }
.cookie-banner p { margin: 0 0 12px; font-size: .925rem; color: var(--grey-700); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: rgba(255,255,255,.78); margin-top: 48px; }
.footer-top { display: grid; gap: 32px; padding: 56px 0 40px; }
@media (min-width: 640px) { .footer-top { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-top { grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; } }
.footer-brand .brand { color: #fff; }
.footer-brand .brand span b { color: var(--mint-500); }
.footer-brand p { font-size: .925rem; margin-top: 14px; max-width: 36ch; }
.footer-col h2 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: rgba(255,255,255,.78); font-size: .95rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0 28px; font-size: .85rem; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: rgba(255,255,255,.7); }
.footer-disclosure { font-size: .85rem; color: rgba(255,255,255,.6); margin: 0 0 20px; max-width: 90ch; }

/* ---------- Utilities ---------- */
.flow > * + * { margin-top: 1em; }
.cluster { display: flex; flex-wrap: wrap; gap: 8px; }
.stack-sm > * + * { margin-top: 8px; }
.cta-band { background: linear-gradient(135deg, var(--blue-600), var(--navy-800)); color: #fff; border-radius: var(--radius-lg); padding: 32px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.cta-band h2 { color: #fff; margin: 0 0 4px; }
.cta-band p { margin: 0; color: rgba(255,255,255,.85); }
.stat-list { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); }
.err-page { text-align: center; padding: 80px 0; }
.err-page .big { font-size: clamp(4rem, 12vw, 8rem); font-weight: 800; line-height: 1; color: var(--blue-100); margin-bottom: 8px; }
.note-dates { font-size: .85rem; color: var(--grey-500); }
.sr-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.icon { width: 1em; height: 1em; }

/* ---------- Photography ---------- */
.card-media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--grey-100); border-radius: var(--radius) var(--radius) 0 0; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
a.card:hover .card-media img { transform: scale(1.04); }

.category-card--photo, .guide-card--photo { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.category-card__body, .guide-card__body { display: flex; flex-direction: column; gap: 8px; padding: 18px; flex: 1; position: relative; }
.category-card--photo .category-card__icon { position: absolute; top: -24px; left: 16px; background: #fff; box-shadow: var(--shadow); }
.category-card--photo .category-card__body { padding-top: 30px; }
.category-card--photo:hover .category-card__icon { background: var(--blue-600); color: #fff; }
.guide-card--photo .guide-card__body { padding: 18px 20px 22px; }
@media (max-width: 639px) {
  .grid--categories .category-card--photo p { display: none; }
  .category-card--photo .category-card__body { padding: 26px 14px 14px; }
}

/* Homepage hero photo */
.hero__media { display: none; position: relative; margin: 0; }
.hero__media > img:first-child { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 26px; box-shadow: 0 30px 60px -20px rgba(2, 6, 23, .7); outline: 1px solid rgba(255,255,255,.12); outline-offset: 8px; }
.hero__chip { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: rgba(255,255,255,.96); color: var(--navy-900); font-size: .88rem; font-weight: 600; box-shadow: 0 18px 36px -12px rgba(2, 6, 23, .55); white-space: nowrap; }
.hero__chip--code { left: -32px; bottom: 28px; }
.hero__chip--deal { right: -18px; top: 24px; }
@media (min-width: 900px) { .hero__media { display: block; justify-self: end; width: min(100%, 480px); margin-bottom: 40px; } }

/* Light heroes with a photo */
.hero-split { display: grid; gap: 24px; align-items: center; }
.hero-split__media { display: none; margin: 0; }
.hero-split__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
@media (min-width: 1024px) {
  .hero-split { grid-template-columns: minmax(0, 1fr) 420px; gap: 48px; }
  .hero-split__media { display: block; }
}

/* Article lead image */
.article-figure { margin: 0 0 28px; }
.article-figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-lg); }
.article-figure figcaption { font-size: .8rem; color: var(--grey-500); margin-top: 8px; }
.article-figure figcaption a { color: inherit; }

/* Credits */
.credit-list { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .credit-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .credit-list { grid-template-columns: repeat(3, 1fr); } }
.credit-list li { display: flex; gap: 12px; align-items: center; padding: 10px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: #fff; }
.credit-list img { width: 96px; height: 64px; object-fit: cover; border-radius: 8px; flex: none; }
.credit-list p { margin: 0; font-size: .85rem; color: var(--grey-700); }
