/* design-system.css — clean mobile-first design system
   Mobile is the base. Min-width media queries scale UP.
   Generated by the v6 ground-up rebuild — replaces v3-v9 patches. */

/* ====================================================================
   TOKENS
   ==================================================================== */
:root {
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --color-ink: #0f172a;
  --color-body: #334155;
  --color-muted: #64748b;
  --color-border: #e2e8f0;
  --color-border-soft: #f1f5f9;
  --color-bg: #ffffff;
  --color-bg-soft: #f8fafc;
  --color-brand: #2563eb;
  --color-brand-dark: #1d4ed8;
  --color-success: #22c55e;
  --color-warn: #f59e0b;
  --color-danger: #f43f5e;
  --radius: 10px;
  --radius-sm: 6px;
  --radius-pill: 100px;
  --maxw: 1200px;
  --maxw-article: 720px;
  --gap: 16px;
  --shadow-sm: 0 1px 2px rgba(15,23,42,0.04);
  --shadow-md: 0 4px 16px rgba(15,23,42,0.08);
  --shadow-lg: 0 12px 40px rgba(15,23,42,0.12);
}

/* ====================================================================
   GLOBAL RESET + BOX MODEL  (mobile-first — no max-width media queries)
   ==================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: hidden; max-width: 100%; width: 100%; margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-body);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-bottom: 64px;  /* reserved for #msct mobile CTA */
}
img, video, iframe, svg { max-width: 100%; height: auto; vertical-align: middle; }
img[src*="/assets/logos/"] {
  height: auto;
  max-height: 22px;
  max-width: 90px;
  width: auto;
  object-fit: contain;
}
a { color: var(--color-brand); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font-family: inherit; cursor: pointer; }

/* ====================================================================
   FLUID TYPOGRAPHY
   ==================================================================== */
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-ink); margin: 0 0 12px; line-height: 1.25; font-weight: 800; }
h1 { font-size: clamp(26px, 5vw, 44px); line-height: 1.2; margin-top: 0; letter-spacing: -0.01em; }
h2 { font-size: clamp(20px, 3.5vw, 30px); line-height: 1.3; margin: 32px 0 12px; }
h3 { font-size: clamp(17px, 2.5vw, 22px); line-height: 1.4; margin: 24px 0 10px; }
h4 { font-size: clamp(15px, 2vw, 18px); line-height: 1.5; }
p, li { font-size: 16px; line-height: 1.75; margin: 0 0 18px; color: var(--color-body); }
ul, ol { padding-left: 24px; margin: 0 0 18px; }
li { margin-bottom: 6px; }
strong, b { color: var(--color-ink); font-weight: 700; }

/* ====================================================================
   LAYOUT PRIMITIVES
   ==================================================================== */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }
.container-narrow { max-width: var(--maxw-article); margin: 0 auto; padding: 0 16px; }
.container-wide { max-width: 1280px; margin: 0 auto; padding: 0 16px; }

@media (min-width: 640px) {
  .container, .container-narrow, .container-wide { padding: 0 24px; }
}

/* ====================================================================
   HEADER + NAV  (mobile = logo left, single CTA right)
   ==================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,0.97);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}
.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 18px;
  color: var(--color-ink);
  text-decoration: none;
  flex-shrink: 0;
  max-width: 160px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.logo:hover { text-decoration: none; }
.logo span { color: var(--color-brand); }

.header-nav { display: none; }

.header-btn {
  flex-shrink: 0;
  background: var(--color-brand);
  color: white !important;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 140px;
  text-decoration: none;
  display: inline-block;
}
.header-btn:hover { background: var(--color-brand-dark); text-decoration: none; }

@media (min-width: 1024px) {
  .header-inner { padding: 16px 24px; }
  .logo { font-size: 22px; max-width: none; }
  .header-nav { display: flex; gap: 24px; align-items: center; }
  .header-nav a { color: var(--color-ink); font-weight: 600; font-size: 14px; text-decoration: none; }
  .header-nav a:hover { color: var(--color-brand); }
  .header-btn { font-size: 14px; padding: 10px 18px; max-width: none; }
}

/* ====================================================================
   ADVERTISER DISCLOSURE (NerdWallet style)
   ==================================================================== */
.disclosure-bar { background: var(--color-bg-soft); border-bottom: 1px solid var(--color-border); }
.disclosure-bar-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 6px 16px;
  display: flex;
  justify-content: flex-start;
}
.disclosure-trigger {
  background: transparent;
  border: 0;
  color: var(--color-brand);
  font-size: 12px;
  font-weight: 500;
  font-family: inherit;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.disclosure-trigger:hover { color: var(--color-brand-dark); }

.disclosure-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.16);
  z-index: 9998;
}
.disclosure-backdrop.active { display: block; }

