/* ==========================================================================
   Adesse — articles section stylesheet (extends styles.css, same tokens).
   Article pages are quiet reading pages: no reveal animations, no JS.
   Loaded AFTER styles.css on /articles/ pages only.
   ========================================================================== */

/* ---- Article page layout ---- */
.article-header { padding-block: clamp(2.5rem, 6vw, 4.5rem) 0; }
.article-header h1 { max-width: 20ch; }

.byline {
  font-family: var(--sans);
  font-size: 0.9375rem;
  color: var(--taupe);
  margin-top: 1.25rem;
}

.article-body { padding-block: clamp(2rem, 5vw, 3.5rem) clamp(3.5rem, 8vw, 6.5rem); }
.article-body > .container > * + * { margin-top: 1rem; }
.article-body h2 {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
  max-width: 24ch;
}
.article-body h3 { margin-top: 2rem; margin-bottom: 0.75rem; }
.article-body ul, .article-body ol {
  max-width: var(--measure);
  padding-left: 1.4rem;
}
.article-body li + li { margin-top: 0.5rem; }
.article-body .lede { font-size: 1.25rem; }

/* Breadcrumb back-link above the headline */
.crumb {
  font-family: var(--sans);
  font-size: 0.9375rem;
  margin-bottom: 1.75rem;
}
.crumb a { color: var(--taupe); text-decoration: none; }
.crumb a:hover { color: var(--amber-ink); }

/* ---- Comparison table ---- */
/* Wide content scrolls inside its own container; the page never scrolls sideways. */
.table-scroll {
  overflow-x: auto;
  margin-block: 2rem;
  max-width: 60rem;
  border: 1px solid var(--hairline);
  border-radius: 16px;
  background: var(--card);
}
.compare-table {
  border-collapse: collapse;
  width: 100%;
  min-width: 640px;
  font-family: var(--sans);
  font-size: 0.9875rem;
}
.compare-table caption {
  text-align: left;
  font-family: var(--sans);
  font-size: 0.9375rem;
  color: var(--taupe);
  padding: 1rem 1.25rem 0;
}
.compare-table th, .compare-table td {
  text-align: left;
  vertical-align: top;
  padding: 0.8rem 1.25rem;
  border-top: 1px solid var(--hairline);
}
.compare-table thead th { border-top: 0; font-weight: 600; white-space: nowrap; }
.compare-table tbody th { font-weight: 600; white-space: nowrap; }
.compare-table td { color: var(--taupe); }

/* ---- Inline waitlist CTA band on article pages ---- */
.article-cta {
  margin-block: clamp(2.5rem, 5vw, 3.5rem) 0;
  background: var(--card);
  border: 1px solid var(--hairline);
  border-left: 3px solid var(--marigold);
  border-radius: 16px;
  padding: 1.75rem 2rem;
  max-width: 56rem;
}
.article-cta h2, .article-body .article-cta h2 { margin-top: 0; margin-bottom: 0.5rem; font-size: clamp(1.375rem, 2vw, 1.75rem); }
.article-cta p { font-family: var(--sans); font-size: 1.0625rem; color: var(--taupe); }
.article-cta .btn { margin-top: 1.25rem; }

/* ---- Articles index ---- */
.article-list {
  list-style: none;
  padding-left: 0;
  margin-top: 2.5rem;
  display: grid;
  gap: 1.25rem;
  max-width: 56rem;
}
.article-card {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 1.75rem 2rem;
}
.article-card h2 { font-size: clamp(1.375rem, 2vw, 1.75rem); line-height: 1.25; margin: 0.25rem 0 0.625rem; }
.article-card h2 a { color: var(--ink); text-decoration: none; }
.article-card h2 a:hover { color: var(--amber-ink); }
.article-card p { font-family: var(--sans); font-size: 1.0625rem; color: var(--taupe); }
.article-card .small { margin-top: 0.75rem; }
