/* ============================================================
   BuildPCStack — style.css
   Design system: Claude / Anthropic-inspired warm editorial
   ============================================================ */

/* ----- CSS Variables (DESIGN.md) ----- */
:root {
  /* Primary */
  --terracotta:      #c96442;
  --coral:           #d97757;
  --near-black:      #141413;
  --error-crimson:   #b53333;
  --focus-blue:      #3898ec;

  /* Surfaces */
  --parchment:       #f5f4ed;
  --ivory:           #faf9f5;
  --white:           #ffffff;
  --warm-sand:       #e8e6dc;
  --dark-surface:    #30302e;

  /* Text */
  --text-primary:    #141413;
  --text-secondary:  #5e5d59;   /* olive gray */
  --text-tertiary:   #87867f;   /* stone gray */
  --text-dark-link:  #3d3d3a;
  --text-charcoal:   #4d4c48;
  --text-on-dark:    #b0aea5;   /* warm silver */

  /* Borders */
  --border-cream:    #f0eee6;
  --border-warm:     #e8e6dc;
  --border-dark:     #30302e;
  --ring-warm:       #d1cfc5;
  --ring-subtle:     #dedc01;   /* not used for shadows — design.md reference */
  --ring-deep:       #c2c0b6;

  /* Typography */
  --font-serif: Georgia, 'Times New Roman', serif;
  --font-sans:  -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-mono:  'Courier New', Courier, monospace;

  /* Layout */
  --max-width:   1140px;
  --gap:         24px;

  /* Radius scale (DESIGN.md §5) */
  --radius-sharp:  4px;
  --radius-sm:     8px;
  --radius-md:     12px;
  --radius-lg:     16px;
  --radius-xl:     24px;
  --radius-2xl:    32px;

  /* Shadows (ring-based, DESIGN.md §6) */
  --shadow-ring:    #e8e6dc 0px 0px 0px 0px, #d1cfc5 0px 0px 0px 1px;
  --shadow-whisper: rgba(0,0,0,0.05) 0px 4px 24px;
  --shadow-inset:   inset 0px 0px 0px 1px rgba(0,0,0,0.15);
}

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--parchment);
}

img { max-width: 100%; display: block; }
a   { color: var(--terracotta); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ----- Header / Nav ----- */
.site-header {
  background: var(--near-black);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--dark-surface);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 500;
  color: var(--white);
  letter-spacing: -0.01em;
  text-decoration: none;
}

.logo span { color: var(--coral); }

.nav-links {
  display: flex;
  list-style: none;
  gap: 2px;
}

.nav-links a {
  color: var(--text-on-dark);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sharp);
  transition: color .15s, background .15s;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,.08);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}

/* ----- Footer ----- */
.site-footer {
  background: var(--near-black);
  color: var(--text-on-dark);
  padding: 56px 0 28px;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--dark-surface);
}

.footer-brand .logo {
  display: inline-block;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-on-dark);
  max-width: 300px;
}

.footer-col h4 {
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; }

.footer-col ul li { margin-bottom: 10px; }

.footer-col ul li a {
  color: var(--text-on-dark);
  font-size: 0.9375rem;
  text-decoration: none;
  transition: color .15s;
}

.footer-col ul li a:hover { color: var(--white); }

