/* ============================================================
   SilentSecurity.net — Inner Page Styles
   Extends styles.css for all non-homepage pages
   ============================================================ */

/* ── Global table overflow — all inner pages ───────────────── */
/* Prevents ANY table from forcing the page viewport to zoom out on mobile,
   regardless of its class name. display:block changes the outer box only;
   the inner table layout (border-collapse, cell widths, etc.) is unaffected.
   Specific classes (.comparison-table, .spec-table) inherit this and may
   add further overrides (font-size, margin, border-collapse) without
   needing to re-declare overflow-x. */
table {
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}

/* ── Header: always opaque on inner pages (no transparent top state) ── */
/* NOTE: Do NOT add backdrop-filter directly to .site-header here.
   backdrop-filter on a positioned ancestor creates a new containing block
   for position:fixed descendants (Chrome/Safari behavior), which confines
   the full-screen mobile nav overlay (.main-nav.open) to the header's
   own bounds (~60px) instead of the full viewport — breaking the hamburger
   menu on all inner pages. The background is 97% opaque so the blur effect
   is invisible anyway. If a blur effect is needed, apply it via ::before
   (see styles.css .site-header.scrolled::before for the correct pattern). */
.site-header {
  background: rgba(7,11,20,0.97);
  border-bottom: 1px solid var(--clr-border);
}

/* ── Page Hero (inner pages) ────────────────────────────────── */
.page-hero {
  background: var(--clr-bg-2);
  border-bottom: 1px solid var(--clr-border);
  padding: 6.5rem 0 2rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79,142,247,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero-inner { max-width: 820px; }

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
  font-size: 0.78rem;
}
.breadcrumbs a {
  color: var(--clr-text-3);
  transition: color 0.15s;
}
.breadcrumbs a:hover { color: var(--clr-blue); }
.breadcrumbs .bc-sep { color: var(--clr-text-3); opacity: 0.5; }
.breadcrumbs .bc-current { color: var(--clr-text-2); }

.page-tag {
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-blue);
  background: rgba(79,142,247,0.1);
  border: 1px solid rgba(79,142,247,0.2);
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  margin-bottom: 1rem;
}
.page-tag.tag-green {
  color: var(--clr-green);
  background: rgba(0,214,143,0.08);
  border-color: rgba(0,214,143,0.2);
}
.page-tag.tag-purple {
  color: var(--clr-purple);
  background: rgba(167,139,250,0.1);
  border-color: rgba(167,139,250,0.2);
}
.page-tag.tag-blue {
  color: var(--clr-blue);
  background: rgba(79,142,247,0.1);
  border-color: rgba(79,142,247,0.2);
}
.page-tag.tag-red {
  color: #EF4444;
  background: rgba(239,68,68,0.08);
  border-color: rgba(239,68,68,0.2);
}
.page-tag.tag-amber {
  color: var(--clr-amber, #F59E0B);
  background: rgba(245,158,11,0.1);
  border-color: rgba(245,158,11,0.2);
}

/* Shorthand tag colors for <span class="tag-*"> without .page-tag wrapper */
.tag-blue  { background: rgba(79,142,247,0.12);  color: var(--clr-blue);  border: 1px solid rgba(79,142,247,0.25);  border-radius: 999px; padding: .2rem .65rem; font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; display: inline-block; }
.tag-red   { background: rgba(239,68,68,0.1);    color: #EF4444;           border: 1px solid rgba(239,68,68,0.25);   border-radius: 999px; padding: .2rem .65rem; font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; display: inline-block; }
.tag-amber { background: rgba(245,158,11,0.12);  color: var(--clr-amber, #F59E0B); border: 1px solid rgba(245,158,11,0.25); border-radius: 999px; padding: .2rem .65rem; font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; display: inline-block; }
.tag-green { background: rgba(0,214,143,0.1);    color: var(--clr-green);  border: 1px solid rgba(0,214,143,0.25);  border-radius: 999px; padding: .2rem .65rem; font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; display: inline-block; }

.page-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--clr-text);
  margin-bottom: 1rem;
}

.page-sub {
  font-size: 1.05rem;
  color: var(--clr-text-2);
  line-height: 1.75;
  max-width: 620px;
  margin-bottom: 1.25rem;
}

.page-meta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.78rem;
  color: var(--clr-text-3);
  flex-wrap: wrap;
  margin-top: 1rem;
}
.page-meta strong { color: var(--clr-text-2); font-weight: 500; }
.page-meta .meta-dot { opacity: 0.4; }

/* ── Page Body ───────────────────────────────────────────────── */
.page-body { padding: 1.5rem 0 2.5rem; }

/* When .page-layout is the <main> element itself (no .page-hero above it),
   add top padding to clear the position:fixed site header (~68px tall). */
main.page-layout {
  padding-top: 5rem;
}

.page-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: start;
}
.page-layout.full-width {
  grid-template-columns: 1fr;
  max-width: 840px;
}

/* ── Prose content ───────────────────────────────────────────── */
.prose h2 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--clr-text);
  margin: 2.5rem 0 0.9rem;
  line-height: 1.3;
  padding-top: 1.5rem;
  border-top: 1px solid var(--clr-border);
}
.prose h2:first-child { border-top: none; padding-top: 0; margin-top: 0; }

.prose h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--clr-text);
  margin: 1.75rem 0 0.65rem;
}

.prose p {
  font-size: 0.975rem;
  color: var(--clr-text-2);
  line-height: 1.8;
  margin-bottom: 1.15rem;
}

.prose ul, .prose ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li {
  font-size: 0.95rem;
  color: var(--clr-text-2);
  line-height: 1.65;
  margin-bottom: 0.45rem;
}
.prose strong { color: var(--clr-text); font-weight: 600; }
.prose em { font-style: italic; color: var(--clr-text); }
.prose a {
  color: var(--clr-blue);
  text-decoration: underline;
  text-decoration-color: rgba(79,142,247,0.35);
  text-underline-offset: 2px;
}
.prose a:hover { text-decoration-color: var(--clr-blue); }

/* ── Review Summary Box ──────────────────────────────────────── */
.review-box {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  margin-bottom: 2rem;
}

.review-box-header {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--clr-border);
}