.disclosure-popup {
  display: none;
  position: fixed;
  top: 72px;
  left: 16px;
  right: 16px;
  z-index: 9999;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 22px 24px 18px;
  box-shadow: var(--shadow-lg);
}
.disclosure-popup.active { display: block; }
.disclosure-heading {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: var(--color-ink);
  margin: 0 0 12px;
  line-height: 1.25;
}
.disclosure-body { font-size: 14px; line-height: 1.6; color: var(--color-body); margin: 0; }
.disclosure-close-x {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  border: 0;
  color: var(--color-muted);
  padding: 6px;
  border-radius: 6px;
  display: inline-flex;
}
.disclosure-close-x:hover { background: var(--color-bg-soft); color: var(--color-ink); }

@media (min-width: 640px) {
  .disclosure-popup {
    top: 80px;
    left: 24px;
    right: auto;
    width: 380px;
    max-width: calc(100vw - 48px);
  }
}
@media (min-width: 1024px) {
  .disclosure-bar-inner { padding: 6px 24px; }
}

/* ====================================================================
   BREADCRUMBS
   ==================================================================== */
.breadcrumbs {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 12px 16px;
  font-size: 12px;
  color: var(--color-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.breadcrumbs a { color: var(--color-muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--color-brand); text-decoration: underline; }

@media (min-width: 1024px) {
  .breadcrumbs { padding: 16px 24px; font-size: 13px; white-space: normal; }
}

/* ====================================================================
   HERO IMAGE
   ==================================================================== */
.hero, .hero-image, .article-hero img, img.hero {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 20px;
}
@media (min-width: 640px) {
  .hero, .hero-image, .article-hero img, img.hero { height: 300px; }
}
@media (min-width: 1024px) {
  .hero, .hero-image, .article-hero img, img.hero { height: 420px; }
}

/* ====================================================================
   ARTICLE LAYOUT — unified for article, comparison, AND review pages.
   Mobile = single centered reading column. Desktop = grid with sidebar,
   columns centered as a group inside a 1100px outer wrapper. No
   lopsided left gutter — body always balanced or grid-centered.
   ==================================================================== */
main {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
  box-sizing: border-box;
}
.article-wrap, .article-layout {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  display: block;
  box-sizing: border-box;
}
.article-body, .article-content, .container-narrow {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  padding: 0;
  box-sizing: border-box;
}
.article-meta, .byline {
  font-size: 13px;
  color: var(--color-muted);
  margin: 0 0 18px;
  line-height: 1.5;
}

@media (min-width: 1024px) {
  main { padding-left: 24px; padding-right: 24px; }
  .article-wrap, .article-layout {
    display: grid;
    grid-template-columns: minmax(0, 760px) 320px;
    gap: 40px;
    justify-content: center;
    align-items: start;
  }
  .article-body, .article-content {
    max-width: 760px;
    margin: 0;
  }
  /* No-sidebar fallback — when .article-wrap has no <aside> child,
     fall back to the centered reading column. Uses :has() (modern
     browsers); for older browsers the grid would still render with
     a 320px empty space, which is acceptable. */
  .article-wrap:not(:has(aside)),
  .article-layout:not(:has(aside)) {
    display: block;
  }
  .article-wrap:not(:has(aside)) > .article-body,
  .article-layout:not(:has(aside)) > .article-body {
    margin-left: auto;
    margin-right: auto;
  }
}

/* ====================================================================
   BUTTONS  (mobile = full-width; desktop = inline)
   ==================================================================== */
.btn, .btn-primary, .btn-lg, a.btn, .pick-cta, .cta-box-btn, .winner-card-btn {
  display: block;
  width: 100%;
  background: var(--color-brand);
  color: white;
  border: 0;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  white-space: normal;
  word-break: break-word;
  min-height: 50px;
  line-height: 1.4;
  box-sizing: border-box;
  transition: background 0.15s;
}
.btn:hover, .btn-primary:hover, .btn-lg:hover, a.btn:hover, .pick-cta:hover {
  background: var(--color-brand-dark);
  color: white;
  text-decoration: none;
}
.btn-outline {
  background: transparent;
  color: var(--color-brand);
  border: 1px solid var(--color-brand);
}
.btn-outline:hover { background: var(--color-brand); color: white; }

@media (min-width: 640px) {
  /* outside cards: buttons go inline-block */
  main > .btn, main > a.btn, main > .btn-lg { width: auto; display: inline-block; min-width: 220px; }
}

/* ====================================================================
   CTA CARDS (.cta-box) — body left-aligned, NEVER italic
   ==================================================================== */
.cta-box {
  background: linear-gradient(135deg, #eff6ff 0%, #e0e7ff 100%);
  border-radius: var(--radius);
  padding: 22px 18px;
  margin: 28px 0;
  box-sizing: border-box;
}
.cta-box h2, .cta-box h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: var(--color-ink);
  text-align: left;
  margin: 0 0 10px;
  line-height: 1.3;
}
.cta-box p, .cta-box .price-justify {
  font-style: normal !important;
  text-align: left;
  font-size: 15px;
  line-height: 1.65;
  color: var(--color-body);
  margin: 0 0 16px;
}
.cta-box .btn { margin-top: 6px; }

@media (min-width: 640px) {
  .cta-box { padding: 28px 28px; }
  .cta-box h2, .cta-box h3 { font-size: 22px; }
}

/* ====================================================================
   CALLOUTS (PRO TIP / WATCH OUT / BOTTOM LINE)
   ==================================================================== */
.callout {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 24px 0;
  padding: 14px 16px;
  border-left: 4px solid;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  box-sizing: border-box;
}
.callout > span:first-child { font-size: 18px; flex-shrink: 0; line-height: 1.5; }
.callout > div { flex: 1; min-width: 0; }
.callout strong {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}
.callout p { font-size: 14px; line-height: 1.6; margin: 0; }

.callout-tip       { background: #fffbeb; border-color: var(--color-warn); }
.callout-tip p     { color: #78350f; }
.callout-tip strong { color: #92400e; }

.callout-warn      { background: #fff1f2; border-color: var(--color-danger); }
.callout-warn p    { color: #881337; }
.callout-warn strong { color: #9f1239; }

.callout-bottomline { background: #f0fdf4; border-color: var(--color-success); }
.callout-bottomline p { color: #166534; }
.callout-bottomline strong { color: #14532d; }

/* ====================================================================
   PROS / CONS GRID  (mobile = single column, tablet+ = 2 columns)
   ==================================================================== */
.pros-cons-callout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 28px 0;
  padding: 20px;
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}
.pros-cons-callout > div { display: flex; flex-direction: column; }
.pros-cons-callout > div > p {
  font-weight: 700;
  margin: 0 0 12px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

@media (min-width: 640px) {
  .pros-cons-callout { grid-template-columns: 1fr 1fr; }
}

/* ====================================================================
   COMPARISON TABLE  (mobile = stacked cards, desktop = real table)
   ==================================================================== */
.comparison-wrap { margin: 28px 0; }

/* Mobile baseline = stacked cards */
.comparison-table {
  display: block;
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.comparison-table thead { display: none; }
.comparison-table tbody { display: block; }
.comparison-table tr {
  display: block;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.comparison-table tr.winner,
.comparison-table tr.winner-row {
  border-color: var(--color-success);
  border-width: 2px;
  padding-top: 0;
}
.comparison-table tr.winner::before,
.comparison-table tr.winner-row::before {
  content: "TOP PICK";
  display: block;
  background: var(--color-success);
  color: white;
  font-size: 11px;
  letter-spacing: 0.1em;
  padding: 4px 0;
  text-align: center;
  border-radius: 6px 6px 0 0;
  font-weight: 700;
  margin: -2px -16px 12px;
}
.comparison-table td {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid var(--color-border-soft);
  font-size: 14px;
  text-align: right;
  gap: 12px;
}
.comparison-table td:last-child { border-bottom: 0; }
.comparison-table td::before {
  content: attr(data-label);
  font-size: 11px;
  font-weight: 700;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  flex-shrink: 0;
  min-width: 80px;
  text-align: left;
}
.comparison-table td[data-tool]::before { content: attr(data-tool); }
.comparison-table td[data-label="Tool"] {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-ink);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 4px;
}
.comparison-table td img, .comparison-table td svg {
  max-width: 80px;
  max-height: 20px;
  object-fit: contain;
}

/* Desktop ≥1024px — render as real table */
@media (min-width: 1024px) {
  .comparison-table { display: table; table-layout: fixed; width: 100%; }
  .comparison-table thead { display: table-header-group; background: var(--color-bg-soft); }
  .comparison-table tbody { display: table-row-group; }
  .comparison-table tr {
    display: table-row;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--color-border);
    padding: 0;
    margin: 0;
    box-shadow: none;
    border-radius: 0;
  }
  .comparison-table tr.winner, .comparison-table tr.winner-row {
    background: #f0fdf4;
    border: 0;
    border-bottom: 1px solid var(--color-border);
    border-left: 4px solid var(--color-success);
  }
  .comparison-table tr.winner::before, .comparison-table tr.winner-row::before { display: none; }
  .comparison-table th, .comparison-table td {
    display: table-cell;
    padding: 14px 12px;
    border: 0;
    text-align: left;
    font-size: 14px;
    vertical-align: middle;
  }
  .comparison-table td::before { display: none; }
  .comparison-table th {
    font-size: 11px;
    font-weight: 700;
    color: var(--color-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 12px;
  }
  .comparison-table td:last-child { padding-right: 16px; }
}

/* ====================================================================
   TOP PICK SIDEBAR CARD  (mobile = inline card, desktop = sticky)
   ==================================================================== */
.article-sidebar {
  display: block;
  margin: 24px 0;
  padding: 16px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  box-sizing: border-box;
}
.sidebar-pick-btn {
  display: block;
  width: 100%;
  background: var(--color-brand);
  color: white !important;
  padding: 12px 14px;
  text-align: center;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  margin-bottom: 16px;
  box-sizing: border-box;
}
.sidebar-pick-btn:hover { background: var(--color-brand-dark); text-decoration: none; }
.sidebar-toc-link {
  display: block;
  font-size: 13px;
  color: var(--color-body);
  padding: 4px 0;
  text-decoration: none;
  line-height: 1.4;
}
.sidebar-toc-link:hover { color: var(--color-brand); }

@media (min-width: 1024px) {
  .article-sidebar {
    position: sticky;
    top: 80px;
    align-self: start;
    margin: 0;
  }
}

/* ====================================================================
   STICKY BOTTOM CTA  (#msct — mobile only)
   ==================================================================== */
#msct {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--color-brand);
  box-shadow: 0 -2px 12px rgba(0,0,0,0.15);
  padding: 10px 16px;
  box-sizing: border-box;
}
.msct-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.msct-info { display: none; }
.msct-actions { flex: 1; display: flex; align-items: center; gap: 8px; }
.msct-btn {
  display: block;
  flex: 1;
  background: white;
  color: var(--color-brand) !important;
  text-align: center;
  padding: 10px 12px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 0;
  box-sizing: border-box;
}
.msct-btn:hover { text-decoration: none; }
.msct-close {
  background: transparent;
  border: 0;
  color: white;
  font-size: 22px;
  line-height: 1;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  #msct { display: none; }
  body { padding-bottom: 0; }
}

/* ====================================================================
   ARTICLE GRID  (homepage)
   ==================================================================== */
.article-grid, .card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.article-grid > a, .article-card, .card-grid > div, .card-grid > a {
  display: block;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s;
  box-sizing: border-box;
}
.article-grid > a:hover, .article-card:hover, .card-grid > a:hover { box-shadow: var(--shadow-md); }
.article-grid img, .article-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

@media (min-width: 640px) {
  .article-grid, .card-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
}
@media (min-width: 1024px) {
  .article-grid { grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
  .card-grid    { grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
  .article-grid img, .article-card img { height: 180px; }
}

/* ====================================================================
   STAT GRID (homepage trust bar)
   ==================================================================== */
.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 20px 0;
}
@media (min-width: 640px) {
  .stat-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .stat-grid { grid-template-columns: repeat(5, 1fr); padding: 28px 0; }
}

/* ====================================================================
   FOOTER
   ==================================================================== */
footer {
  background: var(--color-bg-soft);
  border-top: 1px solid var(--color-border);
  padding: 32px 16px 24px;
  margin-top: 48px;
}
.footer-main {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.footer-brand-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 18px;
  color: var(--color-ink);
  margin-bottom: 8px;
}
.footer-brand-desc { font-size: 13px; color: var(--color-muted); line-height: 1.6; margin: 0; }
.footer-col-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-ink);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 12px;
}
.footer-col { display: flex; flex-direction: column; }
.footer-col a {
  display: block;
  font-size: 13px;
  color: var(--color-body);
  text-decoration: none;
  padding: 4px 0;
}
.footer-col a:hover { color: var(--color-brand); }
.footer-bottom {
  max-width: var(--maxw);
  margin: 24px auto 0;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
  font-size: 12px;
  color: var(--color-muted);
  text-align: center;
}
.footer-copy, .footer-disclosure { margin: 8px 0; line-height: 1.5; }

@media (min-width: 640px) {
  .footer-main { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; text-align: left; }
}
@media (min-width: 1024px) {
  footer { padding: 48px 24px 24px; }
}

/* ====================================================================
   UTILITIES
   ==================================================================== */
.text-center { text-align: center; }
.text-muted { color: var(--color-muted); }
.text-brand { color: var(--color-brand); }
.no-italic { font-style: normal; }


/* ====================================================================
   PREMIUM HOMEPAGE + INDEX  (added Phase 2 — editorial polish)
   ==================================================================== */

:root {
  --shadow-card:       0 1px 3px rgba(15,23,42,0.04), 0 1px 2px rgba(15,23,42,0.06);
  --shadow-card-hover: 0 12px 28px rgba(15,23,42,0.10), 0 4px 8px rgba(15,23,42,0.06);
}

/* ---- Hero (homepage) ------------------------------------------------ */
.hero-section {
  background:
    linear-gradient(180deg,
      color-mix(in srgb, var(--color-brand) 6%, white) 0%,
      white 100%);
  padding: 40px 16px;
  margin: 0;
  border-bottom: 1px solid var(--color-border);
}
.hero-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}
.hero-content > * + * { margin-top: 16px; }
.hero-eyebrow {
  display: inline-block;
  background: color-mix(in srgb, var(--color-brand) 12%, white);
  color: var(--color-brand);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}
.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(32px, 6vw, 56px);
  line-height: 1.1;
  margin: 0;
  color: var(--color-ink);
  letter-spacing: -0.015em;
  font-weight: 800;
}
.hero-subhead {
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-muted);
  max-width: 60ch;
  margin: 0;
}
.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  margin-top: 8px;
}
.hero-btn-primary, a.hero-btn-primary {
  display: inline-block;
  background: var(--color-brand);
  color: white !important;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 6px 18px color-mix(in srgb, var(--color-brand) 24%, transparent);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.hero-btn-primary:hover, a.hero-btn-primary:hover {
  background: var(--color-brand-dark);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px color-mix(in srgb, var(--color-brand) 30%, transparent);
  text-decoration: none;
}
.hero-btn-secondary, a.hero-btn-secondary {
  display: inline-block;
  color: var(--color-brand) !important;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  border: 0;
  background: transparent;
}
.hero-btn-secondary:hover, a.hero-btn-secondary:hover { color: var(--color-brand-dark) !important; }
.hero-trust {
  margin-top: 12px;
  font-size: 12px;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-trust .hero-stars { color: var(--color-warn); letter-spacing: 1px; font-size: 14px; }

@media (min-width: 1024px) {
  .hero-section { padding: 64px 24px; }
  .hero-inner   { grid-template-columns: 1.05fr 0.95fr; gap: 56px; }
}

/* ---- Editor's #1 Pick Card  (.featured-pick) ---------------------- */
.featured-pick {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 28px 24px;
  box-shadow: 0 4px 24px rgba(15,23,42,0.08);
  position: relative;
}
.featured-pick-badge {
  display: inline-block;
  background: var(--color-brand);
  color: white;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}
.featured-pick-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.pick-logo {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--color-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px color-mix(in srgb, var(--color-brand) 20%, transparent);
}
.pick-name {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  color: var(--color-ink);
  line-height: 1.2;
}
.pick-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  font-size: 13px;
  color: var(--color-muted);
}
.pick-stars { color: var(--color-warn); letter-spacing: 1px; font-size: 14px; }
.pick-score { color: var(--color-muted); font-size: 13px; }
.pick-summary {
  font-size: 14px;
  line-height: 1.65;
  color: var(--color-body);
  margin: 0 0 18px;
}
.pick-features {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pick-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--color-body);
  line-height: 1.5;
  margin: 0;
}
.pick-feature-check {
  color: var(--color-brand);
  font-weight: 800;
  flex-shrink: 0;
  font-size: 16px;
  line-height: 1.4;
}
.pick-cta {
  display: block;
  width: 100%;
  background: var(--color-brand);
  color: white !important;
  font-weight: 700;
  text-align: center;
  padding: 14px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 15px;
  transition: background 0.15s ease;
  box-shadow: 0 4px 12px color-mix(in srgb, var(--color-brand) 22%, transparent);
}
.pick-cta:hover { background: var(--color-brand-dark); text-decoration: none; }
.pick-trust-line {
  font-size: 12px;
  color: var(--color-muted);
  text-align: center;
  margin-top: 10px;
}

/* ---- Section spacing rhythm --------------------------------------- */
section, main > section, main > div {
  scroll-margin-top: 80px;
}
.section { padding: 40px 16px; }
@media (min-width: 1024px) {
  .section { padding: 64px 24px; }
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  color: var(--color-ink);
  text-align: center;
  margin: 0 0 8px;
  line-height: 1.25;
}
.section-subtitle {
  font-size: 16px;
  color: var(--color-muted);
  text-align: center;
  margin: 0 0 36px;
  line-height: 1.6;
}

/* ---- Premium .article-card treatment for homepage + index pages ---- */
.article-card, .card-grid > a, .card-grid > div {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow-card);
  text-decoration: none;
  color: var(--color-ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.article-card:hover, .card-grid > a:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
  border-color: color-mix(in srgb, var(--color-brand) 40%, var(--color-border));
  text-decoration: none;
}
.card-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--color-brand);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 10px;
}
.card-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  color: var(--color-ink);
  margin: 0 0 10px;
  line-height: 1.3;
}
.card-excerpt {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-muted);
  margin: 0 0 14px;
  flex: 1;
}
.card-cta {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-brand);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  margin-top: auto;
}
.card-cta::after {
  content: "→";
  transition: transform 0.15s ease;
}
.article-card:hover .card-cta::after,
.card-grid > a:hover .card-cta::after {
  transform: translateX(3px);
}

/* ---- Bottom CTA strip (.cta-box on homepage / index) -------------- */
.cta-box {
  background:
    linear-gradient(135deg,
      color-mix(in srgb, var(--color-brand) 8%, white) 0%,
      color-mix(in srgb, var(--color-brand) 4%, white) 100%);
  border: 1px solid color-mix(in srgb, var(--color-brand) 18%, var(--color-border));
  border-radius: 16px;
  padding: 32px 24px;
  margin: 40px 0;
  text-align: left;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
}
.cta-box h2, .cta-box h3 {
  font-family: var(--font-heading);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 800;
  color: var(--color-ink);
  margin: 0 0 12px;
  line-height: 1.25;
}
.cta-box p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-body);
  font-style: normal;
  margin: 0 0 18px;
}
.cta-box a.btn, .cta-box .btn {
  display: inline-block;
  width: auto;
  min-width: 220px;
}