.footer-bottom {
  padding-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-bottom p { font-size: 0.8125rem; }

.affiliate-disclosure {
  font-size: 0.8125rem;
  color: #7a8a96;
  max-width: 560px;
  line-height: 1.55;
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1;
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: box-shadow .15s, transform .1s, background .15s;
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover { text-decoration: none; }

/* Terracotta — primary CTA (DESIGN.md "Brand Terracotta") */
.btn-primary,
.btn-amazon {
  background: var(--terracotta);
  color: var(--ivory);
  box-shadow: var(--terracotta) 0px 0px 0px 0px, var(--terracotta) 0px 0px 0px 1px;
}
.btn-primary:hover,
.btn-amazon:hover {
  background: #b8572e;
  box-shadow: var(--terracotta) 0px 0px 0px 0px, #b8572e 0px 0px 0px 1px;
  transform: translateY(-1px);
}

/* Warm Sand — secondary (DESIGN.md "Warm Sand Secondary") */
.btn-secondary {
  background: var(--warm-sand);
  color: var(--text-charcoal);
  padding: 0px 12px 0px 8px;
  height: 38px;
  box-shadow: var(--warm-sand) 0px 0px 0px 0px, var(--ring-warm) 0px 0px 0px 1px;
}
.btn-secondary:hover {
  box-shadow: var(--warm-sand) 0px 0px 0px 0px, var(--ring-deep, #c2c0b6) 0px 0px 0px 1px;
}

/* Dark outline on light surfaces */
.btn-outline {
  background: transparent;
  color: var(--terracotta);
  border: 1.5px solid var(--terracotta);
}
.btn-outline:hover {
  background: var(--terracotta);
  color: var(--ivory);
}

/* Dark surface button */
.btn-dark {
  background: var(--near-black);
  color: var(--text-on-dark);
  border: 1px solid var(--dark-surface);
  border-radius: var(--radius-md);
  padding: 10px 17px;
}
.btn-dark:hover {
  background: var(--dark-surface);
}

/* ----- Hero Section ----- */
.hero {
  background: var(--near-black);
  color: var(--white);
  padding: 88px 0 96px;
  text-align: center;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
  color: var(--ivory);
}

.hero h1 em {
  color: var(--coral);
  font-style: normal;
}

.hero p {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 2.5vw, 1.1875rem);
  color: var(--text-on-dark);
  max-width: 540px;
  margin: 0 auto 40px;
  line-height: 1.65;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Ghost button for dark surfaces */
.btn-ghost-light {
  background: transparent;
  color: var(--text-on-dark);
  border: 1.5px solid rgba(255,255,255,.25);
  border-radius: var(--radius-sm);
  padding: 10px 20px;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color .15s, color .15s;
  display: inline-flex;
  align-items: center;
}
.btn-ghost-light:hover {
  color: var(--white);
  border-color: rgba(255,255,255,.5);
  text-decoration: none;
}

/* ----- Section scaffolding ----- */
.section {
  padding: 80px 0;
}

/* Dark section — near-black canvas (DESIGN.md alternation) */
.section-dark {
  background: var(--near-black);
  color: var(--white);
  padding: 80px 0;
}

.section-dark .section-header h2 { color: var(--ivory); }
.section-dark .section-header p   { color: var(--text-on-dark); }

/* ----- Section Headings ----- */
.section-header { margin-bottom: 40px; }

.section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.25;
}

.section-header p {
  font-size: 1rem;
  color: var(--text-secondary);
}

/* ----- Article Cards (light surface) ----- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.card {
  background: var(--ivory);
  border: 1px solid var(--border-cream);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}

.card:hover {
  box-shadow: var(--shadow-whisper);
  transform: translateY(-3px);
}

.card-img-placeholder {
  height: 180px;
  background: linear-gradient(135deg, var(--warm-sand) 0%, var(--border-warm) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-tertiary);
  font-size: 0.875rem;
  font-weight: 500;
  font-family: var(--font-sans);
}

.card-body { padding: 22px 24px 26px; }

.card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

/* Badges */
.badge {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ivory);
}

.badge-budget       { background: #5e6e3b; }   /* muted warm green */
.badge-gaming       { background: #6b4c3b; }   /* warm brown */
.badge-workstation  { background: #5c4a6e; }   /* muted plum */
.badge-guide        { background: var(--text-charcoal); }
.badge-review       { background: #8b4040; }   /* warm crimson */

.card-meta-text {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

.card h3 {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.35;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.card h3 a {
  color: inherit;
  text-decoration: none;
}

.card h3 a:hover { color: var(--terracotta); }

.card p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 18px;
}

.card-link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--terracotta);
}

/* ----- Product Cards ----- */
.product-card {
  background: var(--ivory);
  border: 1px solid var(--border-cream);
  border-radius: var(--radius-sm);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow .2s, transform .2s;
}

.product-card:hover {
  box-shadow: var(--shadow-whisper);
  transform: translateY(-3px);
}

/* Product cards on dark section */
.section-dark .product-card {
  background: var(--dark-surface);
  border-color: var(--border-dark);
}

.section-dark .product-card h3 { color: var(--ivory); }
.section-dark .product-card p  { color: var(--text-on-dark); }
.section-dark .product-price   { color: var(--ivory); }
.section-dark .product-category{ color: var(--coral); }
.section-dark .stars-label     { color: var(--text-on-dark); }

.product-img-placeholder {
  height: 160px;
  background: linear-gradient(135deg, var(--parchment) 0%, var(--warm-sand) 100%);
  border-radius: var(--radius-sharp);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-tertiary);
  font-size: 0.8125rem;
  font-weight: 500;
}

.section-dark .product-img-placeholder {
  background: linear-gradient(135deg, #242422 0%, var(--near-black) 100%);
  color: var(--text-on-dark);
}

.product-category {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--terracotta);
}

.product-card h3 {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--text-primary);
  margin: 0;
}

.product-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
  flex: 1;
}

.stars { display: flex; align-items: center; gap: 6px; }
.stars-icons { display: flex; gap: 1px; }
.star::before { content: "★"; color: #c87e2e; font-size: 14px; line-height: 1; }
.stars-label  { font-size: 0.8125rem; color: var(--text-tertiary); }

.product-price {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
}

.product-price .price-range {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  font-weight: 400;
  margin-left: 4px;
}

/* ----- Page Banner ----- */
.page-banner {
  background: var(--near-black);
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}

.page-banner h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 12px;
  color: var(--ivory);
}

.page-banner p {
  font-size: 1.0625rem;
  color: var(--text-on-dark);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ----- Blog Grid ----- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

/* ----- Article Page ----- */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 52px;
  padding: 60px 0;
}

.article-header { margin-bottom: 32px; }

.article-header .badge {
  margin-bottom: 16px;
  display: inline-block;
}

.article-header h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.625rem, 4vw, 2.25rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
  color: var(--text-primary);
}

