@import url('https://fonts.googleapis.com/css2?family=Calistoga&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg: #EFE8DD;
  --surface: #FBF8F2;
  --surface-2: #FFFFFF;
  --text: #241F1C;
  --text-secondary: #5C5348;
  --text-muted: #70675D;
  --border: #DDD3C2;
  --border-strong: #C7BAA3;

  --accent: #B5674A;
  --accent-hover: #9C5540;
  --accent-btn: #AD6247;
  --accent-soft: #F1E1D8;
  --on-accent: #FFFFFF;

  --brass-fill: #C7A24A;
  --brass-soft: #F3E9D2;
  --brass-text: #7A5B22;

  --success: #3F6E4E;
  --success-soft: #E1EBE2;

  --font-display: 'Calistoga', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --shadow-card: 0 1px 2px rgba(36,31,28,0.05), 0 8px 24px rgba(36,31,28,0.06);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1C1815;
    --surface: #241F1C;
    --surface-2: #2B2521;
    --text: #F3ECE1;
    --text-secondary: #C9BFB0;
    --text-muted: #948A7C;
    --border: #3A332C;
    --border-strong: #4C443A;

    --accent: #D97E5C;
    --accent-hover: #E89474;
    --accent-btn: #D97E5C;
    --accent-soft: #3A2620;
    --on-accent: #1C1815;

    --brass-fill: #D8B968;
    --brass-soft: #3A331F;
    --brass-text: #E3C77E;

    --success: #7FBB94;
    --success-soft: #22322A;

    --shadow-card: 0 1px 2px rgba(0,0,0,0.3), 0 10px 28px rgba(0,0,0,0.35);
  }
}

:root[data-theme="dark"] {
  --bg: #1C1815;
  --surface: #241F1C;
  --surface-2: #2B2521;
  --text: #F3ECE1;
  --text-secondary: #C9BFB0;
  --text-muted: #948A7C;
  --border: #3A332C;
  --border-strong: #4C443A;

  --accent: #D97E5C;
  --accent-hover: #E89474;
  --accent-btn: #D97E5C;
  --accent-soft: #3A2620;
  --on-accent: #1C1815;

  --brass-fill: #D8B968;
  --brass-soft: #3A331F;
  --brass-text: #E3C77E;

  --success: #7FBB94;
  --success-soft: #22322A;

  --shadow-card: 0 1px 2px rgba(0,0,0,0.3), 0 10px 28px rgba(0,0,0,0.35);
}

:root[data-theme="dark"] {
  --bg: #1C1815; --surface: #241F1C; --surface-2: #2B2521; --text: #F3ECE1;
  --text-secondary: #C9BFB0; --text-muted: #948A7C; --border: #3A332C; --border-strong: #4C443A;
  --accent: #D97E5C; --accent-hover: #E89474; --accent-btn: #D97E5C; --accent-soft: #3A2620; --on-accent: #1C1815;
  --brass-fill: #D8B968; --brass-soft: #3A331F; --brass-text: #E3C77E;
  --success: #7FBB94; --success-soft: #22322A;
  --shadow-card: 0 1px 2px rgba(0,0,0,0.3), 0 10px 28px rgba(0,0,0,0.35);
}
:root[data-theme="light"] {
  --bg: #EFE8DD; --surface: #FBF8F2; --surface-2: #FFFFFF; --text: #241F1C;
  --text-secondary: #5C5348; --text-muted: #70675D; --border: #DDD3C2; --border-strong: #C7BAA3;
  --accent: #B5674A; --accent-hover: #9C5540; --accent-btn: #AD6247; --accent-soft: #F1E1D8; --on-accent: #FFFFFF;
  --brass-fill: #C7A24A; --brass-soft: #F3E9D2; --brass-text: #7A5B22;
  --success: #3F6E4E; --success-soft: #E1EBE2;
  --shadow-card: 0 1px 2px rgba(36,31,28,0.05), 0 8px 24px rgba(36,31,28,0.06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; margin: 0; text-wrap: balance; }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ---------- Layout ---------- */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section-tight { padding: 48px 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px; max-width: 1180px; margin: 0 auto;
}
.logo { display: flex; align-items: center; gap: 10px; color: var(--text); }
.logo svg { color: var(--accent); flex-shrink: 0; }
.logo-link { display: inline-flex; align-items: center; text-decoration: none; color: inherit; }
.logo-word { font-size: 22px; display: inline-flex; align-items: baseline; gap: 0.15em; }
.logo-word .brand-sizzle { font-family: var(--font-display); font-size: 1em; text-transform: uppercase; letter-spacing: 0.02em; }
.logo-word .amp { color: var(--accent); font-family: var(--font-display); font-size: 1em; }
.logo-word .brand-heat { font-family: var(--font-body); font-weight: 600; font-size: 0.6em; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-secondary); }