@media (min-width: 1024px) {
  .cta-box { padding: 44px 40px; }
}

/* ---- FAQ section polish -------------------------------------------- */
.faq-section {
  padding: 40px 16px;
}
.faq-section h2 {
  font-family: var(--font-heading);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  color: var(--color-ink);
  margin: 0 0 20px;
}
.faq-item {
  border-top: 1px solid var(--color-border);
  padding: 18px 0;
}
.faq-item summary, .faq-question {
  font-weight: 700;
  font-size: 16px;
  color: var(--color-ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { font-size: 15px; line-height: 1.6; color: var(--color-body); margin: 12px 0 0; }

@media (min-width: 1024px) {
  .faq-section { padding: 64px 24px; }
}

/* ---- Card grid (homepage feature cards) — even heights ------------ */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: stretch;
}
@media (min-width: 640px) {
  .card-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
}
@media (min-width: 1024px) {
  .card-grid { grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
}

/* ---- Stat-grid trust bar tweaks ----------------------------------- */
.stat-grid > div {
  font-size: 14px;
  color: var(--color-muted);
}
.stat-grid .stat-num {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  color: var(--color-ink);
  display: block;
}

/* ---- Footer column accent + tightening ---------------------------- */
.footer-col-title {
  color: var(--color-ink);
  border-bottom: 1px solid color-mix(in srgb, var(--color-brand) 35%, transparent);
  padding-bottom: 4px;
  display: inline-block;
}
.footer-col a {
  color: var(--color-muted);
  transition: color 0.12s ease;
}
.footer-col a:hover { color: var(--color-brand); text-decoration: none; }

/* ---- Smooth global transitions on interactive elements ----------- */
a, button, .article-card, .card-grid > a, .pick-cta, .hero-btn-primary {
  transition-property: transform, box-shadow, background, color, border-color, opacity;
  transition-duration: 0.15s;
  transition-timing-function: ease;
}


/* ====================================================================
   PREMIUM ARTICLE TEMPLATE  (v6 rebuild — Phases 1, 3, 4, 5)
   Editorial+SaaS polish: layout, type, components, sidebar, TOC.
   ==================================================================== */

/* ---- Phase 1: sticky sidebar layout (desktop) -------------------- */
@media (min-width: 1024px) {
  .article-wrap {
    display: grid;
    grid-template-columns: minmax(0, 760px) 320px;
    gap: 48px;
    justify-content: center;
    align-items: start;
  }
  .article-sidebar {
    position: sticky;
    top: 88px;
    align-self: start;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    margin: 0;
  }
  .article-sidebar::-webkit-scrollbar { width: 6px; }
  .article-sidebar::-webkit-scrollbar-thumb {
    background: var(--color-border);
    border-radius: 3px;
  }
}

/* ---- Phase 2: header block (kicker + byline + dek) -------------- */
.article-kicker {
  font-size: 11px;
  font-weight: 800;
  color: var(--color-brand);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin: 0 0 14px;
  display: inline-block;
}
.article-body > h1, .container-narrow > h1 {
  font-family: var(--font-heading);
  font-size: clamp(30px, 4.5vw, 46px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--color-ink);
  margin: 0 0 20px;
}
.article-byline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 28px;
  padding: 0 0 24px;
  border-bottom: 1px solid var(--color-border);
}
.byline-avatar {
  flex-shrink: 0;
  display: block;
  border-radius: 50%;
}
.byline-info { line-height: 1.4; }
.byline-author { font-size: 14px; color: var(--color-ink); font-weight: 600; }
.byline-author strong { color: var(--color-ink); font-weight: 700; }
.byline-meta { font-size: 12px; color: var(--color-muted); }

/* Lead paragraph treatment — the first p after the byline */
.article-body > p:first-of-type,
.container-narrow > p:first-of-type {
  font-size: 19px;
  line-height: 1.6;
  color: var(--color-ink);
  margin: 0 0 28px;
  font-weight: 400;
}

/* ---- Phase 3: type system + vertical rhythm --------------------- */
.article-body, .container-narrow {
  font-size: 17px;
  line-height: 1.75;
  color: #1e293b;
}
@media (min-width: 1024px) {
  .article-body, .container-narrow { font-size: 18px; }
}
.article-body p, .container-narrow p { margin: 0 0 18px; max-width: 68ch; }
.article-body h2, .container-narrow h2 {
  font-family: var(--font-heading);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--color-ink);
  margin: 56px 0 16px;
  line-height: 1.25;
}
.article-body h3, .container-narrow h3 {
  font-family: var(--font-body);
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 700;
  color: var(--color-ink);
  margin: 36px 0 12px;
  line-height: 1.3;
}
.article-body h4, .container-narrow h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-ink);
  margin: 28px 0 10px;
}
.article-body ul, .article-body ol,
.container-narrow ul, .container-narrow ol {
  margin: 0 0 22px;
  padding-left: 26px;
}
.article-body li, .container-narrow li {
  margin-bottom: 8px;
  line-height: 1.7;
}
.article-body a, .container-narrow a {
  color: var(--color-brand);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  text-decoration-color: color-mix(in srgb, var(--color-brand) 40%, transparent);
}
.article-body a:hover, .container-narrow a:hover {
  text-decoration-color: var(--color-brand);
}

