/* ============================================================================
 * wuc-blog-osi-post.css — Production stylesheet for the OSI Model flagship blog post
 * Scoped via body.wuc-flagship-osi (added by functions-blog-osi.php body_class filter)
 *
 * Version: 1.0.7  (2026-05-11) — v1.0.7 fixes mobile/tablet rendering.
 *                                Two issues found via Chrome DOM probe at 375px sim:
 *                                  (1) .article-layout grid items missing min-width:0
 *                                      — min-content propagation from the in-body
 *                                      comparison table forced .article-body to render
 *                                      at 440px inside a 307px container (99px overflow
 *                                      cascading to every paragraph, heading, figure,
 *                                      callout). Fix: min-width:0 on .article-toc and
 *                                      .article-body (the grid items). Standard CSS
 *                                      Grid trap: 1fr === minmax(auto, 1fr) by default,
 *                                      and auto = min-content.
 *                                  (2) 12-column comparison table inside .article-body
 *                                      had unbreakable header phrases summing to 436px
 *                                      min-content. At any narrow viewport the table
 *                                      busts the column even after fix (1). Fix: tables
 *                                      become display:block + overflow-x:auto so they
 *                                      scroll horizontally inside the column without
 *                                      breaking page layout.
 *                                v1.0.6 adds .audio-overview block styling
 *                                for the 21:07 audio companion player. Dark navy
 *                                gradient frame to differentiate from text content.
 *                                v1.0.5 added 3 new figures + figure breakout CSS.
 *                                v1.0.4 added Epic EHR context to L7 callout.
 *                                v1.0.3 added kses form/input/button allow-list.
 *                                v1.0.2 added:
 *                                  * Lead-magnet text visibility (specificity bump)
 *                                  * Form submission UI states (loading / success / error)
 *                                v1.0.1 added figure SVG sizing (preserved).
 * Splice: template-edit (CSS only — no opcache wait, no service restart)
 * Owner/mode: daemon:daemon 644
 * Source of truth: derived from wuc-blog-osi-model-prototype-v3.html
 * ============================================================================ */

/* === v1.0.1 — figure SVG sizing.
   Without this, <svg> with only viewBox renders at 0x0 in some Chrome layouts. === */
body.wuc-flagship-osi .figure-block svg { width: 100%; height: auto; display: block; }
body.wuc-flagship-osi .figure-block { margin-top: 32px; margin-bottom: 48px; }

/* === v1.0.5 — Figure breakout for wider rendering at desktop.
   Without this, inline figures get squeezed by the article-body max-width
   to ~383px. Breaking out extends figures up to 920px on desktop. === */
@media (min-width: 1024px) {
	body.wuc-flagship-osi .article-body .figure-block {
		max-width: none;
		width: calc(100% + 120px);
		margin-left: -60px;
	}
}
@media (min-width: 1280px) {
	body.wuc-flagship-osi .article-body .figure-block {
		width: calc(100% + 240px);
		margin-left: -120px;
	}
}
/* Caption: slightly larger typographic emphasis to anchor each diagram */
body.wuc-flagship-osi .figure-block .figure-eyebrow {
	font-size: 11px;
	letter-spacing: 0.14em;
}
body.wuc-flagship-osi .figure-block .figure-title {
	font-size: 18px;
	font-weight: 700;
	line-height: 1.35;
}
body.wuc-flagship-osi .figure-block .figure-caption {
	font-size: 11px;
	letter-spacing: 0.06em;
	padding-top: 6px;
}

/* === v1.0.2 — Lead-magnet text visibility fix.
   The WP theme's .entry-content / .post-content cascade overrides our dark-bg
   color rules. Re-asserting with body-scoped specificity + !important on the
   text elements. Also covers cta-mid + intel-sidebar which have the same
   dark-background-light-text pattern. === */
