/* Maven Pro, self-hosted variable font (latin subset, 20 KB). Replaces the
   render-blocking request to fonts.googleapis.com — see inc/assets.php. */
@font-face {
	font-family: "Maven Pro";
	src: url("../fonts/maven-pro-latin.woff2") format("woff2");
	font-weight: 400 900;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   AssetWhisper theme — main stylesheet
   Tokens → base → layout → components → pages → utilities
   ========================================================================== */

:root {
	--canvas: #f4f7fb;
	--surface: #ffffff;
	--sunken: #edf2f9;
	--ink: #0d1726;
	--ink-2: #2b3a4f;
	--muted: #55657b;
	--border: #e3e9f1;
	--border-strong: #c2cedd;
	--brand: #1f4fd8;
	--brand-strong: #163cab;
	--brand-soft: #e7edfd;
	--accent: #0b6e86;
	--accent-soft: #e0f3f8;
	--navy: #0b1526;
	--navy-2: #122238;
	--on-navy: #e8eef8;
	--on-navy-muted: #9fb0c8;

	--font-head: "Maven Pro", -apple-system, "system-ui", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--font-body: -apple-system, "system-ui", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

	--radius: 14px;
	--radius-sm: 8px;
	--shadow-sm: 0 1px 2px rgb(13 23 38 / 0.05), 0 1px 1px rgb(13 23 38 / 0.03);
	--shadow: 0 12px 32px -12px rgb(13 23 38 / 0.18), 0 2px 6px rgb(13 23 38 / 0.05);
	--container: 1200px;
	--narrow: 760px;
	--gutter: clamp(16px, 4vw, 32px);
	--header-h: 72px;
	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
body {
	margin: 0;
	background: var(--canvas);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; text-underline-offset: 0.15em; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.15; letter-spacing: -0.015em; margin: 0; color: var(--ink); text-wrap: balance; }
p { margin: 0 0 1em; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; top: -100px; left: 16px; z-index: 1000; padding: 10px 16px; background: var(--ink); color: #fff; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.container--narrow { max-width: var(--narrow); }
.container--wide { max-width: 1040px; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgb(255 255 255 / 0.86);
	-webkit-backdrop-filter: saturate(180%) blur(12px);
	backdrop-filter: saturate(180%) blur(12px);
	border-bottom: 1px solid transparent;
	transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.site-logo { display: inline-flex; flex-shrink: 0; }
.site-logo__img { width: auto; height: 34px; }
.site-header__actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }

.site-nav { display: flex; align-items: center; gap: 8px; flex: 1; }
.site-nav__list { list-style: none; margin: 0 0 0 auto; padding: 0; display: flex; gap: 4px; align-items: center; }
.site-nav__list a {
	display: block; padding: 8px 12px; border-radius: 999px; white-space: nowrap;
	color: var(--ink-2); font-weight: 500; font-size: 15px; letter-spacing: 0.005em;
	transition: background 0.15s var(--ease), color 0.15s var(--ease);
}
.site-nav__list a:hover { background: var(--sunken); color: var(--ink); text-decoration: none; }
.site-nav__list .current-menu-item > a, .site-nav__list .current_page_item > a { background: var(--brand-soft); color: var(--brand-strong); }
.site-nav__list .sub-menu { display: none; }
.site-nav__search { position: relative; display: flex; align-items: center; margin-left: 8px; }
.site-nav__search input {
	width: 150px; padding: 8px 40px 8px 14px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface);
	font-size: 14px; transition: width 0.25s var(--ease), border-color 0.15s;
}
.site-nav__search input:focus { width: 230px; border-color: var(--brand); outline: none; box-shadow: 0 0 0 3px var(--brand-soft); }
.site-nav__search button { position: absolute; right: 6px; width: 30px; height: 30px; display: grid; place-items: center; color: var(--muted); border-radius: 50%; }
.site-nav__search button:hover { color: var(--brand); background: var(--brand-soft); }

/* ---------------------------------------------------------- live search */
.search-suggest { position: absolute; top: calc(100% + 8px); right: 0; z-index: 60; width: min(420px, calc(100vw - 32px)); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.search-suggest__list { margin: 0; padding: 6px; list-style: none; max-height: min(60vh, 420px); overflow-y: auto; }
.search-suggest__item { display: flex; gap: 12px; align-items: center; padding: 9px 10px; border-radius: var(--radius-sm); cursor: pointer; }
.search-suggest__item.is-active, .search-suggest__item:hover { background: var(--brand-soft); }
.search-suggest__thumb { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 8px; object-fit: cover; background: var(--sunken); }
.search-suggest__thumb--empty { display: block; }
.search-suggest__text { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.search-suggest__title { font-size: 14.5px; font-weight: 600; line-height: 1.35; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.search-suggest__title mark { background: transparent; color: var(--brand); font-weight: 700; }
.search-suggest__meta { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-suggest__msg { margin: 0; padding: 16px; font-size: 14px; color: var(--muted); }
.search-suggest__more { display: block; padding: 11px 16px; font-size: 13px; font-weight: 600; color: var(--brand); border-top: 1px solid var(--border); background: var(--canvas); }
.search-suggest__more:hover { background: var(--brand-soft); }
/* Desktop only: the field is narrow until focused, and must stay wide while
   the panel is open. Scoped to the media query because at (0,3,1) it would
   otherwise outrank the mobile full-width rule below and pin the input to
   230px on a phone. */
@media (min-width: 900px) {
	.site-nav__search--live:focus-within input { width: 230px; }
}
@media (max-width: 899px) {
	/* The form is a flex row, so a static panel would sit BESIDE the input
	   rather than under it. Let the row wrap and make the panel claim a full
	   line of its own. */
	.site-nav__search { flex-wrap: wrap; }
	.search-suggest { position: static; flex: 1 0 100%; width: auto; margin-top: 12px; box-shadow: none; border-radius: var(--radius-sm); }
	.search-suggest__list { max-height: none; padding: 4px; }
	.search-suggest__item { padding: 12px 10px; }
	.search-suggest__title { font-size: 15.5px; -webkit-line-clamp: 3; }
	.search-suggest__thumb { width: 52px; height: 52px; }
	.search-suggest__more { padding: 14px 16px; }
}


.nav-toggle { display: none; width: 44px; height: 44px; place-items: center; border-radius: 10px; color: var(--ink); }
.nav-toggle:hover { background: var(--sunken); }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

@media (max-width: 899px) {
	.nav-toggle { display: grid; }
	.site-header__cta { display: none; }
	/* Absolute inside the sticky header: the header's backdrop-filter would
	   otherwise turn position:fixed into a header-relative box. */
	.site-header { position: sticky; }
	.site-nav {
		position: absolute; top: 100%; left: 0; right: 0; z-index: 99;
		height: calc(100dvh - var(--header-h)); height: calc(100vh - var(--header-h));
		flex-direction: column; align-items: stretch; gap: 0;
		padding: 16px var(--gutter) 32px; background: var(--surface); border-top: 1px solid var(--border);
		overflow-y: auto; transform: translateY(-8px); opacity: 0; visibility: hidden;
		transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0s 0.2s;
	}
	.nav-open .site-nav { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
	.nav-open { overflow: hidden; }
	.site-nav__list { flex-direction: column; align-items: stretch; margin: 0; gap: 2px; order: 2; }
	.site-nav__list a { font-size: 18px; padding: 14px 12px; border-radius: 10px; }
	.site-nav__search { order: 1; margin: 0 0 16px; }
	.site-nav__search input, .site-nav__search input:focus { width: 100%; padding-block: 12px; font-size: 16px; }
}

/* --------------------------------------------------------------------------
   Buttons, chips, meta
   -------------------------------------------------------------------------- */
.btn {
	display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px;
	font-weight: 700; font-family: var(--font-head); font-size: 15px; line-height: 1; letter-spacing: 0.01em;
	transition: background 0.15s var(--ease), transform 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 6px 16px -8px rgb(31 79 216 / 0.7); }
.btn--primary:hover { background: var(--brand-strong); }
.btn--sm { padding: 9px 16px; font-size: 14px; }

.chip {
	display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px;
	background: var(--brand-soft); color: var(--brand-strong);
	font-family: var(--font-head); font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
	transition: background 0.15s;
}
.chip:hover { background: #d6e0fb; text-decoration: none; }
.chip--inverse { background: rgb(255 255 255 / 0.1); color: var(--on-navy); border: 1px solid rgb(255 255 255 / 0.14); }
.chip--inverse:hover { background: rgb(255 255 255 / 0.18); }
.chip--ghost { background: var(--sunken); color: var(--muted); text-transform: none; letter-spacing: 0; font-family: var(--font-body); font-weight: 500; font-size: 13px; }

.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color: var(--muted); font-size: 13.5px; }
.post-meta time { font-variant-numeric: tabular-nums; }
.post-meta__sep { opacity: 0.5; }

/* --------------------------------------------------------------------------
   Thumbnails & cards
   -------------------------------------------------------------------------- */
.thumb { display: block; position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: var(--navy-2); border-radius: var(--radius); }
.thumb__img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.thumb--empty { display: grid; place-items: center; background: linear-gradient(135deg, var(--navy) 0%, #1a3358 100%); }
.thumb--empty img { width: 72px; height: 72px; opacity: 0.55; }

.card {
	display: flex; flex-direction: column; height: 100%;
	background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
	box-shadow: var(--shadow-sm); overflow: hidden;
	transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--border-strong); }
.card:hover .thumb__img { transform: scale(1.04); }
.card__media { display: block; }
.card__media .thumb { border-radius: 0; }
.card__body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; flex: 1; min-width: 0; }
.card__title { font-size: 20px; line-height: 1.25; }
.card__title a { color: var(--ink); }
.card__title a:hover { color: var(--brand); text-decoration: none; }
.card__excerpt { color: var(--muted); font-size: 15px; line-height: 1.55; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card .post-meta { margin-top: auto; padding-top: 4px; }

.card--compact { flex-direction: row; align-items: flex-start; }
.card--compact .card__media { flex: 0 0 auto; padding: 16px 0 16px 16px; }
.card--compact .card__media .thumb { width: 112px; aspect-ratio: 1; border-radius: 10px; }
.card--compact .card__body { padding: 16px 18px 16px 16px; gap: 6px; }
.card--compact .card__title { font-size: 16.5px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card--compact .chip { font-size: 11px; padding: 3px 8px; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.card--compact .post-meta { font-size: 12.5px; margin-top: 2px; }

.card--wide { position: relative; }
.card--wide .card__body { padding: 26px 28px 28px; gap: 12px; }
.card--wide .card__title { font-size: clamp(24px, 2.6vw, 32px); }
.card--wide .card__excerpt { font-size: 16.5px; -webkit-line-clamp: 4; }

.grid { display: grid; gap: 24px; }
.grid--cards { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
@media (max-width: 480px) { .grid--cards { grid-template-columns: 1fr; } }

/* Home lead block */
.lead { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.lead__side { display: grid; gap: 16px; align-content: start; }
.lead__side .card { height: auto; }
@media (max-width: 899px) { .lead { grid-template-columns: 1fr; } }
@media (max-width: 400px) { .card--compact .card__media .thumb { width: 88px; } }

/* --------------------------------------------------------------------------
   Sections & headings
   -------------------------------------------------------------------------- */
.section { padding-block: clamp(40px, 6vw, 72px); }
.section--lead { padding-top: clamp(28px, 4vw, 48px); }
.section--alt { background: var(--surface); border-block: 1px solid var(--border); }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.section__title { font-size: clamp(24px, 3vw, 32px); position: relative; padding-left: 16px; }
.section__title::before { content: ""; position: absolute; left: 0; top: 0.18em; bottom: 0.18em; width: 4px; border-radius: 2px; background: linear-gradient(var(--brand), var(--accent)); }
.section__more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-family: var(--font-head); font-size: 15px; white-space: nowrap; }
.section__more svg { transition: transform 0.2s var(--ease); }
.section__more:hover svg { transform: translateX(3px); }

.page-head { padding: clamp(28px, 5vw, 56px) 0 clamp(20px, 3vw, 32px); }
.page-head__eyebrow { font-family: var(--font-head); font-weight: 700; color: var(--brand); letter-spacing: 0.08em; text-transform: uppercase; font-size: 13px; margin-bottom: 8px; }
.page-head__title { font-size: clamp(30px, 4.5vw, 46px); max-width: 26ch; }
.page-head__text { color: var(--muted); font-size: 18px; max-width: 60ch; margin-top: 14px; }
.page-head__text p:last-child { margin-bottom: 0; }
.page-head__count { color: var(--muted); font-size: 14px; margin: 12px 0 0; font-variant-numeric: tabular-nums; }
.page-head__search { margin-top: 24px; max-width: 520px; }
.page-head--404 .page-head__title { max-width: 24ch; }

/* --------------------------------------------------------------------------
   Hero (home)
   -------------------------------------------------------------------------- */
.hero {
	position: relative; overflow: hidden; color: var(--on-navy);
	background:
		radial-gradient(900px 420px at 85% -10%, rgb(31 79 216 / 0.45), transparent 60%),
		radial-gradient(700px 360px at 5% 110%, rgb(11 110 134 / 0.35), transparent 60%),
		linear-gradient(180deg, var(--navy) 0%, #0e1c31 100%);
}
.hero::before {
	content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.35;
	background-image: linear-gradient(rgb(255 255 255 / 0.05) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 0.05) 1px, transparent 1px);
	background-size: 48px 48px;
	mask-image: linear-gradient(180deg, rgb(0 0 0 / 0.9), transparent 90%);
	-webkit-mask-image: linear-gradient(180deg, rgb(0 0 0 / 0.9), transparent 90%);
}
.hero__inner { position: relative; padding: clamp(56px, 9vw, 112px) 0 clamp(48px, 7vw, 88px); max-width: 860px; margin-inline: auto; text-align: center; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: #8fb4ff; margin-bottom: 20px; }
.hero__eyebrow::before, .hero__eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: 0.6; }
.hero__title { color: #fff; font-size: clamp(34px, 5.6vw, 62px); letter-spacing: -0.025em; line-height: 1.06; max-width: 18ch; margin-inline: auto; }
.hero__text { color: var(--on-navy-muted); font-size: clamp(17px, 1.6vw, 20px); max-width: 58ch; margin: 22px auto 0; line-height: 1.6; }
.hero__topics { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 0; margin: 32px 0 0; }

/* Topics grid */
.grid--topics { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.topic {
	position: relative; display: flex; flex-direction: column; gap: 6px; padding: 22px 56px 22px 22px;
	background: var(--canvas); border: 1px solid var(--border); border-radius: var(--radius); color: var(--ink);
	transition: border-color 0.2s, background 0.2s, transform 0.2s var(--ease);
}
.topic:hover { text-decoration: none; border-color: var(--brand); background: var(--brand-soft); transform: translateY(-2px); }
.topic__count { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); font-family: var(--font-head); }
.topic__name { font-family: var(--font-head); font-weight: 700; font-size: 19px; line-height: 1.2; }
.topic__desc { color: var(--muted); font-size: 14px; line-height: 1.5; }
.topic__arrow { position: absolute; right: 18px; top: 22px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--surface); color: var(--brand); border: 1px solid var(--border); transition: transform 0.2s var(--ease); }
.topic:hover .topic__arrow { transform: translateX(3px); }

/* --------------------------------------------------------------------------
   Single article
   -------------------------------------------------------------------------- */
.single__head { padding-top: clamp(24px, 4vw, 48px); }
.single__head .chip { margin-bottom: 16px; }
.single__title { font-size: clamp(30px, 4.6vw, 48px); letter-spacing: -0.025em; line-height: 1.1; }
/* The standfirst is also the article's direct answer — see single.php. The
   accent rule marks it as a distinct, quotable unit rather than a subtitle. */
.single__takeaway { margin: 20px 0 0; max-width: 62ch; padding: 16px 0 16px 18px; border-left: 3px solid var(--accent); background: linear-gradient(90deg, var(--accent-soft), transparent 70%); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.single__takeaway-label { margin: 0 0 6px; font-family: var(--font-head); font-size: 11px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--accent); }
.single__dek { font-size: clamp(17px, 1.8vw, 20px); line-height: 1.55; color: var(--ink-2); margin: 0; max-width: 60ch; }
.single__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border); }
.single__author { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.single__avatar { width: 32px; height: 32px; border-radius: 50%; }
.single__hero { margin-top: clamp(24px, 4vw, 40px); }
.single__hero .thumb { box-shadow: var(--shadow); }

.single__layout { display: grid; gap: 40px; padding-block: clamp(32px, 5vw, 56px); }
.single__layout > .single__body { max-width: var(--narrow); width: 100%; margin-inline: auto; min-width: 0; }
@media (min-width: 1100px) {
	.single__layout--toc { grid-template-columns: 260px minmax(0, var(--narrow)); justify-content: center; column-gap: 64px; }
	.single__layout--toc > .single__body { margin-inline: 0; }
}

.toc { font-size: 14px; }
.toc__details { position: sticky; top: calc(var(--header-h) + 24px); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; }
.admin-bar .toc__details { top: calc(var(--header-h) + 56px); }
.toc__title { font-family: var(--font-head); font-weight: 700; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; }
.toc__title::-webkit-details-marker { display: none; }
.toc__title::after { content: "−"; font-size: 16px; line-height: 1; }
.toc__details:not([open]) .toc__title::after { content: "+"; }
.toc__list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 2px; }
.toc__item--h3 { padding-left: 14px; }
.toc__item a { display: block; padding: 6px 10px; border-radius: 6px; color: var(--ink-2); line-height: 1.35; border-left: 2px solid transparent; }
.toc__item a:hover { background: var(--sunken); text-decoration: none; }
.toc__item a.is-active { color: var(--brand-strong); background: var(--brand-soft); border-left-color: var(--brand); font-weight: 500; }
@media (max-width: 1099px) { .toc__details { position: static; } .toc__list { max-height: 260px; overflow: auto; } }

/* Prose */
.prose { font-size: 18px; line-height: 1.75; color: var(--ink); }
.prose > * + * { margin-top: 1.25em; }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 0; }
.prose h2 { font-size: clamp(24px, 2.8vw, 30px); margin-top: 2em; padding-top: 0.2em; }
.prose h3 { font-size: clamp(20px, 2.2vw, 23px); margin-top: 1.6em; }
.prose h4 { font-size: 18px; margin-top: 1.4em; }
.prose h2 + *, .prose h3 + *, .prose h4 + * { margin-top: 0.7em; }
.prose a { text-decoration: underline; text-decoration-color: rgb(31 79 216 / 0.35); text-decoration-thickness: 1.5px; }
.prose a:hover { text-decoration-color: currentColor; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: 0.4em; }
.prose li::marker { color: var(--brand); }
.prose strong { font-weight: 700; color: var(--ink); }
.prose hr { border: 0; height: 1px; background: var(--border); margin-block: 2.2em; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--accent); color: var(--ink-2); font-size: 1.05em; }
.prose blockquote p { font-style: italic; }
.prose figure { margin: 1.6em 0; }
.prose figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }
.prose img { border-radius: var(--radius-sm); }
.prose code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.9em; background: var(--sunken); padding: 0.1em 0.4em; border-radius: 4px; }
.prose pre { background: var(--navy); color: var(--on-navy); padding: 18px 20px; border-radius: var(--radius-sm); overflow: auto; font-size: 14.5px; line-height: 1.6; }
.prose pre code { background: none; padding: 0; color: inherit; }
.prose iframe { max-width: 100%; }
.prose > p:last-child em:only-child, .prose > p:last-child > em > strong:first-child { color: var(--muted); }
.prose .wp-block-image, .prose .wp-caption { max-width: 100%; }
.prose .alignwide { width: min(100vw - 2 * var(--gutter), 1040px); margin-left: 50%; transform: translateX(-50%); }

/* Tables */
.table-scroll { overflow-x: auto; margin: 1.6em 0; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); -webkit-overflow-scrolling: touch; }
.table-scroll table, .prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.45; }
.prose th, .prose td, .table-scroll th, .table-scroll td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
.prose thead th, .table-scroll thead th { background: var(--sunken); font-family: var(--font-head); font-weight: 700; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; }
.prose tbody tr:last-child td, .table-scroll tbody tr:last-child td { border-bottom: 0; }
.prose tbody tr:nth-child(even) td, .table-scroll tbody tr:nth-child(even) td { background: rgb(244 247 251 / 0.35); }
.prose td:first-child, .prose th:first-child { font-variant-numeric: tabular-nums; }
.prose td strong { color: var(--ink); }

/* FAQ pattern used in articles: <p><strong>Question?</strong><br>answer</p> */
.prose p > strong:first-child + br { display: block; content: ""; margin-bottom: 4px; }

.single__tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 40px 0 0; }
.disclaimer { margin-top: 40px; padding: 18px 22px; border-radius: var(--radius-sm); background: var(--sunken); border-left: 4px solid var(--border-strong); color: var(--muted); font-size: 14px; line-height: 1.55; }
.disclaimer p { margin: 0; }

.post-nav { margin-top: 40px; }
.post-nav .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.post-nav .nav-links a { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); color: var(--ink); transition: border-color 0.2s, box-shadow 0.2s; }
.post-nav .nav-links a:hover { text-decoration: none; border-color: var(--brand); box-shadow: var(--shadow-sm); }
.post-nav .nav-next { text-align: right; }
.post-nav__label { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-family: var(--font-head); }
.post-nav__title { font-family: var(--font-head); font-weight: 700; font-size: 15.5px; line-height: 1.3; }
@media (max-width: 560px) { .post-nav .nav-links { grid-template-columns: 1fr; } .post-nav .nav-next { text-align: left; } }

.single--page .prose { padding-block: 8px clamp(40px, 6vw, 72px); }

/* Breadcrumbs (own + Rank Math) */
.breadcrumbs, .rank-math-breadcrumb { font-size: 13.5px; color: var(--muted); margin-bottom: 18px; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.breadcrumbs li + li::before, .rank-math-breadcrumb .separator { content: "/"; margin-right: 6px; opacity: 0.5; }
.rank-math-breadcrumb .separator { margin: 0 6px; }
.breadcrumbs a, .rank-math-breadcrumb a { color: var(--muted); }
.breadcrumbs a:hover, .rank-math-breadcrumb a:hover { color: var(--brand); }
.breadcrumbs [aria-current], .rank-math-breadcrumb .last { color: var(--ink-2); }

/* --------------------------------------------------------------------------
   Search form, pagination, empty, comments
   -------------------------------------------------------------------------- */
.search-form { display: flex; gap: 10px; }
.search-form input { flex: 1; min-width: 0; padding: 12px 16px; border: 1px solid var(--border-strong); border-radius: 999px; background: var(--surface); font-size: 16px; }
.search-form input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }

.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.pagination .page-numbers { display: inline-flex; align-items: center; gap: 6px; min-width: 40px; height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--ink-2); font-weight: 500; font-size: 14px; justify-content: center; }
.pagination .page-numbers:hover { text-decoration: none; border-color: var(--brand); color: var(--brand); }
.pagination .page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }
.pagination .page-numbers.dots { border: 0; background: none; }
.pagination .screen-reader-text { position: absolute; }