.review-box-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--gradient-brand);
  border-radius: var(--radius-lg);
  padding: 0.85rem 1.25rem;
  min-width: 72px;
  flex-shrink: 0;
}
.score-big {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.score-denom { font-size: 0.65rem; color: rgba(255,255,255,0.7); margin-top: 2px; }
.score-methodology-link { font-size: 0.6rem; color: rgba(255,255,255,0.5); text-decoration: none; margin-top: 4px; display: block; white-space: nowrap; }
.score-methodology-link:hover { color: rgba(255,255,255,0.85); text-decoration: underline; }

.review-box-info { flex: 1; }
.review-box-info .product-badge { margin-bottom: 0.6rem; display: inline-block; }
.review-box-info h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: 0.35rem;
  line-height: 1.2;
}
.review-box-info .stars { font-size: 0.95rem; margin-right: 0.3rem; }
.review-box-info .rating-num { font-size: 0.85rem; }

.review-verdict {
  font-size: 0.875rem;
  color: var(--clr-text-2);
  line-height: 1.55;
  font-style: italic;
  margin-top: 0.5rem;
}

.review-specs {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.review-spec {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 0.85rem;
  gap: 1rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--clr-border);
}
.review-spec:last-child { border-bottom: none; padding-bottom: 0; }
.spec-label { color: var(--clr-text-3); font-weight: 500; white-space: nowrap; flex-shrink: 0; }
.spec-value { color: var(--clr-text); text-align: right; }

/* ── Trust signal items (review pages) ──────────────────────── */
.trust-item {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border-2);
  border-radius: 8px;
  padding: 0.6rem 0.8rem;
}
.trust-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--clr-text-3);
  margin-bottom: 0.2rem;
}
.trust-value {
  font-size: 0.78rem;
  color: var(--clr-text-2);
  line-height: 1.4;
}

/* ── Pros / Cons ─────────────────────────────────────────────── */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 2rem 0;
}

.pros-box, .cons-box {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
}
.pros-box { border-top: 3px solid var(--clr-green); }
.cons-box { border-top: 3px solid #F87171; }

.pros-box h4 { color: var(--clr-green); }
.cons-box h4 { color: #F87171; }
.pros-box h4, .cons-box h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.pros-list, .cons-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  list-style: none;
}
.pros-list li, .cons-list li {
  font-size: 0.875rem;
  color: var(--clr-text-2);
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.5;
}
.pros-list li::before { content: '+'; position: absolute; left: 0; color: var(--clr-green); font-weight: 700; }
.cons-list li::before { content: '−'; position: absolute; left: 0; color: #F87171; font-weight: 700; }

/* ── Affiliate CTA Box ───────────────────────────────────────── */
.cta-affiliate {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border-2);
  border-radius: var(--radius-xl);
  padding: 1.75rem 1.75rem 1.5rem;
}
.cta-affiliate-disclosure {
  font-size: 0.7rem;
  color: var(--clr-text-3);
  margin-bottom: 1rem;
  padding: 0.5rem 0.75rem;
  background: rgba(255,255,255,0.02);
  border-radius: var(--radius-sm);
  border: 1px solid var(--clr-border);
  line-height: 1.6;
}
.cta-affiliate h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: 0.35rem;
}
.cta-affiliate p {
  font-size: 0.85rem;
  color: var(--clr-text-2);
  margin-bottom: 1.1rem;
  line-height: 1.6;
}
.cta-affiliate-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.btn-amazon {
  background: #FF9900;
  color: #111;
  font-weight: 700;
}
.btn-amazon:hover {
  background: #e88800;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(255,153,0,0.3);
}

/* ── Review Sidebar ──────────────────────────────────────────── */
.review-sidebar {
  position: sticky;
  top: 5.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* ── Rating Bars ─────────────────────────────────────────────── */
.rating-bars {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 1.25rem 0;
}
.rating-bar-item {
  display: grid;
  grid-template-columns: 160px 1fr 2.75rem;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
}
.rating-bar-label { color: var(--clr-text-2); }
.rating-bar-track {
  height: 6px;
  background: var(--clr-surface-2);
  border-radius: 3px;
  overflow: hidden;
}
.rating-bar-fill {
  height: 100%;
  background: var(--gradient-brand);
  border-radius: 3px;
}
.rating-bar-value { color: var(--clr-text); font-weight: 600; text-align: right; font-size: 0.8rem; }

/* ── Callout boxes ───────────────────────────────────────────── */
.callout {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-left: 4px solid var(--clr-blue);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
}
.callout-tip { border-left-color: var(--clr-green); }
.callout-warn { border-left-color: var(--clr-amber); }
.callout h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--clr-blue);
  margin-bottom: 0.35rem;
}
.callout-tip h4 { color: var(--clr-green); }
.callout-warn h4 { color: var(--clr-amber); }
.callout p { font-size: 0.875rem; color: var(--clr-text-2); margin: 0; line-height: 1.65; }

/* ── FAQ ─────────────────────────────────────────────────────── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1rem;
}
.faq-item {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item[open] { border-color: var(--clr-border-2); }
.faq-item summary {
  padding: 1.1rem 3.25rem 1.1rem 1.5rem;
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--clr-text);
  cursor: pointer;
  list-style: none;
  display: block;
  position: relative;
  line-height: 1.5;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--clr-text-3);
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  line-height: 1;
  transition: color 0.15s;
}
.faq-item[open] summary::after { content: '−'; color: var(--clr-blue); }
.faq-answer {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.9rem;
  color: var(--clr-text-2);
  line-height: 1.7;
  border-top: 1px solid var(--clr-border);
  padding-top: 1rem;
}

/* ── FAQ collapsed state (managed by page.js) ────────────────── */
.faq-collapsed {
  display: none !important;
}

/* ── FAQ "show more" button ──────────────────────────────────── */
.faq-more-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  margin-top: 0.75rem;
  padding: 0.75rem 1.5rem;
  background: transparent;
  border: 1.5px dashed var(--clr-border-2, rgba(255,255,255,0.12));
  border-radius: var(--radius-lg, 0.75rem);
  color: var(--clr-blue);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.faq-more-btn:hover {
  border-color: var(--clr-blue);
  background: rgba(79, 142, 247, 0.06);
}
.faq-more-arrow {
  font-size: 0.75rem;
  opacity: 0.7;
}

/* ── Hub / Category grid ─────────────────────────────────────── */
.hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}
.hub-card {
  display: flex;
  flex-direction: column;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  transition: all 0.3s var(--ease);
  text-decoration: none;
  color: inherit;
}
.hub-card:hover {
  transform: translateY(-3px);
  border-color: var(--clr-border-2);
  box-shadow: var(--shadow-card);
}
.hub-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: 0.5rem;
  margin-top: 0.75rem;
}
.hub-card p {
  font-size: 0.875rem;
  color: var(--clr-text-2);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1rem;
}
.hub-card-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--clr-blue);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: auto;
}

