/* ==========================================================================
   VigorScienceLab V2 — Production Editorial Stylesheet
   Target: Cloudflare Workers Static Assets (Zero Runtime CSS Dependencies)
   Palette: Deep Navy (#0B132B), Rich Teal (#0D9488), Off-White (#F8FAFC)
   ========================================================================== */

:root {
  --navy-950: #070c1b;
  --navy-900: #0b132b;
  --navy-800: #152244;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --off-white: #f8fafc;
  --white: #ffffff;
  --teal-700: #0f766e;
  --teal-600: #0d9488;
  --teal-500: #14b8a6;
  --teal-400: #2dd4bf;
  --teal-100: #ccfbf1;
  --teal-50: #f0fdfa;
  --amber-700: #b45309;
  --amber-100: #fef3c7;
  --amber-50: #fffbeb;
  --emerald-700: #047857;
  --emerald-50: #ecfdf5;
  --rose-700: #be123c;
  --rose-50: #fff1f2;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 3px rgba(11, 19, 43, 0.06);
  --shadow-md: 0 8px 24px -4px rgba(11, 19, 43, 0.08), 0 2px 6px -1px rgba(11, 19, 43, 0.04);
  --shadow-lg: 0 20px 40px -12px rgba(11, 19, 43, 0.16);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--off-white);
  color: var(--slate-900);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--teal-700);
  text-decoration: none;
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

a:hover {
  color: var(--teal-600);
}

.container {
  width: 100%;
  max-width: min(1240px, 100%);
  min-width: 0;
  margin: 0 auto;
  padding: 0 1.25rem;
  box-sizing: border-box;
}

.container-narrow {
  width: 100%;
  max-width: min(920px, 100%);
  min-width: 0;
  margin: 0 auto;
  padding: 0 1.25rem;
  box-sizing: border-box;
}

.top-bar {
  background-color: var(--navy-950);
  color: var(--slate-300);
  font-size: 0.775rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.5rem 0;
}

.top-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.badge-editorial {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.6rem;
  max-width: 100%;
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
  line-height: 1.35;
  box-sizing: border-box;
  border-radius: 4px;
  background: rgba(20, 184, 166, 0.16);
  color: var(--teal-400);
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid rgba(45, 212, 191, 0.3);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--slate-200);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
  gap: 1rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--slate-900);
  text-decoration: none;
}

.brand-icon {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 10px;
  background: var(--navy-900);
  color: var(--teal-400);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.brand-title {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--navy-900);
  line-height: 1.1;
}

.brand-title span {
  color: var(--teal-600);
}

.brand-subtitle {
  display: block;
  font-size: 0.7rem;
  color: var(--slate-500);
  font-weight: 500;
  margin-top: 0.15rem;
}

.main-nav {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

@media (min-width: 900px) {
  .main-nav {
    display: flex;
  }
}

.nav-link {
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--slate-700);
}

.nav-link:hover, .nav-link.active {
  background-color: var(--teal-50);
  color: var(--teal-700);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.brand-logo {
  min-width: 0;
}

@media (max-width: 480px) {
  .header-actions .btn {
    display: none;
  }
  .brand-subtitle {
    font-size: 0.64rem;
  }
}

.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--slate-200);
  background: var(--white);
  color: var(--slate-700);
  cursor: pointer;
}

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

.mobile-drawer {
  display: none;
  background: var(--white);
  border-bottom: 1px solid var(--slate-200);
  padding: 1rem 1.25rem;
}

.mobile-drawer.open {
  display: block;
}

.mobile-drawer a {
  display: block;
  padding: 0.65rem 0.75rem;
  font-weight: 600;
  color: var(--slate-800);
  border-radius: var(--radius-sm);
}

.mobile-drawer a:hover {
  background: var(--teal-50);
  color: var(--teal-700);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.2;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  transition: all 0.18s ease;
}

.btn-sm {
  padding: 0.5rem 0.95rem;
  font-size: 0.8rem;
  border-radius: var(--radius-sm);
}

.btn-primary {
  background-color: var(--teal-600);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.25);
}

