/* ==========================================================================
   KratomPicks.com - Main Stylesheet
   Mobile-first responsive design | System fonts | No frameworks
   ========================================================================== */

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 100%;
}

body {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia,
    "Times New Roman", "Droid Serif", Times, "Source Serif Pro", serif;
  font-size: 1.125rem;
  line-height: 1.72;
  color: #1a1a1a;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #1a472a;
  text-decoration-color: rgba(26, 71, 42, .3);
  text-underline-offset: 3px;
  transition: color .2s, text-decoration-color .2s;
}

a:hover {
  color: #0f2e1a;
  text-decoration-color: #0f2e1a;
}

ul, ol {
  padding-left: 1.4em;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  line-height: 1.25;
  color: #111;
  letter-spacing: -0.01em;
}

h1 { font-size: 2rem;   margin-bottom: .6em; }
h2 { font-size: 1.6rem; margin-bottom: .5em; }
h3 { font-size: 1.3rem; margin-bottom: .45em; }
h4 { font-size: 1.1rem; margin-bottom: .4em; }

p   { margin-bottom: 1.2em; }
blockquote {
  border-left: 4px solid #1a472a;
  padding: .8em 1.2em;
  margin: 1.5em 0;
  background: #f0f5f0;
  font-style: italic;
  color: #333;
}

small, .text-sm { font-size: .875rem; }
.text-muted     { color: #666; }

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1rem;
}

.grid-2 {
  display: grid;
  gap: 1.5rem;
}

.grid-3 {
  display: grid;
  gap: 1.5rem;
}

/* Skip Link (accessibility) */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: #1a472a;
  color: #fff;
  padding: .5em 1em;
  z-index: 9999;
  border-radius: 0 0 4px 4px;
}

.skip-link:focus {
  top: 0;
}

/* HEADER – Sticky */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: #fff;
  border-bottom: 1px solid #e2e8e2;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
}

.site-header .container,
.site-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Container utility */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

.site-logo,
.logo {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: #1a472a;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.site-logo span,
.logo span {
  color: #d4920b;
}

/* Mobile nav toggle */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #1a1a1a;
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Primary nav – mobile-first */
.primary-nav,
.main-nav {
  display: none;
}

.primary-nav.is-open,
.primary-nav.open,
.main-nav.is-open,
.main-nav.open {
  display: block;
}

.primary-nav ul,
.main-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.primary-nav a,
.main-nav a {
  display: block;
  padding: .65rem 1.25rem;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: .95rem;
  font-weight: 600;
  color: #1a1a1a;
  text-decoration: none;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"],
.primary-nav a.active,
.main-nav a:hover,
.main-nav a[aria-current="page"],
.main-nav a.active {
  color: #1a472a;
  background: #f0f5f0;
}

/* Mobile nav dropdown when toggled */
@media (max-width: 767px) {
  .primary-nav,
  .main-nav {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid #e2e8e2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
    padding: .5rem 0;
  }
}

/* BREADCRUMBS */
.breadcrumbs {
  padding: .75rem 0;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: .82rem;
  color: #666;
}

.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .25rem;
  padding: 0;
}

.breadcrumbs li + li::before {
  content: "\203A";
  margin-right: .35rem;
  color: #999;
}

.breadcrumbs a {
  color: #666;
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: #1a472a;
  text-decoration: underline;
}

/* ==========================================================================
   HOMEPAGE & SECTION LAYOUT
   ========================================================================== */

.section {
  padding: 3rem 1rem;
}

.section-alt {
  background: #f0f5f0;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: #1a472a;
  text-align: center;
  margin-bottom: .35em;
}

.section-subtitle {
  text-align: center;
  color: #555;
  font-size: 1.02rem;
  max-width: 640px;
  margin: 0 auto 1.75rem;
}

/* Card Grid */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  padding: 1.5rem;
}

.card h3 {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a472a;
  margin-bottom: .4em;
}

.card p {
  color: #444;
  font-size: .93rem;
  line-height: 1.6;
  margin-bottom: .75em;
}

.card-link {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: .9rem;
  font-weight: 600;
  color: #1a472a;
  text-decoration: none;
}

.card-link:hover {
  color: #d4920b;
  text-decoration: underline;
}

.pick-badge {
  display: inline-block;
  background: #d4920b;
  color: #fff;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: .3em .75em;
  border-radius: 4px;
  margin-bottom: .6rem;
}