.empty { text-align: center; padding: 40px 0; max-width: 520px; margin-inline: auto; }
.empty h2 { font-size: 26px; margin-bottom: 8px; }
.empty p { color: var(--muted); margin-bottom: 20px; }

.comments { margin-top: 8px; }
.comments__title { font-size: 24px; margin-bottom: 20px; }
.comments__list, .comments__list .children { list-style: none; padding: 0; margin: 0; }
.comments__list .children { padding-left: 28px; }
.comment-body { padding: 16px 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 12px; font-size: 15.5px; }
.comment-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 13px; color: var(--muted); }
.comment-author { display: flex; align-items: center; gap: 8px; }
.comment-author .avatar { border-radius: 50%; }
.comment-author .fn { font-style: normal; font-weight: 700; color: var(--ink); }
.comment-content p:last-child { margin-bottom: 0; }
.comment-reply-link { font-size: 13px; font-weight: 700; }
.comment-respond { margin-top: 28px; }
.comment-reply-title { font-size: 22px; margin-bottom: 12px; }
.comment-form { display: grid; gap: 14px; }
.comment-form label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 4px; }
.comment-form input:not([type="checkbox"]):not([type="submit"]), .comment-form textarea { width: 100%; padding: 10px 14px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--surface); font-size: 16px; }
.comment-form textarea { min-height: 140px; resize: vertical; }
.comment-form .comment-notes, .comment-form .logged-in-as { font-size: 13px; color: var(--muted); }
.comment-form .form-submit { margin: 0; }