/* ── Best-for / Updated badges ───────────────────────────────── */
.badge-best {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--clr-amber);
  border: 1px solid rgba(245,158,11,0.25);
  background: rgba(245,158,11,0.08);
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
}
.badge-updated {
  display: inline-flex;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--clr-green);
  border: 1px solid rgba(0,214,143,0.2);
  background: rgba(0,214,143,0.07);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
}

/* ── Principles strip ────────────────────────────────────────── */
.principles-strip {
  background: var(--clr-surface);
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
  padding: 0.9rem 0;
}
.principles-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.principles-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--clr-text-2);
}
.principles-item svg { color: var(--clr-green); width: 14px; height: 14px; }
.principles-dot { color: var(--clr-border-2); font-size: 1rem; }

/* ── Affiliate disclosure inline ─────────────────────────────── */
.affiliate-notice {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 0.65rem 1rem;
  font-size: 0.75rem;
  color: var(--clr-text-3);
  line-height: 1.6;
  margin: 1.5rem 0;
}
.affiliate-notice a { color: var(--clr-blue); text-decoration: underline; }

/* ── Security Scorecard Wizard ───────────────────────────────── */
.sc-hero {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}
.sc-container { max-width: 740px; margin: 0 auto; }

.sc-progress { margin-bottom: 2.5rem; }
.sc-progress-bar {
  height: 5px;
  background: var(--clr-surface-2);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 0.6rem;
}
.sc-progress-fill {
  height: 100%;
  background: var(--gradient-brand);
  border-radius: 3px;
  transition: width 0.5s var(--ease);
}
.sc-progress-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--clr-text-3);
}

.sc-step { display: none; }
.sc-step.active { display: block; animation: fade-up 0.35s var(--ease) both; }

.sc-step-header { margin-bottom: 2rem; }
.sc-step-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-blue);
  background: rgba(79,142,247,0.1);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  margin-bottom: 0.75rem;
}
.sc-step-title {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: 0.35rem;
}
.sc-step-sub { font-size: 0.9rem; color: var(--clr-text-2); line-height: 1.6; }

.sc-questions { display: flex; flex-direction: column; gap: 1.25rem; }

.sc-question {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
}
.sc-question-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--clr-text);
  margin-bottom: 0.25rem;
  line-height: 1.4;
}
.sc-question-why {
  font-size: 0.75rem;
  color: var(--clr-text-3);
  margin-bottom: 0.9rem;
  font-style: italic;
}

.sc-options { display: flex; flex-direction: column; gap: 0.4rem; }

label.sc-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1rem;
  background: var(--clr-bg);
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.15s;
  font-size: 0.875rem;
  color: var(--clr-text-2);
}
label.sc-option:hover {
  border-color: rgba(79,142,247,0.5);
  color: var(--clr-text);
  background: rgba(79,142,247,0.05);
}
label.sc-option:has(input:checked) {
  border-color: var(--clr-blue);
  background: rgba(79,142,247,0.08);
  color: var(--clr-text);
}
label.sc-option input[type="radio"] {
  width: 16px; height: 16px;
  accent-color: var(--clr-blue);
  flex-shrink: 0;
}

.sc-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2rem;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ── Results ─────────────────────────────────────────────────── */
.sc-results { display: none; }
.sc-results.visible { display: block; animation: fade-up 0.5s var(--ease) both; }

.sc-score-hero {
  text-align: center;
  padding: 3rem 2rem 2.5rem;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-xl);
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
}
.sc-score-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(79,142,247,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.sc-grade-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-text-3);
  margin-bottom: 0.5rem;
}
.sc-score-big {
  font-family: var(--font-display);
  font-size: 5.5rem;
  font-weight: 800;
  line-height: 1;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.25rem;
}
.sc-grade {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--clr-text-3);
}
.sc-verdict-text {
  font-size: 1rem;
  color: var(--clr-text-2);
  margin-top: 0.75rem;
  line-height: 1.6;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.sc-section {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  margin-bottom: 1.25rem;
}
.sc-section h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Category bars in results */
.sc-cat-bar { margin-bottom: 1.1rem; }
.sc-cat-bar:last-child { margin-bottom: 0; }
.sc-cat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.35rem;
}
.sc-cat-name { font-size: 0.875rem; font-weight: 600; color: var(--clr-text); }
.sc-cat-score { font-size: 0.875rem; font-weight: 700; color: var(--clr-text-2); }
.sc-cat-sub { font-size: 0.75rem; color: var(--clr-text-3); margin-top: 0.2rem; }
.sc-cat-track {
  height: 8px;
  background: var(--clr-surface-2);
  border-radius: 4px;
  overflow: hidden;
}
.sc-cat-fill {
  height: 100%;
  background: var(--gradient-brand);
  border-radius: 4px;
  transition: width 1.2s var(--ease);
}

/* Action plan checklist */
.sc-checklist { display: flex; flex-direction: column; gap: 0.65rem; }
.sc-check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--clr-text-2);
  line-height: 1.55;
}
.sc-check-item input[type="checkbox"] {
  margin-top: 2px;
  width: 16px; height: 16px;
  accent-color: var(--clr-blue);
  flex-shrink: 0;
  cursor: pointer;
}
.sc-check-item label { cursor: pointer; }

/* Risk drivers */
.risk-list { display: flex; flex-direction: column; gap: 0.75rem; }
.risk-item {
  padding: 0.85rem 1rem;
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  border-left: 4px solid #F87171;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.risk-item.risk-moderate { border-left-color: var(--clr-amber); }
.risk-item strong { font-size: 0.875rem; color: var(--clr-text); display: block; margin-bottom: 0.2rem; }
.risk-item p { font-size: 0.8rem; color: var(--clr-text-2); margin: 0; line-height: 1.5; }

/* Recommendations */
.rec-cards { display: flex; flex-direction: column; gap: 0.75rem; }
.rec-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: all 0.2s var(--ease);
}
.rec-card:hover {
  border-color: var(--clr-blue);
  background: rgba(79,142,247,0.04);
}
.rec-card-icon {
  width: 36px; height: 36px;
  border-radius: var(--radius-md);
  background: var(--clr-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-blue);
  flex-shrink: 0;
}
.rec-card-text strong {
  font-size: 0.875rem;
  color: var(--clr-text);
  display: block;
  margin-bottom: 0.15rem;
}
.rec-card-text span { font-size: 0.78rem; color: var(--clr-text-3); }
.rec-card-arrow { margin-left: auto; color: var(--clr-text-3); flex-shrink: 0; }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .page-layout { grid-template-columns: 1fr; }
  .review-sidebar { position: static; }
  .hub-grid { grid-template-columns: repeat(2, 1fr); }
  .pros-cons { grid-template-columns: 1fr; }
  .rating-bar-item { grid-template-columns: 130px 1fr 2.5rem; }
}

