/* ==========================================================================
   Consumer Testosterone Reviews - Design System & Styles
   Phase 1: Foundation (Header, Hero, Sidebar, Footer)
   ========================================================================== */

/* ---------- CSS Variables / Design Tokens ---------- */
:root {
    --color-primary: #CF2A2A;
    --color-primary-dark: #A81F1F;
    --color-text: #050505;
    --color-muted: #A7A7A7;
    --color-bg: #FFFFFF;
    --color-page-bg: #EFEFEF;
    --card-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    --color-section-bg: #F8F8F8;
    --color-border: #E5E5E5;
    --color-green: #4CAF50;
    --color-red: #E53935;

    /* CTR button: red gradient, Oswald, white text */
    --btn-gradient: linear-gradient(180deg, #DF2020 0%, #B13D3D 100%);
    --btn-text: #FFFFFF;
    --btn-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.11);

    /* CTR branding */
    --color-header-bg: #0D0D0D;
    --color-gold: #E0A83A;
    --color-star: #CF2A2A;
    --color-product-title: #2040d3;

    --font-family: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-mono: 'DM Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
    --font-btn: 'Inter', sans-serif;
    --content-width: 1000px;
    --sidebar-gap: 15px;

    --header-height: 64px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.65;
    color: var(--color-text);
    background-color: var(--color-page-bg);
}

/* Readable content sits on white cards over the grey page.
   Everything from the hero down to the rankings intro is ONE block. */
.content-block,
.product-card,
.upsell-block,
.references-section {
    background-color: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    box-shadow: var(--card-shadow);
    margin-bottom: 30px;
    overflow: hidden;
}

.content-block { padding: 28px; }

/* Sections inside that block are plain - no card of their own */
.content-block > .intro-section,
.content-block > .education-section,
.content-block > .recommend-section {
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
}

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

a {
    color: var(--color-primary);
    text-decoration: underline;
}

a:hover {
    color: var(--color-primary-dark);
}

/* ---------- Typography ---------- */

/* Primary Headlines — 900 Black, -1px letter spacing */
h1 {
    font-weight: 900;
    font-size: 40px;
    line-height: 1.2;
    letter-spacing: -1px;
    color: var(--color-text);
    margin-bottom: 16px;
}

h2 {
    font-weight: 900;
    font-size: 26px;
    line-height: 1.25;
    letter-spacing: -1px;
    color: var(--color-text);
    margin-bottom: 14px;
}

/* Secondary Headlines — 700 Bold, normal letter spacing */
h3 {
    font-weight: 700;
    font-size: 22px;
    line-height: 1.3;
    color: var(--color-text);
    margin-bottom: 12px;
}

h4 {
    font-weight: 700;
    font-size: 20px;
    line-height: 1.35;
    color: var(--color-text);
    margin-bottom: 10px;
}

h5 {
    font-weight: 700;
    font-size: 18px;
    line-height: 1.4;
    color: var(--color-text);
    margin-bottom: 8px;
}

p {
    margin-bottom: 16px;
}

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

.text-muted {
    color: var(--color-muted);
    font-size: 13px;
}

.text-small {
    font-size: 14px;
}

/* ---------- Buttons ---------- */
.btn-cta {
    display: inline-block;
    font-family: var(--font-btn);
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--btn-text);
    background-color: transparent;
    background-image: var(--btn-gradient);
    box-shadow: var(--btn-shadow);
    border-radius: 4px;
    padding: 17px 40px;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.15s ease;
    text-align: center;
}

.btn-cta:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    color: var(--btn-text);
}

.btn-cta:active {
    transform: translateY(0);
}

/* Dark pill variant - hero "View Top Ranked Products" */
.btn-cta--dark {
    background-image: none;
    background-color: #333333;
    color: #FFFFFF;
    text-transform: none;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0;
    padding: 13px 28px;
    border-radius: 999px;
}
.btn-cta--dark:hover {
    background-color: #1F1F1F;
    color: #FFFFFF;
}

/* "Third Party Tested with COA" reads as body text, just underlined */
.eval-badge a {
    color: var(--color-text);
    text-decoration: underline;
}
.eval-badge a:hover { color: var(--color-text); }

/* ---------- Evaluation badges (CTR style pills) ---------- */
.eval-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    list-style: none;
    margin: 20px 0 24px;
    padding: 0;
}

.eval-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #FFFFFF;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1;
}

.eval-badge-check {
    color: var(--color-green);
    font-size: 16px;
    font-weight: 700;
}

.eval-badge-stars {
    color: var(--color-gold);
    font-size: 14px;
    letter-spacing: 1px;
}

@media (max-width: 700px) {
    .eval-badges { gap: 8px; }
    .eval-badge { padding: 8px 14px; font-size: 13px; }
}

/* ---------- Header (CTR branding: black bar, text lockup) ---------- */
.site-header {
    background-color: var(--color-header-bg);
}

.header-inner {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.header-brand {
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-decoration: none;
}

.header-eyebrow {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-gold);
}

.header-name {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 700;
    line-height: 1.1;
    color: #FFFFFF;
}

.header-tagline {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #9A9A9A;
}

.header-updated {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #C9C9C9;
    border: 1px solid #333333;
    border-radius: 999px;
    padding: 6px 14px;
}

.header-updated-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-gold);
    flex-shrink: 0;
}

@media (max-width: 700px) {
    .header-name { font-size: 20px; }
    .header-eyebrow, .header-tagline { font-size: 10px; }
    .header-updated { display: none; }
}

/* ---------- Dropdown nav (hamburger at every width) ---------- */
.header-right {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 9px;
    background: none;
    border: 1px solid #333333;
    border-radius: 6px;
    cursor: pointer;
    flex-shrink: 0;
}
.nav-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: #FFFFFF;
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.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); }

.site-nav {
    background: #1A1A1A;
    border-top: 1px solid #2E2E2E;
}
.site-nav[hidden] { display: none; }

.site-nav-inner {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 6px 20px 14px;
    display: flex;
    flex-direction: column;
}
.site-nav-inner a {
    color: #E8E8E8;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    padding: 11px 4px;
    border-bottom: 1px solid #2E2E2E;
}
.site-nav-inner a:last-child { border-bottom: none; }
.site-nav-inner a:hover { color: var(--color-gold); }

@media (max-width: 700px) {
    .header-right { gap: 8px; }
    .site-nav-inner { padding: 4px 12px 12px; }
}

/* Desktop nav */
.header-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}

.header-nav a {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
    padding: 6px 0;
    position: relative;
    transition: opacity 0.2s ease;
}

.header-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #FFFFFF;
    transition: width 0.25s ease;
}

.header-nav a:hover {
    opacity: 0.9;
    color: #FFFFFF;
}

.header-nav a:hover::after {
    width: 100%;
}