.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav a {
  text-decoration: none; font-size: 15px; font-weight: 500; color: var(--text-secondary);
  padding: 6px 2px; border-bottom: 2px solid transparent; transition: color 150ms, border-color 150ms;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--text); border-color: var(--accent); }

.nav-toggle { display: none; }

.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0; background: none; border: none; padding: 0;
  cursor: pointer; transition: transform 150ms;
}
.theme-toggle:hover { transform: scale(1.1) rotate(-4deg); }
.theme-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.theme-toggle svg { display: block; }

@media (max-width: 780px) {
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--surface); border-bottom: 1px solid var(--border);
    flex-direction: column; align-items: flex-start; gap: 4px; padding: 8px 24px 20px;
  }
  .main-nav.open { display: flex; }
  .main-nav a { width: 100%; padding: 10px 0; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: var(--radius-sm);
    background: transparent; border: 1px solid var(--border); color: var(--text);
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; font-weight: 600; font-size: 15px;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background 150ms, color 150ms, border-color 150ms, transform 100ms;
  min-height: 44px;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--accent-btn); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent-hover); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- Badges / tags ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
}
.badge-published { background: var(--success-soft); color: var(--success); }
.badge-soon { background: var(--surface-2); color: var(--text-muted); border: 1px solid var(--border); }
.badge-tier { background: var(--brass-soft); color: var(--brass-text); }
.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent-hover); margin-bottom: 12px; display: block;
}

/* ---------- Cards ---------- */
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 24px; display: flex; flex-direction: column; gap: 12px;
  transition: border-color 150ms, transform 150ms;
}
a.card { text-decoration: none; color: inherit; }
a.card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.card-icon {
  width: 44px; height: 44px; border-radius: 10px; background: var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---------- Hero ---------- */
.hero {
  padding: 64px 0 56px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center;
}
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; padding-top: 32px; } }
.hero h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.08; }
.hero .lede { font-size: 19px; color: var(--text-secondary); margin-top: 20px; max-width: 52ch; }
.hero-actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero-art {
  aspect-ratio: 1; border-radius: var(--radius-md); background: var(--surface);
  border: 1px solid var(--border); display: flex; align-items: center; justify-content: center;
  color: var(--accent); overflow: hidden;
}

/* ---------- Trust strip ---------- */
.trust-strip {
  display: flex; flex-wrap: wrap; gap: 32px; padding: 28px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.trust-item { display: flex; align-items: flex-start; gap: 12px; flex: 1 1 220px; }
.trust-item svg { color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.trust-item .t { font-weight: 600; font-size: 15px; }
.trust-item .d { font-size: 14px; color: var(--text-secondary); margin-top: 2px; }

/* ---------- Section heading ---------- */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; flex-wrap: wrap; }
.section-head h2 { font-size: 32px; }
.section-head .sub { color: var(--text-secondary); font-size: 16px; margin-top: 8px; max-width: 60ch; }
.link-more { text-decoration: none; color: var(--accent-hover); font-weight: 600; font-size: 15px; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 56px 0 32px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-grid h4 { font-family: var(--font-body); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-grid a { text-decoration: none; color: var(--text-secondary); font-size: 15px; }
.footer-grid a:hover { color: var(--accent-hover); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 13px; color: var(--text-muted); }

/* ---------- Disclosure / trust box ---------- */
.disclosure {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 20px 24px; display: flex; gap: 16px; align-items: flex-start;
}
.disclosure svg { color: var(--brass-text); flex-shrink: 0; margin-top: 2px; }
.disclosure p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }
.disclosure strong { color: var(--text); }

/* ---------- Article ---------- */
.article-header { padding: 48px 0 32px; border-bottom: 1px solid var(--border); }
.article-header h1 { font-size: clamp(30px, 4vw, 44px); margin-top: 12px; }
.article-meta { display: flex; gap: 16px; align-items: center; margin-top: 20px; color: var(--text-muted); font-size: 14px; flex-wrap: wrap; }
.article-body { max-width: 74ch; margin: 0 auto; padding: 48px 0; }
.article-body h2 { font-size: 26px; margin-top: 48px; margin-bottom: 16px; }
.article-body h3 { font-size: 19px; font-weight: 700; font-family: var(--font-body); margin-top: 28px; margin-bottom: 8px; }
.article-body p { margin-bottom: 16px; color: var(--text); }
.article-body p.lede { font-size: 19px; color: var(--text-secondary); }
.verdict-box { background: var(--accent-soft); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 24px; margin: 24px 0; }
.verdict-box .eyebrow { margin-bottom: 8px; }

.quiz-teaser { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 20px 22px; margin: 24px 0; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.quiz-teaser .icon { width: 40px; height: 40px; border-radius: 10px; background: var(--accent-soft); display: flex; align-items: center; justify-content: center; color: var(--accent); flex-shrink: 0; }
.quiz-teaser .body { flex: 1; min-width: 200px; }
.quiz-teaser strong { display: block; font-size: 14.5px; margin-bottom: 2px; font-family: var(--font-display); }
.quiz-teaser p { margin: 0; font-size: 13.5px; color: var(--text-secondary); }

.quick-take { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 20px 24px; margin: 24px 0; display: flex; flex-direction: column; gap: 12px; }
.quick-take .qt-row { display: flex; gap: 12px; flex-wrap: wrap; }
.quick-take .qt-label { flex-shrink: 0; width: 118px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--accent-hover); padding-top: 1px; }
.quick-take .qt-row p { margin: 0; font-size: 14.5px; color: var(--text-secondary); flex: 1; min-width: 200px; line-height: 1.5; }
@media (max-width: 480px) { .quick-take .qt-label { width: auto; } }
.data-table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 14.5px; }
.data-table th, .data-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); }
.data-table th { font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); font-weight: 600; }
.table-scroll { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-md); }
.table-scroll .data-table { margin: 0; }
.faq-item { border-bottom: 1px solid var(--border); padding: 20px 0; }
.faq-item h3 { margin-top: 0; }
.verify-note { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 5px; background: var(--brass-soft); color: var(--brass-text); margin-left: 6px; }

