/* Shared listicle body. Each site sets the --lx-* variables in its own CSS; mastheads and footers stay site-owned. */
.lx {
  --lx-ink: #1d1d1f;
  --lx-muted: #4f535a;
  --lx-line: #e7e3dd;
  --lx-accent: #1f3a5f;
  --lx-accent-ink: #ffffff;
  --lx-soft: #f6f3ee;
  --lx-bar: var(--lx-accent);
  --lx-gold: #e2a31a;
  --lx-red: #b8412e;
  --lx-serif: "Newsreader", Georgia, serif;
  --lx-sans: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --lx-radius: 12px;
  box-sizing: border-box;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 18px 56px;
  font-family: var(--lx-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--lx-ink);
  -webkit-text-size-adjust: 100%;
}
.lx *, .lx *::before, .lx *::after { box-sizing: border-box; }
.lx p { margin: 0 0 16px; }
.lx a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.lx strong { font-weight: 800; }
.lx img { display: block; max-width: 100%; height: auto; }

/* Top of article */
.lx-label { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 24px 0 14px; font-size: 15px; color: var(--lx-muted); }
.lx-pill { display: inline-block; padding: 5px 14px; border-radius: 999px; background: var(--lx-soft); color: var(--lx-ink); font-weight: 700; font-size: 14px; letter-spacing: .02em; }
.lx h1 { font-family: var(--lx-serif); font-weight: 700; font-size: 31px; line-height: 1.15; letter-spacing: -.01em; margin: 0 0 12px; text-wrap: balance; }
.lx-dek { font-family: var(--lx-serif); font-size: 19px; line-height: 1.45; color: var(--lx-ink); margin: 0 0 20px; text-wrap: pretty; }
.lx-byline { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; font-size: 15px; line-height: 1.35; color: var(--lx-muted); }
.lx-byline img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; }
.lx-byline b { display: block; color: var(--lx-ink); font-size: 16px; font-weight: 800; }

.lx figure { margin: 24px 0; }
.lx figure img { width: 100%; border-radius: var(--lx-radius); background: var(--lx-soft); }
.lx-hero img { aspect-ratio: 4 / 3; object-fit: cover; }
.lx figcaption { margin-top: 8px; font-size: 15px; line-height: 1.45; color: var(--lx-muted); }

.lx h2 { font-family: var(--lx-serif); font-weight: 700; font-size: 27px; line-height: 1.2; letter-spacing: -.005em; margin: 44px 0 12px; text-wrap: balance; }
.lx h3 { font-family: var(--lx-sans); font-weight: 800; font-size: 18.5px; line-height: 1.3; margin: 0 0 6px; }