/* Primary button (amber CTA used on homepage) */
.btn-primary {
  display: inline-block;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  background: linear-gradient(180deg, #e5a210 0%, #d4920b 100%);
  color: #fff;
  text-decoration: none;
  padding: .8em 2em;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(212, 146, 11, .35);
  transition: transform .15s, box-shadow .2s, background .2s;
}

.btn-primary:hover {
  background: linear-gradient(180deg, #f0ad15 0%, #e5a210 100%);
  box-shadow: 0 4px 16px rgba(212, 146, 11, .45);
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: scale(.97);
}

/* Hero subtitle helper */
.hero .subtitle {
  color: rgba(255, 255, 255, .88);
  max-width: 620px;
  margin: 0 auto 1.5em;
  font-size: 1.02rem;
  line-height: 1.65;
}

/* Newsletter signup section */
.newsletter-section {
  background: #1a472a;
  color: #fff;
  padding: 3rem 1rem;
  text-align: center;
}

.newsletter-section h2 {
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: .5em;
}

.newsletter-section p {
  color: rgba(255,255,255,.85);
  max-width: 520px;
  margin: 0 auto 1.25rem;
}

.newsletter-form {
  display: flex;
  gap: .5rem;
  max-width: 440px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}

.newsletter-form input[type="email"] {
  flex: 1;
  min-width: 200px;
  padding: .7em 1em;
  border: 2px solid rgba(255,255,255,.3);
  border-radius: 6px;
  background: rgba(255,255,255,.1);
  color: #fff;
  font-size: 1rem;
}

.newsletter-form input[type="email"]::placeholder {
  color: rgba(255,255,255,.5);
}

.newsletter-form input[type="email"]:focus {
  outline: none;
  border-color: #d4920b;
  background: rgba(255,255,255,.15);
}

.newsletter-form button {
  padding: .7em 1.5em;
  border-radius: 6px;
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  font-size: .8rem;
  color: rgba(255,255,255,.7);
  text-align: left;
  max-width: 440px;
  margin: .75rem auto 0;
  cursor: pointer;
}

.consent-label input[type="checkbox"] {
  margin-top: .15em;
  flex-shrink: 0;
}

/* Responsive adjustments */
@media (min-width: 640px) {
  .section { padding: 3.5rem 1.5rem; }
  .section-title { font-size: 1.8rem; }
}

@media (min-width: 960px) {
  .section { padding: 4rem 2rem; }
  .section-title { font-size: 2rem; }
  .cards { gap: 2rem; }
}

/* HERO SECTION */
.hero {
  background: linear-gradient(135deg, #1a472a 0%, #245635 50%, #1a472a 100%);
  color: #fff;
  padding: 3rem 0;
  text-align: center;
}

.hero h1 {
  color: #fff;
  font-size: 1.8rem;
  max-width: 720px;
  margin: 0 auto .5em;
}

.hero p {
  color: rgba(255, 255, 255, .88);
  max-width: 600px;
  margin: 0 auto 1.5em;
  font-size: 1.05rem;
}

.hero .badge-updated {
  display: inline-block;
  background: rgba(255, 255, 255, .15);
  color: rgba(255, 255, 255, .9);
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: .78rem;
  font-weight: 600;
  padding: .3em .9em;
  border-radius: 999px;
  margin-bottom: 1rem;
}

/* BUTTONS / CTAs */
.btn {
  display: inline-block;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  padding: .75em 1.6em;
  transition: transform .15s, box-shadow .2s, background .2s;
}

.btn:active {
  transform: scale(.97);
}

/* Primary CTA – amber/gold */
.btn-cta {
  background: linear-gradient(180deg, #e5a210 0%, #d4920b 100%);
  color: #fff;
  box-shadow: 0 2px 6px rgba(212, 146, 11, .35);
  text-shadow: 0 1px 1px rgba(0, 0, 0, .12);
}

.btn-cta:hover {
  background: linear-gradient(180deg, #f0ad15 0%, #e5a210 100%);
  box-shadow: 0 4px 14px rgba(212, 146, 11, .4);
  color: #fff;
  text-decoration: none;
}

/* Secondary */
.btn-secondary {
  background: #1a472a;
  color: #fff;
}

.btn-secondary:hover {
  background: #245635;
  color: #fff;
  text-decoration: none;
}

/* Outline */
.btn-outline {
  background: transparent;
  color: #1a472a;
  border: 2px solid #1a472a;
}

.btn-outline:hover {
  background: #1a472a;
  color: #fff;
  text-decoration: none;
}

.btn-sm {
  font-size: .875rem;
  padding: .55em 1.2em;
}

.btn-lg {
  font-size: 1.1rem;
  padding: .85em 2em;
}

.btn-block {
  display: block;
  width: 100%;
}

/* VENDOR REVIEW CARDS */
.card {
  background: #fff;
  border: 1px solid #e8ede8;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .05);
  transition: box-shadow .25s, transform .25s;
}

.card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, .09);
  transform: translateY(-2px);
}

.card-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.card-body {
  padding: 1.25rem;
}

.card-body h3 {
  margin-bottom: .3em;
}

.card-body p {
  color: #444;
  font-size: .95rem;
  margin-bottom: 1em;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .75rem 1.25rem;
  border-top: 1px solid #eee;
  font-size: .875rem;
}

/* Rank Number (for numbered lists) */
.card-rank {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #1a472a;
  color: #fff;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 800;
  font-size: 1rem;
  border-radius: 50%;
  flex-shrink: 0;
}

/* BADGES – Editor's Pick, Best Value, etc. */
.badge {
  display: inline-block;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: .3em .7em;
  border-radius: 4px;
  line-height: 1;
  white-space: nowrap;
}

.badge-pick {
  background: #1a472a;
  color: #fff;
}

.badge-value {
  background: #d4920b;
  color: #fff;
}

.badge-new {
  background: #2d7a4a;
  color: #fff;
}

.badge-warn {
  background: #c0392b;
  color: #fff;
}

/* STAR RATINGS – CSS-only with unicode */
.stars {
  display: inline-flex;
  gap: 1px;
  font-size: 1.1rem;
  line-height: 1;
  color: #d4920b;
  letter-spacing: 1px;
}

.stars::before {
  /* Filled by data attribute via JS or hard-coded */
  content: attr(data-stars);
}

/* Static star helper classes */
.star-5::before  { content: "\2605\2605\2605\2605\2605"; }
.star-45::before { content: "\2605\2605\2605\2605\00BD"; }
.star-4::before  { content: "\2605\2605\2605\2605\2606"; }
.star-35::before { content: "\2605\2605\2605\00BD\2606"; }
.star-3::before  { content: "\2605\2605\2605\2606\2606"; }
.star-25::before { content: "\2605\2605\00BD\2606\2606"; }
.star-2::before  { content: "\2605\2605\2606\2606\2606"; }

.stars-label {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: .85rem;
  font-weight: 600;
  color: #333;
  margin-left: .35em;
}

/* PROS / CONS LISTS */
.pros-cons {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0;
}

.pros-list,
.cons-list {
  border-radius: 6px;
  padding: 1rem 1.25rem;
}

.pros-list {
  background: #edf7ed;
  border-left: 4px solid #2d7a4a;
}

.cons-list {
  background: #fdf0ee;
  border-left: 4px solid #c0392b;
}

.pros-list h4,
.cons-list h4 {
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: .5em;
}

.pros-list h4 { color: #2d7a4a; }
.cons-list h4 { color: #c0392b; }

.pros-list ul,
.cons-list ul {
  list-style: none;
  padding: 0;
}

.pros-list li,
.cons-list li {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: .45em;
  font-size: .95rem;
}

.pros-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: #2d7a4a;
  font-weight: 700;
}

.cons-list li::before {
  content: "\2717";
  position: absolute;
  left: 0;
  color: #c0392b;
  font-weight: 700;
}

/* COMPARISON TABLE */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.5rem 0;
  border: 1px solid #e2e8e2;
  border-radius: 8px;
}

.comparison-table {
  width: 100%;
  min-width: 580px;
  border-collapse: collapse;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: .9rem;
}

.comparison-table thead {
  background: #1a472a;
  color: #fff;
}

.comparison-table th {
  padding: .75rem 1rem;
  text-align: left;
  font-weight: 600;
  white-space: nowrap;
}

.comparison-table td {
  padding: .7rem 1rem;
  border-bottom: 1px solid #eee;
  vertical-align: middle;
}

.comparison-table tbody tr:nth-child(even) {
  background: #f8fbf8;
}

.comparison-table tbody tr:hover {
  background: #f0f5f0;
}

.comparison-table .highlight-row {
  background: #fffbf0;
  border-left: 3px solid #d4920b;
}

/* TABLE OF CONTENTS – Sidebar */
.toc {
  background: #f8fbf8;
  border: 1px solid #e2e8e2;
  border-radius: 8px;
  padding: 1.25rem;
  margin-bottom: 2rem;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.toc-title {
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #1a472a;
  margin-bottom: .75em;
}

.toc ol {
  list-style: none;
  padding: 0;
  counter-reset: toc-count;
}

.toc li {
  counter-increment: toc-count;
  margin-bottom: .35em;
}

.toc li::before {
  content: counter(toc-count) ".";
  color: #999;
  font-size: .8rem;
  margin-right: .4em;
  font-weight: 600;
}

.toc a {
  font-size: .9rem;
  color: #444;
  text-decoration: none;
}

.toc a:hover {
  color: #1a472a;
  text-decoration: underline;
}

/* Sticky sidebar variant */
.toc-sidebar {
  position: sticky;
  top: 76px;
}

/* FAQ ACCORDION – CSS-only (details/summary) */
.faq {
  margin: 2rem 0;
}

.faq details {
  border-bottom: 1px solid #e2e8e2;
}

.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: #1a1a1a;
  cursor: pointer;
  list-style: none;
}

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

.faq summary::after {
  content: "+";
  font-size: 1.3rem;
  font-weight: 300;
  color: #888;
  flex-shrink: 0;
  margin-left: 1rem;
  transition: transform .2s;
}

.faq details[open] summary::after {
  content: "\2212";
}

.faq details .faq-body {
  padding: 0 0 1.25rem;
  color: #444;
  font-size: .98rem;
}

/* TRUST SIGNALS */
.trust-bar {
  background: #f8fbf8;
  border-top: 1px solid #e2e8e2;
  border-bottom: 1px solid #e2e8e2;
  padding: 1.25rem 0;
  text-align: center;
}

.trust-bar .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2.5rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: .82rem;
  font-weight: 600;
  color: #555;
  white-space: nowrap;
}

.trust-item svg,
.trust-item img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Trust Grid – card layout for homepage trust section */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.trust-grid .trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  white-space: normal;
  background: #fff;
  border: 1px solid #e2e8e2;
  border-radius: 8px;
  padding: 1.75rem 1.25rem;
  gap: 0;
  transition: box-shadow .2s ease, transform .2s ease;
}

.trust-grid .trust-item:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
  transform: translateY(-2px);
}

