/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -moz-text-size-adjust: none; -webkit-text-size-adjust: none; text-size-adjust: none; }
a { text-decoration: none; color: inherit; text-decoration-skip-ink: auto; }
img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; }
button { background: none; border: none; cursor: pointer; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* Design System — Neobrutalist */
:root {
  /* --- Color Tokens --- */
  --text: #1a1a1a;
  --text-secondary: #666;
  --text-muted: #999;
  --text-faint: #999;
  --text-disabled: #ccc;
  --bg: #faf8f5;
  --surface: #f0ede8;
  --surface-elevated: #fefefe;
  --accent: #ffe156;
  --accent-hover: #ffd700;
  --accent-light: rgba(255, 225, 86, 0.15);
  --accent-subtle: rgba(255, 225, 86, 0.08);
  --accent-pink: #ff6b9d;
  --accent-orange: #ff9f43;
  --accent-purple: #a55eea;
  --accent-teal: #00d2d3;
  --border: #1a1a1a;
  --border-strong: #1a1a1a;
  --border-light: #e0ddd8;
  --border-product: #1a1a1a;
  --success: #2ed573;
  --success-bg: rgba(46, 213, 115, 0.15);
  --error: #ff4757;
  --highlight: #ffe156;
  --sale: #ff4757;
  --bg-soft: #faf8f5;
  --bg-card: #fefefe;

  /* --- Typography Tokens --- */
  --font-heading: 'Bangers', cursive;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --font-body: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Bangers', cursive;
  --font-sans: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-size-xs: clamp(0.625rem, 0.6rem + 0.15vw, 0.6875rem);
  --font-size-sm: clamp(0.75rem, 0.72rem + 0.15vw, 0.8125rem);
  --font-size-base: clamp(0.875rem, 0.83rem + 0.25vw, 1rem);
  --font-size-lg: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --font-size-xl: clamp(1.125rem, 1.05rem + 0.35vw, 1.25rem);
  --font-size-2xl: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  --font-size-3xl: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  --font-size-4xl: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem);

  /* --- Spacing Scale --- */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;

  /* --- Border Radius --- */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 9999px;

  /* --- Shadows (neobrutalist offset) --- */
  --shadow-sm: 2px 2px 0 #1a1a1a;
  --shadow-md: 4px 4px 0 #1a1a1a;
  --shadow-lg: 6px 6px 0 #1a1a1a;
  --shadow-3d: 4px 4px 0 0 #1a1a1a;
  --shadow-3d-hover: 6px 6px 0 0 #1a1a1a;
  --shadow-3d-active: 2px 2px 0 0 #1a1a1a;

  /* --- Transitions --- */
  --transition-fast: 0.1s ease;
  --transition-base: 0.2s ease;
  --transition-slow: 0.3s ease;

  /* --- Layout --- */
  --max-width: 720px;
  --max-width-wide: 1100px;

  /* --- Z-Index Stack --- */
  --z-header: 100;
  --z-overlay: 200;
  --z-drawer: 201;
  --z-modal: 300;

  /* --- Border width (neobrutalist) --- */
  --border-width: 3px;

  /* --- Scent DNA Match Colors --- */
  --match-exact: #2ed573;
  --match-exact-bg: rgba(46, 213, 115, 0.15);
  --match-similar: #ff9f43;
  --match-similar-bg: rgba(255, 159, 67, 0.15);
  --match-differs: #ff6b9d;
  --match-differs-bg: rgba(255, 107, 157, 0.15);
  --match-missing: #999;
  --match-missing-bg: #f0ede8;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Header — Neobrutalist sticky */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: var(--bg-card);
  border-bottom: var(--border-width) solid var(--border-strong);
}

.header-inner {
  max-width: var(--max-width-wide);
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header .logo {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: normal;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Hamburger button */
.hamburger-btn {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
}
.hamburger-btn .hamburger-line {
  width: 18px;
  height: 2px;
  background: var(--text);
  display: block;
  transition: all 0.2s;
}

/* Search button */
.search-btn {
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
}

/* Category navigation bar */
.category-nav {
  border-top: var(--border-width) solid var(--border-strong);
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  background: var(--accent);
  scrollbar-width: none;
}
.category-nav::-webkit-scrollbar { display: none; }
.category-nav-inner {
  display: inline-flex;
  padding: 0 20px;
}
.category-nav a {
  padding: 12px 16px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: normal;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  border-right: 2px solid var(--border-strong);
  transition: background-color var(--transition-fast);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.category-nav a:last-child {
  border-right: none;
}
.category-nav a:hover {
  background-color: rgba(255,255,255,0.3);
}
.category-nav a[aria-current="page"] {
  color: var(--accent);
  font-weight: 600;
}

/* Mobile nav drawer — left-sliding */
.nav-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: var(--z-overlay);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.nav-drawer-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 280px;
  max-width: 85vw;
  background: var(--bg);
  z-index: var(--z-drawer);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  padding: 24px;
}
.nav-drawer.is-open {
  transform: translateX(0);
}

.nav-drawer-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
}

.nav-drawer-logo {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: normal;
  letter-spacing: 0.02em;
  margin-bottom: 32px;
  padding-top: 8px;
}

.nav-drawer-links {
  display: flex;
  flex-direction: column;
}

.nav-drawer-links a {
  display: block;
  padding: 14px 0;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--border-light);
  min-height: 44px;
}

.nav-drawer-links a:hover {
  background-color: var(--highlight);
}

.nav-drawer-links a[aria-current="page"] {
  color: var(--accent);
  font-weight: 600;
}

/* Main */
main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1rem;
}
/* Homepage: widen main to allow full-width Strategist sections */
main:has(.strat-hero) {
  max-width: none;
  padding: 0;
}

/* Article — Neobrutalist Design System */
.article-header {
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--border);
}

.article-header .rubric {
  font-size: 11px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.article h1 {
  font-family: var(--font-heading);
  font-size: 32px;
  line-height: 1.1;
  margin-bottom: 12px;
  font-weight: normal;
  letter-spacing: 0.02em;
}

.article-byline {
  font-family: var(--font-heading);
  font-size: 13px;
  font-style: italic;
  color: var(--text-secondary);
  margin: 0;
}

.article-byline__author {
  font-style: normal;
  font-weight: 500;
}

.article-body h2 {
  font-family: var(--font-heading);
  font-size: 24px;
  margin-top: var(--space-10);
  margin-bottom: 12px;
  font-weight: normal;
  line-height: 1.1;
  letter-spacing: 0.02em;
  padding-bottom: 8px;
  border-bottom: var(--border-width) solid var(--border);
}

.article-body h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  margin-top: var(--space-8);
  letter-spacing: 0.02em;
  margin-bottom: var(--space-2);
  font-weight: 500;
  line-height: 1.25;
}

.article h4 {
  font-size: 1.05rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.article p {
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

/* Article inline links — yellow highlight hover */
.article a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: background-color var(--transition-fast);
}

.article a:hover {
  background-color: var(--highlight);
}

.article strong {
  font-weight: 600;
}

.article em {
  color: var(--text-secondary);
}

.article ul, .article ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

.article li {
  margin-bottom: 0.35rem;
}

/* Quick Answer / TL;DR Box — Strategist */
.quick-answer {
  background: var(--bg-soft);
  border-left: 3px solid var(--accent);
  padding: 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 24px 0;
}

.quick-answer strong:first-child {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 8px;
}

/* Table of Contents Box — Strategist */
.toc-box {
  background: var(--surface);
  border: var(--border-width) solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin: 24px 0 32px;
}

.toc-box strong {
  display: block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 12px;
}

.toc-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc-box li {
  padding: 0.3rem 0;
}

.toc-box a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.toc-box a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* Product Card — Neobrutalist */
.product-card {
  background: var(--bg-card);
  border: var(--border-width) solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin: 1.75rem 0;
  box-shadow: var(--shadow-md);
}

/* Product Review Header */
.product-review__header {
  margin-bottom: 0.25rem;
  text-align: center;
}

.product-review__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
  justify-content: center;
}

/* DupeScented Certified Badge */
.dupescented-certified-badge {
  background: var(--success);
  color: var(--text);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: inline-block;
  border: 2px solid var(--border);
  box-shadow: var(--shadow-sm);
}

/* Rank Badge */
.rank-badge {
  background: var(--accent);
  color: var(--text);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: normal;
  letter-spacing: 0.04em;
  display: inline-block;
  border: 2px solid var(--border);
  box-shadow: var(--shadow-sm);
}

/* Price Comparison — 3D button style */
.price-comparison {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 12px 0 4px;
  justify-content: center;
}

.price-comparison__original {
  color: var(--text-muted);
  text-decoration: line-through;
  font-family: var(--font-mono);
  font-size: 14px;
}

.price-comparison__arrow {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.price-comparison__dupe {
  display: inline-block;
  padding: 8px 16px;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 500;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-3d);
}

.savings-badge {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  background: none;
  padding: 0;
  border-radius: 0;
  letter-spacing: 0;
  white-space: nowrap;
}

/* Quick Facts — Strategist */
.quick-facts {
  margin: 16px 0;
  padding: 16px;
  border: var(--border-width) solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  text-align: left;
}

.quick-facts dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 16px;
  margin: 0;
  font-size: 13px;
  font-family: var(--font-mono);
}

.quick-facts dt {
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.5px;
}

.quick-facts dd {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.price-per-ml {
  color: var(--text-secondary);
  font-size: 0.85em;
}

/* Similarity Dots */
.similarity-dots {
  display: inline-flex;
  gap: 3px;
  align-items: center;
}

.similarity-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  display: inline-block;
}