body.wuc-flagship-osi .lead-magnet,
body.wuc-flagship-osi .lead-magnet *:not(input):not(button) { color: #F1F5F9 !important; }
body.wuc-flagship-osi .lead-magnet .lead-magnet-eyebrow   { color: #60A5FA !important; }
body.wuc-flagship-osi .lead-magnet .lead-magnet-title     { color: #F1F5F9 !important; }
body.wuc-flagship-osi .lead-magnet .lead-magnet-body      { color: #CBD5E1 !important; }
body.wuc-flagship-osi .lead-magnet .lead-magnet-fineprint { color: #94A3B8 !important; }
body.wuc-flagship-osi .lead-magnet input { color: #F1F5F9 !important; }
body.wuc-flagship-osi .lead-magnet input::placeholder { color: #64748B !important; }

/* Apply same defensive overrides to other dark-bg cards. */
body.wuc-flagship-osi .cta-card.cta-mid,
body.wuc-flagship-osi .cta-card.cta-mid *:not(a) { color: #F1F5F9 !important; }
body.wuc-flagship-osi .cta-card.cta-mid .cta-card-eyebrow { color: #60A5FA !important; }
body.wuc-flagship-osi .cta-card.cta-mid .cta-card-body    { color: #CBD5E1 !important; }
body.wuc-flagship-osi .cta-card.cta-mid .cta-card-fineprint { color: #94A3B8 !important; }

body.wuc-flagship-osi .intel-sidebar,
body.wuc-flagship-osi .intel-sidebar * { color: #CBD5E1 !important; }
body.wuc-flagship-osi .intel-sidebar h3 { color: #F1F5F9 !important; }
body.wuc-flagship-osi .intel-sidebar p strong { color: #F1F5F9 !important; }
body.wuc-flagship-osi .intel-sidebar-eyebrow { color: #60A5FA !important; }

body.wuc-flagship-osi .figure-block.dark-frame .figure-title { color: #F1F5F9 !important; }
body.wuc-flagship-osi .figure-block.dark-frame .figure-eyebrow { color: #60A5FA !important; }
body.wuc-flagship-osi .figure-block.dark-frame .figure-caption { color: #94A3B8 !important; }

/* === v1.0.2 — Lead-magnet form UI states (submitting / success / error) === */
body.wuc-flagship-osi .lead-magnet-form.is-submitting button {
	opacity: .7; pointer-events: none; cursor: wait;
}
body.wuc-flagship-osi .lead-magnet-status {
	display: none;
	margin-top: 14px;
	padding: 12px 14px;
	border-radius: 6px;
	font-size: 14px;
	line-height: 1.45;
	font-family: var(--font-display, 'Inter', system-ui, sans-serif);
}
body.wuc-flagship-osi .lead-magnet-status.is-visible { display: block; }
body.wuc-flagship-osi .lead-magnet-status.is-success {
	background: rgba(34, 197, 94, .15);
	color: #BBF7D0 !important;
	border: 1px solid rgba(34, 197, 94, .35);
}
body.wuc-flagship-osi .lead-magnet-status.is-error {
	background: rgba(239, 68, 68, .15);
	color: #FECACA !important;
	border: 1px solid rgba(239, 68, 68, .35);
}

/* === v1.0.6 — Audio overview block (21:07 NotebookLM-style companion). =======
   Dark navy gradient frame, enterprise-blue accent. Sits between exec summary
   and Figure 01 so readers see a text TL;DR first, then can choose to listen.
   Native HTML5 <audio> controls — no custom player JS (avoids a11y regressions). */
body.wuc-flagship-osi .audio-overview {
	background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
	border: 1px solid rgba(255, 255, 255, .08);
	border-left: 4px solid #2563EB;
	border-radius: 12px;
	padding: 28px 32px 24px;
	margin: 36px 0 48px;
	color: #F1F5F9;
	box-shadow: 0 8px 24px rgba(15, 23, 42, .12);
}
body.wuc-flagship-osi .audio-overview-head {
	margin-bottom: 18px;
}
body.wuc-flagship-osi .audio-overview-eyebrow-row {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 10px;
	flex-wrap: wrap;
}
body.wuc-flagship-osi .audio-overview-eyebrow {
	font-family: 'JetBrains Mono', ui-monospace, monospace;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: #60A5FA;
}
body.wuc-flagship-osi .audio-overview-duration {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: 'JetBrains Mono', ui-monospace, monospace;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: .04em;
	color: #94A3B8;
	padding: 3px 10px;
	background: rgba(37, 99, 235, .12);
	border: 1px solid rgba(96, 165, 250, .25);
	border-radius: 999px;
}
body.wuc-flagship-osi .audio-overview-duration svg {
	width: 12px;
	height: 12px;
	opacity: .8;
}
body.wuc-flagship-osi .audio-overview-title {
	font-size: 22px;
	line-height: 1.25;
	font-weight: 700;
	color: #F8FAFC !important;
	margin: 0 0 8px;
	letter-spacing: -0.01em;
}
body.wuc-flagship-osi .audio-overview-desc {
	font-size: 15px;
	line-height: 1.55;
	color: #CBD5E1 !important;
	margin: 0;
	font-weight: 400;
}
body.wuc-flagship-osi .audio-overview-player {
	width: 100%;
	margin: 18px 0 14px;
	display: block;
	min-height: 40px;
	border-radius: 8px;
	/* Light filter so default chrome controls render well on dark background */
	background: rgba(255, 255, 255, .04);
	filter: invert(0.05);
}
/* Safari/WebKit: lighten the inverted-color quirk that hides the scrubber */
@supports (-webkit-appearance: none) {
	body.wuc-flagship-osi .audio-overview-player::-webkit-media-controls-panel {
		background-color: rgba(15, 23, 42, .6);
	}
}
body.wuc-flagship-osi .audio-overview-credit {
	font-family: 'JetBrains Mono', ui-monospace, monospace;
	font-size: 11px;
	line-height: 1.5;
	letter-spacing: .02em;
	color: #94A3B8 !important;
	margin: 8px 0 0;
}
/* Mobile compaction */
@media (max-width: 640px) {
	body.wuc-flagship-osi .audio-overview {
		padding: 22px 18px 18px;
		margin: 28px 0 36px;
	}
	body.wuc-flagship-osi .audio-overview-title {
		font-size: 19px;
	}
	body.wuc-flagship-osi .audio-overview-desc {
		font-size: 14px;
	}
}

/* === v1.0.7 — Mobile/tablet rendering fixes ================================
   Fix #1: CSS Grid track min-content trap.
   .article-layout collapses to grid-template-columns: 1fr at <1024px. By default
   1fr means minmax(auto, 1fr) and auto = min-content. The wide 12-column table
   inside .article-body has min-content of 436px, which forced the grid track to
   436-440px wide even when the container was only 307px (mobile). Result: 99px
   horizontal overflow cascading to every descendant.
   Solution: explicit min-width:0 on the grid items breaks the min-content chain
   so the track honors the parent's available width. Safe at all viewports —
   the desktop two-column rule already uses minmax(0, 1fr) for the body track. */
body.wuc-flagship-osi .article-toc,
body.wuc-flagship-osi .article-body {
	min-width: 0;
}

/* Fix #2: responsive tables.
   The "Group / Question to ask / Diagnostic primitives" comparison table has
   12 cells with unbreakable header text. Even with fix #1, the table itself
   needs horizontal scroll on narrow viewports. display:block + overflow-x:auto
   on the table makes it scroll inside the article column rather than break out. */
body.wuc-flagship-osi .article-body table {
	display: block;
	overflow-x: auto;
	max-width: 100%;
	width: 100%;
	-webkit-overflow-scrolling: touch;
}
/* Visual cue when the table has horizontal scroll content — subtle inset shadow
   on the right edge tells users content extends beyond the visible area. */
body.wuc-flagship-osi .article-body table {
	background:
		linear-gradient(to right, #FFFFFF 30%, rgba(255,255,255,0)) left center / 20px 100% no-repeat,
		linear-gradient(to right, rgba(255,255,255,0), #FFFFFF 70%) right center / 20px 100% no-repeat,
		radial-gradient(farthest-side at 0 50%, rgba(15,23,42,0.12), rgba(15,23,42,0)) left center / 12px 100% no-repeat,
		radial-gradient(farthest-side at 100% 50%, rgba(15,23,42,0.12), rgba(15,23,42,0)) right center / 12px 100% no-repeat;
	background-attachment: local, local, scroll, scroll;
}

/* Belt-and-suspenders: also prevent <pre> code blocks from forcing min-content
   expansion on the grid track. They already have overflow:auto, but ensure they
   never push the column wider. */
body.wuc-flagship-osi .article-body pre {
	max-width: 100%;
	overflow-x: auto;
}

/* ============================================================================
   WUC BLOG v3 — ENTERPRISE BLUE thought-leadership system
============================================================================ */
body.wuc-flagship-osi {
  /* Enterprise blue palette */
  --primary:        #2563EB;
  --primary-deep:   #1E40AF;
  --primary-light:  #3B82F6;
  --primary-soft:   rgba(37,99,235,.08);
  --primary-soft-2: rgba(37,99,235,.04);
  --primary-glow:   rgba(37,99,235,.25);
  --primary-shadow: rgba(37,99,235,.20);

  /* Neutral spine */
  --navy:        #0F172A;
  --navy-2:      #1E293B;
  --navy-3:      #334155;
  --slate:       #475569;
  --slate-light: #64748B;
  --slate-200:   #E2E8F0;
  --slate-100:   #F1F5F9;
  --slate-50:    #F8FAFC;
  --border:      #CBD5E1;
  --border-light:#E2E8F0;
  --divider:     #EFF2F5;

  /* Text */
  --text:        #0F172A;
  --text-muted:  #334155;
  --text-dim:    #64748B;
  --text-on-dark:       #F1F5F9;
  --text-on-dark-muted: #94A3B8;
  --text-on-dark-dim:   #64748B;

  /* Code */
  --code-bg:      #0F172A;
  --code-bg-inline: rgba(15,23,42,.06);
  --code-text:    #F1F5F9;
  --code-comment: #64748B;
  --code-keyword: #60A5FA;
  --code-string:  #93C5FD;

  /* Type */
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* Radius + shadow */
  --r-sm: 6px; --r: 10px; --r-lg: 16px; --r-xl: 24px;
  --shadow-sm: 0 1px 2px rgba(15,23,42,.06);
  --shadow-md: 0 4px 12px rgba(15,23,42,.06), 0 12px 24px rgba(15,23,42,.05);
  --shadow-lg: 0 24px 48px -8px rgba(15,23,42,.12);
  --shadow-blue: 0 12px 32px -8px var(--primary-shadow);
  --ease: cubic-bezier(.22,1,.36,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-display); font-size: 17px; line-height: 1.65; color: var(--text); background: var(--bg) var(--slate-50); -webkit-font-smoothing: antialiased; font-feature-settings: "ss01","cv11"; }
img, svg { max-width: 100%; }
a { color: var(--primary-deep); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .2s var(--ease); }
a:hover { color: var(--primary); }
*:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 4px; }

/* Reading progress */
.progress-bar { position: fixed; top: 0; left: 0; height: 3px; background: linear-gradient(90deg, var(--primary), var(--primary-light)); z-index: 1000; width: 0%; transition: width 80ms linear; }

/* Site header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(248,250,252,.92); backdrop-filter: saturate(180%) blur(8px); -webkit-backdrop-filter: saturate(180%) blur(8px); border-bottom: 1px solid var(--border-light); }
.site-header-inner { max-width: 1280px; margin: 0 auto; padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 17px; letter-spacing: -0.02em; color: var(--text); text-decoration: none; }
.brand-mark { width: 32px; height: 32px; border-radius: 7px; background: linear-gradient(135deg, var(--primary), var(--primary-deep)); display: grid; place-items: center; color: #fff; font-family: var(--font-mono); font-size: 14px; font-weight: 700; box-shadow: 0 2px 8px var(--primary-shadow); }
.brand-text { letter-spacing: -0.02em; }
.brand-text .brand-dot { color: var(--primary); }
.site-nav { display: flex; gap: 28px; font-size: 14px; align-items: center; }
.site-nav a { color: var(--text-muted); text-decoration: none; font-weight: 500; }
.site-nav a:hover { color: var(--text); }
.site-nav a.active { color: var(--primary-deep); font-weight: 600; }
.site-nav a.cta-link { color: #fff; background: var(--primary); padding: 10px 18px; border-radius: 8px; font-weight: 600; transition: all .2s var(--ease); box-shadow: 0 1px 2px var(--primary-shadow); }
.site-nav a.cta-link:hover { background: var(--primary-deep); transform: translateY(-1px); box-shadow: var(--shadow-blue); color: #fff; }
@media (max-width: 900px) { .site-nav { display: none; } }

/* Breadcrumb */
.breadcrumb { max-width: 1280px; margin: 0 auto; padding: 24px 24px 0; font-family: var(--font-mono); font-size: 12px; color: var(--text-dim); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--primary-deep); }
.breadcrumb .sep { opacity: .35; }

/* Article shell */
.article-shell { max-width: 1280px; margin: 0 auto; padding: 32px 24px 96px; }

/* Tags */
.article-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.tag-pill { display: inline-block; padding: 5px 12px; font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--primary-deep); background: var(--primary-soft); border-radius: 999px; text-decoration: none; transition: all .2s var(--ease); border: 1px solid transparent; }
.tag-pill:hover { background: var(--primary); color: #fff; }
.tag-pill.tag-neutral { color: var(--text-muted); background: var(--slate-100); }

/* Meta */
.article-meta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; font-family: var(--font-mono); font-size: 12px; color: var(--text-dim); margin-bottom: 16px; }
.article-meta-item { display: inline-flex; align-items: center; gap: 6px; }
.article-meta-item svg { width: 12px; height: 12px; opacity: .65; }
.article-meta .meta-sep { opacity: .35; }

/* H1 */
.article-h1 { font-size: clamp(36px, 5vw, 60px); font-weight: 800; line-height: 1.04; letter-spacing: -0.028em; margin: 0 0 28px; max-width: 18ch; color: var(--text); }
.article-h1 .h1-accent { color: var(--primary-deep); }

/* Byline + share row */
.article-byline-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-bottom: 32px; margin-bottom: 40px; border-bottom: 1px solid var(--border-light); }
.article-byline { display: flex; align-items: center; gap: 14px; }
.byline-avatar { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--primary-deep), var(--primary-light)); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 16px; letter-spacing: -0.02em; flex-shrink: 0; box-shadow: 0 2px 8px var(--primary-shadow); }
.byline-text { line-height: 1.4; }
.byline-name { font-weight: 600; color: var(--text); font-size: 15px; }
.byline-role { color: var(--text-muted); font-size: 13px; font-family: var(--font-mono); }

.share-row { display: flex; align-items: center; gap: 8px; }
.share-row .share-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-dim); margin-right: 4px; }
.share-btn { width: 36px; height: 36px; border-radius: 8px; background: var(--bg-elev, #fff); display: grid; place-items: center; color: var(--text-muted); text-decoration: none; transition: all .2s var(--ease); border: 1px solid var(--border-light); }
.share-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); transform: translateY(-1px); box-shadow: 0 4px 12px var(--primary-shadow); }
.share-btn svg { width: 16px; height: 16px; }

/* ===== Executive Summary ===== */
.exec-summary { background: linear-gradient(135deg, #FFFFFF 0%, var(--slate-50) 100%); border: 1px solid var(--border-light); border-left: 4px solid var(--primary); border-radius: var(--r-lg); padding: 28px 36px; margin-bottom: 56px; box-shadow: var(--shadow-sm); }
.exec-summary-eyebrow { font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--primary-deep); margin-bottom: 10px; }
.exec-summary p { font-size: 18px; line-height: 1.55; color: var(--text); margin: 0; font-weight: 500; }
.exec-summary p strong { color: var(--primary-deep); font-weight: 700; }

/* ===== Hero diagram wrapper ===== */
.figure-block { background: linear-gradient(180deg, #FFFFFF 0%, var(--slate-50) 100%); border: 1px solid var(--border-light); border-radius: var(--r-lg); padding: 36px 32px 28px; margin: 36px 0 48px; box-shadow: var(--shadow-sm); }
.figure-block.dark-frame { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); border: 1px solid rgba(255,255,255,.08); color: var(--text-on-dark); }
.figure-eyebrow { font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--primary-deep); margin-bottom: 6px; }
.figure-block.dark-frame .figure-eyebrow { color: var(--primary-light); }
.figure-title { font-size: 17px; font-weight: 700; color: var(--text); margin: 0 0 18px; letter-spacing: -0.01em; }
.figure-block.dark-frame .figure-title { color: var(--text-on-dark); }
.figure-caption { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-dim); text-align: center; margin-top: 14px; }
.figure-block.dark-frame .figure-caption { color: var(--text-on-dark-muted); }

/* ===== Article layout ===== */
.article-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 64px; align-items: start; }
@media (max-width: 1100px) { .article-layout { grid-template-columns: 1fr; gap: 32px; } }

.article-toc { position: sticky; top: 88px; max-height: calc(100vh - 120px); overflow-y: auto; }
.article-toc h4 { font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--text-dim); margin: 0 0 14px; }
.article-toc ol { list-style: none; padding: 0; margin: 0; counter-reset: toc; }
.article-toc li { counter-increment: toc; margin-bottom: 4px; }
.article-toc a { display: block; padding: 6px 12px 6px 28px; border-left: 2px solid var(--divider); color: var(--text-muted); text-decoration: none; font-size: 13.5px; line-height: 1.4; position: relative; transition: all .2s var(--ease); }
.article-toc a::before { content: counter(toc, decimal-leading-zero); position: absolute; left: 8px; top: 6px; font-family: var(--font-mono); font-size: 10px; color: var(--text-dim); }
.article-toc a:hover, .article-toc a.is-active { color: var(--text); border-left-color: var(--primary); background: var(--primary-soft); }
.article-toc a.is-active::before { color: var(--primary); }
@media (max-width: 1100px) { .article-toc { position: static; max-height: none; padding: 16px 20px; background: var(--slate-100); border-radius: var(--r); margin-bottom: 24px; } }

/* Body typography */
.article-body { max-width: 760px; }
.article-body > * + * { margin-top: 1.1em; }
.article-body h2 { font-size: clamp(26px, 3.2vw, 34px); font-weight: 700; letter-spacing: -0.018em; line-height: 1.18; margin: 72px 0 20px; color: var(--text); scroll-margin-top: 88px; }
.article-body h2::before { content: ""; display: block; width: 36px; height: 3px; background: var(--primary); margin-bottom: 18px; border-radius: 2px; }
.article-body h2:first-child { margin-top: 0; }
.article-body h3 { font-size: 22px; font-weight: 700; line-height: 1.3; margin: 44px 0 14px; color: var(--text); scroll-margin-top: 88px; }
.article-body p { margin: 0 0 1.1em; color: var(--text); }
.article-body p > strong { color: var(--text); font-weight: 700; }
.article-body ul, .article-body ol { margin: 0 0 1.4em; padding-left: 24px; }
.article-body li { margin-bottom: 10px; }
.article-body li::marker { color: var(--primary); }

/* Inline code */
.article-body code { font-family: var(--font-mono); font-size: 0.88em; background: var(--code-bg-inline); padding: 2px 6px; border-radius: 4px; color: var(--text); border: 1px solid var(--border-light); }

/* Code block */
.article-body pre { background: var(--code-bg); color: var(--code-text); padding: 26px 30px; border-radius: var(--r); overflow-x: auto; font-family: var(--font-mono); font-size: 13.5px; line-height: 1.65; margin: 24px 0; box-shadow: var(--shadow-sm); position: relative; -webkit-overflow-scrolling: touch; border: 1px solid var(--navy-2); }
.article-body pre code { background: transparent; padding: 0; border: 0; color: inherit; font-size: inherit; }
.article-body pre .code-lang { position: absolute; top: 12px; right: 16px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--primary-light); padding: 3px 10px; background: rgba(96,165,250,.1); border-radius: 4px; border: 1px solid rgba(96,165,250,.2); }
.article-body pre .comment { color: var(--code-comment); }

/* Tables */
.article-body table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 14.5px; box-shadow: var(--shadow-sm); border-radius: var(--r); overflow: hidden; border: 1px solid var(--border-light); display: block; overflow-x: auto; }
.article-body thead { background: var(--slate-100); }
.article-body th { text-align: left; padding: 14px 16px; font-weight: 700; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--text-muted); border-bottom: 1px solid var(--border-light); white-space: nowrap; }
.article-body td { padding: 14px 16px; border-bottom: 1px solid var(--divider); vertical-align: top; }
.article-body tbody tr:last-child td { border-bottom: 0; }
.article-body tbody tr:hover { background: var(--slate-50); }

/* Real-world example callout */
.example-callout { background: #fff; border-left: 4px solid var(--primary); border-radius: var(--r); padding: 22px 26px; margin: 28px 0; box-shadow: var(--shadow-sm); }
.example-callout > p:first-child::before { content: "REAL-WORLD EXAMPLE"; display: block; font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .12em; color: var(--primary-deep); margin-bottom: 8px; }
.example-callout p:last-child { margin-bottom: 0; }

/* Pull quote */
.pull-quote { font-family: var(--font-display); font-size: 22px; line-height: 1.4; font-weight: 600; letter-spacing: -0.01em; color: var(--text); padding: 24px 28px 24px 32px; margin: 32px 0; border-left: 4px solid var(--primary); background: linear-gradient(90deg, var(--primary-soft) 0%, transparent 100%); border-radius: 0 var(--r) var(--r) 0; }
.pull-quote::before { content: "“"; display: block; font-size: 48px; line-height: 0.3; color: var(--primary); margin-bottom: 8px; font-family: Georgia, serif; }

/* Stat / metric callout */
.metric-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 32px 0; }
@media (max-width: 700px) { .metric-row { grid-template-columns: 1fr; } }
.metric-card { padding: 22px 24px; background: #fff; border: 1px solid var(--border-light); border-radius: var(--r); position: relative; overflow: hidden; }
.metric-card::before { content: ""; position: absolute; top: 0; left: 0; width: 3px; height: 100%; background: var(--primary); }
.metric-card .metric-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 6px; }
.metric-card .metric-value { font-size: 28px; font-weight: 800; color: var(--text); letter-spacing: -0.02em; font-family: var(--font-mono); margin-bottom: 4px; }
.metric-card .metric-detail { font-size: 13px; color: var(--text-muted); line-height: 1.45; }

/* Service callout (inline) */
.service-callout { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 24px; margin: 32px 0; background: #fff; border: 1px solid var(--border-light); border-radius: var(--r); box-shadow: var(--shadow-sm); transition: all .2s var(--ease); }
.service-callout:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); border-color: var(--primary); }
.service-callout-icon { width: 56px; height: 56px; background: var(--primary-soft); border-radius: 12px; display: grid; place-items: center; color: var(--primary-deep); }
.service-callout-icon svg { width: 28px; height: 28px; }
.service-callout-eyebrow { font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--primary-deep); margin-bottom: 4px; }
.service-callout-title { font-size: 17px; font-weight: 700; margin: 0 0 6px; color: var(--text); line-height: 1.3; }
.service-callout-body { font-size: 14px; color: var(--text-muted); margin: 0 0 8px; line-height: 1.55; }
.service-callout-link { font-size: 13px; font-weight: 600; color: var(--primary-deep); text-decoration: none; font-family: var(--font-mono); }
.service-callout-link:hover { color: var(--primary); }
.service-callout-link::after { content: " →"; transition: transform .2s var(--ease); display: inline-block; }
.service-callout-link:hover::after { transform: translateX(3px); }

/* Observability/AI sidebar */
.intel-sidebar { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); color: var(--text-on-dark); padding: 32px 36px; margin: 40px 0; border-radius: var(--r-lg); position: relative; overflow: hidden; }
.intel-sidebar::before { content: ""; position: absolute; top: -100px; right: -100px; width: 320px; height: 320px; background: radial-gradient(circle, var(--primary-glow), transparent 70%); filter: blur(40px); pointer-events: none; }
.intel-sidebar-eyebrow { font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--primary-light); margin-bottom: 10px; position: relative; }
.intel-sidebar h3 { font-size: 22px; font-weight: 700; margin: 0 0 14px; color: var(--text-on-dark); line-height: 1.3; position: relative; }
.intel-sidebar p { font-size: 15px; color: var(--text-on-dark-muted); line-height: 1.65; margin: 0 0 14px; position: relative; max-width: 60ch; }
.intel-sidebar p:last-child { margin-bottom: 0; }
.intel-sidebar p strong { color: var(--text-on-dark); }

/* Lead magnet */
.lead-magnet { display: grid; grid-template-columns: 1fr 200px; gap: 32px; align-items: center; padding: 36px; margin: 48px 0; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); color: var(--text-on-dark); border-radius: var(--r-lg); position: relative; overflow: hidden; }
.lead-magnet::before { content: ""; position: absolute; top: -100px; right: -100px; width: 360px; height: 360px; background: radial-gradient(circle, var(--primary-glow), transparent 70%); filter: blur(40px); pointer-events: none; }
.lead-magnet-content { position: relative; }
.lead-magnet-eyebrow { font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--primary-light); margin-bottom: 8px; }
.lead-magnet-title { font-size: 24px; font-weight: 700; margin: 0 0 12px; color: var(--text-on-dark); line-height: 1.25; }
.lead-magnet-body { font-size: 15px; color: var(--text-on-dark-muted); margin: 0 0 20px; line-height: 1.6; max-width: 44ch; }
.lead-magnet-form { display: flex; gap: 8px; max-width: 460px; }
.lead-magnet-form input { flex: 1; padding: 12px 16px; background: rgba(15,23,42,.7); border: 1px solid rgba(255,255,255,.16); border-radius: var(--r-sm); color: var(--text-on-dark); font-family: inherit; font-size: 16px; min-height: 48px; }
.lead-magnet-form input::placeholder { color: var(--text-on-dark-dim); }
.lead-magnet-form input:focus { outline: none; border-color: var(--primary-light); box-shadow: 0 0 0 3px var(--primary-glow); }
.lead-magnet-form button { padding: 12px 22px; background: var(--primary); color: #fff; border: 0; border-radius: var(--r-sm); font-family: inherit; font-size: 16px; font-weight: 600; cursor: pointer; min-height: 48px; transition: all .2s var(--ease); white-space: nowrap; }
.lead-magnet-form button:hover { background: var(--primary-deep); transform: translateY(-1px); }
.lead-magnet-fineprint { font-family: var(--font-mono); font-size: 11px; color: var(--text-on-dark-dim); margin: 12px 0 0; }
.lead-magnet-visual { display: grid; place-items: center; position: relative; }
.lead-magnet-visual svg { width: 160px; height: auto; }
@media (max-width: 700px) { .lead-magnet { grid-template-columns: 1fr; padding: 28px; } .lead-magnet-visual { display: none; } .lead-magnet-form { flex-direction: column; } }

/* CTA cards */
.cta-card { margin: 56px 0; padding: 44px; border-radius: var(--r-lg); position: relative; overflow: hidden; }
.cta-card.cta-mid { background: linear-gradient(135deg, var(--navy) 0%, var(--primary-deep) 100%); color: var(--text-on-dark); }
.cta-card.cta-mid::before { content: ""; position: absolute; top: -50px; right: -50px; width: 280px; height: 280px; background: radial-gradient(circle, var(--primary-glow), transparent 70%); filter: blur(50px); pointer-events: none; }
.cta-card.cta-closing { background: #fff; border: 1px solid var(--border-light); border-left: 4px solid var(--primary); box-shadow: var(--shadow-md); }
.cta-card-eyebrow { font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; position: relative; }
.cta-card.cta-mid .cta-card-eyebrow { color: var(--primary-light); }
.cta-card.cta-closing .cta-card-eyebrow { color: var(--primary-deep); }
.cta-card-headline { font-size: 24px; font-weight: 700; line-height: 1.3; margin: 0 0 14px; position: relative; letter-spacing: -0.01em; }
.cta-card.cta-mid .cta-card-headline { color: var(--text-on-dark); }
.cta-card-body { font-size: 15px; line-height: 1.65; margin: 0 0 26px; max-width: 60ch; position: relative; }
.cta-card.cta-mid .cta-card-body { color: var(--text-on-dark-muted); }
.cta-card.cta-closing .cta-card-body { color: var(--text-muted); }
.cta-card-button { display: inline-flex; align-items: center; gap: 10px; padding: 14px 28px; background: var(--primary); color: #fff !important; font-weight: 600; font-size: 15px; border-radius: var(--r-sm); text-decoration: none; transition: all .2s var(--ease); position: relative; box-shadow: 0 1px 2px var(--primary-shadow); }
.cta-card-button:hover { background: var(--primary-deep); transform: translateY(-1px); box-shadow: var(--shadow-blue); color: #fff !important; }
.cta-card-button.cta-button-light { background: #fff; color: var(--primary-deep) !important; }
.cta-card-button.cta-button-light:hover { background: var(--slate-100); }
.cta-card-button svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.cta-card-button:hover svg { transform: translateX(4px); }
.cta-card-fineprint { display: block; margin-top: 16px; font-size: 12px; font-family: var(--font-mono); }
.cta-card.cta-mid .cta-card-fineprint { color: var(--text-on-dark-dim); }
.cta-card.cta-closing .cta-card-fineprint { color: var(--text-dim); }

.qmm-table th { background: var(--navy); color: var(--text-on-dark); border-bottom: 0; font-size: 11px; }
.qmm-table thead { background: var(--navy); }

/* Article footer */
.article-footer { max-width: 760px; margin: 96px 0 0; }
.author-bio { padding: 32px; background: var(--slate-100); border-radius: var(--r-lg); display: flex; gap: 20px; align-items: flex-start; border: 1px solid var(--border-light); }
.author-bio .byline-avatar { width: 64px; height: 64px; font-size: 20px; flex-shrink: 0; }
.author-bio-text h3 { font-size: 18px; font-weight: 700; margin: 0 0 8px; color: var(--text); }
.author-bio-text p { font-size: 14.5px; color: var(--text-muted); margin: 0 0 14px; line-height: 1.6; }
.author-bio-links { display: flex; gap: 16px; font-size: 13px; }
.author-bio-links a { color: var(--primary-deep); text-decoration: none; font-weight: 500; }
.author-bio-links a:hover { color: var(--primary); }

.newsletter-card { margin-top: 48px; padding: 36px; background: #fff; border: 1px solid var(--border-light); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.newsletter-card-eyebrow { font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--primary-deep); margin-bottom: 8px; }
.newsletter-card h3 { font-size: 22px; font-weight: 700; margin: 0 0 12px; color: var(--text); line-height: 1.3; letter-spacing: -0.01em; }
.newsletter-card p { font-size: 14.5px; color: var(--text-muted); margin: 0 0 20px; line-height: 1.6; max-width: 50ch; }
.newsletter-form { display: flex; gap: 8px; max-width: 460px; }
.newsletter-form input { flex: 1; padding: 12px 16px; background: var(--slate-100); border: 1px solid var(--border-light); border-radius: var(--r-sm); color: var(--text); font-family: inherit; font-size: 16px; min-height: 48px; }
.newsletter-form input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-glow); }
.newsletter-form button { padding: 12px 22px; background: var(--primary); color: #fff; border: 0; border-radius: var(--r-sm); font-family: inherit; font-size: 16px; font-weight: 600; cursor: pointer; min-height: 48px; white-space: nowrap; transition: all .2s var(--ease); }
.newsletter-form button:hover { background: var(--primary-deep); transform: translateY(-1px); }
.newsletter-fineprint { font-family: var(--font-mono); font-size: 11px; color: var(--text-dim); margin: 12px 0 0; }
@media (max-width: 600px) { .newsletter-form { flex-direction: column; } }

.related-posts { margin-top: 64px; }
.related-posts h3 { font-size: 14px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--text-muted); margin: 0 0 20px; font-family: var(--font-mono); }
.related-posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 768px) { .related-posts-grid { grid-template-columns: 1fr; } }
.related-card { display: block; padding: 22px; background: #fff; border: 1px solid var(--border-light); border-radius: var(--r); text-decoration: none; color: var(--text); transition: all .2s var(--ease); }
.related-card:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow-md); color: var(--text); }
.related-card-cat { font-family: var(--font-mono); font-size: 11px; color: var(--primary-deep); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }
.related-card-title { font-size: 16px; font-weight: 600; line-height: 1.35; }
.related-card-arrow { display: inline-block; transition: transform .2s var(--ease); margin-left: 6px; }
.related-card:hover .related-card-arrow { transform: translateX(3px); }

/* Site footer */
.site-footer { background: var(--navy); color: var(--text-on-dark-muted); padding: 64px 24px 32px; margin-top: 96px; font-size: 13.5px; }
.site-footer-inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
@media (max-width: 768px) { .site-footer-inner { grid-template-columns: 1fr; gap: 32px; } }
.site-footer h5 { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--primary-light); margin: 0 0 14px; font-weight: 600; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--text-on-dark-muted); text-decoration: none; font-size: 14px; }
.site-footer a:hover { color: var(--primary-light); }
.site-footer-bottom { max-width: 1280px; margin: 32px auto 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: 12px; color: var(--text-on-dark-dim); }
.footer-brand-block .brand { color: var(--text-on-dark); }
.footer-brand-block .brand-text { color: var(--text-on-dark); }
.footer-brand-block p { font-size: 13px; max-width: 36ch; line-height: 1.6; margin: 16px 0 18px; }
.footer-compliance { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.footer-compliance span { font-family: var(--font-mono); font-size: 10px; padding: 4px 10px; background: rgba(255,255,255,.06); border-radius: 999px; color: var(--text-on-dark); letter-spacing: .04em; border: 1px solid rgba(255,255,255,.1); }

/* Preview banner */
.preview-banner { position: fixed; top: 12px; right: 12px; z-index: 1001; background: var(--navy); color: var(--text-on-dark); padding: 10px 16px; font-size: 11px; border-radius: 999px; font-family: var(--font-mono); box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.12); }
.preview-banner .pb-tag { background: var(--primary-soft); color: var(--primary-light); padding: 2px 8px; border-radius: 999px; }
