/* 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: 26px 0 30px; }
.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 .lx-tall { max-width: 560px; margin-left: auto; margin-right: auto; }
/* Editorial caption: tied to the photo, set apart from body copy by size, italic serif and the accent rule. */
.lx figcaption {
  margin: 8px 0 0; padding: 1px 0 2px 11px;
  border-left: 2px solid var(--lx-accent);
  font-family: var(--lx-serif); font-style: italic; font-weight: 400;
  font-size: 14px; line-height: 1.45; letter-spacing: .005em;
  color: var(--lx-cap, #676b72); text-align: left; text-wrap: pretty;
}

.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 26px; }
.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; }

/* v4.1 offer card */
.lx-deal { margin: 30px 0 0; border: 1px solid var(--lx-line); border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 10px 28px rgba(20, 20, 20, .07); }
.lx .lx-deal-img { margin: 0; background: var(--lx-soft); }
.lx .lx-deal-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; border-radius: 0; }
.lx-deal-body { padding: 18px 18px 20px; }
.lx-deal-tag { display: inline-block; margin: 0 0 10px; padding: 6px 11px; border-radius: 999px; background: var(--lx-red); color: #fff; font: 800 14px/1 var(--lx-sans); letter-spacing: .06em; text-transform: uppercase; }
.lx .lx-deal-name { margin: 0 0 8px; font-family: var(--lx-serif); font-size: 23px; line-height: 1.2; }
.lx-deal .lx-stars { margin: 0 0 14px; }
.lx-deal-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0 0 16px; }
.lx-deal-price b { font: 800 34px/1 var(--lx-sans); color: var(--lx-ink); }
.lx-deal-price span { font-size: 16px; font-weight: 800; color: var(--lx-accent); }
.lx-deal-list { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 9px; }
.lx-deal-list li { position: relative; padding-left: 30px; font-size: 16.5px; font-weight: 700; line-height: 1.4; }
.lx-deal-list li::before { content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--lx-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 13px no-repeat; }
.lx-deal .lx-cta { max-width: none; margin: 0; padding: 18px 14px; font-size: 16px; letter-spacing: .03em; }
.lx-deal-urgency { display: flex; align-items: center; justify-content: center; gap: 9px; margin: 13px 0 0; font-size: 15px; font-weight: 700; line-height: 1.4; color: var(--lx-red); text-align: center; }
.lx-deal-urgency::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(184, 65, 46, .16); }

/* v4.1 reader comments (Facebook style) */
.lx-cm { margin: 52px 0 0; padding-top: 22px; border-top: 1px solid var(--lx-line); }
.lx-cm-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 20px; }
.lx .lx-cm-head h2 { margin: 0; font-size: 23px; }
.lx-cm-head span { font-size: 14.5px; color: var(--lx-muted); }
.lx-cm-item { display: flex; gap: 10px; margin: 0 0 20px; }
/* .lx scope beats the .lx img height:auto reset; flex-start stops the flex row stretching avatars into ovals. */
.lx .lx-cm-av { flex: none; align-self: flex-start; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: var(--lx-soft); }
.lx-cm-main { flex: 1; min-width: 0; }
.lx-cm-bubble { position: relative; display: inline-block; max-width: 100%; padding: 9px 13px 11px; border-radius: 18px; background: #f0f2f5; }
.lx-cm-name { display: block; font-size: 15px; font-weight: 800; line-height: 1.3; color: var(--lx-ink); }
.lx-cm-bubble p { margin: 3px 0 0; font-size: 16px; line-height: 1.45; }
.lx-cm-likes { position: absolute; right: 8px; bottom: -13px; display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px 2px 3px; border-radius: 999px; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); font-size: 14px; color: #4b4f56; }
.lx-cm-likes i { width: 18px; height: 18px; border-radius: 50%; background: #1877f2 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M2 21h4V9H2v12Zm20-11a2 2 0 0 0-2-2h-6.3l1-4.6v-.3c0-.4-.2-.8-.4-1.1L13.2 1 6.6 7.6C6.2 8 6 8.5 6 9v10a2 2 0 0 0 2 2h9c.8 0 1.5-.5 1.8-1.2l3-7.1c.1-.2.2-.5.2-.7v-2Z'/%3E%3C/svg%3E") center / 11px no-repeat; }
.lx-cm-meta { display: flex; gap: 16px; margin: 6px 0 0 13px; font-size: 14px; font-weight: 700; color: #65676b; }
.lx-cm-meta span:last-child { font-weight: 400; }
.lx-cm-replies { margin: 14px 0 0; }
.lx-cm-replies .lx-cm-item { margin-bottom: 14px; }
.lx .lx-cm-replies .lx-cm-av { width: 32px; height: 32px; }
.lx-cm-badge { display: inline-block; margin-left: 6px; padding: 2px 7px; border-radius: 5px; background: var(--lx-accent); color: var(--lx-accent-ink); font-size: 14px; font-weight: 800; line-height: 1.25; vertical-align: 1px; }

/* v4.1 footer */
.lx-foot { background: var(--lx-foot-bg, #1d1d1f); color: var(--lx-foot-ink, #ece8e2); }
.lx-foot-in { max-width: 760px; margin: 0 auto; padding: 34px 18px 30px; }
.lx-foot-logo { display: inline-flex; align-items: center; gap: 10px; color: inherit !important; text-decoration: none !important; }
.lx-foot-logo img { display: block; height: var(--lx-foot-logo-h, 30px); width: auto; max-width: 100%; }
.lx-foot-tag { margin: 12px 0 20px; font-size: 15.5px; line-height: 1.5; opacity: .82; }
.lx-foot-links { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 0 0 18px; padding: 15px 0; border-top: 1px solid rgba(255, 255, 255, .14); border-bottom: 1px solid rgba(255, 255, 255, .14); }
.lx-foot-links a { color: inherit !important; font-size: 15px; font-weight: 700; text-decoration: none !important; }
.lx-foot-copy { margin: 0; font-size: 14px; opacity: .66; }

@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; }
  .lx-deal { display: grid; grid-template-columns: 1fr 1fr; }
  .lx .lx-deal-img img { height: 100%; aspect-ratio: auto; }
  .lx-deal-body { padding: 26px 26px 24px; }
  .lx-foot-in { padding: 44px 24px 36px; }
}