.trust-grid .trust-icon {
  font-size: 2.25rem;
  margin-bottom: .75rem;
  line-height: 1;
}

.trust-grid .trust-item h3 {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a472a;
  margin: 0 0 .5rem 0;
}

.trust-grid .trust-item p {
  font-family: "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;
  font-size: .92rem;
  font-weight: 400;
  color: #555;
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 639px) {
  .trust-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .trust-grid .trust-item {
    padding: 1.25rem 1rem;
  }
}

/* VENDOR REVIEW – Full Page Components */
.review-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e2e8e2;
}

.review-score {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: #1a472a;
  color: #fff;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  border-radius: 8px;
  flex-shrink: 0;
}

.review-meta {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: .82rem;
  color: #888;
}

/* Score breakdown bars */
.score-bars {
  margin: 1.5rem 0;
}

.score-bar-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .6rem;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: .85rem;
}

.score-bar-label {
  width: 120px;
  flex-shrink: 0;
  color: #444;
  font-weight: 600;
}

.score-bar-track {
  flex: 1;
  height: 8px;
  background: #e8ede8;
  border-radius: 4px;
  overflow: hidden;
}

.score-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #1a472a, #2d7a4a);
  border-radius: 4px;
  transition: width .4s ease;
}

.score-bar-value {
  width: 32px;
  text-align: right;
  font-weight: 700;
  color: #1a472a;
}