.article-byline {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--dark-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-on-dark);
  font-weight: 600;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.article-byline-text {
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.article-byline-text strong {
  color: var(--text-primary);
  display: block;
}

.article-img-placeholder {
  height: 380px;
  background: linear-gradient(135deg, var(--warm-sand) 0%, var(--border-warm) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-tertiary);
  font-weight: 500;
  margin-bottom: 36px;
}

.article-body {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text-primary);
}

.article-body h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 44px 0 14px;
  color: var(--text-primary);
  line-height: 1.25;
}

.article-body h3 {
  font-family: var(--font-serif);
  font-size: 1.1875rem;
  font-weight: 500;
  margin: 30px 0 10px;
}

.article-body p  { margin-bottom: 20px; }

.article-body ul,
.article-body ol { margin: 0 0 20px 24px; }

.article-body li { margin-bottom: 7px; }

.article-body strong { font-weight: 600; }

/* ----- Parts Table ----- */
.parts-table-wrap {
  overflow-x: auto;
  margin: 32px 0;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-warm);
  box-shadow: var(--shadow-ring);
}

.parts-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--ivory);
  font-size: 0.9375rem;
  font-family: var(--font-sans);
}

.parts-table th {
  background: var(--near-black);
  color: var(--text-on-dark);
  text-align: left;
  padding: 13px 18px;
  font-weight: 600;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.parts-table th:first-child { border-radius: var(--radius-sharp) 0 0 0; }
.parts-table th:last-child  { border-radius: 0 var(--radius-sharp) 0 0; }

.parts-table td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--border-cream);
  vertical-align: middle;
  color: var(--text-secondary);
}

.parts-table td:first-child { color: var(--text-primary); font-weight: 600; }

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

.parts-table tr:nth-child(even) td { background: var(--parchment); }

/* ----- Sidebar ----- */
.article-sidebar {
  position: sticky;
  top: 88px;
  align-self: start;
}

.sidebar-card {
  background: var(--ivory);
  border: 1px solid var(--border-cream);
  border-radius: var(--radius-sm);
  padding: 22px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-ring);
}

.sidebar-card h4 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-cream);
}

.sidebar-card ul { list-style: none; }

.sidebar-card ul li {
  padding: 7px 0;
  border-bottom: 1px solid var(--border-cream);
  font-size: 0.9rem;
}

.sidebar-card ul li:last-child { border-bottom: none; }

.sidebar-card ul li a {
  color: var(--text-secondary);
  text-decoration: none;
  line-height: 1.45;
}

.sidebar-card ul li a:hover { color: var(--terracotta); }

.sidebar-disclosure {
  font-size: 0.8125rem;
  color: #7a6020;
  background: #fefce8;
  border: 1px solid #fde68a;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  line-height: 1.55;
}

/* ----- Related Articles ----- */
.related-section {
  border-top: 1px solid var(--border-warm);
  margin-top: 56px;
  padding-top: 40px;
}

