:root {
  --article-ink: #111111;
  --article-paper: #FFFFFF;
  --article-soft: #F7F6F2;
  --article-text: #222222;
  --article-grey: #6B6B6B;
  --article-line: rgba(17, 17, 17, 0.14);
  --article-accent: #A86400;
  --article-pad: clamp(1.25rem, 4vw, 2.5rem);
  --article-mono: ui-monospace, 'JetBrains Mono', SFMono-Regular, Menlo, monospace;
}

body.insight-article {
  --ink: var(--article-ink);
  --ink-2: var(--article-ink);
  --cream: var(--article-paper);
  --cream-deep: var(--article-soft);
  --paper: var(--article-paper);
  --soft: var(--article-soft);
  --text: var(--article-text);
  --grey: var(--article-grey);
  --grey-light: var(--article-grey);
  --rule: var(--article-line);
  --line: var(--article-line);
  --amber: var(--article-accent);
  background: var(--article-paper) !important;
  color: var(--article-text) !important;
  font-family: Georgia, 'Times New Roman', serif !important;
  font-size: 20px;
  line-height: 1.72 !important;
  text-wrap: pretty;
  -webkit-font-smoothing: antialiased;
}

body.insight-article a { color: inherit; }

body.insight-article main .container,
body.insight-article main .container-narrow,
body.insight-article main .reading {
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 760px !important;
  padding-left: var(--article-pad) !important;
  padding-right: var(--article-pad) !important;
  width: 100% !important;
}

body.insight-article .site-header .container,
body.insight-article footer .container {
  margin-left: auto;
  margin-right: auto;
  max-width: 1180px !important;
  padding-left: var(--article-pad);
  padding-right: var(--article-pad);
}

body.insight-article .site-header {
  background: rgba(255, 255, 255, 0.95) !important;
  border-bottom: 1px solid var(--article-line) !important;
  color: var(--article-ink) !important;
  position: sticky !important;
  top: 0;
  z-index: 10;
}

body.insight-article .site-header .container {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding-bottom: 1rem !important;
  padding-top: 1rem !important;
}

