:root {
  --paper: #fafaf7;
  --surface: #ffffff;
  --ink: #1c2430;
  --muted: #525b67;
  --brand: #1b4332;
  --brand-hover: #122e22;
  --brand-soft: #e8f1ed;
  --warm-soft: #f4efe8;
  --cta: #f59e0b;
  --cta-hover: #d97706;
  --cta-ink: #1c1917;
  --border: #e6e3dc;
  --ok: #15803d;
  --ok-bg: #ecfdf5;
  --no: #b91c1c;
  --no-bg: #fef2f2;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 8px rgba(28, 36, 48, 0.05);
  --shadow-md: 0 12px 30px rgba(28, 36, 48, 0.08);
  --shadow-cta: 0 6px 18px rgba(245, 158, 11, 0.28);
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .font-display {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  letter-spacing: -0.025em;
  color: var(--ink);
}

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* Sticky Translucent Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 250, 247, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
  padding: 10px 0;
  flex-wrap: wrap;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none !important;
}

.brand-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-wordmark strong {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-wordmark span {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.93rem;
  font-weight: 500;
}

.nav-links a { color: var(--muted); transition: color 0.15s; }
.nav-links a:hover { color: var(--ink); text-decoration: none; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.search-box {
  position: relative;
}

.search-box input {
  width: 210px;
  padding: 9px 14px 9px 36px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.88rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s, width 0.2s;
}

.search-box input:focus {
  border-color: var(--brand);
  width: 250px;
}

.search-box svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--brand);
  color: #fff !important;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--brand);
  cursor: pointer;
  text-decoration: none !important;
  transition: background 0.15s, transform 0.15s;
}
.btn-primary:hover { background: var(--brand-hover); transform: translateY(-1px); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--surface);
  color: var(--ink) !important;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  cursor: pointer;
  text-decoration: none !important;
  transition: border-color 0.15s, background 0.15s;
}
.btn-secondary:hover { border-color: var(--ink); background: var(--warm-soft); }

/* Disclosure Bar */
.disclosure-strip {
  background: var(--brand-soft);
  border-bottom: 1px solid #d5e4dd;
  font-size: 0.82rem;
  color: #2c4a3e;
  padding: 7px 0;
  text-align: center;
}
.disclosure-strip a { color: var(--brand); font-weight: 600; text-decoration: underline; }

/* Bands */
.band-paper { background: var(--paper); padding: 64px 0; }
.band-white { background: var(--surface); padding: 64px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.band-soft { background: var(--brand-soft); padding: 56px 0; border-top: 1px solid #d5e4dd; }

/* Homepage 2-Column Editorial Hero */
.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 44px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.hero-left h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.35rem);
  line-height: 1.06;
  margin: 0 0 18px;
}

.hero-left p.lead {
  font-size: 1.08rem;
  color: var(--muted);
  margin: 0 0 26px;
  max-width: 560px;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.trust-pills {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--muted);
}
.trust-pills span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.trust-pills svg { color: var(--brand); }

/* Interactive Sizing Finder Widget (Hero Right) */
.sizing-widget {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 26px;
  box-shadow: var(--shadow-md);
}

.widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.widget-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 4px 10px;
  border-radius: 999px;
}

.sizing-widget h2 {
  font-size: 1.35rem;
  margin: 0 0 8px;
}

.sizing-widget p.widget-sub {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0 0 16px;
}

.sizing-widget select {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid #cfc9be;
  background: var(--paper);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 16px;
  cursor: pointer;
}

.widget-result {
  background: var(--warm-soft);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 14px;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid rgba(28, 36, 48, 0.08);
  font-size: 0.9rem;
}
.spec-row:last-child { border-bottom: none; }
.spec-row span { color: var(--muted); }
.spec-row strong { color: var(--ink); }

.widget-note {
  font-size: 0.82rem;
  color: var(--brand);
  font-weight: 600;
  margin: 0 0 14px;
}

/* Section Headers */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.section-head h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.15rem);
  margin: 0;
}

.section-head p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.96rem;
}

/* Category Cards (Working interactive filters!) */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.cat-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  text-align: left;
  cursor: pointer;
  transition: all 0.18s ease;
  font-family: inherit;
}