.similarity-dot--filled {
  background: var(--accent);
}

.similarity-label {
  font-weight: 600;
  font-size: 0.85em;
  color: var(--text-secondary);
}

/* Pros/Cons — Strategist */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 16px 0;
  padding: 16px 0;
  background: transparent;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  border-radius: 0;
}

.pros-cons .pros h4,
.pros-cons .cons h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0;
  margin-bottom: 8px;
}

.pros h4 { color: var(--success); }
.cons h4 { color: #B45309; }

.pros-cons ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
}

.pros-cons li {
  margin-bottom: 4px;
  padding-left: 20px;
  position: relative;
  line-height: 1.4;
}

.pros li::before {
  content: "+";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 600;
}

.cons li::before {
  content: "\2212";
  position: absolute;
  left: 0;
  color: #B45309;
  font-weight: 600;
}

/* CTA Primary Wrapper */
.cta-primary-wrapper {
  margin-top: 12px;
  text-align: center;
}

/* CTA Button — Neobrutalist style */
.cta-primary {
  display: inline-block;
  padding: 12px 24px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-3d);
  text-decoration: none;
  text-align: center;
  transition: all 0.1s;
  cursor: pointer;
}

.article .cta-primary,
.cta-primary {
  color: var(--text);
  text-decoration: none;
}

.cta-primary:hover,
.article .cta-primary:hover {
  box-shadow: var(--shadow-3d-hover);
  color: var(--text);
  background: var(--bg);
  transform: none;
}

.cta-primary:active {
  box-shadow: var(--shadow-3d-active);
  transform: translate(1px, 1px);
}

/* Mid-card CTA (secondary) */
.cta-mid-card {
  margin: 12px 0 8px;
  text-align: center;
}
.cta-secondary {
  display: inline-block;
  padding: 10px 20px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  text-decoration: none;
  text-align: center;
  transition: background-color var(--transition-fast);
}
.article .cta-secondary {
  color: var(--text);
  text-decoration: none;
}
.cta-secondary:hover,
.article .cta-secondary:hover {
  background-color: var(--highlight);
  color: var(--text);
}

/* Product Review — Strategist */
.product-review__image {
  text-align: center;
  margin-bottom: 12px;
}
.product-review__image img {
  width: 160px;
  height: 160px;
  border: 1px solid var(--border-product);
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg-soft);
  transition: transform var(--transition-base);
}
.product-review__image img:hover {
  transform: scale(1.02);
}

.product-review__title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 500;
  margin-top: 8px;
  margin-bottom: 4px;
  line-height: 1.3;
}

.product-review__brand {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.product-review__match {
  margin: 4px 0 8px;
}
.product-review__match-score {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  font-weight: 600;
}

.product-review__editorial {
  margin: 12px 0;
  font-size: 0.95rem;
  line-height: 1.6;
  text-align: left;
}

.product-review__verdict {
  margin: 12px 0 8px;
  font-size: 0.95rem;
  padding: 12px 16px;
  background: var(--bg-soft);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* Comparison Table — Strategist */
.comparison-table-wrapper {
  overflow-x: auto;
  margin: 32px 0;
  -webkit-overflow-scrolling: touch;
}

.comparison-table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
}

.comparison-table th {
  background: var(--bg-soft);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: left;
  padding: 12px;
  border-bottom: 1px solid var(--border-strong);
}

.comparison-table td {
  padding: 12px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.cta-table {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s;
}
.article .cta-table { color: #fff; text-decoration: none; }
.cta-table:hover, .article .cta-table:hover { background: var(--accent-hover); color: #fff; }

/* Legacy markdown tables */
.article table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.88rem;
  overflow-x: auto;
  display: block;
}

.article thead { display: table-header-group; }
.article tbody { display: table-row-group; }
.article tr {
  display: table-row;
  border-bottom: 1px solid var(--border);
}

.article th, .article td {
  display: table-cell;
  padding: 0.6rem 0.75rem;
  text-align: left;
  white-space: nowrap;
}

.article th {
  font-weight: 600;
  border-bottom: 2px solid var(--border);
  background: var(--surface);
}

/* Homepage */
.homepage-hero {
  text-align: center;
  padding: 2.5rem 0 2rem;
  margin-bottom: 2rem;
}

.homepage-hero h1 {
  font-family: var(--font-heading);
  font-size: var(--font-size-4xl);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 0.5rem;
}

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

.hero-search-wrapper {
  position: relative;
  max-width: 480px;
  margin: 0 auto 1rem;
}

.hero-search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.1rem;
  pointer-events: none;
}

.hero-search {
  width: 100%;
  padding: 0.85rem 1rem 0.85rem 2.75rem;
  font-size: 1rem;
  font-family: var(--font-body);
  border: 2px solid var(--border);
  border-radius: 50px;
  background: #fff;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.hero-search:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15);
}

.hero-search::placeholder {
  color: var(--text-secondary);
}

.hero-popular {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
}

.hero-popular-label {
  color: var(--text-secondary);
  font-weight: 500;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.75rem;
  min-height: 44px;
  border: 1px solid var(--border);
  border-radius: 50px;
  color: var(--text);
  text-decoration: none;
  background: #fff;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
  font-size: 0.85rem;
}

.hero-chip:hover {
  border-color: var(--accent);
  background: var(--surface);
  color: var(--accent-hover);
}

.social-proof {
  text-align: center;
  padding: 0.75rem 1rem;
  margin-bottom: 2rem;
  color: var(--text-secondary);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: opacity 0.2s, max-height 0.2s, padding 0.2s, margin 0.2s;
  max-height: 10rem;
}

.social-proof span {
  display: inline;
}

.social-proof-dot {
  margin: 0 0.5rem;
}
.social-proof--hidden {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  padding: 0 1rem;
  margin-bottom: 0;
  border: none;
}

.article-list-empty {
  text-align: center;
  padding: 2rem;
  color: var(--text-secondary);
}

.link-button {
  background: none;
  border: none;
  color: var(--accent);
  cursor: pointer;
  font-size: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.link-button:hover {
  color: var(--accent-hover);
}

/* Article list (home page) */
.article-list {
  list-style: none;
  padding: 0;
}

.article-list li {
  background: var(--surface);
  border-radius: 10px;
  border: 1px solid var(--border);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
  position: relative;
}

.article-list li:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  border-color: var(--accent);
  transform: translateY(-2px);
  cursor: pointer;
}

.article-list a {
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.3;
  display: block;
  transition: color 0.15s;
}

/* Stretched link — makes the entire card tappable */
.article-list a::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}

.article-list a:hover {
  color: var(--accent);
}

.article-list .article-card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.article-list .category-tag {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

/* Accent badge — featured / top pick */
.category-tag--accent {
  background: var(--text);
  color: #fff;
}

/* Muted badge — regular categories */
.category-tag--muted {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.article-meta-detail {
  color: var(--text-secondary);
  font-size: 0.75rem;
}

/* Featured first card */
.article-list li.article-featured {
  background: linear-gradient(135deg, #1C1917 0%, #292524 100%);
  border: none;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  margin-bottom: 2rem;
}

.article-list li.article-featured::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle at top right, rgba(217, 119, 6, 0.12), transparent 70%);
  pointer-events: none;
}

.article-list li.article-featured:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  border-color: transparent;
  transform: translateY(-3px);
}

.article-list li.article-featured .category-tag--accent {
  background: #fff;
  color: var(--text);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
}

.article-list li.article-featured a {
  font-size: 1.65rem;
  color: #fff;
  line-height: 1.25;
}

.article-list li.article-featured a:hover {
  color: var(--accent);
}

.article-list li.article-featured .meta {
  color: #A8A29E;
  font-size: 0.92rem;
  margin-top: 0.75rem;
}

.article-list li.article-featured .article-meta-detail {
  color: #A8A29E;
}

.featured-cta {
  display: inline-block;
  margin-top: 1rem;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition: opacity 0.15s;
}

.article-list li.article-featured:hover .featured-cta {
  opacity: 0.8;
}

.article-list .meta {
  color: var(--text-secondary);
  font-size: 0.88rem;
  margin-top: 0.5rem;
  line-height: 1.6;
}

/* Footer — Neobrutalist */
.site-footer {
  margin-top: 40px;
  padding: 32px 20px;
  border-top: var(--border-width) solid var(--border-strong);
  text-align: center;
  background: var(--text);
  color: var(--bg);
}

.footer-name {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: normal;
  letter-spacing: 0.02em;
  color: var(--accent);
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin: 20px 0;
}

.footer-nav a {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--bg);
  text-decoration: none;
  min-height: 44px;
  display: flex;
  align-items: center;
  transition: color var(--transition-fast);
}

.footer-nav a:hover {
  color: var(--accent);
}

.footer-copy {
  font-family: var(--font-body);
  font-size: 12px;
  color: #999;
}

/* Methodology Page — Redesigned */
/* About Page */
.about-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1rem;
}

.about-hero {
  text-align: center;
  margin-bottom: 2.5rem;
  padding-top: 1rem;
}

.about-hero h1 {
  font-family: var(--font-heading);
  font-size: var(--font-size-4xl);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 0.75rem;
}

.about-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.about-hero-image {
  margin-bottom: 2.5rem;
  border-radius: 10px;
  overflow: hidden;
  max-height: 400px;
}

.about-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.methodology-hero-image {
  margin-bottom: 2rem;
  border-radius: 10px;
  overflow: hidden;
  max-height: 350px;
}