.btn-primary:hover {
  background-color: var(--teal-700);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-navy {
  background-color: var(--navy-900);
  color: var(--white);
}

.btn-navy:hover {
  background-color: var(--navy-800);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-outline {
  background-color: var(--white);
  color: var(--slate-800);
  border-color: var(--slate-300);
}

.btn-outline:hover {
  background-color: var(--slate-100);
  color: var(--slate-900);
}

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.24);
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
}

.btn-pending {
  background-color: var(--slate-100);
  color: var(--slate-600);
  border: 1px dashed var(--slate-300);
  cursor: default;
}

.breadcrumb-bar {
  background: var(--white);
  border-bottom: 1px solid var(--slate-200);
  padding: 0.65rem 0;
  font-size: 0.8rem;
  color: var(--slate-500);
}

.breadcrumb-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.breadcrumb-list li + li::before {
  content: "/";
  margin-right: 0.45rem;
  color: var(--slate-400);
}

.hero-section {
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 58%, #0d3b3e 100%);
  color: var(--white);
  padding: 3.5rem 0 4.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-grid > * {
  min-width: 0;
  max-width: 100%;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }
}

.hero-kicker {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  max-width: 100%;
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
  line-height: 1.35;
  background: rgba(20, 184, 166, 0.15);
  border: 1px solid rgba(45, 212, 191, 0.35);
  color: var(--teal-400);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}

.hero-title {
  font-size: clamp(2rem, 4vw, 3.15rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-bottom: 1.15rem;
  color: var(--white);
}

.hero-lead {
  font-size: 1.08rem;
  color: var(--slate-300);
  max-width: 640px;
  margin-bottom: 1.75rem;
  line-height: 1.65;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.hero-trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.trust-metric strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--teal-400);
}

.trust-metric span {
  font-size: 0.76rem;
  color: var(--slate-300);
}

.hero-media-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-media-card img {
  width: 100%;
  height: 290px;
  object-fit: cover;
}

.hero-media-caption {
  padding: 1.25rem 1.5rem;
  background: rgba(11, 19, 43, 0.88);
}

.hero-media-caption h2 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.35rem;
}

.hero-media-caption p {
  font-size: 0.82rem;
  color: var(--slate-300);
}

.section {
  padding: 3.75rem 0;
}

.section-alt {
  background-color: var(--white);
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}

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

.section-kicker {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal-700);
  margin-bottom: 0.4rem;
}

.section-title {
  font-size: clamp(1.6rem, 2.8vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy-900);
  line-height: 1.2;
}

.section-desc {
  font-size: 1rem;
  color: var(--slate-600);
  max-width: 720px;
  margin-top: 0.6rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.product-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  min-width: 0;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

@media (max-width: 380px) {
  .product-card {
    padding: 1.15rem;
  }
}

.product-card:hover {
  border-color: var(--teal-500);
  transform: translateY(-2px);
}

.product-card-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
}

.product-card-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.48rem;
  min-width: 0;
  max-width: 100%;
  width: 100%;
}

@media (min-width: 768px) {
  .product-card-top {
    min-height: 9.25rem;
  }
}

.product-badge {
  display: inline-block;
  max-width: 100%;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.28rem 0.65rem;
  border-radius: 6px;
  background: var(--teal-50);
  color: var(--teal-700);
  border: 1px solid var(--teal-100);
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
  box-sizing: border-box;
}

.score-pill {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.4rem;
  text-align: left;
  background: var(--slate-100);
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
  border: 1px solid var(--slate-200);
  flex-shrink: 1;
  min-width: 0;
  max-width: 100%;
  line-height: 1.35;
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
  box-sizing: border-box;
}

.score-pill span {
  display: inline;
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--teal-700);
}

.score-pill strong {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1.35;
}

.product-card-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1.25;
  margin: 0.2rem 0 0;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  word-break: normal;
  overflow-wrap: break-word;
}

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

.product-card-title a:hover {
  color: var(--teal-700);
}

