/* ============================================================
   BESTCREATINE.SHOP — Design System v1.0
   Premium Sports Nutrition × Scientific Editorial × Modern Commerce
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
    --ink: #0b0d0f;
    --ink-2: #16191c;
    --gray-900: #23272b;
    --gray-700: #3a4046;
    --gray-500: #6b747d;
    --gray-400: #8a939c;
    --gray-300: #cbd1d6;
    --gray-200: #e5e8eb;
    --gray-100: #f1f3f5;
    --paper: #ffffff;
    --paper-2: #f6f7f8;
    --lime: #c7f24c;
    --lime-dark: #9dc62c;
    --lime-soft: #f2fad9;
    --blue: #2e5bff;
    --radius-sm: 6px;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 1px 2px rgba(11, 13, 15, .06), 0 4px 12px rgba(11, 13, 15, .04);
    --shadow-md: 0 12px 40px rgba(11, 13, 15, .09);
    --shadow-lg: 0 24px 70px rgba(11, 13, 15, .13);
    --maxw: 1240px;
    --maxw-text: 760px;
    --space-1: 8px;
    --space-2: 16px;
    --space-3: 24px;
    --space-4: 32px;
    --space-5: 48px;
    --space-6: 72px;
    --space-7: 104px;
    --font: 'Manrope', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

@font-face {
    font-family: 'Manrope';
    src: url('../fonts/manrope-regular.woff2') format('woff2');
    font-weight: 400 700;
    font-display: swap;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--lime-dark); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0 0 .5em; font-weight: 700; line-height: 1.12; letter-spacing: -.035em; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.3rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.9rem); }
h3 { font-size: 1.25rem; letter-spacing: -.02em; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.3em; }
li { margin-bottom: .45em; }
:focus-visible { outline: 3px solid var(--lime-dark); outline-offset: 3px; border-radius: 3px; }
::selection { background: var(--lime); color: var(--ink); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; top: -60px; left: 16px; z-index: 999; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 0 0 8px 8px; }
.skip-link:focus { top: 0; color: #fff; }

/* ---------- Layout ---------- */
.container { width: min(100% - 40px, var(--maxw)); margin-inline: auto; }
.container-narrow { width: min(100% - 40px, var(--maxw-text)); margin-inline: auto; }
.section { padding: var(--space-7) 0; }
.section-tight { padding: var(--space-6) 0; }
.section-alt { background: var(--paper-2); }
.section-dark { background: var(--ink); color: #fff; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: var(--space-5); }
.section-head > div { max-width: 700px; }
.section-kicker {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .16em;
    color: var(--gray-500); margin-bottom: 14px;
}
.section-kicker::before { content: ''; width: 22px; height: 2px; background: var(--lime-dark); display: block; }
.section-title { margin-bottom: 12px; }
.section-sub { color: var(--gray-500); font-size: 1.05rem; margin: 0; max-width: 640px; }
.section-link { font-weight: 700; font-size: .9rem; border-bottom: 2px solid var(--lime-dark); padding-bottom: 3px; white-space: nowrap; }
.section-dark .section-sub, .section-dark .section-kicker { color: #aeb6bd; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 14px 24px; border-radius: var(--radius-sm); font-weight: 700; font-size: .94rem;
    border: 1px solid transparent; cursor: pointer; transition: transform .18s var(--ease), background .18s, color .18s, border-color .18s;
    line-height: 1.2;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--lime); color: var(--ink); }
.btn-primary:hover { background: var(--lime-dark); color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--gray-700); color: #fff; }
.btn-outline { border-color: var(--gray-300); background: transparent; color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--lime); color: var(--ink); }
.btn-sm { padding: 10px 16px; font-size: .84rem; }
.btn-block { width: 100%; }
.text-link { font-weight: 700; border-bottom: 2px solid var(--lime-dark); padding-bottom: 2px; }