@media (max-width: 640px) {
  .page-hero { padding: 5.5rem 0 1.5rem; }
  .page-headline { font-size: 1.85rem; }
  .hub-grid { grid-template-columns: 1fr; }
  .sc-score-big { font-size: 4rem; }
  .sc-step-title { font-size: 1.25rem; }
  .rating-bar-item { grid-template-columns: 110px 1fr 2.5rem; }

  /* ── Review box: stack score badge + info vertically on mobile ───────────
     Root cause fix: .review-box-score has flex-shrink:0 and contains a long
     "Scored on: effectiveness (40%) · ease of use (25%)..." paragraph that
     forces the score box wider than the mobile viewport, pushing .review-box-info
     off-screen and creating a large blank area below the score card.
     Fix: column layout so both items stack full-width. ── */
  .review-box-header {
    flex-direction: column;
    gap: 1rem;
  }
  .review-box-score {
    width: 100%;
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
  }
  .score-big { font-size: 2.4rem; }
  .score-denom { align-self: flex-end; padding-bottom: 0.3rem; }
  .score-methodology-link { width: 100%; margin-top: 0.15rem; }
  .review-box-score > p { width: 100%; margin-top: 0.25rem !important; }
}

/* ── REVIEWER BYLINE ───────────────────────────────────────── */
.reviewer-byline {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.25rem;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: 10px;
  margin: 0.75rem 0 1.25rem;
  font-size: 0.82rem;
}
.reviewer-avatar {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--clr-green) 0%, var(--clr-blue) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #0A0F1E;
  font-family: var(--font-display, 'Sora', sans-serif);
  font-weight: 800;
  font-size: 0.85rem;
}
.reviewer-byline-text { color: var(--clr-text-2); line-height: 1.4; }
.reviewer-byline-text strong { color: var(--clr-text); font-weight: 600; }
.reviewer-byline-text a { color: var(--clr-blue); text-decoration: none; }
.reviewer-byline-text a:hover { text-decoration: underline; }

/* ============================================================
   VISUAL ENGAGEMENT — Auto-animates standard page elements
   on every inner page without extra classes needed
   ============================================================ */

/* ── Page hero: scan shimmer sweep (CSS-only, every page) ── */
@keyframes hero-scan {
  0%   { left: -80%; opacity: 0; }
  5%   { opacity: 1; }
  95%  { opacity: 1; }
  100% { left: 130%; opacity: 0; }
}
.page-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: -80%;
  width: 55%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(79,142,247,0.04), transparent);
  animation: hero-scan 8s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