.methodology-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.about-section {
  margin-bottom: 2.25rem;
}

.about-section h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: -0.015em;
  margin-bottom: 0.75rem;
}

.about-section p {
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

.about-section p:last-child {
  margin-bottom: 0;
}

.about-section a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.about-section a:hover {
  text-decoration: underline;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
  padding: 1.5rem;
  background: var(--accent);
  border: var(--border-width) solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.about-stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: normal;
  letter-spacing: 0.02em;
  color: var(--text);
  line-height: 1.2;
}

.about-stat-label {
  display: block;
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

.about-contact p:last-child a {
  font-size: 1.05rem;
  font-weight: 600;
}

@media (max-width: 768px) {
  .about-hero h1 { font-size: 1.85rem; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .about-stats { grid-template-columns: 1fr 1fr; gap: 0.75rem; padding: 1rem; }
  .about-stat-number { font-size: 1.6rem; }
}

.methodology-page {
  max-width: 720px;
  margin: 0 auto;
}

.methodology-hero {
  text-align: center;
  margin-bottom: 2rem;
}

.methodology-hero h1 {
  font-family: var(--font-heading);
  font-size: var(--font-size-4xl);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 0.75rem;
}

.methodology-promise {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 540px;
  margin: 0 auto;
}

/* Trust Badges */
.trust-badges-row {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  padding: 1.25rem;
  background: rgba(21, 128, 61, 0.04);
  border-radius: 8px;
  border: 1px solid rgba(21, 128, 61, 0.12);
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #15803D;
}

/* Section Title */
.methodology-section-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: -0.015em;
  margin-bottom: 1.25rem;
}

/* Test Dimension Cards */
.test-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 3rem;
}

.test-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.test-card:hover {
  border-color: var(--accent);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.test-card-icon {
  margin-bottom: 0.75rem;
}

.test-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 400;
  margin-bottom: 0.35rem;
}

.test-card > p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.test-card-method {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-top: 0.5rem;
}

/* Badge Explanation */
.badge-explanation {
  margin-bottom: 2.5rem;
}

.badge-card {
  background: var(--surface);
  border: 2px solid var(--accent);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
}

.badge-card-icon {
  margin-bottom: 1rem;
}

.badge-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.badge-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.badge-card p:last-child {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.methodology-transparency ul {
  padding: 0 1.25rem 1rem 2.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.methodology-transparency li {
  margin-bottom: 0.35rem;
}

.methodology-contact {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.methodology-contact a {
  color: var(--accent);
}

/* In-Article Email Capture */
.email-capture-inline {
  background: var(--accent);
  border: var(--border-width) solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin: 2rem 0;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.email-capture-icon {
  margin-bottom: 0.25rem;
  color: var(--text);
}

.email-capture-headline {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 400;
  margin: 0 0 0.25rem;
  color: var(--text);
}

.email-capture-subtext {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin: 0 0 1rem;
}

.newsletter-form--inline {
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0;
}

.email-capture-privacy {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin: 0.5rem 0 0;
}

/* Newsletter Form States */
.newsletter-form.is-loading button {
  opacity: 0.7;
  cursor: wait;
}

.newsletter-form.is-success button {
  background: #15803D;
  cursor: default;
}

.newsletter-form.is-error input {
  border-color: #DC2626;
}

.form-message {
  font-size: 0.8rem;
  margin-top: 0.5rem;
}

.form-message--success {
  color: #15803D;
}

.form-message--error {
  color: #DC2626;
}

/* Compare Pages — Strategist */
.compare-page {
  max-width: 860px;
  margin: 0 auto;
}

.breadcrumb {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: background-color var(--transition-fast);
}

.breadcrumb a:hover {
  background-color: var(--highlight);
}

.breadcrumb-sep {
  margin: 0 6px;
  opacity: 0.5;
}

.compare-title {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 8px;
}

.compare-vs {
  font-family: var(--font-mono);
  color: var(--text-secondary);
  font-size: 13px;
  margin: 0 4px;
}

.compare-subtitle {
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--text-secondary);
  font-size: 16px;
  margin-bottom: 32px;
}

.compare-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}

.compare-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 24px;
  text-align: center;
}

.compare-card-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: var(--border);
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.compare-card-label--dupe {
  background: var(--accent);
  color: #fff;
}

.compare-card-image {
  text-align: center;
  margin: 12px 0;
}
.compare-card-image img {
  width: 140px;
  height: 140px;
  border: 1px solid var(--border-product);
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg-soft);
  transition: transform var(--transition-base);
}
.compare-card-image img:hover {
  transform: scale(1.02);
}

.compare-card-name {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 500;
  margin: 0 0 4px;
}

.compare-card-brand {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin: 0 0 12px;
}

.compare-card-price {
  display: inline-block;
  padding: 8px 16px;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 500;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-3d);
  margin-bottom: 4px;
}

.compare-card-size {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-secondary);
}

.compare-card-ppm {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.compare-notes h3 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-secondary);
  margin: 0 0 8px;
  text-align: left;
}

.note-layer {
  font-size: 14px;
  margin-bottom: 4px;
  text-transform: capitalize;
  text-align: left;
}

.note-layer strong {
  font-family: var(--font-mono);
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.compare-card .cta-primary {
  margin-top: 20px;
}

.compare-table-section h2,
.compare-verdict h2,
.compare-related h2 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 16px;
}

.compare-table-section {
  margin-bottom: 40px;
}

.winner-cell {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--accent);
  font-size: 13px;
}

.compare-verdict {
  margin-bottom: 40px;
}

.verdict-text {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.compare-pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.compare-pros-cons .pros h4,
.compare-pros-cons .cons h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0;
  margin-bottom: 8px;
}

.compare-pros-cons .pros h4 { color: var(--success); }
.compare-pros-cons .cons h4 { color: #B45309; }

.compare-pros-cons ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
}

.compare-pros-cons li {
  margin-bottom: 4px;
  padding-left: 20px;
  position: relative;
}

.compare-pros-cons .pros li::before {
  content: "+";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 600;
}

.compare-pros-cons .cons li::before {
  content: "\2212";
  position: absolute;
  left: 0;
  color: #B45309;
  font-weight: 600;
}

.savings-callout {
  background: var(--bg-soft);
  border-left: 3px solid var(--success);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  font-size: 14px;
  border: none;
  border-left: 3px solid var(--success);
}

.compare-related {
  margin-bottom: 40px;
}

.related-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0;
}

.related-item a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  background: transparent;
  border: none;
  border-top: 1px solid var(--border);
  border-radius: 0;
  text-decoration: none;
  color: var(--text);
  transition: background-color var(--transition-fast);
}

.related-item a:hover {
  background-color: var(--highlight);
}

.related-name {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 500;
}

.related-brand {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.related-meta {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  white-space: nowrap;
  font-weight: 600;
}

.compare-disclosure {
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: 2rem;
}

.compare-disclosure p {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* Compare Index */
/* ── Compare Index Page — "If You Like X" Grouped Layout ── */
main:has(.compare-index) {
  max-width: var(--max-width);
}
.compare-index {
  max-width: var(--max-width);
  margin: 0 auto;
}

.compare-index-header {
  margin-bottom: 40px;
}

.compare-index-title {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 6px;
  line-height: 1.2;
}

.compare-index-subtitle {
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--text-secondary);
  font-size: 16px;
  margin-bottom: 0;
}

/* Category Tabs */
.compare-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border-strong);
  padding-bottom: 0;
}

.compare-tab {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 12px 16px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color var(--transition-fast), border-color var(--transition-fast);
  margin-bottom: -1px;
  min-height: 44px;
  min-width: 44px;
}

.compare-tab:hover {
  color: var(--text);
}

.compare-tab.is-active {
  color: var(--accent);
  border-bottom-color: var(--accent);
  font-weight: 600;
}

/* Controls Row */
.compare-controls {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
  align-items: center;
}

.compare-search-wrapper {
  flex: 1;
  position: relative;
}

.compare-search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.compare-search {
  width: 100%;
  padding: 0.6rem 0.75rem 0.6rem 2.25rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: var(--font-mono);
  background: var(--bg);
  color: var(--text);
  transition: border-color var(--transition-fast);
  min-height: 44px;
}

.compare-search:focus {
  outline: none;
  border-color: var(--accent);
}

/* Results Bar */
.compare-results-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-4);
}

.compare-results-count {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
}

.compare-clear-filters {
  background: none;
  border: none;
  font-size: var(--font-size-sm);
  color: var(--accent);
  cursor: pointer;
  font-family: var(--font-body);
  padding: var(--space-1) var(--space-2);
  min-height: 44px;
}

.compare-clear-filters:hover {
  text-decoration: underline;
}

/* ── Original Fragrance Section ── */
.fragrance-section {
  margin-bottom: 48px;
}

.fragrance-section[hidden] {
  display: none;
}

.original-header {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.original-image {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 1px solid var(--border);
  flex-shrink: 0;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.original-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.original-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.original-label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.original-name {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 2px;
}

.original-brand {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.original-price {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--sale);
  text-decoration: line-through;
}

/* Notes Row */
.notes-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding: 16px 24px;
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  background: var(--bg);
}

.note-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  background: var(--bg-soft);
}

/* ── Dupes Row ── */
.dupes-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 20px;
  margin-bottom: 14px;
}

.dupes-count {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
}

.dupes-count strong {
  color: var(--text);
  font-weight: 600;
}

.dupes-see-all {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  font-weight: 500;
}

.dupes-see-all:hover {
  text-decoration: underline;
}