/* ---------- Header / navigation ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.94); backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--gray-200); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { width: 208px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav li, .mobile-nav li { list-style: none; margin: 0; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.nav-link { font-size: .9rem; font-weight: 600; color: var(--gray-700); padding: 8px 0; position: relative; }
.nav-link::after { content: ''; position: absolute; left: 0; bottom: 2px; width: 0; height: 2px; background: var(--lime-dark); transition: width .2s var(--ease); }
.nav-link:hover::after, .nav-link.current-menu-item::after { width: 100%; }
.nav-link:hover { color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--gray-300); background: transparent; border-radius: var(--radius-sm); cursor: pointer; padding: 10px; }
.menu-toggle span { display: block; width: 100%; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .2s, opacity .2s; }
.mobile-nav { display: none; }

/* ---------- Hero ---------- */
.hero { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(90deg, #000, transparent 75%); pointer-events: none; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; padding: var(--space-7) 0; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .72rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--lime); margin-bottom: 22px; }
.hero-eyebrow::before { content: ''; width: 26px; height: 2px; background: var(--lime); }
.hero-title { font-size: clamp(2.8rem, 5.5vw, 4.8rem); letter-spacing: -.05em; line-height: 1.04; margin-bottom: 22px; max-width: 720px; }
.hero-title em { font-style: normal; color: var(--lime); }
.hero-sub { color: #b9c0c6; font-size: 1.15rem; line-height: 1.75; max-width: 610px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 48px; }
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; }
.hero-visual img { width: 100%; max-width: 520px; filter: drop-shadow(0 30px 60px rgba(0,0,0,.4)); }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid rgba(255,255,255,.16); padding-top: 26px; max-width: 620px; }
.hero-stat { padding-right: 24px; border-right: 1px solid rgba(255,255,255,.16); }
.hero-stat:last-child { border-right: 0; }
.hero-stat strong { display: block; font-size: 1.7rem; letter-spacing: -.04em; line-height: 1; margin-bottom: 6px; }
.hero-stat span { display: block; font-size: .78rem; color: #9ba4ac; line-height: 1.4; }
.hero-note { position: absolute; bottom: 18px; right: 0; font-size: .68rem; color: #7f898f; }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--lime-soft); border-bottom: 1px solid #e2edb8; }
.trust-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 22px 0; }
.trust-item { display: flex; align-items: center; gap: 12px; font-size: .86rem; font-weight: 700; color: var(--gray-900); }
.trust-item img { width: 26px; height: 26px; flex-shrink: 0; }

/* ---------- Product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-grid-2 { grid-template-columns: repeat(2, 1fr); }
.product-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; transition: transform .22s var(--ease), box-shadow .22s, border-color .22s; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gray-300); }
.product-card-media { background: var(--paper-2); aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; padding: 18px; position: relative; }
.product-card-media img { max-height: 100%; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.product-card-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.product-brand { font-size: .68rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gray-500); margin-bottom: 8px; }
.product-name { font-size: 1.1rem; margin-bottom: 10px; line-height: 1.3; }
.product-meta { font-size: .82rem; color: var(--gray-500); margin-bottom: 18px; }
.product-card .badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.badge { display: inline-flex; align-items: center; font-size: .66rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; padding: 5px 9px; border-radius: 4px; background: var(--gray-100); color: var(--gray-700); }
.badge-lime { background: var(--lime); color: var(--ink); }
.badge-dark { background: var(--ink); color: #fff; }
.badge-outline { background: transparent; border: 1px solid var(--gray-300); }
.product-price { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--gray-200); }
.price-main { font-size: 1.4rem; font-weight: 800; letter-spacing: -.04em; display: block; }
.price-rate { font-size: .8rem; color: var(--gray-500); display: block; margin-top: 2px; }
.product-card .btn { margin-top: 16px; }

/* ---------- Comparison table ---------- */
.comparison-table, .spec-table, .data-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table-wrap { overflow-x: auto; border: 1px solid var(--gray-200); border-radius: var(--radius); background: #fff; }
.comparison-table th, .spec-table th, .data-table th { text-align: left; padding: 15px 18px; background: var(--gray-100); font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; color: var(--gray-700); white-space: nowrap; }
.comparison-table td, .spec-table td, .data-table td { padding: 15px 18px; border-top: 1px solid var(--gray-200); vertical-align: top; }
.comparison-table tbody tr:hover, .spec-table tbody tr:hover { background: #fafbfb; }
.comparison-table th:first-child, .spec-table th:first-child, .data-table th:first-child { width: 26%; }
.spec-table td:first-child { font-weight: 700; color: var(--gray-700); }
.table-note { font-size: .78rem; color: var(--gray-500); margin-top: 12px; }
.verified-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--lime-dark); margin-right: 6px; }
.not-verified { color: var(--gray-400); font-style: italic; }

/* ---------- Tools ---------- */
.tool-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.tool-card { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm); }
.tool-wide { grid-column: 1 / -1; }
.tool-card-head { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.tool-icon { flex: 0 0 46px; height: 46px; display: grid; place-items: center; background: var(--ink); color: var(--lime); border-radius: 10px; font-weight: 800; font-size: .9rem; }
.tool-card h3 { margin-bottom: 4px; }
.tool-card-head p { color: var(--gray-500); font-size: .9rem; margin: 0; }
.calc-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.field label { display: block; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--gray-700); margin-bottom: 7px; }
.field input, .field select { width: 100%; padding: 12px 14px; border: 1px solid var(--gray-300); border-radius: var(--radius-sm); background: #fff; font-size: 1rem; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(11,13,15,.08); }
.tool-fineprint { font-size: .8rem; color: var(--gray-500); margin: 14px 0 0; }
.calc-results { margin-top: 22px; background: var(--paper-2); border-radius: var(--radius); border: 1px solid var(--gray-200); overflow: hidden; }
.result-item { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 15px 18px; border-bottom: 1px solid var(--gray-200); }
.result-item:last-child { border-bottom: 0; }
.result-item span { color: var(--gray-700); font-size: .9rem; }
.result-item strong { font-size: 1.25rem; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.result-secondary { background: #fff; }
.result-secondary strong { font-size: 1rem; color: var(--gray-500); }
.tool-disclaimer { font-size: .75rem; color: var(--gray-500); line-height: 1.6; margin: 18px 0 0; }
.product-picker { border: 0; padding: 0; margin: 0 0 22px; }
.product-picker legend { font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--gray-700); margin-bottom: 12px; }
.picker-items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.picker-item { display: flex; align-items: center; gap: 9px; padding: 10px 12px; border: 1px solid var(--gray-200); border-radius: 8px; font-size: .85rem; cursor: pointer; transition: border-color .15s, background .15s; }
.picker-item:hover { border-color: var(--ink); }
.picker-item input { accent-color: var(--ink); width: 16px; height: 16px; }
.compare-output { overflow-x: auto; }
.compare-empty { color: var(--gray-500); font-size: .9rem; margin: 0; }
.compare-table { width: 100%; border-collapse: collapse; font-size: .85rem; min-width: 680px; }
.compare-table th, .compare-table td { padding: 13px 14px; border-bottom: 1px solid var(--gray-200); text-align: left; vertical-align: top; }
.compare-table thead th { background: var(--ink); color: #fff; font-size: .78rem; font-weight: 700; }
.compare-table tbody th { font-weight: 800; color: var(--gray-700); background: var(--paper-2); width: 170px; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; }
.compare-best { color: var(--lime-dark); font-weight: 800; }

/* ---------- Article / editorial cards ---------- */
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.article-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; transition: transform .2s var(--ease), box-shadow .2s; }
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.article-card-media { aspect-ratio: 16/10; background: var(--paper-2); overflow: hidden; }
.article-card-media img { width: 100%; height: 100%; object-fit: cover; }
.article-card-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.article-tag { font-size: .66rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; color: var(--lime-dark); margin-bottom: 10px; }
.article-card h3 { font-size: 1.12rem; line-height: 1.3; margin-bottom: 10px; }
.article-card p { color: var(--gray-500); font-size: .9rem; line-height: 1.6; }
.article-card-footer { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--gray-200); display: flex; justify-content: space-between; font-size: .75rem; color: var(--gray-400); }

/* ---------- Page hero / breadcrumbs ---------- */
.page-hero { padding: 72px 0 48px; background: var(--paper-2); border-bottom: 1px solid var(--gray-200); }
.page-hero-title { font-size: clamp(2.2rem, 4.5vw, 3.6rem); margin-bottom: 14px; }
.page-hero-dek { font-size: 1.12rem; color: var(--gray-500); max-width: 720px; margin: 0; }
.breadcrumbs { padding: 18px 0 0; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: .78rem; color: var(--gray-500); }
.breadcrumbs li + li::before { content: '/'; margin-right: 8px; color: var(--gray-300); }
.breadcrumbs a:hover { color: var(--ink); }
.breadcrumbs [aria-current] { color: var(--ink); font-weight: 700; }

/* ---------- Article layout ---------- */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; align-items: start; padding: 56px 0 var(--space-7); }
.entry-header { margin-bottom: 40px; }
.entry-meta { display: flex; flex-wrap: wrap; gap: 18px; font-size: .8rem; color: var(--gray-500); margin-bottom: 18px; }
.entry-meta strong { color: var(--ink); }
.entry-title { font-size: clamp(2.1rem, 4vw, 3.2rem); line-height: 1.1; margin-bottom: 18px; }
.entry-dek { font-size: 1.18rem; color: var(--gray-700); line-height: 1.65; max-width: 760px; }
.entry-content { font-size: 1.03rem; line-height: 1.85; color: var(--gray-900); max-width: var(--maxw-text); }
.entry-content h2 { font-size: 1.7rem; margin: 48px 0 16px; padding-top: 8px; }
.entry-content h3 { font-size: 1.25rem; margin: 32px 0 12px; }
.entry-content p { margin-bottom: 1.35em; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; margin-bottom: 1.5em; }
.entry-content strong { color: var(--ink); }
.entry-content a { text-decoration: underline; text-decoration-color: var(--lime-dark); text-underline-offset: 3px; }
.entry-content a:hover { color: var(--lime-dark); }
.article-aside { position: sticky; top: 104px; display: flex; flex-direction: column; gap: 20px; }
.aside-box { border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 22px; background: #fff; }
.aside-box h4 { font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: var(--gray-500); margin-bottom: 16px; }
.aside-box ul { list-style: none; margin: 0; padding: 0; font-size: .86rem; }
.aside-box li { padding: 8px 0; border-bottom: 1px solid var(--gray-100); margin: 0; }
.aside-box li:last-child { border-bottom: 0; }
.aside-box a { font-weight: 600; }
.faq-block { margin-top: 52px; border-top: 1px solid var(--gray-200); padding-top: 32px; }
.faq-item { border-bottom: 1px solid var(--gray-200); padding: 18px 0; }
.faq-item h3 { font-size: 1.05rem; margin-bottom: 8px; }
.faq-item p { margin: 0; color: var(--gray-700); }
.source-list { list-style: none; margin: 0; padding: 0; font-size: .85rem; }
.source-list li { padding: 10px 0; border-bottom: 1px solid var(--gray-100); }
.source-list a { text-decoration: underline; text-underline-offset: 2px; }
.callout { padding: 20px 22px; border-radius: var(--radius); margin: 28px 0; border-left: 4px solid var(--lime-dark); background: var(--lime-soft); font-size: .94rem; }
.callout-note { border-left-color: var(--gray-400); background: var(--paper-2); }
.callout-label { display: block; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 8px; }
.inline-product { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border: 1px solid var(--gray-200); border-radius: var(--radius); margin: 26px 0; background: var(--paper-2); }
.inline-product-label { font-size: .66rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gray-500); }
.inline-product strong { font-size: 1.05rem; }
.inline-product-meta { font-size: .82rem; color: var(--gray-500); }
.related-list { margin: 48px 0 0; padding: 24px; border: 1px solid var(--gray-200); border-radius: var(--radius); }
.related-list h3 { margin-bottom: 12px; }
.related-list ul { margin: 0; }

/* ---------- Product detail ---------- */
.product-detail { display: grid; grid-template-columns: .95fr 1.05fr; gap: 64px; padding: 56px 0 var(--space-7); align-items: start; }
.product-media { background: var(--paper-2); border-radius: var(--radius-lg); padding: 40px; display: grid; place-items: center; border: 1px solid var(--gray-200); }
.product-media img { max-width: 100%; max-height: 520px; object-fit: contain; }
.product-caption { font-size: .7rem; color: var(--gray-400); text-align: center; margin-top: 16px; }
.product-info h1 { font-size: clamp(2rem, 3.5vw, 3rem); margin-bottom: 12px; }
.product-lede { font-size: 1.1rem; color: var(--gray-500); margin-bottom: 24px; }
.product-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 14px; }
.product-price-box { display: flex; align-items: baseline; gap: 14px; padding: 20px 24px; background: var(--ink); color: #fff; border-radius: var(--radius); }
.product-price-box .amount { font-size: 2rem; font-weight: 800; letter-spacing: -.05em; }
.product-price-box .rate { color: var(--lime); font-size: .9rem; }
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 32px 0; }
.pros-cons > div { padding: 22px; background: var(--paper-2); border-radius: var(--radius); }
.pros-cons h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--gray-500); margin-bottom: 14px; }
.pros-cons ul { margin: 0; padding-left: 1.1em; font-size: .9rem; }
.pros-cons li { margin-bottom: 8px; }
.product-section { margin-top: 48px; }
.product-section h2 { font-size: 1.5rem; margin-bottom: 18px; }
.affiliate-note { font-size: .78rem; color: var(--gray-500); background: var(--paper-2); padding: 12px 16px; border-radius: 8px; border-left: 3px solid var(--lime-dark); }