/* ── Page hero: animate children on every page automatically ── */
@keyframes hero-tag-in {
  from { opacity: 0; transform: translateX(-14px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes hero-text-up {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.page-hero-inner .breadcrumbs {
  animation: hero-tag-in 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.page-hero-inner .page-tag {
  animation: hero-tag-in 0.5s 0.08s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.page-hero-inner .page-headline {
  animation: hero-text-up 0.65s 0.14s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.page-hero-inner .page-sub {
  animation: hero-text-up 0.65s 0.24s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.page-hero-inner .page-meta {
  animation: hero-text-up 0.65s 0.34s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@media (prefers-reduced-motion: reduce) {
  .page-hero::after { animation: none; }
  .page-hero-inner .breadcrumbs,
  .page-hero-inner .page-tag,
  .page-hero-inner .page-headline,
  .page-hero-inner .page-sub,
  .page-hero-inner .page-meta { animation: none; }
}

/* ── Hub card: shine sweep on hover + stronger lift ── */
.hub-card {
  position: relative;
  overflow: hidden;
}
.hub-card::after {
  content: '';
  position: absolute;
  top: 0; left: -120%;
  width: 45%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.04), transparent);
  transition: left 0s;
}
.hub-card:hover {
  transform: translateY(-5px);
  border-color: rgba(79,142,247,0.25);
  box-shadow: 0 14px 44px rgba(0,0,0,0.35), 0 0 28px rgba(79,142,247,0.09);
}
.hub-card:hover::after {
  left: 150%;
  transition: left 0.55s ease;
}

/* ── Review box: subtle hover lift ── */
.review-box {
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.25s var(--ease);
}
.review-box:hover {
  border-color: rgba(79,142,247,0.22);
  box-shadow: 0 10px 36px rgba(0,0,0,0.3);
  transform: translateY(-2px);
}

/* ── Sidebar card: hover glow ── */
.sidebar-card {
  transition: border-color 0.3s, box-shadow 0.3s;
}
.sidebar-card:hover {
  border-color: rgba(79,142,247,0.2);
  box-shadow: 0 6px 24px rgba(0,0,0,0.25);
}

/* ── Pros / Cons boxes: directional hover glow ── */
.pros-box, .cons-box {
  transition: transform 0.25s var(--ease), box-shadow 0.3s;
}
.pros-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,214,143,0.1);
}
.cons-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(248,113,113,0.08);
}

/* ── Callout: pulsing accent border ── */
@keyframes callout-glow {
  0%, 100% { border-left-color: var(--clr-blue); box-shadow: none; }
  50%       { border-left-color: rgba(79,142,247,0.5); box-shadow: -2px 0 12px rgba(79,142,247,0.15); }
}
@keyframes callout-glow-green {
  0%, 100% { border-left-color: var(--clr-green); box-shadow: none; }
  50%       { border-left-color: rgba(0,214,143,0.5); box-shadow: -2px 0 12px rgba(0,214,143,0.15); }
}
.callout { animation: callout-glow 4s ease-in-out infinite; }
.callout-tip { animation: callout-glow-green 4s ease-in-out infinite; }
.callout-warn { animation: none; }
@media (prefers-reduced-motion: reduce) {
  .callout, .callout-tip { animation: none; }
}

/* ── FAQ: hover highlight + smooth expand ── */
.faq-item {
  transition: border-color 0.25s, box-shadow 0.3s;
}
.faq-item:hover {
  border-color: rgba(79,142,247,0.2);
}
.faq-item[open] {
  border-color: rgba(79,142,247,0.3);
  box-shadow: 0 4px 24px rgba(0,0,0,0.2);
}

/* ── Article byline: hover glow ── */
.article-byline {
  transition: border-color 0.25s, background 0.25s;
}
.article-byline:hover {
  border-color: rgba(79,142,247,0.2);
  background: rgba(79,142,247,0.03);
}

/* ── Table scroll wrapper (added by page.js for uncategorised tables) ── */
.table-scroll-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  margin: 1.5rem 0;
}
.table-scroll-wrap > table {
  margin: 0; /* wrapper owns the margin */
}

/* ── Comparison table: mobile overflow scroll ── */
/* Prevents wide tables from forcing the entire page to zoom out on mobile.
   display:block changes the outer box only; inner table layout is unaffected. */
.comparison-table {
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}

/* ── Comparison table rows: hover highlight ── */
.comparison-table tbody tr {
  transition: background 0.2s;
}
.comparison-table tbody tr:hover {
  background: rgba(79,142,247,0.04);
}

/* ── Score circle: pulsing ring on hover ── */
.score-circle {
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.score-circle:hover {
  transform: scale(1.04);
  box-shadow: 0 0 28px rgba(79,142,247,0.3);
}

/* ── Product card (ranking list) hover enhancement ── */
.product-card {
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.25s var(--ease);
}
.product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(79,142,247,0.2);
  box-shadow: 0 12px 36px rgba(0,0,0,0.3);
}

/* ── Reviewer byline: slide in on page load ── */
.article-byline {
  animation: hero-text-up 0.6s 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@media (prefers-reduced-motion: reduce) {
  .article-byline { animation: none; }
}

/* ── Principles strip items: stagger hover ── */
.principles-item {
  transition: color 0.2s, transform 0.2s;
}
.principles-item:hover {
  color: var(--clr-text);
  transform: translateY(-1px);
}

/* ── Category page badge: glow on active ── */
.badge-home {
  color: var(--clr-green);
  background: rgba(0,214,143,0.08);
  border-color: rgba(0,214,143,0.2);
}
.badge-cyber {
  color: var(--clr-blue);
  background: rgba(79,142,247,0.08);
  border-color: rgba(79,142,247,0.2);
}
.badge-life {
  color: var(--clr-purple);
  background: rgba(167,139,250,0.08);
  border-color: rgba(167,139,250,0.2);
}

/* ══════════════════════════════════════════════════════════════
   GLOBAL ARTICLE CONTENT — ENTRANCE ANIMATIONS & DEPTH
   Applies automatically to all resource/guide pages using page.css.
   CSS-only, no JS or per-page class changes required.
   ══════════════════════════════════════════════════════════════ */

@keyframes content-in {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
@keyframes banner-slide-in {
  from { opacity: 0; transform: translateX(-10px); }
  to   { opacity: 1; transform: none; }
}

/* ── Tip cards ─────────────────────────────────────────────── */
.tip-card {
  animation: content-in 0.45s ease both;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.tip-card:hover {
  transform: translateY(-4px);
  border-color: rgba(79,142,247,0.3) !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.28);
}
.tips-grid .tip-card:nth-child(1) { animation-delay: 0.04s; }
.tips-grid .tip-card:nth-child(2) { animation-delay: 0.12s; }
.tips-grid .tip-card:nth-child(3) { animation-delay: 0.20s; }
.tips-grid .tip-card:nth-child(4) { animation-delay: 0.28s; }
.tips-grid .tip-card:nth-child(5) { animation-delay: 0.36s; }
.tips-grid .tip-card:nth-child(6) { animation-delay: 0.44s; }

/* ── Guide steps ────────────────────────────────────────────── */
.guide-step {
  animation: content-in 0.45s ease both;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.guide-step:hover {
  border-color: rgba(79,142,247,0.25) !important;
  box-shadow: 0 6px 20px rgba(0,0,0,0.22);
}
.guide-steps .guide-step:nth-child(1) { animation-delay: 0.04s; }
.guide-steps .guide-step:nth-child(2) { animation-delay: 0.11s; }
.guide-steps .guide-step:nth-child(3) { animation-delay: 0.18s; }
.guide-steps .guide-step:nth-child(4) { animation-delay: 0.25s; }
.guide-steps .guide-step:nth-child(5) { animation-delay: 0.32s; }
.guide-steps .guide-step:nth-child(6) { animation-delay: 0.39s; }
.guide-steps .guide-step:nth-child(7) { animation-delay: 0.46s; }
.guide-steps .guide-step:nth-child(8) { animation-delay: 0.53s; }

/* ── Two-column col-cards ───────────────────────────────────── */
.two-col > .col-card {
  animation: content-in 0.45s ease both;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.two-col > .col-card:hover {
  transform: translateY(-3px);
  border-color: rgba(79,142,247,0.25) !important;
  box-shadow: 0 6px 20px rgba(0,0,0,0.22);
}
.two-col > .col-card:nth-child(1) { animation-delay: 0.04s; }
.two-col > .col-card:nth-child(2) { animation-delay: 0.14s; }
.two-col > .col-card:nth-child(3) { animation-delay: 0.24s; }
.two-col > .col-card:nth-child(4) { animation-delay: 0.34s; }

/* ── Alert banners ──────────────────────────────────────────── */
.alert-banner {
  animation: banner-slide-in 0.4s ease both;
}

/* ── Product CTA strips ─────────────────────────────────────── */
.product-cta-strip {
  animation: content-in 0.5s 0.1s ease both;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.product-cta-strip:hover {
  border-color: rgba(79,142,247,0.25) !important;
  box-shadow: 0 6px 24px rgba(0,0,0,0.22);
}

/* ── Section headings: gradient accent underline ────────────── */
.section-h2 {
  position: relative;
}
.section-h2::after {
  content: '';
  display: block;
  width: 2.5rem;
  height: 3px;
  background: linear-gradient(90deg, #4F8EF7, #00D68F);
  border-radius: 2px;
  margin-top: 0.45rem;
  transition: width 0.4s cubic-bezier(0.16,1,0.3,1);
}
.section-h2:hover::after { width: 5.5rem; }

/* ── Checklist items: stagger entrance ──────────────────────── */
.checklist li { animation: content-in 0.4s ease both; }
.checklist li:nth-child(1)  { animation-delay: 0.02s; }
.checklist li:nth-child(2)  { animation-delay: 0.07s; }
.checklist li:nth-child(3)  { animation-delay: 0.12s; }
.checklist li:nth-child(4)  { animation-delay: 0.17s; }
.checklist li:nth-child(5)  { animation-delay: 0.22s; }
.checklist li:nth-child(6)  { animation-delay: 0.27s; }
.checklist li:nth-child(7)  { animation-delay: 0.32s; }
.checklist li:nth-child(8)  { animation-delay: 0.37s; }
.checklist li:nth-child(n+9){ animation-delay: 0.42s; }

/* ── FAQ: richer hover ──────────────────────────────────────── */
.faq-item {
  transition: padding-left 0.25s, border-left-color 0.25s;
  border-left: 2px solid transparent;
  padding-left: 0.5rem;
  margin-left: -0.5rem;
}
.faq-item:hover, .faq-item[open] {
  border-left-color: var(--clr-blue);
  padding-left: 0.75rem;
}

/* ── Article body: gentle entrance ─────────────────────────── */
.article-body {
  animation: content-in 0.55s 0.2s ease both;
}

/* ── Page body text: subtle fade-in ────────────────────────── */
.page-body {
  animation: content-in 0.5s 0.15s ease both;
}

/* ── Reduced-motion override ────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .tip-card, .guide-step, .two-col > .col-card,
  .alert-banner, .product-cta-strip,
  .checklist li, .article-body, .page-body {
    animation: none !important;
  }
  .section-h2::after { transition: none; }
  .tip-card:hover, .guide-step:hover,
  .two-col > .col-card:hover { transform: none; }
}

/* ═══════════════════════════════════════════════════════════════
   GLOBAL COMPONENT STYLES — previously missing from page.css
   (were scattered across per-page <style> blocks, causing
   broken layouts on pages that didn't redeclare them)
   ═══════════════════════════════════════════════════════════════ */

/* ── Numbered guide steps (gs-steps / gs-step / gs-num / gs-body) ── */
.gs-steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.gs-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.1rem 1.25rem;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg, 0.75rem);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.gs-step:hover {
  border-color: rgba(79, 142, 247, 0.3);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}
.gs-num {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 0.9rem;
  flex-shrink: 0;
  color: #0A0F1E;
  margin-top: 1px;
}
.gs-num-blue  { background: var(--clr-blue, #4F8EF7); color: #fff; }
.gs-num-green { background: var(--clr-green, #00D68F); color: #0A0F1E; }
.gs-num-amber { background: var(--clr-amber, #F59E0B); color: #0A0F1E; }
.gs-num-red   { background: #EF4444; color: #fff; }
.gs-body { flex: 1; min-width: 0; }
.gs-body h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--clr-text);
  margin: 0 0 0.3rem;
  line-height: 1.35;
}
.gs-body p {
  font-size: 0.875rem;
  color: var(--clr-text-2);
  margin: 0;
  line-height: 1.65;
}
.gs-body ul {
  font-size: 0.875rem;
  color: var(--clr-text-2);
  margin: 0.4rem 0 0 1rem;
  padding: 0;
  line-height: 1.75;
}

/* ── Related guide cards (rgc-) ─────────────────────────────── */
.related-guide-card {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: 0.65rem;
  padding: 0.9rem 1rem;
  text-decoration: none;
  color: var(--clr-text);
  transition: border-color 0.2s, transform 0.2s;
}
.related-guide-card:hover {
  border-color: var(--clr-green, #00D68F);
  transform: translateY(-1px);
  text-decoration: none;
}
.rgc-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  line-height: 1;
}
.rgc-body { flex: 1; min-width: 0; }
.rgc-title {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
  color: var(--clr-text);
}
.rgc-arrow {
  margin-left: auto;
  font-size: 0.85rem;
  color: var(--clr-text-3);
  flex-shrink: 0;
  align-self: center;
}

/* ── Tip card icon ──────────────────────────────────────────── */
.tip-card-icon {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  display: block;
  line-height: 1;
}

/* ── FAQ question label (faq-q) ─────────────────────────────── */
.faq-q {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--clr-text);
  margin: 0 0 0.4rem;
  line-height: 1.4;
}

/* ── Spec win highlight (spec-win) ──────────────────────────── */
.spec-win {
  color: var(--clr-green, #00D68F);
  font-weight: 700;
}

/* ── Checklist items (check-box / checklist-item) ───────────── */
.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.65rem 1.25rem;
  transition: background 0.1s;
  border-bottom: 1px solid var(--clr-border);
}
.checklist-item:last-child { border-bottom: none; }
.checklist-item:hover { background: rgba(255, 255, 255, 0.02); }
.checklist-item strong { color: var(--clr-text); }
.checklist-item span { color: var(--clr-text-2); font-size: 0.875rem; }
.check-box {
  width: 18px;
  height: 18px;
  min-width: 18px;
  border: 2px solid var(--clr-border);
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, border-color 0.15s;
  cursor: pointer;
}
.check-box.checked {
  background: var(--clr-green, #00D68F);
  border-color: var(--clr-green, #00D68F);
}
.check-box.checked::after {
  content: '✓';
  font-size: 0.7rem;
  font-weight: 700;
  color: #0A0F1E;
  line-height: 1;
}

@media print {
  .checklist-item { break-inside: avoid; page-break-inside: avoid; }
  .check-box { border: 1.5px solid #333 !important; background: #fff !important; }
  .check-box.checked { background: #000 !important; }
  .check-box.checked::after { color: #fff; }
}

/* ═══════════════════════════════════════════════════════════════
   ADDITIONAL GLOBAL COMPONENTS — also missing from page.css
   ═══════════════════════════════════════════════════════════════ */

/* ── Alert / callout boxes ──────────────────────────────────── */
.alert-box {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
  border: 1px solid var(--clr-border);
  background: var(--clr-surface);
}
.alert-icon { font-size: 1.25rem; flex-shrink: 0; margin-top: 0.1rem; line-height: 1; }
.alert-text { font-size: 0.875rem; line-height: 1.65; color: var(--clr-text-2); }
.alert-blue   { background: rgba(79,142,247,0.08);  border-color: rgba(79,142,247,0.25); }
.alert-red    { background: rgba(239,68,68,0.07);   border-color: rgba(239,68,68,0.25); }
.alert-amber  { background: rgba(245,158,11,0.08);  border-color: rgba(245,158,11,0.25); }
.alert-green  { background: rgba(0,214,143,0.07);   border-color: rgba(0,214,143,0.2); }
.alert-warning { background: rgba(239,68,68,0.07);  border-color: rgba(239,68,68,0.25); }
.callout-warning {
  border-left: 3px solid #EF4444;
  background: rgba(239,68,68,0.06);
  padding: 1rem 1.25rem;
  border-radius: 0 0.65rem 0.65rem 0;
  margin: 1.25rem 0;
}

/* ── Comparison page components ─────────────────────────────── */
.vs-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}
.vs-divider {
  font-family: 'Sora', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--clr-text-2);
  text-align: center;
  flex-shrink: 0;
}
.verdict-box {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: 1rem;
  padding: 1.5rem;
  margin: 1.5rem 0;
  transition: border-color 0.2s;
}
.verdict-box.winner-box {
  background: linear-gradient(135deg, rgba(0,214,143,0.08), rgba(79,142,247,0.05));
  border-color: rgba(0,214,143,0.3);
}
.spec-table {
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  margin: 1.5rem 0;
}
.spec-table th, .spec-table td {
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid var(--clr-border);
  text-align: left;
  vertical-align: top;
}
.spec-table th {
  font-weight: 700;
  color: var(--clr-text);
  background: var(--clr-surface-2);
}
.spec-table td { color: var(--clr-text-2); }
.spec-table tr:last-child td { border-bottom: none; }
.spec-table .win { color: var(--clr-green); font-weight: 700; }

/* ── Product comparison strip (pcs-) ────────────────────────── */
.pcs-btn {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  border-radius: 0.4rem;
  text-decoration: none;
  display: inline-block;
  white-space: nowrap;
  transition: opacity 0.15s;
}
.pcs-btn:hover { opacity: 0.85; text-decoration: none; }
.pcs-primary { background: var(--clr-green); color: #0A0F1E; }
.pcs-ghost   { background: transparent; border: 1px solid var(--clr-border); color: var(--clr-text); }
.pcs-text    { color: var(--clr-text-2); font-size: 0.8rem; }
.pcs-btns    { display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: center; }

/* ── Chooser grid ────────────────────────────────────────────── */
.chooser-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}
.chooser-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: 0.875rem;
  padding: 1.25rem;
  transition: border-color 0.2s, transform 0.2s;
  cursor: pointer;
}
.chooser-card:hover {
  border-color: rgba(79,142,247,0.35);
  transform: translateY(-2px);
}
.chooser-card.selected {
  border-color: var(--clr-blue);
  background: rgba(79,142,247,0.06);
}

/* ── FAQ section wrapper ─────────────────────────────────────── */
.faq-section {
  margin-top: 2.5rem;
  border-top: 1px solid var(--clr-border);
  padding-top: 2rem;
}

/* ── Related guides section + grid ──────────────────────────── */
.related-guides-section {
  margin: 2.5rem 0 0;
  padding-top: 2rem;
  border-top: 1px solid var(--clr-border);
}
.related-guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.75rem;
  margin: 0.75rem 0 0;
}

/* ── Generic body text / page-content helpers ────────────────── */
.body-text {
  font-size: 0.9rem;
  color: var(--clr-text-2);
  line-height: 1.75;
  margin: 0.75rem 0;
}
.page-content { max-width: 760px; }
.page-intro {
  font-size: 1.05rem;
  color: var(--clr-text-2);
  line-height: 1.75;
  margin: 0 0 1.5rem;
}
.section-pad { padding: 3rem 0; }

/* First section inside <main> needs extra top padding to clear the fixed header */
main > section.section-pad:first-child { padding-top: 7rem; }
@media (max-width: 640px) {
  main > section.section-pad:first-child { padding-top: 6rem; }
}
.page-hero-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-text-3);
  margin-bottom: 0.5rem;
  display: block;
}

/* ── Footer logo alias ───────────────────────────────────────── */
.footer-logo { text-decoration: none; }
.footer-logo:hover { text-decoration: none; }

/* ── VS comparison layout components ────────────────────────── */
.vs-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.5rem;
  align-items: center;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: 1rem;
  padding: 2rem;
  margin-bottom: 2.5rem;
}
.vs-side { text-align: center; }
.vs-logo-box {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: 1rem;
  padding: 1.5rem 2rem;
  text-align: center;
  min-width: 160px;
}
.vs-score {
  font-family: 'Sora', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
  color: var(--clr-text);
}
.vs-score.winner { color: var(--clr-green); }
.verdict-boxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}
.verdict-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  color: var(--clr-text-3);
  display: block;
}
.winner-badge {
  background: rgba(0,214,143,0.15);
  color: var(--clr-green);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.15rem 0.5rem;
  border-radius: 0.25rem;
  display: inline-block;
  margin-left: 0.4rem;
  vertical-align: middle;
}
.tie  { color: var(--clr-text-2); font-weight: 600; }
.lose { color: var(--clr-amber, #F59E0B); font-weight: 600; }

/* ── Cost row ────────────────────────────────────────────────── */
.cost-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--clr-border);
  font-size: 0.875rem;
}
.cost-row:last-child { border-bottom: none; }

/* ── Sticky sidebar ──────────────────────────────────────────── */
.sticky-sidebar {
  position: sticky;
  top: 5rem;
  align-self: flex-start;
}
.sidebar-title {
  font-family: 'Sora', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--clr-text-3);
  margin-bottom: 0.75rem;
  display: block;
}

/* ── Checklist base (supplement animation-only rule above) ───── */
.checklist {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.checklist.redlist li::before { color: #EF4444; }

/* ── Top-pick highlight on product/card components ───────────── */
.top-pick { border-color: var(--clr-green) !important; }

@media (max-width: 640px) {
  .vs-header         { grid-template-columns: 1fr; text-align: center; }
  .vs-divider        { display: none; }
  .verdict-boxes     { grid-template-columns: 1fr; }
  .chooser-grid      { grid-template-columns: 1fr; }
  .sticky-sidebar    { position: static; }
}

/* ── Related links (comparison pages) ───────────────────────── */
.related-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 1rem 0;
}
.related-link {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.75rem 1rem;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: 0.65rem;
  text-decoration: none;
  color: var(--clr-text);
  transition: border-color 0.2s, transform 0.15s;
}
.related-link:hover {
  border-color: rgba(79,142,247,0.35);
  transform: translateY(-1px);
  text-decoration: none;
}
.related-link-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--clr-text);
  line-height: 1.3;
}
.related-link-sub {
  font-size: 0.78rem;
  color: var(--clr-text-3);
  line-height: 1.4;
}

/* ── Table of contents nav (toc-) ───────────────────────────── */
.toc-nav {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 1.25rem 0;
  padding: 0.85rem 1rem;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: 0.65rem;
}
.toc-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--clr-blue);
  text-decoration: none;
  padding: 0.25rem 0.6rem;
  border-radius: 0.35rem;
  transition: background 0.15s;
}
.toc-link:hover {
  background: rgba(79,142,247,0.1);
  text-decoration: none;
}

/* ── Complete security stack component (cs-) ─────────────────── */
.complete-stack {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg, 0.75rem);
  padding: 1.5rem 1.75rem;
  margin: 2.5rem 0;
}
.complete-stack .cs-intro {
  font-size: 0.875rem;
  color: var(--clr-text-2);
  margin: 0 0 1.25rem;
  line-height: 1.65;
}
.cs-products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}
.cs-product {
  background: var(--clr-bg-2, #0D1322);
  border: 1px solid var(--clr-border);
  border-radius: 0.6rem;
  padding: 1rem;
}
.cs-role {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--clr-text-2);
  margin: 0 0 0.3rem;
  display: block;
}
.cs-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--clr-text);
  margin: 0 0 0.35rem;
}
.cs-reason {
  font-size: 0.78rem;
  color: var(--clr-text-2);
  line-height: 1.5;
  margin: 0 0 0.75rem;
}
.cs-links { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.cs-btn {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  border-radius: 0.35rem;
  text-decoration: none;
  display: inline-block;
  transition: opacity 0.15s;
}
.cs-btn:hover { opacity: 0.85; text-decoration: none; }
.cs-btn-primary {
  background: var(--clr-green, #00D68F);
  color: #0A0F1E;
}
.cs-btn-secondary {
  background: transparent;
  border: 1px solid var(--clr-border);
  color: var(--clr-text-2);
}
.cs-footer {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--clr-border);
  font-size: 0.8rem;
  color: var(--clr-text-2);
}

/* ── Cost box ────────────────────────────────────────────────── */
.cost-box {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: 0.75rem;
  padding: 1.25rem 1.5rem;
}

/* ── Sidebar call-to-action button ──────────────────────────── */
.sidebar-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.65rem 1rem;
  background: var(--clr-green, #00D68F);
  color: #0A0F1E;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: opacity 0.15s, transform 0.15s;
  margin-bottom: 0.5rem;
}
.sidebar-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  text-decoration: none;
}