/* Scroll wrapper with fade hint */
.dupes-scroll-wrapper {
  position: relative;
}

.dupes-scroll-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 48px;
  height: calc(100% - 16px);
  background: linear-gradient(to right, transparent, var(--bg));
  pointer-events: none;
}

.dupes-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 16px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.dupes-scroll::-webkit-scrollbar {
  display: none;
}

/* ── Dupe Card ── */
.dupe-card {
  flex-shrink: 0;
  width: 180px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  scroll-snap-align: start;
  transition: box-shadow var(--transition-fast), border-color var(--transition-fast);
  cursor: pointer;
  position: relative;
  display: block;
  text-decoration: none;
  color: var(--text);
}

.dupe-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-3d);
}

.dupe-card-img {
  width: 100%;
  height: 100px;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.dupe-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dupe-card-name {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 2px;
}

.dupe-card-brand {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.dupe-card-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.dupe-card-price {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 600;
  color: var(--success);
}

.dupe-card-match {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  color: var(--success);
  background: var(--success-bg);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
}

.dupe-card-stats {
  display: flex;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.dupe-card-save {
  font-family: var(--font-mono);
  font-size: 11px;
  text-align: center;
  background: var(--surface);
  padding: 5px 8px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
}

.dupe-card-save strong {
  color: var(--accent);
  font-weight: 600;
}

/* Our Pick badge */
.dupe-card.our-pick {
  border-color: var(--accent);
}

.our-pick-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

/* Card CTA */
.dupe-card-cta {
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 8px 0;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-align: center;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast), color var(--transition-fast);
  min-height: 36px;
  line-height: 20px;
}

.dupe-card:hover .dupe-card-cta {
  background: var(--accent);
  color: #fff;
}

/* Section divider */
.section-divider {
  border: none;
  border-top: 1px solid var(--border-light);
  margin: 0 0 48px 0;
}

/* Empty State */
.compare-empty {
  text-align: center;
  padding: var(--space-16) var(--space-4);
}

.compare-empty h3 {
  font-family: var(--font-heading);
  font-size: var(--font-size-xl);
  font-weight: 400;
  margin-bottom: var(--space-2);
}

.compare-empty p {
  color: var(--text-secondary);
  margin-bottom: var(--space-6);
}

.compare-clear-btn {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  padding: 0.6rem 1.5rem;
  font-size: var(--font-size-sm);
  font-family: var(--font-body);
  cursor: pointer;
  min-height: 44px;
}

.compare-clear-btn:hover {
  background: var(--accent-hover);
}

/* ── Compare Index Responsive ── */
@media (max-width: 480px) {
  .compare-index-header {
    margin-bottom: 28px;
  }
  .compare-index-title {
    font-size: 26px;
  }
  .original-header {
    padding: 16px;
    gap: 14px;
  }
  .original-image {
    width: 80px;
    height: 80px;
  }
  .original-name {
    font-size: 18px;
  }
  .notes-row {
    padding: 12px 16px;
  }
  .dupe-card {
    width: 160px;
    padding: 14px;
  }
  .dupe-card-img {
    height: 80px;
  }
  .compare-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .compare-tabs::-webkit-scrollbar {
    display: none;
  }
}

/* Dupe Database Page — override main max-width */
main:has(.dupes-page) {
  max-width: 1080px;
}
.dupes-page {
  max-width: 1080px;
  margin: 0 auto;
}

.dupes-page-header {
  margin-bottom: 1.5rem;
}
.dupes-page-header h1 {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 0.25rem;
}
.dupes-page-header p {
  color: var(--text-secondary);
  font-size: 1rem;
}

.dupes-search-wrapper {
  position: relative;
  margin-bottom: 1.5rem;
}
.dupes-search-icon {
  position: absolute;
  left: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-secondary);
  font-size: 1rem;
  pointer-events: none;
}
.dupes-search {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  font-family: var(--font-body);
  background: #fff;
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.dupes-search:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.12);
}

.dupes-layout {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}
.dupes-results {
  flex: 1;
  min-width: 0;
}

/* Filter Sidebar */
.dupes-filters {
  width: 240px;
  flex-shrink: 0;
  position: sticky;
  top: 1rem;
  align-self: flex-start;
}
.filter-section {
  margin-bottom: 1.5rem;
}
.filter-section-title {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}
.filter-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0;
  font-size: 0.88rem;
  color: var(--text);
  cursor: pointer;
}
.filter-option input[type="checkbox"],
.filter-option input[type="radio"] {
  accent-color: var(--accent);
  width: 16px;
  height: 16px;
}
.brand-hidden {
  display: none;
}
.brand-show-more {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 0.82rem;
  font-family: var(--font-body);
  cursor: pointer;
  padding: 0.3rem 0;
}
.brand-show-more:hover {
  text-decoration: underline;
}
.filter-reset {
  display: block;
  width: 100%;
  padding: 0.5rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.85rem;
  font-family: var(--font-body);
  color: var(--text-secondary);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}
.filter-reset:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Results Header */
.dupes-results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.dupes-results-count {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* Sort Dropdown */
.dupes-sort-select {
  appearance: none;
  padding: 0.5rem 2rem 0.5rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.85rem;
  font-family: var(--font-body);
  color: var(--text);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%2378716C'/%3E%3C/svg%3E") no-repeat right 0.75rem center;
  background-size: 10px;
  cursor: pointer;
}
.dupes-sort-select:focus {
  outline: none;
  border-color: var(--accent);
}

/* Results Grid */
.dupes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

/* Dupes Pagination */
.dupes-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 24px 0;
}

.dupes-pagination button {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text);
  cursor: pointer;
  min-height: 44px;
  min-width: 44px;
  transition: all var(--transition-fast);
}

.dupes-pagination button:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.dupes-pagination button.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  font-weight: 600;
}

.dupes-pagination button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.dupes-pagination button:disabled:hover {
  border-color: var(--border);
  color: var(--text);
}

/* Dupe Card */
.dupe-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  position: relative;
  transition: box-shadow var(--transition-fast), border-color var(--transition-fast);
  display: flex;
  flex-direction: column;
}
.dupe-card:hover {
  box-shadow: var(--shadow-3d);
  border-color: var(--border-strong);
}
.dupe-card[hidden] {
  display: none;
}
.dupe-card-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--text-secondary);
  color: #fff;
  font-weight: 600;
  font-size: 0.8rem;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  line-height: 1.3;
}
.dupe-card-badge--high {
  background: #15803D;
}
.dupe-card-image {
  text-align: center;
  margin-bottom: 0.5rem;
}
.dupe-card-image img {
  max-width: 200px;
  height: auto;
  border-radius: 6px;
  object-fit: contain;
}
.dupe-card-image .img-placeholder {
  width: 200px;
  height: 200px;
  border-radius: 6px;
  background: #F3F0EB;
  display: none;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}
.dupe-card-image .img-placeholder svg {
  width: 48px;
  height: 48px;
  opacity: 0.35;
}
.dupe-card-image img.is-broken {
  display: none;
}
.dupe-card-image img.is-broken + .img-placeholder,
.dupe-card-image picture:has(img.is-broken) + .img-placeholder,
.dupe-card-image > .img-placeholder:first-child {
  display: flex;
}

.dupe-card-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 0.15rem;
  padding-right: 3.5rem;
}
.dupe-card-brand {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}
.dupe-card-original {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}
.dupe-card-original a {
  color: #B45309;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.dupe-card-price {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.15rem;
}
.dupe-card-price .price-size {
  font-weight: 400;
  color: var(--text-secondary);
  font-size: 0.85rem;
}
.dupe-card-savings {
  font-size: 0.78rem;
  color: #15803D;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.dupe-card-stats {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}
.dupe-card-cta {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--bg);
  color: var(--text);
  padding: 10px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  box-shadow: var(--shadow-3d);
  transition: box-shadow var(--transition-fast), transform var(--transition-fast);
  margin-top: auto;
}
.dupe-card-cta:hover {
  box-shadow: var(--shadow-3d-hover);
  color: var(--text);
}
.dupe-card-cta:active {
  box-shadow: var(--shadow-3d-active);
  transform: translate(1px, 1px);
}


/* Empty State */
.dupes-empty {
  text-align: center;
  padding: 4rem 1rem;
}
.dupes-empty h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}
.dupes-empty p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-bottom: 1.25rem;
}

/* Filter Chips */
.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0 0 0.75rem;
}
.filter-chips:empty {
  display: none;
}
.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 0.5rem 1rem;
  min-height: 44px;
  font-size: 0.78rem;
  color: var(--text);
  cursor: pointer;
  font-family: var(--font-mono);
}
.filter-chip:hover {
  border-color: var(--accent);
}
.filter-chip-close {
  font-size: 0.65rem;
  color: var(--text-secondary);
  line-height: 1;
}