/* Hamburger — hidden on desktop */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #FFFFFF;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav overlay */
.mobile-nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background-color: var(--color-primary);
    padding: 20px;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.mobile-nav.active {
    display: block;
}

.mobile-nav ul {
    list-style: none;
}

.mobile-nav a {
    display: block;
    color: #FFFFFF;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.mobile-nav li:last-child a {
    border-bottom: none;
}

/* ---------- Two-Column Layout ---------- */
.page-layout {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 15px 6px;
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: var(--sidebar-gap);
    align-items: start;
}

.main-content {
    min-width: 0; /* prevent grid blowout */
}

/* ---------- Sidebar ---------- */
/* Sticks while scrolling on desktop. Header is no longer sticky, so no offset needed. */
.sidebar {
    position: sticky;
    top: 20px;
    align-self: start;
}

.sidebar-box {
    background-color: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 6px;
    padding: 24px 20px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.sidebar-box h3 {
    font-weight: 900;
    font-size: 18px;
    letter-spacing: -0.5px;
    margin-bottom: 18px;
    line-height: 1.3;
}

.criteria-list {
    list-style: none;
    margin-bottom: 20px;
}

.criteria-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 16px;
    font-size: 15px;
    line-height: 1.45;
}

.criteria-list li:last-child {
    margin-bottom: 0;
}

.criteria-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #FFFFFF;
    margin-top: 2px;
}

.criteria-icon.green {
    background-color: var(--color-green);
}

.criteria-icon.red {
    background-color: var(--color-red);
}

.criteria-item-title {
    font-weight: 700;
    display: block;
}

.criteria-item-detail {
    color: #555;
    font-size: 13px;
    display: block;
    margin-top: 2px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--color-primary);
    margin-bottom: 16px;
    text-decoration: none;
}

.sidebar-link:hover {
    text-decoration: underline;
}

.sidebar-link .link-icon {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    flex-shrink: 0;
}

.sidebar .btn-cta {
    display: block;
    width: 100%;
    font-size: 15px;
    padding: 14px 20px;
}

/* ---------- Hero Section ---------- */
.hero {
    margin-bottom: 30px;
}

.sponsored-label {
    font-size: 12px;
    color: var(--color-muted);
    text-align: center;
    margin-bottom: 8px;
    text-transform: none;
    letter-spacing: 0.02em;
}

.hero h1 {
    margin-bottom: 12px;
}

.hero-subtitle {
    font-size: 18px;
    color: #444;
    margin-bottom: 4px;
}

.hero-subtitle b {
    font-weight: 700;
}

.last-updated {
    font-size: 13px;
    color: #999;
    margin-bottom: 20px;
}

.hero .btn-cta {
    margin-bottom: 10px;
}

.disclosure-link {
    font-size: 12px;
    color: #888;
    text-decoration: underline;
    cursor: pointer;
    display: inline-block;
}

.disclosure-link:hover {
    color: #666;
}

/* ---------- Disclosure Modal ---------- */
.modal-overlay {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
}

.modal-overlay.active {
    display: flex;
}

.modal-box {
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    position: relative;
    text-align: left;
}

.modal-box h4 {
    margin-top: 0;
    margin-bottom: 14px;
    color: #333;
}

.modal-box p {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    color: #aaa;
    font-size: 26px;
    font-weight: bold;
    cursor: pointer;
    border: none;
    background: none;
    line-height: 1;
}

.modal-close:hover {
    color: #333;
}

/* ---------- Footer ---------- */
.site-footer {
    background-color: var(--color-section-bg);
    border-top: 1px solid var(--color-border);
    margin-top: 60px;
    padding: 40px 20px;
}

.footer-inner {
    max-width: var(--content-width);
    margin: 0 auto;
    text-align: center;
}

.footer-logo {
    margin: 0 auto 20px;
}

.footer-logo img {
    width: 200px;
    max-width: 100%;
    height: auto;          /* keep the 520x128 ratio instead of squashing it */
    margin: 0 auto;
}

.footer-nav {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 14px;
}

.footer-nav li:not(:last-child)::after {
    content: ' | ';
    color: var(--color-muted);
    margin-left: 8px;
}

.footer-nav a {
    color: var(--color-text);
    text-decoration: none;
}

.footer-nav a:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

.footer-disclosure {
    font-size: 13px;
    line-height: 1.65;
    color: #777;
    max-width: 800px;
    margin: 0 auto 16px;
}

.footer-copyright {
    font-size: 13px;
    color: var(--color-muted);
    margin-top: 20px;
}

/* ---------- Comparison Chart ---------- */
.comparison-section {
    margin-bottom: 30px;
}

.comparison-section img {
    border-radius: 4px;
}

.comparison-disclaimer {
    font-size: 18px;
    color: #444;
    margin-top: 14px;
    line-height: 1.65;
}

/* ---------- Intro / Blockquote ---------- */
.intro-section {
    margin-bottom: 30px;
}

.intro-blockquote {
    border-left: 4px solid var(--color-border);
    padding: 16px 20px;
    margin: 0 0 20px 0;
    background-color: var(--color-section-bg);
    border-radius: 0 4px 4px 0;
}

.intro-blockquote p {
    margin-bottom: 8px;
}

.intro-blockquote p:last-child {
    margin-bottom: 0;
}

.skip-link-inline {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: underline;
}

/* ---------- Education Section ---------- */
.education-section {
    margin-bottom: 30px;
}

.education-section h2 {
    text-decoration: none;
}