.product-card-subtitle {
  font-size: 0.82rem;
  color: var(--slate-600);
  font-weight: 600;
  line-height: 1.45;
  margin: 0;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  word-break: normal;
  overflow-wrap: break-word;
}

.product-image-wrap {
  height: 175px;
  width: 100%;
  max-width: 100%;
  margin-top: 1rem;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-200);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  text-decoration: none;
  box-sizing: border-box;
}

.product-image-wrap img {
  max-height: 145px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.product-card-summary {
  font-size: 0.89rem;
  color: var(--slate-700);
  line-height: 1.62;
  margin: 0.95rem 0 0.85rem;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  word-break: normal;
  overflow-wrap: break-word;
}

.product-meta-list {
  list-style: none;
  font-size: 0.82rem;
  color: var(--slate-700);
  margin: auto 0 0;
  padding: 0;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.product-meta-list li {
  padding: 0.42rem 0;
  border-bottom: 1px dashed var(--slate-200);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  min-width: 0;
  max-width: 100%;
}

.product-meta-list li span {
  color: var(--slate-600);
  flex: 0 0 auto;
  min-width: 0;
}

.product-meta-list li strong {
  color: var(--navy-900);
  font-weight: 700;
  text-align: right;
  flex: 1 1 auto;
  min-width: 0;
  word-break: normal;
  overflow-wrap: break-word;
}

@media (max-width: 380px) {
  .product-meta-list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.12rem;
  }
  .product-meta-list li strong {
    text-align: left;
  }
}

.product-card-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.55rem;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin-top: auto;
}

.product-card-actions .btn {
  width: 100%;
  max-width: 100%;
  white-space: normal;
  text-align: center;
  line-height: 1.35;
  box-sizing: border-box;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-md);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.875rem;
}

.data-table th {
  background: var(--navy-900);
  color: var(--white);
  font-weight: 700;
  padding: 0.95rem 1rem;
  white-space: nowrap;
}

.data-table td {
  padding: 0.95rem 1rem;
  border-bottom: 1px solid var(--slate-200);
  color: var(--slate-700);
  vertical-align: middle;
}

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

.data-table tr:hover td {
  background-color: var(--slate-100);
}

.quiz-box {
  background: var(--white);
  border: 2px solid var(--slate-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.quiz-header {
  background: var(--navy-900);
  color: var(--white);
  padding: 1.5rem 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.quiz-body {
  padding: 2rem;
}

.form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
}

.form-grid > * {
  min-width: 0;
  max-width: 100%;
}

@media (min-width: 700px) {
  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--slate-600);
  margin-bottom: 0.45rem;
}

.form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-300);
  background-color: var(--off-white);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--slate-900);
}

.quiz-result-panel {
  margin-top: 1.75rem;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--teal-50);
  border: 1px solid rgba(13, 148, 136, 0.35);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.75rem;
  align-items: start;
  width: 100%;
  max-width: 100%;
}

.article-layout > * {
  min-width: 0;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 980px) {
  .article-layout {
    grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
    gap: 2.25rem;
  }
}

.article-main {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  min-width: 0;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  overflow-wrap: break-word;
}

@media (min-width: 640px) {
  .article-main {
    padding: 2rem;
  }
}

.article-main h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy-900);
  margin: 2rem 0 0.85rem;
  padding-bottom: 0.45rem;
  border-bottom: 2px solid var(--slate-100);
}

.article-main h2:first-child {
  margin-top: 0;
}

.article-main h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--slate-900);
  margin: 1.5rem 0 0.6rem;
}

.article-main p {
  margin-bottom: 1.1rem;
  color: var(--slate-700);
}

.article-main ul, .article-main ol {
  margin: 0.75rem 0 1.25rem 1.35rem;
  color: var(--slate-700);
}

.article-main li {
  margin-bottom: 0.45rem;
}

.article-sidebar {
  position: static;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-width: 0;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 980px) {
  .article-sidebar {
    position: sticky;
    top: 5.5rem;
  }
}

.sidebar-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  min-width: 0;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 640px) {
  .sidebar-card {
    padding: 1.5rem;
  }
}