/* Mobile Controls */
.dupes-mobile-controls {
  display: none;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.dupes-filter-toggle {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.85rem;
  font-family: var(--font-body);
  color: var(--text);
  background: #fff;
  cursor: pointer;
}
.dupes-filter-toggle:hover {
  border-color: var(--accent);
}

/* Filter Drawer (Mobile) */
.filter-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}
.filter-drawer-overlay.is-open {
  opacity: 1;
  visibility: visible;
}
.filter-drawer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg);
  border-radius: 16px 16px 0 0;
  padding: 1.5rem 1rem 0;
  z-index: 101;
  max-height: 75vh;
  overflow-y: auto;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.filter-drawer.is-open {
  transform: translateY(0);
}
.filter-drawer-handle {
  width: 36px;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  margin: 0 auto 1rem;
}
.filter-drawer-actions {
  position: sticky;
  bottom: 0;
  background: var(--bg);
  padding: 1rem 0;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 0.75rem;
}
.filter-drawer-actions .btn-apply {
  flex: 1;
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 0.75rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  font-family: var(--font-body);
  cursor: pointer;
}
.filter-drawer-actions .btn-apply:hover {
  background: var(--accent-hover);
}
.filter-drawer-actions .btn-reset {
  padding: 0.75rem 1rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.85rem;
  font-family: var(--font-body);
  color: var(--text-secondary);
  cursor: pointer;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ── Homepage Redesign — Tool-First Layout ───────────── */

/* Hero Section */
.home-hero {
  background: var(--surface);
  padding: 4rem 1.5rem 3.5rem;
  text-align: center;
}
.home-hero h1 {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 0.6rem;
  color: var(--text);
}
.home-hero > p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}
.home-hero-search {
  max-width: 640px;
  margin: 0 auto 1.5rem;
  position: relative;
}
.home-hero-search .search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.15rem;
  color: #A8A29E;
  pointer-events: none;
}
.home-hero-search input {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  border: 2px solid var(--border);
  border-radius: 0.75rem;
  font-size: 1.05rem;
  font-family: var(--font-body);
  background: #FFFFFF;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.home-hero-search input::placeholder { color: #A8A29E; }
.home-hero-search input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.12);
}

/* Popular Searches */
.popular-searches {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.15rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.popular-searches span { margin-right: 0.25rem; }
.popular-searches a {
  color: var(--accent);
  padding: 0.2rem 0.5rem;
  border-radius: 1rem;
  transition: background 0.15s;
}
.popular-searches a:hover { background: rgba(217, 119, 6, 0.08); }
.popular-searches .sep { color: #D6D3D1; margin: 0 0.1rem; }

/* Reusable Section Pattern */
.home-section {
  max-width: 1080px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}
.home-section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1.5rem;
}
.home-section-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text);
}
.home-section-link {
  font-size: 0.9rem;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.15s;
}
.home-section-link:hover { opacity: 0.8; }

/* Featured Dupes Grid */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

/* How It Works */
.how-it-works {
  background: #FFFFFF;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.how-it-works .home-section {
  max-width: 860px;
  text-align: center;
}
.how-it-works .home-section-title { margin-bottom: 2rem; }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 1.5rem;
}
.step-card { padding: 0.5rem; }
.step-icon { font-size: 2rem; margin-bottom: 0.75rem; display: block; }
.step-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.4rem;
}
.step-desc { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.5; }
.methodology-link {
  display: inline-block;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}
.methodology-link:hover { opacity: 0.8; }

/* Articles Grid */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.article-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.25rem;
  transition: box-shadow 0.2s;
}
.article-card:hover { box-shadow: 0 4px 16px rgba(28, 25, 23, 0.08); }
.article-card-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}
.article-card-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.35;
  margin-bottom: 0.4rem;
  color: var(--text);
}
.article-card-title a { color: inherit; text-decoration: none; transition: color 0.15s; }
.article-card-title a:hover { color: var(--accent); }
.article-card-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Email CTA (Pre-Footer) */
.home-email-cta {
  background: var(--surface);
  padding: 3rem 1.5rem;
  text-align: center;
}
.home-email-cta h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}
.home-email-cta > p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

/* Tablet */
@media (max-width: 1024px) {
  .featured-grid { grid-template-columns: repeat(2, 1fr); }
  .dupes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 768px) {
  /* Header handled by mobile-first in Strategist section */

  .article-list li.article-featured { padding: 1.75rem; }
  .article-list li.article-featured a { font-size: 1.35rem; }

  .methodology-hero h1 { font-size: 1.85rem; }
  .test-cards { grid-template-columns: 1fr; }
  .trust-badges-row { flex-direction: column; gap: 0.75rem; align-items: flex-start; }

  .home-hero { padding: 3rem 1rem 2.5rem; }
  .home-hero h1 { font-size: 2rem; }
  .home-hero > p { font-size: 1rem; }
  .home-hero-search input { font-size: 1rem; padding: 0.85rem 0.85rem 0.85rem 2.75rem; }
  .home-section { padding: 2rem 1rem; }
  .featured-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 0.75rem;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
  }
  .featured-grid .dupe-card {
    min-width: 70vw;
    max-width: 280px;
    scroll-snap-align: start;
    flex-shrink: 0;
  }
  .steps-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .step-card { text-align: left; display: flex; gap: 1rem; align-items: flex-start; }
  .step-icon { margin-bottom: 0; flex-shrink: 0; }
  .articles-grid { grid-template-columns: 1fr; }
  .dupes-page-header h1 { font-size: 1.7rem; }
  .dupes-filters { display: none; }
  .dupes-sort-desktop { display: none; }
  .dupes-mobile-controls { display: flex; }
  .dupes-layout { flex-direction: column; }
  .dupes-search-wrapper {
    position: sticky;
    top: 0;
    z-index: 20;
    background: var(--bg);
    padding: 0.75rem 0;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
  }
  .dupes-grid {
    grid-template-columns: 1fr;
  }
  .dupe-card {
    text-align: center;
    align-items: center;
  }
  .dupe-card-name {
    padding-right: 0;
  }
  .dupe-card-stats {
    justify-content: center;
  }

  /* Comparison table → cards */
  .comparison-table { min-width: 0; }
  .comparison-table thead { display: none; }
  .comparison-table tbody { display: block; }
  .comparison-table tr {
    display: block;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 0.75rem;
  }
  .comparison-table tr:last-child { margin-bottom: 0; }
  .comparison-table td {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0.35rem 0;
    border-bottom: none;
    font-size: 0.88rem;
  }
  .comparison-table td:first-child {
    font-weight: 700;
    font-size: 0.95rem;
    padding-bottom: 0.5rem;
    margin-bottom: 0.25rem;
    border-bottom: 1px solid var(--border);
    display: block;
  }
  .comparison-table td:first-child::before { display: none; }
  .comparison-table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.8rem;
    flex-shrink: 0;
    margin-right: 0.75rem;
  }
  /* Footer is now single-column centered, no grid needed */
}

/* Responsive */
@media (max-width: 480px) {
  body { font-size: 16px; }
  .home-hero h1 { font-size: 1.75rem; }
  .featured-grid .dupe-card { min-width: 80vw; }
  .popular-searches { font-size: 0.8rem; }
  .homepage-hero { padding: 1.5rem 0 1rem; }
  .homepage-hero h1 { font-size: 1.85rem; }
  .hero-search-wrapper { max-width: 100%; }
  .social-proof { font-size: 0.8rem; }
  .social-proof-dot { display: none; }
  .social-proof span { display: block; line-height: 1.8; }
  .article h1 { font-size: 22px; }
  .article-body h2 { font-size: 18px; }
  .article-body h3 { font-size: 16px; }
  .pros-cons { grid-template-columns: 1fr; }
  .product-card { padding: 16px 0; }
  .product-review__image img { width: 120px; height: 120px; }
  .similarity-dot { width: 7px; height: 7px; }
  .price-comparison { font-size: 0.95rem; }
  .site-header .logo { font-size: 20px; }
  .newsletter-form--inline { max-width: 100%; }
  .rating-tier { grid-template-columns: 3.5rem 1fr; }
  .rating-desc { grid-column: 1 / -1; }
  .compare-title { font-size: 22px; }
  .compare-cards { grid-template-columns: 1fr; }
  .compare-pros-cons { grid-template-columns: 1fr; }
  .compare-card-name { font-size: 18px; }
  .compare-card-image img { width: 100px; height: 100px; }
  .related-item a { flex-wrap: wrap; }
  .related-meta { margin-left: 0; width: 100%; }
}

/* Glossary */
.glossary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.glossary-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.25rem;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s;
  display: block;
}

.glossary-card:hover {
  border-color: var(--accent);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.glossary-card__name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 400;
  margin: 0 0 0.25rem;
}

.glossary-card__family {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.glossary-card__definition {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

/* Note Detail Page */
.note-meta {
  margin-bottom: 1.5rem;
}

.note-meta__family {
  display: inline-block;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent);
}

.note-pairings {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.note-pairings li {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  font-size: 0.88rem;
}

.note-pairings a {
  color: var(--text);
  text-decoration: none;
}

.note-pairings a:hover {
  color: var(--accent);
}

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

.type-badge--original {
  background: var(--border);
  color: var(--text-secondary);
}

.type-badge--dupe {
  background: var(--text);
  color: #fff;
}

@media (max-width: 768px) {
  .glossary-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .glossary-grid { grid-template-columns: 1fr; }
}

/* Scent DNA */
.scent-dna {
  background: var(--bg-card);
  border: var(--border-width) solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin: 2rem 0;
  max-width: 100%;
  box-shadow: var(--shadow-md);
}

.scent-dna__heading {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--text);
  margin: 0 0 1rem;
}

.scent-dna__header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.scent-dna__label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.scent-dna__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--text);
  line-height: 1.3;
  margin: 0;
}

.scent-dna__vs {
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 400;
}

.scent-dna__tier {
  margin-bottom: 1.25rem;
}

.scent-dna__tier-label {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 0.5rem;
}

.scent-dna__tier--top .scent-dna__notes-grid {
  max-width: 75%;
  margin: 0 auto;
}

.scent-dna__tier--heart .scent-dna__notes-grid {
  max-width: 88%;
  margin: 0 auto;
}