.cat-card:hover, .cat-card.active {
  background: var(--surface);
  border-color: var(--brand);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.cat-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.cat-card h3 {
  font-size: 1.08rem;
  margin: 0 0 6px;
}

.cat-card p {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

/* Guide Cards Grid */
.filter-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.filter-btn {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.15s;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

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

.guide-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}

.card-thumb {
  position: relative;
  display: block;
  width: 100%;
  height: 210px;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--warm-soft);
  border-bottom: 1px solid var(--border);
}

.thumb-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(28, 36, 48, 0.88);
  color: #fff;
  backdrop-filter: blur(4px);
}

.thumb-badge.badge-gold {
  background: var(--cta);
  color: var(--cta-ink);
}

.thumb-badge.badge-green {
  background: var(--brand);
  color: #fff;
}

/* Warm Value Callout Strip (Hybrid from KitchenToolsLab) */
.value-strip {
  background: var(--warm-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.value-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.92rem;
  color: var(--ink);
}

.value-items {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-weight: 600;
  color: var(--brand);
}

/* At a Glance Box (Hybrid from KitchenToolsLab) */
.at-a-glance {
  background: #f0f6f3;
  border: 1px solid #c8dfd4;
  border-left: 5px solid var(--brand);
  border-radius: 12px;
  padding: 18px 22px;
  margin: 0 0 26px;
}

.at-a-glance-title {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand);
  margin-bottom: 8px;
}

.at-a-glance p {
  margin: 0 0 12px;
  font-size: 0.95rem;
  color: var(--ink);
}

.at-a-glance-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Bottom Conversion Recovery Box (Hybrid from KitchenToolsLab) */
.recovery-box {
  margin-top: 34px;
  background: var(--brand-soft);
  border: 1px solid #c8dfd4;
  border-radius: 16px;
  padding: 26px;
  text-align: center;
}

.recovery-box h3 {
  margin: 0 0 8px;
  font-size: 1.35rem;
}

.recovery-box p {
  margin: 0 auto 18px;
  max-width: 540px;
  font-size: 0.93rem;
  color: #2c4a3e;
}

.recovery-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Editorial Team Author Box */
.author-box {
  margin-top: 28px;
  padding: 20px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.author-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 800;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.author-info h4 {
  margin: 0 0 4px;
  font-size: 0.98rem;
  font-family: "Inter", sans-serif;
}

.author-info p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--muted);
}

.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.3s ease;
}

.card-thumb img.diagram-img {
  object-fit: contain;
  background: #f4efe8;
  padding: 6px;
}

.guide-card:hover .card-thumb img {
  transform: scale(1.03);
}

.card-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.article-hero-img {
  width: 100%;
  max-height: 430px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  border-radius: 14px;
  border: 1px solid var(--border);
  margin-bottom: 26px;
  display: block;
}

.article-hero-img.diagram-img {
  object-fit: contain;
  background: #f4efe8;
}

.guide-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #d2cec5;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.card-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 4px 10px;
  border-radius: 6px;
}

.card-updated {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 600;
}

.guide-card h3 {
  font-size: 1.22rem;
  line-height: 1.3;
  margin: 0 0 10px;
}
.guide-card h3 a { color: var(--ink); }
.guide-card h3 a:hover { color: var(--brand); text-decoration: none; }

.guide-card p {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0 0 18px;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--brand);
}

/* Trust / Methodology 3-Card Band */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.trust-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}

.trust-card h3 { font-size: 1.18rem; margin: 0 0 8px; }
.trust-card p { font-size: 0.92rem; color: var(--muted); margin: 0; }

/* 2-Column Article Page Architecture */
.article-header-band {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 36px 0 32px;
}

.breadcrumb {
  font-size: 0.84rem;
  color: var(--muted);
  margin-bottom: 14px;
}

.article-badges {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.updated-pill {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--brand-soft);
  color: var(--brand);
  padding: 5px 11px;
  border-radius: 999px;
}

.article-header-band h1 {
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
  line-height: 1.12;
  margin: 0 0 16px;
  max-width: 820px;
}

