/* ============================================================
   briewieselman.com — Insights (articles) layer
   Generated by _build_articles.py. Do not hand-edit.
   Extends styles.css. Uses the site's own tokens only:
   --ink / --ink-2 / --accent / --bg-deep / --paper / --rule / --muted
   and --serif (Newsreader) / --sans (Plus Jakarta) / --mono (JetBrains).
   ============================================================ */

/* ---------- article prose ---------- */
.article { max-width: 720px; }
.article > h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.5rem, 2.9vw, 2.05rem); line-height: 1.1;
  letter-spacing: -0.02em; color: var(--ink);
  margin: clamp(42px, 5vw, 58px) 0 16px; text-wrap: balance;
}
.article > h2:first-child { margin-top: 0; }
.article h3 { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; line-height: 1.15; margin: 30px 0 10px; color: var(--ink); }
.article p { font-size: 1.08rem; line-height: 1.72; color: var(--ink-2); margin: 0 0 20px; }
.article ul, .article ol { font-size: 1.08rem; line-height: 1.72; color: var(--ink-2); padding-left: 22px; margin: 0 0 22px; }
.article li { margin-bottom: 12px; }
.article li::marker { color: var(--accent); }
.article strong { font-weight: 500; color: var(--ink); }
.article a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(178,62,16,0.45); }
.article a:hover { color: var(--accent); text-decoration-color: var(--accent); }
.article sup a { text-decoration: none; color: var(--accent); font-size: 0.72em; padding-left: 1px; }

/* the direct-answer paragraph — the block AI answer engines lift */
.answer {
  background: var(--bg-deep); border-left: 3px solid var(--accent);
  border-radius: 0 6px 6px 0; padding: clamp(22px, 3vw, 30px) clamp(22px, 3vw, 34px);
  margin: 0 0 clamp(32px, 4vw, 44px);
}
.answer p { font-family: var(--serif); font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.5; color: var(--ink); margin: 0 0 14px; }
.answer p:last-child { margin-bottom: 0; }
.answer .who { font-family: var(--sans); font-size: 1rem; line-height: 1.6; color: var(--ink-2); }

/* tables */
.article table { width: 100%; border-collapse: collapse; margin: 8px 0 26px; font-size: 0.97rem; }
.article thead th {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); text-align: left; font-weight: 400;
  border-bottom: 1px solid var(--ink); padding: 0 14px 10px 0; vertical-align: bottom;
}
.article td { padding: 14px 14px 14px 0; border-bottom: 1px solid var(--rule); vertical-align: top; color: var(--ink-2); line-height: 1.55; }
.article tbody tr td:first-child { color: var(--ink); font-weight: 500; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* callouts, disclaimer, byline, references */
.note { background: var(--paper); border: 1px solid var(--rule); border-radius: 6px; padding: 20px 24px; margin: 0 0 26px; }
.note p { margin: 0; font-size: 1rem; }
.disclaimer { border-top: 1px solid var(--rule); margin-top: 40px; padding-top: 22px; }
.disclaimer p { font-size: 0.95rem; line-height: 1.65; color: var(--muted); font-style: italic; margin: 0; }
.refs { margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--rule); }
.refs ol { font-size: 0.95rem; line-height: 1.6; color: var(--muted); padding-left: 20px; margin: 0; }
.refs li { margin-bottom: 10px; }
.refs a { color: var(--muted); }
.byline { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--ink); }
.byline p { font-size: 1rem; line-height: 1.6; color: var(--ink-2); margin: 0; }
.byline strong { color: var(--ink); font-weight: 500; }

/* FAQ block */
.faq .row { padding: 26px 0; }
.faq .row h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.18; margin: 0; color: var(--ink); }
.faq .row p { font-size: 1.03rem; line-height: 1.68; color: var(--ink-2); margin: 12px 0 0; }

/* related reading */
.related ul { list-style: none; padding: 0; margin: 0; }
.related li { border-bottom: 1px solid var(--rule); padding: 16px 0; }
.related li:first-child { border-top: 1px solid var(--ink); }
.related a { font-family: var(--serif); font-size: 1.18rem; line-height: 1.25; color: var(--ink); text-decoration: none; display: block; }
.related a:hover { color: var(--accent); }

/* ---------- hub index rows ---------- */
.idx { border-top: 1px solid var(--ink); }
.idx-row {
  display: grid; grid-template-columns: 90px 1.9fr 150px; gap: clamp(20px, 3vw, 44px);
  align-items: start; padding: clamp(26px, 3vw, 38px) 0;
  border-bottom: 1px solid var(--rule); text-decoration: none;
}
.idx-row:hover .idx-title { color: var(--accent); }
.idx-num { font-family: var(--serif); font-style: italic; font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1; color: var(--accent); }
.idx-title { font-family: var(--serif); font-weight: 400; font-size: clamp(1.4rem, 2.3vw, 1.85rem); line-height: 1.14; letter-spacing: -0.015em; color: var(--ink); margin: 0; transition: color .15s ease; text-wrap: balance; }
.idx-dek { font-size: 1rem; line-height: 1.6; color: var(--ink-2); margin: 14px 0 0; max-width: 620px; }
.idx-meta { text-align: right; }
.idx-meta .label { display: block; }
.idx-meta .label + .label { margin-top: 8px; }

@media (max-width: 860px) {
  .idx-row { grid-template-columns: 60px 1fr; }
  .idx-meta { grid-column: 2; text-align: left; margin-top: 14px; }
  .idx-meta .label { display: inline; }
  .idx-meta .label + .label::before { content: " · "; }
}
@media (max-width: 600px) {
  .article > h2 { font-size: 1.5rem; }
  .article p, .article ul, .article ol { font-size: 1.05rem; }
  .article table { font-size: 0.94rem; }
}