/* --------------------------------------------------------------------------
   Newsletter & footer
   -------------------------------------------------------------------------- */
.newsletter { background: linear-gradient(135deg, var(--brand-strong), var(--accent)); color: #fff; padding-block: clamp(40px, 6vw, 64px); }
.newsletter__inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.newsletter__title { color: #fff; font-size: clamp(24px, 3vw, 32px); }
.newsletter__text { margin: 10px 0 0; color: rgb(255 255 255 / 0.85); font-size: 16px; }
.newsletter__form input[type="email"], .newsletter__form input[type="text"] { width: 100%; padding: 12px 16px; border: 0; border-radius: var(--radius-sm); font-size: 16px; }
.newsletter__form .sib-form { background: none; padding: 0; }
.newsletter__form .sib-form .entry__field { border-radius: var(--radius-sm); }
@media (max-width: 800px) { .newsletter__inner { grid-template-columns: 1fr; } }

.site-footer { background: var(--navy); color: var(--on-navy-muted); padding: clamp(48px, 6vw, 72px) 0 32px; font-size: 14.5px; }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(auto-fit, minmax(140px, 1fr)); gap: 40px 32px; align-items: start; }
.site-footer__rss { margin-top: 18px; font-size: 13px; display: flex; gap: 8px; align-items: center; }
.site-footer__heading a { color: inherit; }
.site-footer__heading a:hover { color: #fff; text-decoration: underline; }
.site-footer__logo { display: inline-flex; margin-bottom: 16px; }
.site-footer__logo__img { height: 30px; width: auto; filter: brightness(0) invert(1); opacity: 0.92; }
.site-footer__brand p { max-width: 42ch; line-height: 1.6; }

/* Profile links under the footer brand — the same URLs as schema sameAs. */
.site-footer__social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; padding: 0; list-style: none; }
.site-footer__social a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: var(--on-navy-muted); border: 1px solid rgb(255 255 255 / 0.14); transition: color .18s var(--ease), border-color .18s var(--ease), background-color .18s var(--ease); }
.site-footer__social a:hover { color: var(--on-navy); border-color: rgb(255 255 255 / 0.4); background: rgb(255 255 255 / 0.06); }
.site-footer__social a:focus-visible { outline: 2px solid var(--on-navy); outline-offset: 2px; }