.disclosure-box {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 820px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 0.86rem;
  color: var(--muted);
}
.disclosure-box strong { color: var(--ink); }

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 36px;
  padding: 36px 0 64px;
  align-items: start;
}

.article-main {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(24px, 3.5vw, 44px);
  box-shadow: var(--shadow-sm);
}

.article-main h2 {
  font-size: 1.5rem;
  margin: 34px 0 14px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  scroll-margin-top: 96px;
}

.article-main h2:first-of-type {
  margin-top: 8px;
  padding-top: 0;
  border-top: none;
}

.article-main h3 {
  font-size: 1.18rem;
  margin: 24px 0 8px;
}

.article-main blockquote {
  margin: 18px 0;
  padding: 14px 18px;
  background: var(--warm-soft);
  border-left: 4px solid var(--brand);
  border-radius: 8px;
  font-size: 0.94rem;
}

.article-main ul, .article-main ol { padding-left: 22px; }
.article-main li { margin-bottom: 8px; }

/* Buy This If / Skip This If Verdict Split */
.verdict-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 16px 0 20px;
}

.verdict-card {
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 0.9rem;
  line-height: 1.55;
}

.verdict-buy {
  background: var(--ok-bg);
  border: 1px solid #bbf7d0;
}

.verdict-skip {
  background: var(--no-bg);
  border: 1px solid #fecaca;
}

.verdict-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.verdict-buy .verdict-title { color: var(--ok); }
.verdict-skip .verdict-title { color: var(--no); }

/* Comparison Tables */
.table-scroll {
  overflow-x: auto;
  margin: 22px 0;
  border: 1px solid var(--border);
  border-radius: 12px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  background: var(--surface);
}

th, td {
  text-align: left;
  padding: 13px 15px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

th {
  background: var(--paper);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

tbody tr:last-child td { border-bottom: none; }
tbody tr:first-child td { background: #fcfbf8; }

/* High-Contrast Amber Amazon CTA Buttons */
.amazon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--cta);
  color: var(--cta-ink) !important;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 11px 20px;
  border-radius: 12px;
  margin: 8px 0;
  box-shadow: var(--shadow-cta);
  text-decoration: none !important;
  transition: background 0.15s, transform 0.15s;
}
.amazon-btn:hover { background: var(--cta-hover); transform: translateY(-1px); }

/* Clean Sticky Sidebar (Never Clips Behind Header!) */
.article-sidebar {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-height: calc(100vh - 116px);
  overflow-y: auto;
}

.sidebar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.sidebar-card h4 {
  font-family: "Inter", sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 0 0 12px;
}

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

.toc-list li { margin-bottom: 8px; }
.toc-list a {
  font-size: 0.88rem;
  color: var(--ink);
  font-weight: 500;
  display: block;
  padding: 4px 0;
  border-left: 2px solid transparent;
  padding-left: 10px;
  transition: border-color 0.15s, color 0.15s;
}
.toc-list a:hover {
  border-left-color: var(--brand);
  color: var(--brand);
  text-decoration: none;
}

.sidebar-pick {
  background: var(--brand-soft);
  border-color: #c8dfd4;
}

.sidebar-pick p {
  font-size: 0.86rem;
  color: #2c4a3e;
  margin: 0 0 12px;
}

.sidebar-pick .amazon-btn {
  width: 100%;
  font-size: 0.86rem;
  padding: 10px 14px;
}

/* Footer (Native Dark-Mode SVG — No Awkward White Box!) */
.site-footer {
  background: var(--ink);
  color: #cbd5e1;
  padding: 56px 0 32px;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}

.footer-col h4 {
  font-family: "Inter", sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #94a3b8;
  margin: 0 0 14px;
}

.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: #e2e8f0; font-size: 0.88rem; }
.footer-col a:hover { color: #f59e0b; text-decoration: none; }

.footer-bottom {
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: #94a3b8;
}

/* Responsive */
@media (max-width: 980px) {
  .hero-grid, .article-layout, .footer-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: 1fr; }
  .article-sidebar { position: static; max-height: none; }
}

@media (max-width: 600px) {
  .cat-grid, .verdict-grid { grid-template-columns: 1fr; }
  .search-box input { width: 100%; }
  .header-actions { width: 100%; }
  .search-box { flex: 1; }
}
