/* Styling for /blog/ and the article pages. Sits on top of legal.css (theme
   tokens, nav) and compare.css (accent tokens, hero, cards, CTA band), both
   of which every blog page links alongside this one — so this file only adds
   what a long-form article actually needs: an index listing and a prose
   column. */

/* ─── Index listing ──────────────────────────────────────────────────────── */

.blog-list { display: flex; flex-direction: column; gap: 0; margin-bottom: 88px; }

/* Rows on hairlines rather than a grid of boxes — the same treatment the
   landing page's FAQ uses, for one list language across the site. */
.blog-row {
  display: block;
  text-decoration: none;
  padding: 28px 4px;
  border-top: 1px solid var(--color-border);
  transition: padding-left 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.blog-list .blog-row:last-child { border-bottom: 1px solid var(--color-border); }
.blog-row:hover { padding-left: 12px; }

.blog-row-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 10px;
}
.blog-row h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(20px, 1.5vw, 27px);
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--color-text);
  margin: 0 0 8px;
}
.blog-row p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--color-muted);
  margin: 0;
  max-width: 68ch;
}

/* ─── Article ────────────────────────────────────────────────────────────── */

/* The top padding is load-bearing: the hero above ends on the lede, which is
   set in the same size range as body copy. Without a gap here the lede ran
   straight into the first paragraph and read as one runaway block. */
.article {
  max-width: 720px;
  margin: 0 auto;
  padding: 36px 24px 96px;
}

.article-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 18px;
}

.article h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(21px, 1.8vw, 28px);
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: var(--color-text);
  margin: 52px 0 14px;
}

.article h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin: 32px 0 10px;
}

.article p { font-size: 16px; line-height: 1.75; color: var(--color-body); margin: 0 0 18px; }
.article ul, .article ol { padding-left: 22px; margin: 0 0 18px; }
.article li { font-size: 16px; line-height: 1.75; color: var(--color-body); margin-bottom: 10px; }
.article strong { color: var(--color-text); font-weight: 600; }
.article a { color: var(--color-link); text-decoration: underline; text-underline-offset: 3px; }

/* A pulled-out line that states the article's own conclusion — the piece
   should still make its point to someone who only skims the page. */
.article-callout {
  border-left: 2px solid var(--color-link);
  padding: 4px 0 4px 20px;
  margin: 32px 0;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

.article-lede { font-size: 18.5px; line-height: 1.7; color: var(--color-muted); margin-bottom: 8px; }

/* Definition rows — term on its own line above the explanation, so a
   scanning reader can find the one term they came for. */
.article-defs { border-top: 1px solid var(--color-border); margin: 28px 0; }
.article-def { border-bottom: 1px solid var(--color-border); padding: 18px 0; }
.article-def dt {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--color-link);
  margin-bottom: 6px;
}
.article-def dd { margin: 0; font-size: 15px; line-height: 1.7; color: var(--color-body); }

.article-next {
  border-top: 1px solid var(--color-border);
  margin-top: 56px;
  padding-top: 28px;
}
.article-next-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 14px;
}

/* Byline under the lede, and the single product line that closes each post. */
.article-byline { margin: 16px 0 0; font-size: 13px; color: var(--color-muted, #6d7480); }
.article-secorvia { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--color-border, #dedfe2); font-size: 14px; color: var(--color-muted, #6d7480); }
.article .cmp-table-wrap { margin: 18px 0 24px; }
.article .cmp-table caption { caption-side: top; text-align: left; padding: 0 0 10px; font-size: 13px; color: var(--color-muted, #6d7480); }
.article pre { margin: 18px 0 22px; padding: 14px 16px; overflow-x: auto; border: 1px solid var(--color-border, #dedfe2); border-radius: 10px; background: var(--color-surface, rgba(127,127,127,0.06)); font-size: 12.5px; line-height: 1.6; }
.article pre code { background: none; padding: 0; border: 0; font-size: inherit; white-space: pre; }