.education-section h2 u {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.education-section img {
    margin: 20px 0;
    border-radius: 4px;
}

/* Yellow/gold callout box */
.callout-box {
    background-color: #FFF8E1;
    border-left: 4px solid #FDB022;
    padding: 16px 20px;
    border-radius: 0 6px 6px 0;
    margin: 20px 0;
}

.callout-box p {
    margin-bottom: 0;
}

/* Blue callout (for the decline fact) */
.callout-blue {
    background-color: #EBF5FF;
    border-left: 4px solid var(--color-primary);
    padding: 16px 20px;
    border-radius: 0 6px 6px 0;
    margin: 20px 0;
}

.callout-blue p {
    margin-bottom: 0;
}

/* ---------- "What We Recommend" Accordion ---------- */
.recommend-section {
    margin-bottom: 30px;
}

.recommend-header {
    background-color: #333;
    color: #FFFFFF;
    padding: 14px 20px;
    border-radius: 6px 6px 0 0;
    font-weight: 700;
    font-size: 18px;
}

/* Grading intro + weight bar (CTR scoring model) */
.recommend-intro {
    border: 1px solid var(--color-border);
    border-top: none;
    margin: 0;
    padding: 16px 20px 0;
    font-size: 15px;
    line-height: 1.6;
    color: #3A3A3A;
}

.grading-bar {
    display: flex;
    height: 38px;
    overflow: hidden;
    border-radius: 4px;
    margin: 16px 20px;
    border-left: 1px solid transparent;
}
.recommend-intro + .grading-bar {
    border: 1px solid var(--color-border);
    border-top: none;
    border-bottom: none;
    border-radius: 0;
    margin: 0;
    padding: 16px 20px;
    height: auto;
}
.recommend-intro + .grading-bar > .grading-bar-segment:first-child { border-radius: 4px 0 0 4px; }
.recommend-intro + .grading-bar > .grading-bar-segment:last-child  { border-radius: 0 4px 4px 0; }

.grading-bar-segment {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    font-size: 13px;
    font-weight: 700;
    color: #FFFFFF;
    white-space: nowrap;
}
.grading-bar-segment--sourcing { background-color: #CF2A2A; flex-basis: 30%; }
.grading-bar-segment--formula  { background-color: #0B4DDE; flex-basis: 40%; }
.grading-bar-segment--trust    { background-color: #4CAF50; flex-basis: 30%; }

.accordion-weight {
    display: inline-block;
    margin-left: 8px;
    font-size: 12px;
    font-weight: 700;
    color: var(--color-muted);
}

.accordion-list {
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
}
.accordion-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 8px;
}

@media (max-width: 600px) {
    .grading-bar-segment { font-size: 11px; }
}

.accordion {
    border: 1px solid var(--color-border);
    border-top: none;
    border-radius: 0 0 6px 6px;
    overflow: hidden;
}

.accordion-item {
    border-bottom: 1px solid var(--color-border);
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text);
    text-align: left;
    transition: background-color 0.15s ease;
}

.accordion-trigger:hover {
    background-color: var(--color-section-bg);
}

.accordion-trigger .accordion-icon {
    font-size: 18px;
    font-weight: 400;
    color: #999;
    transition: transform 0.25s ease;
    flex-shrink: 0;
    margin-left: 12px;
}

.accordion-item.active .accordion-trigger .accordion-icon {
    transform: rotate(45deg);
}

.accordion-item.active .accordion-trigger {
    color: var(--color-text);
}

.accordion-content {
    display: none;
    padding: 0 20px 16px;
    font-size: 16px;
    line-height: 1.65;
    color: #444;
}

.accordion-item.active .accordion-content {
    display: block;
}

/* ---------- Scoring Callout ---------- */
.scoring-callout {
    background-color: #FFF8E1;
    border: 1px solid #F0E0A0;
    border-radius: 6px;
    padding: 18px 22px;
    margin: 30px 0;
    font-size: 16px;
    line-height: 1.6;
}

.scoring-callout .emoji {
    font-size: 18px;
}

/* ---------- "Before You Buy" Checklist ---------- */
.checklist-section {
    margin: 30px 0;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    overflow: hidden;
}

.checklist-header {
    background-color: #333;
    color: #FFFFFF;
    padding: 14px 20px;
    font-weight: 700;
    font-size: 18px;
    text-align: center;
}

/* Variant label inside a PROS heading (e.g. TestForm-X BLK vs Original) */
.variant-tag {
    display: inline-block;
    margin-left: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-muted);
    text-transform: none;
    letter-spacing: 0;
}

/* ---------- Product review pages ---------- */
.review-page .content-block { margin-bottom: 22px; }

.review-eyebrow,
.rv-kicker {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 8px;
}
.rv-kicker--light { color: var(--color-gold); }

.rv-section h2 { font-size: 26px; margin-bottom: 14px; }
.rv-section p  { font-size: 16px; line-height: 1.7; color: #333; }

/* dark sections */
.rv-dark {
    background: #141414 !important;
    border-color: #141414 !important;
}
.rv-dark h2 { color: #FFFFFF; }
.rv-dark p  { color: #CFCFCF; }

/* intro: two bottles */
.rv-bottles {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 18px;
    margin-bottom: 22px;
}
.rv-bottles figure { text-align: center; margin: 0; }
.rv-bottles img { width: 100%; max-width: 190px; height: auto; margin: 0 auto; }
.rv-bottles figcaption {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-muted);
    margin-top: 8px;
}
.rv-vs {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--color-muted);
    padding-bottom: 44px;
}

.rv-thesis {
    border-left: 4px solid var(--color-primary);
    padding: 4px 0 4px 16px;
    margin: 20px 0 0;
}
.rv-thesis p { font-size: 17px; font-weight: 600; margin: 0; }

/* two-card split */
.rv-split { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 20px; }
.rv-split-card {
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 18px;
    background: #FAFAFA;
}
.rv-split-card--win { border-color: var(--color-primary); background: #FDF6F5; }
.rv-split-label { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--color-muted); margin-bottom: 6px; }
.rv-split-big   { font-size: 34px; font-weight: 900; line-height: 1; margin-bottom: 6px; }
.rv-split-card--win .rv-split-big { color: var(--color-primary); }
.rv-split-note  { font-size: 14px !important; color: #555 !important; margin: 0 !important; }

/* pathways */
.rv-pathways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.rv-pathway {
    border: 1px solid #333;
    border-radius: 8px;
    padding: 14px;
    background: #1C1C1C;
}
.rv-pathway-title {
    font-family: var(--font-mono);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--color-gold) !important;
    margin-bottom: 10px !important;
}
.rv-pathway ul { list-style: none; }
.rv-pathway li {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 13px;
    color: #DDD;
    padding: 5px 0;
    border-bottom: 1px solid #2A2A2A;
}
.rv-pathway li:last-child { border-bottom: none; }
.rv-pathway li span { color: #8FA7C4; white-space: nowrap; }
.rv-pathways-note { font-size: 12px !important; color: #9A9A9A !important; margin-top: 14px !important; }

/* comparison table */
.rv-table-wrap { overflow-x: auto; margin-top: 16px; }
.rv-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.rv-table th, .rv-table td { padding: 11px 12px; border-bottom: 1px solid var(--color-border); text-align: left; }
.rv-table thead th { background: #F5F5F6; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.rv-table tbody th { font-weight: 600; color: var(--color-text); }
.rv-table td.yes { color: #2F7D33; font-weight: 700; }
.rv-table td.no  { color: var(--color-primary); font-weight: 700; }
.rv-table-note { font-size: 12px !important; color: var(--color-muted) !important; margin-top: 12px !important; }

/* which one is right */
.rv-which { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.rv-which-card {
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 18px;
    text-align: center;
}
.rv-which-card--win { border-color: var(--color-primary); background: #FDF6F5; }
.rv-which-card img { margin: 0 auto 12px; width: 100%; max-width: 120px; height: auto; }
.rv-which-title { font-weight: 800; font-size: 16px !important; margin-bottom: 8px; }
.rv-which-card p:last-child { font-size: 14px !important; color: #555 !important; margin: 0 !important; }

/* trust + transparency */
.rv-trust { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.rv-trust-card { background: #1C1C1C; border: 1px solid #333; border-radius: 8px; padding: 18px; }
.rv-trust-card--win { background: #FFFFFF; border-color: var(--color-primary); }
.rv-trust-name { font-weight: 800; font-size: 15px !important; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 12px !important; color: #FFF !important; }
.rv-trust-card--win .rv-trust-name { color: var(--color-text) !important; }
.rv-trust-card ul { list-style: none; }
.rv-trust-card li { position: relative; padding-left: 24px; font-size: 14px; line-height: 1.5; margin-bottom: 10px; color: #DDD; }
.rv-trust-card--win li { color: #333; }
.rv-trust-card li::before {
    position: absolute; left: 0; top: 0;
    width: 16px; height: 16px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 10px; color: #FFF; font-weight: 800;
}
.rv-trust-card li.yes::before { content: "✓"; background: var(--color-green); }
.rv-trust-card li.no::before  { content: "✕"; background: var(--color-primary); }

/* verdict */
.rv-verdict-box {
    border: 2px solid var(--color-primary);
    border-radius: 8px;
    padding: 20px;
    margin: 18px 0;
    background: #FDF6F5;
}
.rv-verdict-box p { font-size: 18px !important; font-weight: 700; margin-bottom: 8px !important; }
.rv-verdict-sub  { font-size: 15px !important; font-weight: 400 !important; color: #555 !important; margin: 0 !important; }

.rv-ebay { font-size: 15px !important; margin-top: 16px !important; }
.rv-ebay a { color: var(--color-primary); }
.rv-stars { color: var(--color-gold); letter-spacing: 1px; }

@media (max-width: 700px) {
    .rv-section h2 { font-size: 21px; }
    .rv-split, .rv-which, .rv-trust { grid-template-columns: 1fr; }
    .rv-pathways { grid-template-columns: 1fr; }
    .rv-bottles { gap: 10px; }
    .rv-bottles img { max-width: 130px; }
    .rv-vs { padding-bottom: 34px; }
}

/* ---------- Mechanism section (dark, red accent) ---------- */
.mech {
    background: #121212 !important;
    border-color: #121212 !important;
    padding: 30px !important;
}
.mech h2 { color: #FFFFFF; font-size: 27px; margin-bottom: 12px; }
.mech p  { color: #C6C6C6; font-size: 16px; line-height: 1.7; }
.mech strong { color: #FFFFFF; }
.mech-lede { font-size: 17px !important; color: #D8D8D8 !important; }
.mech-split { font-weight: 700; color: #FFFFFF !important; margin-top: 26px !important; }

.mech-src {
    color: var(--color-primary);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .06em;
    text-decoration: none;
    border-bottom: 1px solid rgba(207,42,42,.5);
    white-space: nowrap;
}
.mech-src:hover { color: #FF5A5A; }

/* chain diagram */
.mech-diagram {
    background: #0B0B0B;
    border: 1px solid #262626;
    border-radius: 10px;
    padding: 24px 20px 20px;
    margin: 22px 0;
}
.mech-diagram-title {
    font-family: var(--font-mono);
    font-size: 13px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #FFFFFF !important;
    text-align: center;
    margin-bottom: 22px !important;
}

.chain { display: flex; align-items: flex-start; justify-content: center; gap: 6px; }
.chain-node { flex: 1; max-width: 150px; text-align: center; position: relative; }
.chain-num {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 10px;
    color: #FFFFFF;
    background: var(--color-primary);
    border-radius: 3px;
    padding: 1px 5px;
    margin-bottom: 8px;
}
.chain-ring {
    width: 74px; height: 74px;
    margin: 0 auto 10px;
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: rgba(207,42,42,.07);
}
.chain-ring svg { width: 34px; height: 34px; fill: none; stroke: var(--color-primary); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chain-node--end .chain-ring { border-color: #4CAF50; background: rgba(76,175,80,.09); }
.chain-node--end .chain-ring svg { stroke: #4CAF50; }
.chain-node--end .chain-num { background: #4CAF50; }

.chain-tag {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--color-primary) !important;
    margin-bottom: 4px !important;
}
.chain-node--end .chain-tag { color: #4CAF50 !important; }
.chain-name { font-size: 15px !important; font-weight: 800; color: #FFFFFF !important; margin-bottom: 2px !important; }
.chain-sub  { font-size: 12px !important; color: #8A8A8A !important; margin: 0 !important; line-height: 1.35; }

.chain-link {
    flex: 0 0 26px;
    height: 2px;
    margin-top: 56px;
    background-image: linear-gradient(90deg, #3A3A3A 55%, transparent 55%);
    background-size: 7px 2px;
}

.mech-break-title {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #FFFFFF !important;
    text-align: center;
    background: var(--color-primary);
    border-radius: 999px;
    padding: 6px 14px;
    width: fit-content;
    margin: 24px auto 16px !important;
}
.mech-breaks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mech-breaks div { font-size: 13px; color: #A8A8A8; line-height: 1.5; }
.mech-breaks span {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 10px;
    color: #FFFFFF;
    background: #333;
    border-radius: 3px;
    padding: 1px 5px;
    margin-right: 6px;
}

/* pathway cards */
.paths {
    border: 1px solid rgba(207,42,42,.45);
    border-radius: 10px;
    padding: 24px 20px 20px;
    margin-top: 24px;
    background: rgba(207,42,42,.05);
}
.paths-title {
    font-family: var(--font-mono);
    font-size: 15px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #FFFFFF !important;
    text-align: center;
    margin-bottom: 20px !important;
}
.paths-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.path {
    border: 1px solid #333;
    border-radius: 8px;
    padding: 16px;
    background: #171717;
}
.path--feature { border-color: var(--color-primary); background: #1E1313; }
.path-num {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #FFFFFF;
    background: #2C2C2C;
    border-radius: 3px;
    padding: 2px 7px;
    margin-bottom: 10px;
}
.path--feature .path-num { background: var(--color-primary); }
.path-name {
    font-size: 17px !important;
    font-weight: 800;
    color: #FFFFFF !important;
    margin-bottom: 12px !important;
}
.path--feature .path-name { color: #FF6B6B !important; }
.path ul { list-style: none; margin-bottom: 12px; }
.path li {
    display: flex; justify-content: space-between; gap: 10px;
    font-size: 14px; color: #E0E0E0;
    padding: 7px 0; border-bottom: 1px solid #2A2A2A;
}
.path li:last-child { border-bottom: none; }
.path li b { color: #FFFFFF; white-space: nowrap; font-weight: 700; }
.path-note { font-size: 12.5px !important; color: #9C9C9C !important; line-height: 1.55; margin: 0 !important; }
.paths-foot { text-align: center; font-size: 15px !important; color: #D8D8D8 !important; margin: 18px 0 0 !important; }

@media (max-width: 780px) {
    .mech { padding: 18px !important; }
    .chain { flex-wrap: wrap; gap: 14px; }
    .chain-link { display: none; }
    .chain-node { flex: 0 0 45%; max-width: none; }
    .mech-breaks { grid-template-columns: 1fr; }
    .paths-grid { grid-template-columns: 1fr; }
}

/* ---------- Supplement Facts panels ---------- */
.sf-block { padding: 20px !important; }
.sf-block-label { font-size: 14px; color: var(--color-muted); margin-bottom: 12px; }

.sf {
    border: 2px solid #111;
    padding: 12px 7px 10px;
    max-width: 350px;
    background: #FFFFFF;
    font-family: var(--font-family);
}
.sf--feature { border-color: var(--color-primary); }

.sf-title {
    font-size: 30px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.5px;
    margin-bottom: 6px !important;
}
.sf-serving { font-size: 13px; line-height: 1.4; margin-bottom: 8px !important; color: #222 !important; }

.sf-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.sf-table thead th {
    border-top: 6px solid #111;
    border-bottom: 1px solid #111;
    padding: 4px 0;
    text-align: left;
    font-weight: 700;
}
.sf-table thead th:last-child { text-align: right; }
.sf-table td { border-bottom: 1px solid #CFCFCF; padding: 0; vertical-align: top; color: #111; }
.sf-table td i { font-style: italic; color: #444; }
.sf-table tr.sf-rule td { border-top: 5px solid #111; }
.sf-amt { text-align: right; white-space: nowrap; padding-left: 10px !important; }
.sf-dv  { text-align: right; white-space: nowrap; padding-left: 8px !important; width: 52px; }
.sf-foot { border-top: 5px solid #111; padding-top: 5px; font-size: 12px; margin: 0 !important; color: #111 !important; }
.sf-directions { font-size: 12.5px !important; color: #555 !important; margin: 12px 0 0 !important; line-height: 1.5; }

/* two panels side by side inside the decision section */
.sf-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin: 20px 0 22px;
    align-items: start;
}
.sf-col-name { font-size: 16px !important; font-weight: 800; margin-bottom: 6px !important; }
.sf-col-lede { font-size: 14px !important; color: #555 !important; line-height: 1.55; margin-bottom: 12px !important; }
.sf-pair .sf { max-width: none; font-size: 12px; }
.sf-pair .sf-title { font-size: 21px; }
.sf-pair .sf-serving { font-size: 11.5px; }
.sf-pair .sf-table { font-size: 11.5px; }
.sf-pair .sf-table thead th { border-top-width: 5px; font-size: 11px; }
.sf-pair .sf-dv { width: 44px; }
.sf-pair .sf-foot { font-size: 10.5px; border-top-width: 4px; }
.sf-pair .sf-directions { font-size: 11px !important; margin-top: 8px !important; }

/* ---------- Ingredient breakdown ---------- */
.ing-group {
    font-size: 17px;
    font-weight: 800;
    margin: 26px 0 12px;
    padding-bottom: 6px;
    border-bottom: 2px solid var(--color-primary);
}
.ing-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ing-row {
    border: 1px solid var(--color-border);
    border-radius: 6px;
    padding: 12px 14px;
    background: #FAFAFA;
}
.ing-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 5px; }
.ing-name { font-size: 14.5px; font-weight: 800; }
.ing-amt  { font-size: 12px; font-weight: 700; color: var(--color-primary); white-space: nowrap; }
.ing-desc { font-size: 13px !important; line-height: 1.55; color: #555 !important; margin: 0 !important; }

@media (max-width: 700px) {
    .ing-list { grid-template-columns: 1fr; }
}

/* ---------- Review page headline block ---------- */
/* Sub-headline carries the same weight as the H1, at its own size */
.review-page .hero-subtitle {
    font-weight: 900;
    color: var(--color-text);
    letter-spacing: -0.2px;
}

/* Intro sits in the same block as the headline, no gap */
.hero-intro {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
    margin: 16px 0 0;
}

/* ---------- Stock callout ---------- */
.stock-note {
    background: #FFFBEA;
    border: 1px solid #E8DFAE;
    border-radius: 8px;
    padding: 16px 18px;
    margin-bottom: 18px;
}
.stock-note p { font-size: 15px !important; margin-bottom: 8px !important; color: #333 !important; }
.stock-note p:last-child { margin-bottom: 0 !important; }
.stock-status { font-weight: 800; color: #2F7D33 !important; font-size: 17px !important; }
.stock-tick { color: #2F7D33; margin-right: 6px; }

.rv-ebay-note { font-size: 13.5px !important; color: var(--color-muted) !important; margin-top: 6px !important; }

/* ---------- Figures ---------- */
.rv-figure { margin: 18px 0; }
.rv-figure img {
    width: 100%;
    height: auto;
    border: 1px solid var(--color-border);
    border-radius: 8px;
}

/* ---------- Expert block ---------- */
.expert {
    background: #141414 !important;
    border-color: #141414 !important;
    padding: 26px !important;
}
.expert h2 { color: #FFFFFF; font-size: 25px; margin-bottom: 16px; }
.expert p  { color: #C6C6C6; font-size: 15.5px; line-height: 1.7; }
.expert strong { color: #FFFFFF; }
.expert .citation { color: #FF7A7A; }

.expert-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: center; }
.expert-media img {
    width: 100%; height: auto;
    border-radius: 8px;
    border: 1px solid #2E2E2E;
}
.expert-body p:last-child { margin-bottom: 0; }

@media (max-width: 700px) {
    .expert { padding: 16px !important; }
    .expert h2 { font-size: 20px; }
    .expert-grid { grid-template-columns: 1fr; gap: 14px; }
}

/* ---------- Annual cost chart ---------- */
.cost { padding: 26px !important; }
.cost h2 { font-size: 27px; margin-bottom: 12px; }
.cost > p { font-size: 16px; line-height: 1.7; color: #333; }

.cost-chart {
    background: #FFFFFF;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 20px 22px;
    margin: 20px 0 14px;
}
.cost-row {
    display: grid;
    grid-template-columns: 195px 1fr 78px;
    align-items: center;
    gap: 14px;
    padding: 11px 0;
    border-bottom: 1px solid #EFEFEF;
}
.cost-row:last-child { border-bottom: none; }
.cost-label {
    font-family: var(--font-mono);
    font-size: 12.5px;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #8A8A8A;
}
.cost-bar { display: block; height: 15px; background: #F1F1F1; border-radius: 3px; overflow: hidden; }
.cost-bar i { display: block; height: 100%; border-radius: 3px; }
.cost-bar i.mute { background: #C9C4BC; }
.cost-bar i.dark { background: #3A3A3A; }
.cost-bar i.win  { background: var(--color-primary); }
.cost-val {
    font-family: var(--font-mono);
    font-size: 15px;
    font-weight: 700;
    text-align: right;
    color: #8A8A8A;
}
.cost-row--win .cost-label,
.cost-row--win .cost-val { color: var(--color-primary); }
.cost-row--win .cost-val { font-size: 17px; }
.cost-note { font-size: 14px !important; color: var(--color-muted) !important; line-height: 1.6; }
.cost-note strong { color: var(--color-text); }

@media (max-width: 700px) {
    .sf-pair { grid-template-columns: 1fr; gap: 22px; }
    .cost { padding: 16px !important; }
    .cost h2 { font-size: 21px; }
    .cost-chart { padding: 14px; }
    .cost-row { grid-template-columns: 110px 1fr 60px; gap: 8px; }
    .cost-label { font-size: 10.5px; }
    .cost-val { font-size: 13px; }
}

/* ---------- Big comparison table ---------- */
.cmp { padding: 22px !important; }
.cmp-brand {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--color-text) !important;
    border-bottom: 3px solid var(--color-primary);
    display: inline-block;
    padding-bottom: 4px;
    margin-bottom: 10px !important;
}
.cmp-title { font-size: 27px; margin-bottom: 3px; }
.cmp-sub { font-size: 14px !important; color: var(--color-muted) !important; margin-bottom: 14px !important; }

.cmp-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cmp-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    min-width: 600px;
    table-layout: fixed;
}
.cmp-table col, .cmp-table th, .cmp-table td { text-align: left; }

/* column widths - "what we checked" only as wide as it needs to be */
.cmp-table th:nth-child(1), .cmp-table td:nth-child(1) { width: 27%; }
.cmp-table th:nth-child(2), .cmp-table td:nth-child(2) { width: 21%; }
.cmp-table th:nth-child(3), .cmp-table td:nth-child(3) { width: 21%; }
.cmp-table th:nth-child(4), .cmp-table td:nth-child(4) { width: 31%; }

.cmp-table thead th {
    vertical-align: bottom;
    padding: 6px 8px;
    text-align: left;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .03em;
    border-bottom: 1px solid rgba(51,51,51,.3);
}
.cmp-table thead th img { margin: 0 0 6px; width: 52px; height: auto; }
.cmp-table thead th span { display: block; }
.cmp-h-check, .cmp-h-why { color: var(--color-muted); }
.cmp-h-win { background: #1A1A1A; color: #FFFFFF; border-radius: 6px 6px 0 0; }

.cmp-table tbody th {
    font-weight: 700;
    padding: 5px 8px;
    border-bottom: 1px solid rgba(51,51,51,.3);
    color: var(--color-text);
    line-height: 1.35;
}
.cmp-table tbody td {
    padding: 5px 8px;
    border-bottom: 1px solid rgba(51,51,51,.3);
    color: #333;
    line-height: 1.35;
    vertical-align: middle;
}
.cmp-table tbody td.win { background: #1A1A1A; color: #FFFFFF; font-weight: 700; border-bottom-color: rgba(255,255,255,.14); }
.cmp-table tbody td.win a { color: #FF7A7A; }
.cmp-table tbody tr:last-child td.win { border-radius: 0 0 6px 6px; border-bottom: none; }
.cmp-table td.why { font-size: 11.5px; color: var(--color-muted); }

/* icon in the "what we checked" column */
.cmp-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 17px; height: 17px;
    margin-right: 7px;
    vertical-align: -4px;
    flex: none;
}
.cmp-ico svg {
    width: 15px; height: 15px;
    fill: none;
    stroke: var(--color-primary);
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.cmp-el {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 17px; height: 17px;
    border: 1.5px solid var(--color-primary);
    border-radius: 50%;
    font-size: 8px;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: 0;
}

/* yes / no marks, aligned with the text baseline */
.cmp-table i.ok, .cmp-table i.no {
    display: inline-flex; align-items: center; justify-content: center;
    width: 15px; height: 15px; border-radius: 50%;
    font-size: 9px; font-weight: 800; color: #FFF;
    margin-right: 6px; vertical-align: -3px;
    flex: none;
}
.cmp-table i.ok::before { content: "✓"; }
.cmp-table i.no::before { content: "✕"; }
.cmp-table i.ok { background: var(--color-green); }
.cmp-table i.no { background: #9A9A9A; }
.cmp-table td.win i.ok { background: var(--color-green); }

.cmp-foot {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 14px;
}
.cmp-foot div { background: #F5F5F6; border-radius: 6px; padding: 11px 13px; }
.cmp-foot strong { display: block; font-size: 12.5px; color: var(--color-primary); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 2px; }
.cmp-foot span   { font-size: 12px; color: #555; }

/* ---------- Annual cost chart ---------- */
.cost { padding: 26px !important; }
.cost h2 { font-size: 27px; margin-bottom: 12px; }
.cost > p { font-size: 16px; line-height: 1.7; color: #333; }

.cost-chart {
    background: #FFFFFF;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 20px 22px;
    margin: 20px 0 14px;
}
.cost-row {
    display: grid;
    grid-template-columns: 195px 1fr 78px;
    align-items: center;
    gap: 14px;
    padding: 11px 0;
    border-bottom: 1px solid #EFEFEF;
}
.cost-row:last-child { border-bottom: none; }
.cost-label {
    font-family: var(--font-mono);
    font-size: 12.5px;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #8A8A8A;
}
.cost-bar { display: block; height: 15px; background: #F1F1F1; border-radius: 3px; overflow: hidden; }
.cost-bar i { display: block; height: 100%; border-radius: 3px; }
.cost-bar i.mute { background: #C9C4BC; }
.cost-bar i.dark { background: #3A3A3A; }
.cost-bar i.win  { background: var(--color-primary); }
.cost-val {
    font-family: var(--font-mono);
    font-size: 15px;
    font-weight: 700;
    text-align: right;
    color: #8A8A8A;
}
.cost-row--win .cost-label,
.cost-row--win .cost-val { color: var(--color-primary); }
.cost-row--win .cost-val { font-size: 17px; }
.cost-note { font-size: 14px !important; color: var(--color-muted) !important; line-height: 1.6; }
.cost-note strong { color: var(--color-text); }

@media (max-width: 700px) {
    .sf-pair { grid-template-columns: 1fr; gap: 22px; }
    .cost { padding: 16px !important; }
    .cost h2 { font-size: 21px; }
    .cost-chart { padding: 14px; }
    .cost-row { grid-template-columns: 110px 1fr 60px; gap: 8px; }
    .cost-label { font-size: 10.5px; }
    .cost-val { font-size: 13px; }
}

/* ---------- Document pages (privacy, terms, disclosure) ---------- */
.page-layout--narrow {
    grid-template-columns: 1fr;
    max-width: 820px;
}

.doc-page h1 { margin-bottom: 6px; }

.doc-updated {
    font-size: 14px;
    color: var(--color-muted);
    margin-bottom: 28px;
}

.doc-page h2 {
    font-size: 22px;
    margin-top: 34px;
    margin-bottom: 10px;
}
.doc-page h3 {
    font-size: 18px;
    margin-top: 24px;
    margin-bottom: 8px;
}
.doc-page h4 {
    font-size: 16px;
    margin-top: 18px;
    margin-bottom: 6px;
}
.doc-page p {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 14px;
}
.doc-page ul {
    margin: 0 0 16px 22px;
    list-style: disc;
}
.doc-page li {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 8px;
}
.doc-page a { color: var(--color-primary); }

@media (max-width: 700px) {
    .doc-page h2 { font-size: 19px; }
    .doc-page p, .doc-page li { font-size: 15px; }
}

/* ---------- References ---------- */
.references-section {
    margin: 40px 0 30px;
    padding: 24px;
}

.references-title {
    font-size: 20px;
    margin-bottom: 16px;
}

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

.reference-item {
    display: flex;
    gap: 8px;
    font-size: 13px;
    line-height: 1.55;
    color: #555;
    padding: 7px 0;
    border-bottom: 1px solid #ECECEC;
    scroll-margin-top: 20px;
}
.reference-item:last-child { border-bottom: none; }

/* Briefly highlight the entry when jumped to from an in-text citation */
.reference-item:target {
    background: #FFF8E1;
    box-shadow: inset 3px 0 0 var(--color-gold);
    padding-left: 10px;
}

.reference-num {
    flex-shrink: 0;
    font-weight: 700;
    color: var(--color-text);
    min-width: 24px;
}

.reference-item a {
    color: var(--color-primary);
    word-break: break-word;
}

.references-note {
    margin: 16px 0 0;
    font-size: 12px;
    line-height: 1.6;
    color: #777;
}

/* In-text citation markers */
.citation {
    font-size: 0.72em;
    vertical-align: super;
    line-height: 0;
    color: var(--color-primary);
    text-decoration: none;
    margin-left: 1px;
}
.citation:hover { text-decoration: underline; }

/* Single-column collapsible ingredient list */
.ing-accordion {
    padding: 0;
}

.ing-group-title {
    margin: 0;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: var(--color-section-bg);
    border-bottom: 1px solid var(--color-border);
}
.ing-group-title--good { color: #2F7D33; }
.ing-group-title--bad  { color: var(--color-red); border-top: 1px solid var(--color-border); }

.ing-item {
    border-bottom: 1px solid var(--color-border);
}
.ing-item:last-child {
    border-bottom: none;
}

.ing-item .accordion-trigger {
    color: var(--color-text);
    font-weight: 700;
    align-items: flex-start;
}

.ing-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    text-align: left;
}

.ing-item .accordion-content {
    padding-left: 52px;
    color: #555;
    font-size: 15px;
}

@media (max-width: 600px) {
    .ing-item .accordion-trigger { font-size: 15px; padding: 12px 16px; }
    .ing-item .accordion-content { padding-left: 44px; padding-right: 16px; }
    .ing-group-title { padding: 12px 16px; font-size: 14px; }
}

.checklist-col {
    padding: 20px;
}

.checklist-col:first-child {
    border-right: 1px solid var(--color-border);
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 15px;
    line-height: 1.5;
}

.checklist-item:last-child {
    margin-bottom: 0;
}

.check-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: #FFFFFF;
    margin-top: 2px;
}

.check-icon.green {
    background-color: var(--color-green);
}

.check-icon.red {
    background-color: var(--color-red);
}

.checklist-item-title {
    font-weight: 700;
    display: block;
}

.checklist-item-detail {
    font-size: 14px;
    color: #555;
    display: block;
    margin-top: 2px;
}

/* ---------- Rankings Heading ---------- */
.rankings-heading {
    text-align: center;
    margin: 40px 0 10px;
}

.rankings-heading h2 {
    font-size: 28px;
}

.rankings-subtext {
    text-align: center;
    color: #555;
    margin-bottom: 30px;
}

/* ---------- Product Card ---------- */
.product-card {
    border: 1px solid var(--color-border);
    border-radius: 8px;
    margin-bottom: 40px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.product-card-top {
    border-bottom: 3px solid var(--color-primary);
    padding: 20px 24px 16px;
}

.product-rank-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 2px;
}

.product-rank-badge img {
    width: 52px;
    height: auto;
}

.product-title {
    font-weight: 900;
    font-size: 22px;
    letter-spacing: -0.5px;
    color: var(--color-product-title);
    line-height: 1.25;
}

/* Headline links point at the same destination as the card's CTA button.
   Inherit the title styling so they do not render as default blue links. */
.product-title a,
.upsell-product-name a {
    color: inherit;
    text-decoration: none;
}

.product-title a:hover,
.product-title a:focus-visible,
.upsell-product-name a:hover,
.upsell-product-name a:focus-visible {
    text-decoration: underline;
}

.product-brand {
    font-size: 14px;
    color: var(--color-muted);
    margin-top: 2px;
}

/* Product hero area — image + rating + CTA */
/* Two columns: product image | rating. Never stacks — same on desktop and mobile. */
.product-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 24px;
    padding: 24px;
}

.product-hero-image {
    width: 100%;
    max-width: 200px;
    height: auto;
    max-height: 240px;
    object-fit: contain;
    margin: 0 auto;
}

.product-rating {
    text-align: center;
}

.product-rating-grade {
    font-size: 64px;
    font-weight: 900;
    letter-spacing: -2px;
    color: var(--color-text);
    line-height: 1;
}

.product-rating-label {
    font-size: 14px;
    color: #5A5A5A;
    letter-spacing: 0.01em;
    margin-top: 4px;
}

.product-rating-stars {
    color: var(--color-star);
    font-size: 22px;
    letter-spacing: 2px;
    line-height: 1;
    margin-top: 6px;
}

/* Pros & Cons */
.product-pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-top: 1px solid var(--color-border);
}

.product-pros,
.product-cons {
    padding: 20px 24px;
}

.product-pros {
    border-right: 1px solid var(--color-border);
}

.product-pros h4,
.product-cons h4 {
    font-weight: 900;
    font-size: 18px;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}

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

.pros-list li,
.cons-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 15px;
    line-height: 1.4;
}

.pros-list li:last-child,
.cons-list li:last-child {
    margin-bottom: 0;
}

.pro-icon {
    color: var(--color-green);
    flex-shrink: 0;
    font-size: 14px;
    margin-top: 2px;
}

.con-icon {
    color: var(--color-red);
    flex-shrink: 0;
    font-size: 14px;
    margin-top: 2px;
}

/* Product Breakdown */
.product-breakdown {
    padding: 24px;
    border-top: 1px solid var(--color-border);
}

.product-breakdown h3 {
    margin-bottom: 4px;
}

.product-breakdown .rating-text {
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 14px;
    font-size: 16px;
}

.product-breakdown p {
    font-size: 16px;
    line-height: 1.7;
}

/* Citation links */
.citation {
    color: var(--color-muted);
    font-size: 14px;
    text-decoration: none;
}

.citation:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

/* Product highlights — bullet list + image side by side */
.product-highlights {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 20px 24px;
    border-top: 1px solid var(--color-border);
    flex-wrap: wrap;
}

.product-highlights-list {
    flex: 1;
    min-width: 200px;
    list-style: none;
}

.product-highlights-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 15px;
    line-height: 1.4;
}

.product-highlights-list li:last-child {
    margin-bottom: 0;
}

.highlight-link {
    color: var(--color-primary);
    font-weight: 600;
}

.product-highlights-image {
    max-width: 200px;
    border-radius: 6px;
}

/* Full-width CTA at bottom of card */
.product-cta-row {
    padding: 16px 24px 20px;
    text-align: center;
    border-top: 1px solid var(--color-border);
}

.product-cta-row .btn-cta {
    display: block;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

/* Disclaimer under product card */
.product-disclaimer {
    font-size: 12px;
    color: var(--color-muted);
    text-align: center;
    padding: 12px 24px 20px;
    line-height: 1.5;
}

/* ---------- Bottom Upsell Block ---------- */
.upsell-block {
    border: 1px solid var(--color-border);
    border-radius: 10px;
    overflow: hidden;
    margin-top: 10px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.10);
}

.upsell-header {
    background-color: #1a1a1a;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.upsell-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: #888;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.upsell-headline {
    font-size: 26px;
    font-weight: 900;
    color: #FFFFFF;
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.upsell-accent {
    color: var(--color-primary);
}

.upsell-grade-badge {
    display: block;            /* block, so dot + grade sit on one text line */
    text-align: center;
    flex-shrink: 0;
    margin-top: 14px;
}

/* dot sits inline, immediately left of the "A" */
.upsell-grade-badge .upsell-dot {
    margin-right: 8px;
}

.upsell-grade-badge .upsell-grade {
    display: inline;
}

.upsell-grade-badge .upsell-grade-label {
    display: block;
}

.upsell-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--color-green);
    vertical-align: middle;
}

.upsell-grade {
    font-size: 30px;
    font-weight: 900;
    color: var(--color-text);
    letter-spacing: -1px;
    line-height: 1;
}

.upsell-grade-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.07em;
    color: #888;
    text-transform: uppercase;
    margin-top: 5px;
    white-space: nowrap;
}

.upsell-trust-bar {
    background-color: #F0F7F0;
    border-bottom: 1px solid #C8E6C9;
    padding: 11px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 500;
    color: #2E7D32;
}

.upsell-body {
    display: flex;
    background-color: #FAF9F7;
}

.upsell-left {
    width: 220px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 28px 20px;
    border-right: 1px solid var(--color-border);
    text-align: center;
}

.upsell-product-image {
    max-width: 155px;
    margin-bottom: 16px;
}

.upsell-stars {
    color: var(--color-primary);
    font-size: 20px;
    letter-spacing: 3px;
    margin-bottom: 4px;
}

.upsell-rating-text {
    font-size: 15px;
    color: #333;
    margin-bottom: 4px;
}

.upsell-rating-source {
    font-size: 12px;
    color: #888;
    line-height: 1.45;
}

.upsell-right {
    flex: 1;
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
}

.upsell-product-name {
    font-size: 34px;
    font-weight: 900;
    color: var(--color-text);
    letter-spacing: -1px;
    line-height: 1.1;
    margin-bottom: 4px;
}

.upsell-brand {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: #888;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.upsell-divider {
    width: 44px;
    height: 3px;
    background-color: var(--color-primary);
    border-radius: 2px;
    margin-bottom: 18px;
}

.upsell-features {
    list-style: none;
    margin-bottom: 22px;
    flex: 1;
}

.upsell-features li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 1.45;
    color: #333;
}

.upsell-features li:last-child {
    margin-bottom: 0;
}

.upsell-cta {
    display: block;
    text-align: center;
    margin-bottom: 10px;
}

.upsell-guarantee {
    font-size: 13px;
    color: #888;
    margin: 0;
    text-align: center;
}

@media (max-width: 768px) {
    .upsell-body {
        flex-direction: column;
    }

    .upsell-left {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--color-border);
        padding: 20px;
    }

    .upsell-headline {
        font-size: 22px;
    }

    .upsell-product-name {
        font-size: 26px;
    }

    .upsell-right {
        padding: 20px;
    }
}

/* ---------- Content Placeholder (for future sections) ---------- */
.content-placeholder {
    background-color: var(--color-section-bg);
    border: 2px dashed var(--color-border);
    border-radius: 8px;
    padding: 60px 30px;
    text-align: center;
    color: var(--color-muted);
    font-size: 15px;
    margin: 30px 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    /* Header */
    .header-nav {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    /* Layout */
    .page-layout {
        grid-template-columns: 1fr;
        padding: 15px 6px;
    }

    /* Sidebar is desktop-only — hidden entirely on mobile */
    .sidebar {
        display: none;
    }

    /* Typography scale-down */
    h1 {
        font-size: 32px;
    }

    .content-block {
        padding: 14px;
    }

    h2 {
        font-size: 22px;
    }

    /* Buttons */
    .btn-cta {
        padding: 14px 28px;
        font-size: 16px;
    }

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

    /* Checklist stacks */
    .checklist-grid {
        grid-template-columns: 1fr;
    }

    .checklist-col:first-child {
        border-right: none;
        border-bottom: 1px solid var(--color-border);
    }

    /* Product card adjustments */
    .product-pros-cons {
        grid-template-columns: 1fr;
    }

    .product-pros {
        border-right: none;
        border-bottom: 1px solid var(--color-border);
    }

    /* Stays two columns on mobile — just tighter. */
    .product-hero {
        gap: 12px;
        padding: 16px;
        text-align: center;
    }

    .product-rating-grade {
        font-size: 46px;
    }

    .product-rating-stars {
        font-size: 18px;
    }

    .product-highlights {
        flex-direction: column;
    }

    .product-highlights-image {
        max-width: 50%;
        margin: 0 auto;    /* centre it above the red button */
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 32px;
    }

    .page-layout {
        padding: 15px 6px;
    }

    .product-card-top {
        padding: 16px;
    }

    .product-pros,
    .product-cons,
    .product-breakdown,
    .product-highlights {
        padding: 16px;
    }
}