/* AGE GATE OVERLAY */
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .7);
  backdrop-filter: blur(4px);
}

.age-gate-box {
  background: #fff;
  border-radius: 12px;
  padding: 2.5rem 2rem;
  max-width: 420px;
  width: 90%;
  text-align: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .25);
}

.age-gate-box h2 {
  margin-bottom: .4em;
}

.age-gate-box p {
  font-size: .95rem;
  color: #555;
  margin-bottom: 1.5em;
}

.age-gate-actions {
  display: flex;
  gap: .75rem;
  justify-content: center;
}

.age-gate .btn-confirm {
  background: linear-gradient(180deg, #e5a210 0%, #d4920b 100%);
  color: #fff;
  border: none;
  padding: .8em 2em;
  font-size: 1.05rem;
  font-weight: 700;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(212, 146, 11, .3);
  transition: transform .15s, box-shadow .2s;
}

.age-gate .btn-confirm:hover {
  box-shadow: 0 4px 16px rgba(212, 146, 11, .45);
  transform: translateY(-1px);
}

.age-gate .btn-deny {
  background: transparent;
  color: #777;
  border: 1px solid #ccc;
  padding: .8em 1.5em;
  font-size: .95rem;
  font-weight: 500;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  border-radius: 6px;
  cursor: pointer;
  transition: background .2s;
}

.age-gate .btn-deny:hover {
  background: #f5f5f5;
}

.age-gate.is-hidden,
.age-gate.hidden {
  display: none;
}

.hidden {
  display: none !important;
}

/* ARTICLE LAYOUT */
.article-content {
  max-width: 720px;
}

.article-content h2 {
  margin-top: 2.2em;
  padding-top: 1.2em;
  border-top: 1px solid #e8ede8;
}

.article-content h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.article-content h3 {
  margin-top: 1.6em;
}

.article-content ul,
.article-content ol {
  margin-bottom: 1.2em;
}

.article-content li {
  margin-bottom: .35em;
}

/* Author byline */
.byline {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 2rem;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: .85rem;
  color: #666;
}

.byline-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

/* FOOTER */
.site-footer {
  background: #111;
  color: #ccc;
  padding: 3rem 0 1.5rem;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: .88rem;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-col h4 {
  color: #fff;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .75em;
}

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

.footer-col li {
  margin-bottom: .4em;
}

.footer-col a {
  color: #aaa;
  text-decoration: none;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid #2a2a2a;
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem;
  font-size: .78rem;
  color: #777;
}

.footer-disclaimer {
  max-width: 720px;
  font-size: .75rem;
  color: #666;
  line-height: 1.55;
  margin-top: 1rem;
}

/* ==========================================================================
   PAGE-LEVEL COMPONENTS (used across content pages)
   ========================================================================== */

/* Signup / Email sections */
.signup,
.email-signup {
  background: #1a472a;
  color: #fff;
  padding: 3rem 1rem;
  text-align: center;
}

.signup h2,
.email-signup h2 {
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: .5em;
}

.signup p,
.email-signup p {
  color: rgba(255,255,255,.85);
  max-width: 580px;
  margin: 0 auto 1.25rem;
}

.signup-note {
  font-size: .8rem !important;
  color: rgba(255,255,255,.55) !important;
  margin-top: .75rem !important;
}

/* CTA Button (used on vendor review pages) */
.cta-button {
  display: inline-block;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  background: linear-gradient(180deg, #e5a210 0%, #d4920b 100%);
  color: #fff;
  text-decoration: none;
  padding: .8em 2em;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(212, 146, 11, .35);
  transition: transform .15s, box-shadow .2s, background .2s;
}

.cta-button:hover {
  background: linear-gradient(180deg, #f0ad15 0%, #e5a210 100%);
  box-shadow: 0 4px 16px rgba(212, 146, 11, .45);
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}

/* Vendor review sections */
.vendor-review {
  padding: 2rem 0;
  border-bottom: 1px solid #e8ede8;
}

.vendor-review:last-of-type {
  border-bottom: none;
}

.vendor-review h2 {
  color: #1a472a;
}

/* Rating display */
.rating {
  font-size: 1.25rem;
  color: #d4920b;
  margin-bottom: .5rem;
}

/* Quick stats / info boxes */
.quick-stats,
.stats-box,
.review-summary,
.summary-box {
  background: #f0f5f0;
  border-left: 4px solid #1a472a;
  border-radius: 6px;
  padding: 1.25rem 1.5rem;
  margin: 1.25rem 0;
}

/* Quick picks list */
.quick-picks {
  background: #f0f7f0;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.quick-picks-title {
  font-size: 1.15rem !important;
  margin-bottom: .75rem !important;
}

.picks-list {
  list-style: none;
  padding: 0;
}

.picks-list li {
  padding: .4rem 0;
  border-bottom: 1px solid #d8e8d8;
}

.picks-list li:last-child {
  border-bottom: none;
}

.pick-label {
  font-weight: 700;
  color: #1a472a;
}

.pick-note {
  color: #666;
  font-size: .9rem;
}

/* Byline / author area */
.byline {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: .85rem;
  color: #666;
  margin-bottom: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  align-items: center;
}

.byline .separator {
  color: #ccc;
}

/* Vendor guide / article layout */
.vendor-guide,
.article-wrapper {
  padding: 2rem 0;
}

/* TOC (Table of Contents) */
.toc {
  background: #f7faf7;
  border: 1px solid #e2e8e2;
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.toc h3,
.toc-title {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .75rem;
  color: #1a472a;
}

.toc ol,
.toc ul {
  padding-left: 1.25rem;
  margin: 0;
}

.toc li {
  padding: .25rem 0;
  font-size: .92rem;
}

.toc a {
  text-decoration: none;
  color: #1a472a;
}

.toc a:hover,
.toc a.active {
  color: #d4920b;
  text-decoration: underline;
}

/* Pros and Cons lists */
.pros-list,
.cons-list {
  list-style: none;
  padding: 0;
}

.pros-list li::before {
  content: "\2714 ";
  color: #2d7a4a;
  font-weight: bold;
  margin-right: .4rem;
}

.cons-list li::before {
  content: "\2718 ";
  color: #c0392b;
  font-weight: bold;
  margin-right: .4rem;
}

.pros-list li,
.cons-list li {
  padding: .3rem 0;
}

/* Comparison tables */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: .9rem;
}

.comparison-table th {
  background: #1a472a;
  color: #fff;
  padding: .65rem .75rem;
  text-align: left;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
  font-size: .85rem;
}

.comparison-table td {
  padding: .6rem .75rem;
  border-bottom: 1px solid #e8ede8;
}

.comparison-table tr:nth-child(even) {
  background: #f8fbf8;
}

.comparison-table tr:hover {
  background: #f0f5f0;
}

/* Responsive table wrapper */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.5rem 0;
}

/* Hamburger toggle (alternate class names) */
.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #1a1a1a;
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}

@media (min-width: 960px) {
  .menu-toggle { display: none; }
}

/* Footer */
.site-footer {
  background: #1a1a1a;
  color: #aaa;
  padding: 2.5rem 1rem;
  font-size: .88rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-nav a {
  color: #ccc;
  text-decoration: none;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
  font-size: .85rem;
}

.footer-nav a:hover {
  color: #d4920b;
}

.disclaimer {
  color: #888;
  font-size: .82rem;
  line-height: 1.6;
}

.disclaimer p {
  margin-bottom: .75rem;
}

.copyright {
  color: #666;
  margin-top: 1rem;
  font-size: .8rem;
}

/* Definition boxes (for GEO optimization) */
.definition-box,
.quick-facts {
  background: #f7faf7;
  border: 1px solid #d8e8d8;
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  font-size: .95rem;
}

.definition-box strong {
  color: #1a472a;
}

/* Key takeaways box */
.key-takeaways {
  background: #f0f7f0;
  border-left: 4px solid #d4920b;
  border-radius: 6px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.key-takeaways h3 {
  font-size: 1rem;
  margin-bottom: .5rem;
  color: #1a472a;
}

.key-takeaways ul {
  padding-left: 1.25rem;
  margin: 0;
}

.key-takeaways li {
  padding: .2rem 0;
}

/* NOTICE / INFO BOXES */
.notice {
  border-radius: 6px;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  font-size: .95rem;
}

.notice-info {
  background: #eef5ff;
  border-left: 4px solid #3b82f6;
}

.notice-warn {
  background: #fffbeb;
  border-left: 4px solid #d4920b;
}

.notice-success {
  background: #edf7ed;
  border-left: 4px solid #2d7a4a;
}

/* RESPONSIVE – Tablet (640px+) */
@media (min-width: 640px) {
  h1 { font-size: 2.4rem; }
  h2 { font-size: 1.8rem; }

  .hero { padding: 4rem 0; }
  .hero h1 { font-size: 2.2rem; }

  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .pros-cons { grid-template-columns: 1fr 1fr; }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* RESPONSIVE – Desktop (960px+) */
@media (min-width: 960px) {
  h1 { font-size: 2.75rem; }

  .hero { padding: 5rem 0; }
  .hero h1 { font-size: 2.6rem; }

  /* Desktop nav */
  .nav-toggle { display: none; }

  .primary-nav,
  .main-nav {
    display: flex !important;
    position: static;
    border: none;
    box-shadow: none;
    padding: 0;
    background: transparent;
  }

  .primary-nav ul,
  .main-nav ul {
    display: flex;
    gap: .25rem;
  }

  .primary-nav a,
  .main-nav a {
    padding: .4rem .75rem;
    border-radius: 4px;
    background: transparent;
  }

  /* Grid layouts */
  .grid-3 { grid-template-columns: repeat(3, 1fr); }

  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Article + sidebar layout */
  .layout-sidebar {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 3rem;
    align-items: start;
  }
}

/* RESPONSIVE – Wide (1200px+) */
@media (min-width: 1200px) {
  .container {
    padding: 0 2rem;
  }

  .layout-sidebar {
    grid-template-columns: 1fr 280px;
    gap: 4rem;
  }
}

/* DARK MODE */
@media (prefers-color-scheme: dark) {
  body {
    background: #111;
    color: #ddd;
  }

  h1, h2, h3, h4, h5, h6 { color: #eee; }
  a { color: #6abf8a; text-decoration-color: rgba(106, 191, 138, .3); }
  a:hover { color: #8fd4a8; text-decoration-color: #8fd4a8; }

  .site-header {
    background: #1a1a1a;
    border-color: #2a2a2a;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
  }

  .site-logo { color: #6abf8a; }

  .primary-nav {
    background: #1a1a1a;
    border-color: #2a2a2a;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .3);
  }

  .primary-nav a { color: #ccc; }
  .primary-nav a:hover,
  .primary-nav a[aria-current="page"] {
    color: #6abf8a;
    background: #222;
  }

  .nav-toggle span { background: #ccc; }

  .card {
    background: #1e1e1e;
    border-color: #333;
  }

  .card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, .35);
  }

  .card-body p { color: #bbb; }
  .card-footer { border-color: #333; }

  .comparison-table thead { background: #1a3a26; }
  .comparison-table td { border-color: #2a2a2a; }
  .comparison-table tbody tr:nth-child(even) { background: #1a1a1a; }
  .comparison-table tbody tr:hover { background: #222; }
  .comparison-table .highlight-row { background: #2a2510; }

  .hero {
    background: linear-gradient(135deg, #0f2e1a 0%, #1a472a 50%, #0f2e1a 100%);
  }

  blockquote { background: #1a1f1a; border-color: #2d7a4a; color: #bbb; }

  .toc { background: #1a1a1a; border-color: #2a2a2a; }
  .toc a { color: #aaa; }
  .toc a:hover { color: #6abf8a; }

  .trust-bar { background: #1a1a1a; border-color: #2a2a2a; }
  .trust-item { color: #aaa; }

  .pros-list { background: #1a2a1a; border-color: #2d7a4a; }
  .cons-list { background: #2a1a1a; border-color: #c0392b; }

  .faq details { border-color: #2a2a2a; }
  .faq summary { color: #ddd; }
  .faq .faq-body { color: #bbb; }

  .notice-info { background: #1a2030; border-color: #3b82f6; }
  .notice-warn { background: #2a2510; border-color: #d4920b; }
  .notice-success { background: #1a2a1a; border-color: #2d7a4a; }

  .breadcrumbs a { color: #888; }
  .breadcrumbs a:hover { color: #6abf8a; }

  .score-bar-track { background: #2a2a2a; }
  .review-score { background: #2d7a4a; }

  .age-gate-box { background: #1e1e1e; }
  .age-gate-box p { color: #aaa; }

  .article-content h2 { border-color: #2a2a2a; }

  .site-footer { background: #0a0a0a; }
}

/* PRINT */
@media print {
  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }

  .site-header,
  .nav-toggle,
  .primary-nav,
  .toc-sidebar,
  .age-gate,
  .trust-bar,
  .site-footer,
  .btn-cta {
    display: none !important;
  }

  a { color: #000; text-decoration: underline; }

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: .8em;
    color: #555;
  }

  .card {
    box-shadow: none;
    border: 1px solid #ccc;
    break-inside: avoid;
  }

  .hero {
    background: none;
    color: #000;
    padding: 1rem 0;
  }

  .hero h1 { color: #000; }
}

/* UTILITIES */
.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;
}

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2.5rem; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: .5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2.5rem; }
.pt-0 { padding-top: 0; }
.pb-0 { padding-bottom: 0; }

.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: .5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