body.insight-article .wordmark,
body.insight-article .eyebrow,
body.insight-article .meta,
body.insight-article .stat-label,
body.insight-article .question-num,
body.insight-article .principle-num,
body.insight-article .competency-number,
body.insight-article .stage-number {
  font-family: var(--article-mono) !important;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

body.insight-article .wordmark { color: var(--article-ink) !important; font-size: 0.78rem !important; }
body.insight-article .wordmark span,
body.insight-article .eyebrow { color: var(--article-accent) !important; }
body.insight-article .eyebrow { display: block; font-size: 0.64rem !important; margin-bottom: 1.1rem !important; }
body.insight-article .meta { color: var(--article-grey) !important; font-size: 0.62rem !important; margin-top: 1.75rem; }

body.insight-article .header-links { align-items: center; display: flex; gap: 1.2rem; margin-left: auto; margin-right: 1.2rem; }
body.insight-article .header-links a,
body.insight-article .nav-cta { font-family: var(--article-mono) !important; font-size: 0.64rem !important; letter-spacing: 0.04em; text-transform: uppercase; }
body.insight-article .header-links a { color: var(--article-grey) !important; }
body.insight-article .nav-cta { background: transparent !important; border: 1px solid var(--article-ink) !important; color: var(--article-ink) !important; padding: 0.5rem 0.85rem !important; }
body.insight-article .nav-cta:hover { background: var(--article-ink) !important; color: var(--article-paper) !important; }

body.insight-article main > section,
body.insight-article main > article,
body.insight-article section.section--ink,
body.insight-article section.section--cream-deep,
body.insight-article section.soft,
body.insight-article section.takeaway {
  background: transparent !important;
  border: 0 !important;
  color: var(--article-text) !important;
  min-height: auto !important;
  padding-bottom: 2.25rem !important;
  padding-top: 2.25rem !important;
}

body.insight-article main > .hero {
  background: transparent !important;
  color: var(--article-text) !important;
  min-height: auto !important;
  padding-bottom: 3rem !important;
  padding-top: clamp(3.5rem, 8vw, 6rem) !important;
}

body.insight-article h1,
body.insight-article h2,
body.insight-article h3 {
  color: var(--article-ink) !important;
  font-family: Figtree, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.12;
  text-wrap: balance;
}

body.insight-article h1 { font-size: clamp(2.5rem, 5vw, 3.75rem) !important; max-width: 18ch !important; }
body.insight-article h2 { font-size: clamp(1.8rem, 3.8vw, 2.65rem) !important; margin-bottom: 1.35rem !important; max-width: 21ch; }
body.insight-article h3 { font-size: 1.25rem !important; margin-bottom: 0.55rem !important; }
body.insight-article h1 em,
body.insight-article h2 em { color: var(--article-accent) !important; font-style: normal; }

body.insight-article p { max-width: none !important; }
body.insight-article main p,
body.insight-article main li { font-size: inherit; line-height: 1.72; }
body.insight-article main p { margin-bottom: 1.45rem; }
body.insight-article main p:last-child { margin-bottom: 0; }
body.insight-article .hero .lede { color: var(--article-grey) !important; font-size: clamp(1.18rem, 2vw, 1.4rem) !important; line-height: 1.55 !important; margin-top: 1.75rem !important; }
body.insight-article main section:not(.hero) .lede { color: var(--article-text) !important; font-family: Georgia, 'Times New Roman', serif !important; font-size: inherit !important; line-height: 1.72 !important; margin-top: 0 !important; }
body.insight-article .prose h2,
body.insight-article .section-intro h2 { margin-top: 3.5rem; }
body.insight-article .prose h2:first-child,
body.insight-article .section-intro h2:first-child { margin-top: 0; }
body.insight-article main a:not(.btn):not(.button):not(.nav-cta) { text-decoration: underline; text-decoration-color: var(--article-accent); text-underline-offset: 0.2em; }

body.insight-article .hero-cta { display: flex; flex-wrap: wrap; gap: 0.75rem !important; margin-top: 1.5rem !important; }
body.insight-article .btn,
body.insight-article .button { background: transparent !important; border: 1px solid var(--article-line) !important; color: var(--article-ink) !important; font-family: Figtree, -apple-system, sans-serif !important; font-size: 0.78rem !important; margin: 0 !important; padding: 0.65rem 0.9rem !important; }
body.insight-article .btn--amber,
body.insight-article .button { background: var(--article-ink) !important; border-color: var(--article-ink) !important; color: var(--article-paper) !important; }

body.insight-article .position,
body.insight-article .inline-pull,
body.insight-article .pull-quote,
body.insight-article .quote,
body.insight-article .mantra,
body.insight-article .maths-callout,
body.insight-article .five-whys {
  background: transparent !important;
  border-bottom: 1px solid var(--article-line) !important;
  border-left: 0 !important;
  border-right: 0 !important;
  border-top: 1px solid var(--article-line) !important;
  box-shadow: none !important;
  color: var(--article-text) !important;
  margin: 2.5rem 0 !important;
  padding: 1.75rem 0 !important;
}

body.insight-article .position { border-left: 3px solid var(--article-accent) !important; border-bottom: 0 !important; border-top: 0 !important; padding: 0.25rem 0 0.25rem 1.4rem !important; }
body.insight-article .position p,
body.insight-article .inline-pull,
body.insight-article .pull-quote,
body.insight-article .quote p,
body.insight-article .mantra { color: var(--article-ink) !important; font-family: Georgia, 'Times New Roman', serif !important; font-size: clamp(1.35rem, 3vw, 2rem) !important; font-weight: 400 !important; line-height: 1.4 !important; }
body.insight-article .maths-callout__formula { color: var(--article-accent) !important; font-size: clamp(2.4rem, 7vw, 4.5rem) !important; }
body.insight-article .maths-callout__result { color: var(--article-ink) !important; }
body.insight-article .maths-callout__caption,
body.insight-article figcaption,
body.insight-article .quote cite { color: var(--article-grey) !important; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important; font-size: 0.75rem !important; line-height: 1.5 !important; }

body.insight-article .hero-stats,
body.insight-article .proofs,
body.insight-article .compounding,
body.insight-article .questions,
body.insight-article .principles,
body.insight-article .competencies,
body.insight-article .two-col,
body.insight-article .contact-links {
  border-bottom: 1px solid var(--article-line) !important;
  display: block !important;
  margin-top: 2rem !important;
}

body.insight-article .hero-stats > *,
body.insight-article .proof,
body.insight-article .compounding-tile,
body.insight-article .question,
body.insight-article .principle,
body.insight-article .competency,
body.insight-article .category-card,
body.insight-article .training-phase,
body.insight-article .activity-item,
body.insight-article .milestone {
  background: transparent !important;
  border: 0 !important;
  border-top: 1px solid var(--article-line) !important;
  box-shadow: none !important;
  color: var(--article-text) !important;
  margin: 0 !important;
  min-height: 0 !important;
  padding: 1.4rem 0 !important;
}

body.insight-article .proof-num,
body.insight-article .compounding-num,
body.insight-article .pct-badge { color: var(--article-accent) !important; }
body.insight-article .proof-desc,
body.insight-article .hero-stat-copy,
body.insight-article .question p,
body.insight-article .principle p,
body.insight-article .competency p,
body.insight-article .compounding-tile p { color: var(--article-grey) !important; }

body.insight-article .content-table,
body.insight-article .workflow,
body.insight-article .code-block {
  background: var(--article-soft) !important;
  border: 1px solid var(--article-line) !important;
  box-shadow: none !important;
  color: var(--article-text) !important;
  margin: 2rem 0 !important;
  max-width: 100%;
  overflow-x: auto;
}

body.insight-article .cta-block,
body.insight-article .closing {
  background: transparent !important;
  border-top: 1px solid var(--article-line) !important;
  color: var(--article-text) !important;
  margin-top: 2rem !important;
  padding-top: 3rem !important;
}

body.insight-article footer {
  background: transparent !important;
  border-top: 1px solid var(--article-line) !important;
  color: var(--article-grey) !important;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  font-size: 0.78rem !important;
  margin-top: 3rem;
  padding: 2.5rem 0 3.5rem !important;
}

body.insight-article footer .container { align-items: baseline; display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: space-between; }
body.insight-article .reveal,
body.insight-article .reveal.is-visible { opacity: 1 !important; transform: none !important; transition: none !important; }

@media (prefers-color-scheme: dark) {
  :root {
    --article-ink: #F1F1ED;
    --article-paper: #101010;
    --article-soft: #171717;
    --article-text: #DEDEDA;
    --article-grey: #A2A29C;
    --article-line: rgba(255, 255, 255, 0.15);
    --article-accent: #F7B32B;
  }

  body.insight-article .site-header { background: rgba(16, 16, 16, 0.95) !important; }
  body.insight-article .nav-cta:hover { color: #111111 !important; }
}

@media (max-width: 640px) {
  body.insight-article { font-size: 19px; }
  body.insight-article .header-links { display: none; }
  body.insight-article .nav-cta { font-size: 0.58rem !important; padding: 0.45rem 0.6rem !important; }
  body.insight-article .content-table { font-size: 0.78rem; }
}
