/*
 * Spendrobe guides (C61): the C50 warm editorial look (tokens and fonts come from ../landing.css), set for long reading.
 * No scripts, images or web fonts. Draft pages: not part of the landing build until the owner approves the deploy.
 */
.top nav { display: flex; align-items: center; gap: 0.4rem 1.1rem; font-size: 0.92rem; }
.top nav a { color: var(--ink); text-decoration: none; }
.top nav a:hover, .top nav a[aria-current='page'] { color: var(--accent); }

.article { max-width: 44rem; margin: 0 auto; padding: 1rem 20px 3rem; animation: rise 240ms var(--ease) both; }
.article h1 { font-size: clamp(2.3rem, 6vw, 3.4rem); line-height: 1.08; margin-bottom: 1rem; }
.article .lead { max-width: none; font-size: 1.15rem; margin-bottom: 0.75rem; }
.article h2 { font: 400 1.6rem/1.25 var(--serif); margin: 2.6rem 0 0.6rem; text-wrap: balance; }
.article h3 { font: 600 1rem/1.4 var(--sans); margin: 1.6rem 0 0.25rem; }
.article p, .article li { max-width: 40rem; }
.article ul, .article ol { padding-left: 1.2rem; }
.article li { margin: 0.45rem 0; }
.article li::marker { color: var(--accent); }
.meta { color: var(--soft); font-size: 0.86rem; margin: 0 0 1.5rem; }

/* A short aside: our own rule of thumb, kept visibly apart from sourced facts. */
.aside { margin: 1.75rem 0; padding: 1.1rem 1.3rem; border-radius: 1rem; background: var(--card); box-shadow: var(--shadow); }
.aside h3 { margin: 0 0 0.35rem; font: 600 0.72rem/1.3 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.aside p, .aside ul { margin: 0.35rem 0 0; }

.table-wrap { overflow-x: auto; margin: 1.25rem 0; border-radius: 1rem; background: var(--card); box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; font-size: 0.94rem; }
th, td { text-align: left; padding: 0.7rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font: 600 0.72rem/1.3 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--soft); }
tr:last-child td { border-bottom: 0; }
td.num { font-family: var(--serif); font-size: 1.05rem; color: var(--accent); white-space: nowrap; }

.cards { list-style: none; padding: 0 !important; display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 1rem; margin: 1.5rem 0 0; }
.cards li { margin: 0; max-width: none; }
.cards a { display: block; height: 100%; padding: 1.2rem 1.3rem; border-radius: 1rem; background: var(--card); box-shadow: var(--shadow); color: var(--ink); text-decoration: none; transition: transform 180ms var(--ease), color 180ms var(--ease); }
.cards a:hover { transform: translateY(-2px); }
.cards strong { display: block; font: 400 1.3rem/1.25 var(--serif); margin-bottom: 0.35rem; }
.cards a:hover strong { color: var(--accent); }
.cards span { color: var(--soft); font-size: 0.93rem; line-height: 1.5; display: block; }

.next { margin: 2.5rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--line); font-family: var(--serif); font-size: 1.2rem; }

.sources { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); color: var(--soft); font-size: 0.84rem; line-height: 1.55; }
.sources h2 { font: 600 0.72rem/1.3 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--soft); margin: 0 0 0.5rem; }
.sources ul { padding-left: 1rem; margin: 0; }
.sources li { margin: 0.3rem 0; max-width: none; overflow-wrap: anywhere; }

.foot-nav { display: flex; flex-wrap: wrap; gap: 0.35rem 1.1rem; margin: 0 0 0.9rem; }

@media (max-width: 46rem) {
  .top { flex-wrap: wrap; }
  .article { padding-top: 0.25rem; }
  .article .lead { font-size: 1.06rem; }
  th, td { padding: 0.6rem 0.75rem; }
  .cards { grid-template-columns: 1fr; }
}