/* ---------- Product card (affiliate) ---------- */
.product-grid { display: grid; gap: 16px; margin: 20px 0 28px; }
.product-card {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 18px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface);
}
.product-card .thumb {
  width: 84px; height: 84px; flex-shrink: 0; border-radius: var(--radius-sm);
  background: var(--surface-2); border: 1px dashed var(--border-strong);
  display: flex; align-items: center; justify-content: center; color: var(--text-muted);
  font-size: 10.5px; line-height: 1.3; text-align: center; padding: 6px;
}
.product-card .thumb svg { color: var(--border-strong); }
.product-card .body { flex: 1; min-width: 0; }
.product-card .eyebrow-row { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; flex-wrap: wrap; }
.product-card .name { font-weight: 700; font-size: 16px; margin-bottom: 8px; }
.product-card .spec { font-size: 13.5px; color: var(--text-secondary); margin-bottom: 14px; }
.product-card .cta-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.product-card .cta-row .btn { padding: 10px 18px; font-size: 14px; }
.product-card .price-note { font-size: 12.5px; color: var(--text-muted); }
.price-tier {
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.02em;
  padding: 3px 9px; border-radius: 999px; background: var(--brass-soft); color: var(--brass-text);
}
.amazon-disclosure {
  font-size: 12.5px; color: var(--text-muted); margin: 4px 0 32px; padding-top: 4px;
}

/* ---------- Sticky CTA ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: var(--surface); border-top: 1px solid var(--border);
  padding: 10px 16px; display: flex; align-items: center; gap: 12px;
  transform: translateY(100%); transition: transform 220ms ease;
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta .thumb {
  width: 34px; height: 34px; border-radius: 8px; background: var(--surface-2);
  border: 1px dashed var(--border-strong); flex-shrink: 0;
}
.sticky-cta .info { flex: 1; min-width: 0; }
.sticky-cta .name { font-size: 13px; font-weight: 700; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-cta .tier { font-size: 11px; color: var(--text-muted); }
.sticky-cta .btn { flex-shrink: 0; padding: 10px 18px; font-size: 13.5px; min-height: auto; }
@media (min-width: 720px) {
  .sticky-cta {
    max-width: 460px; left: auto; right: 24px; bottom: 24px;
    border-radius: 14px; border: 1px solid var(--border);
  }
}

/* ---------- Category snippet ---------- */
.cat-card { border-left: 3px solid var(--accent); padding-left: 20px; }
.cat-card .pill-row { display: flex; gap: 8px; margin-top: 4px; flex-wrap: wrap; }
.pill { font-size: 12px; padding: 3px 9px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); color: var(--text-secondary); }

/* ---------- Page header (non-home) ---------- */
.page-header { padding: 56px 0 40px; }
.page-header .eyebrow { margin-bottom: 12px; }
.page-header h1 { font-size: clamp(32px, 4.5vw, 48px); }
.page-header .lede { font-size: 18px; color: var(--text-secondary); margin-top: 16px; max-width: 62ch; }