.scent-dna__tier--base .scent-dna__notes-grid {
  max-width: 100%;
}

.scent-dna__notes-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.35rem 0.75rem;
  align-items: center;
}

.scent-dna__col-label {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  padding-bottom: 0.25rem;
}

.scent-dna__note-pair {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.5rem;
  align-items: center;
  grid-column: 1 / -1;
}

.scent-dna__note {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.scent-dna__note-name {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text);
}

.scent-dna__intensity {
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
  width: 100%;
}

.scent-dna__intensity-fill {
  height: 100%;
  border-radius: 2px;
  transition: width 0.6s ease;
}

.scent-dna__note--match .scent-dna__intensity-fill { background: var(--match-exact); }
.scent-dna__note--similar .scent-dna__intensity-fill { background: var(--match-similar); }
.scent-dna__note--differs .scent-dna__intensity-fill { background: var(--match-differs); }
.scent-dna__note--missing .scent-dna__intensity-fill { background: var(--match-missing); }

.scent-dna__note--right {
  text-align: right;
}

.scent-dna__match-badge {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.15rem 0.5rem;
  border-radius: 10px;
  white-space: nowrap;
  text-align: center;
  min-width: 3.5rem;
}

.scent-dna__match-badge--match {
  background: var(--match-exact-bg);
  color: var(--match-exact);
}

.scent-dna__match-badge--similar {
  background: var(--match-similar-bg);
  color: var(--match-similar);
}

.scent-dna__match-badge--differs {
  background: var(--match-differs-bg);
  color: var(--match-differs);
}

.scent-dna__match-badge--missing {
  background: var(--match-missing-bg);
  color: var(--match-missing);
}

.scent-dna__score {
  text-align: center;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.scent-dna__score-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  margin-bottom: 0.35rem;
}

.scent-dna__score-value {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  color: var(--text);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.scent-dna__score-bar {
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
  max-width: 200px;
  margin: 0 auto;
}

.scent-dna__score-bar-fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--match-similar) 0%, var(--match-exact) 100%);
  transition: width 0.6s ease;
}

.scent-dna__legend {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.scent-dna__legend-item {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-family: var(--font-body);
  font-size: 0.6rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.scent-dna__legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.scent-dna__watermark {
  text-align: center;
  margin-top: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.55rem;
  color: var(--text-secondary);
  opacity: 0.6;
}

@media (max-width: 767px) {
  .scent-dna {
    padding: 1rem;
  }

  .scent-dna__notes-grid {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 100% !important;
  }

  .scent-dna__col-label {
    display: none;
  }

  .scent-dna__note-pair {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0.5rem;
    align-items: center;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 6px;
  }

  .scent-dna__note-pair .scent-dna__note--right .scent-dna__intensity {
    direction: rtl;
  }

  .scent-dna__match-badge {
    font-size: 0.55rem;
    padding: 0.1rem 0.35rem;
    min-width: auto;
  }

  .scent-dna__tier-label {
    font-size: 0.6rem;
    text-align: left;
    padding-left: 0.5rem;
  }

  .scent-dna__tier-label::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 0.35rem;
    vertical-align: middle;
  }

  .scent-dna__tier--top .scent-dna__tier-label::before {
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-bottom: 6px solid var(--accent);
  }

  .scent-dna__tier--heart .scent-dna__tier-label::before {
    background: var(--accent);
    transform: rotate(45deg);
    width: 5px;
    height: 5px;
  }

  .scent-dna__tier--base .scent-dna__tier-label::before {
    background: var(--accent);
    width: 6px;
    height: 6px;
  }

  .scent-dna__legend {
    display: none;
  }
}

@media print {
  .scent-dna__intensity-fill,
  .scent-dna__score-bar-fill {
    transition: none;
  }
}

/* Sticky Mobile CTA Bar */
.sticky-mobile-cta {
  display: none;
}

@media (max-width: 768px) {
  .sticky-mobile-cta {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: #fff;
    border-top: 1px solid var(--border);
    box-shadow: 0 -2px 12px rgba(0,0,0,0.1);
    transform: translateY(100%);
    transition: transform 0.25s ease;
    padding: 0.6rem 1rem;
    padding-bottom: calc(0.6rem + env(safe-area-inset-bottom, 0px));
  }

  .sticky-mobile-cta--visible {
    transform: translateY(0);
  }

  .sticky-mobile-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    max-width: var(--max-width);
    margin: 0 auto;
  }

  .sticky-mobile-cta__label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
  }

  .sticky-mobile-cta__btn {
    display: inline-block;
    background: var(--accent);
    color: var(--text);
    padding: 0.5rem 1rem;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: normal;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
  }

  .sticky-mobile-cta__btn:hover {
    background: var(--accent-hover);
    color: var(--text);
    box-shadow: var(--shadow-md);
  }
}

/* Compare Page — "Our Pick" Badge */
.our-pick-badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
}

/* Compare Page — Verdict Badge */
.verdict-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
}

.verdict-badge--recommended {
  background: var(--success-bg);
  border-left: 3px solid var(--success);
  color: var(--success);
}

.verdict-badge__icon {
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* Compare Page — Verdict CTA */
.verdict-cta {
  margin-top: 20px;
  text-align: center;
}

/* Pinterest Save Button */
.pinterest-save-wrap {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0.75rem;
}

.article .pinterest-save-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  background: #E60023;
  color: #fff;
  border-radius: 24px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease;
  line-height: 1;
}

.article .pinterest-save-btn:hover {
  background: #AD081B;
  color: #fff;
}

.article .pinterest-save-btn svg {
  flex-shrink: 0;
}

/* ===== Fragrance Cost Calculator — Information-First Redesign ===== */
.calc-page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
}

.calc-hero {
  font-family: var(--font-heading);
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.calc-intro {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.calc-disclaimer {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  margin-top: 2rem;
  opacity: 0.75;
}

/* Sections */
.calc-section {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.calc-section--dupe {
  border-color: var(--accent);
  border-width: 2px;
}

.calc-section-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 1.25rem;
}

/* Picker — compact */
.calc-picker {
  padding: 1.25rem 1.5rem;
}

/* Input groups */
.calc-input-group {
  margin-bottom: 1rem;
}

.calc-input-group label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.4rem;
  color: var(--text);
}

.calc-inputs-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.calc-select,
.calc-input {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: var(--font-mono);
  background: #fff;
  color: var(--text);
  transition: border-color 0.15s;
  min-height: 44px;
}

.calc-select:focus,
.calc-input:focus {
  outline: none;
  border-color: var(--accent);
}

/* ===== HERO RESULTS — the star of the page ===== */
.calc-hero-results {
  text-align: center;
  padding: 2rem 1rem;
  margin-bottom: 1rem;
}

/* Value Score ring */
.calc-score-ring {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 6px solid var(--accent);
  margin: 0 auto 1.5rem;
  transition: border-color 0.4s ease;
}

.calc-score-ring--dupe {
  width: 120px;
  height: 120px;
  border-width: 5px;
}

.calc-score-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  line-height: 1;
  color: var(--accent);
  transition: color 0.4s ease;
}

.calc-score-ring--dupe .calc-score-number {
  font-size: 2.5rem;
}

.calc-score-of {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-top: -0.25rem;
}

.calc-score-label {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-top: 0.15rem;
  transition: color 0.4s ease;
}

/* Human-readable result sentences */
.calc-result-sentences {
  margin-bottom: 1.5rem;
}

.calc-sentence {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 0.35rem;
}

.calc-sentence strong {
  color: var(--text);
  font-weight: 700;
}

.calc-sentence--primary {
  font-size: 1.3rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.calc-sentence--primary strong {
  font-family: var(--font-heading);
  font-size: 1.5rem;
}

.calc-sentence--verdict {
  font-weight: 600;
  color: var(--text);
  margin-top: 0.75rem;
  font-size: 1.1rem;
}

/* Secondary stats row */
.calc-stats-row {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.calc-mini-stat {
  text-align: center;
}

.calc-mini-stat-value {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--text);
}

.calc-mini-stat-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
  margin-top: 0.1rem;
}

/* Value Score explainer */
.calc-score-explainer {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 1rem;
  letter-spacing: 0.3px;
}

/* Direct dupe CTA */
.calc-dupe-cta {
  text-align: center;
  margin-top: 1.25rem;
}

.calc-dupe-cta-btn {
  display: inline-block;
  padding: 12px 32px;
  font-size: 15px;
}

/* Animation on value change */
.calc-results-animate {
  animation: calc-pulse 0.3s ease;
}

@keyframes calc-pulse {
  0% { opacity: 0.7; transform: translateY(4px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ===== Customize accordion ===== */
.calc-customize {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.calc-customize-toggle {
  padding: 1rem 1.5rem;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-secondary);
  transition: color 0.15s;
  min-height: 44px;
}

.calc-customize-toggle:hover {
  color: var(--text);
}

.calc-customize-toggle::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-left: 0.5rem;
}

.calc-customize[open] .calc-customize-toggle::after {
  content: '\2212';
}

.calc-customize-toggle::-webkit-details-marker {
  display: none;
}

.calc-customize-body {
  padding: 0 1.5rem 1.5rem;
}

/* Sliders — 44px touch targets for mobile */
.calc-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  background: var(--border);
  border-radius: 4px;
  outline: none;
  margin-top: 0.25rem;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  transition: transform 0.15s, box-shadow 0.15s;
}

.calc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.1);
  box-shadow: 0 3px 12px rgba(0,0,0,0.22);
}