/* Numbered lists: criteria, what to look for, what to avoid */
.lx-steps { list-style: none; counter-reset: lx; margin: 20px 0 8px; padding: 0; }
.lx-steps > li { counter-increment: lx; position: relative; padding: 0 0 0 46px; margin: 0 0 20px; }
.lx-steps > li::before {
  content: counter(lx); position: absolute; left: 0; top: 0;
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--lx-accent); color: var(--lx-accent-ink);
  font: 800 16px/1 var(--lx-sans);
}
.lx-steps > li p { margin: 0; }
.lx-steps--avoid > li::before { background: #fff; color: var(--lx-red); box-shadow: inset 0 0 0 2px var(--lx-red); }

/* Product cards */
.lx-card { margin: 36px 0 0; padding: 28px 0 0; border-top: 1px solid var(--lx-line); }
.lx-card--win { padding: 20px 18px 22px; border: 2px solid var(--lx-accent); border-radius: 16px; background: #fff; }
.lx-card-img { margin: 0 0 18px; }
.lx-card-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; border-radius: var(--lx-radius); background: var(--lx-soft); }
.lx-card-img--photo img { object-fit: cover; }
.lx-card h2 { margin: 0 0 4px; font-size: 26px; display: flex; align-items: flex-start; gap: 8px; }
.lx-rank { color: var(--lx-muted); font-weight: 600; }
.lx-card--win .lx-rank { color: var(--lx-ink); }
.lx-trophy { width: 28px; height: 28px; flex: none; color: var(--lx-gold); margin-top: 2px; }
.lx-sub { margin: 0 0 6px; font-size: 15.5px; font-weight: 700; color: var(--lx-muted); }
.lx-card--win .lx-sub { color: var(--lx-accent); }
.lx-stars { display: flex; align-items: center; gap: 8px; margin: 0 0 16px; font-size: 15px; font-weight: 700; }
.lx-stars i {
  font-style: normal; font-size: 19px; letter-spacing: 2px; line-height: 1;
  background: linear-gradient(90deg, var(--lx-gold) calc(var(--r) / 5 * 100%), #d9d5cf 0);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lx-stars i::before { content: "\2605\2605\2605\2605\2605"; }
.lx-stars span { border-bottom: 1.5px solid currentColor; }

.lx-scores { margin: 20px 0 4px; display: grid; gap: 14px; }
.lx-score { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 4px 12px; font-size: 15.5px; font-weight: 700; }
.lx-score b { font-size: 17px; font-weight: 800; }
.lx-score s { grid-column: 1 / -1; display: block; height: 10px; border-radius: 999px; background: #ebe7e1; overflow: hidden; text-decoration: none; }
.lx-score s::after { content: ""; display: block; height: 100%; width: calc(var(--s) * 10%); border-radius: inherit; background: var(--lx-bar); }

.lx-urgency { display: flex; gap: 10px; align-items: flex-start; margin: 22px 0 0; padding: 14px 16px; border: 1px solid var(--lx-line); border-radius: var(--lx-radius); background: var(--lx-soft); font-size: 16px; line-height: 1.5; }
.lx-urgency svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--lx-red); }

.lx-cta {
  display: block; width: 100%; max-width: 480px; margin: 18px auto 0; padding: 17px 22px;
  border-radius: 999px; background: var(--lx-accent); color: var(--lx-accent-ink) !important;
  font: 800 16.5px/1.2 var(--lx-sans); letter-spacing: .04em; text-transform: uppercase;
  text-align: center; text-decoration: none !important; box-shadow: 0 2px 0 rgba(0,0,0,.08);
}
.lx-cta:hover { filter: brightness(1.06); }
.lx-cta-note { margin: 10px 0 0; text-align: center; font-size: 14.5px; color: var(--lx-muted); }

/* Why it works, founders, offer */
.lx-box { margin: 44px 0 0; padding: 22px 18px 8px; border-radius: 16px; background: var(--lx-soft); }
.lx-box h2 { margin-top: 0; }
.lx-box figure { margin: 18px 0; }
.lx-offer { margin: 28px 0 0; padding: 22px 18px; border-radius: 16px; background: var(--lx-soft); }
.lx-offer h3 { text-align: center; font-size: 19px; margin-bottom: 14px; }
.lx-offer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.lx-offer li { display: flex; gap: 10px; align-items: flex-start; font-size: 16.5px; font-weight: 700; line-height: 1.4; }
.lx-offer li svg { width: 20px; height: 20px; flex: none; margin-top: 1px; color: var(--lx-accent); }

.lx blockquote { margin: 28px 0; padding: 4px 0 4px 18px; border-left: 4px solid var(--lx-accent); font-family: var(--lx-serif); font-size: 21px; line-height: 1.4; }

@media (min-width: 768px) {
  .lx { font-size: 18.5px; padding: 0 24px 72px; }
  .lx h1 { font-size: 44px; }
  .lx-dek { font-size: 20px; }
  .lx h2 { font-size: 32px; margin-top: 56px; }
  .lx h3 { font-size: 20px; }
  .lx-card h2 { font-size: 30px; }
  .lx-card--win { padding: 28px 30px 30px; }
  .lx-box, .lx-offer { padding: 28px 30px 12px; }
  .lx-offer { padding-bottom: 28px; }
  .lx-hero img { aspect-ratio: 3 / 2; }
}
