/* ---------- article page (compare.html) — matches the landing page's design
   system (css/landing.css): neo-brutalist, hard black borders, offset
   shadows, Space Grotesk headings, Hanken Grotesk body, Space Mono labels.
   Colors/fonts here inherit the --lp-* custom properties landing.css
   defines on .landing-body, so only the border/shadow/radius rules below
   needed to change to match — the palette followed automatically. */

.article-main {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 24px 96px;
  position: relative;
  z-index: 5;
}

/* .article-eyebrow's styling lives in css/landing.css, shared with
   .landing-section-eyebrow — see that file for why. */

.article-h1 {
  font-family: var(--lp-heading-font);
  font-size: clamp(32px, 4.4vw, 46px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
}

.article-lede {
  font-size: 17px;
  line-height: 1.6;
  color: var(--lp-ink-soft);
  margin: 0 0 44px;
}

.article-body h2 {
  font-family: var(--lp-heading-font);
  font-size: clamp(22px, 2.8vw, 28px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 52px 0 16px;
}

.article-body h3 {
  font-family: var(--lp-heading-font);
  font-size: 18px;
  font-weight: 700;
  margin: 30px 0 10px;
}

.article-body p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--lp-ink);
  margin: 0 0 18px;
}

.article-body p.article-muted {
  color: var(--lp-ink-soft);
  font-size: 13.5px;
}

.article-body ul,
.article-body ol {
  margin: 0 0 18px;
  padding-left: 22px;
}

.article-body li {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 8px;
  color: var(--lp-ink);
}

.article-body strong { font-weight: 700; }

.article-body a {
  color: var(--lp-ink);
  text-decoration: underline;
  text-decoration-color: var(--lp-mint-deep);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

/* comparison table */
.article-table-wrap {
  overflow-x: auto;
  margin: 0 0 28px;
  border: 3px solid var(--lp-border);
  border-radius: 14px;
  box-shadow: var(--lp-shadow);
  background: #fff;
}

.article-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  min-width: 640px;
}

.article-table th,
.article-table td {
  padding: 13px 15px;
  text-align: left;
  border-bottom: 2px solid var(--lp-border);
  vertical-align: top;
}

.article-table th {
  background: var(--lp-bg-deep);
  font-weight: 700;
  white-space: nowrap;
  font-family: var(--lp-heading-font);
}

.article-table tbody tr:last-child td { border-bottom: none; }

.article-table td.is-haven-col,
.article-table th.is-haven-col {
  background: var(--lp-mint-light);
  font-weight: 700;
}

.article-check { color: #2f6b34; font-weight: 700; }
.article-cross { color: var(--lp-ink-faint); }

/* callout boxes */
.article-callout {
  background: #fff;
  border: 3px solid var(--lp-border);
  border-left: 6px solid var(--lp-yellow-deep);
  border-radius: 12px;
  box-shadow: var(--lp-shadow);
  padding: 20px 22px;
  margin: 0 0 28px;
}
.article-callout p:last-child { margin-bottom: 0; }

.article-callout-honest {
  border-left-color: var(--lp-purple-deep);
}

.article-cta {
  margin-top: 56px;
  padding: 40px 32px;
  border-radius: 20px;
  background: #fff;
  border: 3px solid var(--lp-border);
  box-shadow: var(--lp-shadow-lg);
  text-align: center;
}
.article-cta h2 {
  margin-top: 0 !important;
}
.article-cta p {
  color: var(--lp-ink-soft);
  max-width: 460px;
  margin: 0 auto 20px !important;
}

/* terminal-style code panel (real output, not a mockup screenshot) */
.article-terminal {
  background: var(--lp-ink);
  border: 3px solid var(--lp-border);
  border-radius: 14px;
  box-shadow: var(--lp-shadow);
  overflow: hidden;
  margin: 0 0 28px;
}
.article-terminal-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 2px solid #333;
}
/* Traffic-light window chrome — deliberately outside the --lp-* palette
   (a decorative convention, not a brand color), except where a token
   already matches. #ff6459 has no --lp-* equivalent on purpose. */
.article-terminal-dot { width: 11px; height: 11px; border-radius: 50%; }
.article-terminal-dot:nth-child(1) { background: #ff6459; }
.article-terminal-dot:nth-child(2) { background: var(--lp-yellow); }
.article-terminal-dot:nth-child(3) { background: var(--lp-mint); }
.article-terminal-label {
  margin-left: 8px;
  font-family: var(--lp-mono-font);
  font-size: 11.5px;
  color: #999;
}
.article-terminal pre {
  margin: 0;
  padding: 18px 20px;
  font-family: var(--lp-mono-font);
  font-size: 12.5px;
  line-height: 1.6;
  color: #d8f9a8;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-word;
}
.article-terminal .is-comment { color: #7a7a7a; }

/* compact feature-chip grid, e.g. "also included" lists */
.article-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 28px;
}
/* Base pill styling shared with css/landing.css's .lp-pill (same class
   applied alongside this one in the HTML) — only the flat color here is
   specific to this grid, overriding .lp-pill's nth-child color cycling. */
.lp-pill.article-chip { background: var(--lp-purple-light); }

.article-footnote {
  margin-top: 56px;
  padding-top: 20px;
  border-top: 2px solid var(--lp-border);
  font-size: 13px;
  line-height: 1.6;
  color: var(--lp-ink-faint);
}

@media (max-width: 640px) {
  .article-main { padding: 44px 18px 64px; }
}