.sidebar-card .product-meta-list li {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
}

.sidebar-card .product-meta-list li strong {
  text-align: left !important;
  width: 100%;
}

.callout {
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  margin: 1.25rem 0;
  font-size: 0.92rem;
}

.callout-teal {
  background: var(--teal-50);
  border-left: 4px solid var(--teal-600);
  color: var(--slate-800);
}

.callout-amber {
  background: var(--amber-50);
  border-left: 4px solid var(--amber-700);
  color: var(--slate-800);
}

.pros-cons-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.pros-cons-grid > * {
  min-width: 0;
  max-width: 100%;
}

@media (min-width: 680px) {
  .pros-cons-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.pros-box {
  background: var(--emerald-50);
  border: 1px solid rgba(4, 120, 87, 0.25);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.cons-box {
  background: var(--rose-50);
  border: 1px solid rgba(190, 18, 60, 0.25);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.faq-item {
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.35rem;
  margin-bottom: 0.85rem;
  background: var(--off-white);
}

.faq-item h3 {
  margin: 0 0 0.45rem !important;
  font-size: 1.02rem;
  color: var(--navy-900);
}

.faq-item p {
  margin: 0 !important;
  font-size: 0.92rem;
}

.site-footer {
  background: var(--navy-950);
  color: var(--slate-400);
  padding: 4rem 0 2.5rem;
  margin-top: auto;
  border-top: 1px solid var(--slate-800);
  font-size: 0.85rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.75rem;
  margin-bottom: 2.5rem;
}

.footer-grid > * {
  min-width: 0;
  max-width: 100%;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  .footer-grid {
    grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr));
    gap: 2rem;
  }
}

.footer-heading {
  color: var(--white);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.85rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--slate-400);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-disclaimers {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--slate-400);
}

.footer-disclaimers p {
  margin-bottom: 0.65rem;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.filter-pill {
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--slate-300);
  background: var(--white);
  color: var(--slate-700);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.filter-pill.active {
  background: var(--navy-900);
  color: var(--white);
  border-color: var(--navy-900);
}


/* Global Mobile Responsiveness Safeguards */
html, body {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

main, section, article, aside, header, footer, nav,
.top-bar, .site-header, .breadcrumb-bar, .site-footer {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.article-main > *,
.sidebar-card > *,
.callout,
.faq-item,
.pros-box,
.cons-box {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.btn {
  max-width: 100%;
  white-space: normal;
  text-align: center;
  box-sizing: border-box;
}

h1, h2, h3, h4, p, li, a, span, strong {
  overflow-wrap: break-word;
  word-break: normal;
}

code, pre {
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
}

.table-wrap {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
}

@media (max-width: 1240px) {
  .container {
    max-width: 100%;
  }
}

@media (max-width: 920px) {
  .container-narrow {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .container, .container-narrow {
    max-width: 100%;
    padding: 0 1rem;
  }
  .section {
    padding: 2.5rem 0;
  }
  .callout {
    padding: 1rem 1.1rem;
  }
  .article-meta-bar {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 0.3rem !important;
  }
  .article-meta-bar .meta-sep {
    display: none;
  }
  /* Convert review & guide tables inside .article-main into full-width readable stacked cards on mobile */
  .article-layout .data-table,
  .article-layout .data-table tbody,
  .article-layout .data-table tr,
  .article-layout .data-table td,
  .article-main .data-table,
  .article-main .data-table tbody,
  .article-main .data-table tr,
  .article-main .data-table td {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    white-space: normal;
    overflow-wrap: break-word;
  }
  .article-layout .data-table thead,
  .article-main .data-table thead {
    display: none;
  }
  .article-layout .data-table tr,
  .article-main .data-table tr {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--slate-200);
  }
  .article-layout .data-table tr:last-child,
  .article-main .data-table tr:last-child {
    border-bottom: none;
  }
  .article-layout .data-table td,
  .article-main .data-table td {
    padding: 0.18rem 0;
    border-bottom: none;
    font-size: 0.85rem;
    line-height: 1.5;
  }
}
