/* =====================================================================
   RCMTask marketing theme — design system
   Brand tokens mirror the app (frontend/src/styles/globals.css).
   ===================================================================== */

:root {
	--navy: #2A2A2A;
	--navy-hover: #161616;
	--teal: #C94B1F;
	--teal-deep: #A8390F;
	--light-teal: #FBEDE8;
	--light-blue: #F4F1EE;

	--ink: #1A1A1A;
	--body: #36465a;
	--muted: #647387;
	--line: #e6eaf1;
	--bg: #ffffff;
	--bg-soft: #f6f9fc;
	--navy-deep: #232323;

	--gradient: linear-gradient(135deg, #2C2C2C 0%, #171717 100%);

	--radius: 16px;
	--radius-sm: 12px;
	--radius-lg: 24px;

	--shadow-sm: 0 1px 2px rgba(11, 21, 38, .05), 0 1px 3px rgba(11, 21, 38, .08);
	--shadow: 0 12px 34px -14px rgba(11, 21, 38, .28);
	--shadow-lg: 0 28px 64px -22px rgba(11, 21, 38, .38);

	--maxw: 1140px;
	--space: clamp(64px, 8vw, 112px);
}

/* ----- Base ----- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: var(--body);
	background: var(--bg);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	font-feature-settings: "rlig" 1, "calt" 1;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { text-decoration: underline; }
[id] { scroll-margin-top: 92px; }

.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { position: fixed; top: 10px; left: 10px; width: auto; height: auto; clip: auto; background: #fff; color: var(--navy); padding: 10px 16px; border-radius: 8px; z-index: 100; box-shadow: var(--shadow); font-weight: 600; }

h1, h2, h3, h4 {
	color: var(--ink);
	line-height: 1.14;
	margin: 0 0 .5em;
	font-weight: 700;
	letter-spacing: -.022em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.2rem; letter-spacing: -.01em; }
p { margin: 0 0 1rem; }

/* ----- Layout helpers ----- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: var(--space) 0; }
.section--soft { background: var(--bg-soft); }
.section__head { max-width: 720px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.section__head.left { margin-left: 0; text-align: left; }
.lead { font-size: clamp(1.05rem, 2vw, 1.2rem); color: var(--muted); }

.eyebrow {
	display: inline-block;
	font-size: .8rem;
	font-weight: 700;
	letter-spacing: .09em;
	text-transform: uppercase;
	color: var(--teal);
	margin-bottom: 14px;
}

/* ----- Buttons ----- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
	font-weight: 600; font-size: 1rem; line-height: 1;
	padding: .85rem 1.4rem; border-radius: 12px; border: 1px solid transparent;
	cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
	white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn-lg { padding: 1rem 1.75rem; font-size: 1.05rem; }
.btn-primary { background: var(--teal); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--teal-deep); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { background: var(--light-blue); color: var(--navy); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: #eef3fa; color: var(--navy); transform: translateY(-1px); }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-outline-white:hover { background: rgba(255, 255, 255, .12); color: #fff; }

/* ----- Header / nav ----- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255, 255, 255, .85);
	backdrop-filter: saturate(180%) blur(12px);
	-webkit-backdrop-filter: saturate(180%) blur(12px);
	border-bottom: 1px solid transparent;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.site-header .container { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; font-size: 1.3rem; color: var(--navy); letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 34px; height: 34px; flex: none; display: inline-flex; }
.brand-mark .rcm-mark { width: 100%; height: 100%; }
.brand-word { letter-spacing: -.02em; }
.brand-rcm { color: var(--navy); }
.brand-task { color: var(--teal); }
.site-footer .brand-rcm { color: #fff; }
.site-footer .brand-task { color: var(--teal); }

.primary-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav-menu { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-menu a { color: var(--body); font-weight: 500; font-size: .95rem; }
.nav-menu a:hover { color: var(--navy); text-decoration: none; }
.nav-menu .signin a { color: var(--navy); font-weight: 600; }
.header-cta { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
	display: none; margin-left: auto;
	width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px;
	background: #fff; cursor: pointer; align-items: center; justify-content: center; color: var(--navy);
}
.nav-toggle svg { width: 22px; height: 22px; }

/* ----- Hero ----- */
.hero { position: relative; background: var(--gradient); color: #fff; overflow: hidden; padding: clamp(72px, 10vw, 124px) 0; }
.hero::after {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: radial-gradient(60% 80% at 85% 10%, rgba(255, 255, 255, .14), transparent 60%);
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; max-width: 16ch; margin-bottom: .4em; }
.hero .sub { font-size: clamp(1.05rem, 1.9vw, 1.3rem); color: rgba(255, 255, 255, .88); max-width: 56ch; margin-bottom: 2rem; }
.hero .cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .trust-inline { margin-top: 1.6rem; color: rgba(255, 255, 255, .72); font-size: .9rem; }

/* Hero product mock */
.mock { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 18px; color: var(--body); }
.mock__bar { display: flex; align-items: center; gap: 8px; padding: 6px 6px 14px; }
.mock__dot { width: 11px; height: 11px; border-radius: 50%; background: #d7dee9; }
.mock__title { margin-left: 8px; font-size: .82rem; font-weight: 600; color: var(--muted); }
.mock__row { display: flex; align-items: center; gap: 12px; padding: 13px 12px; border-radius: 12px; border: 1px solid var(--line); margin-top: 10px; background: #fff; }
.mock__row:hover { box-shadow: var(--shadow-sm); }
.mock__status { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.s-open { background: #3B82F6; } .s-prog { background: #F59E0B; } .s-done { background: #10B981; } .s-over { background: #EF4444; }
.mock__label { font-size: .92rem; font-weight: 500; color: var(--ink); flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock__who { width: 24px; height: 24px; border-radius: 50%; background: var(--light-teal); color: var(--teal-deep); font-size: .6rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.mock__meta { margin-left: auto; font-size: .76rem; color: var(--muted); }
.mock__pill { font-size: .68rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--light-blue); color: var(--navy); }

/* ----- Logos / proof strip ----- */
.proof { text-align: center; }
.proof p { color: var(--muted); font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; font-weight: 600; }

/* ----- Problem ----- */
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 12px; }
.problem-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.problem-card .ico { width: 44px; height: 44px; border-radius: 12px; background: #fdecec; color: #EF4444; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.problem-card h3 { margin-bottom: .35em; }
.problem-card p { color: var(--muted); margin: 0; font-size: .96rem; }

/* ----- Philosophy ----- */
.philosophy { background: var(--navy-deep); color: #fff; border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 72px); text-align: center; }
.philosophy h2 { color: #fff; max-width: 20ch; margin: 0 auto .5em; }
.philosophy p { color: rgba(255, 255, 255, .82); max-width: 60ch; margin: 0 auto; font-size: 1.1rem; }
.philosophy .chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }
.philosophy .chip { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); color: #fff; padding: 8px 16px; border-radius: 999px; font-size: .9rem; font-weight: 500; }

/* ----- Surface area grid ----- */
.surface-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.surface-col { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.surface-col h3 { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--teal); margin-bottom: 6px; }
.surface-col ul { list-style: none; margin: 10px 0 0; padding: 0; }
.surface-col li { display: flex; align-items: center; gap: 8px; padding: 9px 0; font-size: .94rem; color: var(--body); border-top: 1px solid var(--line); }
.surface-col li:first-child { border-top: none; }
.tag { font-size: .62rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 2px 7px; border-radius: 999px; margin-left: auto; }
.tag-live { background: var(--light-teal); color: var(--teal-deep); }
.tag-soon { background: var(--light-blue); color: var(--navy); }

/* ----- Features ----- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); transition: transform .15s ease, box-shadow .15s ease; }
.feature:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.feature .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--light-teal); color: var(--teal-deep); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.feature .ico svg { width: 24px; height: 24px; }
.feature h3 { margin-bottom: .4em; }
.feature p { color: var(--muted); margin: 0; font-size: .96rem; }

/* ----- Integration ladder ----- */
.ladder { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.rung { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow-sm); }
.rung__n { width: 34px; height: 34px; border-radius: 10px; background: var(--light-blue); color: var(--navy); font-weight: 700; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.rung h3 { font-size: 1.05rem; margin-bottom: .3em; }
.rung p { color: var(--muted); font-size: .9rem; margin: 0; }
.rung.is-now { border-color: var(--teal); box-shadow: 0 0 0 1px var(--teal), var(--shadow); }
.rung.is-now .rung__n { background: var(--teal); color: #fff; }
.rung__badge { position: absolute; top: -11px; left: 22px; background: var(--teal); color: #fff; font-size: .68rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; }

/* ----- Pricing ----- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.tier { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow-sm); }
.tier.is-featured { border-color: var(--teal); box-shadow: 0 0 0 1px var(--teal), var(--shadow); position: relative; }
.tier__flag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--teal); color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; }
.tier h3 { font-size: 1.15rem; margin-bottom: .2em; }
.tier .price { font-size: 2.4rem; font-weight: 800; color: var(--ink); letter-spacing: -.03em; margin: 8px 0 2px; }
.tier .price small { font-size: .95rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.tier .tagline { color: var(--muted); font-size: .92rem; min-height: 2.6em; }
.tier ul { list-style: none; margin: 18px 0 24px; padding: 0; }
.tier li { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; font-size: .94rem; color: var(--body); }
.tier li svg { width: 18px; height: 18px; color: var(--teal); flex: none; margin-top: 2px; }
.tier .btn { width: 100%; margin-top: auto; }
.pricing-note { text-align: center; color: var(--muted); font-size: .85rem; margin-top: 20px; }

/* ----- Trust strip ----- */
.trust { background: var(--navy-deep); color: #fff; }
.trust .container { padding-top: 44px; padding-bottom: 44px; }
.trust-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 28px; }
.trust-item { display: inline-flex; align-items: center; gap: 9px; color: rgba(255, 255, 255, .9); font-weight: 500; font-size: .98rem; }
.trust-item svg { width: 20px; height: 20px; color: #EE8C63; }

/* ----- Final CTA + demo ----- */
.cta-band { background: var(--gradient); color: #fff; border-radius: var(--radius-lg); padding: clamp(44px, 6vw, 72px); text-align: center; }
.cta-band h2 { color: #fff; margin: 0 auto .4em; max-width: 18ch; }
.cta-band p { color: rgba(255, 255, 255, .88); max-width: 52ch; margin: 0 auto 1.8rem; font-size: 1.1rem; }
.cta-band .cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.demo-wrap { max-width: 640px; margin: 36px auto 0; background: #fff; color: var(--body); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-lg); text-align: left; }
.demo-wrap h3 { text-align: center; }
.demo-fallback { text-align: center; color: var(--muted); margin: 0; }

/* ----- Footer ----- */
.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, .72); padding: 64px 0 36px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer-brand .brand { color: #fff; }
.footer-brand p { margin-top: 14px; max-width: 38ch; font-size: .92rem; }
.footer-brand p a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .35); text-underline-offset: 3px; }
.footer-brand p a:hover { text-decoration-color: var(--orange); color: var(--orange); }
.footer-bottom a { color: rgba(255, 255, 255, .85); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .35); text-underline-offset: 3px; }
.footer-bottom a:hover { color: #fff; text-decoration-color: var(--orange); }
.footer-col h4 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255, 255, 255, .72); font-size: .94rem; }
.footer-col a:hover { color: #fff; text-decoration: none; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font-size: .85rem; }

/* ----- Generic page (page.php / 404) ----- */
.page-hero { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 5vw, 56px); }
.page-body { padding: clamp(48px, 6vw, 80px) 0; }
.page-body .container { max-width: 760px; }
.page-body h2 { margin-top: 1.6em; }
.page-body img { border-radius: var(--radius-sm); margin: 1.2em 0; }
.error-404 { text-align: center; padding: clamp(72px, 12vw, 140px) 0; }
.error-404 .big { font-size: clamp(4rem, 14vw, 8rem); font-weight: 800; color: var(--light-blue); line-height: 1; letter-spacing: -.04em; }

/* ----- Responsive ----- */
@media (max-width: 1024px) {
	.hero-grid { grid-template-columns: 1fr; gap: 40px; }
	.hero-visual { max-width: 460px; }
	.surface-grid { grid-template-columns: repeat(2, 1fr); }
	.ladder { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
	.nav-toggle { display: inline-flex; }
	.primary-nav {
		position: absolute; top: 72px; left: 0; right: 0; display: none;
		flex-direction: column; align-items: stretch; gap: 0;
		background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
		padding: 8px 24px 20px;
	}
	.site-header.menu-open .primary-nav { display: flex; }
	.nav-menu { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
	.nav-menu li { border-top: 1px solid var(--line); }
	.nav-menu a { display: block; padding: 14px 2px; }
	.header-cta { flex-direction: column; align-items: stretch; gap: 10px; width: 100%; margin-top: 14px; }
	.header-cta .btn { width: 100%; }
	.problem-grid, .feature-grid, .pricing-grid { grid-template-columns: 1fr; }
	.footer-top { grid-template-columns: 1fr 1fr; }
	.footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
	.surface-grid, .ladder { grid-template-columns: 1fr; }
	.footer-top { grid-template-columns: 1fr; }
	.hero .cta-row .btn, .cta-band .cta-row .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	* { transition: none !important; }
}

/* ===================================================================
   Module landing pages + Solutions nav dropdown
   =================================================================== */

/* Nav dropdown */
.has-dropdown { position: relative; }
.caret { display: inline-block; width: 0; height: 0; margin-left: 6px; vertical-align: middle; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor; opacity: .55; }
.dropdown { list-style: none; margin: 0; padding: 8px; }
@media (min-width: 901px) {
	.dropdown {
		position: absolute; top: calc(100% + 12px); left: 0; width: 480px; max-width: 92vw;
		background: #fff; border: 1px solid var(--line); border-radius: 14px;
		box-shadow: var(--shadow); display: none; z-index: 60;
		grid-template-columns: 1fr 1fr; gap: 2px 6px;
	}
	.dropdown::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
	.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { display: grid; }
	.dropdown a { display: block; padding: 10px 12px; border-radius: 9px; color: var(--body); font-weight: 500; white-space: nowrap; }
	.dropdown a:hover { background: var(--light-blue); color: var(--navy); text-decoration: none; }
}
@media (max-width: 900px) {
	.dropdown { padding: 0 0 0 14px; }
	.has-dropdown > a .caret { display: none; }
}

/* Module hero (single column) */
.hero--solo .container { max-width: 880px; }
.hero-breadcrumb { color: rgba(255, 255, 255, .72); font-size: .85rem; margin-bottom: 14px; }
.hero-breadcrumb a { color: rgba(255, 255, 255, .9); }
.hero-breadcrumb a:hover { color: #fff; }
.hero--solo h1 { max-width: 20ch; }
.hero--solo .sub { max-width: 62ch; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow-sm); }
.step__n { width: 36px; height: 36px; border-radius: 10px; background: var(--gradient); color: #fff; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.step h3 { margin-bottom: .3em; }
.step p { color: var(--muted); margin: 0; font-size: .95rem; }

/* Outcomes checklist */
.outcomes { list-style: none; margin: 0 auto; padding: 0; max-width: 820px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; }
.outcomes li { display: flex; gap: 12px; align-items: flex-start; font-size: 1.02rem; color: var(--ink); font-weight: 500; }
.outcomes li svg { width: 22px; height: 22px; color: var(--teal); flex: none; margin-top: 1px; }

/* FAQ (native <details>) */
.faq { max-width: 780px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; }
.faq-item summary { cursor: pointer; padding: 18px 20px; font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; font-weight: 400; color: var(--teal); line-height: 1; flex: none; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-a { padding: 0 20px 18px; color: var(--muted); }
.faq-a p { margin: 0; }

/* Narrow container for long-form blog content (max ~720px reading line). */
.container--narrow { max-width: 760px; }

/* Blog: single post layout */
.post-article { background: #fff; }
.post-header { padding: 64px 0 32px; background: #FBEDE8; border-bottom: 1px solid var(--line); }
.post-header h1 { font-size: clamp(1.85rem, 3.6vw, 2.6rem); line-height: 1.18; margin: 12px 0 18px; color: var(--ink); }
.post-breadcrumb { font-size: 0.92rem; color: var(--muted); margin: 0 0 10px; }
.post-breadcrumb a { color: var(--muted); text-decoration: none; }
.post-breadcrumb a:hover { color: var(--orange); }
.post-meta { font-size: 0.95rem; color: var(--muted); margin: 0; }
.post-meta a { color: var(--ink); text-decoration: none; border-bottom: 1px solid rgba(0,0,0,0.18); }
.post-meta__sep { margin: 0 8px; opacity: 0.5; }
.post-body { padding: 48px 0 64px; }
.post-body p, .post-body li { font-size: 1.08rem; line-height: 1.72; color: #2a2a2a; }
.post-body h2 { font-size: 1.65rem; margin: 48px 0 16px; color: var(--ink); }
.post-body h3 { font-size: 1.28rem; margin: 32px 0 12px; color: var(--ink); }
.post-body p { margin: 0 0 18px; }
.post-body ul, .post-body ol { padding-left: 1.4em; margin: 0 0 22px; }
.post-body li { margin: 6px 0; }
.post-body blockquote { border-left: 4px solid var(--orange); padding: 4px 0 4px 20px; margin: 24px 0; color: var(--ink); font-style: italic; }
.post-body code { background: rgba(0,0,0,0.05); padding: 1px 6px; border-radius: 4px; font-size: 0.94em; }
.post-body a { color: var(--orange); text-decoration: underline; }
.post-body a:hover { color: var(--orange-deep); }

/* Author bio */
.author-bio { display: flex; gap: 20px; align-items: flex-start; padding: 28px; background: #F4F1EE; border-radius: var(--radius-sm); margin: 48px 0 24px; }
.author-bio__avatar img { border-radius: 50%; width: 88px; height: 88px; display: block; }
.author-bio__body { flex: 1; }
.author-bio__name { font-weight: 700; color: var(--ink); margin: 0 0 6px; font-size: 1.05rem; }
.author-bio__role { color: var(--muted); font-weight: 500; font-size: 0.96rem; }
.author-bio__desc { color: var(--muted); margin: 0 0 8px; font-size: 0.98rem; line-height: 1.55; }
.author-bio__meta { font-size: 0.92rem; margin: 0; }
.author-bio__meta a { color: var(--orange); text-decoration: none; }

/* Post CTA at the bottom of every post */
.post-cta { background: var(--ink); color: #fff; padding: 28px 32px; border-radius: var(--radius-sm); margin: 24px 0; text-align: center; }
.post-cta h3 { color: #fff; margin: 0 0 6px; font-size: 1.3rem; }
.post-cta p { color: #d8d8d8; margin: 0 0 16px; font-size: 0.98rem; }
.post-cta .btn-primary { background: var(--orange); color: #fff; }
.post-cta .btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.3); }

/* Blog: post list (home + archive) */
.post-list { display: grid; gap: 36px; }
.post-card { display: grid; grid-template-columns: 1fr; gap: 16px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.post-card:last-child { border-bottom: 0; }
.post-card__cat { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; margin: 0; color: var(--orange); font-weight: 600; }
.post-card__cat a { color: var(--orange); text-decoration: none; }
.post-card__title { font-size: 1.55rem; line-height: 1.25; margin: 6px 0 10px; color: var(--ink); }
.post-card__title a { color: inherit; text-decoration: none; }
.post-card__title a:hover { color: var(--orange); }
.post-card__excerpt { color: var(--muted); margin: 0 0 12px; line-height: 1.62; }
.post-card__meta { font-size: 0.9rem; color: var(--muted); margin: 0; }
.post-card__meta span[aria-hidden] { margin: 0 6px; opacity: 0.5; }
.post-card__thumb img { width: 100%; height: auto; border-radius: var(--radius-sm); display: block; }

/* Pagination */
.post-pagination { margin: 56px 0 0; display: flex; justify-content: center; }
.post-pagination .nav-links { display: flex; gap: 12px; align-items: center; }
.post-pagination .page-numbers { padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--ink); text-decoration: none; font-size: 0.95rem; }
.post-pagination .page-numbers.current { background: var(--orange); color: #fff; border-color: var(--orange); }

/* Comparison table — used on flagship module pages and comparison pages. */
.compare-table { overflow-x: auto; margin: 28px 0; -webkit-overflow-scrolling: touch; }
.compare-table table { width: 100%; min-width: 640px; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.compare-table thead th { background: var(--ink); color: #fff; padding: 14px 18px; text-align: left; font-size: 0.95rem; font-weight: 600; }
.compare-table tbody th { background: #fafafa; padding: 12px 18px; text-align: left; font-weight: 600; color: var(--ink); border-top: 1px solid var(--line); }
.compare-table tbody td { padding: 12px 18px; color: var(--muted); border-top: 1px solid var(--line); font-size: 0.97rem; }
.compare-table tbody td:first-of-type { color: var(--ink); font-weight: 500; }
.compare-table tbody tr:nth-child(odd) th, .compare-table tbody tr:nth-child(odd) td { background: rgba(0,0,0,0.015); }

@media (max-width: 720px) {
	.steps { grid-template-columns: 1fr; }
	.outcomes { grid-template-columns: 1fr; }
}