.calc-slider::-webkit-slider-thumb:active {
  transform: scale(0.95);
}

.calc-slider::-moz-range-thumb {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}

.calc-slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 0.15rem;
}

/* Dupe hero results */
.calc-dupe-hero-results {
  text-align: center;
  padding: 1.5rem 0 0.5rem;
  margin-top: 1.5rem;
  border-top: 1px solid var(--border);
}

/* Compare toggle */
.calc-compare-toggle {
  text-align: center;
  margin-bottom: 1.5rem;
}

.calc-compare-btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: var(--accent);
  color: #fff;
  border: 2px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  box-shadow: var(--shadow-3d);
  transition: box-shadow var(--transition-fast), transform var(--transition-fast);
}

.calc-compare-btn:hover {
  box-shadow: var(--shadow-3d-hover);
}

.calc-compare-btn:active {
  box-shadow: var(--shadow-3d-active);
  transform: translate(1px, 1px);
}

/* Savings callout */
.calc-savings {
  margin-top: 1.5rem;
  text-align: center;
}

.calc-savings-inner {
  display: inline-block;
  background: var(--success-bg);
  border: 1px solid var(--success);
  border-radius: var(--radius-sm);
  padding: 1rem 2rem;
}

.calc-savings-amount {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--success);
}

.calc-savings-text {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--success);
}

/* Affiliate CTA */
.calc-cta {
  text-align: center;
  margin-bottom: 2rem;
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
}

.calc-cta p {
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
}

.calc-cta .cta-primary {
  display: inline-block;
}

/* Methodology */
.calc-methodology {
  margin-bottom: 2rem;
}

.calc-methodology h2 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.calc-methodology ul {
  padding-left: 1.25rem;
}

.calc-methodology li {
  margin-bottom: 0.4rem;
  line-height: 1.5;
}

/* FAQ accordion */
.calc-faq {
  margin-bottom: 2rem;
}

.calc-faq h2 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.calc-faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 0.5rem;
  overflow: hidden;
}

.calc-faq-item summary {
  padding: 0.85rem 1rem;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 44px;
}

.calc-faq-item summary::after {
  content: '+';
  font-size: 1.2rem;
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-left: 0.5rem;
}

.calc-faq-item[open] summary::after {
  content: '\2212';
}

.calc-faq-item summary::-webkit-details-marker {
  display: none;
}

.calc-faq-item p {
  padding: 0 1rem 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== Mobile responsive ===== */
@media (max-width: 480px) {
  .calc-hero {
    font-size: 1.5rem;
  }

  .calc-inputs-row {
    grid-template-columns: 1fr;
  }

  .calc-score-ring {
    width: 120px;
    height: 120px;
  }

  .calc-score-number {
    font-size: 2.5rem;
  }

  .calc-sentence--primary {
    font-size: 1.1rem;
  }

  .calc-sentence--primary strong {
    font-size: 1.25rem;
  }

  .calc-stats-row {
    gap: 1rem;
  }

  .calc-mini-stat-value {
    font-size: 1rem;
  }

  .calc-section,
  .calc-picker {
    padding: 1rem;
  }

  .calc-customize-body {
    padding: 0 1rem 1rem;
  }

  .calc-customize-toggle {
    padding: 0.85rem 1rem;
  }
}

/* ═══════════════════════════════════════════════
   Strategist Homepage — Phase 2
   ═══════════════════════════════════════════════ */

/* --- Featured Hero --- */
.strat-hero {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  padding: 32px 0;
  max-width: var(--max-width-wide);
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.strat-hero__link { display: block; }

.strat-hero__image {
  aspect-ratio: 16/9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 20px;
  position: relative;
  background: var(--surface);
  border: var(--border-width) solid var(--border);
  box-shadow: var(--shadow-md);
}
.strat-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.strat-hero__rubric {
  position: absolute;
  top: 16px;
  left: 16px;
  display: inline-block;
  padding: 6px 14px;
  background: var(--accent);
  color: var(--text);
  margin-bottom: 0;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: normal;
  border: 2px solid var(--border);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}

.strat-hero__headline {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: normal;
  line-height: 1.1;
  letter-spacing: 0.02em;
  margin: 0 0 12px;
}

.strat-hero__subtitle {
  font-family: var(--font-heading);
  font-size: 16px;
  font-style: italic;
  color: var(--text-secondary);
  margin: 0;
}

.strat-hero__secondary {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.strat-hero__secondary-item {
  display: block;
  padding: 20px 0;
  border-top: 1px solid var(--border);
}
.strat-hero__secondary-item:first-child {
  border-top: none;
  padding-top: 0;
}
.strat-hero__secondary-headline {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.25;
  margin: 0;
}

/* --- Hot Topics Row --- */
.strat-hot-topics {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 20px;
  border: var(--border-width) solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  max-width: var(--max-width-wide);
  margin: 0 auto 24px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-sm);
}
.strat-hot-topics__label {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: normal;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  white-space: nowrap;
}
.strat-hot-topics__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}
.strat-hot-topics__link {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-strong);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

/* --- Two-Column Layout --- */
.strat-two-col {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  max-width: var(--max-width-wide);
  margin: 0 auto;
  padding: 0 20px;
}

.strat-main { min-width: 0; }

/* --- Deal of the Day --- */
.strat-deal {
  display: flex;
  gap: 32px;
  align-items: center;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.strat-deal__circle {
  width: 160px;
  height: 160px;
  border: 1px solid var(--border-product);
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-base);
}
.strat-deal__circle:hover {
  transform: scale(1.02);
}
.strat-deal__circle img {
  width: 70%;
  height: 70%;
  object-fit: cover;
  border-radius: 50%;
}
.strat-deal__content { flex: 1; min-width: 200px; }
.strat-deal__name {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 500;
  margin: 0 0 6px;
}
.strat-deal__meta {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0 0 12px;
}
.strat-deal__pricing {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.strat-deal__price-btn {
  font-size: 15px;
  cursor: default;
}
.strat-deal__orig-price {
  text-decoration: line-through;
  color: var(--text-muted);
  margin-right: 4px;
}
.strat-deal__savings {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}

/* --- Section Header Bar --- */
.strat-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.strat-see-all {
  font-family: var(--font-mono);
  font-size: 13px;
  text-decoration: underline;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

/* --- Article Cards (feed style) --- */
.strat-latest { padding: 48px 0; }

.strat-article-card {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
}
.strat-article-card__thumb {
  flex: 0 0 80px;
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-card);
}
.strat-article-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.strat-article-card__content { flex: 1; }
.strat-article-card__title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.25;
  margin: 0;
}

/* --- Top Rated Product Grid --- */
.strat-top-rated {
  padding: 48px 0;
  border-top: 1px solid var(--border-strong);
}
.strat-products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (min-width: 768px) {
  .strat-products-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.strat-product-card {
  text-align: center;
  display: block;
}
.strat-product-card__circle {
  width: 100px;
  height: 100px;
  border: 1px solid var(--border-product);
  border-radius: 50%;
  margin: 0 auto 12px;
  overflow: hidden;
  background: var(--bg-soft);
  transition: transform var(--transition-base);
}
.strat-product-card:hover .strat-product-card__circle {
  transform: scale(1.05);
}
.strat-product-card__circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.strat-product-card__brand {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 4px;
}
.strat-product-card__name {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 6px;
}
.strat-product-card__match {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  margin-bottom: 8px;
}
.strat-product-card__price {
  padding: 8px 16px;
  font-size: 14px;
}
.strat-product-card:hover .strat-product-card__price {
  box-shadow: var(--shadow-3d-hover);
}

/* --- Quick Comparisons --- */
.strat-comparisons {
  padding: 48px 0;
  border-top: 1px solid var(--border);
}
.strat-comparison-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  min-height: 44px;
}
.strat-comparison-row__original {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 400;
}
.strat-comparison-row__vs {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0 8px;
}
.strat-comparison-row__dupe {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 500;
}
.strat-comparison-row__savings {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}

/* --- Sidebar --- */
.strat-sidebar {
  padding-top: 40px;
}

/* Most Read */
.strat-most-read__list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.strat-most-read__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 12px 0;
  border-top: 1px solid var(--border-light);
}
.strat-most-read__item:first-child {
  border-top: none;
}
.strat-most-read__number {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 400;
  color: var(--text-disabled);
  min-width: 24px;
}
.strat-most-read__link {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

/* Browse by Original */
.strat-browse {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.strat-browse__links {
  display: flex;
  flex-direction: column;
}
.strat-browse__links a {
  display: flex;
  align-items: center;
  padding: 10px 0;
  font-family: var(--font-mono);
  font-size: 13px;
  border-bottom: 1px solid var(--border-light);
  min-height: 44px;
}
.strat-browse__see-all {
  font-weight: 600;
  color: var(--accent);
  margin-top: 4px;
}

/* --- Newsletter --- */
.strat-newsletter {
  padding: 48px 20px;
  text-align: center;
  border: var(--border-width) solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: var(--accent);
  max-width: var(--max-width-wide);
  margin: 32px auto;
  box-shadow: var(--shadow-lg);
}
.strat-newsletter__copy {
  font-family: var(--font-body);
  font-size: 16px;
  margin-bottom: 20px;
}
.strat-newsletter__form {
  display: flex;
  gap: 8px;
  max-width: 400px;
  margin: 0 auto;
}
.strat-newsletter__input {
  flex: 1;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 14px;
  border: var(--border-width) solid var(--border-strong);
  border-radius: var(--radius-md);
}
.strat-newsletter__btn {
  padding: 12px 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* --- Responsive: Strategist Homepage --- */
@media (max-width: 900px) {
  .strat-two-col {
    grid-template-columns: 1fr;
  }
  .strat-sidebar {
    padding-top: 0;
  }
}

@media (max-width: 768px) {
  .strat-hero {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px 16px;
  }
  .strat-hero__headline { font-size: 24px; }
  .strat-hero__secondary-headline { font-size: 16px; }

  .strat-hot-topics { padding: 12px 16px; }
  .strat-two-col { padding: 0 16px; }

  .strat-deal { gap: 20px; }
  .strat-deal__circle { width: 120px; height: 120px; }
  .strat-deal__name { font-size: 20px; }

  .strat-article-card__thumb { flex: 0 0 70px; }
  .strat-article-card__title { font-size: 16px; }

  .strat-comparison-row { flex-direction: column; align-items: flex-start; gap: 4px; }

  .strat-newsletter__form { flex-direction: column; }
  .strat-newsletter { padding: 32px 16px; }
}

/* ═══════════════════════════════════════════════
   Strategist Interaction Utilities
   ═══════════════════════════════════════════════ */

/* Yellow highlight on hover */
.highlight-hover {
  transition: background-color var(--transition-fast);
}
.highlight-hover:hover {
  background-color: var(--highlight);
}

/* 3D shadow button */
.btn-3d {
  display: inline-block;
  padding: 10px 20px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-3d);
  cursor: pointer;
  transition: all 0.1s;
  text-decoration: none;
  color: var(--text);
}
.btn-3d:hover {
  box-shadow: var(--shadow-3d-hover);
}
.btn-3d:active {
  box-shadow: var(--shadow-3d-active);
  transform: translate(1px, 1px);
}

/* Gradient-based dotted borders */
.dotted-bottom {
  background-image: linear-gradient(to left, #000 0, #000 25%, transparent 25%);
  background-position: 0 bottom;
  background-repeat: repeat-x;
  background-size: 4px 1px;
  padding-bottom: 1px;
}
.dotted-top {
  background-image: linear-gradient(to left, #000 0, #000 25%, transparent 25%);
  background-position: 0 top;
  background-repeat: repeat-x;
  background-size: 4px 1px;
  padding-top: 1px;
}
.dotted-right {
  background-image: linear-gradient(to top, #000 0, #000 25%, transparent 25%);
  background-position: right 0;
  background-repeat: repeat-y;
  background-size: 1px 4px;
  padding-right: 1px;
}

/* Image hover — opacity fade */
.img-hover {
  transition: opacity var(--transition-base);
}
.img-hover:hover {
  opacity: 0.9;
}

/* Rubric / category label */
.rubric {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: normal;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text);
  background: var(--accent-pink);
  border: 2px solid var(--border);
  border-radius: var(--radius-full);
  padding: 4px 12px;
  margin-bottom: 8px;
}

/* Section header — display uppercase */
.section-header {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: normal;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0;
}

/* ═══════════════════════════════════════════════
   Search Modal
   ═══════════════════════════════════════════════ */
.search-modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: 10vh;
}
.search-modal.is-open {
  display: flex;
}
.search-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}
.search-modal__panel {
  position: relative;
  width: 90%;
  max-width: 560px;
  background: var(--bg-card);
  border: var(--border-width) solid var(--border-strong);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-height: 70vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.search-modal__header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}
.search-modal__input-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
}
.search-modal__icon {
  flex-shrink: 0;
}
.search-modal__input {
  flex: 1;
  border: none;
  outline: none;
  font-family: var(--font-mono);
  font-size: 16px;
  padding: 8px 0;
  background: transparent;
  color: var(--text);
  min-height: 44px;
}
.search-modal__input::placeholder {
  color: var(--text-muted);
}
.search-modal__close {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  color: var(--text-secondary);
  cursor: pointer;
  min-height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.search-modal__results {
  overflow-y: auto;
  padding: 8px;
}
.search-modal__hint {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
  padding: 16px 8px;
  text-align: center;
  margin: 0;
}
.search-modal__result {
  display: block;
  padding: 12px;
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-fast);
  min-height: 44px;
}
.search-modal__result:hover {
  background-color: var(--accent-light);
}
.search-modal__result-title {
  display: block;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.3;
}
.search-modal__result-desc {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 4px;
  line-height: 1.4;
}

/* Focus states — orange outline */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Global link reset for Strategist */
/* Headline hover — underline via box-shadow */
.headline-hover {
  box-shadow: inset 0 0 0 0 transparent;
  transition: box-shadow var(--transition-fast);
}
.headline-hover:hover {
  box-shadow: inset 0 -2px 0 0 #fff, inset 0 -3px 0 0 #000;
}

/* Hide category nav on mobile, show hamburger */
@media (max-width: 768px) {
  .category-nav {
    display: none;
  }
  .header-inner {
    padding: 12px 16px;
  }
  .site-header .logo {
    font-size: 22px;
  }
}

/* Article hero image */
.article-hero {
  max-width: 300px;
  margin: 0 auto 1.5rem;
}
.article-hero__img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* =============================================
   Editorial Template
   ============================================= */

/* Hero — full-width banner with gradient overlay */
.editorial-hero {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  max-width: 100vw;
  overflow: hidden;
}

.editorial-hero__media {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
}

.editorial-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.editorial-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0) 60%);
}