.related-section h2 {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 500;
  margin-bottom: 24px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.related-card {
  background: var(--ivory);
  border: 1px solid var(--border-cream);
  border-radius: var(--radius-sm);
  padding: 20px;
  transition: box-shadow .2s;
}

.related-card:hover {
  box-shadow: var(--shadow-ring);
}

.related-card h4 {
  font-family: var(--font-serif);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 8px;
}

.related-card h4 a { color: var(--text-primary); text-decoration: none; }
.related-card h4 a:hover { color: var(--terracotta); }

.related-card p {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

/* ----- About Page ----- */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 72px 0;
}

.about-intro h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.625rem, 4vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.about-intro p {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 18px;
}

.about-visual {
  background: var(--near-black);
  border-radius: var(--radius-lg);
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  color: var(--white);
  border: 1px solid var(--dark-surface);
}

/* CSS icon shapes */
.icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-box-accent  { background: #ede9e4; }
.icon-box-green   { background: #e6ede4; }
.icon-box-purple  { background: #ede4ed; }

.icon-shield {
  width: 22px; height: 22px;
  background: var(--terracotta);
  clip-path: polygon(50% 0%, 100% 18%, 100% 60%, 50% 100%, 0% 60%, 0% 18%);
}

.icon-check {
  width: 22px; height: 22px;
  background: #5e6e3b;
  clip-path: polygon(14% 44%, 0% 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}

.icon-bolt {
  width: 18px; height: 24px;
  background: #5c4a6e;
  clip-path: polygon(70% 0%, 30% 45%, 60% 45%, 30% 100%, 70% 55%, 40% 55%);
}

.trust-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding: 0;
}

.trust-point { display: flex; gap: 16px; }

.trust-point-text h3 {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 7px;
  color: var(--text-primary);
}

.trust-point-text p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.author-bio {
  background: var(--ivory);
  border: 1px solid var(--border-cream);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  gap: 32px;
  align-items: flex-start;
  margin: 24px 0 64px;
  box-shadow: var(--shadow-whisper);
}

.author-bio-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--dark-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-on-dark);
  font-size: 2rem;
  font-weight: 600;
  flex-shrink: 0;
  letter-spacing: -0.02em;
}

.author-bio-text h3 {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 500;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.author-bio-text .author-title {
  font-size: 0.9375rem;
  color: var(--terracotta);
  font-weight: 600;
  margin-bottom: 14px;
}

.author-bio-text p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ----- Privacy / Prose ----- */
.prose {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 0 88px;
}

.prose h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.prose .effective-date {
  font-size: 0.9375rem;
  color: var(--text-tertiary);
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-cream);
}

.prose h2 {
  font-family: var(--font-serif);
  font-size: 1.3125rem;
  font-weight: 500;
  margin: 44px 0 12px;
  color: var(--text-primary);
}

.prose p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 16px;
}

.prose ul,
.prose ol {
  margin: 0 0 18px 22px;
  color: var(--text-secondary);
}

.prose li {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 6px;
}

.disclosure-box {
  background: #fdf5ef;
  border: 1px solid #e8c9b4;
  border-radius: var(--radius-sm);
  padding: 22px 24px;
  margin: 24px 0;
}

.disclosure-box p {
  color: #7a3a1a;
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
}

/* ----- 404 ----- */
.not-found {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
}

.not-found-inner h1 {
  font-family: var(--font-serif);
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 500;
  color: var(--warm-sand);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.not-found-inner h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 500;
  margin-bottom: 14px;
  color: var(--text-primary);
}

.not-found-inner p {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 420px;
  line-height: 1.65;
}

/* ----- Dividers ----- */
hr {
  border: none;
  border-top: 1px solid var(--border-cream);
  margin: 44px 0;
}

/* ----- Responsive ----- */
@media (max-width: 991px) {
  .cards-grid    { grid-template-columns: repeat(2, 1fr); }
  .blog-grid     { grid-template-columns: repeat(2, 1fr); }
  .article-layout{ grid-template-columns: 1fr; gap: 36px; }
  .article-sidebar { position: static; }
  .related-grid  { grid-template-columns: repeat(2, 1fr); }
  .about-intro   { grid-template-columns: 1fr; gap: 40px; }
  .trust-points  { grid-template-columns: repeat(2, 1fr); }
  .footer-grid   { grid-template-columns: 1fr 1fr; }

  /* 4-col product grid → 2-col on tablet */
  .cards-grid[style*="repeat(4"] { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (max-width: 640px) {
  .cards-grid    { grid-template-columns: 1fr; }
  .blog-grid     { grid-template-columns: 1fr; }
  .related-grid  { grid-template-columns: 1fr; }
  .trust-points  { grid-template-columns: 1fr; }
  .footer-grid   { grid-template-columns: 1fr; }
  .author-bio    { flex-direction: column; }
  .parts-table   { font-size: 0.875rem; }
  .parts-table th,
  .parts-table td { padding: 10px 12px; }
  .nav-toggle    { display: flex; }
  .nav-links     {
    display: none; flex-direction: column;
    position: absolute; top: 64px; left: 0; right: 0;
    background: var(--near-black);
    padding: 12px 16px 16px;
    border-top: 1px solid var(--dark-surface);
  }
  .nav-links.open { display: flex; }
  .hero          { padding: 60px 0 72px; }
  .footer-bottom { flex-direction: column; }
  .about-intro   { padding: 48px 0; }
  .cards-grid[style*="repeat(4"] { grid-template-columns: 1fr !important; }
}