.site-footer__heading { color: #fff; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--on-navy); }
.site-footer a:hover { color: #fff; }
.site-footer__legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgb(255 255 255 / 0.1); display: grid; gap: 12px; }
.site-footer__disclaimer { font-size: 13px; line-height: 1.55; max-width: 90ch; margin: 0; }
/* WCAG 1.4.1: a link sitting inside a block of text must be distinguishable
   by something other than colour. Lighthouse flagged these — the footer
   paragraphs were the only place a link had no underline. */
.site-footer__disclaimer a, .site-footer__brand p a, .site-footer__rss a { text-decoration: underline; text-underline-offset: 0.2em; text-decoration-color: rgb(255 255 255 / 0.45); }
.site-footer__disclaimer a:hover, .site-footer__brand p a:hover, .site-footer__rss a:hover { text-decoration-color: currentColor; }
.site-footer__copy { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin: 0; font-size: 13px; }
.site-footer__legalnav { margin-top: 4px; }
.site-footer__legallist { display: flex !important; flex-wrap: wrap; gap: 8px 20px; margin: 0; padding: 0; list-style: none; font-size: 13px; }
.site-footer__legallist a { color: var(--on-navy-muted); }
.site-footer__legallist a:hover { color: #fff; text-decoration: underline; }
.site-footer__top { display: inline-flex; align-items: center; gap: 4px; }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .site-footer__grid { grid-template-columns: 1fr; gap: 32px; } }

/* --------------------------------------------------------------------------
   Print
   -------------------------------------------------------------------------- */
@media print {
	.site-header, .site-footer, .newsletter, .toc, .post-nav, .comments, .section--alt, .skip-link { display: none !important; }
	body { background: #fff; font-size: 12pt; }
	.prose a::after { content: " (" attr(href) ")"; font-size: 0.85em; color: #555; }
}

/* --------------------------------------------------------------------------
   Interactive tools (calculator, quiz)
   -------------------------------------------------------------------------- */
.tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; width: fit-content; max-width: 100%; margin-bottom: 28px; }
.tabs__tab { padding: 10px 18px; border-radius: 999px; font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--ink-2); white-space: nowrap; }
.tabs__tab:hover { background: var(--sunken); }
.tabs__tab.is-active { background: var(--ink); color: #fff; }
.tool__panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.tool__panel[hidden] { display: none; }
.tool__form, .tool__results { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.tool__form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tool__heading { grid-column: 1 / -1; font-size: 20px; margin-bottom: 4px; }
.field { grid-column: 1 / -1; display: grid; gap: 6px; }
.field--half { grid-column: span 1; }
.field label { font-size: 13.5px; font-weight: 500; color: var(--ink-2); }
.field input, .field select { width: 100%; padding: 11px 14px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--canvas); font-size: 16px; font-variant-numeric: tabular-nums; }
.field input:focus, .field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); background: #fff; }
.tool__results { display: grid; gap: 14px; position: sticky; top: calc(var(--header-h) + 16px); }
.stat { display: grid; gap: 2px; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--canvas); }
.stat--hero { background: linear-gradient(135deg, var(--navy), #163cab); color: #fff; padding: 20px 18px; }
.stat--hero .stat__label { color: var(--on-navy-muted); }
.stat__label { font-size: 12.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); font-family: var(--font-head); }
.stat__value { font-family: var(--font-head); font-weight: 700; font-size: 22px; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.stat--hero .stat__value { font-size: clamp(28px, 3vw, 36px); }
.stat__value--accent { color: var(--accent); }
.stat__sub { font-size: 13px; opacity: 0.85; }
.bar { display: flex; height: 12px; border-radius: 999px; overflow: hidden; background: var(--sunken); }
.bar__a { background: var(--brand); transition: width 0.3s var(--ease); }
.bar__b { background: var(--accent); transition: width 0.3s var(--ease); }
.bar__legend { display: flex; align-items: center; gap: 6px 14px; font-size: 13px; color: var(--muted); margin: 0; }
.bar__dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; }
.bar__dot--a { background: var(--brand); } .bar__dot--b { background: var(--accent); }
.tool__note { font-size: 13px; color: var(--muted); margin: 0; }
.tool__body { margin-top: 48px; }
.disclaimer--tool { margin-top: 32px; max-width: var(--narrow); margin-inline: auto; }
@media (max-width: 860px) { .tool__panel { grid-template-columns: 1fr; } .tool__results { position: static; } }
@media (max-width: 480px) { .tool__form { grid-template-columns: 1fr; } .field--half { grid-column: 1 / -1; } .tabs { border-radius: var(--radius); } }

.quiz { display: grid; gap: 20px; }
.quiz__progress { height: 8px; background: var(--sunken); border-radius: 999px; overflow: hidden; }
.quiz__bar { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), var(--accent)); transition: width 0.3s var(--ease); }
.quiz__count { font-size: 13px; color: var(--muted); margin: -10px 0 0; font-variant-numeric: tabular-nums; }
.quiz__q { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); padding: 20px 22px 22px; margin: 0; }
.quiz__q.is-missing { border-color: #c0271f; box-shadow: 0 0 0 3px rgb(192 39 31 / 0.12); }
.quiz__q legend { float: left; width: 100%; display: grid; gap: 4px; padding: 0; margin-bottom: 14px; }
.quiz__options { clear: both; }
.quiz__label { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand); font-family: var(--font-head); }
.quiz__question { font-family: var(--font-head); font-weight: 700; font-size: 19px; line-height: 1.3; }
.quiz__options { display: grid; gap: 8px; }
.quiz__opt { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); cursor: pointer; font-size: 15.5px; line-height: 1.4; transition: border-color 0.15s, background 0.15s; }
.quiz__opt:hover { border-color: var(--border-strong); background: var(--canvas); }
.quiz__opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.quiz__letter { flex: 0 0 28px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--sunken); font-family: var(--font-head); font-weight: 700; font-size: 13px; color: var(--ink-2); }
.quiz__opt:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.quiz__opt:has(input:checked) .quiz__letter { background: var(--brand); color: #fff; }
.quiz__opt:has(input:focus-visible) { outline: 3px solid var(--brand); outline-offset: 2px; }
.quiz__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.quiz__error { width: 100%; margin: 0; color: #c0271f; font-size: 14px; font-weight: 500; }
.btn--ghost { background: var(--surface); color: var(--ink-2); border: 1px solid var(--border-strong); }
.btn--ghost:hover { background: var(--sunken); }
.quiz__result { margin-top: 32px; padding: 28px 28px 32px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
.quiz__result:focus { outline: none; }
.quiz__result-eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-family: var(--font-head); margin-bottom: 6px; }
.quiz__result-title { font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 12px; }
.quiz__result-text { font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.quiz__part { margin: 12px 0 -4px; }
.quiz__part-title { font-size: 20px; margin-bottom: 4px; }
.quiz__part-sub { color: var(--muted); font-size: 14.5px; margin: 0; }
.ladder { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 6px; }
.ladder__row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 8px 12px; padding: 11px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--canvas); font-size: 14.5px; }
.ladder__row.is-binding { border-color: var(--brand); background: var(--brand-soft); }
.ladder__dim { font-weight: 500; color: var(--ink-2); }
.ladder__detail { font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.ladder__level { font-family: var(--font-head); font-weight: 700; font-size: 14px; }
.ladder__row.is-binding .ladder__level { color: var(--brand-strong); }
.ladder__tag { grid-column: 1 / -1; justify-self: start; font-family: var(--font-head); font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-strong); }
.quiz__binding { font-size: 15px; line-height: 1.55; color: var(--ink-2); padding: 14px 16px; border-left: 4px solid var(--brand); background: var(--sunken); border-radius: var(--radius-sm); margin: 0 0 8px; }
.quiz__caveat { margin-top: 24px; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--sunken); color: var(--muted); font-size: 14px; line-height: 1.55; }
.quiz__h3 { font-size: 17px; margin: 22px 0 8px; }
.quiz__facts { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; font-size: 15.5px; }
.quiz__facts li::marker { color: var(--brand); }
.quiz__newsletter { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); }