.editorial-hero__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-8) var(--space-6);
  max-width: var(--max-width-wide);
  margin: 0 auto;
}

.editorial-hero__content h1 {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: normal;
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: #fff;
  margin-bottom: var(--space-2);
}

.editorial-hero__byline {
  font-family: var(--font-body);
  font-size: 14px;
  font-style: normal;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.editorial-hero__author {
  font-style: normal;
  font-weight: 600;
}

/* Rubric pill variant for editorial pages */
.rubric--pill {
  display: inline-block;
  background: var(--accent);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-3);
}

/* Editorial card — listicle entry */
.editorial-card {
  display: flex;
  gap: var(--space-6);
  padding: var(--space-6) 0;
  border-bottom: 1px solid var(--border-light);
  align-items: flex-start;
}

.editorial-card:last-child {
  border-bottom: none;
}

.editorial-card__rank {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
  flex-shrink: 0;
  min-width: 48px;
}

.editorial-card__image-wrap {
  flex-shrink: 0;
  width: 160px;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface);
}

.editorial-card__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.editorial-card__content {
  flex: 1;
  min-width: 0;
}

.editorial-card__brand {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: var(--space-1);
}

.editorial-card__title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: var(--space-2);
}

.editorial-card__meta {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: var(--space-2);
}

.editorial-card__blurb {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: var(--space-3);
}

.editorial-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}

.editorial-card__tag {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 2px 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  color: var(--text-muted);
}

.editorial-card__cta {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition-fast);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.editorial-card__cta:hover {
  color: var(--accent-hover);
}

/* Hybrid card — designer + dupe pairing */
.editorial-card--hybrid .editorial-card__pair {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-3);
}

.editorial-card--hybrid .editorial-card__original,
.editorial-card--hybrid .editorial-card__dupe {
  flex: 1;
  text-align: center;
}

.editorial-card--hybrid .editorial-card__original img,
.editorial-card--hybrid .editorial-card__dupe img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: var(--space-2);
}

.editorial-card--hybrid .editorial-card__pair .brand {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  display: block;
}

.editorial-card--hybrid .editorial-card__pair .title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 500;
  display: block;
  margin-bottom: var(--space-1);
}

.editorial-card--hybrid .editorial-card__pair .price {
  font-family: var(--font-mono);
  font-size: 13px;
}

.editorial-card--hybrid .editorial-card__pair .price--original {
  text-decoration: line-through;
  color: var(--text-muted);
}

.editorial-card--hybrid .editorial-card__pair .savings-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--success);
  background: var(--success-bg);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
}

.editorial-card--hybrid .editorial-card__arrow {
  flex-shrink: 0;
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--text-muted);
}

/* Editorial comparison table */
.editorial-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: var(--space-6) 0;
}

.editorial-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--font-size-sm);
  font-family: var(--font-mono);
}

.editorial-table th {
  text-align: left;
  padding: 8px 12px;
  background: var(--surface);
  border-bottom: 2px solid #000;
  font-size: var(--font-size-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
}

.editorial-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
}

.editorial-table tr:hover {
  background: var(--accent-subtle);
}

.editorial-table a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.editorial-table a:hover {
  text-decoration: underline;
}

/* Dupe callout — inline cross-link */
.dupe-callout {
  border-left: 3px solid var(--accent);
  background: var(--accent-subtle);
  padding: 12px 16px;
  margin: var(--space-4) 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.dupe-callout__label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: var(--space-1);
}

.dupe-callout__text {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
}

.dupe-callout__text a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.dupe-callout__text a:hover {
  color: var(--accent-hover);
}

/* Editorial responsive */
@media (max-width: 640px) {
  .editorial-hero__media {
    aspect-ratio: 4 / 3;
  }

  .editorial-hero__content h1 {
    font-size: 28px;
  }

  .editorial-hero__content {
    padding: var(--space-6) var(--space-4);
  }

  .editorial-card {
    flex-direction: column;
    gap: var(--space-4);
  }

  .editorial-card__image-wrap {
    width: 120px;
  }

  .editorial-card--hybrid .editorial-card__pair {
    flex-direction: column;
    gap: var(--space-3);
  }

  .editorial-card--hybrid .editorial-card__arrow {
    transform: rotate(90deg);
  }
}