/* Block quote treatment (pull quote) */
.article-body blockquote, .container-narrow blockquote {
  margin: 32px 0;
  padding: 4px 0 4px 24px;
  border-left: 3px solid var(--color-brand);
  font-family: var(--font-heading);
  font-size: 21px;
  line-height: 1.4;
  color: var(--color-ink);
  font-weight: 600;
}

/* ---- Phase 4: component polish ---------------------------------- */
:root {
  --shadow-sm: 0 1px 2px rgba(15,23,42,0.04);
  --shadow-md: 0 4px 12px rgba(15,23,42,0.06), 0 1px 3px rgba(15,23,42,0.04);
  --shadow-md-hover: 0 8px 24px rgba(15,23,42,0.10), 0 2px 6px rgba(15,23,42,0.06);
}

/* Callouts — refined */
.callout {
  padding: 16px 18px;
  margin: 28px 0;
  border-radius: 0 12px 12px 0;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.15s ease;
}
.callout:hover { box-shadow: var(--shadow-md); }

/* Pros/cons — refined */
.pros-cons-callout {
  border: 1px solid var(--color-border);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  padding: 24px;
  background: white;
}

/* Comparison table — premium framing */
.comparison-wrap {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  margin: 32px 0;
}
@media (min-width: 1024px) {
  .comparison-table th {
    background: var(--color-bg-soft);
    border-bottom: 1px solid var(--color-border);
  }
  .comparison-table tr:nth-child(even) td { background: #fafbfc; }
}

/* CTA cards — premium */
.cta-box {
  background:
    linear-gradient(135deg,
      color-mix(in srgb, var(--color-brand) 7%, white) 0%,
      color-mix(in srgb, var(--color-brand) 3%, white) 100%);
  border: 1px solid color-mix(in srgb, var(--color-brand) 18%, var(--color-border));
  border-radius: 14px;
  padding: 28px 24px;
  margin: 36px 0;
  box-shadow: var(--shadow-sm);
}
.cta-box h3 {
  font-family: var(--font-heading);
  font-size: clamp(20px, 2.4vw, 24px);
  font-weight: 800;
  margin: 0 0 12px;
}

/* Article graphic frames — consistent treatment */
figure.article-graphic, figure.hero-image {
  margin: 36px 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}
figure.article-graphic img, figure.hero-image img {
  border-radius: 0;
  border: 0;
  display: block;
}

/* ---- Phase 4: Author bio block (E-E-A-T trust signal) ------------ */
.author-bio {
  display: flex;
  gap: 18px;
  margin: 48px 0 32px;
  padding: 24px;
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  align-items: flex-start;
}
.author-bio-avatar { flex-shrink: 0; }
.author-bio-avatar svg { width: 56px; height: 56px; }
.author-bio-info { flex: 1; min-width: 0; }
.author-bio-name {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 800;
  color: var(--color-ink);
  margin-bottom: 2px;
}
.author-bio-title {
  font-size: 12px;
  color: var(--color-brand);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.author-bio-text {
  font-size: 14px;
  line-height: 1.65;
  color: var(--color-body);
  margin: 0;
}

/* ---- Phase 5: sidebar sticky TOC + Top Pick polish --------------- */
.article-sidebar {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  padding: 22px 20px;
}
.sidebar-toc-title {
  font-size: 11px;
  font-weight: 800;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin: 0 0 12px;
}
.sidebar-toc-link {
  display: block;
  padding: 6px 0 6px 10px;
  font-size: 13px;
  color: var(--color-body);
  text-decoration: none;
  line-height: 1.45;
  border-left: 2px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.sidebar-toc-link:hover {
  color: var(--color-brand);
  border-left-color: color-mix(in srgb, var(--color-brand) 50%, transparent);
  text-decoration: none;
}
.sidebar-toc-link.is-current {
  color: var(--color-brand);
  border-left-color: var(--color-brand);
  font-weight: 600;
}

.sidebar-pick-btn {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--color-border);
}

/* ====================================================================
   END PREMIUM v6 REBUILD
   ==================================================================== */


/* ====================================================================
   v8 cleanup patch — Issues 2, 6 (button text visibility, no-sidebar
   centering)
   ==================================================================== */

/* FIX 2 — button text must always be readable on accent fill. The v6
   article-body link styling (`.article-body a { color: var(--color-brand) }`)
   was winning over `.btn { color: white }` due to equal specificity but
   later cascade position. Force white text on every CTA/button-like link
   inside article body. */
.article-body a.btn, .article-body a.btn-lg, .article-body a.btn-primary,
.article-body a.pick-cta, .article-body a.cta-box-btn, .article-body a.sidebar-pick-btn,
.cta-box a, .cta-box .btn,
.winner-card a, .top-pick-card a,
.article-body a[href*="constantcontact"],
.article-body a[href*="join-now"] {
  color: white !important;
  text-decoration: none !important;
}
.article-body a.btn:hover, .cta-box a:hover {
  color: white !important;
  text-decoration: none !important;
}

/* FIX 6 — when there's no sidebar (or it's empty), the article column
   must center, not left-justify with an empty 320px gap. */
@media (min-width: 1024px) {
  /* Modern browsers: :has() drops grid when no aside */
  .article-wrap:not(:has(> aside)),
  .article-wrap:has(> aside:empty) {
    display: block !important;
  }
  .article-wrap:not(:has(> aside)) > .article-body,
  .article-wrap:has(> aside:empty) > .article-body {
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 760px !important;
  }
  /* Even WITH a short aside, keep body horizontally centered within
     its grid track */
  .article-wrap .article-body {
    justify-self: center;
  }
}

/* FIX 1 fallback — when a card has no <img>, use accent gradient block
   with category label (for any future article that fails the body-graphic
   lookup) */
.article-card-thumb-fallback {
  width: 100%;
  height: 180px;
  background:
    linear-gradient(135deg,
      color-mix(in srgb, var(--color-brand) 18%, white),
      color-mix(in srgb, var(--color-brand) 8%, white));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-brand);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}


/* ====================================================================
   v9 cleanup patch — Issue 1 (article body centering on no-rail pages)
   ====================================================================

   The desktop rule .article-body { margin: 0 } in the v6 article template
   only makes sense when .article-body is a grid child of .article-wrap
   with a sidebar. Satellite articles (and any page without article-wrap)
   ended up left/right-shifted because margin:0 leaves them anchored to
   one edge of the available 1052px main content area.

   Default: center any .article-body as a 760px column.
   Exception: when inside .article-wrap WITH a real article-sidebar,
   restore margin:0 so the grid handles positioning.
   ==================================================================== */
@media (min-width: 1024px) {
  /* Default: ALL .article-body elements center as 760px columns. */
  .article-body, .article-content {
    max-width: 760px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  /* Exception: when inside a 2-column grid with a populated sidebar,
     let the grid handle positioning. */
  .article-wrap:has(> aside.article-sidebar) > .article-body,
  .article-layout:has(> aside.article-sidebar) > .article-body {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}


/* ====================================================================
   Real product screenshots — CC review + CC vs Mailchimp only.
   Wrapped in a lightweight browser-style frame.
   ==================================================================== */
.screenshot-frame {
  margin: 32px 0;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  background: #ffffff;
}
.screenshot-frame-chrome {
  background: #f1f5f9;
  padding: 9px 14px;
  display: flex;
  gap: 7px;
  align-items: center;
  border-bottom: 1px solid var(--color-border);
}
.screenshot-frame-chrome span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: block;
  flex-shrink: 0;
}
.screenshot-frame-chrome span:nth-child(1) { background: #ef4444; }
.screenshot-frame-chrome span:nth-child(2) { background: #f59e0b; }
.screenshot-frame-chrome span:nth-child(3) { background: #22c55e; }
.screenshot-frame img,
.screenshot-frame picture img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}
.screenshot-caption {
  font-size: 13px;
  font-style: italic;
  color: var(--color-muted);
  margin: 10px 4px 0;
  text-align: center;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .screenshot-frame { margin: 22px 0; }
  .screenshot-frame-chrome { padding: 7px 12px; }
  .screenshot-frame-chrome span { width: 9px; height: 9px; }
}


/* ====================================================================
   v10 patch — mobile logo never truncates
   Brand names like "BestEmailToolReviews" (20 char) and "Email Marketing
   Rated" (21 char) overflowed the 160px max-width + 18px font in the base
   .logo rule. Scale down + widen + drop ellipsis so full name is always
   visible on every mobile width.
   ==================================================================== */
.logo, .site-logo {
  font-size: clamp(13px, 4.3vw, 18px) !important;
  max-width: 240px !important;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: nowrap !important;
}

@media (min-width: 1024px) {
  .logo, .site-logo {
    font-size: 22px !important;
    max-width: none !important;
  }
}
