/* Quiet Ledger -- Insights surface (loaded only on the posts index and single
 * posts, where body carries .insights-surface).
 *
 * The Payload Insights app shipped its own stylesheet rather than site.css,
 * and a handful of shared class names drifted (hero padding, display sizes,
 * factline rules). This file is the generated, scoped diff of that stylesheet
 * against site.css: every CMS rule that is absent from or different than
 * site.css, prefixed under .insights-surface, minus the masthead/nav/footer
 * chrome (the shared WordPress chrome stays uniform site-wide).
 * Regenerate: see wordpress/seed/README notes; source globals.css is frozen
 * in git history at website/cms/src/app/(frontend)/globals.css. */

.insights-surface {
  --bg: #fafbfc;
  --surface: #ecf2f5;
  --surface-card: #ffffff;
  --ink: #170d33;
  --ink-muted: #544c6b;
  --brand: #42296b;
  --brand-hover: #352155;
  --money: #004a59;
  --highlight: rgba(117, 201, 204, 0.22);
  --highlight-strong: rgba(117, 201, 204, 0.55);
  --guarantee-bg: #e7f2f3;
  --border: #dce5ea;
  --border-strong: #c7bdda;
  --paper-on-dark: #fafbfc;
  --desk: #d5dee4;
  --font-display: "Newsreader", Georgia, serif;
  --font-body: "Instrument Sans", sans-serif;
  --font-numeric: "Spline Sans Mono", monospace;
}

body.insights-surface {
  max-width: 1440px;
  min-height: 100vh;
  margin: 0 auto;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.62;
  letter-spacing: -0.008em;
}