/* ---------- Brand pages ---------- */
.brand-hero { background: var(--ink); color: #fff; padding: 84px 0; }
.brand-hero h1 { font-size: clamp(2.6rem, 5vw, 4rem); letter-spacing: -.05em; margin-bottom: 16px; }
.brand-hero p { color: #b9c0c6; max-width: 720px; font-size: 1.12rem; }
.brand-hero .badge { margin-bottom: 18px; }
.brand-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* ---------- CTA / newsletter / editorial standards ---------- */
.cta-band { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; padding: 48px; border-radius: var(--radius-lg); background: var(--ink); color: #fff; }
.cta-band h2 { font-size: 2rem; margin-bottom: 10px; }
.cta-band p { color: #b9c0c6; margin: 0; max-width: 620px; }
.newsletter { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.newsletter-form { display: flex; gap: 10px; }
.newsletter-form input { flex: 1; padding: 14px 16px; border: 1px solid var(--gray-300); border-radius: var(--radius-sm); }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.principle { padding-top: 22px; border-top: 2px solid var(--ink); }
.principle img { width: 32px; height: 32px; margin-bottom: 16px; }
.principle h3 { font-size: 1.05rem; }
.principle p { color: var(--gray-500); font-size: .9rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #fff; padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 48px; padding-bottom: 56px; }
.footer-brand img { width: 210px; margin-bottom: 20px; filter: brightness(0) invert(1); }
.footer-brand p { color: #9ba4ac; font-size: .9rem; max-width: 320px; }
.footer-col h4 { font-size: .72rem; text-transform: uppercase; letter-spacing: .16em; color: #fff; margin-bottom: 20px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 11px; }
.footer-col a { color: #9ba4ac; font-size: .89rem; }
.footer-col a:hover { color: var(--lime); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 24px 0; display: flex; justify-content: space-between; gap: 20px; font-size: .78rem; color: #7f898f; }
.footer-bottom a { color: #9ba4ac; }

/* ---------- Pages: legal, about, contact ---------- */
.prose-page { padding: 56px 0 var(--space-7); }
.prose-page .container-narrow h2 { font-size: 1.5rem; margin-top: 40px; }
.prose-page .container-narrow p, .prose-page .container-narrow li { color: var(--gray-700); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-card { padding: 28px; border: 1px solid var(--gray-200); border-radius: var(--radius); background: var(--paper-2); margin-bottom: 20px; }

/* ---------- Search / 404 / archives ---------- */
.search-form { display: flex; gap: 10px; max-width: 560px; margin-bottom: 36px; }
.search-form input { flex: 1; padding: 14px 16px; border: 1px solid var(--gray-300); border-radius: var(--radius-sm); }
.not-found { padding: 120px 0; text-align: center; }
.not-found h1 { font-size: 4rem; margin-bottom: 12px; }
.not-found p { color: var(--gray-500); margin-bottom: 28px; }
.pagination { display: flex; gap: 8px; margin-top: 40px; flex-wrap: wrap; }
.pagination .page-numbers { padding: 10px 14px; border: 1px solid var(--gray-200); border-radius: 6px; font-size: .85rem; font-weight: 700; }
.pagination .current { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Admin tweaks ---------- */
.bc-meta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.bc-meta-grid .description { display: block; color: #777; font-size: 12px; margin-top: 4px; }
.bc-status { padding: 3px 8px; border-radius: 10px; font-size: 11px; font-weight: 700; background: #e7f5cd; }
.bc-status-broken { background: #ffe0e0; }
.bc-status-paused { background: #eee; }
.bc-aff-form input.regular-text { width: 100%; max-width: 640px; }
.bc-dash-list { margin: 0; }
.bc-dash-list li { padding: 6px 0; border-bottom: 1px solid #eee; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .hero-visual { max-width: 480px; margin-inline: auto; }
    .article-layout { grid-template-columns: 1fr; gap: 40px; }
    .article-aside { position: static; display: grid; grid-template-columns: repeat(2, 1fr); }
    .product-detail { grid-template-columns: 1fr; gap: 40px; }
    .product-grid, .article-grid, .brand-grid, .principles, .trust-inner { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .picker-items { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 780px) {
    .main-nav, .header-actions .btn { display: none; }
    .menu-toggle { display: block; }
    .mobile-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--gray-200); box-shadow: var(--shadow-md); padding: 16px 0 24px; }
    .mobile-nav.open { display: block; }
    .mobile-nav a { display: block; padding: 12px 20px; font-weight: 600; border-bottom: 1px solid var(--gray-100); }
    .mobile-nav .btn { margin: 18px 20px 0; display: flex; }
    .section { padding: 56px 0; }
    .section-head { flex-direction: column; align-items: flex-start; gap: 16px; }
    .hero-inner { padding: 64px 0; }
    .hero-stats { gap: 12px; }
    .hero-stat { padding-right: 12px; }
    .hero-stat strong { font-size: 1.35rem; }
    .product-grid, .article-grid, .brand-grid, .principles, .trust-inner, .tool-grid, .newsletter, .contact-grid, .footer-grid, .pros-cons, .calc-form, .picker-items, .article-aside { grid-template-columns: 1fr; }
    .cta-band { grid-template-columns: 1fr; padding: 32px; }
    .newsletter-form { flex-direction: column; }
    .tool-card { padding: 22px; }
    .compare-table { min-width: 600px; }
    .trust-item { font-size: .78rem; }
    .footer-bottom { flex-direction: column; }
}

@media (max-width: 480px) {
    .container, .container-narrow { width: min(100% - 28px, var(--maxw)); }
    .hero-actions .btn { width: 100%; }
    .product-price-box { flex-direction: column; gap: 4px; }
    .brand img { width: 170px; }
}

/* ---------- Print ---------- */
@media print {
    .site-header, .site-footer, .cta-band, .newsletter, .product-cta, .breadcrumbs { display: none !important; }
    body { color: #000; }
}

/* Phase 2 additions */
.pros-cons h2 { font-size: 1.1rem; margin-bottom: 14px; }
.retailer-box { margin-top: 48px; padding: 26px; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); }
.retailer-box h3 { font-size: 1.15rem; margin-bottom: 10px; }
.retailer-box .table-wrap { margin-top: 14px; }
.product-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.product-cta .btn { min-height: 46px; }
@media (max-width: 780px) {
  .product-cta { flex-direction: column; }
  .product-cta .btn { width: 100%; }
  .product-detail { grid-template-columns: 1fr; }
}

.trust-line { font-size:.78rem; color:var(--gray-500); margin:14px 0 0; line-height:1.6; }
.trust-line a { text-decoration:underline; }
.glossary dt { font-weight:700; margin-top:14px; }
.glossary dd { color:var(--gray-500); margin:0 0 8px; }
.prose-block h3 { margin-top:22px; }