/* ── VS comparison: brand / tagline / runner modifiers ───────── */
.vs-logo-box .brand,
.vs-side .brand {
  font-family: 'Sora', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--clr-text);
  margin-bottom: 0.25rem;
}
.vs-logo-box .tagline,
.vs-side .tagline {
  font-size: 0.85rem;
  color: var(--clr-text-2);
  margin-top: 0.25rem;
  line-height: 1.4;
}
.vs-score.runner { color: var(--clr-blue); }

/* ── Homepage: Top Pick in Each Category table ───────────────── */
.stack-picks-table {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg, 0.75rem);
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.stack-pick-row {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--clr-border);
  transition: background 0.15s;
}
.stack-pick-row:hover { background: rgba(255,255,255,0.02); }
.stack-pick-cat {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  line-height: 1.3;
}
.stack-pick-body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}
.stack-pick-name {
  font-weight: 700;
  color: var(--clr-text);
  font-size: 0.95rem;
  line-height: 1.3;
}
.stack-pick-desc {
  font-size: 0.82rem;
  color: var(--clr-text-2);
  line-height: 1.5;
}
.stack-pick-cta {
  font-size: 0.8rem;
  color: var(--clr-blue);
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(79,142,247,0.3);
  border-radius: 0.4rem;
  transition: background 0.15s, border-color 0.15s;
  flex-shrink: 0;
}
.stack-pick-cta:hover {
  background: rgba(79,142,247,0.1);
  border-color: rgba(79,142,247,0.5);
  text-decoration: none;
}