.insights-surface a {
  color: var(--brand);
  text-decoration-color: var(--highlight-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.insights-surface a:hover {
  color: var(--brand-hover);
}

.insights-surface h1,
.insights-surface h2,
.insights-surface h3,
.insights-surface p {
  margin-top: 0;
}

.insights-surface h1,
.insights-surface h2,
.insights-surface h3 {
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.018em;
}

.insights-surface .wrap {
  width: min(100% - 96px, 1200px);
  margin-inline: auto;
}

.insights-surface .reading {
  width: min(100%, 780px);
  margin-inline: auto;
}

.insights-surface .btn {
  display: inline-block;
  padding: 14px 28px;
  border: 1px solid transparent;
  border-radius: 3px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  transition:
    background-color 200ms ease-out,
    border-color 200ms ease-out,
    color 200ms ease-out;
}

.insights-surface .hero {
  padding: 128px 0 104px;
}

.insights-surface .hero-inner {
  max-width: 820px;
}

.insights-surface .kicker,
.insights-surface .fact-ledger__label,
.insights-surface .article-meta,
.insights-surface .insight-meta {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.insights-surface .kicker {
  margin-bottom: 24px;
  color: var(--brand);
}

.insights-surface .display-page {
  max-width: 18ch;
  margin-bottom: 28px;
  font-size: clamp(3rem, 5.5vw, 4.5rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.025em;
}

.insights-surface .subhead,
.insights-surface .article-deck {
  max-width: 62ch;
  color: var(--ink-muted);
  font-size: 18px;
  line-height: 1.62;
}

.insights-surface .factline-rule {
  max-width: 780px;
  margin-top: 48px;
  padding-top: 18px;
  border-top: 1px solid var(--border-strong);
}

.insights-surface .factline {
  margin-bottom: 0;
  color: var(--ink-muted);
}

.insights-surface .section-head {
  max-width: 680px;
  margin-bottom: 56px;
}

.insights-surface .section-head h2 {
  margin-bottom: 18px;
  font-size: 38px;
  line-height: 1.15;
}

.insights-surface .section-head p {
  color: var(--ink-muted);
}

.insights-surface .insights-list {
  border-top: 1px solid var(--border-strong);
}

.insights-surface .insight-row {
  display: grid;
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
  grid-template-columns: 176px minmax(0, 1fr);
  gap: 48px;
}

.insights-surface .insight-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--ink-muted);
}

.insights-surface .insight-title {
  max-width: 25ch;
  margin-bottom: 16px;
  font-size: 30px;
  line-height: 1.18;
}

.insights-surface .insight-title a {
  color: var(--ink);
  text-decoration: none;
}

.insights-surface .insight-title a:hover {
  color: var(--brand);
}

.insights-surface .insight-excerpt {
  max-width: 64ch;
  margin-bottom: 16px;
  color: var(--ink-muted);
}

.insights-surface .textlink {
  font-size: 15px;
  font-weight: 500;
}

.insights-surface .section--band {
  padding: 96px 0;
  background: var(--brand);
  color: var(--paper-on-dark);
}

.insights-surface .band-inner {
  display: grid;
  align-items: end;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
}

.insights-surface .band h2 {
  max-width: 18ch;
  margin-bottom: 12px;
  color: var(--paper-on-dark);
  font-size: 38px;
  line-height: 1.15;
}

.insights-surface .band p {
  max-width: 58ch;
  margin-bottom: 0;
  color: rgba(250, 251, 252, 0.82);
}

.insights-surface .article-header {
  padding: 112px 0 64px;
}

.insights-surface .article-header .display-page {
  max-width: 19ch;
  font-size: clamp(2.8rem, 5.2vw, 4.2rem);
}

.insights-surface .article-deck {
  margin: 0 0 32px;
}

.insights-surface .article-meta {
  display: flex;
  padding-top: 18px;
  border-top: 1px solid var(--border-strong);
  color: var(--ink-muted);
  flex-wrap: wrap;
  gap: 8px 24px;
}

.insights-surface .draft-notice {
  padding: 14px 0;
  background: var(--guarantee-bg);
  border-bottom: 1px solid var(--border-strong);
  color: var(--money);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

.insights-surface .fact-ledger {
  margin: 8px 0 72px;
  padding: 32px;
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: 3px;
}

.insights-surface .fact-ledger__label {
  margin-bottom: 24px;
  color: var(--brand);
}

.insights-surface .fact-ledger__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.insights-surface .fact-ledger__item {
  padding-top: 18px;
  border-top: 1px solid var(--border-strong);
}

.insights-surface .fact-ledger__value {
  margin-bottom: 8px;
  color: var(--money);
  font-family: var(--font-numeric);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
}

.insights-surface .fact-ledger__item > p:not(.fact-ledger__value) {
  min-height: 5.2em;
  color: var(--ink-muted);
  font-size: 14px;
  line-height: 1.48;
}

.insights-surface .fact-ledger__item a {
  font-size: 13.5px;
}

.insights-surface .article-shell {
  padding-bottom: 128px;
}

.insights-surface .article-body {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.72;
}

.insights-surface .article-body p,
.insights-surface .article-body ol,
.insights-surface .article-body ul {
  margin-bottom: 28px;
}

.insights-surface .article-body h2 {
  margin: 72px 0 24px;
  font-size: 28px;
  line-height: 1.28;
}

.insights-surface .article-body h3 {
  margin: 52px 0 18px;
  font-size: 23px;
  line-height: 1.3;
}

.insights-surface .article-body a {
  text-decoration-thickness: 1px;
}

.insights-surface .article-body li {
  margin-bottom: 14px;
  padding-left: 8px;
}

.insights-surface .article-body strong {
  font-weight: 500;
}

.insights-surface .article-body .exhibit {
  margin: 40px 0 44px;
}

.insights-surface .article-body .exhibit img {
  display: block;
  width: 100%;
  height: auto;
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 12px;
  box-sizing: border-box;
}

.insights-surface .article-body .exhibit figcaption {
  margin-top: 10px;
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-muted);
}

.insights-surface .article-body .exhibit figcaption a {
  color: var(--ink-muted);
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.insights-surface .article-body blockquote {
  margin: 48px 0;
  padding-left: 24px;
  border-left: 2px solid var(--border-strong);
  font-style: italic;
}

.insights-surface .article-signoff {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--border-strong);
  font-family: var(--font-display);
  font-size: 19px;
}

.insights-surface .error-page {
  min-height: 60vh;
  padding: 128px 0;
}

.insights-surface .error-page__home {
  margin-left: 24px;
}

@media (max-width: 860px) {
.insights-surface .wrap {
    width: min(100% - 64px, 1200px);
  }

}

@media (max-width: 720px) {
.insights-surface .wrap {
    width: min(100% - 44px, 1200px);
  }

.insights-surface .hero {
    padding: 88px 0 72px;
  }

.insights-surface .display-page {
    font-size: clamp(2.55rem, 12vw, 3.5rem);
  }

.insights-surface .section {
    padding: 88px 0;
  }

.insights-surface .insight-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

.insights-surface .insight-meta {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px 16px;
  }

.insights-surface .band-inner {
    align-items: start;
    grid-template-columns: 1fr;
  }

.insights-surface .article-header {
    padding: 80px 0 48px;
  }

.insights-surface .article-body {
    font-size: 18px;
  }

.insights-surface .fact-ledger {
    padding: 24px;
  }

.insights-surface .fact-ledger__grid {
    grid-template-columns: 1fr;
  }

.insights-surface .fact-ledger__item > p:not(.fact-ledger__value) {
    min-height: 0;
  }

}

@media (prefers-reduced-motion: reduce) {
.insights-surface *,
.insights-surface *::before,
.insights-surface *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

}