/* --------------------------------------------------------------------------
   Position Sizing Workbook: landing page and in-article call to action
   -------------------------------------------------------------------------- */
.page-head__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn--lg { padding: 15px 26px; font-size: 16px; }

.wb-questions { display: grid; gap: 14px; margin: 0; padding-left: 1.3em; font-size: 17px; line-height: 1.6; }
.wb-questions li::marker { color: var(--brand); font-weight: 700; }
.wb-questions strong { display: block; font-family: var(--font-head); font-size: 18px; margin-bottom: 2px; }
.wb-note { margin-top: 16px; padding: 14px 16px; border-left: 4px solid var(--brand); background: var(--brand-soft); border-radius: var(--radius-sm); font-size: 15px; }

.wb-download { padding: 30px 32px; border-radius: var(--radius); background: linear-gradient(135deg, var(--navy), #163cab); color: #fff; box-shadow: var(--shadow); }
.wb-download__title { color: #fff; font-size: clamp(24px, 3vw, 30px); }
.wb-download__text { color: rgb(255 255 255 / 0.85); margin: 10px 0 20px; max-width: 60ch; }
.wb-download__small { color: rgb(255 255 255 / 0.7); font-size: 13.5px; margin: 12px 0 0; }
.wb-download__form input[type="email"], .wb-download__form input[type="text"] { width: 100%; max-width: 380px; padding: 13px 16px; border: 0; border-radius: var(--radius-sm); font-size: 16px; }
.wb-download .btn--primary { background: #fff; color: var(--brand-strong); box-shadow: none; }
.wb-download .btn--primary:hover { background: var(--brand-soft); }

.wb-sheets td:nth-child(3), .wb-sheets td:nth-child(4), .wb-sheets th:nth-child(3), .wb-sheets th:nth-child(4) { text-align: center; width: 68px; }
.wb-tick span { font-weight: 700; color: var(--accent); font-size: 17px; }
.wb-tick .wb-no { color: var(--border-strong); }

.wb-pro { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 28px; align-items: center; margin-top: 32px; padding: 28px 30px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--canvas); }
.wb-pro__eyebrow { font-family: var(--font-head); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.wb-pro__title { font-size: 22px; margin-bottom: 10px; }
.wb-pro__buy { text-align: center; }
.wb-pro__price { font-family: var(--font-head); font-weight: 700; font-size: 40px; line-height: 1; margin: 0 0 14px; font-variant-numeric: tabular-nums; }
.wb-pro .wb-download__small { color: var(--muted); }
@media (max-width: 700px) { .wb-pro { grid-template-columns: 1fr; } .wb-pro__buy { text-align: left; } }

.workbook-cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: center; margin: 2.2em 0; padding: 22px 24px; border: 1px solid var(--border); border-left: 4px solid var(--brand); border-radius: var(--radius); background: var(--surface); }
.workbook-cta__eyebrow { font-family: var(--font-head); font-size: 11.5px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--brand); margin: 0 0 4px; }
.workbook-cta__title { font-family: var(--font-head); font-weight: 700; font-size: 19px; line-height: 1.25; margin: 0 0 6px; color: var(--ink); }
.workbook-cta__text { font-size: 15px; color: var(--muted); margin: 0; line-height: 1.55; }
.workbook-cta__btn { white-space: nowrap; }
@media (max-width: 640px) { .workbook-cta { grid-template-columns: 1fr; } }
.workbook-inline { font-size: 15.5px; padding: 12px 16px; border-radius: var(--radius-sm); background: var(--sunken); }

.section__title + p { margin-top: 10px; }
.wb-sheets thead th:first-child { white-space: nowrap; }