/* Mobile: stack vertically — category on top-left, CTA top-right */
@media (max-width: 600px) {
  .stack-pick-row {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 0.4rem 0.75rem;
    padding: 0.9rem 1rem;
  }
  .stack-pick-cat {
    grid-column: 1;
    grid-row: 1;
  }
  .stack-pick-cta {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
  }
  .stack-pick-body {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

/* ── Page Sidebar (Related Guides + Free Security Check) ─────── */
.page-sidebar {
  position: sticky;
  top: 5.5rem;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sidebar-widget {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
}

.widget-title {
  font-family: 'Sora', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--clr-text-3);
  margin: 0 0 0.85rem;
}

.widget-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.widget-list li a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.6rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--clr-text-2);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.widget-list li a::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--clr-border-2);
  flex-shrink: 0;
  transition: background 0.15s;
}

.widget-list li a:hover {
  background: rgba(79, 142, 247, 0.07);
  color: var(--clr-text);
}

.widget-list li a:hover::before {
  background: var(--clr-blue);
}

/* CTA widget — Free Security Check */
.cta-widget {
  background: linear-gradient(145deg, rgba(0, 214, 143, 0.08), rgba(79, 142, 247, 0.06));
  border-color: rgba(0, 214, 143, 0.25);
}

.cta-widget h3 {
  font-family: 'Sora', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--clr-text);
  margin: 0 0 0.5rem;
}

.cta-widget p {
  font-size: 0.85rem;
  color: var(--clr-text-2);
  line-height: 1.6;
  margin: 0 0 1rem;
}

.cta-widget .btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.7rem 1rem;
  background: linear-gradient(90deg, #00D68F, #00C2B3);
  color: #0A0F1E;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 0.6rem;
  text-decoration: none;
  transition: opacity 0.15s, transform 0.15s;
  box-shadow: 0 4px 14px rgba(0, 214, 143, 0.25);
}

.cta-widget .btn:hover {
  opacity: 0.92;
  transform: translateY(-1px);
  text-decoration: none;
}

@media (max-width: 1024px) {
  .page-sidebar {
    position: static;
  }
}
